/* ============================================
   ARSEau - Main Stylesheet
   Glassmorphism + Modern Animations
   Palette: Blues, Blanc, Vert, Ocre
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600&family=Playfair+Display:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    /* Couleurs principales - Cahier de charges */
    --bleu-fonce: #003B6D;
    --bleu-principal: #0077B6;
    --bleu-clair: #00B4D8;
    --bleu-tres-clair: #90E0EF;
    --bleu-pale: #CAF0F8;
    --blanc: #FFFFFF;
    --vert: #2E7D32;
    --vert-clair: #4CAF50;
    --ocre: #D4A843;
    --ocre-clair: #F0D68A;

    /* Neutres */
    --gris-fonce: #1A1A2E;
    --gris: #4A4A5A;
    --gris-clair: #8E8E9E;
    --gris-tres-clair: #F0F2F5;
    --noir: #0A0A1A;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-bg-strong: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 59, 109, 0.15);
    --glass-blur: blur(16px);

    /* Typographies */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1240px;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Header v3 — Nouvelles variables */
    --bleu-profond: #001B3A;
    --bleu-royal: #0056A0;
    --bleu-vif: #00D4FF;
    --cyan-glow: rgba(0, 212, 255, 0.15);
    --vert-niger: #0DAF42;
    --vert-niger-fonce: #0A8C35;
    --or: #D4A843;
    --or-clair: #F5D780;
    --orange-niger: #E05A14;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--gris-fonce);
    background: var(--blanc);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    margin-bottom: 1rem;
    color: var(--gris);
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.6s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bleu-principal), var(--bleu-clair));
    color: var(--blanc);
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 119, 182, 0.5);
}

.btn-secondary {
    background: var(--glass-bg-strong);
    color: var(--blanc);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--bleu-principal);
    border: 2px solid var(--bleu-principal);
}

.btn-outline:hover {
    background: var(--bleu-principal);
    color: var(--blanc);
    transform: translateY(-3px);
}

/* ---------- Section Title ---------- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bleu-principal);
    margin-bottom: 15px;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
    content: '';
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--bleu-principal), var(--bleu-clair));
    border-radius: 2px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gris-clair);
    font-size: 1.05rem;
}

/* ============================================
   HEADER v3.0 — 3-Tier Aquatic Immersive
   Tier 1: Top Bar | Tier 2: Logo Hero | Tier 3: Navbar
   ============================================ */

/* ── TIER 1 — TOP BAR ── */
.tier-topbar {
    background: var(--bleu-profond);
    position: relative;
    z-index: 1002;
    border-bottom: 1px solid rgba(0, 180, 216, 0.1);
}

.tier-topbar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bleu-clair), var(--or), var(--bleu-clair), transparent);
    opacity: 0.3;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.78rem;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.75);
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

a.topbar-contact-item:hover {
    color: #fff;
    background: rgba(0, 180, 216, 0.1);
}

.topbar-contact-icon {
    width: 22px; height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(0, 119, 182, 0.1));
    color: var(--bleu-clair);
    font-size: 0.62rem;
    flex-shrink: 0;
}

.topbar-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 2px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-socials {
    display: flex;
    gap: 3px;
}

.topbar-social-link {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    transition: all 0.35s var(--ease-out-expo);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar-social-link:hover {
    color: #fff;
    background: var(--bleu-principal);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.4);
}

.topbar-lang {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    padding: 2px;
    gap: 1px;
}

.topbar-lang-btn {
    padding: 4px 14px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.45);
    background: transparent;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.topbar-lang-btn.active {
    background: linear-gradient(135deg, var(--bleu-principal), var(--bleu-clair));
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 119, 182, 0.35);
}

.topbar-a11y {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.topbar-a11y:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}


/* ── TIER 2 — LOGO HERO BAND ── */
.tier-logo {
    position: relative;
    background: linear-gradient(180deg, var(--bleu-profond) 0%, var(--bleu-fonce) 50%, #00304D 100%);
    overflow: hidden;
    z-index: 1001;
}

/* Bande tricolore Niger */
.niger-tricolor {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    display: flex;
    z-index: 5;
}

.niger-tricolor span:nth-child(1) { flex: 1; background: var(--orange-niger); }
.niger-tricolor span:nth-child(2) { flex: 1; background: var(--blanc); }
.niger-tricolor span:nth-child(3) { flex: 1; background: var(--vert-niger); }

/* Canvas eau animé */
#waterCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.logo-band {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 0 24px;
    gap: 32px;
}

/* Cadres dorés pour logos */
.logo-frame {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.logo-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(145deg, var(--or), var(--or-clair), var(--or), rgba(212, 168, 67, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
}

.logo-frame::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 168, 67, 0.20);
    animation: logoRingPulse 4s ease-in-out infinite;
}

@keyframes logoRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.04); opacity: 0.6; }
}

.logo-frame-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 36px rgba(0, 0, 0, 0.2),
        0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.logo-frame-inner:hover {
    transform: scale(1.06);
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.04),
        0 14px 45px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(0, 180, 216, 0.12);
}

.logo-frame-inner img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

/* Identité centrale */
.logo-center-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.logo-republique-text {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--or-clair);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
}

.logo-republique-text .star {
    font-size: 0.6rem;
    animation: starTwinkle 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(245,215,128,0.5));
}

.logo-republique-text .star:last-child { animation-delay: 1.5s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.7) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.4) rotate(15deg); filter: drop-shadow(0 0 8px rgba(245,215,128,0.8)); }
}

