/* =============================================================================
   VIVAPROD — CSS Principal
   Tendances 2026 : Glassmorphism, Gradient Mesh, Kinetic Typography
   ============================================================================= */

/* ─── POLICES LOCALES ─────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Red Hat Display';
    src: url('../fonts/RedHatDisplay/RedHatDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Red Hat Display';
    src: url('../fonts/RedHatDisplay/RedHatDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Red Hat Display';
    src: url('../fonts/RedHatDisplay/RedHatDisplay-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Red Hat Display';
    src: url('../fonts/RedHatDisplay/RedHatDisplay-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans/PlusJakartaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans/PlusJakartaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans/PlusJakartaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ─── VARIABLES CSS ───────────────────────────────────────────────────────── */
:root {
    /* Couleurs principales */
    --color-green-dark:    #1A5C3A;
    --color-green-mid:     #2E7D52;
    --color-green-light:   #4CAF7D;
    --color-green-sage:    #8FBF9F;
    --color-green-pale:    #D4EDE0;

    /* Couleurs d'accent */
    --color-orange:        #E8612A;
    --color-orange-light:  #F5956A;
    --color-orange-pale:   #FDE8DC;
    --color-yellow:        #F5A623;
    --color-yellow-light:  #FAC96A;
    --color-yellow-pale:   #FEF3DC;

    /* Fonds */
    --color-bg-dark:       #0F2E1E;
    --color-bg-green:      #1A5C3A;
    --color-bg-light:      #F0F0EC;
    --color-bg-white:      #FFFFFF;
    --color-bg-card:       #FFFFFF;

    /* Textes */
    --color-text-dark:     #1A2E28;
    --color-text-mid:      #4A5550;
    --color-text-light:    #8A9590;
    --color-text-white:    #FFFFFF;
    --color-text-white-70: rgba(255,255,255,0.7);

    /* Typographie */
    --font-heading:        'Red Hat Display', system-ui, -apple-system, sans-serif;
    --font-body:           'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Tailles de police (fluid) */
    --text-xs:   clamp(0.75rem,  1.5vw, 0.875rem);
    --text-sm:   clamp(0.875rem, 1.8vw, 1rem);
    --text-base: clamp(1rem,     2vw,   1.125rem);
    --text-lg:   clamp(1.125rem, 2.2vw, 1.25rem);
    --text-xl:   clamp(1.25rem,  2.5vw, 1.5rem);
    --text-2xl:  clamp(1.5rem,   3vw,   2rem);
    --text-3xl:  clamp(2rem,     4vw,   2.75rem);
    --text-4xl:  clamp(2.5rem,   5vw,   3.5rem);
    --text-5xl:  clamp(3rem,     6vw,   4.5rem);
    --text-hero: clamp(3.5rem,   7vw,   6rem);

    /* Espacements */
    --space-1:   0.25rem;
    --space-2:   0.5rem;
    --space-3:   0.75rem;
    --space-4:   1rem;
    --space-5:   1.25rem;
    --space-6:   1.5rem;
    --space-8:   2rem;
    --space-10:  2.5rem;
    --space-12:  3rem;
    --space-16:  4rem;
    --space-20:  5rem;
    --space-24:  6rem;
    --space-32:  8rem;

    /* Sections */
    --section-padding: clamp(4rem, 8vw, 8rem);

    /* Bordures */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   32px;
    --radius-full: 9999px;

    /* Ombres */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-xl:  0 20px 60px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.08);
    --shadow-green: 0 8px 32px rgba(26,92,58,0.25);
    --shadow-orange: 0 8px 32px rgba(232,97,42,0.25);

    /* Transitions */
    --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base:   300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container-max:     1280px;
    --container-narrow:  800px;
    --nav-height:        80px;
}


/* ─── RESET & BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Désactiver le curseur natif sur desktop (sauf pour l'admin) */
@media (pointer: fine) {
    body:not(.admin-body) { cursor: none; }
    body:not(.admin-body) a, 
    body:not(.admin-body) button, 
    body:not(.admin-body) [role="button"], 
    body:not(.admin-body) select, 
    body:not(.admin-body) input, 
    body:not(.admin-body) textarea, 
    body:not(.admin-body) label { cursor: none; }
}

/* Focus visible pour l'accessibilité */
:focus-visible {
    outline: 3px solid var(--color-green-light);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Sélection de texte */
::selection {
    background-color: var(--color-green-pale);
    color: var(--color-green-dark);
}

/* Images responsives */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Liens */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Listes */
ul, ol { list-style: none; }

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-dark);
}

/* Paragraphes */
p { line-height: 1.75; }

/* Formulaires */
input, textarea, select, button {
    font-family: var(--font-body);
    font-size: var(--text-base);
}

/* Accessibilité : skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    z-index: 9999;
    padding: var(--space-3) var(--space-6);
    background: var(--color-green-dark);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-4); }


/* ─── CURSEUR PERSONNALISÉ ────────────────────────────────────────────────── */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}
.cursor__dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform var(--transition-fast), width var(--transition-fast), height var(--transition-fast);
}
.cursor__outline {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 1.5px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 80ms linear, width var(--transition-base), height var(--transition-base), opacity var(--transition-base);
    opacity: 0.6;
}
.cursor--hover .cursor__dot { width: 12px; height: 12px; }
.cursor--hover .cursor__outline { width: 56px; height: 56px; opacity: 0.4; }
.cursor--click .cursor__dot { transform: translate(-50%, -50%) scale(0.7); }

@media (pointer: coarse) {
    .cursor { display: none; }
}


