@import url('satoshi.css');

@font-face { font-family: 'SeasonMix'; src: url('../fonts/SeasonMix-Medium.woff2') format('woff2'); font-weight: normal; font-display: swap; }
@font-face { font-family: 'SeasonSans'; src: url('../fonts/SeasonSans-Medium.woff2') format('woff2'); font-weight: normal; font-display: swap; }


/* ==========================================================================
   GENERAL STYLES
   ========================================================================== */
:root {
    --color-black: #000000;
    --color-cream: #FFF9E5;
    --color-gold: #d0c4b2;
    --font-main: 'Satoshi-Regular', sans-serif;
    --font-light: 'Satoshi-Light', sans-serif;
    --font-season: 'SeasonMix', serif;
    --font-season-sans: 'SeasonSans', sans-serif;
}


* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-synthesis: none !important; 
}

body { 
    background-color: var(--color-black); 
    color: var(--color-cream); 
    font-family: var(--font-main); 
    overflow-x: hidden; 

    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    text-rendering: auto; 
}

/* FIX FAUX-BOLD POUR EMPECHER LES BAVURES SUR LES POLICES CUSTOM */
h1, h2, h3, h4, h5, h6, strong, b { 
    font-weight: normal; 
}

/* 🪄 HIGHLIGHT DE SELECTION INVERSÉ (Fond noir par défaut) 
   Ajout de !important et text-shadow: none pour forcer l'opacité au maximum */
::selection { 
    background-color: var(--color-cream) !important; 
    color: var(--color-black) !important; 
    text-shadow: none !important; 
}
::-moz-selection { 
    background-color: var(--color-cream) !important; 
    color: var(--color-black) !important; 
    text-shadow: none !important; 
}

.container { max-width: 95%; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
.text-black { color: var(--color-black) !important; }

.text-season { font-family: var(--font-season); font-weight: normal; }
.text-season-sans { font-family: var(--font-season-sans); font-weight: normal; }
.text-satoshi-light { 
    font-family: var(--font-light); 
    font-weight: normal; 
}

/* Classes utilitaires absolues (écrasent les styles de base) */
.bg-cream { background-color: var(--color-cream) !important; color: var(--color-black) !important; }
.bg-black { background-color: var(--color-black) !important; color: var(--color-cream) !important; }

/* 🪄 HIGHLIGHT DE SELECTION INVERSÉ (Quand on est sur un fond crème) */
.bg-cream ::selection { 
    background-color: var(--color-black) !important; 
    color: var(--color-cream) !important; 
    text-shadow: none !important; 
}
.bg-cream ::-moz-selection { 
    background-color: var(--color-black) !important; 
    color: var(--color-cream) !important; 
    text-shadow: none !important; 
}

/* ==========================================================================
   HEADER & FIXED LOGO
   ========================================================================== */
.fixed-logo-wrapper { position: fixed; top: 40px; left: 0; width: 100%; height: 60px; display: flex; align-items: center; z-index: 3000; pointer-events: none; transition: color 0.3s ease; }
.fixed-logo-wrapper .container { display: flex; align-items: center; width: 100%; }

/* 1. On réduit la largeur à 130px pour libérer physiquement la zone de clic du menu "work" */
.logo { display: block; height: 55px; width: 130px; cursor: pointer; position: relative; pointer-events: auto; overflow: hidden; }

/* 2. On tire légèrement le Lottie vers la gauche pour avaler la marge interne native du SVG et aligner le "l" sur Delhaize */
.logo-lottie { width: 100%; height: 100%; position: absolute; top: 0; left: -8px; transition: opacity 0.3s ease; }
.logo-lottie svg { height: 100% !important; width: 100% !important; display: block; transform-origin: left center; padding-bottom: 4px; }

#nav-logo-b { opacity: 0; pointer-events: none; }
.fixed-logo-wrapper.theme-light #nav-logo-a { opacity: 0; }
.fixed-logo-wrapper.theme-light #nav-logo-b { opacity: 1; }

.site-header { 
    padding: 40px 0; 
    position: fixed; /* 🪄 Indispensable pour qu'il te suive au scroll */
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 2000; /* 🪄 Il repasse au-dessus de TOUT le site */
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease, color 0.3s ease; 
}

/* 🪄 LA CLASSE MAGIQUE : Glisse le menu vers le haut et le rend transparent */
.site-header.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* 3. L'espacement naturel parfait : le spacer fait exactement la taille du logo, suivi d'un écart propre de 30px */
.site-nav { display: flex; justify-content: flex-start; align-items: center; gap: 30px; height: 60px; }
.logo-spacer { width: 130px; height: 60px; flex-shrink: 0; margin: 0; }

.nav-menu { position: relative; list-style: none; display: flex; gap: 40px; align-items: center; height: 100%; z-index: 2001; }
.nav-menu a { color: var(--color-cream); text-decoration: none; text-transform: lowercase; font-family: var(--font-season-sans); font-size: 1.5rem; transition: color 0.3s ease, opacity 0.3s ease; padding-bottom: 5px; position: relative; }
.nav-magic-line { position: absolute; bottom: 5px; left: 0; height: 2px; background-color: var(--color-cream); transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1), background-color 0.3s ease; width: 0; opacity: 0; }
.site-header.theme-light .nav-menu a { color: var(--color-black); }
.site-header.theme-light .nav-magic-line { background-color: var(--color-black); }

/* Neutralise la capture des clics sur les enveloppes collantes transparentes */
.home .hero-sticky,
.home .hero-viewport {
    pointer-events: none !important;
}

/* 3. Réactive les interactions (clics, sélection) sur les contenus réels */
.home .section-intro,
.home .section-hero-image,
.home .main-content {
    pointer-events: auto !important;
}


/*  BANDE DE FLOU ÉDITORIALE (SOUS LA NAVIGATION) */
.skinn-blur-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px; 
    z-index: 999; 
    pointer-events: none; 
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Base commune pour tous les calques de flou */
.blur-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: transparent;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 100%);
}

/* Couche 1 : Très léger flou global sur une grande hauteur */
.blur-layer.layer-1 {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    mask-image: linear-gradient(to bottom, black 0%, black 20%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 20%, transparent 80%);
}

/* Couche 2 : Flou moyen qui s'estompe à mi-chemin */
.blur-layer.layer-2 {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    mask-image: linear-gradient(to bottom, black 0%, black 15%, transparent 60%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 15%, transparent 60%);
}

/* Couche 3 : Flou moyen (On passe de 8px à 6px) */
.blur-layer.layer-3 {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    mask-image: linear-gradient(to bottom, black 0%, black 10%, transparent 45%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 10%, transparent 45%);
}

/* Couche 4 : Flou adouci (On passe de 16px à 12px) */
.blur-layer.layer-4 {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    mask-image: linear-gradient(to bottom, black 0%, black 5%, transparent 30%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 5%, transparent 30%);
}

/* Couche 5 : Flou maximum réduit (On passe de 32px à 20px) */
.blur-layer.layer-5 {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    mask-image: linear-gradient(to bottom, black 0%, black 2%, transparent 20%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 2%, transparent 20%);
}

/* Couche 6 : Un voile blanc ultra-léger */
.blur-layer.layer-6 {
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0.06) 0%, /* Moins fort (était à 0.12) */
        rgba(255, 255, 255, 0.02) 30%, 
        transparent 100%
    );
}


/* ==========================================================================
   HERO / INDEX
   ========================================================================== */
.scroll-anim-container { 
    position: relative;
    width: 100%; 
}
.hero-sticky { position: sticky; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; z-index: 1; }
.hero-spacer { height: 20vh !important; }
.main-content { position: relative; z-index: 100; background-color: var(--color-black); }
.hero-viewport { 
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2vh;
    position: relative;
    overflow: hidden !important;
}
.section-intro { 
    position: absolute; 
    top: 50%; /* 🪄 La seule valeur à changer ! (Anciennement 40%) */
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%; 
    z-index: 10; 
    display: block; 
}
.text-block-hero { font-size: 2.2rem; line-height: 1.3; max-width: 900px; margin: 0 auto; text-align: center; }
.text-block-hero span { display: block !important; }
.text-block-hero .text-season { font-family: var(--font-season); font-size: 2.8rem; letter-spacing: -0.01em; margin: 5px 0; }
.section-hero-image { position: relative; z-index: 20; width: 100%; }
.hero-image-wrapper { display: flex; justify-content: center; align-items: flex-end; gap: 0; width: 100%; }
.hero-svg-lie { width: 10vw; max-width: 10vw; height: auto; display: block; margin-bottom: -0.5vw; flex-shrink: 0; }
.hero-svg-ens { width: 16.5vw; max-width: 16.5vw; height: auto; display: block; margin-bottom: -0.5vw; flex-shrink: 0; }
.hero-image-box { 
    width: 1.8vw; 
    height: 8.1vw; 
    margin: 0px 5px -5px 11px;
    position: relative; 
    --squeeze: 1; 
    transform-origin: center bottom;
    background-color: transparent !important; 
    overflow: hidden; 
}