.logo-golden-line {
    width: 80px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--or), var(--or-clair), var(--or), transparent);
    background-size: 200% 100%;
    margin: 3px 0;
    animation: goldenLineShimmer 3s ease-in-out infinite;
}

@keyframes goldenLineShimmer {
    0% { background-position: -100% 0; opacity: 0.5; }
    50% { background-position: 100% 0; opacity: 1; }
    100% { background-position: 300% 0; opacity: 0.5; }
}

.logo-main-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.logo-main-title .water-letter {
    display: inline-block;
    background: linear-gradient(180deg, var(--bleu-clair), var(--bleu-vif), var(--bleu-clair));
    background-size: 100% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: drop-shadow(0 0 8px rgba(0,212,255,0.3));
}

.logo-main-title .water-letter:nth-child(1) { animation: waterWave 3s ease-in-out infinite 0s; }
.logo-main-title .water-letter:nth-child(2) { animation: waterWave 3s ease-in-out infinite 0.25s; }
.logo-main-title .water-letter:nth-child(3) { animation: waterWave 3s ease-in-out infinite 0.5s; }

@keyframes waterWave {
    0%, 100% { transform: translateY(0) rotate(0deg); background-position: 0% 0%; filter: drop-shadow(0 0 6px rgba(0,212,255,0.2)); }
    25% { transform: translateY(-6px) rotate(-2deg); background-position: 0% 50%; }
    50% { transform: translateY(0) rotate(0deg); background-position: 0% 100%; filter: drop-shadow(0 0 14px rgba(0,212,255,0.5)); }
    75% { transform: translateY(4px) rotate(1deg); background-position: 0% 50%; }
}

.logo-subtitle {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
}

/* Vague entre logo et nav */
.tier-logo-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 25px;
    z-index: 4;
    overflow: hidden;
}

.tier-logo-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wave-fill-1 {
    fill: rgba(255, 255, 255, 0.15);
    animation: waveMove1 5s ease-in-out infinite;
}

.wave-fill-2 {
    fill: var(--blanc);
    animation: waveMove2 7s ease-in-out infinite;
}

@keyframes waveMove1 {
    0%, 100% { d: path("M0 12 C180 20 360 4 540 12 C720 20 900 4 1080 12 C1260 20 1440 4 1440 12 L1440 25 L0 25Z"); }
    50% { d: path("M0 12 C180 4 360 20 540 12 C720 4 900 20 1080 12 C1260 4 1440 20 1440 12 L1440 25 L0 25Z"); }
}

@keyframes waveMove2 {
    0%, 100% { d: path("M0 15 C240 8 480 22 720 15 C960 8 1200 22 1440 15 L1440 25 L0 25Z"); }
    50% { d: path("M0 15 C240 22 480 8 720 15 C960 22 1200 8 1440 15 L1440 25 L0 25Z"); }
}


/* ── TIER 3 — NAVBAR (Sticky) ── */
.tier-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--blanc);
    box-shadow: 0 2px 20px rgba(0, 59, 109, 0.06);
    transition: all 0.4s ease;
}

.tier-navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 59, 109, 0.1);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.tier-navbar .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

/* Mini logo sticky */
.navbar-mini-logo {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s var(--ease-out-expo);
    pointer-events: none;
}

.tier-navbar.scrolled .navbar-mini-logo {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.mini-logo-img {
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: contain;
    border: 1.5px solid rgba(0, 119, 182, 0.15);
    padding: 3px;
    background: #fff;
}

.mini-logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--bleu-fonce);
}

.mini-logo-accent {
    color: var(--bleu-clair);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 18px 18px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gris-fonce);
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 18px; right: 18px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--bleu-principal), var(--bleu-clair));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--ease-out-expo);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.current-menu-item > a::after {
    transform: scaleX(1);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a {
    color: var(--bleu-principal);
}

.nav-chev {
    font-size: 0.55rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.main-nav > ul > li:hover .nav-chev {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* Actions navbar */
.navbar-actions {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-search-btn {
    width: 42px; height: 42px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--gris);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar-search-btn:hover {
    background: rgba(0, 119, 182, 0.06);
    color: var(--bleu-principal);
}

.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bleu-principal) 0%, var(--bleu-clair) 100%);
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    transition: all 0.35s var(--ease-out-expo);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.25);
    position: relative;
    overflow: hidden;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.35);
}

.navbar-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.navbar-cta:hover::before {
    left: 100%;
}

.navbar-cta-icon {
    width: 26px; height: 26px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}


/* ── MEGA DROPDOWN ── */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 300px;
    background: #fff;
    border-radius: 18px;
    padding: 8px;
    box-shadow:
        0 30px 80px rgba(0, 59, 109, 0.14),
        0 10px 25px rgba(0, 59, 109, 0.06),
        0 0 0 1px rgba(0, 59, 109, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease-out-expo);
    z-index: 100;
}

.mega-dropdown::before {
    content: '';
    position: absolute;
    top: -7px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px; height: 14px;
    background: #fff;
    border-top: 1px solid rgba(0, 59, 109, 0.04);
    border-left: 1px solid rgba(0, 59, 109, 0.04);
    border-radius: 3px 0 0 0;
}

.main-nav > ul > li:hover > .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--gris);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.mega-dropdown li a::after {
    display: none;
}

.mega-dropdown li a:hover {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.05), rgba(0, 180, 216, 0.03));
    color: var(--bleu-fonce);
    padding-left: 22px;
}

.mega-dropdown li a .dropdown-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: rgba(0, 119, 182, 0.06);
    color: var(--bleu-principal);
}

.mega-dropdown li a:hover .dropdown-icon {
    background: linear-gradient(135deg, var(--bleu-principal), var(--bleu-clair));
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}