/* ─── BARRE DE PROGRESSION ────────────────────────────────────────────────── */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green-light), var(--color-orange));
    z-index: 9998;
    transition: width 100ms linear;
}


/* ─── LAYOUT ──────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    scroll-margin-top: calc(var(--nav-height) + 20px);
}
.section--light { background-color: var(--color-bg-light); }
.section--dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
}
.section--dark h1, .section--dark h2, .section--dark h3 {
    color: var(--color-text-white);
}

.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-16);
}
.section__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: var(--color-green-pale);
    color: var(--color-green-dark);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-5);
}
.section__badge--light {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}
.section__badge--orange {
    background: var(--color-orange-pale);
    color: var(--color-orange);
}
.section__badge--yellow {
    background: var(--color-yellow-pale);
    color: #9A6800;
}
.section__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-5);
}
.section__title em {
    font-style: normal;
    color: var(--color-green-mid);
}
.section--dark .section__title em { color: var(--color-green-sage); }
.section__desc {
    font-size: var(--text-lg);
    color: var(--color-text-mid);
    max-width: 560px;
    margin: 0 auto;
}
.section--dark .section__desc { color: var(--color-text-white-70); }


/* ─── NAVIGATION ──────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}
.site-header.scrolled {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 32px rgba(15,46,30,0.08);
}
.site-header.scrolled .nav__logo { color: var(--color-green-dark); }
.site-header.scrolled .nav__link { color: var(--color-text-dark); }

/* Pages avec fond clair - forcer le style sombre du menu */
.page-legal .site-header:not(.scrolled) .nav__logo-white { display: none; }
.page-legal .site-header:not(.scrolled) .nav__logo-green { display: block; }
.page-legal .site-header:not(.scrolled) .nav__link { color: var(--color-text-dark); }
.page-legal .site-header:not(.scrolled) .nav__link--dropdown { color: var(--color-text-dark); }
.page-legal .site-header:not(.scrolled) .nav__burger-line { background: var(--color-text-dark); }
.page-legal .site-header:not(.scrolled) .nav__cta {
    background: var(--color-orange);
    color: white;
}

.nav {
    width: 100%;
    padding: 0;
}
.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    gap: var(--space-8);
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    width: 100%;
}

.nav__logo {
    color: white;
    flex-shrink: 0;
    transition: color var(--transition-base), opacity var(--transition-fast);
    display: flex;
    align-items: center;
}
.nav__logo:hover { opacity: 0.8; }
.nav__logo-white,
.nav__logo-green {
    height: 36px;
    width: auto;
    max-width: 160px;
}
.nav__logo-white {
    display: block;
}
.nav__logo-green {
    display: none;
}
.site-header.scrolled .nav__logo-white {
    display: none;
}
.site-header.scrolled .nav__logo-green {
    display: block;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.nav__link {
    padding: var(--space-2) var(--space-4);
    color: rgba(255,255,255,0.85);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast), backdrop-filter var(--transition-fast);
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--color-green-light);
    border-radius: 2px;
    transition: transform var(--transition-base);
}
.nav__link:hover::after,
.nav__link--active::after { transform: translateX(-50%) scaleX(1); }
.nav__link:hover,
.nav__link--active {
    color: white;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nav__link--active { font-weight: 600; }
.site-header.scrolled .nav__link:hover,
.site-header.scrolled .nav__link--active {
    background: rgba(26,92,58,0.08);
}
.site-header.scrolled .nav__link--active { color: var(--color-green-dark); }

/* ─── MENU DÉROULANT (DROPDOWN) ─────────────────────────────────────────── */
.nav__item {
    position: relative;
}
.nav__item--dropdown {
    position: relative;
}

.nav__link--dropdown {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    color: rgba(255,255,255,0.85);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast), backdrop-filter var(--transition-fast);
    position: relative;
}
.nav__link--dropdown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--color-green-light);
    border-radius: 2px;
    transition: transform var(--transition-base);
}
.nav__link--dropdown:hover::after,
.nav__link--dropdown[aria-expanded="true"]::after {
    transform: translateX(-50%) scaleX(1);
}
.nav__link--dropdown:hover,
.nav__link--dropdown[aria-expanded="true"] {
    color: white;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nav__link--dropdown svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}
.nav__link--dropdown[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.nav__dropdown {
    position: absolute;
    top: calc(100% + var(--space-3));
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    min-width: 240px;
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 1001;
    box-shadow: 0 20px 48px rgba(15, 46, 30, 0.16), 0 2px 8px rgba(15, 46, 30, 0.06);
    list-style: none;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown.open .nav__dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--color-text-dark);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast);
    position: relative;
    text-decoration: none;
}
.nav__dropdown-link svg {
    flex-shrink: 0;
    color: var(--color-text-mid);
    transition: color var(--transition-fast);
}
.nav__dropdown-link:hover {
    color: white;
    background: var(--color-green-dark);
}
.nav__dropdown-link:hover svg {
    color: white;
}

