:root {
    /* Base Colors - Fresh Luxury Theme */
    --bg-light: #FAFAFA;
    --bg-card: #FFFFFF;
    --text-main: #111111;
    --text-muted: #666666;
    --border-light: rgba(0, 0, 0, 0.05);

    /* Accent Colors - Custom Palette */
    --accent-framboise: #e61c5d;
    /* Framboise acidulé, très punchy */
    --accent-coral: #ed5340;
    /* Orange/Corail, gardé en mémoire */
    --accent-burgundy: #822f50;
    /* Framboise profond/Bordeaux */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html {
    width: 100%;
    overflow-x: visible;
}

body {
    width: 100%;
    overflow-x: clip;
    /* Modern clip prevents horizontal scroll without breaking position: sticky */
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    cursor: none;
    /* Hide default cursor */
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: #e78f83;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1000000;
    transform-origin: center center;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

/* Restauration de l'effet Magique (Vert) au survol des liens et boutons */
body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
    background: white !important;
    mix-blend-mode: difference;
}

.cursor-follower {
    display: none !important;
}




a,
button {
    cursor: none;
}

/* Hero 3D Perspective */
.hero-title-wrapper {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Ambient Blooms - Liquid Mode */
.ambient-blooms {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bloom {
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.4;
    mix-blend-mode: color-burn;
}

.bloom-1 {
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-framboise) 0%, transparent 80%);
    top: -20%;
    right: -10%;
    animation: liquid-move-1 40s ease-in-out infinite alternate;
}

.bloom-2 {
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent-coral) 0%, transparent 80%);
    bottom: -15%;
    left: -10%;
    animation: liquid-move-2 50s ease-in-out infinite alternate-reverse;
}

@keyframes liquid-move-1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-10%, 15%) scale(1.1) rotate(45deg);
    }

    100% {
        transform: translate(5%, -5%) scale(0.9) rotate(-45deg);
    }
}

@keyframes liquid-move-2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(15%, -10%) scale(1.2) rotate(-60deg);
    }

    100% {
        transform: translate(-5%, 5%) scale(1) rotate(30deg);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media(max-width:1200px) {
    .container {
        padding: 0 1rem;
    }
}

/* Luxury utilities */
.glass {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}

.text-accent {
    color: var(--accent-framboise);
    font-weight: 800;
}

/* Incandescent Glow Word */
.text-accent-glow {
    position: relative;
    display: inline-block;
    color: #e61c5d;
    font-weight: 900;
}

.text-accent-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(230, 28, 93, 0.4) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Buttons - Ultra Premium */
.btn-primary {
    display: inline-block;
    background: #e61c5d;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: letter-spacing 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s ease,
        background 0.5s ease;
    z-index: 10;
}

/* Ripple / Shockwave */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
    opacity: 0;
    animation: btn-ripple 0.8s ease-out;
}

@keyframes btn-ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }

    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/* Glow Ring */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 55px;
    background: linear-gradient(90deg, #e61c5d, #ed5340, #ff6b9d, #e61c5d);
    background-size: 300% 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradient-ring 3s linear infinite;
    filter: blur(8px);
}

.btn-primary:hover::after {
    opacity: 1;
}

@keyframes gradient-ring {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

.btn-primary:hover {
    letter-spacing: 6px;
    box-shadow: 0 0 60px rgba(230, 28, 93, 0.5), 0 0 120px rgba(230, 28, 93, 0.2);
    background: #822f50;
}

.btn-large {
    font-size: 1.1rem;
    padding: 1.3rem 3.5rem;
}

/* Button Text Echo - Projected Background */
.btn-text-echo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 20vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(230, 28, 93, 0.08);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    user-select: none;
    letter-spacing: -10px;
}

/* Header - Version Blindée Premium */
.main-header {
    position: fixed !important;
    top: 1.5rem !important;
    left: 50% !important;
    transform: translate3d(-50%, 0, 0) !important;
    width: 90%;
    max-width: 1250px;
    height: 70px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 10000 !important;
    display: block;
    transition: height 0.6s cubic-bezier(0.85, 0, 0.15, 1), border-radius 0.6s ease, background 0.6s ease;
    pointer-events: all;
    overflow: hidden;
}

@media (min-width: 1201px) {
    .main-header:has(.has-mega-menu:hover) {
        height: 380px;
        border-radius: 40px;
        background: rgba(255, 255, 255, 0.98);
    }
}

.header-inner {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem 0 2.5rem;
}

.burger-menu {
    display: none;
}

.header-action {
    display: flex;
    align-items: center;
    margin: 0;
    /* Aucune marge pour ne pas fausser le padding du parent */
}

.header-action .btn-primary {
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
    line-height: 1;
    /* Force l'équilibre vertical du texte */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span.dot {
    color: #e61c5d;
    pointer-events: none;
}

.main-nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
    height: 70px;
    align-items: center;
}

.main-nav>ul>li {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 1;
    transition: opacity 0.3s, color 0.3s;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
}

.main-nav a:hover {
    opacity: 1;
    color: #e61c5d;
}

/* MEGA MENU STYLES */
.mega-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0.2s;
}

.mega-menu-content {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    align-items: flex-start;
}

.mega-links-wrapper {
    flex: 1;
}

.mega-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul.mega-sublinks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    height: auto;
}

.main-nav ul.mega-sublinks li {
    margin-bottom: 0;
    height: auto;
}

.mega-sublinks a {
    color: #e61c5d;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.mega-sublinks a:hover {
    color: #e61c5d;
    text-decoration: underline;
    transform: translateX(5px);
}

.menu-label {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 0px;
    margin-top: 0.4rem;
    margin-right: 0.3rem;
    margin-bottom: 0.2rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(138, 63, 86, 0.2);
}

.mega-visual {
    width: 250px;
    height: 250px;
    border-radius: 16px;
    background: none;
    opacity: 0.85;
    overflow: hidden;
    flex-shrink: 0;
}

/* Responsive Menu Base */


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 0;
    background: transparent;
    /* Rendu transparent */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(230, 28, 93, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 0%, rgba(237, 83, 64, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 10%, rgba(255, 107, 157, 0.05) 0%, transparent 60%);
    background-size: 200% 100%;
    /* animation: hero-gradient-move 15s ease-in-out infinite alternate; (Désactivé pour perfs) */
    z-index: 1;
    pointer-events: none;
}

@keyframes hero-gradient-move {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.hero-content,
.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.hero-title-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 6rem);
    letter-spacing: -2px;
    line-height: 0.9;
    font-weight: 900;
    color: #111;
    width: 85%;
    margin: 0 0 3.5rem 0;
}