#hero-l-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
}

.hero-center-video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    opacity: 0; 
    z-index: 1;
}

.hero-image-box.custom-cta-container { transform: scaleX(var(--squeeze)) translateZ(0); }
.hero-center-video { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

/* ==========================================================================
   HOMEPAGE SERVICES (3 BLOCS EXPERTISES)
   ========================================================================== */
/* On retire totalement le display: flex d'ici ! C'est lui qui écrasait tout */
.section-ecosystem { 
    display: block; 
}

.services-headline { 
    margin-bottom: 80px; 
    font-size: 2.2rem; 
    line-height: 1.3; 
}
.services-headline .text-season { 
    font-size: 3.5rem; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
    width: 100%;
}

.service-card {
    position: relative;
    display: block; 
    width: 100%;
    aspect-ratio: 1 / 1.1; /* Force la hauteur automatiquement selon la largeur */
    text-decoration: none;
    overflow: hidden;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}

.service-shape {
    position: absolute;
    top: 8%;    
    bottom: 8%; 
    left: 8%;   
    right: 8%;  
    z-index: 2;
    background-color: var(--color-black); 
    color: var(--color-cream);            
    display: flex;
    align-items: flex-end; 
    padding: 35px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.service-shape h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    line-height: 1.1;
    margin: 0;
}

/* MAGIE DU HOVER */
.service-card:hover .service-bg {
    transform: scale(1.05);
}
.service-card:hover .service-shape {
    background-color: var(--color-cream);
    color: var(--color-black);
}

/* Shape SVG via mask-image pour les blocs services */
.shape-services-mask {
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQwIDM4NDAiIHdpZHRoPSIzODQwIiBoZWlnaHQ9IjM4NDAiPgogIDxwYXRoIGQ9Ik00NTMuMDA1NSwzNTY3LjUwNzZjLTYzLjYyMTMsLTcyLjk2NzgsLTEwOS41MzM1LC0xNTYuNTkzOCwtMTM3LjczNjksLTI1MC43MTM2IC0yOC4yMDM0LC05NC4xMjAyLC00Mi4zMDQ3LC0yMjEuMzYyOCwtNDIuMzA0NywtMzgxLjM5OThWMjcwLjM1MDZoMzA3OC43ODR2MjYwOC40NzI5YzAsMTgxLjM1MzIsMjAuMDA0NiwzMjAuODkzOSw2MC4wMTM5LDQxOC40NTc2IDQwLjAwOTIsOTcuNzI3Niw5MS44MjQ0LDE4MC42OTc2LDE1NS40NDU3LDI0OC45MDk5djIxLjE1MjRINDUzLjAwNTV2MC4xNjM5WiIgZmlsbD0iIzAwMDAwMCIvPgo8L3N2Zz4=");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQwIDM4NDAiIHdpZHRoPSIzODQwIiBoZWlnaHQ9IjM4NDAiPgogIDxwYXRoIGQ9Ik00NTMuMDA1NSwzNTY3LjUwNzZjLTYzLjYyMTMsLTcyLjk2NzgsLTEwOS41MzM1LC0xNTYuNTkzOCwtMTM3LjczNjksLTI1MC43MTM2IC0yOC4yMDM0LC05NC4xMjAyLC00Mi4zMDQ3LC0yMjEuMzYyOCwtNDIuMzA0NywtMzgxLjM5OThWMjcwLjM1MDZoMzA3OC43ODR2MjYwOC40NzI5YzAsMTgxLjM1MzIsMjAuMDA0NiwzMjAuODkzOSw2MC4wMTM5LDQxOC40NTc2IDQwLjAwOTIsOTcuNzI3Niw5MS44MjQ0LDE4MC42OTc2LDE1NS40NDU3LDI0OC45MDk5djIxLjE1MjRINDUzLjAwNTV2MC4xNjM5WiIgZmlsbD0iIzAwMDAwMCIvPgo8L3N2Zz4=");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    /* CORRECTION : On pousse le texte pour éviter la marge transparente du SVG */
    padding-bottom: 12% !important; 
    padding-left: 14% !important;
}

.hp-txt {
    font-size: 3.5rem;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}




/* ==========================================================================
   PAGE WORKS
   ========================================================================== */
.work-intro { padding: 200px 0 100px; }
.work-intro-title { font-size: 2.2rem; line-height: 1.3; max-width: 900px; margin: 0 auto; color: var(--color-cream); font-weight: normal; }
.work-intro-title .text-season { display: block; font-size: 2.8rem; margin-top: 10px; }
.work-filters { margin-bottom: 60px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 249, 229, 0.2); }
.filter-toggle-btn { background: none; border: none; color: var(--color-cream); font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 0; outline: none; }
.filter-toggle-btn .icon { font-family: sans-serif; font-weight: normal; font-size: 1.8rem; }
.filter-summary { font-family: var(--font-light); font-size: 1.1rem; opacity: 0.6; transition: opacity 0.3s ease; }
.filter-expandable { height: 0; overflow: hidden; opacity: 0; transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; }
.filter-expandable.active { opacity: 1; }
.filter-grid { display: flex; gap: 150px; padding-top: 50px; padding-bottom: 30px; }
.filter-title { font-size: 1.2rem; margin-bottom: 30px; font-family: var(--font-season-sans); }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 15px; }
.filter-list a { color: var(--color-cream); opacity: 0.6; text-decoration: none; transition: all 0.3s ease; font-size: 1rem; font-family: var(--font-light); }
.filter-list a:hover, .filter-list a.is-active { opacity: 1; }
.filter-list a.is-active { border-bottom: 1px solid var(--color-cream); padding-bottom: 2px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 150px; max-width: 1100px; margin: 0 auto; }
.work-card { 
    position: relative; 
    display: block; 
    background-color: #1a1a1a; 
    text-decoration: none; 
    color: var(--color-cream); 
    overflow: hidden; 
    aspect-ratio: 4 / 3; /* <- Ajoute cette ligne pour aligner parfaitement toutes les cartes ! */
}
.work-card.hidden { display: none !important; }
.work-card-bg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1); }
.work-card:hover .work-card-bg { transform: scale(1.05); }
.work-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); pointer-events: none; }
.work-card-content { position: absolute; bottom: 35px; left: 35px; right: 35px; z-index: 10; display: flex; flex-direction: column; align-items: flex-start; }
.work-badge { border: 1px solid rgba(255, 249, 229, 0.4); border-radius: 30px; padding: 5px 15px; font-size: 0.8rem; font-family: var(--font-main); text-transform: uppercase; margin-bottom: 15px; backdrop-filter: blur(5px); margin-bottom: 0 !important; }
.work-client { 
    font-size: 2.2rem;
    margin-bottom: 5px; 
    font-family: var(--font-season);
    line-height: 1.1; 
    font-weight: normal;
}
.work-project { 
    font-size: 2rem; 
    font-weight: normal; 
    font-family: var(--font-light);
    line-height: 1.1; 
}

.badges-wrapper {
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne si l'écran est tout petit */
    gap: 10px;       /* L'espace parfait entre les tags */
    margin-bottom: 15px; 
}

.text-blend-difference {
    color: #ffffff !important;
    mix-blend-mode: difference;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   AJUSTEMENTS PAGES WORK
   ========================================================================== */

/* 1. Retrait des bords arrondis partout sur les case studies */
.case-media-full img, 
.case-media-split img, 
.case-carousel-track img, 
.video-container {
    border-radius: 0 !important;
}

/* 3. Masque Spotlight (Plus grand, plus doux, TOUJOURS visible) */
.case-hero-bg.sharp {
    /* Cercle de 450px au lieu de 250px, fondu très progressif de 30% à 100% */
    -webkit-mask-image: radial-gradient(circle 450px at var(--x, 50%) var(--y, 50%), black 0%, black 30%, transparent 100%); 
    mask-image: radial-gradient(circle 450px at var(--x, 50%) var(--y, 50%), black 0%, black 30%, transparent 100%); 
    opacity: 1 !important; /* Reste toujours visible (fini le "opacity: 0") */
}

/* 4. Style de la Lightbox (Agrandissement image carrousel) */
.case-carousel-track img {
    cursor: zoom-in; /* Curseur petite loupe */
}
.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.9); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    cursor: zoom-out;
}
.lightbox-overlay.active { 
    opacity: 1; pointer-events: auto; 
}
.lightbox-img { 
    max-width: 90%; max-height: 90vh; object-fit: contain; 
    transform: scale(0.95); transition: transform 0.3s ease; 
}
.lightbox-overlay.active .lightbox-img { 
    transform: scale(1); 
}


.case-carousel-wrapper { 
    overflow-x: hidden; 
    scrollbar-width: none; /* Firefox */
    cursor: grab; 
}
.case-carousel-wrapper::-webkit-scrollbar { display: none; /* Chrome/Safari */ }
.case-carousel-wrapper:active { cursor: grabbing; }
.case-carousel-track img { cursor: zoom-in; user-select: none; }