/* Le panneau reste identique, ouvert ou fermé, scrollé ou non : verre dépoli clair constant */
.site-header.scrolled .nav__link--dropdown {
    color: var(--color-text-dark);
}
.site-header.scrolled .nav__link--dropdown:hover,
.site-header.scrolled .nav__link--dropdown[aria-expanded="true"] {
    background: rgba(26, 92, 58, 0.08);
    color: var(--color-text-dark);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: var(--radius-full);
    z-index: 1000;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nav__burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1), 
                opacity 0.3s ease, 
                background-color 0.3s ease;
    transform-origin: center;
}
.site-header.scrolled .nav__burger-line { background: var(--color-text-dark); }
.nav__burger.active .nav__burger-line { background: white !important; }
.nav__burger.active .nav__burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.active .nav__burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.active .nav__burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobile */
.nav__mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-10) var(--space-8);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    visibility: hidden;
    overflow-y: auto; /* Permet le scroll si le menu est trop long */
    -webkit-overflow-scrolling: touch;
}
.nav__mobile.open {
    transform: translateX(0);
    visibility: visible;
}

/* Empêcher le scroll du body quand le menu est ouvert */
body.nav-mobile-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}
.nav__mobile-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-12);
}
.nav__mobile-link {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    font-weight: 800;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition-fast), transform var(--transition-base);
    display: block;
    padding: 0.25rem 0;
}
.nav__mobile.open .nav__mobile-link {
    animation: mobileLinkFadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}
@keyframes mobileLinkFadeIn {
    to { opacity: 1; transform: translateY(0); }
}
.nav__mobile-menu li:nth-child(1) .nav__mobile-link { animation-delay: 0.1s; }
.nav__mobile-menu li:nth-child(2) .nav__mobile-link { animation-delay: 0.15s; }
.nav__mobile-menu li:nth-child(3) .nav__mobile-link { animation-delay: 0.2s; }
.nav__mobile-menu li:nth-child(4) .nav__mobile-link { animation-delay: 0.25s; }
.nav__mobile-menu li:nth-child(5) .nav__mobile-link { animation-delay: 0.3s; }
.nav__mobile-menu li:nth-child(6) .nav__mobile-link { animation-delay: 0.35s; }
.nav__mobile-link:hover,
.nav__mobile-link--active { color: white; }
.nav__mobile-link--cta { color: var(--color-green-light) !important; }
.nav__mobile-footer {
    color: var(--color-text-white-70);
    font-size: var(--text-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}


/* ─── BOUTONS ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn--primary {
    background: var(--color-green-dark);
    color: white;
    border-color: var(--color-green-dark);
    box-shadow: var(--shadow-green);
}
.btn--primary:hover {
    background: var(--color-green-mid);
    border-color: var(--color-green-mid);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(26,92,58,0.35);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn--white {
    background: white;
    color: var(--color-green-dark);
    border-color: white;
}
.btn--white:hover {
    background: var(--color-green-pale);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--color-green-dark);
    border-color: var(--color-green-dark);
}
.btn--outline:hover {
    background: var(--color-green-dark);
    color: white;
    transform: translateY(-2px);
}

.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn--xl { padding: var(--space-5) var(--space-10); font-size: var(--text-lg); }

.btn svg { flex-shrink: 0; transition: transform var(--transition-base); }
.btn:hover svg { transform: translateX(3px); }
.btn .btn__loading { display: none; }
.btn.loading .btn__text { display: none; }
.btn.loading .btn__loading { display: flex; }
.btn.loading .btn__icon { display: none; }

.nav__cta {
    background: var(--color-green-dark);
    color: white;
    border-color: var(--color-green-dark);
}
.site-header:not(.scrolled) .nav__cta {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}
.site-header:not(.scrolled) .nav__cta:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}


/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg-dark);
    padding-top: var(--nav-height);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(46,125,82,0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(26,92,58,0.4) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 60% 20%, rgba(76,175,125,0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0F2E1E 0%, #1A5C3A 50%, #0F2E1E 100%);
    z-index: 2;
    opacity: 0.8;
    pointer-events: none;
}
.hero__grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    z-index: 3;
}
.hero__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: var(--space-20) 0 var(--space-12);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.9);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    margin-bottom: var(--space-8);
}
.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-green-light);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero__title {
    font-size: var(--text-hero);
    font-weight: 900;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: var(--space-8);
    max-width: 900px;
}
.hero__title-line {
    display: block;
    overflow: hidden;
}
.hero__title-word {
    display: inline-block;
    transition: color var(--transition-base), text-shadow var(--transition-base);
}

/* Effet de changement de couleur au survol - par mot */
.hero__title-line:nth-child(1) .hero__title-word:hover {
    color: var(--color-orange);
    text-shadow: 0 0 20px rgba(232, 97, 42, 0.5);
}
.hero__title-line:nth-child(2) .hero__title-word:hover {
    color: var(--color-yellow);
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}
.hero__title-line:nth-child(3) .hero__title-word:hover {
    color: var(--color-yellow-pale);
    text-shadow: 0 0 20px rgba(254, 243, 220, 0.5);
}

.hero__title-word--accent {
    color: var(--color-green-light);
}
.hero__title-word--outline {
    -webkit-text-stroke: 2px rgba(255,255,255,0.6);
    color: transparent;
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--space-10);
    letter-spacing: 0.02em;
    font-weight: 400;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

.hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255,255,255,0.4);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
}
.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Clients ticker */
.hero__clients {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-6) 0;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
}
.hero__clients .container {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}
.hero__clients-label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    flex-shrink: 0;
}
.hero__clients-track {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.hero__clients-inner {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    animation: ticker 20s linear infinite;
    width: max-content;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.hero__client-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.hero__client-sep {
    color: rgba(255,255,255,0.2);
    font-size: var(--text-lg);
}
.hero__client-logo {
    height: var(--space-5);
    width: auto;
    max-width: 120px;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.hero__client-logo:hover {
    opacity: 1;
}


/* ─── STATS ───────────────────────────────────────────────────────────────── */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}
.stat {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.stat:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.85);
    box-shadow: var(--shadow-lg);
}
.stat__number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--color-green-dark);
    line-height: 1;
    margin-bottom: var(--space-2);
    letter-spacing: -0.03em;
}
.stat__label {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    font-weight: 500;
}