/* ── SEARCH OVERLAY ── */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 16, 36, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 30px; right: 30px;
    width: 50px; height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: rotate(90deg);
}

.search-box {
    width: 90%;
    max-width: 620px;
    text-align: center;
}

.search-box-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
    font-weight: 600;
}

.search-input-row {
    position: relative;
}

.search-input-row input {
    width: 100%;
    padding: 22px 65px 22px 28px;
    border-radius: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.1rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
}

.search-input-row input:focus {
    border-color: rgba(0, 180, 216, 0.4);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 50px rgba(0, 180, 216, 0.08);
}

.search-input-row input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-submit {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 13px;
    border: none;
    background: linear-gradient(135deg, var(--bleu-principal), var(--bleu-clair));
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-submit:hover {
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.5);
    transform: translateY(-50%) scale(1.05);
}


/* ── HAMBURGER ── */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1010;
}

.hamburger-box {
    width: 26px; height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background: var(--bleu-fonce);
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger-line-2 { width: 65%; }

.hamburger.active .hamburger-line-1 {
    transform: translateY(8.75px) rotate(45deg);
}

.hamburger.active .hamburger-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line-3 {
    transform: translateY(-8.75px) rotate(-45deg);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 59, 109, 0.85) 0%,
        rgba(0, 119, 182, 0.7) 50%,
        rgba(0, 180, 216, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 700px;
}

.hero-text .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50px;
    color: var(--blanc);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(25px) scale(0.92);
    transition: none;
}

.hero-slide.active .hero-badge {
    animation: heroBadgeIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.15s forwards;
}

@keyframes heroBadgeIn {
    0% { opacity: 0; transform: translateY(25px) scale(0.92); }
    60% { opacity: 1; transform: translateY(-3px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-text h1 {
    color: var(--blanc);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2), 0 0 60px rgba(0, 119, 182, 0.1);
    perspective: 800px;
}

.hero-text h1 .hword {
    display: inline-block;
    opacity: 0;
    transform: translateY(35px) rotateX(25deg);
    filter: blur(6px);
    transition: none;
}

.hero-slide.active .hero-text h1 .hword {
    animation: heroWordIn 0.65s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: calc(0.3s + var(--w-i, 0) * 0.09s);
}

@keyframes heroWordIn {
    0% { opacity: 0; transform: translateY(35px) rotateX(25deg); filter: blur(6px); }
    50% { opacity: 0.8; filter: blur(1px); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg); filter: blur(0); }
}

.hero-slide:not(.active) .hero-text h1 .hword {
    animation: heroWordOut 0.4s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@keyframes heroWordOut {
    0% { opacity: 1; transform: translateY(0) rotateX(0deg); filter: blur(0); }
    100% { opacity: 0; transform: translateY(-20px) rotateX(-15deg); filter: blur(4px); }
}

.hero-text h1 .hw {
    position: relative;
    font-style: italic;
    text-shadow: 0 0 30px currentColor;
}

.hero-text h1 .hw::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-slide.active .hero-text h1 .hw::after {
    animation: hwUnderline 0.5s cubic-bezier(0.23, 1, 0.32, 1) 1s forwards;
}

@keyframes hwUnderline {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.hw-bleu {
    color: var(--bleu-tres-clair, #90E0EF) !important;
    text-shadow: 0 0 25px rgba(144, 224, 239, 0.5), 0 0 60px rgba(0, 180, 216, 0.2) !important;
}
.hw-bleu::after {
    background: linear-gradient(90deg, rgba(144, 224, 239, 0.6), rgba(0, 180, 216, 0.3)) !important;
}

.hw-or {
    color: var(--ocre-clair, #E8C468) !important;
    text-shadow: 0 0 25px rgba(232, 196, 104, 0.5), 0 0 60px rgba(212, 168, 67, 0.2) !important;
}
.hw-or::after {
    background: linear-gradient(90deg, rgba(232, 196, 104, 0.6), rgba(212, 168, 67, 0.3)) !important;
}

.hw-vert {
    color: var(--vert-clair, #80ED99) !important;
    text-shadow: 0 0 25px rgba(128, 237, 153, 0.5), 0 0 60px rgba(56, 176, 0, 0.2) !important;
}
.hw-vert::after {
    background: linear-gradient(90deg, rgba(128, 237, 153, 0.6), rgba(56, 176, 0, 0.3)) !important;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 550px;
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

.hero-slide.active .hero-text p {
    animation: heroFadeUp 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
}

.hero-slide:not(.active) .hero-text p {
    animation: heroFadeOut 0.35s ease forwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

.hero-slide.active .hero-buttons {
    animation: heroFadeUp 0.7s cubic-bezier(0.23, 1, 0.32, 1) 1s forwards;
}

.hero-slide:not(.active) .hero-buttons {
    animation: heroFadeOut 0.3s ease forwards;
}

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-12px); }
}

.hero-slide:not(.active) .hero-badge {
    animation: heroFadeOut 0.3s ease forwards;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--blanc);
    width: 40px;
    border-radius: 10px;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: var(--blanc);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

/* Floating shapes decoration */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 200px;
    animation-delay: 2s;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 200px;
    right: 400px;
    animation-delay: 4s;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--blanc);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s ease-in-out infinite;
}

/* ============================================
   MISSIONS SECTION
   ============================================ */
.section-missions {
    padding: var(--section-padding);
    background: var(--blanc);
    position: relative;
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.mission-card {
    position: relative;
    padding: 40px 30px;
    border-radius: 24px;
    background: var(--blanc);
    border: 1px solid rgba(0, 59, 109, 0.08);
    text-align: center;
    transition: var(--transition-smooth);
    overflow: hidden;
    group: true;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bleu-principal), var(--bleu-clair));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 59, 109, 0.12);
    border-color: transparent;
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.mission-icon.regulation {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(0, 180, 216, 0.1));
    color: var(--bleu-principal);
}

.mission-icon.qualite {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.1));
    color: var(--vert);
}

