/* ================================================
   LE CINQ — RÉFORMES (cartes cliquables + pages dédiées)
   + Vidéo de fond section Partenaires
   Hérite des design tokens de style.css
   ================================================ */

/* ================================================
   1. CARTES RÉFORMES CLIQUABLES (index.php)
   Remplace l'ancienne .reforms-list
   ================================================ */
.reforms-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
}

.reform-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1.15rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    color: var(--clr-text-muted);
    overflow: hidden;
    transition:
        background-color 0.35s var(--ease-out-expo),
        border-color 0.35s var(--ease-out-expo),
        transform 0.35s var(--ease-out-expo);
}

/* Liseré or qui apparaît au survol */
.reform-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--clr-gold), var(--clr-green));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out-expo);
}

.reform-card:hover {
    background-color: rgba(122, 158, 126, 0.07);
    border-color: rgba(201, 169, 110, 0.32);
    transform: translateY(-3px);
    color: var(--clr-text);
}

.reform-card:hover::before {
    transform: scaleY(1);
}

.reform-card__num {
    flex-shrink: 0;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    color: var(--clr-gold);
    width: 2.2rem;
    transition: color 0.3s ease;
}

.reform-card:hover .reform-card__num {
    color: var(--clr-gold-light);
}

.reform-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.reform-card__title {
    font-family: var(--font-sans);
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--clr-text);
}

.reform-card__org {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.4rem;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-green);
    padding: 0.25rem 0.6rem;
    background-color: rgba(122, 158, 126, 0.1);
    border: 1px solid rgba(122, 158, 126, 0.2);
    border-radius: 999px;
}

.reform-card__arrow {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--clr-text-muted);
    transition: transform 0.35s var(--ease-out-expo), color 0.3s ease;
}

.reform-card:hover .reform-card__arrow {
    transform: translateX(4px);
    color: var(--clr-gold);
}

/* Apparition au scroll (réutilise .is-visible du parent) */
.reforms-section.is-visible .reform-card {
    animation: reformItemIn 0.5s var(--ease-out-expo) forwards;
    opacity: 0;
}
.reforms-section.is-visible .reform-card:nth-child(1) { animation-delay: 0.30s; }
.reforms-section.is-visible .reform-card:nth-child(2) { animation-delay: 0.38s; }
.reforms-section.is-visible .reform-card:nth-child(3) { animation-delay: 0.46s; }
.reforms-section.is-visible .reform-card:nth-child(4) { animation-delay: 0.54s; }
.reforms-section.is-visible .reform-card:nth-child(5) { animation-delay: 0.62s; }

@media (max-width: 700px) {
    .reforms-cards { grid-template-columns: 1fr; }
}


/* ================================================
   2. VIDÉO DE FOND — SECTION PARTENAIRES (index.php)
   ================================================ */
.partners-section--video {
    position: relative;
    background: #0d0d0b;
    overflow: hidden;
    isolation: isolate;
}

.partners-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

/* Voile sombre + dégradé pour garantir la lisibilité */
.partners-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8,8,6,0.82) 0%, rgba(8,8,6,0.74) 45%, rgba(8,8,6,0.9) 100%),
        radial-gradient(120% 80% at 50% 0%, rgba(201,169,110,0.06), transparent 60%);
    backdrop-filter: saturate(1.05);
}

.partners-section--video .partners-inner {
    position: relative;
    z-index: 1;
}

/* Cartes légèrement vitrées au-dessus de la vidéo */
.partners-section--video .partner-card {
    background-color: rgba(17, 17, 16, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.1);
}


/* ================================================
   3. PAGES DÉDIÉES RÉFORMES (reforme-*.php)
   ================================================ */

/* ---- Fil d'Ariane ---- */
.reform-breadcrumb {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 6.5rem var(--container-px) 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}
.reform-breadcrumb a { color: var(--clr-text-muted); transition: color 0.2s ease; }
.reform-breadcrumb a:hover { color: var(--clr-gold); }
.reform-breadcrumb .sep { opacity: 0.4; }
.reform-breadcrumb .current { color: var(--clr-text); }

/* ---- HERO de la page réforme ---- */
.reform-hero {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4rem) var(--container-px) clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    border-bottom: 1px solid var(--clr-border);
}

/* Image de fond CLAIREMENT visible dans le hero */
.reform-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: scale(1.06);
    animation: reformHeroZoom 22s ease-in-out infinite alternate;
}
@keyframes reformHeroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.13); }
}