/* ─── SERVICES CARDS ──────────────────────────────────────────────────────── */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green-dark), var(--color-green-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-green-pale);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card--featured {
    background: var(--color-green-dark);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-green);
}
.service-card--featured::before {
    background: linear-gradient(90deg, var(--color-green-light), var(--color-yellow));
}
.service-card--featured h3,
.service-card--featured .service-card__desc,
.service-card--featured .service-card__list li { color: rgba(255,255,255,0.9); }
.service-card--featured .service-card__number { color: rgba(255,255,255,0.15); }
.service-card--featured .service-card__icon { color: var(--color-green-light); }
.service-card--featured .service-card__link { color: var(--color-green-light); }

.service-card__number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0,0,0,0.05);
    line-height: 1;
    margin-bottom: var(--space-4);
    letter-spacing: -0.04em;
}
.service-card__icon {
    color: var(--color-green-dark);
    margin-bottom: var(--space-5);
}
.service-card__badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.service-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}
.service-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}
.service-card__list {
    margin-bottom: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.service-card__list li {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    padding-left: var(--space-5);
    position: relative;
}
.service-card__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-green-light);
    font-size: var(--text-xs);
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-green-dark);
    transition: gap var(--transition-fast);
}
.service-card__link:hover { gap: var(--space-3); }
.service-card__link svg { transition: transform var(--transition-fast); }
.service-card__link:hover svg { transform: translateX(4px); }


/* ─── MANIFESTE ───────────────────────────────────────────────────────────── */
.manifesto__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
}
.manifesto__title {
    font-size: var(--text-4xl);
    color: white;
    margin-bottom: var(--space-6);
}
.manifesto__text {
    color: rgba(255,255,255,0.7);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    line-height: 1.8;
}
.manifesto__pillars {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: var(--space-10);
}
.manifesto__pillar {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}
.manifesto__pillar-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-green-light);
}
.manifesto__pillar-icon--orange { color: var(--color-orange-light); }
.manifesto__pillar-icon--yellow { color: var(--color-yellow-light); }
.manifesto__pillar strong {
    display: block;
    color: white;
    font-weight: 700;
    margin-bottom: var(--space-1);
}
.manifesto__pillar span {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.55);
}

.manifesto__visual {
    position: relative;
    height: 400px;
}
.manifesto__visual-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-lg);
    transition: transform var(--transition-base);
}
.manifesto__visual-card:hover { transform: translateY(-4px) scale(1.02); }
.manifesto__visual-icon { color: var(--color-green-light); }
.manifesto__visual-card--1 { top: 0; left: 0; width: 160px; }
.manifesto__visual-card--2 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 180px; }
.manifesto__visual-card--2:hover { transform: translate(-50%, calc(-50% - 4px)) scale(1.02); }
.manifesto__visual-card--3 { bottom: 0; right: 0; width: 160px; }


/* ─── PROCESSUS ───────────────────────────────────────────────────────────── */
.process__timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.process__step {
    flex: 1;
    text-align: center;
    padding: var(--space-6);
}
.process__step-number {
    width: 64px;
    height: 64px;
    background: var(--color-green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 900;
    color: white;
    box-shadow: var(--shadow-green);
    position: relative;
    z-index: 1;
}
.process__step-number--orange {
    background: var(--color-orange);
    box-shadow: var(--shadow-orange);
}
.process__step-number--yellow {
    background: var(--color-yellow);
    box-shadow: 0 8px 32px rgba(245,166,35,0.3);
    color: var(--color-text-dark);
}
.process__step-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}
.process__step-desc {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    line-height: 1.7;
}
.process__connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green-pale), var(--color-green-light), var(--color-green-pale));
    margin-top: 32px;
    position: relative;
}
.process__connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-green-light);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}


/* ─── PORTFOLIO PREVIEW ───────────────────────────────────────────────────── */
.portfolio-preview__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-5);
    margin-bottom: var(--space-10);
}
.portfolio-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.portfolio-card--large { grid-row: span 2; }
.portfolio-card__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
    text-decoration: none;
}
.portfolio-card--large .portfolio-card__media { aspect-ratio: 4/3; height: 100%; }
.portfolio-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.portfolio-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    min-height: 200px;
}
.portfolio-card__placeholder--2 {
    background: linear-gradient(135deg, #1A2E28 0%, var(--color-orange) 100%);
}
.portfolio-card__placeholder--3 {
    background: linear-gradient(135deg, #2A1A0A 0%, var(--color-yellow) 100%);
}
.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}
.portfolio-card:hover .portfolio-card__overlay { background: rgba(0,0,0,0.3); }
.portfolio-card__play {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green-dark);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition-base), transform var(--transition-spring);
}
.portfolio-card:hover .portfolio-card__play {
    opacity: 1;
    transform: scale(1);
}
.portfolio-card__info {
    padding: var(--space-5) var(--space-6);
}
.portfolio-card__tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-green-pale);
    color: var(--color-green-dark);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.portfolio-card__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--space-2);
}
.portfolio-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.portfolio-preview__cta { text-align: center; }