/* 2. Style des flèches Précédent / Suivant */
.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 50%; cursor: pointer; z-index: 10001; padding: 15px; 
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(5px);
}
.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3); transform: translateY(-50%) scale(1.1);
}
.lightbox-prev:focus, .lightbox-next:focus,
.lightbox-prev:focus-visible, .lightbox-next:focus-visible {
    background: rgba(255, 255, 255, 0.3); transform: translateY(-50%) scale(1.1);
    outline: 2px solid rgba(255, 255, 255, 0.8); outline-offset: 2px;
}
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }


/* ==========================================================================
   PAGE ABOUT
   ========================================================================== */
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-title { font-size: 4.5rem; line-height: 1; margin-bottom: 30px; }
.about-desc { font-size: 1.8rem; line-height: 1.4; opacity: 0.9; }
.piliers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px 120px; max-width: 1200px; margin: 0 auto; }
.pilier-item { text-align: center; }
.pilier-item h2 { font-size: 2.2rem; margin-bottom: 25px; }
.pilier-item p { font-size: 1.8rem; line-height: 1.5; opacity: 0.8; font-family: var(--font-light); }
.life-block { max-width: 900px; margin: 0 auto; }
.life-block h2 { font-size: 2.5rem; margin-bottom: 15px; }
.life-block p { font-size: 1.8rem; line-height: 1.5; opacity: 0.8; font-family: var(--font-light); }

.expanding-grid-parent { 
    display: flex !important; 
    flex-direction: row !important; 
    align-items: stretch !important; 
    gap: 20px !important; 
    height: 420px !important; 
    width: 100% !important; 
    overflow: hidden !important; 
    
    /* 🪄 VARIABLES MAGIQUES : Modifie uniquement cette valeur pour changer TOUT le coin ! */
    --corner-size: 200px; 
    
    /* Calculs automatiques (ne pas toucher) */
    --corner-overlap: calc(var(--corner-size) - 1px);
    --right-offset: calc(var(--corner-size) * 0.1308); /* 0.1308 = La proportion exacte de ton code SVG */
}

.expanding-grid-parent .expanding-card { 
    flex: 1 !important; 
    min-width: 15% !important; /* Laisse rétrécir les cartes voisines sans les casser */
    position: relative !important; 
    height: 100% !important; 
    cursor: pointer !important; 
    color: var(--color-cream); 
    transition: flex 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) !important; 
    
    /* 🛡️ SUPPRESSION DU MASQUE SVG DÉFORMABLE UNIQUEMENT SUR CES CARTES */
    background-color: transparent !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* 🛡️ 1. Corps principal de la carte (S'étire mais garde l'arrondi gauche fixe) */
.expanding-grid-parent .expanding-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: calc(var(--corner-size) * 0.1275); /* 🪄 Ajustement micrométrique basé sur le nouveau 99.63px du viewBox */
    bottom: 0;
    background-color: var(--color-black);
    
    /* 🪄 MASQUE COMPOSITE */
    -webkit-mask-image:
        linear-gradient(black, black), 
        linear-gradient(black, black), 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M100,100l-89.07-.65h0c-3.86-4.42-6.65-9.5-8.36-15.21C.86,78.43,0,70.7,0,60.98V0s100,0,100,0' fill='black'/%3E%3C/svg%3E");
    mask-image:
        linear-gradient(black, black),
        linear-gradient(black, black),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M100,100l-89.07-.65h0c-3.86-4.42-6.65-9.5-8.36-15.21C.86,78.43,0,70.7,0,60.98V0s100,0,100,0' fill='black'/%3E%3C/svg%3E");
    
    -webkit-mask-size:
        100% calc(100% - var(--corner-overlap)),
        calc(100% - var(--corner-overlap)) var(--corner-size),
        var(--corner-size) var(--corner-size);
    mask-size:
        100% calc(100% - var(--corner-overlap)),
        calc(100% - var(--corner-overlap)) var(--corner-size),
        var(--corner-size) var(--corner-size);
        
    -webkit-mask-position: top left, bottom right, bottom left;
    mask-position: top left, bottom right, bottom left;
    
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: 1;
}

/* 🛡️ 2. La virgule droite indéformable (Swoosh Lielens) */
.expanding-grid-parent .expanding-card::after {
    content: '';
    position: absolute;
    bottom: 0; 
    right: 0;
    width: var(--corner-size); 
    height: var(--corner-size); 
    background-color: var(--color-black);
    
    /* 🪄 INJECTION DE TON NOUVEAU SVG NETTOYÉ */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 99.63 100'%3E%3Cpath d='M0,0h86.92v57.55c0,11.01,1.21,19.48,3.64,25.41,2.43,5.93,5.21,10.9,9.07,15.04v2.01H0' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 99.63 100'%3E%3Cpath d='M0,0h86.92v57.55c0,11.01,1.21,19.48,3.64,25.41,2.43,5.93,5.21,10.9,9.07,15.04v2.01H0' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    z-index: 1;
}

.expanding-grid-parent:hover .expanding-card { flex: 0.8 !important; }
.expanding-grid-parent .expanding-card:hover { flex: 2.2 !important; }

/* 📝 GESTION DU TEXTE (Z-index 2 pour passer au-dessus des nouveaux fonds) */
.expanding-grid-parent .expanding-card .elementor-widget-heading,
.expanding-grid-parent .expanding-card .elementor-widget-text-editor {
    z-index: 2 !important; 
}

.expanding-grid-parent .expanding-card .elementor-widget-heading { 
    position: absolute; 
    top: 40px !important; 
    left: 30px !important; 
    font-size: 2.2rem !important; 
    line-height: 1.1;
    margin: 0; 
    transition: all 0.4s ease; 
    width: max-content !important; 
    max-width: 260px !important; /* 🛡️ Force le texte long à tenir dans sa zone */
}

.expanding-grid-parent .expanding-card .elementor-widget-text-editor { 
    position: absolute !important; 
    top: 170px !important; /* 🛡️ On descend la liste loin sous le titre ! */
    left: 30px !important; 
    width: 260px !important; 
    max-width: none !important;
    opacity: 0 !important; 
    visibility: hidden !important; 
    transition: all 0.4s ease !important; 
    font-size: 1.2rem !important; 
    line-height: 1.5 !important; 
    text-align: left; 
}

.expanding-grid-parent .expanding-card:hover .elementor-widget-text-editor { 
    opacity: 1 !important; 
    visibility: visible !important; 
}

/* 🪄 LE RETOUR DU CARROUSEL (Version XXL) */
.about-clients { padding: 100px 0; background-color: var(--color-black); overflow: hidden; }
.clients-title { font-size: 4.5rem; text-align: left; margin-bottom: 60px; }

.marquee-wrapper { width: 100%; overflow: hidden; display: flex; }
.marquee-content { display: flex; width: max-content; animation: scrollMarquee 35s linear infinite; } /* Ralenti à 35s */
.marquee-group { display: flex; align-items: center; justify-content: space-around; gap: 20px; min-width: 100vw; } /* Plus d'espace entre les logos */

.marquee-group img { 
    height: 200px;
    max-width: 250px;
    object-fit: contain;
}

@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


.about-intro-section { padding: 100px 0; }
.pillars-section     { padding: 100px 0; }
.pillars-alt-section { padding: 150px 0; }
.what-we-do-section  { padding: 100px 0; }

/* 1. Configuration essentielle du conteneur parent */
#manifesto-video-wrap {
    position: relative; /* INDISPENSABLE : définit l'origine des coordonnées de la souris */
    cursor: none !important; /* Masque le curseur classique de l'OS */
    display: block;
    overflow: hidden;
}

/* Forçage sur les écrans tactiles (tablettes/mobiles) pour retrouver un comportement standard */
@media (hover: none) and (pointer: coarse) {
    #manifesto-video-wrap {
        cursor: default !important;
    }
}

/* Neutralisation de la balise vidéo pour libérer les événements de clics et de souris */
#manifesto-video-wrap video {
    pointer-events: none; /* Les mouvements et les clics traversent directement vers le conteneur parent */
    cursor: none !important;
}

/* Préservation stricte de la cliquabilité du bouton Mute */
#manifesto-video-wrap .mute-toggle-btn {
    pointer-events: auto; /* Rétablit l'interaction unique sur le bouton */
    cursor: pointer;
    z-index: 20;
}