/* Dégradé : sombre derrière le texte (gauche), image révélée à droite */
.reform-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8,8,6,0.95) 0%, rgba(8,8,6,0.86) 30%, rgba(8,8,6,0.5) 62%, rgba(8,8,6,0.16) 100%),
        linear-gradient(180deg, rgba(8,8,6,0.22) 0%, transparent 32%, rgba(8,8,6,0.55) 100%);
}

.reform-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}
.reform-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.reform-hero__orb--1 {
    width: 420px; height: 420px;
    top: -120px; right: -80px;
    background: radial-gradient(circle, rgba(201,169,110,0.18), transparent 70%);
}
.reform-hero__orb--2 {
    width: 380px; height: 380px;
    bottom: -160px; left: -100px;
    background: radial-gradient(circle, rgba(122,158,126,0.16), transparent 70%);
}

.reform-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.reform-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: 1.1rem;
}
.reform-hero__eyebrow::before {
    content: "";
    width: 28px; height: 1px;
    background-color: var(--clr-gold);
}

.reform-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.12;
    color: var(--clr-white);
    margin-bottom: 1.4rem;
}

.reform-hero__lead {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.75;
    color: var(--clr-text-muted);
    max-width: 64ch;
    margin-bottom: 1.8rem;
}

.reform-hero__orgs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}
.reform-org-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--clr-text);
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,169,110,0.28);
    border-radius: 999px;
}
.reform-org-badge__dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--clr-green);
    box-shadow: 0 0 0 3px rgba(122,158,126,0.18);
}

/* ---- Conteneur générique de section page ---- */
.reform-page {
    background-color: var(--clr-bg);
}
.reform-block {
    padding: clamp(3rem, 6vw, 5rem) var(--container-px);
}
.reform-block--alt { background-color: #0d0d0b; }
.reform-block__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.reform-section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-green);
    margin-bottom: 0.9rem;
}
.reform-section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    line-height: 1.18;
    color: var(--clr-white);
    margin-bottom: 1.6rem;
}

/* ---- Avant / Après (comparaison) ---- */
.reform-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.reform-compare__card {
    position: relative;
    padding: 1.8rem 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    background-color: var(--clr-surface);
}
.reform-compare__card--before {
    border-color: rgba(232, 17, 45, 0.18);
}
.reform-compare__card--after {
    border-color: rgba(122, 158, 126, 0.28);
    background-color: rgba(122,158,126,0.05);
}
.reform-compare__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.reform-compare__card--before .reform-compare__tag { color: #d98a93; }
.reform-compare__card--after  .reform-compare__tag { color: var(--clr-green); }
.reform-compare__tag i {
    width: 9px; height: 9px; border-radius: 50%;
    display: inline-block;
}
.reform-compare__card--before .reform-compare__tag i { background:#E8112D; }
.reform-compare__card--after  .reform-compare__tag i { background:#008751; }

.reform-compare__card p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--clr-text-muted);
}
.reform-compare__card--after p { color: var(--clr-text); }

/* ---- Liste de points clés ---- */
.reform-keypoints {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 0.5rem;
}
.reform-keypoint {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.05rem 1.2rem;
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--clr-text-muted);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}
.reform-keypoint:hover {
    border-color: rgba(201,169,110,0.25);
    background-color: rgba(201,169,110,0.04);
    color: var(--clr-text);
}
.reform-keypoint__icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--clr-gold);
    margin-top: 1px;
}

/* ---- Résultats (stats) ---- */
.reform-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.reform-result {
    padding: 1.8rem 1.5rem;
    text-align: center;
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
}
.reform-result__num {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--clr-gold);
    line-height: 1;
    margin-bottom: 0.6rem;
}
.reform-result__label {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--clr-text-muted);
}

/* ---- Bénéfices (3 publics) ---- */
.reform-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
}
.reform-benefit {
    padding: 1.9rem 1.6rem;
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    border-top: 2px solid var(--clr-gold);
    transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease;
}
.reform-benefit:hover {
    transform: translateY(-4px);
    border-top-color: var(--clr-gold-light);
}
.reform-benefit__icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(201,169,110,0.12);
    color: var(--clr-gold);
    margin-bottom: 1.1rem;
}
.reform-benefit__icon svg { width: 22px; height: 22px; }
.reform-benefit h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--clr-white);
    margin-bottom: 0.7rem;
}
.reform-benefit p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--clr-text-muted);
}