.title-line {
    display: block;
    position: relative;
    color: #111;
}

.hero-marquee-rupture {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
    /* On le met DERRIÈRE le titre (qui est à 10+) pour la lisibilité */
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: fit-content;
    opacity: 0.1;
    /* Trame de fond subtile au repos */
    transition: opacity 1s ease;
    will-change: transform;
    /* Accélération matérielle */
    transform: translateZ(0);
}

.marquee-text {
    font-size: 120vh;
    /* Occupe toute la hauteur de l'écran */
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.8;
    /* Ajusté pour centrer parfaitement la police sans la couper de façon erratique */
    color: #fff;
    -webkit-text-stroke: 0;
    letter-spacing: -0.05em;
    padding-right: 10rem;
}





/* --- SECTIONS --- */
.section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
    background: transparent;
    /* Rendu transparent */
}



/* Specific styling for CTA widget in the blue section */
.internal-page>section.section:nth-of-type(4n) .btn-primary {
    background: #4ea9c6 !important;
    color: #0a0a0a !important;
    box-shadow: 0 4px 15px rgba(78, 169, 198, 0.3) !important;
}

.internal-page>section.section:nth-of-type(4n) .btn-primary:hover {
    background: #00c6ff !important;
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 4rem;
}

/* Expertise Section */
.expertise-section {
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.expertise-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}



.section-title {
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    color: #111;
}

.lead-text {
    font-size: 1.25rem;
    opacity: 0.8;
    line-height: 1.8;
}

