/* ==========================================
   * VESPERA - Production Ready CSS
   * Multi-platform, cross-browser, responsive
   * ========================================== */

/* CSS Variables - Dynamiques depuis l'admin */
:root {
    /* Couleurs de base - Style Professionnel Vespera */
    --primary-color: #C9A15D;   /* Doré sobre */
    --secondary-color: #A6824D;  /* Doré profond */
    --accent-color: #90E0EF;    /* Bleu électrique très léger (Tech) */
    --bg-color: #121214;        /* Anthracite profond */
    --surface-color: #1A1A1E;   /* Surface anthracite plus légère */
    --text-color: #F8F9FA;      /* Blanc cassé pur */
    --text-secondary: #94A3B8;  /* Gris ardoise (bleu/gris) */
    --heading-color: #E2E8F0;   /* Titres teintés bleu/gris */

    /* Couleurs calculées */
    --text-main: var(--text-color);
    --text-sec: var(--text-secondary);

    /* Golden Palette - Version Sobre */
    --gold-light: #E6D2B5;
    --gold-mid: #C9A15D;
    --gold-dark: #8E6E3C;
    --accent-1: rgba(201, 161, 93, 0.08);
    --accent-2: rgba(144, 224, 239, 0.06); /* Accent Tech Bleu Électrique */

    /* Golden Gradient — Version raffinée */
    --gold-gradient: linear-gradient(135deg,
            #E6D2B5 0%,
            #C9A15D 40%,
            #A6824D 70%,
            #8E6E3C 100%
        );
    --border-radius: 20px;
    --max-width: 1400px;

    /* Titanium Glassmorphism */
    --glass-bg: rgba(18, 18, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 24px;
    --glass-saturate: 180%;
}

/* Reset and Base Styles - Cross-browser compatibility */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    width: 100%;
}

body {
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-sec);
    line-height: 1.6;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: auto;
}

h1, h2, h3, h4, h5, h6, .logo-text, .cta, .submit-btn, .section-label {
    font-family: 'Arial', sans-serif;
}

/* Film Grain - Supprime le côté trop lisse/IA */
body::after {
    content: "";
    position: fixed;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 300%;
    pointer-events: none;
    z-index: 9999;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.12;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    30% {
        transform: translate(-10%, 5%);
    }

    50% {
        transform: translate(5%, 10%);
    }

    70% {
        transform: translate(10%, -5%);
    }

    90% {
        transform: translate(-5%, 5%);
    }
}

@media (max-width: 768px) {
    body::after {
        opacity: 0.05; /* Plus subtil sur mobile */
        animation: none; /* Désactivation du mouvement continu pour économiser les ressources au scroll */
    }
}

@keyframes blurReveal {
    0% {
        opacity: 0;
        filter: blur(15px);
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

.reveal-blur {
    animation: blurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

::selection {
    background: var(--gold-mid);
    color: var(--bg-color);
}

/* Refined Scrollbar */
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-mid);
    border-radius: 10px;
}

/* Portal Glow */
.portal-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0.6;
}

a,
button,
input,
textarea {
    cursor: pointer;
}

/* Base pointer setup */
body,
a,
button {
    cursor: auto;
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
    .navbar {
        background: rgba(15, 15, 15, 0.95);
    }

    .bento-item {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-menu-overlay {
        background: rgba(5, 5, 5, 0.98);
    }
}

/* ==========================================
   * CROSS-BROWSER COMPATIBILITY
   * ========================================== */

/* Firefox specific fixes */
@-moz-document url-prefix() {
    .hero-video {
        opacity: 0.2;
    }

    .text-gradient {
        background: var(--gold-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: var(--gold-mid);
    }

    .split-text {
        opacity: 1 !important;
        animation: none !important;
        transform: translateY(0) !important;
    }

    /* Firefox scrollbar styling */
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--gold-mid) var(--bg-color);
    }

    *::-webkit-scrollbar {
        width: thin;
    }

    *::-webkit-scrollbar-track {
        background: var(--bg-color);
    }

    *::-webkit-scrollbar-thumb {
        background: var(--gold-mid);
        border-radius: 3px;
    }
}