.mission-icon.protection {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.1), rgba(240, 214, 138, 0.1));
    color: var(--ocre);
}

.mission-icon.etudes {
    background: linear-gradient(135deg, rgba(0, 59, 109, 0.1), rgba(0, 119, 182, 0.1));
    color: var(--bleu-fonce);
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--bleu-fonce);
}

.mission-card p {
    font-size: 0.9rem;
    color: var(--gris-clair);
    line-height: 1.7;
}

/* ============================================
   MOT DU DIRECTEUR GÉNÉRAL — Prestige Edition V2
   ============================================ */
.section-dg {
    padding: 120px 0 110px;
    background: linear-gradient(160deg, #000d1a 0%, #001224 15%, #001a3a 35%, #002147 55%, #001d3d 75%, #001028 100%);
    background-size: 300% 300%;
    animation: dgBgShift 20s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes dgBgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

#dgCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.dg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.dg-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,168,67,0.10), transparent 70%);
    top: -200px; right: -120px;
    animation: dgGlowFloat 8s ease-in-out infinite;
}
.dg-glow-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,119,182,0.07), transparent 70%);
    bottom: -180px; left: -100px;
    animation: dgGlowFloat 11s ease-in-out infinite reverse;
}

@keyframes dgGlowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(25px, -20px) scale(1.15); opacity: 1; }
}

.section-dg .container { position: relative; z-index: 2; }

.dg-content {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 75px;
    align-items: center;
}

/* ── Photo Column ── */
.dg-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.dg-photo-wrapper {
    position: relative;
    width: 280px;
    height: 350px;
    opacity: 0;
    transform: translateX(-50px) scale(0.9);
}

/* Anneaux dorés rotatifs */
.dg-ring {
    position: absolute;
    inset: -16px;
    border-radius: 30px;
    border: 2px solid transparent;
    background: conic-gradient(from 0deg, rgba(212,168,67,0.55), transparent 25%, rgba(212,168,67,0.3) 50%, transparent 75%, rgba(212,168,67,0.55)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: dgRingSpin 10s linear infinite;
    z-index: 0;
}
.dg-ring-2 {
    inset: -28px;
    border-radius: 38px;
    border-width: 1.5px;
    background: conic-gradient(from 180deg, rgba(0,180,216,0.3), transparent 25%, rgba(0,180,216,0.2) 50%, transparent 75%, rgba(0,180,216,0.3)) border-box;
    animation: dgRingSpin 16s linear infinite reverse;
    opacity: 0.7;
}

@keyframes dgRingSpin {
    to { transform: rotate(360deg); }
}

/* Cadre photo */
.dg-photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: 3px solid rgba(212,168,67,0.30);
    box-shadow:
        0 25px 70px rgba(0,0,0,0.5),
        0 0 50px rgba(212,168,67,0.06),
        inset 0 1px 0 rgba(255,255,255,0.08);
}
.dg-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.dg-photo-wrapper:hover .dg-photo-frame img {
    transform: scale(1.06);
}

/* Coins dorés */
.dg-corner {
    position: absolute;
    width: 35px;
    height: 35px;
    z-index: 5;
    transition: all 0.6s ease;
}
.dg-corner-tl {
    top: -8px; left: -8px;
    border-top: 2.5px solid rgba(212,168,67,0.6);
    border-left: 2.5px solid rgba(212,168,67,0.6);
    border-radius: 8px 0 0 0;
}
.dg-corner-br {
    bottom: -8px; right: -8px;
    border-bottom: 2.5px solid rgba(212,168,67,0.6);
    border-right: 2.5px solid rgba(212,168,67,0.6);
    border-radius: 0 0 8px 0;
}
.dg-photo-wrapper:hover .dg-corner-tl {
    top: -12px; left: -12px;
    border-color: rgba(212,168,67,0.9);
}
.dg-photo-wrapper:hover .dg-corner-br {
    bottom: -12px; right: -12px;
    border-color: rgba(212,168,67,0.9);
}

/* Label sous la photo */
.dg-photo-label {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
}
.dg-photo-label-line {
    width: 35px; height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,0.5));
    border-radius: 1px;
}
.dg-photo-label-line:last-child {
    background: linear-gradient(90deg, rgba(212,168,67,0.5), transparent);
}
.dg-photo-label-text {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(212,168,67,0.7);
    font-family: var(--font-heading);
}

/* ── Text Column ── */
.dg-text-col { color: var(--blanc); }

/* Badge */
.dg-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
    background: rgba(212,168,67,0.06);
    border: 1px solid rgba(212,168,67,0.15);
    border-radius: 50px;
    backdrop-filter: blur(16px);
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(212,168,67,0.85);
    margin-bottom: 26px;
    opacity: 0; transform: translateY(20px);
}
.dg-badge i { font-size: 0.85rem; opacity: 0.7; }

.dg-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(212,168,67,0.85);
    animation: dgDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes dgDotPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.7); box-shadow: 0 0 0 rgba(212,168,67,0); }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 15px rgba(212,168,67,0.35); }
}

/* Titre mot par mot */
.dg-heading {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800; line-height: 1.2;
    margin-bottom: 20px; color: var(--blanc);
    perspective: 700px;
}

