/* ===================================================================
   LILLE TEAM BUILDING — Design System
   Direction Artistique : Bleu Flandres / Brique Dynamique / Sable Lin
   =================================================================== */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
    /* Brand Colors */
    --bleu-flandres: #1A365D;
    --bleu-nuit: #0A192F;
    --brique: #E05D43;
    --brique-hover: #C94E38;
    --sable: #F4F1EA;
    --surface: #FFFFFF;
    --muted: #64748B;
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Typography */
    --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Radii */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-glass: 0 4px 30px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px -10px rgba(26, 54, 93, 0.08);
    --shadow-glow: 0 0 20px rgba(224, 93, 67, 0.15);
    --shadow-card: 0 10px 40px -10px rgba(26, 54, 93, 0.12);
    --shadow-elevated: 0 25px 60px -15px rgba(10, 25, 47, 0.2);

    /* Transitions */
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-cinematic: 800ms;
}

/* ─── Base Reset ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    letter-spacing: -0.02em;
}

body {
    font-family: var(--font-main);
    background-color: var(--surface);
    color: var(--bleu-flandres);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background-color: var(--bleu-flandres);
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }


/* ===================================================================
   NAVBAR
   =================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    padding: 1.25rem 0;
    transition: padding var(--duration-slow) var(--ease-smooth);
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar-glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-glass);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.navbar.scrolled .navbar-glass {
    box-shadow: var(--shadow-card);
    background: rgba(255, 255, 255, 0.9);
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-link svg {
    transition: transform var(--duration-normal) var(--ease-smooth);
}

.logo-link svg rect {
    transition: fill var(--duration-normal) var(--ease-smooth);
}

.logo-link:hover svg {
    transform: scale(1.05);
}

.logo-text {
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--bleu-flandres);
    letter-spacing: -0.01em;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    transition: color var(--duration-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brique);
    transition: width var(--duration-normal) var(--ease-premium);
}

.nav-links a:hover {
    color: var(--bleu-flandres);
}

.nav-links a:hover::after {
    width: 100%;
}

/* CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.btn-cta--primary {
    background: var(--bleu-flandres);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

.btn-cta--primary:hover {
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.3);
    transform: translateY(-1px);
}

.btn-cta--orange {
    background: var(--brique);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-cta--orange:hover {
    background: var(--brique-hover);
    box-shadow: 0 8px 30px rgba(224, 93, 67, 0.3);
    transform: translateY(-1px);
}

.btn-cta--outline {
    background: white;
    color: var(--bleu-flandres);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-cta--outline:hover {
    background: var(--sable);
    box-shadow: var(--shadow-glass);
}

/* Burger Menu Button */
.burger-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    position: relative;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bleu-flandres);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-premium);
    transform-origin: center;
}

.burger-btn.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: white;
}

.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: white;
}

/* Navbar styles when mobile menu is active */
body.menu-open .navbar-glass {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
    box-shadow: none;
}

body.menu-open .logo-text {
    color: white;
    transition: color var(--duration-normal) var(--ease-smooth);
}

body.menu-open .logo-link svg rect:not([fill="#E05D43"]) {
    fill: white;
    transition: fill var(--duration-normal) var(--ease-smooth);
}


/* ===================================================================
   FULL-SCREEN MENU OVERLAY
   =================================================================== */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--bleu-nuit);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-slow) var(--ease-smooth),
                visibility var(--duration-slow);
    padding-top: 8.5rem;
    padding-left: 10%;
    padding-right: 2rem;
    overflow-y: auto;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Decorative background pattern */
.menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(224, 93, 67, 0.05) 100%);
    pointer-events: none;
}

.menu-overlay::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 93, 67, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.menu-overlay-content {
    position: relative;
    z-index: 10;
    text-align: left;
    width: 100%;
    max-width: 600px;
    padding: 0;
}

.menu-nav {
    list-style: none;
    margin-bottom: 2rem;
}