/* Safari specific fixes */
@supports (-webkit-appearance: none) {
    .hero-video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .bento-item::before {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .split-text {
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    /* Safari scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-track {
        background: var(--bg-color);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--gold-mid);
        border-radius: 4px;
    }
}

/* Edge/Chrome specific fixes */
@supports (-ms-ime-align: auto) {
    .hero-video {
        opacity: 0.3;
    }
}

/* Modern browsers with CSS Grid support */
@supports (display: grid) {

    .bento-grid,
    .extended-bento {
        display: grid;
    }
}

/* Fallback for older browsers */
@supports not (display: grid) {

    .bento-grid,
    .extended-bento {
        display: flex;
        flex-wrap: wrap;
    }

    .bento-item {
        flex: 1 1 300px;
        min-width: 250px;
    }
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.preloader.hidden {
    transform: translateY(-100%);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.preloader-text {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(20px);
    animation: preloaderText 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.preloader-logo {
    opacity: 0;
    transform: translateY(20px);
    animation: preloaderText 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.preloader-progress {
    font-size: 1rem;
    color: var(--text-sec);
    font-variant-numeric: tabular-nums;
}

@keyframes preloaderText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1,
h2,
h3,
h4,
.title {
    font-family: 'Playfair Display', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: -0.04em;
}

h1 { 
    font-family: 'Playfair', serif !important;
    font-weight: 700; 
    letter-spacing: 0.02em; 
}


.text-gradient {
    background: var(--gold-gradient);
    background-size: 200% auto;
    animation: shineText 6s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--heading-color); /* Fallback blue/grey tint */
}

@keyframes shineText {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Split-text: pure CSS animation, no JS dependency */
.split-text {
    display: inline-block;
    opacity: 0;
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 1.5s;
    transform: translateY(20px);
}

.split-text.delay-1 {
    animation-delay: 1.7s;
}

.split-text.delay-2 {
    animation-delay: 1.9s;
}

/* Ensure text is visible after animation */
.split-text {
    animation-fill-mode: forwards !important;
}

/* Premium Scroll Reveal - Blur + Fade + Translate */
.reveal-blur {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(40px) scale(0.98);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.reveal-blur.appear {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

/* Kinetic Hero Typography */
.kinetic-title {
    display: inline-block;
    will-change: transform, letter-spacing, filter;
    transition: letter-spacing 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.anim-ready .kinetic-title {
    animation: breathingTitle 8s ease-in-out infinite alternate;
}

@keyframes breathingTitle {
    0% {
        letter-spacing: -0.02em;
        transform: scale(1);
    }

    100% {
        letter-spacing: 0.05em;
        transform: scale(1.02);
    }
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .text-gradient {
        color: var(--gold-light) !important;
        background: none !important;
        -webkit-text-fill-color: var(--gold-light) !important;
    }
}

/* Force visibility for critical text */
.hero h1 .split-text {
    color: var(--gold-light) !important;
    -webkit-text-fill-color: var(--gold-light) !important;
    background: none !important;
}

/* Override for browsers that support background-clip */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .hero h1 .split-text {
        background: var(--gold-gradient) !important;
        background-size: 200% auto !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
        animation: heroFadeUp 1s ease forwards, shineText 6s linear infinite !important;
    }
}

/* Background Effects */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, transparent 80%);
    z-index: -2;
    pointer-events: none;
}

/* Mesh Gradients */
.halo {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
}

.halo-1 {
    top: -200px;
    left: -200px;
    background: var(--accent-1);
}

.halo-2 {
    bottom: -200px;
    right: -200px;
    background: var(--accent-2); /* Tech Electric Blue */
}

/* Mobile Halo Optimization - Better visibility */
@media (max-width: 900px) {
    .halo {
        width: 400px !important;
        height: 400px !important;
        filter: blur(100px) !important;
        opacity: 0.8 !important;
        animation: mobileHaloPulse 4s ease-in-out infinite;
    }

    .halo-1 {
        top: -100px !important;
        left: -100px !important;
        background: rgba(229, 229, 234, 0.1) !important;
        opacity: 0.9 !important;
    }

    .halo-2 {
        bottom: -100px !important;
        right: -100px !important;
        background: rgba(161, 161, 166, 0.08) !important;
        opacity: 0.9 !important;
        animation-delay: 2s !important;
    }

    /* Mobile halo animation */
    @keyframes mobileHaloPulse {

        0%,
        100% {
            transform: scale(1) translate(0, 0);
            opacity: 0.8;
        }

        50% {
            transform: scale(1.2) translate(0, 0);
            opacity: 0.6;
        }
    }

    /* Enhanced mobile halo visibility */
    .halo-1::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(229, 229, 234, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        filter: blur(50px);
        animation: mobileHaloInnerPulse 3s ease-in-out infinite;
    }

    .halo-2::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(161, 161, 166, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        filter: blur(50px);
        animation: mobileHaloInnerPulse 3s ease-in-out infinite;
        animation-delay: 1.5s;
    }

    @keyframes mobileHaloInnerPulse {

        0%,
        100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.6;
        }

        50% {
            transform: translate(-50%, -50%) scale(1.3);
            opacity: 0.3;
        }
    }
}

/* Desktop halo animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1) translate(0, 0);
        opacity: 0.6;
    }
}

/* Floating Navbar — Titanium Glassmorphism */
.navbar {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    /* Brushed titanium glass */
    background:
        repeating-linear-gradient(92deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.008) 3px,
            rgba(255, 255, 255, 0.008) 4px),
        var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) brightness(1.05);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) brightness(1.05);
    display: flex;
    justify-content: center;
    padding: 12px 24px;
    /* Spécular titanium : liseré haut brillant, bord bas sombre */
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 -1px 0 rgba(0, 0, 0, 0.2) inset,
        0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1 !important;
    visibility: visible !important;
}

.navbar.scrolled {
    top: 16px;
    width: 85%;
    max-width: 900px;
    background:
        repeating-linear-gradient(92deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.012) 3px,
            rgba(255, 255, 255, 0.012) 4px),
        rgba(14, 14, 18, 0.80);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 -1px 0 rgba(0, 0, 0, 0.3) inset,
        0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.28);
    padding: 10px 24px;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.logo-text {
    font-family: 'Playfair Display', serif !important; 
    color: var(--text-color);
    font-weight: 900;
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    opacity: 1;
    visibility: visible;
}

.logo-circle {
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle.large {
    width: 72px;
    height: 72px;
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    background: var(--gold-gradient);
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(201, 161, 93, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(201, 161, 93, 0.4);
    filter: brightness(1.1);
}

.cta {
    background: var(--gold-gradient);
    color: var(--bg-color);
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(201, 161, 93, 0.2);
}

.cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 8px 24px rgba(201, 161, 93, 0.4);
}

.cta:active,
.submit-btn:active,
.nav-links a:active,
.mobile-link:active,
.magnetic-btn:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s ease;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    z-index: 10001;
    /* Above the overlay */
}

.mobile-menu-btn .menu-line {
    width: 30px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 28, 30, 0.75);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-menu-close {
    position: absolute;
    top: 32px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
}

.mobile-menu-overlay.active .mobile-menu-close {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.3s;
}

.mobile-menu-close:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.12);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.mobile-nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    cursor: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    /* Generous touch target for main menu */
    width: 100%;
}

.mobile-nav-links a:active {
    opacity: 0.5;
    transform: scale(0.95);
}

.mobile-menu-overlay.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(5) {
    transition-delay: 0.5s;
}

/* Sections */
section {
    padding: 120px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Hero Modernized */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 200px;
    overflow: hidden;
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-color: #050505;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.55;
    will-change: transform;
    animation: slowZoomOut 40s linear forwards;
}

@keyframes slowZoomOut {
    0% {
        transform: scale(1.15) translateZ(0);
    }

    100% {
        transform: scale(1.0) translateZ(0);
    }
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    /* Dégradé chaleureux et naturel, évitant tout reflet violet */
    background: radial-gradient(circle at center, rgba(35, 28, 15, 0.45) 0%, rgba(10, 10, 10, 0.85) 60%, rgba(5, 5, 5, 1) 100%);
    z-index: 1;
}

/* Effets de particules légères flottant dans le Hero (Simule les poussières dans les projos) */
.kinetic-dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: drift 60s linear infinite forwards;
    opacity: 0.5;
}

@keyframes drift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 800px 800px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.overflow-hidden {
    display: block;
}

/* Split-text: pure CSS animation, no JS dependency */
.split-text {
    display: inline-block;
    opacity: 0;
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 1.5s;
}