/* ---- Mise en avant de l'organisme ---- */
.reform-org-spotlight {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(201,169,110,0.07), rgba(122,158,126,0.05));
    border: 1px solid rgba(201,169,110,0.18);
    border-radius: var(--radius-lg);
}
.reform-org-spotlight__sigle {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    background: rgba(10,10,8,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--clr-gold);
    text-align: center;
    padding: 1rem;
}
.reform-org-spotlight__body h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 300;
    color: var(--clr-white);
    margin-bottom: 0.4rem;
}
.reform-org-spotlight__body .role {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-green);
    margin-bottom: 1rem;
    display: block;
}
.reform-org-spotlight__body p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--clr-text-muted);
}

/* ---- Texte de section (paragraphes) ---- */
.reform-prose p {
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--clr-text-muted);
    max-width: 70ch;
}
.reform-prose p + p { margin-top: 1rem; }

/* ---- CTA bas de page ---- */
.reform-cta {
    padding: clamp(3rem, 6vw, 5rem) var(--container-px);
    text-align: center;
    background:
        radial-gradient(100% 120% at 50% 0%, rgba(201,169,110,0.08), transparent 60%),
        var(--clr-bg);
    border-top: 1px solid var(--clr-border);
}
.reform-cta__inner { max-width: 720px; margin: 0 auto; }
.reform-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 300;
    color: var(--clr-white);
    margin-bottom: 1rem;
}
.reform-cta p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--clr-text-muted);
    margin-bottom: 1.8rem;
}
.reform-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

/* ---- Navigation entre réformes ---- */
.reform-nav-links {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: -1rem;
    padding-bottom: 3rem;
}
.reform-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--clr-text-muted);
    transition: color 0.2s ease;
}
.reform-nav-link:hover { color: var(--clr-gold); }

/* ================================================
   4. RESPONSIVE
   ================================================ */
@media (max-width: 860px) {
    .reform-compare,
    .reform-keypoints,
    .reform-results,
    .reform-benefits {
        grid-template-columns: 1fr;
    }
    .reform-org-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .reform-org-spotlight__sigle {
        width: 130px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .reform-breadcrumb { padding-top: 5.5rem; font-size: 0.74rem; }
    .reform-result { padding: 1.4rem 1rem; }
    .reform-cta__actions .btn { width: 100%; justify-content: center; }
}

/* Réduction des animations si préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
    .reform-card,
    .reform-benefit,
    .reforms-section.is-visible .reform-card {
        transition: none;
        animation: none;
        opacity: 1;
    }
}


/* ================================================
   5. ARRIÈRE-PLAN DU HERO — LOGO BLANC EN FILIGRANE (animé)
   ================================================ */
.reform-hero--logo .reform-hero__bg { opacity: 0.7; z-index: 2; mix-blend-mode: screen; }
.reform-hero--logo .reform-hero__inner { z-index: 3; }

/* Halo radial doux derrière le logo */
.reform-hero__glow {
    position: absolute;
    top: 50%;
    right: 4%;
    width: clamp(360px, 42vw, 620px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(201,169,110,0.12), rgba(122,158,126,0.05) 45%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
    opacity: 0;
    animation: reformGlowIn 1.6s var(--ease-out-expo) 0.2s forwards;
}
@keyframes reformGlowIn { to { opacity: 1; } }

/* Logo blanc : grand filigrane à droite, animation premium (apparition + flottement) */
.reform-hero__logo {
    position: absolute;
    top: 50%;
    right: 3%;
    width: clamp(220px, 34vw, 460px);
    height: auto;
    transform: translateY(-50%);
    object-fit: contain;
    opacity: 0;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4));
    pointer-events: none;
    animation:
        reformLogoIn 1.4s var(--ease-out-expo) 0.35s forwards,
        reformLogoFloat 9s ease-in-out 1.8s infinite;
}
@keyframes reformLogoIn {
    from { opacity: 0; transform: translateY(-50%) translateX(36px) scale(0.94); }
    to   { opacity: 0.16; transform: translateY(-50%) translateX(0) scale(1); }
}
@keyframes reformLogoFloat {
    0%, 100% { margin-top: 0; }
    50%      { margin-top: -14px; }
}

/* Léger filet décoratif vertical à gauche du contenu */
.reform-hero--logo .reform-hero__inner::before {
    content: "";
    position: absolute;
    left: calc(-1 * clamp(0.8rem, 2vw, 1.4rem));
    top: 0.4rem;
    height: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--clr-gold), transparent);
    animation: reformRuleGrow 1s var(--ease-out-expo) 0.5s forwards;
}
@keyframes reformRuleGrow { to { height: calc(100% - 0.8rem); } }
.reform-hero__inner { position: relative; }

