@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; }

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

/* 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: 300; }

/* 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: absolute; top: 0; left: 0; width: 100%; z-index: 2000; transition: color 0.3s ease; }

/* 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); }
/* ==========================================================================
   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: 100vh; }
.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; }
.section-intro { position: absolute; top: 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: 32vw; height: 10.5vw; margin: 0 1.5vw; position: relative; --squeeze: 1; transform-origin: center bottom; }
.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;
}




/* ==========================================================================
   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: 300; }
.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: 300; 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: 300; 
    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; 
}


/* ==========================================================================
   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 & WHITE PAPER
   ========================================================================== */
.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: 15px !important; height: 450px !important; width: 100% !important; overflow: hidden !important; }
.expanding-grid-parent .expanding-card { flex: 1 !important; position: relative !important; height: 100% !important; cursor: pointer !important; background-color: var(--color-black) !important; color: var(--color-cream); transition: flex 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), clip-path 0.4s ease !important; transform: translateZ(0); }
.expanding-grid-parent:hover .expanding-card { flex: 0.8 !important; }
.expanding-grid-parent .expanding-card:hover { flex: 2.2 !important; }
.expanding-grid-parent .expanding-card .elementor-widget-heading { position: absolute; top: 30px; left: 30px; font-size: 2.5rem; margin: 0; transition: all 0.4s ease; }
.expanding-grid-parent .expanding-card .elementor-widget-text-editor { position: absolute !important; top: 80px !important; left: 30px !important; opacity: 0 !important; visibility: hidden !important; transition: all 0.4s ease !important; font-size: 1.8rem; max-width: 90%; line-height: 1.4; 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; padding-right: 120px; 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%); } }

/* Suite du White Paper */
.wp-page { min-height: 100vh; overflow: hidden; }
.wp-grid { display: grid; grid-template-columns: 5.5fr 6.5fr; min-height: 100vh; }
.wp-content-side { padding: 180px 10% 150px 10%; display: flex; flex-direction: column; justify-content: center; }
.wp-badge { display: inline-block; border: 1px solid rgba(255,249,229,0.3); padding: 8px 20px; border-radius: 30px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 40px; }
.wp-title { font-size: clamp(3rem, 6vw, 6.5rem); line-height: 1; margin-bottom: 40px; text-transform: lowercase; }
.wp-title .line { display: block; overflow: hidden; }
.wp-title .line span { display: block; }
.wp-title .italic-gold { font-style: italic; margin-left: 5%; color: #d0c4b2; }
.wp-intro { font-size: 1.5rem; line-height: 1.5; opacity: 0.8; margin-bottom: 60px; max-width: 80%; }
.wp-form { width: 100%; max-width: 600px; }
.wp-form-group { margin-bottom: 40px; position: relative; overflow: hidden; }
.wp-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,249,229,0.3); padding: 15px 0; color: var(--color-cream); font-size: 1.8rem; font-family: var(--font-light); transition: border-color 0.4s ease; }
.wp-input::placeholder { color: rgba(255,249,229,0.2); }
.wp-input:focus { outline: none; border-bottom-color: var(--color-cream); }
.wp-submit { width: 100%; background: var(--color-cream); color: var(--color-black); border: none; padding: 35px 40px; display: flex; justify-content: space-between; align-items: center; font-size: 1.8rem; cursor: pointer; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s; margin-top: 20px; }
.wp-submit:hover { transform: scale(1.02); background: #fff; }
.wp-submit .arrow { font-size: 2rem; transition: transform 0.4s ease; }
.wp-submit:hover .arrow { transform: translate(5px, 5px); }
.wp-visual-side { position: relative; }
.wp-visual-sticky { position: sticky; top: 0; height: 100vh; padding: 40px; display: flex; align-items: center; justify-content: center; }
.wp-image-wrapper { width: 100%; height: 100%; position: relative; overflow: hidden; }
.wp-image { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1); }
.wp-visual-side:hover .wp-image { transform: scale(1.05); }

/* ==========================================================================
   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; width: 180px; 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; }
.cta-typing { display: flex; gap: 4px; align-items: center; justify-content: center; height: 100%; }
.cta-typing .dot { width: 6px; height: 6px; background-color: currentColor; border-radius: 50%; animation: ctaBounce 1.4s infinite ease-in-out both; }
.cta-typing .dot:nth-child(1) { animation-delay: -0.32s; }
.cta-typing .dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes ctaBounce { 0%, 80%, 100% { transform: scale(0); opacity: 0.5; } 40% { transform: scale(1.2); opacity: 1; } }

.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); }

/* 🪄 LAYOUT FOOTER (3 COLONNES) */
.footer-columns { 
    display: grid; 
    /* Les 3 premières collées (auto) et la dernière prend tout le reste (1fr) */
    grid-template-columns: auto auto auto 1fr; 
    gap: 80px; /* L'espacement exact entre tes colonnes de gauche (tu peux le réduire à 60px si tu veux encore plus serré) */
    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); /* <-- Changement de la police ici */
    font-size: 1.4rem; /* Légèrement augmenté car Season Mix taille plus petit que Satoshi */
    color: var(--color-cream); 
}

/* Listes avec espacement strict (Baseline parfaite garantie !) */
.footer-list { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; /* C'est ce gap qui force l'espacement EXACT entre chaque ligne */
}
.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: left center; /* On aligne le masque à GAUCHE pour qu'il soit bord à bord avec le texte */
    mask-position: left 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; }