.section-title span,
.section-title span.text-accent,
.hero-title span,
.hero-title span.text-accent-glow,
.cta-card h2 span,
.page-cta-sidebar h2 span,
.page-cta-sidebar .cta-title span {
    background: linear-gradient(135deg, var(--accent-framboise) 0%, var(--accent-burgundy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-title span::after,
.hero-title span.text-accent-glow::after,
.section-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(230, 28, 93, 0.4) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Services Section - Cinematic List */
.services-cinematic {
    position: relative;
    padding: 0;
    background: #faf9f6;
    overflow: hidden;
}

.services-list-interactive {
    margin-top: 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.service-link {
    display: flex;
    align-items: center;
    width: 100%;
    /* Force la zone cliquable sur toute la largeur */
    padding: 4rem 0;
    text-decoration: none;
    color: var(--text-main);
    cursor: none;
    /* On cache la souris pour laisser place à l'image */
}

.service-index {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-right: 4rem;
    opacity: 0.4;
}

.service-name {
    font-size: clamp(3rem, 6vw, 6rem);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-short {
    margin-left: auto;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    /* Blanc par défaut (invisible car opacity: 0) */
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Effects */
.service-item:hover .service-name {
    transform: translateX(30px);
    color: #fff;
}

.service-item:hover .service-short {
    opacity: 1;
    transform: translateX(0);
}

/* Services Section - Background Reveal Immersive */


.services-bg-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background-color: white;
    /* Fond par défaut */
    transition: opacity 0.8s ease, background-color 0.4s ease;
}

/* Suppression TOTALE des transitions quand l'IA est active */
.services-cinematic:has(.item-internal-tech:hover) .services-bg-reveal,
.services-cinematic:has(.item-internal-tech:hover) .bg-reveal-image {
    opacity: 0 !important;
    transition: none !important;
}

.bg-reveal-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    /* On voit le fruit en entier comme demandé */
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), background-image 0.5s ease;
}

.bg-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.services-cinematic.is-hovered .services-bg-reveal {
    opacity: 1;
}

.services-cinematic.is-hovered .bg-reveal-image {
    transform: scale(1);
}

.services-list-interactive {
    position: relative;
    z-index: 10;
    margin-top: 0;
    /* Marge top à 0 */
    border-top: 1px solid #fff;
}

.service-item {
    position: relative;
    border-bottom: 1px solid #fff;
    transition: border-color 0.4s ease;
}

.services-cinematic.is-hovered .service-item {
    border-bottom-color: #fff;
}

.service-link {
    display: flex;
    align-items: center;
    padding: 8rem 0;
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.4s ease;
    position: relative;
    z-index: 10;
    cursor: default;
    /* Toujours au dessus des reveals */
}

.services-cinematic.is-hovered .service-item:hover .service-link {
    color: #fff !important;
}

.services-cinematic.is-hovered .service-link {
    color: #111;
    /* Les autres restent sombres pour le contraste */
}

.service-index {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-right: 4rem;
    opacity: 0.4;
}

.service-name {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.9;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item:hover .service-name {
    transform: translateX(40px);
}

/* Effet "Inside the Screen" Spécifique IA - Full Width */
.service-internal-reveal {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    opacity: 0;
    z-index: 1;
    /* Remonté pour être visible */
    overflow: hidden;
    clip-path: inset(50% 0% 50% 0%);
    /* Initialement fermé par le centre */
    transition: none !important;
}

.internal-parallax-img {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    background-size: cover;
    background-position: center;
    background-image: url('../img/ai_internal_tech.png');
    transform: translate3d(0, 0, 0);
}

.item-internal-tech:hover .service-internal-reveal {
    opacity: 1;
}

.item-internal-tech:hover .service-link {
    color: white !important;
}

.item-internal-tech:hover .service-link h3,
.item-internal-tech:hover .service-link span,
.item-internal-tech:hover .service-link p {
    color: white !important;
    transition: none !important;
    /* Changement de couleur instantané aussi */
}

/* Désactivation instantanée de l'effet global au hover de l'IA */
.item-internal-tech:hover~.services-bg-reveal,
.services-cinematic:has(.item-internal-tech:hover) .services-bg-reveal {
    opacity: 0 !important;
    transition: none !important;
}

/* On s'assure qu'en sortant de l'IA pour retourner vers les autres, le fond blanc revient sec */
.services-cinematic:not(:has(.service-item:hover)) .services-bg-reveal {
    transition: none !important;
}

/* --- FOOTER MONUMENTAL --- */
.main-footer {
    padding: 5rem 0 3rem 0;
    background: #000000;
    color: white;
    position: relative;
    z-index: 10;
    overflow: hidden;
    margin-top: -1px;
}

.footer-cta {
    margin-bottom: 10rem;
    text-align: center;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 3rem;
    letter-spacing: -3px;
    color: white;
}

.footer-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 990px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.footer-cta p:last-of-type {
    margin-bottom: 3.5rem;
    /* Espace avant le bouton */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 8rem;
    padding-top: 5rem;
}

.footer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-bottom: 2rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: inline-block;
    color: white;
}

.footer-links a:hover {
    opacity: 1;
    color: #e61c5d;
    transform: translateX(10px);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: white;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    opacity: 1;
    color: #e61c5d;
    transform: translateY(-3px);
}

.footer-contact-info {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-signature {
    margin: 6rem 0 6rem;
    text-align: center;
    padding-top: 0rem;
}

.monumental-logo {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 18vw, 22rem);
    font-weight: 900;
    letter-spacing: -10px;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.03);
    user-select: none;
    pointer-events: none;
}

.monumental-logo .dot {
    color: #e61c5d;
    opacity: 1;
    pointer-events: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer-legal a {
    margin-right: 2rem;
    transition: opacity 0.3s;
    color: white;
}

.footer-legal a:hover {
    opacity: 1;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 1200px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    /* Suppression du curseur sur mobile/tablette */
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }



    /* Header Mobile & Stretching Menu */
    .main-header {
        position: fixed;
        top: 20px;
        left: 5%;
        width: 90%;
        transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        overflow: hidden;
        height: 70px;
        display: block;
        z-index: 9999;
        border-radius: 40px;
        /* Effet capsule au repos */
    }

    .main-header.active {
        height: auto;
        max-height: 85vh;
        overflow-y: auto;
        border-radius: 20px;
        /* Plus rectangulaire à l'ouverture */
        left: 2%;
        width: 96%;
    }

    .header-inner {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 70px auto;
        /* Ligne 1 fixe à 70px */
        align-items: center;
        padding: 0 1.5rem;
    }

    .header-action {
        display: none !important;
    }

    .logo {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
        height: 70px;
    }

    .burger-menu {
        grid-column: 2;
        grid-row: 1;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        justify-self: end;
        /* Calé à droite */
        gap: 6px;
        width: 30px;
        height: 70px;
        cursor: pointer;
    }

    .main-nav {
        grid-column: 1 / span 2;
        grid-row: 2;
        display: none;
        width: 100%;
        padding: 1rem 0 2rem 0;
    }

    .burger-menu span {
        display: block;
        width: 100%;
        height: 2px;
        background: #111 !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        transform-origin: center;
    }

    /* Animation en Croix parfaite au pixel près (Gap de 6px + 2px de trait = 8px de décalage total / 2) */
    #burger-toggle.active span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    #burger-toggle.active span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    /* Alternative si la classe est sur le parent */
    .main-header.active #burger-toggle span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .main-header.active #burger-toggle span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .main-nav {
        order: 3;
        /* Passe en dessous de tout le monde */
        display: none;
        width: 100%;
        padding: 1.5rem 0 2rem 0;
    }

    .main-header.active .main-nav {
        display: block;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        width: 100%;
        list-style: none;
        padding: 0;
        height: auto;
    }

    .main-nav ul li a {
        font-size: 0.9rem;
        font-weight: 600;
        color: #111 !important;
        text-decoration: none;
        text-transform: uppercase;
        padding-right: 2.5rem;
        display: inline-block;
        box-sizing: border-box;
    }

    .main-nav ul li {
        width: 100%;
        position: relative;
        display: block;
        height: auto;
    }

    .mobile-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        font-size: 1.35rem;
        cursor: pointer;
        color: #111;
        font-weight: 400;
        padding: 0 1rem;
        line-height: 1.2;
    }

    /* Rendu des Mega Menus sur Mobile (Accordéon fluide) */
    .mega-menu {
        position: relative;
        display: block;
        max-height: 0;
        overflow: hidden;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0rem;
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        box-shadow: none;
        background: transparent;
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .has-mega-menu.menu-open .mega-menu {
        max-height: 1400px;
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mega-visual,
    .mega-title {
        display: none !important;
    }

    .main-nav ul.mega-sublinks {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        padding-top: 0.5rem;
    }

    .main-nav ul.mega-sublinks a {
        font-size: 0.9rem;
        font-weight: 500;
        color: #e61c5d !important;
        white-space: normal;
        text-transform: none;
    }

    .menu-label {
        margin-right: 0 !important;
    }

    /* Masquage des effets de fond (particules) sur mobile, mais conservation optimisée des orbes de couleurs */
    .veil-container {
        display: none !important;
    }

    .ambient-blooms {
        display: block !important;
    }

    .bloom {
        animation: none !important;
        /* Désactive les animations lourdes de flou pour conserver un défilement ultra-fluide sur mobile */
    }

    /* Layout Adjustments */
    .section {
        padding: 3.5rem 0 !important;
        /* Force overrides on dynamic page builder inline styles */
    }

    /* Alternance rose sur mobile : les sections paires (sans fond blanc inline) reçoivent une teinte rose homogène.
       Le sélecteur :not() cible les sections transparentes, qui sur desktop laissent voir les orbes. */
    .section:not([style*="background: #ffffff"]):not([style*="background:#ffffff"]) {
        background: rgba(230, 28, 93, 0.15) !important;
    }

    .hero {
        padding-top: 0px;
        text-align: center;
    }

    .hero-title {
        width: 100%;
        margin-bottom: 2rem;
    }

    .section-title {
        margin-bottom: 1.5rem !important;
        font-size: clamp(1.6rem, 6vw, 2rem) !important;
        letter-spacing: -1px;
    }

    /* Span en inline sur mobile : le gradient background-clip:text force inline-block dans WebKit/Blink.
       On remplace par une couleur solide pour permettre le display:inline. */
    .section-title span,
    .section-title span.text-accent {
        display: inline !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        -webkit-text-fill-color: var(--accent-framboise) !important;
        color: var(--accent-framboise) !important;
        font-weight: 700;
    }

    .internal-page {
        overflow-x: hidden !important;
    }

    /* Suppression du glow rose derrière les titres H2 sur mobile */
    .section-title span::after,
    .hero-title span::after,
    .hero-title span.text-accent-glow::after {
        display: none !important;
    }

    .btn-large {
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
        white-space: nowrap;
        letter-spacing: 1px;
    }

    .monumental-logo {
        font-size: 18vw;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: -2px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
        text-align: center;
        margin-bottom: 3rem;
        padding-top: 2rem;
    }

    .footer-label {
        margin-bottom: 0.8rem;
        font-size: 0.75rem;
    }

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer-links a,
    .footer-contact-info {
        font-size: 0.85rem;
    }

    .footer-signature {
        margin: 4rem 0 3rem;
        padding-top: 3rem;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* --- INTERNAL PAGES TEMPLATE --- */
.internal-page {
    padding-top: 100px;
}

.hero-breadcrumb {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 2rem;
}

.hero-breadcrumb a {
    color: inherit;
    transition: opacity 0.3s;
}

.hero-breadcrumb a:hover {
    opacity: 1;
}

.page-hero {
    padding: 6rem 0 2rem;
    text-align: left;
}

.hero-lead {
    font-size: 1.5rem;
    opacity: 0.7;
    max-width: 700px;
    margin-top: 1.5rem;
    line-height: 1.4;
}

/* Intro Grid */
.intro-section {
    padding: 2rem 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.visual-card {
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.visual-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

.visual-metric {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--accent-framboise);
    margin: 1rem 0;
}

/* Services Grid Layout */
.services-grid-section {
    padding: 2rem 0;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}



/* Luxury Table */
.table-section {
    padding: 2rem 0;
}

.comparison-wrapper {
    margin-top: 4rem;
    padding: 2rem;
    border-radius: 40px;
    overflow-x: auto;
}

.luxury-table {
    width: 100%;
    border-collapse: collapse;
}

.luxury-table th {
    text-align: left;
    padding: 2rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--border-light);
    color: var(--accent-framboise);
}

.luxury-table td {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.1rem;
    opacity: 0.8;
}

.luxury-table tr:last-child td {
    border-bottom: none;
}

.luxury-table tr:hover td {
    opacity: 1;
    background: rgba(230, 28, 93, 0.02);
}

/* FAQ */

.faq-main-content {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    min-height: 850px !important;
    /* Garantit une piste de défilement généreuse pour le sticky */
}

.faq-section .section-title {
    font-family: var(--font-heading) !important;
    font-size: 3rem !important;
    font-weight: 900 !important;
    text-align: left;
    width: 100%;
}

.faq-subtitle {
    display: block;
    font-family: var(--font-heading) !important;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-top: 1rem !important;
    color: var(--accent-framboise) !important;
    letter-spacing: -0.5px !important;
}


.faq-list {
    max-width: 100% !important;
    margin: 2rem 0 0 0 !important;
}

.faq-item {
    position: relative;
    background: #ffffff !important;
    border-radius: 50px !important;
    /* Beautiful rounded bubble pill shape */
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.01) !important;
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.faq-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 6px 16px rgba(0, 0, 0, 0.03) !important;
    transform: translateY(-2px);
    border-color: rgba(230, 28, 93, 0.15) !important;
}

@media(max-width:1200px) {
    .faq-item {
        border-radius: 35px !important;
        margin-bottom: 1.25rem !important;
    }
}

.faq-question {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    /* Outfit medium weight */
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.8rem 2.5rem !important;
    color: #0d0d0d !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

@media(max-width:1200px) {
    .faq-question {
        padding: 1.4rem 2rem !important;
        font-size: 1rem !important;
    }
}

.faq-item.active .faq-question {
    color: var(--accent-framboise) !important;
}

/* Hide arrow/icons */
.faq-question::before,
.faq-question .icon {
    display: none !important;
}

.faq-answer {
    padding: 0 !important;
    overflow: hidden !important;
    display: none;
    /* Will be toggled by JS */
}

.faq-answer-inner {
    padding: 0.5rem 2.5rem 2rem 2.5rem !important;
    line-height: 1.7 !important;
    font-size: 1.05rem !important;
    color: #444444 !important;
    opacity: 0.95 !important;
}

@media(max-width:1200px) {
    .faq-answer-inner {
        padding: 0.2rem 2rem 1.6rem 2rem !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}

/* Final CTA Card */
.cta-card {
    padding: 6rem 4rem;
    border-radius: 50px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--accent-framboise) 0%, var(--accent-burgundy) 100%);
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.cta-card p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 3rem 0 1.5rem !important;
        /* Condensed page hero padding */
    }

    .hero-split {
        margin-top: 2rem !important;
        /* Tight margin inside page hero */
    }

    .cta-card {
        padding: 3rem 2rem !important;
        /* Tighter padding inside CTA cards on mobile */
    }

    .cta-card h2 {
        font-size: 2.5rem;
    }

    .main-footer {
        padding: 3.5rem 0 2rem 0 !important;
        /* Tighter footer paddings on mobile */
    }

    .footer-cta {
        margin-bottom: 5rem !important;
        /* Condensed footer bottom gap */
    }
}

/* Hero Subtitle Specific */
.hero-title .text-accent-glow {
    font-size: inherit;
    /* On hérite de la taille monumentale du H1 */
    display: block;
    line-height: 0.9;
    margin-top: 0.5rem;
}

/* FAQ Section Desktop */
.faq-section {
    overflow: visible !important;
}

/* FAQ Sidebar Layout */
.faq-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 6rem;
    align-items: start;
}

@media (max-width: 1200px) {
    .faq-with-sidebar {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.faq-sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 120px !important;
    align-self: start !important;
    height: auto !important;
    overflow: visible !important;
    z-index: 10 !important;
}

.page-cta-sidebar {
    background: #000;
    color: #fff;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cta-sidebar .cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.page-cta-sidebar p {
    font-size: 1.05rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem;
}

.page-cta-sidebar .btn-primary,
.page-cta-sidebar .btn-large {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: var(--accent-framboise, #e61c5d) !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    padding: 1.2rem 2rem !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(230, 28, 93, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.page-cta-sidebar .btn-primary:hover,
.page-cta-sidebar .btn-large:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15) !important;
}

/* Global Paragraph Reset */
p,
.lead-text,
.hero-lead,
.faq-answer {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #000 !important;
}

.enjeux-section {
    background: #ffffff;
    position: relative;
    z-index: 5;
}

.enjeux-section .grid-item {
    background: rgba(248, 248, 250, 0.5);
    /* Un gris très léger pour détacher sur le blanc */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.enjeux-section .grid-item:hover {
    background: #ffffff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-visual-stellar {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    /* Make container fully transparent to blend with light page bg */
    border: none !important;
    box-shadow: none !important;
    overflow: hidden;
}

#stellar-canvas {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    /* Un léger effet de lueur interne pour le canvas */
    box-shadow: inset 0 0 50px rgba(230, 28, 93, 0.05);
}

@media (max-width: 1200px) {
    .hero-split {
        display: block !important;
    }

    .hero-visual-stellar {
        order: -1;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 2rem 0 !important;
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        overflow: hidden !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .hero-stellar-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        mix-blend-mode: darken !important;
        border-radius: 20px !important;
        background: transparent !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        pointer-events: auto !important;
    }
}

/* Adjusting Hero Split spacing */
.hero-split {
    margin-top: 4rem;
}

/* Hero Image Styling - Blends beautifully with light page backgrounds and dissolves edges smoothly */
.hero-stellar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: darken !important;
    /* Blends the illustration's background directly with page background */
    opacity: 1 !important;
    background: transparent !important;
    /* Reset white glass bg */
    border: none !important;
    /* Reset glass border */
    box-shadow: none !important;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}



/* Accordion Grid Layout - Version Fusion (Silk + Reveal) */
.grid-layout {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 4rem;
}

.grid-item {
    flex: 1;
    min-width: 0;
    height: 700px;
    padding: 2.5rem;
    transition: flex 1s cubic-bezier(0.2, 1, 0.2, 1),
        background 0.5s ease,
        box-shadow 0.5s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.grid-layout:hover .grid-item {
    flex: 0.8;
    opacity: 0.7;
}

.grid-layout .grid-item:hover {
    flex: 2.5;
    opacity: 1;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

/* --- LUXE GRID ITEMS (UNVEILING WINDOW) --- */
.grid-item {
    flex: 1;
    min-width: 0;
    height: 700px;
    padding: 2.5rem;
    transition: flex 0.8s cubic-bezier(0.2, 1, 0.2, 1),
        background 0.5s ease,
        box-shadow 0.5s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.grid-layout:hover .grid-item:not(:hover) {
    flex: 0.8;
    opacity: 0.7;
}

.grid-layout .grid-item:hover {
    flex: 2.5;
    opacity: 1;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

.grid-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    width: 100%;
    min-height: 4.5rem;
    /* RÉSERVE L'ESPACE : Empêche le titre de pousser le texte en bougeant */
    transition: font-size 0.5s ease, color 0.5s ease;
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
}

@media(max-width:1200px) {
    .grid-item h3 {
        line-height: 1;
    }
}

.grid-item:hover h3 {
    font-size: 1.7rem;
    color: var(--primary-color);
}

.grid-item p {
    opacity: 0;
    width: 400px;
    /* LARGEUR FIXE : Aucun mot ne saute à la ligne */
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-top: 1.5rem;
    pointer-events: none;
}

.grid-item:hover p {
    opacity: 0.8;
    transform: translateY(0);
}

.item-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.1;
    margin-bottom: 1rem;
}

.link-arrow {
    margin-top: auto;
    font-weight: 600;
    color: var(--accent-framboise);
    opacity: 0;
    transition: all 0.4s ease;
}

.grid-item:hover .link-arrow {
    opacity: 1;
}

@media (min-width: 1201px) {

    /* Si le conteneur n\'a pas exactement 2 fiches, la 1ère fiche est ouverte par défaut quand non-survolé */
    .grid-layout:not(:hover):not(:has(.grid-item:first-child:nth-last-child(2))) .grid-item:first-child {
        flex: 2.5;
        opacity: 1;
        background: #fff;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    }

    .grid-layout:not(:hover):not(:has(.grid-item:first-child:nth-last-child(2))) .grid-item:first-child h3 {
        font-size: 1.7rem;
        color: var(--primary-color);
    }

    .grid-layout:not(:hover):not(:has(.grid-item:first-child:nth-last-child(2))) .grid-item:first-child p {
        opacity: 0.8;
        transform: translateY(0);
    }

    .grid-layout:not(:hover):not(:has(.grid-item:first-child:nth-last-child(2))) .grid-item:first-child .link-arrow {
        opacity: 1;
    }

    /* Les autres fiches sont rétrécies quand le conteneur n\'est pas survolé */
    .grid-layout:not(:hover):not(:has(.grid-item:first-child:nth-last-child(2))) .grid-item:not(:first-child) {
        flex: 0.8;
        opacity: 0.7;
    }

    /* Si exactement 2 fiches : les deux sont ouvertes par défaut, côte à côte, statiques et sans animation */
    .grid-layout:has(.grid-item:first-child:nth-last-child(2)) .grid-item {
        flex: 1 !important;
        opacity: 1 !important;
        background: #fff !important;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05) !important;
        transition: none !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(2)) .grid-item h3 {
        font-size: 1.4rem !important;
        color: inherit !important;
        transition: none !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(2)) .grid-item p {
        opacity: 0.8 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(2)) .grid-item .link-arrow {
        opacity: 1 !important;
        transition: none !important;
    }

    /* ==========================================================================
       SI EXACTEMENT 5 FICHES (Ligne 1 : Statique de 2 fiches à 50% / Ligne 2 : Accordéon de 3 fiches)
       ========================================================================== */
    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) {
        flex-wrap: wrap !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item {
        height: 600px;
        /* Fallback si JS désactivé */
    }

    /* --- LIGNE 1 (Fiches 1, 2) - STATIQUE ET SANS HOVER --- */
    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item:nth-child(-n+2) {
        flex: 1 1 calc(50% - 0.75rem) !important;
        opacity: 1 !important;
        background: #fff !important;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05) !important;
        transition: none !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item:nth-child(-n+2) h3 {
        font-size: 1.4rem !important;
        color: inherit !important;
        transition: none !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item:nth-child(-n+2) p {
        opacity: 0.8 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item:nth-child(-n+2) .link-arrow {
        opacity: 1 !important;
        transition: none !important;
    }

    /* --- LIGNE 2 (Fiches 3, 4, 5) - ACCORDÉON ISOLE --- */
    /* Par défaut ou quand la ligne 2 n'est pas survolée : 03 ouvert, 04 et 05 fermés */
    .grid-layout:has(.grid-item:first-child:nth-last-child(5)):not(:has(.grid-item:nth-child(n+3):hover)) .grid-item:nth-child(3) {
        flex: 2.5 1 calc(60% - 1.8rem) !important;
        opacity: 1 !important;
        background: #fff !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)):not(:has(.grid-item:nth-child(n+3):hover)) .grid-item:nth-child(3) h3 {
        font-size: 1.7rem !important;
        color: var(--primary-color) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)):not(:has(.grid-item:nth-child(n+3):hover)) .grid-item:nth-child(3) p {
        opacity: 0.8 !important;
        transform: translateY(0) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)):not(:has(.grid-item:nth-child(n+3):hover)) .grid-item:nth-child(3) .link-arrow {
        opacity: 1 !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)):not(:has(.grid-item:nth-child(n+3):hover)) .grid-item:nth-child(4),
    .grid-layout:has(.grid-item:first-child:nth-last-child(5)):not(:has(.grid-item:nth-child(n+3):hover)) .grid-item:nth-child(5) {
        flex: 0.8 1 calc(20% - 0.6rem) !important;
        opacity: 0.7 !important;
    }

    /* Quand un élément de la ligne 2 est survolé */
    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item:nth-child(n+3):hover {
        flex: 2.5 1 calc(60% - 1.8rem) !important;
        opacity: 1 !important;
        background: #fff !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item:nth-child(n+3):hover h3 {
        font-size: 1.7rem !important;
        color: var(--primary-color) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item:nth-child(n+3):hover p {
        opacity: 0.8 !important;
        transform: translateY(0) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)) .grid-item:nth-child(n+3):hover .link-arrow {
        opacity: 1 !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(5)):has(.grid-item:nth-child(n+3):hover) .grid-item:nth-child(n+3):not(:hover) {
        flex: 0.8 1 calc(20% - 0.6rem) !important;
        opacity: 0.7 !important;
    }

    /* Si exactement 6 fiches : 2 lignes de 3 fiches (Ligne 1 : 01 open par défaut ; Ligne 2 : 06 open par défaut) */
    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) {
        flex-wrap: wrap !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item {
        height: 600px;
        /* Fallback si JS désactivé */
    }

    /* --- LIGNE 1 (Fiches 1, 2, 3) --- */
    /* Quand aucun élément de la ligne 1 n'est survolé : 01 est ouvert, 02 et 03 sont fermés */
    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(-n+3):hover)) .grid-item:nth-child(1) {
        flex: 2.5 1 calc(60% - 1.8rem) !important;
        opacity: 1 !important;
        background: #fff !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(-n+3):hover)) .grid-item:nth-child(1) h3 {
        font-size: 1.7rem !important;
        color: var(--primary-color) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(-n+3):hover)) .grid-item:nth-child(1) p {
        opacity: 0.8 !important;
        transform: translateY(0) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(-n+3):hover)) .grid-item:nth-child(1) .link-arrow {
        opacity: 1 !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(-n+3):hover)) .grid-item:nth-child(2),
    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(-n+3):hover)) .grid-item:nth-child(3) {
        flex: 0.8 1 calc(20% - 0.6rem) !important;
        opacity: 0.7 !important;
    }

    /* Quand un élément de la ligne 1 est survolé */
    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item:nth-child(-n+3):hover {
        flex: 2.5 1 calc(60% - 1.8rem) !important;
        opacity: 1 !important;
        background: #fff !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item:nth-child(-n+3):hover h3 {
        font-size: 1.7rem !important;
        color: var(--primary-color) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item:nth-child(-n+3):hover p {
        opacity: 0.8 !important;
        transform: translateY(0) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item:nth-child(-n+3):hover .link-arrow {
        opacity: 1 !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):has(.grid-item:nth-child(-n+3):hover) .grid-item:nth-child(-n+3):not(:hover) {
        flex: 0.8 1 calc(20% - 0.6rem) !important;
        opacity: 0.7 !important;
    }

    /* --- LIGNE 2 (Fiches 4, 5, 6) --- */
    /* Quand aucun élément de la ligne 2 n'est survolé : 06 est ouvert, 04 et 05 sont fermés */
    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(n+4):hover)) .grid-item:nth-child(6) {
        flex: 2.5 1 calc(60% - 1.8rem) !important;
        opacity: 1 !important;
        background: #fff !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(n+4):hover)) .grid-item:nth-child(6) h3 {
        font-size: 1.7rem !important;
        color: var(--primary-color) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(n+4):hover)) .grid-item:nth-child(6) p {
        opacity: 0.8 !important;
        transform: translateY(0) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(n+4):hover)) .grid-item:nth-child(6) .link-arrow {
        opacity: 1 !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(n+4):hover)) .grid-item:nth-child(4),
    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):not(:has(.grid-item:nth-child(n+4):hover)) .grid-item:nth-child(5) {
        flex: 0.8 1 calc(20% - 0.6rem) !important;
        opacity: 0.7 !important;
    }

    /* Quand un élément de la ligne 2 est survolé */
    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item:nth-child(n+4):hover {
        flex: 2.5 1 calc(60% - 1.8rem) !important;
        opacity: 1 !important;
        background: #fff !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item:nth-child(n+4):hover h3 {
        font-size: 1.7rem !important;
        color: var(--primary-color) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item:nth-child(n+4):hover p {
        opacity: 0.8 !important;
        transform: translateY(0) !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)) .grid-item:nth-child(n+4):hover .link-arrow {
        opacity: 1 !important;
    }

    .grid-layout:has(.grid-item:first-child:nth-last-child(6)):has(.grid-item:nth-child(n+4):hover) .grid-item:nth-child(n+4):not(:hover) {
        flex: 0.8 1 calc(20% - 0.6rem) !important;
        opacity: 0.7 !important;
    }
}