.dg-hw {
    display: inline-block;
    opacity: 0;
    transform: translateY(35px) rotateX(25deg);
    filter: blur(6px);
}

.dg-hw-gold {
    background: linear-gradient(135deg, #E8C468 0%, #D4A843 40%, #F0D880 70%, #E8C468 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Grand guillemet */
.dg-quote-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6.5rem; font-weight: 900; line-height: 0.5;
    color: rgba(212,168,67,0.12);
    margin-bottom: -5px;
    opacity: 0; transform: scale(0.4) translateX(-30px);
    user-select: none;
}

/* Citation */
.section-dg .dg-quote {
    font-size: 1.12rem; line-height: 2;
    color: rgba(255,255,255,0.78);
    font-style: italic; position: relative;
    padding-left: 28px;
    border-left: 3px solid rgba(212,168,67,0.35);
    margin-bottom: 32px;
    max-width: 620px;
    opacity: 0; transform: translateY(20px);
}

/* Signature */
.dg-signature {
    margin-bottom: 30px;
    opacity: 0; transform: translateY(15px);
}
.dg-sig-line {
    width: 55px; height: 2.5px;
    background: linear-gradient(90deg, #E8C468, rgba(212,168,67,0.15));
    margin-bottom: 14px;
    transform: scaleX(0); transform-origin: left;
    border-radius: 2px;
}
.section-dg .dg-name {
    font-family: var(--font-heading);
    font-weight: 700; font-size: 1.25rem;
    color: var(--blanc); margin-bottom: 4px;
    letter-spacing: 0.3px;
}
.dg-role {
    font-size: 0.88rem;
    color: rgba(212,168,67,0.8);
    font-weight: 500; letter-spacing: 0.5px;
}

/* Bouton premium */
.dg-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 34px;
    border: 1.5px solid rgba(212,168,67,0.25);
    border-radius: 50px;
    color: rgba(212,168,67,0.9);
    font-size: 0.9rem; font-weight: 600;
    letter-spacing: 0.4px; text-decoration: none;
    background: rgba(212,168,67,0.04);
    backdrop-filter: blur(12px);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0; transform: translateY(15px);
    position: relative; overflow: hidden;
}
.dg-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(212,168,67,0.05));
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.dg-btn:hover {
    border-color: rgba(212,168,67,0.65);
    color: #F0D880;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212,168,67,0.15), 0 0 20px rgba(212,168,67,0.06);
}
.dg-btn:hover::before { opacity: 1; }
.dg-btn i { font-size: 0.8rem; transition: transform 0.35s ease; position: relative; z-index: 1; }
.dg-btn span { position: relative; z-index: 1; }
.dg-btn:hover i { transform: translateX(5px); }

/* ═══════ DG SCROLL REVEAL ORCHESTRA ═══════ */
.dg-revealed .dg-photo-wrapper {
    animation: dgPhotoIn 1.1s cubic-bezier(0.23,1,0.32,1) 0.1s forwards;
}
.dg-revealed .dg-photo-label {
    animation: dgSlideUp 0.6s cubic-bezier(0.23,1,0.32,1) 0.8s forwards;
}
.dg-revealed .dg-badge {
    animation: dgSlideUp 0.6s cubic-bezier(0.23,1,0.32,1) 0.15s forwards;
}
.dg-revealed .dg-hw {
    animation: dgWordIn 0.65s cubic-bezier(0.23,1,0.32,1) forwards;
}
.dg-revealed .dg-hw:nth-child(1) { animation-delay: 0.25s; }
.dg-revealed .dg-hw:nth-child(2) { animation-delay: 0.38s; }
.dg-revealed .dg-hw:nth-child(3) { animation-delay: 0.52s; }
.dg-revealed .dg-hw:nth-child(4) { animation-delay: 0.66s; }
.dg-revealed .dg-hw-gold {
    animation: dgWordGoldIn 0.75s cubic-bezier(0.23,1,0.32,1) forwards;
}
.dg-revealed .dg-quote-mark {
    animation: dgQuoteIn 0.9s cubic-bezier(0.23,1,0.32,1) 0.6s forwards;
}
.dg-revealed .dg-quote {
    animation: dgSlideUp 0.7s cubic-bezier(0.23,1,0.32,1) 0.75s forwards;
}
.dg-revealed .dg-signature {
    animation: dgSlideUp 0.6s cubic-bezier(0.23,1,0.32,1) 0.95s forwards;
}
.dg-revealed .dg-sig-line {
    animation: dgLineGrow 0.6s cubic-bezier(0.23,1,0.32,1) 1.1s forwards;
}
.dg-revealed .dg-btn {
    animation: dgSlideUp 0.6s cubic-bezier(0.23,1,0.32,1) 1.2s forwards;
}