/* Bulle Play personnalisée (Suivi de souris fluide sur Desktop) */
.video-mouse-cursor {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background-color: var(--color-cream, #FFF9E5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* INDISPENSABLE : la souris passe au travers sans bloquer l'événement */
    z-index: 15;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    /* CORRECTION CRITIQUE : on ne met JAMAIS de transition sur top et left pour un suivi instantané */
    transition: opacity 0.3s ease, transform 0.2s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-mouse-cursor svg {
    width: 32px;
    height: 32px;
    fill: var(--color-black, #000);
    margin-left: 4px; /* Rendu centré optimal de la flèche de lecture */
}

/* Affichage de la bulle dynamique au survol */
@media (hover: hover) and (pointer: fine) {
    #manifesto-video-wrap:hover .video-mouse-cursor {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    /* Sur ordinateur avec souris, on masque l'indicateur fixe de secours */
    #manifesto-video-wrap .video-play-indicator {
        display: none !important;
    }
}

/* Masquage de la bulle pendant la lecture active */
#manifesto-video-wrap.is-playing .video-mouse-cursor {
    opacity: 0 !important;
    transform: translate(-50%, -50%) scale(0.5) !important;
}

/* Indicateur Play central fixe (Secours universel pour les affichages tactiles sans survol) */
.video-play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--color-cream, #FFF9E5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Ne bloque pas les clics sur la vidéo */
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-play-indicator svg {
    width: 35px;
    height: 35px;
    fill: var(--color-black, #000);
    margin-left: 4px;
}

/* Disparition de l'indicateur fixe central en mode lecture */
#manifesto-video-wrap.is-playing .video-play-indicator {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* 2. Forçage textuel lisible pour la section d'introduction (Fond beige) */
.about-intro-section .about-title,
.about-intro-section .about-desc {
    color: var(--color-black, #000) !important;
}

/* 3. Piliers 3 & 4 : Forçage du texte en beige sur fond noir */
.pillars-alt-section h2,
.pillars-alt-section p {
    color: var(--color-cream, #FFF9E5) !important;
}

.title-wwd {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subtitle-wwd {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   WHITE PAPER (IMAGE RÉDUITE ET BOUTON ALIGNÉ EN BAS)
   ========================================================================== */
.wp-page { min-height: 100vh; overflow: hidden; background-color: var(--color-black); }

/* 1. La grille centre les deux colonnes verticalement sur l'écran */
.wp-grid { display: grid; grid-template-columns: 5fr 7fr; height: 100vh; align-items: center; }

/* --- CÔTÉ GAUCHE (Texte) --- */
.wp-content-side { 
    padding: 0 10% 0 12%; 
    display: flex; 
    justify-content: flex-start; 
}

/* 🪄 L'astuce : Le conteneur du texte a la même hauteur que l'image à droite */
.wp-content-inner { 
    max-width: 650px; 
    height: 65vh; /* Hauteur partagée */
    max-height: 650px; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}

.wp-title { 
    font-family: var(--font-season);
    font-size: clamp(3.5rem, 5vw, 5.5rem); 
    line-height: 1.1; 
    margin-bottom: 30px; 
    color: var(--color-cream);
}

.wp-intro { 
    font-family: var(--font-main);
    font-size: 1.1rem; 
    line-height: 1.6; 
    opacity: 0.85; 
    margin-bottom: 0; /* On retire la marge ici... */
    font-weight: 300;
}

/* 🪄 Le bouton est poussé tout en bas du conteneur par la magie du margin-top ! */
.wp-submit { 
    margin-top: auto; /* ... Pour que ça pousse automatiquement vers le bas */
    display: inline-flex; 
    gap: 30px;
    background: var(--color-cream); 
    color: var(--color-black); 
    border: none; 
    padding: 20px 35px; 
    align-items: center; 
    font-size: 1.4rem; 
    font-family: var(--font-season-sans);
    text-decoration: none;
    cursor: pointer; 
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s; 
}
.wp-submit:hover { transform: scale(1.02); background: #fff; }
.wp-submit .arrow { font-size: 1.6rem; transition: transform 0.4s ease; }
.wp-submit:hover .arrow { transform: translate(5px, 5px); }


/* --- CÔTÉ DROIT (Visuel) --- */
.wp-visual-side { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

/* 🪄 L'image est réduite et on force sa forme carrée */
.wp-image-wrapper { 
    height: 65vh; /* Hauteur partagée */
    max-height: 650px; 
    aspect-ratio: 1 / 1; /* Garde la forme carrée pour la découpe SVG */
    width: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* POPUP EXCLUSIF WHITE PAPER */
.wp-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000; /* Passe au-dessus du menu */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wp-popup-wrapper {
    background: #0d0d0d;
    border: 1px solid rgba(255, 249, 229, 0.1);
    padding: 60px 50px;
    max-width: 550px;
    width: 100%;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.wp-popup-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: var(--color-cream);
    font-size: 2.2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.wp-popup-close:hover { opacity: 1; }

.wp-popup-step { width: 100%; display: flex; flex-direction: column; }
.wp-popup-title { font-size: 2.4rem; color: var(--color-cream); margin-bottom: 15px; }
.wp-popup-title.italic-gold { color: var(--color-gold); font-style: italic; }
.wp-popup-subtitle { font-size: 1rem; color: rgba(255, 249, 229, 0.6); margin-bottom: 40px; line-height: 1.5; }

/* Boutons du Popup avec alignement sur tes classes de courbes */
.wp-popup-submit, .wp-download-btn {
    display: inline-flex;
    gap: 20px;
    background: var(--color-cream);
    color: var(--color-black);
    border: none;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-family: var(--font-season-sans);
    cursor: pointer;
    margin-top: 25px;
    text-decoration: none;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s;
}
.wp-popup-submit:hover, .wp-download-btn:hover { transform: scale(1.02); background: #fff; }
.wp-success-content { display: flex; flex-direction: column; align-items: center; }


/* --- CHAMPS DE FORMULAIRE ÉLÉGANTS --- */
.wp-popup-form {
    margin-top: 20px;
}

.wp-form-group { 
    margin-bottom: 25px; 
}

.wp-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 249, 229, 0.3); /* Ligne beige semi-transparente */
    padding: 12px 0;
    color: var(--color-cream);
    font-family: var(--font-main);
    font-size: 1.2rem;
    transition: border-color 0.3s ease;
}

.wp-input:focus { 
    outline: none; 
    border-bottom-color: var(--color-cream); /* La ligne devient 100% visible au clic */
}

.wp-input::placeholder { 
    color: rgba(255, 249, 229, 0.4); /* Texte fantôme discret */
    font-weight: 300;
}

/* Retire l'autofill jaune/blanc moche de Chrome */
.wp-input:-webkit-autofill,
.wp-input:-webkit-autofill:hover, 
.wp-input:-webkit-autofill:focus, 
.wp-input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #0d0d0d inset !important;
    -webkit-text-fill-color: var(--color-cream) !important;
    transition: background-color 5000s ease-in-out 0s;
}


/* ==========================================================================
   FLOATING CTA & FOOTER
   ========================================================================== */
.floating-cta { 
    position: fixed; 
    bottom: 40px; 
    right: 40px; 
    background-color: var(--color-cream); 
    color: var(--color-black); 
    font-family: var(--font-season-sans); 
    font-size: 1.7rem; 
    height: 80px; 
    
    /* 🛠️ LES DEUX LIGNES MODIFIÉES SONT ICI : */
    width: auto; 
    padding: 0 35px; 
    
    z-index: 9999; 
    text-decoration: none; 
    text-transform: lowercase; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    transform-origin: bottom right; 
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease; 
    overflow: hidden; 
}

.floating-cta:hover { transform: scale(1.08); background: #fff; } 
.floating-cta.theme-light { background-color: var(--color-black); color: var(--color-cream); }
.floating-cta.theme-light:hover { background-color: #222; }

/* Curseur Typewriter pour le CTA Let's Talk */
.cta-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background-color: currentColor;
    margin-left: 3px;
    vertical-align: middle;
    animation: cta-cursor-blink 0.8s infinite;
}

@keyframes cta-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.lottie-container { width: 100%; margin: 0 auto 80px; line-height: 0; font-size: 0; }
.lottie-container svg { display: block; width: 100%; height: auto; vertical-align: bottom; }
.site-footer { 
    padding-top: 100px; 
    padding-bottom: 30px; 
    background-color: var(--color-black); 
    color: var(--color-cream); 
    /* 👇 AJOUT CRITIQUE : Empêche le menu fixe de transparaître en fin de page */
    position: relative; 
    z-index: 100; 
}

/* 🪄 LAYOUT FOOTER (3 COLONNES) */
.footer-columns { 
    display: grid; 
    grid-template-columns: auto auto auto 1fr; 
    gap: 80px;
    padding: 60px 0 60px; 
    border-bottom: 1px solid rgba(255, 249, 229, 0.4); 
}

.footer-col { 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    font-family: var(--font-season);
    font-size: 1.4rem;
    color: var(--color-cream); 
}

.footer-list { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 12px;
}
.footer-list li { margin: 0; line-height: 1.4; }
.footer-list a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
.footer-list a:hover { opacity: 0.7; }

/* Alignements spécifiques */
.col-email { 
    justify-content: flex-end; /* Pousse le mail tout en bas de sa colonne pour s'aligner sur la 3ème ligne */
} 
.col-partner { 
    justify-content: flex-end; 
    align-items: flex-end; /* Pousse le bloc partenaire global en bas à droite de l'écran */
}

/* Wrapper pour aligner le texte "Our partner" avec la gauche du logo */
.partner-wrapper { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; /* Magie : aligne le texte et le logo sur leur gauche interne */
    gap: 8px; 
}
.partner-wrapper span { opacity: 0.9; line-height: 1.4; }
.partner-logo-link { display: block; transition: opacity 0.3s; }
.partner-logo-link:hover { opacity: 0.7; }

/* 🪄 COLORATION DU SVG EXTERNE EN BEIGE (CSS MASK) */
.partner-logo-mask {
    width: 140px; 
    height: 40px; 
    background-color: var(--color-cream); 
    -webkit-mask-image: url("/images/logo_register.svg"); 
    mask-image: url("/images/logo_register.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: right center; 
    mask-position: right center;
}

/* Alignements spécifiques (Baseline parfaite) */
.col-info { justify-content: space-between; gap: 30px; }
.col-social { justify-content: flex-end; } /* Pousse les liens en bas */
.col-partner { justify-content: flex-end; align-items: flex-end; text-align: right; } /* Pousse en bas à droite */

/* Style du bloc partenaire */
.col-partner span { margin-bottom: 5px; opacity: 0.9; }
.partner-logo-link { display: block; transition: opacity 0.3s; }
.partner-logo-link:hover { opacity: 0.7; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 5px; }
.footer-links a, .footer-email { color: inherit; text-decoration: none; transition: opacity 0.3s; }
.footer-links a:hover, .footer-email:hover { opacity: 0.7; }

.footer-bottom { display: flex; justify-content: center; gap: 40px; padding-top: 30px; font-size: 0.95rem; font-family: var(--font-main); opacity: 0.8; }
.footer-bottom a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
.footer-bottom a:hover { opacity: 0.5; }


#lottie-footer {
    width: 100%;
    max-height: none; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    /* 1. Internal Padding Buffer */
    /* Pushes the strict boundary away from the vector canvas safe limits */
    padding-top: 2vw;
    padding-bottom: 2vw;
    
    /* 2. Controlled External Spacing */
    /* Dynamic spacing scaling smoothly between standard laptops and Ultra-Wide displays */
    margin-top: clamp(-20px, -1vw, 10px);
    margin-bottom: clamp(20px, 3vw, 80px);
    
    /* 3. Outer Edge Trimming */
    /* Safely shaves the external canvas edge without triggering internal layer overlaps */
    -webkit-clip-path: inset(2px 0px 2px 0px);
    clip-path: inset(2px 0px 2px 0px);
}

#lottie-footer svg {
    width: 100% !important;
    height: auto !important;
    display: block;
    /* Explicitly clears default browser canvas offsets */
    margin: 0 auto; 
}

/* ==========================================================================
   PAGE CONTACT (REFONTE DESIGN)
   ========================================================================== */
.contact-hero { 
    padding: 200px 0 100px; 
    text-align: left; 
}
.contact-title { 
    font-size: clamp(4rem, 8vw, 6rem); 
    margin-bottom: 30px;
}
.contact-subtitle { 
    font-size: clamp(1.2rem, 2vw, 1.5rem); 
    max-width: 600px; 
    line-height: 1.4; 
}

.contact-details {
    padding: 120px 0 180px 0;
}

.contact-top-actions { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    text-align: right; 
    gap: 50px; 
    margin-bottom: 120px; 
}
.action-block h2 { 
    font-size: clamp(2rem, 4vw, 2.5rem); 
    margin-bottom: 8px; 
}
.action-block p { 
    font-size: clamp(1.1rem, 2vw, 1.3rem); 
    margin-bottom: 8px; 
}
.action-link { 
    font-size: 1.2rem; 
    text-decoration: underline; 
    text-underline-offset: 4px; 
    color: inherit;
    transition: opacity 0.3s ease; 
}
.action-link:hover { 
    opacity: 0.6; 
}

/* La grille des 3 portraits */
.contact-team-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 50px; 
    text-align: left; 
    margin-bottom: 0px;
}
.team-member { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}
.team-img { 
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    object-fit: cover; 
    filter: grayscale(100%); /* Force le portrait en noir et blanc automatiquement */
    margin-bottom: 25px; 
}
.team-role { 
    font-size: clamp(1.8rem, 3vw, 2.2rem); 
    margin-bottom: 10px; 
    line-height: 1.1; 
}
.team-desc { 
    font-size: 1.15rem; 
    line-height: 1.4; 
    margin-bottom: 15px; 
    min-height: 3em; 
}
.team-email { 
    font-size: 1.15rem; 
    text-decoration: underline; 
    text-underline-offset: 4px; 
    color: inherit; 
    transition: opacity 0.3s ease; 
}
.team-email:hover { 
    opacity: 0.6; 
}

.full-width-img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   POPUP LET'S TALK (RÉPARATION STRUCTURE & BOUTON)
   ========================================================================== */
/* Cache le popup par défaut et le place au-dessus de tout */
#contact-popup { 
    display: none; 
    opacity: 0; 
    position: fixed; 
    inset: 0; 
    z-index: 10000; 
}

/* Restaure le beau design du bouton Close (sans fond blanc) */
.popup-close-btn { 
    background: none; 
    border: none; 
    cursor: pointer; 
    position: absolute; 
    top: 40px; 
    right: 40px; 
    outline: none; 
    display: flex; 
    align-items: center; 
    gap: 15px;
    z-index: 10001;
}

.popup-close-text { 
    color: var(--color-cream); 
    font-size: 1.2rem; 
    font-family: var(--font-light);
}

/* Centrage vertical parfait du formulaire */
.popup-container-inner { 
    width: 100%; 
    max-width: 1200px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 80vh; 
}

/* Bouton de fermeture de l'écran de succès */
#close-success-popup { 
    margin-top: 40px; 
    display: inline-flex; 
    width: auto; 
    max-width: 300px; 
    border: none; 
}




/* ==========================================================================
   CONTACT EXPERIENCE
   ========================================================================== */
.contact-experience { position: fixed; inset: 0; z-index: 9999; background-color: #000; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 5%; }
.contact-experience ~ .site-footer, .contact-experience ~ .floating-cta { display: none !important; }
.contact-close { position: absolute; top: 40px; right: 40px; display: flex; align-items: center; gap: 15px; text-decoration: none; color: var(--color-cream); z-index: 10001; }
.close-icon { width: 30px; height: 30px; position: relative; }
.close-icon .line { position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: var(--color-cream); transition: transform 0.3s; }
.close-icon .line:nth-child(1) { transform: rotate(45deg); }
.close-icon .line:nth-child(2) { transform: rotate(-45deg); }
.contact-container { width: 100%; max-width: 1200px; position: relative; display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.contact-step { display: none; flex-direction: column; align-items: center; width: 100%; position: absolute; }
.contact-step.active { display: flex; }
.step-title { font-size: clamp(2.5rem, 4vw, 4.5rem); text-align: center; margin-bottom: 6vh; line-height: 1.1; color: var(--color-cream); }
.step-title span { color: var(--color-gold); font-style: italic; }
.subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; width: 100%; }
.subject-card { cursor: pointer; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.subject-shape { position: relative; width: 100%; aspect-ratio: 0.65 / 1; display: flex; align-items: center; justify-content: center; }
.shape-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    
    /* 1. On définit la couleur ici, ultra facile à changer plus tard */
    background-color: var(--color-cream);
    
    /* 2. L'emporte pièce (Masque SVG) qui donne la forme */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 712 1162' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M11.7132 1162C7.58627 1157.3 4.61246 1151.9 2.76141 1145.84C0.940713 1139.79 2.65883e-06 1131.59 3.56268e-06 1121.25L2.76139 -6.20036e-05L344 -3.21716e-05L698.011 -1.22297e-06L698.011 1117.46C698.011 1129.16 699.316 1138.14 701.895 1144.44C704.505 1150.74 707.873 1156.1 712 1160.5L712 1161.86L11.7132 1162Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 712 1162' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M11.7132 1162C7.58627 1157.3 4.61246 1151.9 2.76141 1145.84C0.940713 1139.79 2.65883e-06 1131.59 3.56268e-06 1121.25L2.76139 -6.20036e-05L344 -3.21716e-05L698.011 -1.22297e-06L698.011 1117.46C698.011 1129.16 699.316 1138.14 701.895 1144.44C704.505 1150.74 707.873 1156.1 712 1160.5L712 1161.86L11.7132 1162Z' fill='black'/%3E%3C/svg%3E");
    
    /* 3. On force le masque à prendre 100% de l'espace */
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.subject-content { position: relative; z-index: 2; text-align: center; color: #000; }
.subject-icon { font-size: 3.5rem; margin-bottom: 15px; }
.form-sentence { font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1.5; color: var(--color-cream); }
.form-sentence input { background: transparent; border: none; border-bottom: 1px solid var(--color-gold); color: var(--color-gold); font-family: var(--font-season); font-size: inherit; outline: none; min-width: 150px; }
.form-sentence input:valid {
    border-bottom-color: var(--color-cream);
    color: var(--color-cream);
}
.contact-experience .wp-submit { width: 100%; background: var(--color-cream); color: #000; border: none; padding: 25px 35px; display: flex; justify-content: space-between; align-items: center; font-size: 1.5rem; cursor: pointer; text-decoration: none; font-family: var(--font-season-sans); margin-top: 50px; }
.success-content h2 { font-size: 4rem; margin-bottom: 20px; font-family: var(--font-season); }
.success-content p { font-size: 1.5rem; opacity: 0.7; font-family: var(--font-light); font-weight: 300; }

/* ==========================================================================
   CASE STUDIES - DESIGN SYSTEM
   ========================================================================== */
.case-hero { position: relative; width: 100vw; height: 100vh; overflow: hidden; display: flex; align-items: flex-end; justify-content: flex-start; text-align: left; color: var(--color-cream); }
.case-hero-bg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; }
.case-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: -webkit-mask-image 0.1s ease-out, mask-image 0.1s ease-out; }

/* L'image de base floue */
.case-hero-bg.blurred { filter: blur(12px); }

/* 3. Masque Spotlight (Grand, progressif, invisible par défaut) */
.case-hero-bg.sharp {
    -webkit-mask-image: radial-gradient(circle 450px at var(--x, 50%) var(--y, 50%), black 0%, black 30%, transparent 100%); 
    mask-image: radial-gradient(circle 450px at var(--x, 50%) var(--y, 50%), black 0%, black 30%, transparent 100%); 
    
    /* Disparaît quand on ne survole pas (Flou total) */
    opacity: 0 !important; 
    transition: opacity 0.6s ease;
}

/* Le rond net n'apparaît QUE quand la souris est sur l'image */
.case-hero:hover .case-hero-bg.sharp {
    opacity: 1 !important;
}

.case-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); z-index: 2; pointer-events: none; }
.case-hero-content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; padding: 0 5%; margin-bottom: 80px; pointer-events: none; }
.case-hero-badge { border: 1px solid rgba(255, 249, 229, 0.6); border-radius: 30px; padding: 8px 20px; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 0px; }
.case-hero-title { font-family: var(--font-season); font-weight: 500; font-size: clamp(4rem, 8vw, 8rem); line-height: 1; margin: 0 0 10px 0; }
.case-hero-subtitle { font-family: var(--font-season-sans); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); color: var(--color-cream); margin: 0;}

.case-intro { padding: 100px 5%; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.case-intro-title { font-family: var(--font-season); font-weight: 500; font-size: 3.5rem; line-height: 1.1; }
.case-intro-text { font-size: 1.8rem; line-height: 1.4; opacity: 0.8; font-family: var(--font-light); font-weight: 300; }

.case-media-full { width: 100%; padding: 50px 5%; margin-bottom: 50px; }
.case-media-full img { width: 100%; height: auto; border-radius: 10px; display: block; object-fit: cover; }

.bg-split-black-cream { background: linear-gradient(to bottom, var(--color-black) 50%, var(--color-cream) 50%); }
.bg-split-cream-black { background: linear-gradient(to bottom, var(--color-cream) 50%, var(--color-black) 50%); }

.case-media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 0 5%; align-items: center; }
.case-media-split img { width: 100%; border-radius: 10px; display: block; object-fit: cover;}
.case-media-split-text { font-size: 1.8rem; line-height: 1.5; opacity: 0.8; font-family: var(--font-light); font-weight: 300; }

.case-carousel-wrapper { width: 100%; overflow: hidden; padding: 60px 0; }
.case-carousel-track { display: flex; width: max-content; animation: scrollCaseCarousel 25s linear infinite; gap: 30px; padding-right: 30px; }
.case-carousel-track img { height: 500px; width: auto; object-fit: cover; border-radius: 10px; }
@keyframes scrollCaseCarousel { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.case-conclusion { padding: 100px 5%; max-width: 1200px; margin: 0 auto; text-align: center; font-size: 2rem; line-height: 1.4; font-family: var(--font-light); font-weight: 300; color: var(--color-cream); }
.case-related { padding: 100px 5%; }
.case-related-title { font-size: 2.5rem; margin-bottom: 50px; text-align: center; font-family: var(--font-season); font-weight: 500; color: var(--color-cream); }
.case-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1400px; margin: 0 auto; }

.case-hero-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

/* ==========================================================================
   VIDEO MUTE TOGGLE (CASE STUDIES)
   ========================================================================== */
.video-container {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 10px; /* S'assure que le bouton respecte le bord de la vidéo */
    overflow: hidden;
}

.mute-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0; 
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Bordure légèrement plus fine pour l'élégance */
    padding: 0;
    backdrop-filter: blur(4px); /* Petit effet glassmorphism premium */
}

.mute-toggle-btn svg {
    fill: #ffffff;
    width: 20px;
    height: 20px;
    display: block;
}

/* Apparition au survol de la vidéo */
.video-container:hover .mute-toggle-btn {
    opacity: 1;
}

/* Grossissement au survol du bouton */
.mute-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Apparition au survol de la vidéo */
.video-container:hover .mute-toggle-btn {
    opacity: 1;
}

/* EXCEPTION : Bouton toujours visible (ex: vidéo Manifesto) */
.video-container.manifesto-video .mute-toggle-btn {
    opacity: 1;
}

/* ==========================================================================
   CLIP PATH GLOBAL
   ========================================================================== */
.custom-cta-container { 
    -webkit-clip-path: polygon(95.362% 0%,95.39% 58.02%,95.39% 58.02%,95.395% 59.633%,95.408% 61.232%,95.43% 62.821%,95.46% 64.402%,95.5% 65.976%,95.548% 67.546%,95.606% 69.116%,95.672% 70.686%,95.748% 72.26%,95.834% 73.839%,95.834% 73.839%,95.922% 75.253%,96.023% 76.645%,96.138% 78.015%,96.266% 79.368%,96.407% 80.704%,96.563% 82.026%,96.732% 83.335%,96.916% 84.634%,97.115% 85.925%,97.328% 87.21%,97.328% 87.21%,97.547% 88.455%,97.774% 89.683%,98.01% 90.891%,98.257% 92.076%,98.514% 93.233%,98.784% 94.359%,99.066% 95.451%,99.362% 96.505%,99.673% 97.516%,100% 98.482%,100% 100.002%,3.801% 100.002%,3.801% 100.002%,3.361% 98.335%,2.947% 96.626%,2.559% 94.874%,2.198% 93.078%,1.866% 91.234%,1.565% 89.342%,1.294% 87.4%,1.055% 85.405%,0.85% 83.357%,0.679% 81.254%,0.679% 81.254%,0.6% 79.911%,0.52% 78.573%,0.441% 77.238%,0.365% 75.903%,0.295% 74.565%,0.233% 73.223%,0.18% 71.872%,0.14% 70.511%,0.114% 69.138%,0.104% 67.748%,0.072% 0%,95.362% 0%);
    clip-path: polygon(95.362% 0%,95.39% 58.02%,95.39% 58.02%,95.395% 59.633%,95.408% 61.232%,95.43% 62.821%,95.46% 64.402%,95.5% 65.976%,95.548% 67.546%,95.606% 69.116%,95.672% 70.686%,95.748% 72.26%,95.834% 73.839%,95.834% 73.839%,95.922% 75.253%,96.023% 76.645%,96.138% 78.015%,96.266% 79.368%,96.407% 80.704%,96.563% 82.026%,96.732% 83.335%,96.916% 84.634%,97.115% 85.925%,97.328% 87.21%,97.328% 87.21%,97.547% 88.455%,97.774% 89.683%,98.01% 90.891%,98.257% 92.076%,98.514% 93.233%,98.784% 94.359%,99.066% 95.451%,99.362% 96.505%,99.673% 97.516%,100% 98.482%,100% 100.002%,3.801% 100.002%,3.801% 100.002%,3.361% 98.335%,2.947% 96.626%,2.559% 94.874%,2.198% 93.078%,1.866% 91.234%,1.565% 89.342%,1.294% 87.4%,1.055% 85.405%,0.85% 83.357%,0.679% 81.254%,0.679% 81.254%,0.6% 79.911%,0.52% 78.573%,0.441% 77.238%,0.365% 75.903%,0.295% 74.565%,0.233% 73.223%,0.18% 71.872%,0.14% 70.511%,0.114% 69.138%,0.104% 67.748%,0.072% 0%,95.362% 0%); 
    transform: translateZ(0); 
    overflow: hidden; 
}

.custom-svg-container-2 { 
    /* Ajout de preserveAspectRatio='none' pour empêcher les bandes transparentes */
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 575.44 381.79' preserveAspectRatio='none'%3E%3Cpath d='M20.85,381.79c-7.37-8.45-12.68-18.13-15.95-29.03-3.27-10.9-4.9-25.63-4.9-44.16V0h550.49v302.05c0,21,2.32,37.16,6.95,48.45,4.63,11.32,10.63,20.92,18,28.82v2.45H20.85v.02Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 575.44 381.79' preserveAspectRatio='none'%3E%3Cpath d='M20.85,381.79c-7.37-8.45-12.68-18.13-15.95-29.03-3.27-10.9-4.9-25.63-4.9-44.16V0h550.49v302.05c0,21,2.32,37.16,6.95,48.45,4.63,11.32,10.63,20.92,18,28.82v2.45H20.85v.02Z'/%3E%3C/svg%3E");
    
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    transform: translateZ(0); 
    overflow: hidden; 
}

.custom-svg-container-1x1 { 
    /* Découpe le conteneur avec ton SVG au format 1x1 (arrondis parfaits) */
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 381.45 381.79' preserveAspectRatio='none'%3E%3Cpath d='M20.85,381.79c-7.37-8.45-12.68-18.13-15.95-29.03-3.27-10.9-4.9-25.63-4.9-44.16V0h356.5v302.05c0,21,2.32,37.16,6.95,48.45,4.63,11.32,10.63,20.92,18,28.82v2.45H20.85v.02Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 381.45 381.79' preserveAspectRatio='none'%3E%3Cpath d='M20.85,381.79c-7.37-8.45-12.68-18.13-15.95-29.03-3.27-10.9-4.9-25.63-4.9-44.16V0h356.5v302.05c0,21,2.32,37.16,6.95,48.45,4.63,11.32,10.63,20.92,18,28.82v2.45H20.85v.02Z'/%3E%3C/svg%3E");
    
    /* On force l'étirement à 100% de la div pour épouser la carte */
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    /* Propriétés de performance (évite les bugs visuels au scroll) */
    transform: translateZ(0); 
    overflow: hidden; 
}

.custom-svg-container-wide { 
    /* Découpe le conteneur avec le SVG au format paysage/large */
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 846.5 381.79' preserveAspectRatio='none'%3E%3Cpath d='M20.85,381.79c-7.37-8.45-12.68-18.13-15.95-29.03-3.27-10.9-4.9-25.63-4.9-44.16V0h821.56v302.05c0,21,2.32,37.16,6.95,48.45,4.63,11.32,10.63,20.92,18,28.82v2.45H20.85v.02Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 846.5 381.79' preserveAspectRatio='none'%3E%3Cpath d='M20.85,381.79c-7.37-8.45-12.68-18.13-15.95-29.03-3.27-10.9-4.9-25.63-4.9-44.16V0h821.56v302.05c0,21,2.32,37.16,6.95,48.45,4.63,11.32,10.63,20.92,18,28.82v2.45H20.85v.02Z'/%3E%3C/svg%3E");
    
    /* On force l'étirement à 100% de la div pour épouser la carte */
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    /* Propriétés de performance (évite les bugs visuels au scroll) */
    transform: translateZ(0); 
    overflow: hidden; 
}


/* ==========================================================================
   PERSONNALISATION DESIGN TARTEAUCITRON (RGPD) - LOOK LIELENS
   ========================================================================== */

/* 1. Suppression NUCLÉAIRE des emojis et éléments parasites */
#tarteaucitronRoot #tarteaucitronDisclaimerAlert::before,
#tarteaucitronRoot #tarteaucitronLogo,
#tarteaucitronRoot #tarteaucitronPercentage,
#tarteaucitronRoot .tarteaucitronIcon,
#tarteaucitronRoot div[id*="tarteaucitronIcon"] {
    display: none !important;
}

/* 2. Conteneur principal (La boîte) */
#tarteaucitronRoot #tarteaucitronAlertBig {
    background-color: var(--color-black) !important;
    border: 1px solid rgba(208, 196, 178, 0.4) !important; 
    color: var(--color-cream) !important;
    font-family: var(--font-light) !important;
    border-radius: 8px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8) !important;
    padding: 40px !important;
    max-width: 600px !important;
}