@media (max-width: 1200px) {
    .hero-breadcrumb {
        display: none;
        /* Cache initialement sur mobile pour éviter le flash avant l'action JS */
        font-size: 0.8rem !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        font-weight: 500 !important;
    }

    .hero-breadcrumb.breadcrumb-moved {
        display: block !important;
        text-align: center !important;
        background: #000 !important;
        color: rgba(255, 255, 255, 0.5) !important;
        opacity: 1;
        margin: 0 !important;
        /* Supprimer les marges externes pour enlever la bande blanche */
        margin-left: -1rem !important;
        /* Étendre d'un bord à l'autre de l'écran */
        margin-right: -1rem !important;
        /* Étendre d'un bord à l'autre de l'écran */
        padding: 2rem 1rem !important;
        /* Marges intérieures équilibrées */
        box-sizing: border-box !important;
        width: auto !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        /* Ligne de séparation subtile avec le CTA */
    }

    .hero-breadcrumb.breadcrumb-moved a {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .hero-breadcrumb.breadcrumb-moved a:hover {
        color: #fff !important;
    }

    .hero-breadcrumb.breadcrumb-moved span {
        color: #fff !important;
    }

    p,
    .lead-text,
    .hero-lead,
    .faq-answer {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        opacity: 1 !important;
    }

    .faq-main-content {
        padding: 2.5rem 0 !important;
        /* Deploy on full width by removing side paddings */
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        min-height: unset !important;
    }

    .faq-section {
        overflow: hidden !important;
        /* Safeguard against any horizontal shifting on mobile */
        padding-bottom: 0 !important;
        /* Retirer la marge sous la FAQ mobile pour fusionner avec le footer */
    }

    .faq-with-sidebar {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .faq-sidebar {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        /* Assurer zéro espace en bas */
    }

    .page-cta-sidebar {
        background: #000 !important;
        color: #fff !important;
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-bottom: none !important;
        /* Supprimer la bordure basse pour fusionner de façon transparente avec le footer */
        border-radius: 0 !important;
        /* Retirer les arrondis pour épouser les bords de l'écran */
        padding: 3rem 1rem !important;
        /* Conserver de belles marges intérieures confortables */
        margin-left: -1rem !important;
        /* S'étend sur toute la largeur de l'écran */
        margin-right: -1rem !important;
        /* S'étend sur toute la largeur de l'écran */
        margin-bottom: 0 !important;
        /* Assurer zéro espace en bas */
        box-sizing: border-box !important;
        width: auto !important;
    }

    .page-cta-sidebar .cta-title {
        color: #fff !important;
    }

    .page-cta-sidebar p {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .page-cta-sidebar .btn-large {
        width: 100% !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .grid-layout {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1rem !important;
        padding: 1.5rem 0 !important;
        scrollbar-width: none;
        /* Firefox */
        -webkit-overflow-scrolling: touch;
        /* iOS Momentum */
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .grid-layout::-webkit-scrollbar {
        display: none;
        /* Safari & Chrome */
    }

    .grid-layout:hover .grid-item {
        flex: 0 0 82% !important;
        opacity: 1 !important;
    }

    .grid-item {
        flex: 0 0 90% !important;
        width: 90% !important;
        max-width: 90% !important;
        scroll-snap-align: center !important;
        height: auto !important;
        min-height: 400px !important;
        /* Premium tall card proportion */
        box-sizing: border-box;
        opacity: 1 !important;
        box-shadow: none;
        padding: 1.5rem !important;
        /* Spacious padding while maximizing content area */
    }

    .grid-item p {
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        max-height: none !important;
        opacity: 1 !important;
    }

    /* Responsive Luxury Table */
    .comparison-wrapper {
        padding: 1rem !important;
        /* Maximize visible area on mobile */
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        margin-top: 2rem !important;
        overflow-x: auto !important;
        /* Forces internal horizontal scroll on mobile */
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        /* Smooth inertia scrolling */
        box-sizing: border-box !important;
        width: auto !important;
    }

    .luxury-table {
        min-width: 580px !important;
        /* Prevents text columns from squeezing */
    }

    .luxury-table th,
    .luxury-table td {
        padding: 1.2rem 0.8rem !important;
        /* Tight clean padding for mobile readable text */
        font-size: 0.95rem !important;
        /* Perfect typography scale */
    }

    .luxury-table thead th {
        position: static !important;
        /* Disable sticky on mobile to allow internal scroll wrapper */
    }

    /* Disable hover translation slide shifts on mobile for smooth horizontal swipe */
    .luxury-table tr:hover td:first-child {
        transform: none !important;
    }

    .luxury-table tr:hover td:last-child {
        transform: none !important;
        opacity: 0.8 !important;
    }
}

/* --- AUDIT PAGE SPECIFIC EFFECTS --- */

/* 1. Scanner Line Animation */
.hero-visual-stellar {
    position: relative;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 5;
    animation: scan 4s linear infinite;
    opacity: 0.8;
}

@keyframes scan {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* 2. Radar Visualization */
.radar-section {
    padding: 10rem 0;
    text-align: center;
    border-radius: 60px;
    margin: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.radar-visual-container {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
}

.radar-circle {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle, rgba(230, 28, 93, 0.05) 0%, transparent 70%);
}

.radar-circle::before,
.radar-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.radar-circle::before {
    width: 200px;
    height: 200px;
}

.radar-circle::after {
    width: 100px;
    height: 100px;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: conic-gradient(from 0deg, var(--primary-color) 0deg, transparent 90deg);
    border-radius: 100% 0 0 0;
    transform-origin: bottom right;
    animation: rotate-radar 4s linear infinite;
    opacity: 0.3;
}

@keyframes rotate-radar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.radar-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
    animation: blink-point 2s infinite;
}

.radar-point.p1 {
    top: 30%;
    left: 40%;
    animation-delay: 0.5s;
}

.radar-point.p2 {
    top: 60%;
    left: 70%;
    animation-delay: 1.2s;
}

.radar-point.p3 {
    top: 20%;
    left: 80%;
    animation-delay: 2.5s;
}

@keyframes blink-point {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 3. Steps Methodology */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.step-card:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.step-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.2;
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.step-card:hover .step-num {
    color: var(--primary-color);
    opacity: 1;
}

.step-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 1rem !important;
    opacity: 0.7;
}

/* --- COMPARISON TABLE HOVER EFFECTS --- */
.luxury-table tr {
    transition: background 0.4s ease;
}

.luxury-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.luxury-table td {
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1),
        color 0.4s ease,
        opacity 0.4s ease;
}

/* La colonne Zdigital (gauche) glisse vers la droite */
.luxury-table tr:hover td:first-child {
    transform: translateX(15px);
    color: var(--primary-color);
    font-weight: 500;
}

/* La colonne "À éviter" (droite) s'estompe légèrement */
.luxury-table tr:hover td:last-child {
    transform: translateX(-5px);
    opacity: 0.4;
}

/* Optionnel : ajout d'une petite puce devant la colonne Zdigital au survol */
.luxury-table td:first-child::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.4s ease;
    color: var(--primary-color);
}

.luxury-table tr:hover td:first-child::before {
    opacity: 1;
    left: -5px;
}

/* --- STICKY TABLE HEADER --- */
.luxury-table thead th {
    position: sticky;
    top: 80px;
    /* Aligné sous le header principal du site */
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
}

/* On ajuste le wrapper pour que le sticky fonctionne correctement uniquement sur desktop */
@media (min-width: 1201px) {
    .comparison-wrapper {
        overflow: visible;
        /* Indispensable pour le position: sticky */
    }
}

/* --- RUPTURE SECTIONS --- */

/* 1. Marquee Rupture */
.marquee-rupture {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 4rem 0;
}

.marquee-rupture .marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-rupture span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    opacity: 0.2;
    padding-right: 4rem;
    letter-spacing: 2px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 2. Statement Dark */
.statement-dark {
    background: #000;
    padding: 12rem 0;
    text-align: center;
    color: #fff;
    margin: 6rem 2rem;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
}

.monumental-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    /* Légèrement réduit pour le 2 lignes */
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(230, 28, 93, 0.4);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .statement-dark {
        padding: 6rem 2rem;
        margin: 4rem 1rem;
    }

    .stat-num {
        font-size: 3.5rem;
    }
}

/* Garantie du passage à la ligne pour le Statement */
.monumental-text span {
    display: block;
    margin-top: 0.5rem;
}

/* Ajustement de la largeur pour les zones de texte stratégiques (Page Builder) */
.dynamic-content-width {
    max-width: 70%;
}

@media (max-width: 1200px) {
    .dynamic-content-width {
        max-width: 100%;
        /* On repasse en pleine largeur sur mobile */
    }
}

/* =========================================
   BACKGROUND HERO (MIX VOILE + PARTICULES)
   ========================================= */
.hero {
    position: relative;
    overflow: hidden;
}

.hero .hero-container {
    position: relative;
    z-index: 10;
}

.veil-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.veil-wrapper-1 {
    position: absolute;
    animation: hero-spin 20s linear infinite;
    will-change: transform;
}

.veil-wrapper-2 {
    position: absolute;
    animation: hero-spin 30s linear infinite reverse;
    will-change: transform;
}

.liquid-veil {
    width: 80vw;
    height: 80vw;
    background: linear-gradient(45deg, rgba(230, 28, 93, 0.32), rgba(237, 83, 64, 0.24));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: hero-morph 8s ease-in-out infinite alternate;
    will-change: border-radius;
    filter: blur(20px);
}

.liquid-veil-2 {
    width: 90vw;
    height: 90vw;
    background: linear-gradient(-45deg, rgba(0, 255, 170, 0.5), rgba(230, 28, 93, 0.25));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: hero-morph 12s ease-in-out infinite alternate-reverse;
    will-change: border-radius;
    filter: blur(30px);
}

@keyframes hero-morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes hero-spin {}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 100000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.contact-modal[aria-hidden="false"] .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.modal-desc {
    color: #fff !important;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group:nth-child(5),
.contact-form .form-messages,
.contact-form .btn-full {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-framboise);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.form-messages {
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
}

.form-messages.success {
    color: #4ade80;
}

.form-messages.error {
    color: #ef4444;
}

/* Mobile 100% full screen */
@media (max-width: 1024px) {
    .modal-content {
        max-width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
    }

    .modal-title {
        font-size: 2rem;
    }
}

/* ============================================================
   COOKIE CONSENT BANNER (GLASSMORPHIC LUXURY)
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99999;
    max-width: 420px;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cookie-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
    text-align: left !important;
}

.cookie-text a {
    color: #e61c5d !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

.cookie-text a:hover {
    color: #fff !important;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

.btn-cookie {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-accept {
    background: #e61c5d;
    border: 1px solid #e61c5d;
    color: #fff;
}

.btn-cookie-accept:hover {
    background: #fff;
    border-color: #fff;
    color: #e61c5d;
    box-shadow: 0 0 15px rgba(230, 28, 93, 0.4);
}

.btn-cookie-decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

.btn-cookie-decline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

@media (max-width: 576px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

/* ============================================================
   EDITORIAL / LEGAL & PRIVACY PAGES
   ============================================================ */
.legal-main {
    padding-top: 120px;
    min-height: 100vh;
    background: #0a0a0a;
    color: #fff;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 2rem;
}

.legal-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-breadcrumb a:hover {
    opacity: 0.8;
}

.legal-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
}

.legal-title em {
    color: #e61c5d;
    font-style: italic;
}

.legal-line {
    width: 60px;
    height: 2px;
    background: #e61c5d;
    margin-bottom: 3rem;
}

.legal-glass-panel {
    background: rgba(15, 15, 15, 0.45);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
    max-width: 100% !important;
}

.legal-glass-panel p,
.legal-glass-panel strong {
    color: rgba(255, 255, 255, 0.85) !important;
}

.legal-glass-panel strong {
    color: #ffffff !important;
}

.legal-glass-panel a {
    color: #e61c5d !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-glass-panel a:hover {
    opacity: 0.8;
}

.legal-section {
    margin-bottom: 3.5rem;
}

.legal-section:last-of-type {
    margin-bottom: 1.5rem;
}

.legal-subtitle {
    font-family: 'Outfit', sans-serif;
    color: #e61c5d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.legal-action-container {
    text-align: center;
    margin-top: 4rem;
}

/* ============================================================
   FOOTER ACCORDION (MOBILE ONLY)
   ============================================================ */
.accordion-chevron {
    display: none;
    /* Hidden on desktop / tablet */
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        text-align: left !important;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.2rem 0;
    }

    .footer-col:last-of-type {
        border-bottom: none;
    }

    .collapsible-col .footer-label {
        cursor: pointer;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0 !important;
        user-select: none;
    }

    .accordion-chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .collapsible-col.active .accordion-chevron {
        transform: rotate(180deg);
    }

    .footer-collapse-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
        opacity: 0;
    }

    .collapsible-col.active .footer-collapse-content {
        max-height: 350px;
        opacity: 1;
        margin-top: 0.8rem;
    }

    .footer-grid .footer-col:not(.collapsible-col) .footer-label {
        margin-bottom: 1rem;
    }

    /* Hide CONTACT and SOCIAL titles in the last column on mobile, and center content */
    .footer-grid .footer-col:last-of-type {
        text-align: center !important;
        padding-top: 1.5rem;
    }

    .footer-grid .footer-col:last-of-type .footer-label {
        display: none !important;
    }

    .footer-grid .footer-col:last-of-type .footer-contact-info {
        margin-bottom: 1.5rem;
    }
}

/* ============================================================
   GOOGLE RECAPTCHA V3 CUSTOM STYLING
   ============================================================ */
/* Masquer le badge flottant officiel de Google */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Mentions légales Google reCAPTCHA sous le bouton d'envoi */
.contact-form .recaptcha-terms {
    grid-column: 1 / -1;
    /* Occupe toute la largeur du formulaire en grille */
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.5;
}

.contact-form .recaptcha-terms a {
    color: #e61c5d !important;
    /* Force la couleur rose d'accentuation */
    text-decoration: underline !important;
    font-weight: 500;
    transition: opacity 0.2s;
    display: inline !important;
}

.contact-form .recaptcha-terms a:hover {
    opacity: 0.8;
}