@media (max-width: 760px) {
    .reform-hero__logo {
        right: 50%;
        transform: translate(50%, -50%);
        width: min(72vw, 320px);
    }
    @keyframes reformLogoIn {
        from { opacity: 0; transform: translate(50%, -50%) scale(0.94); }
        to   { opacity: 0.08; transform: translate(50%, -50%) scale(1); }
    }
    .reform-hero__glow { right: 50%; transform: translate(50%, -50%); }
    .reform-hero--logo .reform-hero__inner::before { display: none; }

    /* Sur mobile : dégradé vertical (image visible en haut, texte lisible) */
    .reform-hero__overlay {
        background: linear-gradient(180deg, rgba(8,8,6,0.58) 0%, rgba(8,8,6,0.82) 55%, rgba(8,8,6,0.93) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reform-hero__logo { animation: none; opacity: 0.14; }
    .reform-hero__glow { animation: none; opacity: 1; }
    .reform-hero--logo .reform-hero__inner::before { animation: none; height: calc(100% - 0.8rem); }
    .reform-hero__img { animation: none; transform: scale(1.04); }
}


/* ================================================
   6. SECTIONS DÉCOUVERTE (Ganvié, Aéroport)
   Layout éditorial : collage d'images + texte, alterné
   ================================================ */
.discover-section {
    position: relative;
    padding: var(--section-py) var(--container-px);
    overflow: hidden;
}
.discover-section--alt { background-color: #0d0d0b; }

.discover-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

/* Variante : média à droite */
.discover-section--reverse .discover-media { order: 2; }
.discover-section--reverse .discover-text  { order: 1; }

/* ---- Bloc texte ---- */
.discover-text {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out-expo) 0.1s, transform 0.9s var(--ease-out-expo) 0.1s;
}
.discover-section.is-visible .discover-text { opacity: 1; transform: none; }

.discover-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: 1rem;
}
.discover-eyebrow::before {
    content: "";
    width: 26px; height: 1px;
    background-color: var(--clr-gold);
}
.discover-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.6vw, 2.9rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--clr-white);
    margin-bottom: 1.3rem;
}
.discover-text p {
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--clr-text-muted);
    max-width: 56ch;
}
.discover-text p + p { margin-top: 1rem; }

/* ---- Stats / chips ---- */
.discover-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.8rem;
}
.discover-stat {
    padding: 0.8rem 1.1rem;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    min-width: 120px;
}
.discover-stat__num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--clr-gold);
    line-height: 1.1;
}
.discover-stat__label {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    color: var(--clr-text-muted);
}

.discover-actions { margin-top: 1.9rem; }

.discover-caption {
    margin-top: 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: var(--clr-text-muted);
    opacity: 0.7;
}

/* ---- Collage d'images ---- */
.discover-media {
    position: relative;
    opacity: 0;
    transform: translateY(36px) scale(0.97);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.discover-section.is-visible .discover-media { opacity: 1; transform: none; }

.discover-media__main {
    position: relative;
    width: 88%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
}
.discover-media__main img,
.discover-media__float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-expo);
}
.discover-media:hover .discover-media__main img { transform: scale(1.06); }