.split-text.delay-1 {
    animation-delay: 1.7s;
}

.split-text.delay-2 {
    animation-delay: 1.9s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-content.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.hero-content.centered .surtitle {
    margin-bottom: 24px;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-content.centered h1 {
    font-size: clamp(4.5rem, 15vw, 10rem);
    line-height: 0.9;
    margin-bottom: 32px;
    max-width: 1200px;
    font-weight: 900;
    letter-spacing: -0.06em;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.5s ease;
    cursor: default;
    text-transform: uppercase;
}

.hero-content.centered h1:hover {
    transform: scale(1.02);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.15), 0 0 80px rgba(255, 255, 255, 0.05);
}

.hero-content.centered .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-sec);
    line-height: 1.6;
    transition: color 0.4s ease, transform 0.4s ease;
}

.hero-content.centered .subtitle:hover {
    color: var(--text-main);
    transform: translateY(-2px);
}

.hero-actions {
    margin-top: 40px;
}

/* Hero CTA — Titanium Brossé */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    /* Brushed titanium surface */
    background:
        repeating-linear-gradient(88deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.012) 2px,
            rgba(255, 255, 255, 0.012) 3px),
        rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top-color: rgba(255, 255, 255, 0.28);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.split-text.delay-3 {
    animation-delay: 2.1s;
}

.scroll-indicator.centered-scroll {
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    flex-direction: column;
    gap: 12px;
}

.scroll-indicator.centered-scroll .scroll-text {
    font-size: 0.7rem;
    opacity: 0.7;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold-light);
    border-radius: 50%;
    animation: scrollMouse 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 12px);
        opacity: 0;
    }
}

.partenaires {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partenaires h3 {
    text-align: center;
    color: var(--text-sec);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.marquee {
    display: flex;
    width: calc(200%);
}

.marquee-left {
    animation: marquee 25s linear infinite;
}

.marquee-right {
    animation: marquee-reverse 30s linear infinite;
}

.marquee-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.marquee-content.with-logos {
    gap: 20px;
}

.partner-logo {
    height: 50px;
    max-width: 180px;
    object-fit: contain;
    /* Convert images to glowing white silhouette */
    filter: brightness(0) invert(1) opacity(0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    padding: 0 30px;
}

.partner-logo:hover {
    /* Convert to golden color on hover */
    filter: brightness(0) invert(1) sepia(100%) saturate(350%) hue-rotate(5deg) brightness(1.1) opacity(1);
    transform: scale(1.05);
}

.marquee-content span {
    font-weight: 800;
    font-size: 1.5rem;
    color: #4A4A4A;
    opacity: 0.5;
    transition: all 0.3s ease;
    user-select: none;
    text-transform: uppercase;
    padding: 0 40px;
}

@media (hover: none) and (pointer: coarse) {
    .marquee-content span {
        opacity: 0.8;
        color: #E0E0E0;
    }
}

.marquee-content span:hover {
    color: #FFFFFF;
    opacity: 1;
}

.outline-text span {
    color: transparent !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3) !important;
}

@media (hover: none) and (pointer: coarse) {
    .outline-text span {
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6) !important;
    }
}

.outline-text span:hover {
    -webkit-text-stroke: 1px #FFFFFF !important;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Section Labels */
.section-label {
    display: inline-block;
    color: var(--accent-color);
    opacity: 0.8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    cursor: default;
}

.section-label:hover {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.18em;
}

.section-label.align-left {
    text-align: left !important;
}

.section-label.align-center {
    text-align: center !important;
}

.section-label.align-right {
    text-align: right !important;
}

/* Philosophie Section - Style Élégant et Moderne */
.philosophie-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--surface-color) 100%);
    position: relative;
    overflow: hidden;
}

.philosophie-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 161, 93, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatHalo 10s ease-in-out infinite;
}

.philosophie-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.philosophie-header {
    text-align: center;
    margin-bottom: 80px;
}

.philosophie-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophie-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.philosophie-block {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.philosophie-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.philosophie-block:hover::before {
    transform: scaleX(1);
}

.philosophie-block:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 161, 93, 0.3);
}

.philosophie-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 16px;
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.01em;
}

.philosophie-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
    margin: 0;
}

.philosophie-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.philosophie-bullets li {
    position: relative;
    padding-left: 28px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-main);
    font-weight: 400;
    transition: all 0.3s ease;
}

.philosophie-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--gold-gradient);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(201, 161, 93, 0.3);
    transition: all 0.3s ease;
}

.philosophie-bullets li:hover {
    color: var(--gold-light);
    transform: translateX(5px);
}

.philosophie-bullets li:hover::before {
    width: 12px;
    height: 12px;
    top: 6px;
    box-shadow: 0 0 20px rgba(201, 161, 93, 0.6);
}

@media (max-width: 768px) {
    .philosophie-bullets {
        gap: 10px;
    }
    
    .philosophie-bullets li {
        font-size: 0.9rem;
        padding-left: 24px;
    }
    
    .philosophie-bullets li::before {
        width: 6px;
        height: 6px;
        top: 7px;
    }
    
    .philosophie-bullets li:hover::before {
        width: 8px;
        height: 8px;
        top: 6px;
    }
}