/* 🪄 COLORATION DU SVG EXTERNE EN BEIGE (CSS MASK) */
.partner-logo-mask {
    width: 140px; 
    height: 40px; 
    background-color: var(--color-cream); /* La couleur qu'on veut appliquer */
    -webkit-mask-image: url("/images/logo_register.svg"); /* On découpe selon ton logo */
    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; /* Aligné à droite */
    mask-position: right center;
}

.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; }

/* ==========================================================================
   PAGE CONTACT (NOUVELLE) & POPUP
   ========================================================================== */
/* Page Contact - Hero */
.contact-hero { padding: 200px 0 100px; }
.contact-title { font-size: clamp(4rem, 8vw, 6rem); margin-bottom: 30px; }
.contact-subtitle { font-size: clamp(1.5rem, 3vw, 2rem); max-width: 600px; margin-bottom: 80px; line-height: 1.3; }
.contact-emails-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.email-block span { font-size: 1.2rem; margin-bottom: 10px; display: block; opacity: 0.8; }
.email-link { font-size: clamp(1.2rem, 2vw, 1.8rem); color: var(--color-cream); text-decoration: underline; text-underline-offset: 6px; transition: opacity 0.3s; }
.email-link:hover { opacity: 0.7; }

/* Page Contact - Map */
.contact-location { padding: 100px 0; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.map-container { width: 100%; aspect-ratio: 4/3; background: #222; }
/* Filtre magique pour mettre la Google Map en mode sombre */
.map-iframe { width: 100%; height: 100%; border: 0; filter: invert(100%) hue-rotate(180deg) contrast(1.1) grayscale(20%); }
.address-block { text-align: right; }
.address-title { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 30px; }
.address-text { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.4; }

/* Styles structurels du Popup Let's Talk */
#contact-popup { display: none; opacity: 0; position: fixed; inset: 0; z-index: 10000; }
.popup-close-btn { background: none; border: none; cursor: pointer; position: absolute; top: 40px; right: 40px; outline: none; }
.popup-close-text { color: var(--color-cream); font-size: 1.2rem; margin-right: 15px; }
.popup-container-inner { width: 100%; max-width: 1200px; display: flex; justify-content: center; align-items: center; min-height: 80vh; }
#popup-step-2, #popup-step-3 { display: none; opacity: 0; }
#close-success-popup { margin-top: 40px; display: inline-flex; width: auto; max-width: 300px; border: none; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .contact-emails-grid { grid-template-columns: 1fr; text-align: left; gap: 40px; }
    .location-grid { grid-template-columns: 1fr; }
    .address-block { text-align: left; order: -1; margin-bottom: 20px; }
}




/* ==========================================================================
   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; }
.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); }

/* ==========================================================================
   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-size: clamp(4rem, 8vw, 8rem); line-height: 1; margin: 0 0 10px 0; }
.case-hero-subtitle { font-family: var(--font-season-sans); 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-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); }

.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); }

.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); 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); 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; 
}

/* ==========================================================================
   RESPONSIVE MOBILE GLOBALE
   ========================================================================== */
@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%; }
}

@media (max-width: 768px) {
    /* Header & Hero */
    .hero-svg-lie { width: 25vw; }
    .hero-svg-ens { width: 40vw; }
    .hero-image-box { width: 45vw; height: 15vw; }
    
    /* Services 3 blocs Mobile */
    .services-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-card { padding-bottom: 100%; } /* Carré parfait sur mobile */
    .service-shape { top: 5%; bottom: 5%; left: 5%; right: 5%; padding: 25px; }
    
    /* Footer Mobile */
    .footer-columns { grid-template-columns: 1fr; gap: 40px; text-align: left; }
    .col-partner { align-items: flex-start; text-align: left; }
    .col-partner { align-items: flex-start; text-align: left; }
    .partner-logo-mask { 
        -webkit-mask-position: left center; 
        mask-position: left center; 
    }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    
    /* About */
    .about-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .piliers-grid { grid-template-columns: 1fr; gap: 60px; }
    .expanding-grid-parent { display: flex !important; flex-direction: column !important; height: auto !important; gap: 20px !important; overflow: visible !important; align-items: center !important; }
    .expanding-grid-parent .expanding-card { flex: none !important; width: 100% !important; height: auto !important; min-height: 150px; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; text-align: center !important; }
    .expanding-grid-parent .expanding-card .elementor-widget-text-editor, .expanding-grid-parent .expanding-card .elementor-widget-heading { position: relative !important; top: 0 !important; left: 0 !important; opacity: 1 !important; visibility: visible !important; width: 100% !important; margin: 10px 0 !important; }
    .expanding-grid-parent:hover .expanding-card, .expanding-grid-parent .expanding-card:hover { flex: none !important; transform: none !important; }
    
    /* Work Filters */
    .work-grid { grid-template-columns: 1fr; max-width: 100%; }
    .work-intro-title { font-size: 1.8rem; }
    .filter-grid { flex-direction: column; gap: 40px; }
    
    /* Contact */
    .subject-grid { grid-template-columns: 1fr 1fr; }
    .contact-experience { padding-top: 10vh; justify-content: flex-start; }

    /* Case Studies Mobile */
    .case-hero-title { font-size: 3.5rem; }
    .case-hero-subtitle { font-size: 2rem; }
    .case-hero-content { margin-bottom: 40px; }
    .case-intro { grid-template-columns: 1fr; gap: 30px; padding: 60px 5%; }
    .case-carousel-track img { height: 300px; }
    .case-media-split { grid-template-columns: 1fr; gap: 40px; }
    .case-related-grid { grid-template-columns: 1fr; }

    /* CTA */
    .floating-cta { bottom: 20px; right: 20px; height: 60px; padding: 0 20px; font-size: 1.4rem; width: auto; }
}