/* Image flottante qui chevauche */
.discover-media__float {
    position: absolute;
    right: 0;
    bottom: -1.5rem;
    width: 46%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--clr-bg);
    box-shadow: 0 24px 50px rgba(0,0,0,0.55);
    transform: translateY(0);
    transition: transform 0.8s var(--ease-out-expo) 0.15s;
}
.discover-section.is-visible .discover-media__float { animation: floatIn 1s var(--ease-out-expo) 0.25s both; }
@keyframes floatIn {
    from { opacity: 0; transform: translateY(40px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.discover-media:hover .discover-media__float img { transform: scale(1.08); }

/* Badge flottant (chip d'info sur l'image) */
.discover-media__badge {
    position: absolute;
    left: -0.6rem;
    top: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: rgba(10,10,8,0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--clr-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 3;
}
.discover-media__badge i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--clr-green);
    box-shadow: 0 0 0 3px rgba(122,158,126,0.2);
    display: inline-block;
}

/* Fin liseré décoratif derrière le collage */
.discover-media::after {
    content: "";
    position: absolute;
    right: 8%;
    top: -1.4rem;
    width: 46%;
    height: calc(100% + 2.8rem);
    border: 1px solid rgba(201,169,110,0.18);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .discover-inner { grid-template-columns: 1fr; gap: 3.5rem; }
    .discover-section--reverse .discover-media,
    .discover-section--reverse .discover-text { order: initial; }
    .discover-media { max-width: 560px; margin: 0 auto; width: 100%; }
}

@media (max-width: 560px) {
    .discover-media__main { width: 100%; aspect-ratio: 16 / 11; }
    .discover-media__float { width: 42%; right: -0.4rem; bottom: -1.2rem; }
    .discover-media::after { display: none; }
    .discover-stat { flex: 1 1 30%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .discover-text, .discover-media, .discover-media__float {
        opacity: 1 !important; transform: none !important; animation: none !important;
    }
}


/* ================================================
   7. MÉDIA VIDÉO — FORMAT VERTICAL TIKTOK / REEL (9:16)
   ================================================ */
.discover-media--video {
    display: flex;
    justify-content: center;
}

/* Carte verticale type "reel", centrée dans la colonne média */
.discover-media--video .discover-media__frame {
    position: relative;
    width: clamp(248px, 76%, 330px);
    aspect-ratio: 9 / 16;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 40px 90px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    z-index: 1;
}

/* La vidéo TikTok s'affiche entièrement (cadre au même ratio que la vidéo) */
.discover-media--video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 1.4s var(--ease-out-expo);
}
.discover-media--video:hover video { transform: scale(1.05); }

/* Voile haut/bas façon reel pour intégrer le badge et le thème sombre */
.discover-media--video .discover-media__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8,8,6,0.45) 0%, transparent 18%, transparent 80%, rgba(8,8,6,0.55) 100%);
}

/* Reflet lumineux animé (premium) */
.discover-media__sheen {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.08) 50%, transparent 62%);
    transform: translateX(-130%);
    animation: discoverSheen 8s ease-in-out 2.4s infinite;
}
@keyframes discoverSheen {
    0%   { transform: translateX(-130%); }
    22%  { transform: translateX(130%); }
    100% { transform: translateX(130%); }
}

/* Halo coloré doux derrière la carte verticale */
.discover-media--video::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(201,169,110,0.16), rgba(122,158,126,0.07) 55%, transparent 75%);
    filter: blur(14px);
    z-index: 0;
    pointer-events: none;
}

/* Filet décoratif or, décalé derrière la carte */
.discover-media--video::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(248px, 76%, 330px);
    aspect-ratio: 9 / 16;
    transform: translate(-44%, -54%);
    border: 1px solid rgba(201,169,110,0.22);
    border-radius: 26px;
    z-index: 0;
    pointer-events: none;
}

/* Badge repositionné en haut de la carte verticale */
.discover-media--video .discover-media__badge {
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 4;
}

@media (max-width: 900px) {
    .discover-media--video .discover-media__frame { width: clamp(248px, 70vw, 320px); }
    .discover-media--video::after { width: clamp(248px, 70vw, 320px); }
}

@media (prefers-reduced-motion: reduce) {
    .discover-media__sheen { animation: none; display: none; }
    .discover-media--video video { transform: none; }
}


/* ================================================
   8. SECTION 6 — DIAPORAMA DE FOND (3 images / ~3s)
   ================================================ */
.hero-section--slideshow { position: relative; overflow: hidden; }

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    will-change: opacity, transform;
    animation: heroSlideShow 9s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 3s; }
.hero-slide:nth-child(3) { animation-delay: 6s; }