/* 3. Textes explicatifs */
#tarteaucitronRoot #tarteaucitronDisclaimerAlert {
    font-family: var(--font-light) !important;
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
    margin-bottom: 30px !important;
    color: rgba(255, 249, 229, 0.8) !important;
}

/* Le titre de la bannière */
#tarteaucitronRoot #tarteaucitronDisclaimerAlert strong {
    font-family: var(--font-season) !important;
    font-size: 2.2rem !important;
    font-weight: normal !important;
    display: block !important;
    margin-bottom: 15px !important;
    color: var(--color-cream) !important;
}

/* 4. Zone des boutons */
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronButtons {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Bouton TOUT ACCEPTER (Cible tous les IDs possibles) */
#tarteaucitronRoot button[id*="tarteaucitronAllAllowed"] {
    background-color: var(--color-cream) !important;
    color: var(--color-black) !important;
    font-family: var(--font-season-sans) !important;
    font-size: 1.1rem !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
}
#tarteaucitronRoot button[id*="tarteaucitronAllAllowed"]:hover {
    transform: scale(1.05) !important;
    background-color: #fff !important;
}

/* Bouton TOUT REFUSER (Fini le rouge !) */
#tarteaucitronRoot button[id*="tarteaucitronAllDenied"] {
    background-color: transparent !important;
    color: var(--color-cream) !important;
    font-family: var(--font-main) !important;
    font-size: 1.1rem !important;
    padding: 12px 30px !important;
    border: 1px solid rgba(255, 249, 229, 0.4) !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