/* ── Keyframes ── */
@keyframes dgPhotoIn {
    0%   { opacity: 0; transform: translateX(-50px) scale(0.9); }
    50%  { opacity: 1; transform: translateX(8px) scale(1.01); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes dgSlideUp {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes dgWordIn {
    0%   { opacity: 0; transform: translateY(35px) rotateX(25deg); filter: blur(6px); }
    50%  { opacity: 0.85; filter: blur(1px); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg); filter: blur(0); }
}
@keyframes dgWordGoldIn {
    0%   { opacity: 0; transform: translateY(35px) rotateX(25deg) scale(0.85); filter: blur(6px); }
    50%  { opacity: 0.9; filter: blur(1px); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg) scale(1); filter: blur(0);
           text-shadow: 0 0 40px rgba(232,196,104,0.25); }
}
@keyframes dgQuoteIn {
    0%   { opacity: 0; transform: scale(0.4) translateX(-30px); }
    40%  { opacity: 0.5; }
    100% { opacity: 1; transform: scale(1) translateX(0); }
}
@keyframes dgLineGrow {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* Gold shimmer on revealed words */
.dg-revealed .dg-hw-gold {
    animation-name: dgWordGoldIn;
}
@keyframes dgGoldShimmer {
    0%   { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.dg-revealed .dg-hw-gold {
    animation: dgWordGoldIn 0.75s cubic-bezier(0.23,1,0.32,1) forwards,
               dgGoldShimmer 3s ease-in-out 1.5s infinite;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .section-dg { padding: 90px 0 80px; }
    .dg-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .dg-photo-col { order: -1; }
    .dg-photo-wrapper { width: 240px; height: 300px; margin: 0 auto; }
    .dg-heading { font-size: 2rem; }
    .section-dg .dg-quote {
        text-align: left;
        margin-left: auto; margin-right: auto;
    }
    .dg-signature {
        display: flex; flex-direction: column; align-items: center;
    }
    .dg-sig-line { transform-origin: center; }
}

@media (max-width: 576px) {
    .section-dg { padding: 70px 0 60px; }
    .dg-photo-wrapper { width: 200px; height: 260px; }
    .dg-heading { font-size: 1.7rem; }
    .section-dg .dg-quote { font-size: 1rem; padding-left: 20px; }
    .dg-glow { display: none; }
    .dg-ring-2 { display: none; }
    .dg-corner { display: none; }
    .dg-quote-mark { font-size: 4rem; }
}

/* ============================================
   ACTUALITÉS — Premium Edition
   ============================================ */
.actu-section {
    padding: 100px 0 110px;
    background: linear-gradient(170deg, #f8fafc 0%, #eef3f8 35%, #e8eff6 65%, #f0f5fa 100%);
    position: relative;
    overflow: hidden;
}

.actu-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 119, 182, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(0, 180, 216, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.actu-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.actu-bg-orb-1 {
    width: 400px; height: 400px;
    background: rgba(0, 119, 182, 0.06);
    top: -100px; right: -80px;
    animation: actuOrbFloat 12s ease-in-out infinite;
}
.actu-bg-orb-2 {
    width: 350px; height: 350px;
    background: rgba(0, 180, 216, 0.04);
    bottom: -80px; left: -60px;
    animation: actuOrbFloat 15s ease-in-out infinite reverse;
}

@keyframes actuOrbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
}

.actu-section .container { position: relative; z-index: 2; }

/* ── Section Header ── */
.actu-header {
    text-align: center;
    margin-bottom: 55px;
}

.actu-h-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 22px;
    background: rgba(0, 119, 182, 0.06);
    border: 1px solid rgba(0, 119, 182, 0.10);
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--bleu-principal);
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(20px);
}

.actu-h-badge i { font-size: 0.78rem; }

.actu-h-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--bleu-principal);
    animation: actuDotPulse 2.5s ease-in-out infinite;
}

@keyframes actuDotPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3); }
}

.actu-h-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--gris-fonce);
    margin-bottom: 18px;
    line-height: 1.2;
    perspective: 600px;
}

.actu-hw {
    display: inline-block;
    opacity: 0;
    transform: translateY(25px) rotateX(15deg);
    filter: blur(4px);
}

.actu-hw-accent {
    color: var(--bleu-principal);
}

.actu-h-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0;
}

.actu-h-line {
    width: 50px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--bleu-principal));
    border-radius: 2px;
}
.actu-h-line:last-child {
    background: linear-gradient(90deg, var(--bleu-principal), transparent);
}

.actu-h-diamond {
    width: 8px; height: 8px;
    background: var(--bleu-principal);
    transform: rotate(45deg);
    border-radius: 2px;
}

.actu-h-desc {
    font-size: 1.05rem;
    color: var(--gris-clair);
    max-width: 480px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(15px);
}

/* ── Cards Grid ── */
.actu-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* ── Card ── */
.actu-c {
    position: relative;
    background: var(--blanc);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 59, 109, 0.06);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(40px);
}

.actu-c:hover {
    transform: translateY(-10px);
    box-shadow:
        0 25px 60px rgba(0, 59, 109, 0.10),
        0 8px 20px rgba(0, 119, 182, 0.06);
    border-color: rgba(0, 119, 182, 0.12);
}

/* Shine effect on hover */
.actu-c-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    z-index: 10;
    pointer-events: none;
    transition: left 0.7s ease;
}
.actu-c:hover .actu-c-shine {
    left: 100%;
}

/* Image area */
.actu-c-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.actu-c-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.actu-c:hover .actu-c-img img {
    transform: scale(1.08);
}

.actu-c-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #e8eff6, #d4e4f0, #c4d8ec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--bleu-clair);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.actu-c:hover .actu-c-placeholder {
    transform: scale(1.08);
}

.actu-c-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 30, 60, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.actu-c:hover .actu-c-img-overlay {
    opacity: 1;
}

/* Category badge */
.actu-c-cat {
    position: absolute;
    top: 16px; left: 16px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bleu-principal);
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Date badge */
.actu-c-date-badge {
    position: absolute;
    top: 16px; right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px 6px;
    background: var(--bleu-principal);
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 59, 109, 0.25);
}

.actu-c-day {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blanc);
    line-height: 1;
}

.actu-c-month {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card body */
.actu-c-body {
    padding: 26px 28px 28px;
}

.actu-c-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
}

.actu-c-title a {
    color: var(--gris-fonce);
    text-decoration: none;
    transition: color 0.3s ease;
}