/* ─── ÉQUIPE PREVIEW ──────────────────────────────────────────────────────── */
.team-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}
.team-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-align: center;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.team-card--featured {
    background: var(--color-green-dark);
    border-color: transparent;
    box-shadow: var(--shadow-green);
}
.team-card--featured .team-card__name,
.team-card--featured .team-card__role,
.team-card--featured .team-card__bio { color: rgba(255,255,255,0.9); }
.team-card--featured .team-card__role { color: var(--color-green-sage); }

.team-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 900;
    color: white;
}
.team-card__avatar--1 { background: linear-gradient(135deg, var(--color-green-dark), var(--color-green-mid)); }
.team-card__avatar--2 { background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light)); }
.team-card__avatar--3 { background: linear-gradient(135deg, #9A6800, var(--color-yellow)); }

.team-card__name {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}
.team-card__role {
    font-size: var(--text-sm);
    color: var(--color-green-mid);
    font-weight: 600;
    margin-bottom: var(--space-3);
}
.team-card__bio {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    line-height: 1.6;
}
.team-preview__cta { text-align: center; }


/* ─── CTA SECTION ─────────────────────────────────────────────────────────── */
.cta-section__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-16);
    align-items: center;
}
.cta-section__inner--centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-section__title {
    font-size: var(--text-4xl);
    color: white;
    margin-bottom: var(--space-5);
}
.cta-section__desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-8);
    max-width: 560px;
}
.cta-section__inner--centered .cta-section__desc { margin: 0 auto var(--space-8); }
.cta-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.cta-section__inner--centered .cta-section__actions { justify-content: center; }
.cta-section__visual { flex-shrink: 0; }
.cta-section__badge {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-lg);
    backdrop-filter: blur(8px);
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}


/* ─── PAGE HERO ───────────────────────────────────────────────────────────── */
.page-hero {
    position: relative;
    padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-20);
    overflow: hidden;
    background: var(--color-bg-dark);
    color: white;
}
.page-hero--minimal {
    padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-12);
    background: var(--color-bg-light);
    color: var(--color-text-dark);
}
.page-hero__bg {
    position: absolute;
    inset: 0;
}
.page-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 30% 40%, rgba(46,125,82,0.5) 0%, transparent 60%),
        linear-gradient(135deg, #0F2E1E 0%, #1A5C3A 60%, #0F2E1E 100%);
}
.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.page-hero__content--wide { max-width: 900px; }
.page-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-5);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.8);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(8px);
}
.page-hero__title {
    font-size: var(--text-5xl);
    color: white;
    margin-bottom: var(--space-6);
    letter-spacing: -0.03em;
}
.page-hero__title em {
    font-style: normal;
    color: var(--color-green-sage);
}
.page-hero__title--sm { font-size: var(--text-4xl); color: var(--color-text-dark); }
.page-hero__desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    line-height: 1.8;
}
.page-hero--minimal .page-hero__desc { color: var(--color-text-mid); }


/* ─── TEXT UTILITIES ──────────────────────────────────────────────────────── */
.text--accent { color: var(--color-green-light); }
.section--dark .text--accent { color: var(--color-green-sage); }


/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.7);
}
.footer__inner { padding: var(--space-20) 0 0; }
.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    padding: 0 clamp(1.25rem, 4vw, 3rem) var(--space-16);
    max-width: var(--container-max);
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { color: white; display: inline-block; margin-bottom: var(--space-4); transition: opacity var(--transition-fast); }
.footer__logo:hover { opacity: 0.8; }
.footer__logo-img { width: 140px; height: auto; display: block; }
.footer__tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-lg);
    color: white;
    margin-bottom: var(--space-3);
}
.footer__desc {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    max-width: 300px;
}
.footer__social {
    display: flex;
    gap: var(--space-3);
}
.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition-fast);
}
.footer__social-link:hover {
    background: var(--color-green-dark);
    border-color: var(--color-green-mid);
    color: white;
    transform: translateY(-2px);
}
.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}
.footer__nav-title {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer__nav ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__nav a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.55);
    transition: color var(--transition-fast);
}
.footer__nav a:hover { color: white; }
.footer__address { font-style: normal; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__address p {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
}
.footer__contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.55);
    transition: color var(--transition-fast);
}
.footer__contact-link:hover { color: white; }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-6) clamp(1.25rem, 4vw, 3rem);
    max-width: var(--container-max);
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__copy, .footer__made-with {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.35);
}
.footer__made-with a { color: rgba(255,255,255,0.55); transition: color var(--transition-fast); }
.footer__made-with a:hover { color: white; }
.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.footer__legal a {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.35);
    transition: color var(--transition-fast);
}
.footer__legal a:hover { color: rgba(255,255,255,0.7); }