.philosophie-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.philosophie-image {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.philosophie-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 161, 93, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.philosophie-icon {
    font-size: 4rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .philosophie-section {
        padding: 80px 20px;
    }
    
    .philosophie-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .philosophie-text {
        order: 2;
    }
    
    .philosophie-visual {
        order: 1;
    }
}

@media (max-width: 768px) {
    .philosophie-section {
        padding: 60px 20px;
    }
    
    .philosophie-header {
        margin-bottom: 50px;
    }
    
    .philosophie-content {
        gap: 40px;
    }
    
    .philosophie-text {
        gap: 25px;
    }
    
    .philosophie-block {
        padding: 20px;
    }
    
    .philosophie-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .philosophie-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .philosophie-image {
        width: 140px;
        height: 140px;
    }
    
    .philosophie-icon {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .philosophie-section {
        padding: 40px 15px;
    }
    
    .philosophie-header {
        margin-bottom: 40px;
    }
    
    .philosophie-content {
        gap: 30px;
    }
    
    .philosophie-text {
        gap: 20px;
    }
    
    .philosophie-block {
        padding: 16px;
    }
    
    .philosophie-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .philosophie-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .philosophie-image {
        width: 120px;
        height: 120px;
    }
    
    .philosophie-icon {
        font-size: 2.5rem;
    }
}

/* Agence Layout - Enhanced Design */
.agence {
    padding: 120px 20px;
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    overflow: hidden;
    background: radial-gradient(ellipse at top, rgba(229, 229, 234, 0.05) 0%, transparent 50%);
}

.agence::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(161, 161, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: floatHalo 8s ease-in-out infinite;
}

@keyframes floatHalo {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

.agence-container {
    position: relative;
    z-index: 2;
}

.agence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.agence-visual {
    position: relative;
    height: 600px;
    margin-top: 20px;
    order: 2;
    perspective: 1000px;
}

.agence-content {
    order: 1;
    padding-right: 20px;
}

.cadre-image {
    position: absolute;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s ease;
    will-change: transform;
    overflow: hidden;
    background: #000;
}

.cadre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.cadre-image:hover img {
    transform: scale(1.05);
}

.img-1 {
    width: 85%;
    height: 65%;
    top: 0;
    left: 0;
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.img-2 {
    width: 70%;
    height: 55%;
    bottom: -20px;
    right: -20px;
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.agence-visual:hover .img-1 {
    filter: grayscale(30%) brightness(0.8) contrast(1.1);
    transform: translateY(-10px) rotate(-1deg) rotateY(5deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.8);
}

.agence-visual:hover .img-2 {
    filter: grayscale(30%) brightness(0.8) contrast(1.1);
    transform: translateY(10px) rotate(1deg) rotateY(-5deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.8);
}

.sticky-content {
    position: sticky;
    top: 15vh;
}

.huge-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
    margin-bottom: 40px;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    filter: drop-shadow(0 2px 4px rgba(201, 161, 93, 0.3));
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 2px 4px rgba(201, 161, 93, 0.3)) brightness(1);
    }
    100% {
        filter: drop-shadow(0 2px 4px rgba(201, 161, 93, 0.5)) brightness(1.1);
    }
}

.huge-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.agence:hover .huge-title::after {
    width: 120px;
}

.agence-text-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.agence-launch-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.launch-intro {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
    font-weight: 300;
}

.launch-value {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    line-height: 1.5;
    color: var(--text-sec);
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.highlight-gold {
    color: var(--gold-mid);
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.launch-list-wrapper {
    margin: 10px 0;
}

.launch-subtitle {
    color: var(--text-main);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    opacity: 0.7;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.clean-list li {
    position: relative;
    padding-left: 40px;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 300;
}

.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 1px;
    background: var(--gold-mid);
}

.quote-block {
    margin: 30px 0;
    padding: 0;
}

.quote-block p {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.3;
    color: var(--gold-light);
    font-weight: 300;
    font-style: normal;
}

.launch-text-secondary {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-sec);
    margin-bottom: 24px;
    font-weight: 300;
}

.launch-conclusion {
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.conclusion-highlight {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 12px;
}

.teasing {
    font-size: 1rem;
    color: var(--text-sec);
    font-weight: 300;
}

.reveal-text {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.6;
    color: var(--text-main);
    position: relative;
    padding-left: 25px;
    border-left: 3px solid var(--gold-mid);
    transition: all 0.5s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.reveal-text:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.6);
    padding-left: 30px;
    transform: translateX(5px);
}

.agence-stats {
    display: flex;
    gap: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: clamp(2.5rem, 3vw, 3.5rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover .stat-number {
    color: #FFFFFF;
    transform: scale(1.06);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--text-main);
}

/* Mobile Optimizations */
@media (max-width: 1024px) {
    .agence {
        padding: 80px 20px;
    }

    .agence-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .agence-visual {
        height: 500px;
        order: 1;
        margin: 0 auto;
    }

    .agence-content {
        order: 2;
        padding-right: 0;
        text-align: center;
    }

    .huge-title {
        text-align: center;
        margin-bottom: 30px;
    }

    .reveal-text {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--gold-mid);
        padding-top: 20px;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .reveal-text:hover {
        padding-left: 0;
        padding-top: 25px;
    }

    .agence-stats {
        justify-content: center;
        gap: 60px;
    }

    .img-1 {
        width: 90%;
        height: 70%;
        top: 0;
        left: 5%;
    }

    .img-2 {
        width: 75%;
        height: 60%;
        bottom: -10px;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .agence {
        padding: 60px 15px;
    }

    .agence-visual {
        height: 400px;
    }

    .huge-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 25px;
    }

    .reveal-text {
        font-size: clamp(1rem, 3vw, 1.3rem);
        padding-top: 15px;
    }

    .agence-stats {
        gap: 40px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    .img-1 {
        width: 95%;
        height: 75%;
        left: 2.5%;
    }

    .img-2 {
        width: 80%;
        height: 65%;
        right: 2.5%;
        bottom: -5px;
    }
}

@media (max-width: 480px) {
    .agence {
        padding: 40px 10px;
    }

    .agence-visual {
        height: 350px;
    }

    .agence-stats {
        gap: 30px;
    }

    .stat-item {
        min-width: 120px;
    }

    .img-1 {
        width: 100%;
        left: 0;
    }

    .img-2 {
        width: 85%;
        right: 0;
    }
}

/* Vision Section */
.vision-section {
    padding: 100px 20px;
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vision-quote {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.vision-quote blockquote {
    font-family: 'Cormorant Garamond', 'Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.35;
    color: var(--text-main);
    font-weight: 300;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 0 60px;
    margin: 0;
    letter-spacing: 0.01em;
    /* Léger text-shadow pour la noblesse */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Grand guillemet typographique d'ouverture */
.vision-quote blockquote::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 8rem;
    font-style: normal;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.06);
    position: absolute;
    top: -30px;
    left: -20px;
    line-height: 1;
    user-select: none;
}

/* Pas de guillemet fermant — plus moderne */
.vision-quote blockquote::after {
    display: none;
}

/* Attribution Léopold Bardin */
.vision-quote blockquote cite {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 28px;
    position: relative;
}

/* Fine ligne avant le nom */
.vision-quote blockquote cite::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    vertical-align: middle;
    margin-right: 12px;
    margin-bottom: 2px;
}


.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.vision-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vision-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    transition: transform 0.7s ease, opacity 0.5s ease;
    filter: grayscale(100%) brightness(0.7);
}

.vision-card:hover .vision-card-bg {
    transform: scale(1.05);
    opacity: 0.3;
    filter: grayscale(30%) sepia(20%) hue-rotate(5deg);
}

.vision-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 30, 0.8) 0%, rgba(17, 18, 20, 0) 0%);
    z-index: 1;
}

.vision-card-content {
    position: relative;
    z-index: 2;
}

.vision-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 229, 234, 0.2);
}