.actu-c:hover .actu-c-title a {
    color: var(--bleu-principal);
}

.actu-c-excerpt {
    font-size: 0.88rem;
    color: var(--gris-clair);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.actu-c-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bleu-principal);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.actu-c-link svg {
    transition: transform 0.3s ease;
}

.actu-c-link:hover {
    gap: 12px;
    color: var(--bleu-clair);
}

.actu-c-link:hover svg {
    transform: translateX(3px);
}

/* Bottom accent line */
.actu-c-bottom-line {
    height: 3px;
    background: linear-gradient(90deg, var(--bleu-principal), var(--bleu-clair), var(--bleu-principal));
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.actu-c:hover .actu-c-bottom-line {
    transform: scaleX(1);
}

/* ── CTA Footer ── */
.actu-footer {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.actu-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: linear-gradient(135deg, var(--bleu-principal), var(--bleu-clair));
    color: var(--blanc);
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.25);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.actu-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bleu-clair), var(--bleu-principal));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.actu-cta:hover::before { opacity: 1; }
.actu-cta span, .actu-cta i { position: relative; z-index: 1; }

.actu-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 119, 182, 0.3);
    color: var(--blanc);
}

.actu-cta i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.actu-cta:hover i {
    transform: translateX(4px);
}

/* ── Scroll Reveal ── */
.actu-revealed .actu-h-badge {
    animation: actuSlideUp 0.6s cubic-bezier(0.23,1,0.32,1) 0.1s forwards;
}
.actu-revealed .actu-hw {
    animation: actuWordIn 0.6s cubic-bezier(0.23,1,0.32,1) forwards;
}
.actu-revealed .actu-hw:nth-child(1) { animation-delay: 0.15s; }
.actu-revealed .actu-hw:nth-child(2) { animation-delay: 0.3s; }
.actu-revealed .actu-h-divider {
    animation: actuSlideUp 0.5s cubic-bezier(0.23,1,0.32,1) 0.4s forwards;
}
.actu-revealed .actu-h-desc {
    animation: actuSlideUp 0.5s cubic-bezier(0.23,1,0.32,1) 0.5s forwards;
}
.actu-revealed .actu-c {
    animation: actuCardIn 0.7s cubic-bezier(0.23,1,0.32,1) forwards;
    animation-delay: calc(0.4s + var(--card-i, 0) * 0.15s);
}
.actu-revealed .actu-footer {
    animation: actuSlideUp 0.6s cubic-bezier(0.23,1,0.32,1) 1s forwards;
}

@keyframes actuSlideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes actuWordIn {
    0% { opacity: 0; transform: translateY(25px) rotateX(15deg); filter: blur(4px); }
    60% { opacity: 0.9; filter: blur(0.5px); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg); filter: blur(0); }
}
@keyframes actuCardIn {
    0% { opacity: 0; transform: translateY(40px); }
    60% { opacity: 1; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CHIFFRES CLÉS
   ============================================ */
.section-chiffres {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bleu-principal) 0%, var(--bleu-clair) 100%);
    position: relative;
    overflow: hidden;
}

.section-chiffres::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.chiffre-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.chiffre-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
}

.chiffre-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.chiffre-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--blanc);
    line-height: 1;
    margin-bottom: 8px;
}

.chiffre-number .suffix {
    font-size: 1.5rem;
}

.chiffre-label {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ============================================
   ESPACE DOCUMENTATION
   ============================================ */
.section-documentation {
    padding: var(--section-padding);
    background: var(--blanc);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background: var(--gris-tres-clair);
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.doc-card:hover {
    background: var(--blanc);
    border-color: rgba(0, 119, 182, 0.15);
    box-shadow: 0 10px 30px rgba(0, 59, 109, 0.08);
    transform: translateX(5px);
}

.doc-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(0, 180, 216, 0.1));
    color: var(--bleu-principal);
}

.doc-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--bleu-fonce);
}

.doc-info span {
    font-size: 0.8rem;
    color: var(--gris-clair);
}

/* ============================================
   PARTENAIRES
   ============================================ */
.section-partenaires {
    padding: 80px 0;
    background: var(--gris-tres-clair);
    border-top: 1px solid rgba(0, 59, 109, 0.06);
    border-bottom: 1px solid rgba(0, 59, 109, 0.06);
}

.partenaires-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scrollPartners 30s linear infinite;
    width: max-content;
}

.partenaires-slider {
    overflow: hidden;
    margin-top: 40px;
}

.partenaire-item {
    height: 60px;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    background: var(--blanc);
    border-radius: 12px;
    border: 1px solid rgba(0, 59, 109, 0.06);
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-fast);
}

.partenaire-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    box-shadow: 0 5px 20px rgba(0, 59, 109, 0.08);
}

.partenaire-item span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gris);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--gris-fonce);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 59, 109, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    padding: 80px 0 50px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-col h4 {
    color: var(--blanc);
    font-size: 1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--bleu-principal), var(--bleu-clair));
    border-radius: 2px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    height: 45px;
}

.footer-about .footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--blanc);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-info li i {
    color: var(--bleu-clair);
    width: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a::before {
    content: '›';
    color: var(--bleu-clair);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--bleu-clair);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--bleu-principal);
    color: var(--blanc);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
    color: var(--bleu-clair);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-loaded .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