/* ─── SERVICES NAV ────────────────────────────────────────────────────────── */
.services-nav {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.services-nav__list {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.services-nav__list::-webkit-scrollbar { display: none; }
.services-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-mid);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.services-nav__link svg {
    flex-shrink: 0;
    color: var(--color-text-mid);
    transition: color var(--transition-fast);
}
.services-nav__link:hover,
.services-nav__link.active {
    color: var(--color-green-dark);
    border-bottom-color: var(--color-green-dark);
}
.services-nav__link:hover svg,
.services-nav__link.active svg {
    color: var(--color-green-dark);
}


/* ─── SERVICE DETAIL ──────────────────────────────────────────────────────── */
.service-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
}
.service-detail--reverse .service-detail__inner {
    direction: rtl;
}
.service-detail--reverse .service-detail__inner > * { direction: ltr; }
.service-detail__number {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0,0,0,0.04);
    line-height: 1;
    margin-bottom: var(--space-2);
    letter-spacing: -0.04em;
}
.service-detail__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-5);
}
.service-detail__title em {
    font-style: normal;
    color: var(--color-green-mid);
}
.service-detail__desc {
    font-size: var(--text-lg);
    color: var(--color-text-mid);
    margin-bottom: var(--space-8);
    line-height: 1.8;
}
.service-detail__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: var(--space-10);
}
.service-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}
.service-feature__icon {
    width: 32px;
    height: 32px;
    background: var(--color-green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-green-dark);
}
.service-feature__icon--orange {
    background: var(--color-orange-pale);
    color: var(--color-orange);
}
.service-feature__icon--yellow {
    background: var(--color-yellow-pale);
    color: #9A6800;
}
.service-feature strong {
    display: block;
    font-weight: 700;
    margin-bottom: var(--space-1);
    font-size: var(--text-sm);
}
.service-feature p {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
}
.service-detail__card {
    background: var(--color-green-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    color: white;
    margin-bottom: var(--space-5);
}
.service-detail__card--orange { background: var(--color-orange); }
.service-detail__card--yellow { background: #9A6800; }
.service-detail__card-icon {
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-6);
}
.service-detail__quote {
    font-style: italic;
    color: rgba(255,255,255,0.8);
    font-size: var(--text-base);
    line-height: 1.7;
}
.service-detail__quote cite {
    display: block;
    font-style: normal;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    margin-top: var(--space-3);
}
.service-detail__specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}
.spec { text-align: center; }
.spec__value {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 900;
    color: white;
    margin-bottom: var(--space-1);
}
.spec__label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.6);
}
.service-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.tag {
    padding: var(--space-2) var(--space-4);
    background: var(--color-green-pale);
    color: var(--color-green-dark);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}
.tag--orange { background: var(--color-orange-pale); color: var(--color-orange); }
.tag--yellow { background: var(--color-yellow-pale); color: #9A6800; }


/* ─── PORTFOLIO GRID ──────────────────────────────────────────────────────── */
.portfolio-filters {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
}
.portfolio-filters__inner {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-4) 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-btn {
    padding: var(--space-2) var(--space-5);
    background: transparent;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-mid);
    white-space: nowrap;
    transition: all var(--transition-fast);
}
.filter-btn:hover,
.filter-btn--active {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
    color: white;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-16);
}
.portfolio-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.portfolio-item.hidden { display: none; }
.portfolio-item__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.portfolio-item__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
}
.portfolio-item__placeholder--2 { background: linear-gradient(135deg, #1A2E28 0%, var(--color-orange) 100%); }
.portfolio-item__placeholder--3 { background: linear-gradient(135deg, #2A1A0A 0%, var(--color-yellow) 100%); }
.portfolio-item__placeholder--4 { background: linear-gradient(135deg, #0A1A2E 0%, #3A6BAF 100%); }
.portfolio-item__placeholder--5 { background: linear-gradient(135deg, #1A0A2E 0%, #6B3AAF 100%); }
.portfolio-item__placeholder--6 { background: linear-gradient(135deg, #1A1A0A 0%, #8FAF3A 100%); }
.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}
.portfolio-item:hover .portfolio-item__overlay { background: rgba(0,0,0,0.3); }
.portfolio-item__play {
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green-dark);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition-base), transform var(--transition-spring);
}
.portfolio-item:hover .portfolio-item__play { opacity: 1; transform: scale(1); }
.portfolio-item__tag {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background: rgba(255,255,255,0.9);
    color: var(--color-green-dark);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.portfolio-item__tag--orange { color: var(--color-orange); }
.portfolio-item__tag--yellow { color: #9A6800; }
.portfolio-item__info { padding: var(--space-5) var(--space-6); }
.portfolio-item__title {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-1);
}
.portfolio-item__client {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-bottom: var(--space-2);
}
.portfolio-item__desc {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    line-height: 1.6;
}
.portfolio-cta {
    background: var(--color-bg-light);
    border-radius: var(--radius-xl);
    padding: var(--space-16);
    text-align: center;
}
.portfolio-cta__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}
.portfolio-cta__desc {
    font-size: var(--text-lg);
    color: var(--color-text-mid);
    margin-bottom: var(--space-8);
}


/* ─── À PROPOS ────────────────────────────────────────────────────────────── */
.about-vision__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
}
.about-vision__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
}
.about-vision__title em { font-style: normal; color: var(--color-green-mid); }
.about-vision__text {
    font-size: var(--text-lg);
    color: var(--color-text-mid);
    margin-bottom: var(--space-5);
    line-height: 1.8;
}
.about-vision__values {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.value-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.value-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}
.value-card__icon {
    width: 44px;
    height: 44px;
    background: var(--color-green-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-green-dark);
}
.value-card__icon--orange { background: var(--color-orange-pale); color: var(--color-orange); }
.value-card__icon--yellow { background: var(--color-yellow-pale); color: #9A6800; }
.value-card h3 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.value-card p { font-size: var(--text-sm); color: var(--color-text-mid); }

/* Membres équipe */
.team-member {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-16);
    align-items: start;
    padding: var(--space-12) 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.team-member:last-child { border-bottom: none; }
.team-member--reverse { direction: rtl; }
.team-member--reverse > * { direction: ltr; }
.team-member__visual { position: relative; }
.team-member__avatar {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: white;
}
.team-member__avatar--1 { background: linear-gradient(135deg, var(--color-green-dark), var(--color-green-mid)); }
.team-member__avatar--2 { background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light)); }
.team-member__avatar--3 { background: linear-gradient(135deg, #9A6800, var(--color-yellow)); }
.team-member__badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--color-green-dark);
}
.team-member__badge--orange { border-left-color: var(--color-orange); }
.team-member__badge--yellow { border-left-color: var(--color-yellow); }
.team-member__badge-icon {
    width: 36px;
    height: 36px;
    background: var(--color-green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-green-dark);
}
.team-member__badge strong { display: block; font-size: var(--text-sm); }
.team-member__badge span { font-size: var(--text-xs); color: var(--color-text-mid); }
.team-member__role-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--color-green-pale);
    color: var(--color-green-dark);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}
.team-member__role-badge--orange { background: var(--color-orange-pale); color: var(--color-orange); }
.team-member__role-badge--yellow { background: var(--color-yellow-pale); color: #9A6800; }
.team-member__title {
    font-size: var(--text-base);
    color: var(--color-green-dark);
    margin-top: var(--space-5);
    margin-bottom: var(--space-2);
}
.team-member__content p {
    font-size: var(--text-base);
    color: var(--color-text-mid);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}
.team-member__skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-5);
}
.skill-tag {
    padding: var(--space-2) var(--space-4);
    background: var(--color-green-pale);
    color: var(--color-green-dark);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}
.skill-tag--orange { background: var(--color-orange-pale); color: var(--color-orange); }
.skill-tag--yellow { background: var(--color-yellow-pale); color: #9A6800; }

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
}
.client-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-lg);
    color: var(--color-text-mid);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-base);
}
.client-item:hover {
    color: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* ─── FORMULAIRE CONTACT ──────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-16);
    align-items: start;
}
.contact-form-wrapper__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2);
}
.contact-form-wrapper__desc {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    margin-bottom: var(--space-8);
}
.contact-form-wrapper__desc span { color: var(--color-orange); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group--checkbox { gap: var(--space-3); }
.form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-dark);
}
.form-label span { color: var(--color-orange); }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: var(--color-bg-light);
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    color: var(--color-text-dark);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-green-mid);
    background: white;
    box-shadow: 0 0 0 3px rgba(46,125,82,0.1);
}
.form-input.error, .form-select.error, .form-textarea.error {
    border-color: #E53E3E;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-select-wrapper { position: relative; }
.form-select-icon {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-mid);
}
.form-error {
    font-size: var(--text-xs);
    color: #E53E3E;
    display: none;
}
.form-error.visible { display: block; }
.form-hint { font-size: var(--text-xs); color: var(--color-text-light); }
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}
.form-checkbox input[type="checkbox"] { display: none; }
.form-checkbox__custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--color-bg-light);
    transition: all var(--transition-fast);
    position: relative;
}
.form-checkbox input:checked + .form-checkbox__custom {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
}
.form-checkbox input:checked + .form-checkbox__custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
.form-checkbox__label {
    font-size: var(--text-sm);
    color: var(--color-text-mid);
    line-height: 1.6;
}
.form-checkbox__label a { color: var(--color-green-dark); text-decoration: underline; }
.contact-form__submit { width: 100%; justify-content: center; }
.form-feedback {
    padding: var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
}
.form-feedback.success {
    background: var(--color-green-pale);
    color: var(--color-green-dark);
    border: 1px solid var(--color-green-sage);
}
.form-feedback.error {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FCA5A5;
}