.menu-nav-item {
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.menu-nav-link {
    display: inline-flex;
    align-items: baseline;
    gap: 1.25rem;
    font-size: clamp(1.8rem, 6vw, 2.75rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    padding: 0.4rem 0;
    position: relative;
    transform: translateY(100%);
    opacity: 0;
    transition: transform var(--duration-cinematic) var(--ease-premium),
                opacity var(--duration-cinematic) var(--ease-premium),
                color var(--duration-fast);
}

.menu-overlay.active .menu-nav-link {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation */
.menu-nav-item:nth-child(1) .menu-nav-link { transition-delay: 100ms; }
.menu-nav-item:nth-child(2) .menu-nav-link { transition-delay: 160ms; }
.menu-nav-item:nth-child(3) .menu-nav-link { transition-delay: 220ms; }
.menu-nav-item:nth-child(4) .menu-nav-link { transition-delay: 280ms; }
.menu-nav-item:nth-child(5) .menu-nav-link { transition-delay: 340ms; }
.menu-nav-item:nth-child(6) .menu-nav-link { transition-delay: 400ms; }

.menu-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brique);
    transition: width var(--duration-normal) var(--ease-premium);
}

.menu-nav-link:hover {
    color: var(--brique);
}

.menu-nav-link:hover::after {
    width: 100%;
}

/* Menu number label */
.menu-nav-link .menu-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brique);
    letter-spacing: 0.05em;
    display: inline-block;
    font-family: var(--font-headings);
}

/* Menu CTA Wrapper inside mobile menu */
.menu-cta-wrapper {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-cinematic) var(--ease-premium);
    transition-delay: 460ms;
}

.menu-overlay.active .menu-cta-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
}

/* Menu footer info */
.menu-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-cinematic) var(--ease-premium);
    transition-delay: 520ms;
}

.menu-overlay.active .menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.menu-footer-item {
    text-align: left;
}

.menu-footer-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--brique);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.menu-footer-value {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.menu-footer-value a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--duration-fast);
}

.menu-footer-value a:hover {
    color: white;
}


/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 3rem;
    overflow: hidden;
}

/* Dotted grid background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    opacity: 0.5;
    pointer-events: none;
}

/* Radial glow */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: conic-gradient(from 180deg at 50% 50%, rgba(26, 54, 93, 0.15) 0deg, rgba(224, 93, 67, 0.15) 180deg, rgba(26, 54, 93, 0.15) 360deg);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Hero text */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(224, 93, 67, 0.1);
    border: 1px solid rgba(224, 93, 67, 0.2);
    color: var(--brique);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brique);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--bleu-flandres);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--brique) 0%, var(--bleu-flandres) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions .btn-cta {
    padding: 1rem 2rem;
    font-size: 0.95rem;
}

/* Hero image */
.hero-visual {
    position: relative;
    display: none;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.8) 0%, transparent 50%);
}

/* Floating stats card */
.hero-stats-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bleu-flandres);
    margin-bottom: 0.25rem;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bleu-flandres);
}

.hero-stat-value.orange {
    color: var(--brique);
}

.hero-stats-divider {
    width: 1px;
    height: 40px;
    background: rgba(26, 54, 93, 0.15);
}


/* ===================================================================
   CLIENTS / TRUST BAR
   =================================================================== */
.trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: white;
    padding: 1.5rem 0;
    overflow: hidden;
}

.trust-bar-label {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.trust-bar-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 0 1.5rem;
    opacity: 0.35;
    filter: grayscale(100%);
    transition: all var(--duration-slow);
}

.trust-bar-logos:hover {
    opacity: 0.6;
    filter: grayscale(0%);
}

.trust-logo {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1rem;
    color: var(--bleu-flandres);
    white-space: nowrap;
    letter-spacing: 0.05em;
}


/* ===================================================================
   VISION SECTION
   =================================================================== */
.vision {
    padding: var(--space-5xl) 0;
    background: var(--bleu-nuit);
    color: white;
    position: relative;
    overflow: hidden;
}

.vision-bg {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-size: cover;
    background-position: center;
}

.vision-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.vision-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brique);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.vision-statement {
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.vision-statement strong {
    font-weight: 700;
    color: white;
    border-bottom: 2px solid var(--brique);
}

.vision-body {
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}


/* ===================================================================
   EXPERIENCES / BENTO GRID
   =================================================================== */
.experiences {
    padding: var(--space-5xl) 0;
    background: var(--surface);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--bleu-flandres);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 400;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    min-height: 300px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.bento-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-smooth);
}

.bento-card:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.2) 40%, transparent 60%);
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
}

.bento-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bento-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

.bento-tag--white {
    background: white;
    color: var(--bleu-flandres);
}

.bento-tag--blue {
    background: var(--bleu-flandres);
    color: white;
}

.bento-tag--orange {
    background: var(--brique);
    color: white;
}

.bento-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.bento-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--duration-normal) var(--ease-premium);
}

.bento-card:hover .bento-card-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Color overlay cards */
.bento-card--blue {
    background: var(--bleu-flandres);
}