.js-loaded .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ═══ MOBILE BACKDROP ═══ */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 14, 30, 0.6);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ═══ MOBILE MENU — Premium slide-in ═══ */
@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 310px;
        height: 100vh;
        background: var(--blanc);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding: 80px 0 30px;
        overflow-y: auto;
        overflow-x: hidden;
        transition: right 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        padding: 0 10px;
    }

    .main-nav > ul > li {
        border-bottom: 1px solid rgba(0, 59, 109, 0.06);
        position: relative;
    }

    .main-nav > ul > li > a {
        padding: 15px 12px;
        font-size: 0.95rem;
        text-transform: none;
        letter-spacing: 0.2px;
        font-weight: 600;
        justify-content: space-between;
        width: 100%;
        color: var(--gris-fonce);
    }

    .main-nav > ul > li > a::after {
        display: none;
    }

    .main-nav > ul > li > a .nav-chev {
        margin-left: auto;
        font-size: 0.6rem;
        opacity: 0.5;
        transition: transform 0.35s ease, opacity 0.3s ease;
        color: var(--bleu-principal);
    }

    .main-nav > ul > li.mobile-sub-open > a {
        color: var(--bleu-principal);
        background: rgba(0, 119, 182, 0.04);
        border-radius: 10px;
    }

    .main-nav > ul > li.mobile-sub-open > a .nav-chev {
        transform: rotate(180deg);
        opacity: 1;
    }

    /* Sub-menu accordion */
    .main-nav .mega-dropdown {
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        min-width: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
        visibility: visible;
        background: transparent !important;
    }

    .main-nav .mega-dropdown::before {
        display: none !important;
    }

    .mobile-sub-open > .mega-dropdown {
        max-height: 500px;
        opacity: 1;
        padding: 4px 0 8px 0 !important;
    }

    .main-nav .mega-dropdown li {
        width: 100%;
    }

    .main-nav .mega-dropdown li a {
        padding: 10px 10px;
        font-size: 0.85rem;
        border-radius: 8px;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .main-nav .mega-dropdown li a .dropdown-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        border-radius: 6px;
        font-size: 0.6rem;
        flex-shrink: 0;
    }

    .main-nav .mega-dropdown li a:hover,
    .main-nav .mega-dropdown li a:active {
        background: rgba(0, 119, 182, 0.06);
        color: var(--bleu-principal);
    }

    /* Bloquer le hover desktop sur mobile */
    .main-nav > ul > li:hover > .mega-dropdown {
        opacity: 0;
        visibility: hidden;
        transform: none !important;
    }

    .mobile-sub-open > .mega-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hamburger { display: flex; }
}

/* ═══ DROPDOWN ITEM HOVER ENHANCEMENT ═══ */
.mega-dropdown li a {
    position: relative;
    overflow: hidden;
}

.mega-dropdown li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--bleu-principal), var(--bleu-clair));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.mega-dropdown li a:hover::after {
    transform: scaleX(1);
}

.mega-dropdown li a .dropdown-icon {
    transition: all 0.3s ease;
}

.mega-dropdown li a:hover .dropdown-icon {
    transform: scale(1.15) rotate(5deg);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1100px) {
    .main-nav > ul > li > a {
        padding: 16px 12px;
        font-size: 0.92rem;
    }

    .navbar-cta .cta-text { display: none; }
    .navbar-cta { padding: 10px 12px; }
}

@media (max-width: 1024px) {
    .hamburger { display: flex; }
    .navbar-inner { justify-content: space-between; }
    .navbar-mini-logo { display: none !important; }
    .navbar-actions { position: static; }

    .missions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .chiffres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .actu-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dg-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .dg-photo-col {
        justify-self: center;
    }

    .section-dg .dg-quote {
        text-align: left;
        margin-left: auto; margin-right: auto;
    }

    .dg-quote-mark { text-align: center; }
    .dg-sig-line { margin-left: auto; margin-right: auto; transform-origin: center; }
    .dg-signature { text-align: center; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .tier-topbar {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .tier-navbar .navbar-inner {
        justify-content: space-between;
    }

    .navbar-mini-logo {
        display: none !important;
    }

    .navbar-actions {
        position: static;
    }

    .logo-frame {
        width: 120px;
        height: 120px;
    }

    .logo-main-title {
        font-size: 1.7rem;
    }

    .logo-subtitle {
        font-size: 0.62rem;
        letter-spacing: 1.5px;
    }

    .logo-band {
        gap: 18px;
        padding: 20px 0 18px;
    }

    .navbar-cta .cta-text {
        display: none;
    }

    .navbar-cta {
        padding: 10px 12px;
    }

    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-text h1 .hword {
        transform: translateY(20px);
        filter: blur(3px);
    }

    @keyframes heroWordIn {
        0% { opacity: 0; transform: translateY(20px); filter: blur(3px); }
        100% { opacity: 1; transform: translateY(0); filter: blur(0); }
    }

    .slider-arrow {
        display: none;
    }

    .missions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .actu-cards-grid {
        grid-template-columns: 1fr;
    }

    .chiffres-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .dg-photo-wrapper {
        width: 240px;
        height: 300px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 540px) {
    .logo-frame { width: 90px; height: 90px; }
    .logo-main-title { font-size: 1.4rem; }
    .logo-center-identity { gap: 3px; }
    .logo-golden-line { width: 50px; }
    .logo-subtitle { display: none; }
    .logo-band { gap: 12px; padding: 16px 0 14px; }
    .navbar-cta { display: none; }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .chiffres-grid {
        grid-template-columns: 1fr;
    }

    .chiffre-number {
        font-size: 2.2rem;
    }
}


/* ============================================
   HEADER ENHANCEMENTS — v4.0
   ============================================ */

/* ── Scroll Progress Bar ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--bleu-principal), var(--bleu-clair), var(--bleu-vif));
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.4);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