/* Infos contact */
.contact-info__card {
    background: var(--color-bg-light);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
}
.contact-info__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
}
.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-green-dark);
    box-shadow: var(--shadow-sm);
}
.contact-info__item strong { display: block; font-weight: 700; margin-bottom: var(--space-1); }
.contact-info__item a {
    display: block;
    color: var(--color-green-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
}
.contact-info__item a:hover { color: var(--color-green-mid); }
.contact-info__note { display: block; font-size: var(--text-xs); color: var(--color-text-light); margin-top: var(--space-1); }
.contact-info__social {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
}
.contact-info__social-title {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
}
.contact-info__social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-mid);
    transition: all var(--transition-fast);
    background: var(--color-bg-light);
}
.social-link:hover {
    background: var(--color-green-pale);
    color: var(--color-green-dark);
}
.contact-info__promise {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-green-pale);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-green-dark);
}
.contact-info__promise-icon { color: var(--color-green-dark); flex-shrink: 0; margin-top: 2px; }
.contact-info__promise strong { display: block; color: var(--color-green-dark); margin-bottom: var(--space-1); }
.contact-info__promise p { font-size: var(--text-sm); color: var(--color-text-mid); }


/* ─── MENTIONS LÉGALES ────────────────────────────────────────────────────── */
.legal-content { display: flex; flex-direction: column; gap: var(--space-12); }
.legal-block h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-5);
    color: var(--color-green-dark);
}
.legal-block h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
    margin-top: var(--space-6);
}
.legal-block p {
    font-size: var(--text-base);
    color: var(--color-text-mid);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}
.legal-block a { color: var(--color-green-dark); text-decoration: underline; }
.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}
.legal-table th, .legal-table td {
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(0,0,0,0.08);
    text-align: left;
}
.legal-table th {
    background: var(--color-bg-light);
    font-weight: 600;
    width: 35%;
}


/* ─── SPIN ANIMATION ──────────────────────────────────────────────────────── */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.spin { animation: spin 1s linear infinite; }