.bento-card--blue img {
    mix-blend-mode: overlay;
    opacity: 0.4;
    transition: opacity var(--duration-slow);
}

.bento-card--blue:hover img {
    opacity: 0.6;
}

.bento-card--orange {
    background: var(--brique);
}

.bento-card--orange img {
    mix-blend-mode: overlay;
    opacity: 0.3;
    transition: opacity var(--duration-slow);
}

.bento-card--orange:hover img {
    opacity: 0.5;
}

/* Text-only card */
.bento-card--text {
    background: var(--sable);
    border: 1px solid var(--border);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color var(--duration-normal);
    min-height: 280px;
}

.bento-card--text:hover {
    border-color: var(--bleu-flandres);
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: var(--brique);
}

.bento-text-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bleu-flandres);
    margin-bottom: 1rem;
}

.bento-text-body {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.bento-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brique);
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap var(--duration-normal);
}

.bento-text-link:hover {
    gap: 0.75rem;
}


/* ===================================================================
   IMPACT / STATS SECTION
   =================================================================== */
.impact {
    padding: var(--space-5xl) 0;
    background: var(--sable);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.impact-text {
    max-width: 500px;
}

.impact-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--bleu-flandres);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.impact-text p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--border-light);
    transition: transform var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bleu-flandres);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number.orange {
    color: var(--brique);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials {
    padding: var(--space-5xl) 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--sable);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: box-shadow var(--duration-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-card);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--brique);
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--bleu-flandres);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bleu-flandres);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bleu-flandres);
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--muted);
}


/* ===================================================================
   CONTACT / FORM SECTION
   =================================================================== */
.contact {
    padding: var(--space-5xl) 0;
    background: white;
    border-top: 1px solid var(--border);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--bleu-flandres);
    margin-bottom: 0.5rem;
}

.contact-header p {
    font-size: 1.15rem;
    color: var(--muted);
    font-weight: 300;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    box-shadow: var(--shadow-premium);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Progress bar */
.form-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sable);
}

.form-progress-fill {
    height: 100%;
    background: var(--brique);
    width: 20%;
    transition: width var(--duration-slow) var(--ease-smooth);
}

/* Form group */
.form-section {
    margin-bottom: 2rem;
}

.form-section + .form-section {
    padding-top: 2rem;
    border-top: 1px solid var(--sable);
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bleu-flandres);
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(244, 241, 234, 0.5);
    border: none;
    border-bottom: 2px solid var(--border);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bleu-flandres);
    outline: none;
    transition: border-color var(--duration-normal), background var(--duration-normal);
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted);
    font-weight: 400;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-bottom-color: var(--brique);
    background: white;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: none;
    min-height: 80px;
}

.form-input.error,
.form-select.error {
    border-bottom-color: #ef4444;
    animation: shake 0.4s ease;
}

.form-gdpr-consent.error {
    color: #ef4444 !important;
    animation: shake 0.4s ease;
}
.form-gdpr-consent.error a {
    color: #ef4444 !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.form-submit-row {
    padding-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    width: 100%;
}

.btn-submit .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Loading spinner */
.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-spinner { display: inline-block; }
.btn-submit.loading {
    opacity: 0.8;
    pointer-events: none;
}

/* Success state */
.form-success {
    position: absolute;
    inset: 0;
    background: var(--bleu-flandres);
    border-radius: var(--radius-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all var(--duration-slow) var(--ease-premium);
}

.form-success.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--brique);
    stroke: var(--brique);
}

.success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.success-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Error state */
.form-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: none;
}

.form-error.active {
    display: block;
    animation: shake 0.4s ease;
}


/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
    background: var(--bleu-nuit);
    padding: var(--space-4xl) 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-text {
    font-weight: 800;
    color: white;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--duration-fast);
}

.footer-links a:hover {
    color: white;
}

/* Social links icons and hover color */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5) !important;
    transition: color var(--duration-fast), transform var(--duration-fast);
    vertical-align: middle;
}

.social-link:hover {
    color: var(--brique) !important;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
}


/* ===================================================================
   SCROLL ANIMATIONS
   =================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-cinematic) var(--ease-premium),
                transform var(--duration-cinematic) var(--ease-premium);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.fade-up[data-delay="1"] { transition-delay: 100ms; }
.fade-up[data-delay="2"] { transition-delay: 200ms; }
.fade-up[data-delay="3"] { transition-delay: 300ms; }
.fade-up[data-delay="4"] { transition-delay: 400ms; }


/* ===================================================================
   BLOG / ACTUALITÉS (BASE STYLES)
   =================================================================== */