/* Chaque image visible ~3s avec fondu enchaîné + léger zoom (Ken Burns) */
@keyframes heroSlideShow {
    0%   { opacity: 0; transform: scale(1.12); }
    4%   { opacity: 1; }
    30%  { opacity: 1; }
    37%  { opacity: 0; }
    100% { opacity: 0; transform: scale(1.0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide { animation: none; }
    .hero-slide:nth-child(1) { opacity: 1; }
}


/* ================================================
   9. SECTION 7 — CARTE / RÉSEAU DÉCORATIF (Vision)
   ================================================ */
.vision-bg-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(120% 100% at 70% 40%, #000 35%, transparent 80%);
            mask-image: radial-gradient(120% 100% at 70% 40%, #000 35%, transparent 80%);
}

/* Tracés "routes" : apparition par dessin + flux animé */
.vision-map-routes path {
    stroke-dasharray: 6 10;
    opacity: 0.5;
    animation: visionRouteFlow 9s linear infinite;
}
.vision-map-routes path:nth-child(2) { animation-duration: 12s; opacity: 0.38; }
.vision-map-routes path:nth-child(3) { animation-duration: 7s;  opacity: 0.3; }
.vision-map-routes path:nth-child(4) { animation-duration: 8s;  opacity: 0.3; }
@keyframes visionRouteFlow {
    to { stroke-dashoffset: -160; }
}

/* Nœuds pulsants */
.vision-map-nodes circle {
    opacity: 0.7;
    transform-box: fill-box;
    transform-origin: center;
    animation: visionNodePulse 4s ease-in-out infinite;
}
.vision-map-nodes circle:nth-child(odd)  { animation-delay: 0.6s; fill: #7a9e7e; }
.vision-map-nodes circle:nth-child(3n)   { animation-delay: 1.4s; }
.vision-map-nodes circle:nth-child(3)    { filter: drop-shadow(0 0 8px rgba(201,169,110,0.6)); }
@keyframes visionNodePulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%      { opacity: 0.9;  transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
    .vision-map-routes path, .vision-map-nodes circle { animation: none; }
}


/* ================================================
   10. PAGES RÉFORMES — IMAGE DE FOND COUVRANT TOUTE LA PAGE
   ================================================ */
.reform-page {
    position: relative;
    background:
        radial-gradient(70% 45% at 88% 2%,  rgba(201,169,110,0.07), transparent 60%),
        radial-gradient(65% 45% at 5% 60%,  rgba(122,158,126,0.06), transparent 60%),
        var(--clr-bg);
}

/* Image fixe qui couvre tout l'arrière-plan (object-fit: cover) */
.reform-page__bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    pointer-events: none;
}

/* Voile sombre directionnel : plus dense à gauche (texte) et en bas,
   plus léger à droite et en haut pour laisser voir l'image de fond */
.reform-page__veil {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(100deg, rgba(8,8,6,0.93) 0%, rgba(8,8,6,0.80) 40%, rgba(8,8,6,0.46) 100%),
        linear-gradient(180deg, rgba(8,8,6,0.28) 0%, transparent 22%, rgba(8,8,6,0.55) 100%);
}

/* Sur mobile : voile plus uniforme pour préserver la lisibilité */
@media (max-width: 760px) {
    .reform-page__veil {
        background: linear-gradient(180deg, rgba(8,8,6,0.84) 0%, rgba(8,8,6,0.9) 100%);
    }
}

/* Les blocs laissent transparaître l'image de fond */
.reform-block { position: relative; background: transparent; }

/* Bloc alterné : translucide (l'image reste visible) + texture pointillée légère */
.reform-block--alt {
    background:
        linear-gradient(180deg, rgba(17,19,15,0.62) 0%, rgba(12,13,10,0.70) 100%);
    position: relative;
}
.reform-block--alt::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 78%);
            mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 78%);
    opacity: 0.5;
}
.reform-block--alt > .reform-block__inner { position: relative; z-index: 1; }

/* Séparateur lumineux entre blocs */
.reform-block + .reform-block::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: calc(-1 * clamp(3rem, 6vw, 5rem));
    width: min(420px, 60%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.35), transparent);
}

.reform-results, .reform-benefits { position: relative; }

/* Accent doux supplémentaire sur la page Protection (section 05) */
.reform-page--protection .reform-page__veil {
    background:
        linear-gradient(180deg, rgba(10,12,9,0.80) 0%, rgba(9,11,8,0.86) 50%, rgba(8,8,6,0.9) 100%),
        radial-gradient(90% 60% at 80% 0%, rgba(201,169,110,0.10), transparent 60%),
        radial-gradient(80% 60% at 0% 60%, rgba(122,158,126,0.10), transparent 60%);
}

@media (prefers-reduced-motion: reduce) {
    .reform-page__bg { position: absolute; height: 100%; }
}



/* ================================================
   11. FOOTER — VIDÉO DE FOND (différente par page)
   ================================================ */
.site-footer { position: relative; overflow: hidden; }

.footer-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Voile dégradé aux couleurs de la marque : teinte la vidéo + lisibilité du texte */
.footer-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(42,84,80,0.90) 0%, rgba(58,107,101,0.84) 45%, rgba(74,125,117,0.82) 100%);
}

/* Le contenu reste au-dessus de la vidéo */
.site-footer .footer-inner,
.site-footer .footer-bottom { position: relative; z-index: 1; }