/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: 1fr 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-preview__grid { grid-template-columns: 1fr 1fr; }
    .portfolio-preview__grid .portfolio-card--large { grid-column: span 2; }
    .manifesto__inner { grid-template-columns: 1fr; gap: var(--space-12); }
    .manifesto__visual { display: none; }
    .service-detail__inner { grid-template-columns: 1fr; gap: var(--space-10); }
    .service-detail--reverse .service-detail__inner { direction: ltr; }
    .about-vision__inner { grid-template-columns: 1fr; gap: var(--space-10); }
    .team-member { grid-template-columns: 1fr; gap: var(--space-8); }
    .team-member--reverse { direction: ltr; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: var(--space-10); }
    .footer__nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    :root { --nav-height: 70px; }
    .nav__menu, .nav__cta { display: none; }
    .nav__burger { display: flex; }
    .services__grid { grid-template-columns: 1fr; }
    .team-preview__grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-preview__grid { grid-template-columns: 1fr; }
    .portfolio-preview__grid .portfolio-card--large { grid-column: span 1; }
    .process__timeline { flex-direction: column; align-items: center; }
    .process__connector { width: 2px; height: 40px; flex: 0 0 40px; margin-top: 0; }
    .process__connector::after {
        right: auto;
        left: 50%;
        bottom: -6px;
        top: auto;
        transform: translateX(-50%) rotate(90deg);
    }
    .cta-section__inner { grid-template-columns: 1fr; }
    .cta-section__visual { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer__nav { grid-template-columns: 1fr 1fr; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: clamp(2.5rem, 8vw, 4rem); }
}

@media (max-width: 480px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer__nav { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; justify-content: center; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
}

/* Préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero__clients-inner { animation: none; }
    .hero__scroll-line { animation: none; }
    .cta-section__badge { animation: none; }
}


/* ─── PAGE LOADER ─────────────────────────────────────────────────────────── */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page-loader__logo {
    width: 180px;
    height: auto;
    animation: loaderPulse 1.5s ease-in-out infinite;
}
.page-loader__bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.page-loader__progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-green-light), var(--color-orange));
    border-radius: var(--radius-full);
    animation: loaderProgress 1.2s ease-in-out forwards;
}
@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
@keyframes loaderProgress {
    0% { width: 0%; }
    60% { width: 75%; }
    100% { width: 100%; }
}


/* ─── NOISE OVERLAY ───────────────────────────────────────────────────────── */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}


/* ─── LANDING PAGE ────────────────────────────────────────────────────────── */

/* Header minimaliste */
.landing__header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-3) clamp(1.25rem, 4vw, 3rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.landing__header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.landing__logo {
    color: white;
    flex-shrink: 0;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
}

.landing__logo:hover {
    opacity: 0.8;
}

.landing__logo img {
    height: 28px;
    width: auto;
    max-width: 120px;
}

/* Hero variant pour landing */
.hero--landing {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(70px + var(--space-8)) clamp(1.25rem, 4vw, 3rem) var(--space-8);
}

.hero--landing .hero__content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.page-landing .hero__title {
    margin-bottom: var(--space-16) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    font-size: var(--text-hero) !important;
    color: white !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    width: 100% !important;
}

.page-landing .hero__title-line {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    line-height: 1.05 !important;
    text-align: left !important;
    width: 100% !important;
}

.page-landing .hero__title-word {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero--landing .hero__scroll {
    display: none;
}

/* Footer Simplifié */
.landing__footer {
    position: relative;
    background: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: var(--space-16) clamp(1.25rem, 4vw, 3rem) var(--space-8);
}

.landing__footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.landing__footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-4);
}

.landing__footer-logo img {
    height: 32px;
    width: auto;
}

.landing__footer-tagline {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: white;
}

.landing__footer-desc {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.landing__footer-social {
    display: flex;
    gap: var(--space-4);
}

.landing__footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    color: white;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.landing__footer-social a:hover {
    background: rgba(255,255,255,0.2);
}

.landing__footer-contact {
    text-align: left;
}

.landing__footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: white;
}

.landing__footer-address {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    font-style: normal;
}

.landing__footer-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.landing__footer-link:hover {
    color: white;
}

.landing__footer-address p {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.85);
    font-size: var(--text-sm);
    margin: 0;
}

.landing__footer-address svg {
    flex-shrink: 0;
    color: rgba(255,255,255,0.7);
}

.landing__footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.landing__footer-bottom p {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* Responsive Landing */
@media (max-width: 768px) {
    .landing__header-inner {
        gap: var(--space-4);
    }

    .landing__logo img {
        height: 24px;
    }

    .landing__footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .landing__footer-contact {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero--landing {
        min-height: 80vh;
        padding: calc(70px + var(--space-6)) clamp(1rem, 4vw, 1.5rem) var(--space-6);
    }

    .landing__header {
        padding: var(--space-2) clamp(1rem, 4vw, 1.5rem);
    }

    .landing__header-inner {
        gap: var(--space-2);
    }

    .landing__logo img {
        height: 20px;
    }

    .landing__footer {
        padding: var(--space-8) clamp(1rem, 4vw, 1.5rem) var(--space-6);
    }

    .landing__footer-grid {
        gap: var(--space-6);
    }

    .landing__footer-contact {
        text-align: left;
    }

    .landing__footer-title {
        font-size: var(--text-base);
    }

    .landing__footer-address p {
        font-size: var(--text-xs);
    }
}


/* ─── MADE WITH CLAUDE BADGE ──────────────────────────────────────────────── */
.made-with-claude a {
    color: var(--color-green-sage);
    font-weight: 600;
    transition: color var(--transition-fast);
}
.made-with-claude a:hover {
    color: var(--color-green-light);
}