.blog {
    padding: var(--space-5xl) 0;
    background: var(--sable);
    border-top: 1px solid var(--border);
}

.blog-header-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.blog-see-all {
    white-space: nowrap;
    flex-shrink: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: box-shadow var(--duration-normal) var(--ease-smooth),
                transform var(--duration-normal) var(--ease-smooth);
}

.blog-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.blog-card-link {
    display: block;
    color: inherit;
}

/* Blog Card Image */
.blog-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    color: var(--bleu-flandres);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Blog Card Body */
.blog-card-body {
    padding: 1.25rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.blog-meta-dot {
    font-size: 0.6rem;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bleu-flandres);
    line-height: 1.35;
    margin-bottom: 0.75rem;
    transition: color var(--duration-fast);
}

.blog-card:hover .blog-card-title {
    color: var(--brique);
}

.blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brique);
    transition: gap var(--duration-normal);
}

.blog-card:hover .blog-card-read-more {
    gap: 0.7rem;
}

/* ===================================================================
   EXPERIENCES / PRODUCT PAGE LAYOUT
   =================================================================== */
.product-hero {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 400px;
    overflow: hidden;
}

.product-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bleu-nuit) 0%, rgba(10, 25, 47, 0.4) 50%, transparent 100%);
}

.product-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 1.5rem 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.product-info h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--bleu-flandres);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.product-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.product-info ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.product-info li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-feature-card {
    background: var(--sable);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.product-feature-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--bleu-flandres);
    margin-bottom: 0.5rem;
}

.product-feature-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Sidebar sticky booking container */
.product-sidebar-sticky {
    position: relative;
}

.booking-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-premium);
    position: sticky;
    top: 6.5rem;
}

.booking-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bleu-flandres);
    margin-bottom: 0.5rem;
}

.booking-card-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.75rem;
}

/* Dynamic summary block */
.booking-summary-box {
    background: var(--sable);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px dashed var(--brique);
}

.booking-summary-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bleu-flandres);
    margin-bottom: 0.75rem;
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.booking-summary-row strong {
    color: var(--bleu-flandres);
}

.booking-summary-total {
    border-top: 1px solid rgba(26, 54, 93, 0.1);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-total-label {
    font-weight: 700;
    color: var(--bleu-flandres);
}

.dynamic-price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brique);
    font-family: var(--font-headings);
}

/* Responsive grid layout */
@media (min-width: 768px) {
    .product-layout {
        grid-template-columns: 7fr 5fr;
        align-items: start;
    }
}
@media (max-width: 767px) {
    .product-features-grid {
        grid-template-columns: 1fr;
    }
    .booking-card {
        padding: 1.75rem 1.25rem;
    }
}


/* ===================================================================
   RESPONSIVE
   =================================================================== */

/* Tablet */
@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .btn-submit { width: auto; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .impact-grid { grid-template-columns: 1fr 1fr; align-items: center; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { flex-direction: row; justify-content: space-between; text-align: left; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-header-row { flex-direction: row; align-items: flex-end; }
    .blog-see-all { display: inline-flex; }
}

/* Desktop */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .hero-grid { grid-template-columns: 7fr 5fr; }
    .hero-visual { display: block; }

    .bento-grid {
        grid-template-columns: repeat(12, 1fr);
    }
    .bento-card:nth-child(1) { grid-column: span 8; min-height: 400px; }
    .bento-card:nth-child(2) { grid-column: span 4; min-height: 400px; }
    .bento-card:nth-child(3) { grid-column: span 4; min-height: 400px; }
    .bento-card:nth-child(4) { grid-column: span 8; }

    .form-wrapper { padding: 3.5rem; }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .bento-card-title { font-size: 1.75rem; }
    .hero-title { font-size: 4.2rem; }
    .logo-text { display: block; }
    .blog-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile: show burger, hide desktop nav */
@media (max-width: 767px) {
    :root {
        --space-5xl: 3.5rem; /* 56px instead of 128px */
        --space-4xl: 3rem;   /* 48px instead of 96px */
    }

    .nav-links { display: none; }
    .nav-cta-desktop { display: none; }
    .burger-btn { display: flex; }
    .logo-text { display: block; }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
        line-height: 1.1;
        letter-spacing: -0.03em;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .bento-content {
        padding: 1.5rem;
    }

    .bento-card-desc {
        opacity: 1;
        transform: translateY(0);
    }

    .form-wrapper {
        padding: 1.5rem 1.25rem;
    }
}