.vision-card:active {
    transform: scale(0.98);
    border-color: var(--gold-mid);
    background: rgba(255, 255, 255, 0.08);
    /* Effet de lumière */
    transition: all 0.2s ease;
}

.vision-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 24px;
    margin-top: 16px;
}

.vision-desc {
    color: var(--text-sec);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vision-list li {
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.5;
    font-weight: 300;
}

.vision-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 15px;
    height: 1px;
    background: var(--gold-mid);
}

.vision-conclusion {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.vision-conclusion p {
    font-size: 1.2rem;
    color: var(--text-sec);
    font-style: italic;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .vision-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .vision-card {
        padding: 24px;
        border-radius: 20px;
        width: 100% !important;
        margin: 0 !important;
        align-self: center !important;
    }

    .vision-card-frame {
        height: 200px;
    }
}

/* Vision Card Refinement - Frame Style */
.vision-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 32px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-card-frame {
    width: 100%;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.vision-card-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-card:hover .vision-card-frame img {
    transform: scale(1.08);
}

/* Gallery Showcase - Architectural Frames */
.gallery-showcase {
    padding: 100px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 30px;
}

.gallery-frame {
    position: relative;
    background: #0D0D0F;
    border-radius: 4px; /* More architectural */
    padding: 15px; /* The 'Cadre' thickness */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.frame-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.9;
}

.gallery-frame:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.gallery-frame:hover img {
    transform: scale(1.08);
    opacity: 1;
}

.frame-main {
    grid-row: span 2;
}

.frame-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gold-mid);
    color: #000;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .gallery-showcase {
        padding: 40px 20px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 24px;
    }
    .gallery-frame {
        height: 300px;
        padding: 10px;
    }
    /* Offset effect for mobile to fill space beautifully */
    .gallery-frame:nth-child(2) {
        width: 85%;
        margin-left: auto;
        transform: rotate(1deg);
    }
    .gallery-frame:nth-child(3) {
        width: 85%;
        margin-right: auto;
        transform: rotate(-1deg);
    }
}

/* Prestations (Apple-like Premium Glassmorphism) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: min-content;
    gap: 24px;
    margin-top: 60px;
}

.bento-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    position: relative;
    overflow: hidden;
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(100%) brightness(0.8);
}

.bento-item:hover .bento-bg {
    transform: scale(1.05);
    opacity: 0.4;
    filter: grayscale(0%) sepia(20%) hue-rotate(5deg);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 30, 0.8) 0%, rgba(17, 18, 20, 0) 0%);
    z-index: 1;
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(229, 229, 234, 0.2);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bento-item:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.1);
    /* Flash de lumière */
    border-color: var(--gold-mid);
    transition: all 0.2s ease;
}

.bento-header {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.bento-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-icon svg {
    stroke: var(--gold-mid);
    width: 24px;
    height: 24px;
    transition: stroke 0.4s ease;
}

.bento-item:hover .bento-icon {
    background: rgba(229, 229, 234, 0.1);
    border-color: rgba(229, 229, 234, 0.3);
    transform: scale(1.05);
}

.bento-item:hover .bento-icon svg {
    stroke: var(--gold-light);
}

.bento-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0;
    transition: color 0.4s ease;
}

.bento-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.bento-desc {
    color: var(--text-sec);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 32px;
    font-weight: 300;
}

.bento-services {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bento-services li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
    font-weight: 300;
    transition: color 0.4s ease;
}

.bento-services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: var(--gold-dark);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.bento-item:hover .bento-services li {
    color: rgba(255, 255, 255, 0.9);
}

.bento-item:hover .bento-services li::before {
    opacity: 1;
    background: var(--gold-mid);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

/* Responsive adjustments for bento grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-item {
        padding: 32px;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-item {
        padding: 24px 20px;
        border-radius: 20px;
    }
}

.staggered-item {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(5px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.staggered-item.appear {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Events Hover Interactive List */
.events-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 160px;
    max-width: var(--max-width, 1400px);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.events-header {
    margin-bottom: 80px;
}

.events-header h2 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    margin-bottom: 16px;
}

.events-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 40px;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--surface-color);
    border-radius: 32px;
    padding: 40px; /* Reduced from 60px */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    min-height: 450px; /* Cap the height a bit */
}

.showcase-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.showcase-item.layout-right {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 700;
}

.showcase-desc {
    font-size: 1.2rem;
    color: var(--text-sec);
    margin-bottom: 30px;
    line-height: 1.6;
}

.showcase-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.meta-tag {
    background: rgba(144, 224, 239, 0.1); /* Utilise l'accent bleu léger */
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-color);
    border: 1px solid rgba(144, 224, 239, 0.2);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.showcase-btn {
    align-self: flex-start;
    padding: 12px 28px;
    border-radius: 100px;
    background: var(--primary-color);
    color: var(--bg-color);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.showcase-item:hover .showcase-btn {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(199, 154, 81, 0.2);
}

.showcase-visual {
    flex: 1; /* Balanced with text */
    width: 100%;
    height: 400px; /* Fixed height for consistency */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.showcase-image-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.showcase-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-item:hover .showcase-image-container img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .showcase-item {
        flex-direction: column !important;
        padding: 30px;
        gap: 40px;
        border-radius: 24px;
    }

    .showcase-visual {
        order: -1;
    }

    .showcase-title {
        font-size: 2rem;
    }
}

.event-image-preview.active #previewImg {
    transform: scale(1);
}

/* Event Modal */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.event-modal.open {
    pointer-events: all;
}

.modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.event-modal.open .modal-bg {
    opacity: 1;
}

.modal-inner {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 80vh;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-modal.open .modal-inner {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.1s;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(25, 25, 28, 0.5);
    /* Titane très sombre */
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 10000;
    cursor: pointer;
    /* En hover:none, autorise le clic */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.modal-close:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.25);
}

/* Announcement Popup */
.announcement-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    visibility: hidden;
}