#tarteaucitronRoot button[id*="tarteaucitronAllDenied"]:hover {
    background-color: rgba(255, 249, 229, 0.1) !important;
}

/* Bouton PERSONNALISER (Lien discret) */
#tarteaucitronRoot button[id*="tarteaucitronPersonalize"],
#tarteaucitronRoot .tarteaucitronPrivacyUrl {
    background-color: transparent !important;
    color: rgba(255, 249, 229, 0.5) !important;
    font-family: var(--font-light) !important;
    font-size: 0.95rem !important;
    text-decoration: underline !important;
    border: none !important;
    padding: 10px !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}
#tarteaucitronRoot button[id*="tarteaucitronPersonalize"]:hover,
#tarteaucitronRoot .tarteaucitronPrivacyUrl:hover {
    color: var(--color-cream) !important;
}

/* TARTEAUCITRON - MASQUAGE DU BANDEAU INITIAL FORCÉ */

/* 1. Cache l'énorme bandeau du milieu/bas au premier chargement */
#tarteaucitronAlertBig {
    display: none !important;
}

/* 2. Cache le petit bandeau de rappel ou la pastille flottante (au cas où) */
#tarteaucitronAlertSmall,
#tarteaucitronIcon {
    display: none !important;
}

#tarteaucitronAlertBig,
#tarteaucitronOverlay,
#tarteaucitronBack {
    display: none !important;
}