.announcement-popup.active {
    pointer-events: all;
    visibility: visible;
}

.announcement-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.announcement-popup.active .announcement-overlay {
    opacity: 1;
}

.announcement-inner {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--surface-color, #151311);
    border: 1px solid rgba(199, 154, 81, 0.3);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(199, 154, 81, 0.1);
    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-popup.active .announcement-inner {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.announcement-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary-color, #C79A51);
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.announcement-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.announcement-date {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #FFF0D4;
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: block;
}

.announcement-location {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 24px;
    opacity: 0.9;
    line-height: 1.4;
}

.announcement-location strong {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.announcement-text {
    color: var(--text-secondary, #A6A29E);
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.announcement-cta {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.announcement-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(199, 154, 81, 0.3);
}

.announcement-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
}

.announcement-close:hover {
    color: #FFF;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    gap: 80px;
}

.modal-visual {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-label {
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.modal-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 40px;
}

.modal-meta {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.modal-meta .meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-meta .meta-title {
    color: var(--text-sec);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-meta .meta-value {
    font-size: 1.25rem;
    color: var(--text-main);
}

.modal-desc {
    margin-top: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    white-space: pre-wrap;
    max-width: 650px;
}

.events-exploration {
    text-align: center;
    margin-top: 80px;
}

.explore-btn {
    display: inline-block;
    padding: 20px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
}

.explore-btn span {
    display: inline-block;
    margin-left: 12px;
    transition: transform 0.4s ease;
}

.explore-btn:hover {
    background: var(--text-main);
    color: var(--bg-color);
}

.explore-btn:hover span {
    transform: translateX(10px);
}

/* Contact Layout Upgrade */
.contact {
    padding-bottom: 120px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.contact-desc {
    font-size: 1.125rem;
    color: var(--text-sec);
    margin-bottom: 60px;
    max-width: 400px;
}

.huge-email {
    font-size: clamp(1rem, 3vw, 1.7rem);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    position: relative;
    display: inline-block;
    align-self: flex-start;
    cursor: pointer;
    word-break: break-word;
    /* Prevents overflow penalties gracefully */
}

.huge-email::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--text-main);
    transition: width 0.4s ease;
}

.huge-email:hover::after {
    width: 100%;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.input-group {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px 20px 8px;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.input-group:focus-within {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.3);
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    padding: 0;
}

.input-group input {
    height: 32px;
}

.input-group label {
    position: absolute;
    top: 24px;
    left: 20px;
    color: var(--text-sec);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left top;
    font-size: 1.1rem;
}

.input-group input:focus~label,
.input-group input:valid~label,
.input-group textarea:focus~label,
.input-group textarea:valid~label {
    transform: translateY(-16px) scale(0.75);
    color: var(--gold-mid);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #FFFFFF;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-radius 0.3s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(229, 229, 234, 0.4);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, opacity 0.3s ease;
}

.cursor-hover .cursor-dot {
    width: 60px;
    height: 60px;
    background-color: rgba(229, 229, 234, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0);
}

.cursor-hover-event .cursor-dot {
    width: 90px;
    height: 90px;
    background-color: rgba(255, 255, 255, 1);
    mix-blend-mode: difference;
}

.cursor-hover-event .cursor-outline {
    width: 0px;
    height: 0px;
    border-color: transparent;
    opacity: 0;
}

.cursor-hover-event .cursor-dot::after {
    content: "EXPLORE ↗";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* Text Morphing Cursor */
.cursor-text .cursor-dot {
    width: 4px;
    height: 40px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.95);
    mix-blend-mode: difference;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.cursor-text .cursor-outline {
    width: 0px;
    height: 0px;
    border-color: transparent;
    opacity: 0;
}



/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-sec: #E0E0E0;
        --bg-color: #000000;
    }

    .marquee-content span {
        opacity: 0.8;
    }
}

.footer {
    padding: 100px 40px 40px;
    background: #0A0A0C;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 80px;
}

.footer-brand h2 {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-sec);
    line-height: 1.6;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.link-group a {
    display: flex;
    align-items: center;
    min-height: 44px;
    /* Touch target */
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.link-group a:hover {
    opacity: 0.6;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {

    /* More gentle mobile optimizations - don't break everything */
    /* Expert UX/UI Mobile Optimizations */
    .navbar {
        width: calc(100% - 40px);
        padding: 10px 16px;
        top: 16px;
        background: rgba(22, 22, 26, 0.75);
        backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
        -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
        border: 1px solid var(--glass-border);
        border-radius: 100px;
        transform: translateX(-50%);
    }

    .navbar.scrolled {
        top: 8px;
        padding: 8px 16px;
    }

    .nav-logo {
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

    .logo-circle {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .nav-links,
    .cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        /* More visible on mobile */
        border-radius: 50%;
        cursor: pointer;
    }

    .mobile-menu-btn .menu-line {
        width: 20px;
        height: 2px;
        border-radius: 2px;
    }

    section {
        padding: 60px 20px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
        justify-content: center;
        min-height: 100svh;
        height: 100svh;
        overflow: hidden;
    }


    .hero-content {
        margin-top: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 32px;
        /* Add safety margins */
    }

    .hero h1 {
        font-size: clamp(52px, 14vw, 84px) !important;
        max-width: 95vw;
        margin-bottom: 24px;
        line-height: 1.1;
        letter-spacing: -0.02em;
        text-align: center;
        text-transform: uppercase;
        font-weight: 900;
        /* Architectural look */
        word-break: normal;
        color: var(--text-color);
        animation: blurReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero .subtitle {
        font-size: 0.85rem;
        max-width: 90%;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.7);
        text-align: center;
        margin: 0 auto;
        opacity: 0;
        animation: blurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    }

    .hero .surtitle {
        font-size: 0.7rem;
        margin-bottom: 16px;
        letter-spacing: 0.3em;
        text-align: center;
        color: var(--primary-color);
        opacity: 0;
        animation: blurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    }

    .hero-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 24px;
    }

    .hero-cta {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 0.95rem;
        text-align: center;
    }

    .scroll-indicator {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
    }

    .partenaires {
        padding: 40px 0;
    }

    .partenaires h3 {
        font-size: 0.65rem;
        margin-bottom: 24px;
    }

    .marquee-content span {
        font-size: 1.2rem !important;
        padding: 0 16px;
    }

    /* =====================
       SECTION AGENCE - Mobile
       ===================== */
    .agence {
        padding: 0 0 30px !important;
        max-width: 100vw !important;
        overflow-x: hidden;
    }

    .agence-container {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        overflow: visible;
    }

    .agence-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }

    /* Image bannière = plein écran bord-à-bord */
    /* On affiche les deux images avec un bel effet de superposition mobile */
    .agence-visual {
        width: 100% !important;
        margin-left: 0 !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0 40px !important;
        order: 1;
        margin-top: 20px;
    }

    .cadre-image {
        position: relative !important;
        width: 85% !important;
        height: auto !important;
        aspect-ratio: 16/10;
        border-radius: 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
        display: block !important;
    }

    .img-1 {
        z-index: 1 !important;
        align-self: flex-start;
    }

    .img-2 {
        margin-top: -80px !important;
        align-self: flex-end;
        width: 75% !important;
        z-index: 4 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    /* Le dégradé cinématique s'adapte à la pile d'images */
    .agence-visual::after {
        display: none;
    }

    /* Le contenu texte passe sous l'image avec du respir */
    .agence-content {
        padding: 60px 24px 48px;
        border-left: none;
        position: static;
        order: 2;
        max-width: 100%;
        overflow: hidden;
        text-align: left;
    }

    .huge-title {
        font-size: clamp(1.9rem, 7.5vw, 2.6rem);
        margin-bottom: 20px;
        line-height: 1.25;
        letter-spacing: -0.01em;
        white-space: normal;
        text-align: left;
    }

    .huge-title .title-line {
        display: block;
    }

    .agence-label {
        display: block;
        text-align: left;
        margin-top: -14px;
        margin-bottom: 14px;
    }

    .reveal-text {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.85);
        overflow-wrap: break-word;
        word-break: normal;
        /* Better for reading */
    }

    /* Stats en grille 2 colonnes spacieuses */
    .agence-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 40px;
    }

    .stat-item {
        padding: 24px 0;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
        cursor: auto;
    }

    .stat-item:last-child {
        border-right: none;
    }

    .stat-number,
    .stat-title {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 2.4rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--text-main);
        text-shadow: none;
        display: block;
    }

    .stat-label {
        font-family: 'Inter', sans-serif;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 400;
        margin-top: 4px;
    }

    /* =====================
    /* =====================
       SECTION ARSENAL (Bento) - Mobile Swipe Carousel
       ===================== */
    .prestations {
        padding: 40px 0;
    }

    .prestations>.section-label,
    .arsenal-label {
        display: block;
        padding: 0;
        margin-bottom: 20px;
        text-align: left;
    }

    /* Indicateur "glisser pour explorer" */
    .prestations::after {
        display: none;
    }

    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        margin: 32px 0;
    }

    .bento-grid::-webkit-scrollbar {
        display: none;
    }

    .bento-large,
    .bento-medium,
    .bento-small,
    .bento-item {
        flex: 1 1 100%;
        width: 100%;
        scroll-snap-align: none;
        grid-column: auto !important;
        grid-row: auto !important;
        min-height: auto;
        height: auto;
        /* Entrance animation */
        opacity: 0;
        transform: translateY(24px) scale(0.97);
        transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Quand staggered-item est animé par l'observer JS */
    .bento-item.appear {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* Stagger sur les enfants */
    .bento-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    .bento-item:nth-child(2) {
        transition-delay: 0.15s;
    }

    .bento-item:nth-child(3) {
        transition-delay: 0.25s;
    }

    .bento-item:nth-child(4) {
        transition-delay: 0.35s;
    }

    .bento-item:nth-child(5) {
        transition-delay: 0.45s;
    }

    /* Dernier item avec padding-right pour voir qu'il y en a d'autres */
    .bento-item:last-child {
        margin-right: 0;
    }

    .bento-item {
        position: relative;
        padding: 24px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.09);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.07);
        overflow: hidden;
        /* Gradient lumière interne subtil */
    }

    /* Effet de glow spot en haut à gauche de chaque card */
    .bento-item::before {
        content: '';
        position: absolute;
        top: -30px;
        left: -30px;
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    /* Liseré gradient animé sur le bord haut */
    .bento-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        border-radius: 1px;
        animation: cardShimmer 3s ease-in-out infinite;
    }

    @keyframes cardShimmer {

        0%,
        100% {
            opacity: 0;
            transform: scaleX(0.5);
        }

        50% {
            opacity: 1;
            transform: scaleX(1);
        }
    }

    /* Stagger du shimmer */
    .bento-item:nth-child(2)::after {
        animation-delay: 1s;
    }

    .bento-item:nth-child(3)::after {
        animation-delay: 2s;
    }

    .bento-item:nth-child(4)::after {
        animation-delay: 0.5s;
    }

    .bento-item:active {
        transform: scale(0.96) !important;
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: all 0.15s ease;
    }

    /* Sur mobile les listes sont visibles sans hover */
    .bento-services {
        display: flex !important;
        opacity: 1 !important;
        max-height: none !important;
    }

    .bento-services li {
        opacity: 1 !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .bento-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .bento-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
    }

    .bento-icon svg {
        width: 22px;
        height: 22px;
    }

    .bento-item h3 {
        margin-top: 0;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .bento-item p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .bento-reveal-list li {
        font-size: 0.85rem;
        margin-bottom: 6px;
        padding-left: 16px;
    }

    .events-section {
        padding: 80px 20px;
    }

    .events-header {
        margin-bottom: 32px;
        text-align: left;
    }

    .events-header h2,
    .contact-info h2 {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        line-height: 1.25;
        letter-spacing: -0.01em;
        text-align: left;
    }

    .events-header p {
        text-align: left;
        font-size: 0.95rem;
    }

    .showcase-item {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 32px;
        padding: 32px 24px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 24px;
        margin-bottom: 24px;
    }

    .showcase-visual {
        order: -1;
        width: 100%;
    }

    .showcase-image-container {
        aspect-ratio: 16 / 9;
    }

    .showcase-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.25;
        letter-spacing: -0.01em;
        margin-bottom: 16px;
    }

    .showcase-desc {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .showcase-meta {
        margin-bottom: 24px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .contact {
        padding: 60px 20px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
    }

    .contact-info {
        align-items: flex-start;
        padding-bottom: 32px;
        margin-bottom: 32px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        position: relative;
    }

    /* Liseré titanium décoratif */
    .contact-info::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 40px;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent);
    }

    /* Titre h2 */
    .contact-info h2 {
        text-align: left !important;
        font-size: clamp(2rem, 8vw, 2.8rem) !important;
        line-height: 1.25;
        letter-spacing: -0.01em;
        margin-bottom: 12px;
    }

    /* Section label contact */
    .contact-info .section-label {
        margin-bottom: 20px;
    }

    .contact-desc {
        margin-bottom: 24px;
        text-align: left;
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.65;
        color: var(--text-sec);
    }

    /* Email énorme redesign */
    .huge-email {
        font-size: clamp(0.95rem, 4.5vw, 1.4rem);
        text-align: left;
        align-self: flex-start;
        font-weight: 600;
        letter-spacing: 0.05em;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top-color: rgba(255, 255, 255, 0.16);
        border-radius: 12px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: block;
        width: 100%;
        text-align: center;
    }

    .huge-email:active {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.2);
        transform: scale(0.98);
    }

    /* Formulaire — champs titanium */
    .contact-form {
        gap: 20px;
    }

    .input-group {
        padding: 20px 16px 8px;
    }

    .submit-btn {
        min-height: 54px;
        /* Large touch target for conversion */
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Global Mobile Image Rule */
    img {
        max-width: 100%;
        height: auto !important;
    }

    /* Disable hover effects that might be sticky on mobile */
    .bento-item:hover,
    .vision-card:hover {
        transform: none;
    }

    .bento-item:active,
    .vision-card:active {
        transform: scale(0.98);
    }

    .input-group input,
    .input-group textarea {
        font-size: 16px;
        padding: 10px 0;
        color: rgba(255, 255, 255, 0.95);
    }

    .input-group label {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.35);
        letter-spacing: 0.02em;
    }

    .input-group:focus-within label,
    .input-group input:focus~label,
    .input-group input:valid~label,
    .input-group textarea:focus~label,
    .input-group textarea:valid~label {
        color: rgba(255, 255, 255, 0.55);
    }

    .mobile-nav-links {
        gap: 20px;
    }

    .mobile-nav-links a {
        font-size: 1.6rem;
    }

    .explore-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }

    /* Bouton submit — Titanium brossé */
    .submit-btn {
        padding: 16px;
        font-size: 0.85rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        font-weight: 600;
        background:
            repeating-linear-gradient(88deg,
                transparent,
                transparent 2px,
                rgba(255, 255, 255, 0.015) 2px,
                rgba(255, 255, 255, 0.015) 3px),
            rgba(240, 240, 245, 1);
        color: #0A0A0C;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 14px;
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.6) inset,
            0 -1px 0 rgba(0, 0, 0, 0.15) inset,
            0 4px 20px rgba(0, 0, 0, 0.35);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        width: 100%;
    }

    .submit-btn:active {
        transform: scale(0.97);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.4) inset,
            0 2px 8px rgba(0, 0, 0, 0.4);
        background: rgba(220, 220, 228, 1);
    }



    .modal-content-grid {
        grid-template-columns: 1fr;
        overflow-y: auto;
        padding-bottom: 20px;
        gap: 20px;
        max-height: 80vh;
    }

    .modal-inner {
        width: 95%;
        height: 90vh;
        margin: 0 auto;
    }

    .modal-visual {
        min-height: 200px;
        height: auto;
        border-radius: var(--border-radius);
        overflow: hidden;
    }

    .modal-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 20px;
    }

    .modal-meta {
        flex-direction: column;
        gap: 20px;
        padding-top: 24px;
    }

    .modal-desc {
        margin-top: 20px;
        font-size: 1rem;
    }

    .footer {
        padding: 0 0 24px;
        /* Liseré titanium spécular en haut */
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        position: relative;
    }

    /* Trait lumineux titanium au top */
    .footer::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 20px;
        right: 20px;
        height: 1px;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.25) 30%,
                rgba(210, 212, 220, 0.15) 60%,
                transparent);
    }

    /* Bloc brand — identité forte en haut */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
        padding-bottom: 0;
    }

    .footer-brand {
        text-align: left;
        padding: 36px 20px 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-brand h2 {
        font-size: 1.4rem;
        font-weight: 800;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        /* Titanium gradient text */
        background: var(--gold-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 10px;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.3);
        line-height: 1.6;
    }

    /* Colonnes de liens */
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        text-align: left;
        padding: 0 0 8px;
    }

    .link-group {
        padding: 24px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .link-group:nth-child(1),
    .link-group:nth-child(2) {
        border-right: none;
    }

    .link-group:nth-child(1) {
        border-right: 1px solid rgba(255, 255, 255, 0.04);
    }

    .link-group h4 {
        font-size: 0.65rem;
        letter-spacing: 0.18em;
        color: rgba(255, 255, 255, 0.25);
        margin-bottom: 16px;
        font-weight: 600;
    }

    .link-group a {
        font-size: 0.95rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 12px;
        transition: color 0.2s ease;
        display: block;
    }

    .link-group a:active {
        color: #ffffff;
    }

    /* Légal — 3ème groupe en pleine largeur */
    .link-group:last-child {
        grid-column: span 2;
        text-align: left;
        border-right: none;
        border-bottom: none;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        padding: 20px 20px 8px;
    }

    .link-group:last-child h4 {
        display: none;
        /* on cache le titre "Légal" */
    }

    .link-group:last-child a {
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.25);
        margin-bottom: 0;
        margin-right: 20px;
        display: inline;
    }

    .link-group:last-child a:active {
        color: rgba(255, 255, 255, 0.6);
    }
}

/* Hide interaction specifics on strictly touch devices and fix Bento visibility */
@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    a,
    button,
    .showcase-item,
    .modal-close,
    .nav-links a {
        cursor: auto !important;
    }

    .event-image-preview {
        display: none !important;
    }

    /* Perfectly natural text flow on mobile for bento cards */
    .bento-item .bento-content p {
        opacity: 1 !important;
        height: auto !important;
        margin-bottom: 16px !important;
        pointer-events: auto;
    }

    .bento-item .bento-reveal-list {
        opacity: 1 !important;
        max-height: none !important;
        transform: translateY(0) !important;
        pointer-events: auto;
        margin-top: 0 !important;
    }

    .bento-item .bento-content h3 {
        transform: none !important;
    }
}