#tarteaucitronRoot,
#tarteaucitronOverlay,
#tarteaucitronAlertBig,
#tarteaucitronAlertSmall,
.tarteaucitron-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* ==========================================================================
   RESPONSIVE MOBILE GLOBALE (Tablettes & Smartphones)
   ========================================================================== */

/* --- TABLETTES (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 50px; }
    .col-email { justify-content: flex-start; }
    .wp-grid { grid-template-columns: 1fr; }
    .wp-visual-side { order: -1; height: 60vh; }
    .wp-visual-sticky { height: 100%; padding: 20px; }
    .wp-content-side { padding: 80px 5% 100px; }
    .wp-title { font-size: 4rem; }
    .wp-intro { max-width: 100%; }
}

/* --- SMARTPHONES (max-width: 768px) --- */
@media (max-width: 768px) {

    .container {
        padding: 0 20px !important;
    }
    
    /* --------------------------------------------------------------------------
       1. NAV BAR & LOGO 
       --------------------------------------------------------------------------*/
    /* Place le logo Lottie au centre tout en haut */
    .fixed-logo-wrapper { 
        top: 15px !important; 
        height: 50px !important;
        justify-content: center !important;
    }
    .fixed-logo-wrapper .container {
        justify-content: center !important;
        padding: 0 !important;
    }
    .logo { 
        width: 120px !important; 
        height: 50px !important; 
        margin: 0 auto !important; 
    }
    .logo-lottie svg { 
        transform-origin: center center !important; 
    }

    .fixed-logo-wrapper, 
    .site-header {
        /* On enlève notre ancien 'top', au cas où il traîne encore */
        top: auto !important; 
        
        /* On pousse les deux éléments vers le bas de manière synchronisée ! */
        margin-top: calc(30px + env(safe-area-inset-top)) !important; 
    }
    
    /* Pousse le conteneur des liens sous le calque du logo */
    .site-header { 
        top: 75px !important; /* Libère parfaitement l'espace occupé par le logo */
        padding: 0 !important; 
    }
    .site-nav { 
        height: auto !important; 
        justify-content: center !important; 
    }
    .logo-spacer { 
        display: none !important; 
    }
    .nav-menu { 
        width: 100% !important;
        justify-content: center !important; 
        gap: 25px !important; 
    }
    .nav-menu a { 
        font-size: 1.25rem !important; 
    }
    .nav-magic-line { 
        display: none !important; 
    }

    /* --------------------------------------------------------------------------
       2. HERO INTRO (Centrage vertical parfait)
       -------------------------------------------------------------------------- */
    .section-intro { 
        top: 48% !important; /* Centre le paragraphe au milieu du viewport mobile */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        padding: 0 5% !important; 
        width: 100% !important;
    }
    .text-block-hero { 
        font-size: 1.5rem; 
        max-width: 100%; 
        padding: 0; 
        margin: 0 auto; 
        text-align: center !important; 
    }
    .text-block-hero .text-season { 
        font-size: 2.1rem; 
    }
    
    /* Hero Visuals (Vidéo du bas) - Mathématiques corrigées ! */
    .hero-svg-lie { width: 22vw; }
    .hero-svg-ens { width: 33vw; } 

    #hero-image-box {
        --corner-size: 35px; /* Sans !important, GSAP est content */
    }

    .hp-txt {
        font-size: 1.8rem;
        line-height: 1.3;
        max-width: 900px;
        margin: 0 auto;
    }

    .hero-svg-lie { width: 22vw !important; }
    .hero-svg-ens { width: 36vw !important; }

    .hero-viewport {
        justify-content: flex-end !important;
        padding-bottom: 8vh !important;  /* ← ajuste ce chiffre seul */
        padding-top: 0 !important;
    }

    .section-hero-image {
        margin-bottom: 0 !important;
    }
    
    /* --------------------------------------------------------------------------
       3. SERVICES & FOOTER MOBILE
       -------------------------------------------------------------------------- */
    .services-headline { margin-bottom: 40px; font-size: 1.5rem; }
    .services-headline .text-season { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; gap: 30px; }
    .service-card { padding-bottom: 100%; } 
    .service-shape { top: 5%; bottom: 5%; left: 5%; right: 5%; padding: 25px; }
    
    .site-footer { padding-top: 60px; }
    .footer-columns { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; text-align: left; }
    .footer-col { font-size: 1.1rem; }
    .footer-list { gap: 8px; }
    .col-partner { align-items: flex-start; text-align: left; margin-top: 10px; }
    .partner-logo-mask { -webkit-mask-position: left center; mask-position: left center; width: 120px; height: 35px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; font-size: 0.85rem; padding-top: 20px; }
    
    #lottie-footer { padding-top: 5vw; padding-bottom: 5vw; margin-bottom: 20px; }
    

    /* --------------------------------------------------------------------------
       4. ABOUT
       -------------------------------------------------------------------------- */
    /* 1. Section Intro : Passage sur une seule colonne centrée avec l'image en dessous */
    .about-hero-grid { 
        grid-template-columns: 1fr !important; 
        text-align: center; 
        gap: 40px !important;
        width: 100%;
        overflow: hidden;
    }
    
    /* Redimensionnement fluide du titre pour tenir parfaitement sur l'écran */
    .about-title { 
        font-size: clamp(2.2rem, 8vw, 3rem) !important; 
        line-height: 1.1 !important; 
        margin-bottom: 15px !important;
    }
    
    /* Affinage du paragraphe d'introduction */
    .about-desc { 
        font-size: 1.3rem !important; 
        line-height: 1.4 !important; 
        margin: 0 auto;
        max-width: 100%;
    }
    
    /* Contrainte stricte sur l'image pour l'empêcher de créer du scroll latéral */
    .about-hero-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .about-hero-img {
        width: 100% !important;
        max-width: 300px !important; /* Garde une taille élégante et proportionnée */
        height: auto !important;
        display: block;
        margin: 0 auto;
    }

    /* 2. Affinage du reste de la page About pour parfaire le responsive */
    .piliers-grid { 
        grid-template-columns: 1fr !important; 
        gap: 50px !important; 
        padding: 0 10px;
    }
    .pilier-item h2 { 
        font-size: 1.8rem !important; 
        margin-bottom: 15px !important;
    }
    .pilier-item p { 
        font-size: 1.3rem !important; 
    }
    
    .life-block h2 { 
        font-size: 1.8rem !important; 
    }
    .life-block p { 
        font-size: 1.3rem !important; 
    }
    
    .clients-title { 
        font-size: 2.8rem !important; 
        text-align: center !important; 
        margin-bottom: 30px !important; 
    }

    /* Comportement mobile des cartes extensibles "What we do" */
    .expanding-grid-parent { 
        display: grid !important; 
        grid-template-columns: 1fr !important; 
        grid-auto-rows: 1fr !important; 
        gap: 30px !important; 
        height: auto !important; 
        overflow: visible !important; 
    }
    .expanding-grid-parent .expanding-card { 
        width: 100% !important; 
        height: 100% !important; 
        display: flex !important; 
        flex-direction: column !important; 
        justify-content: flex-start !important; 
        align-items: flex-start !important; 
        padding: 40px 30px 60px 30px !important; 
    }
    .expanding-grid-parent .expanding-card .elementor-widget-heading { 
        position: relative !important; 
        top: 0 !important; 
        left: 0 !important; 
        font-size: 2rem !important; 
        margin: 0 0 15px 0 !important; 
        text-align: left !important; 
        width: 100% !important;
    }
    .expanding-grid-parent .expanding-card .elementor-widget-text-editor { 
        position: relative !important; 
        top: 0 !important; 
        left: 0 !important; 
        opacity: 1 !important; 
        visibility: visible !important; 
        width: 100% !important; 
        font-size: 1.2rem !important; 
        margin-top: 0 !important; 
        text-align: left !important; 
    }

    /* Espacements de la page About compressés sur mobile */
    .about-intro-section { padding: 60px 0 !important; }
    .pillars-section     { padding: 60px 0 !important; }
    .pillars-alt-section { padding: 0px 0px 60px 0px !important; }
    .what-we-do-section  { padding: 60px 0 !important; }
    .about-clients       { padding: 60px 0 !important; }

    .title-wwd {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .subtitle-wwd {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .marquee-content {
        animation: scrollMarquee 55s linear infinite;
    }


    /* --------------------------------------------------------------------------
       5. WORK
       -------------------------------------------------------------------------- */
    .work-intro { 
        padding: 200px 0 60px !important; 
    }
    .work-intro-title { font-size: 1.5rem; }
    .work-intro-title .text-season { font-size: 2rem; }
    .work-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
    .filter-grid { flex-direction: column; gap: 30px; padding-top: 30px; }
    .work-client { font-size: 1.8rem; }
    .work-project { font-size: 1.5rem; }


    /* --------------------------------------------------------------------------
       6. CONTACT
       -------------------------------------------------------------------------- */
    .contact-hero { padding: 160px 0 60px; }
    .contact-title { font-size: 3rem; text-underline-offset: 10px; }
    .contact-subtitle { font-size: 1.3rem; margin-bottom: 40px; }
    .email-link { font-size: 1.3rem; }
    .address-title { font-size: 2.5rem; }
    .address-text { font-size: 1.3rem; }
    .subject-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .form-sentence { font-size: 1.5rem; }
    .contact-experience { padding-top: 5vh; justify-content: center; }
    .contact-details { padding: 80px 0 120px 0; } /* Plus d'espace en bas sur mobile aussi */
    .contact-top-actions { align-items: flex-start; text-align: left; margin-bottom: 60px; gap: 40px; }
    .contact-team-grid { grid-template-columns: 1fr; gap: 60px; margin-bottom: 0; } /* Retrait de la marge */
    .team-img { width: 130px; height: 130px; }
    .full-width-img { height: 40vh; }


    /* --------------------------------------------------------------------------
       7. CASES
       -------------------------------------------------------------------------- */
    .case-hero-title { font-size: 3rem; }
    .case-hero-subtitle { font-size: 1.5rem; }
    .case-hero-content { margin-bottom: 30px; }
    .case-intro { grid-template-columns: 1fr; gap: 20px; padding: 40px 5%; }
    .case-intro-title { font-size: 2.2rem; }
    .case-intro-text, .case-media-split-text { font-size: 1.3rem; }
    .case-carousel-track img { height: 250px; }
    .case-media-split { grid-template-columns: 1fr; gap: 30px; }
    .case-related-title { font-size: 2rem; margin-bottom: 30px; }
    .case-related-grid { grid-template-columns: 1fr; gap: 20px; }

    /* --------------------------------------------------------------------------
       8. LET'S TALK
       -------------------------------------------------------------------------- */
    .floating-cta { bottom: 20px; right: 20px; height: 50px; padding: 0 20px; font-size: 1.3rem; width: auto; }


    /* --------------------------------------------------------------------------
       9. WHITE PAPER
       -------------------------------------------------------------------------- */
    .wp-content-side { padding: 120px 5% 60px 5%; }
    .wp-visual-sticky { padding: 20px; height: 60vh; }
    .wp-submit { width: 100%; justify-content: space-between; }
    .wp-grid { grid-template-columns: 1fr; height: auto; display: flex; flex-direction: column-reverse; }
    .wp-content-inner { height: auto; max-height: none; padding: 40px 5% 80px 5%; }
    .wp-submit { margin-top: 40px; width: 100%; justify-content: space-between; }
    .wp-image-wrapper { height: auto; width: 90%; max-width: 400px; aspect-ratio: 1/1; margin-top: 100px; }
}