.flogo {
    height: 56px;
    width: auto;
    border-radius: 50%
}

footer .flogo {
    height: 70px
}

:root {
    --blue: #1d4ba8;
    --navy: #081840;
    --gold: #f2b51d;
    --bg: #f7f8fc;
    --card: #fff;
    --ink: #0d1b3d;
    --mute: #5a6785;
    --line: rgba(29,75,168,.14);
    --glass: rgba(255,255,255,.72);
    --hero1: #eaf0ff;
    --hero2: #fff7df;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top,0px);
    padding-bottom: env(safe-area-inset-bottom,0px);
    --blue2: #1765dc;
    --muted: #5c6b88;
    --pale: #eef5ff;
    --line: #e2eaf6;
    --white: #fff;
    --shadow: 0 12px 35px rgba(11,43,102,.09);
}

@media(prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #060f2a;
        --card: #0e1d4a;
        --ink: #eef2ff;
        --mute: #a4b0d4;
        --line: rgba(255,255,255,.12);
        --glass: rgba(14,29,74,.7);
        --hero1: #0a1b4a;
        --hero2: #1b1a2e
    }
}

:root[data-theme="dark"] {
    --bg: #060f2a;
    --card: #0e1d4a;
    --ink: #eef2ff;
    --mute: #a4b0d4;
    --line: rgba(255,255,255,.12);
    --glass: rgba(14,29,74,.7);
    --hero1: #0a1b4a;
    --hero2: #1b1a2e
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(90px + env(safe-area-inset-top,0px))
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Manrope,system-ui,sans-serif;
    line-height: 1.6;
    overflow-x: hidden
}

h1, h2, h3 {
    font-family: 'Bricolage Grotesque',Manrope,sans-serif;
    line-height: 1.08;
    margin: 0;
    letter-spacing: -.02em
}

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

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
    box-sizing: border-box; /* 📌 SÉCURITÉ : Empêche le padding d'agrandir la largeur totale */
}

/* top bar + header */
.top {
    background: var(--navy);
    color: #cfd8f5;
    font-size: .78rem;
    overflow: hidden; /* 📌 SÉCURITÉ : Coupe tout ce qui dépasse par erreur */
}

    .top .wrap {
        display: flex;
        gap: 10px; /* Réduit un peu l'espace sur mobile pour gagner de la place */
        /* 📱 STYLE PAR DÉFAUT : MOBILE (Empilé et centré) */
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .top b {
        color: var(--gold);
        font-weight: 600;
    }

/* 💻 STYLE POUR ORDINATEUR (Écrans de plus de 768px) */
@media (min-width: 768px) {
    .top .wrap {
        /* On remet les éléments les uns à côté des autres sur grand écran */
        flex-direction: row;
        justify-content: space-between;
        gap: 18px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}


header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: var(--glass);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top,0px)
}

    header .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 78px;
        gap: 16px
    }

.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

    .logo svg {
        height: 50px;
        width: auto
    }

nav {
    display: flex;
    gap: 26px;
    font-weight: 600;
    font-size: .93rem
}

    nav a {
        position: relative;
        padding: 6px 0;
        color: var(--mute);
        transition: color .2s
    }

        nav a:hover {
            color: var(--ink)
        }

        nav a:after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            height: 2px;
            width: 0;
            background: var(--gold);
            transition: width .3s
        }

        nav a:hover:after {
            width: 100%
        }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    border: 0;
    cursor: pointer;
    transition: transform .25s,box-shadow .25s
}

    .btn.gold {
        background: linear-gradient(120deg,#f7c43a,#f2a81d);
        color: #1a1300;
        box-shadow: 0 10px 28px -8px rgba(242,181,29,.7)
    }

    .btn.blue {
        background: var(--blue);
        color: #fff;
        box-shadow: 0 10px 28px -10px rgba(29,75,168,.8)
    }

    .btn.ghost {
        background: transparent;
        border: 1.5px solid var(--line);
        color: var(--ink)
    }

    .btn:hover {
        transform: translateY(-3px)
    }
/* chevron logo animation */
.chev path {
    transform-origin: left center;
    animation: chev 1.2s cubic-bezier(.2,.8,.2,1) both
}

    .chev path:nth-child(2) {
        animation-delay: .12s
    }

    .chev path:nth-child(3) {
        animation-delay: .24s
    }

    .chev path:nth-child(4) {
        animation-delay: .36s
    }

@keyframes chev {
    from {
        transform: translateX(-26px) scaleX(.2);
        opacity: 0
    }

    to {
        transform: none;
        opacity: 1
    }
}
/* hero */
/* ==========================================================================
   🚀 COMPORTEMENT PAR DÉFAUT : MOBILE (Écrans de moins de 992px, ex: 375px)
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    /* Remplacement des pixels par des valeurs fluides pour éviter les bugs graphiques sur mobile */
    background: radial-gradient(circle farthest-side at 85% 10%, var(--hero2), transparent 70%), radial-gradient(circle farthest-side at 0% 0%, var(--hero1), transparent 75%), var(--bg);
    padding: 50px 0 60px; /* Padding réduit sur mobile pour un rendu plus compact */
    width: 100%;
    box-sizing: border-box;
}

    .hero .wrap {
        position: relative;
        display: grid;
        /* 📱 EN MOBILE : On remplace 1fr par minmax(0, 1fr) */
        /* Cela interdit mathématiquement à la colonne de dépasser de l'écran */
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        align-items: center;
        /* Sécurité supplémentaire pour le conteneur */
        width: 100%;
        box-sizing: border-box;
    }

    /* La pilule blanche supérieure */
.hero .badge {
    display: inline-block;
    max-width: 100%;
    white-space: normal; /* Autorise le retour à la ligne si l'écran fait 375px */
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}


/* ==========================================================================
   💻 COMPORTEMENT POUR ORDINATEUR (Écrans à partir de 992px de large)
   ========================================================================== */
@media (min-width: 992px) {
    .hero {
        /* Rétablissement de votre superbe dégradé d'origine sur grand écran */
        background: radial-gradient(900px 500px at 85% 10%, var(--hero2), transparent 60%), radial-gradient(900px 600px at 0% 0%, var(--hero1), transparent 65%), var(--bg);
        padding: 84px 0 110px;
    }

        .hero .wrap {
            /* Rétablissement de vos deux colonnes asymétriques d'origine */
            grid-template-columns: 1.12fr .88fr;
            gap: 56px;
        }
}


.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .5;
    animation: float 12s ease-in-out infinite
}

    .orb.a {
        width: 340px;
        height: 340px;
        background: var(--blue);
        top: -80px;
        left: -90px;
        opacity: .28
    }

    .orb.b {
        width: 280px;
        height: 280px;
        background: var(--gold);
        bottom: -60px;
        right: 8%;
        animation-delay: -5s;
        opacity: .35
    }

@keyframes float {
    50% {
        transform: translate(30px,-34px) scale(1.08)
    }
}

.grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 40%,#000 20%,transparent 72%);
    opacity: .7
}



.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: .8rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 26px
}

    .badge i {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--gold);
        box-shadow: 0 0 0 0 rgba(242,181,29,.7);
        animation: pulse 2s infinite
    }

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 12px rgba(242,181,29,0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(242,181,29,0)
    }
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800
}

.grad {
    background: linear-gradient(100deg,var(--blue),#4f86ff 45%,var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: shine 6s linear infinite
}

@keyframes shine {
    to {
        background-position: -200% 0
    }
}

.lead {
    font-size: 1.12rem;
    color: var(--mute);
    max-width: 520px;
    margin: 24px 0 34px
}

.cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.trust {
    display: flex;
    gap: 26px;
    margin-top: 40px;
    flex-wrap: wrap
}

    .trust div {
        font-size: .82rem;
        color: var(--mute)
    }

    .trust b {
        display: block;
        font-family: 'Bricolage Grotesque';
        font-size: 1.5rem;
        color: var(--ink)
    }
/* hero card */
.stage {
    position: relative;
    perspective: 1200px
}

.card3d {
    background: var(--glass);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 40px 80px -30px rgba(8,24,64,.45);
    transition: transform .15s ease-out;
    border-top: 4px solid var(--blue)
}

    .card3d .row {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

.tag {
    font-size: .78rem;
    font-weight: 700;
    color: #b97d00
}

.amount {
    font-family: 'Bricolage Grotesque';
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue)
}

    .amount small {
        font-size: 1rem;
        color: var(--mute);
        font-weight: 600
    }

.bar {
    height: 12px;
    border-radius: 99px;
    background: var(--line);
    overflow: hidden;
    margin: 16px 0 8px
}

    .bar span {
        display: block;
        height: 100%;
        width: 0;
        border-radius: 99px;
        background: linear-gradient(90deg,var(--blue),var(--gold));
        animation: fill 2.4s .8s cubic-bezier(.2,.8,.2,1) forwards
    }

@keyframes fill {
    to {
        width: 72%
    }
}

.days {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 7px;
    margin: 18px 0
}

    .days i {
        aspect-ratio: 1;
        border-radius: 9px;
        background: var(--line);
        animation: tick .5s both
    }

        .days i.on {
            background: var(--gold)
        }

        .days i:nth-child(1) {
            animation-delay: 1s
        }

        .days i:nth-child(2) {
            animation-delay: 1.15s
        }

        .days i:nth-child(3) {
            animation-delay: 1.3s
        }

        .days i:nth-child(4) {
            animation-delay: 1.45s
        }

        .days i:nth-child(5) {
            animation-delay: 1.6s
        }

@keyframes tick {
    from {
        transform: scale(0)
    }
}

.chip {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 16px;
    font-size: .82rem;
    font-weight: 700;
    box-shadow: 0 18px 40px -16px rgba(8,24,64,.4);
    animation: float 7s ease-in-out infinite
}

    .chip.c1 {
        top: -22px;
        right: -8px
    }

    .chip.c2 {
        bottom: -24px;
        left: -18px;
        animation-delay: -3s
    }

    .chip em {
        font-style: normal;
        color: var(--blue)
    }
/* marquee */
.partners {
    padding: 24px 0;
    border-block: 1px solid var(--line);
    background: var(--card);
    overflow: hidden
}

    .partners p {
        text-align: center;
        color: var(--mute);
        font-size: .85rem;
        margin: 0 0 18px;
        font-weight: 600
    }

.track {
    display: flex;
    gap: 70px;
    width: max-content;
    animation: scroll 50s linear infinite
}

.partners:hover .track {
    animation-play-state: paused
}

.track span {
    font-family: 'Bricolage Grotesque';
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--blue);
    opacity: .55;
    white-space: nowrap
}

@keyframes scroll {
    to {
        transform: translateX(-50%)
    }
}

/* sections */
section {
    padding: 100px 0
}

/* Réduction de l'espace sur les écrans de moins de 768px (Mobiles/Tablettes) */
@media (max-width: 768px) {
    section {
        padding: 50px 0; /* Un padding plus adapté au mobile */
    }
}

.sh {
    max-width: 640px;
    margin-bottom: 54px;
    margin-left: auto; /* Centre le bloc si l'écran est grand */
    margin-right: auto; /* Centre le bloc si l'écran est grand */
    padding: 0 20px; /* Sécurité pour les petits écrans mobiles */
}

    .sh h2 {
        font-size: clamp(2rem,4.4vw,3.3rem);
        font-weight: 800
    }

    .sh p {
        color: var(--mute);
        font-size: 1.05rem;
        margin-top: 16px
    }

.kicker {
    color: var(--blue);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 12px;
    display: block
}

.dark {
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden
}

    .dark .sh p {
        color: #b8c4ea
    }

    .dark .kicker {
        color: var(--gold)
    }

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

.pill {
    position: relative;
    padding: 34px 30px;
    border-radius: 26px;
    background: linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.14);
    overflow: hidden;
    transition: transform .35s,border-color .35s
}

    .pill:hover {
        transform: translateY(-8px);
        border-color: var(--gold)
    }

    .pill:before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        right: -60px;
        top: -60px;
        border-radius: 50%;
        background: var(--c);
        opacity: .35;
        filter: blur(30px)
    }

.ico {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--c);
    margin-bottom: 24px;
    position: relative
}

    .ico svg {
        width: 28px;
        height: 28px;
        stroke: #fff;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round
    }

.pill h3 {
    font-size: 1.5rem;
    margin-bottom: 10px
}

.pill p {
    color: #b8c4ea;
    margin: 0;
    font-size: .97rem
}
/* steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    counter-reset: s;
    position: relative
}

.step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px 24px;
    counter-increment: s;
    transition: transform .3s,box-shadow .3s
}

    .step:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 50px -28px rgba(29,75,168,.5)
    }

    .step:before {
        content: counter(s);
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: var(--blue);
        color: #fff;
        font-family: 'Bricolage Grotesque';
        font-weight: 800;
        margin-bottom: 18px
    }

    .step:nth-child(2):before {
        background: var(--gold);
        color: #1a1300
    }

    .step h3 {
        font-size: 1.2rem;
        margin-bottom: 8px
    }

    .step p {
        margin: 0;
        color: var(--mute);
        font-size: .93rem
    }
/* jper */
.jper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg,var(--blue),#0d2e78 70%);
    border-radius: 36px;
    padding: 64px;
    color: #fff;
    position: relative;
    overflow: hidden
}

    .jper:after {
        content: "";
        position: absolute;
        right: -90px;
        bottom: -90px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        border: 48px solid rgba(242,181,29,.25)
    }

    .jper h2 {
        font-size: clamp(1.9rem,3.8vw,3rem)
    }

    .jper p {
        color: #d3ddff
    }

.big {
    font-family: 'Bricolage Grotesque';
    font-weight: 800;
    font-size: clamp(3.4rem,9vw,6.5rem);
    color: var(--gold);
    line-height: 1
}

    .big small {
        font-size: .32em;
        color: #fff;
        margin-left: 8px
    }

.list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 10px
}

    .list li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        font-size: .97rem
    }

        .list li:before {
            content: "✓";
            color: #1a1300;
            background: var(--gold);
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            font-size: .75rem;
            font-weight: 800;
            flex: none;
            margin-top: 2px
        }
/* adhesion */
.join {
    text-align: center;
    max-width: 760px;
    margin: 0 auto
}

    .join h2 {
        font-size: clamp(2rem,4.6vw,3.4rem);
        font-weight: 800
    }

    .join p {
        color: var(--mute);
        margin: 18px auto 32px;
        max-width: 560px
    }
/* footer */
footer {
    background: #040b22;
    color: #b8c4ea;
    padding: 70px 0 30px;
    font-size: .92rem
}

.fg {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 36px
}

footer h4 {
    color: #fff;
    margin: 0 0 14px;
    font-family: 'Bricolage Grotesque';
    font-size: 1.05rem;
    border-left: 3px solid var(--gold);
    padding-left: 10px
}

footer p {
    margin: 5px 0
}

footer a {
    color: #8fb0ff
}

.legal {
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .8rem
}

    .legal span:last-child {
        background: rgba(255,255,255,.07);
        padding: 6px 14px;
        border-radius: 99px;
        color: #e9eeff
    }
/* reveal */
.rv {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s,transform .8s cubic-bezier(.2,.8,.2,1)
}

    .rv.in {
        opacity: 1;
        transform: none
    }

.menu {
    display: none
}

@media(max-width:960px) {
    nav, .hdr-cta {
        display: none
    }

    .hero .wrap, .jper, .fg {
        grid-template-columns: 1fr
    }

    .tri, .steps {
        grid-template-columns: 1fr 1fr
    }

    .jper {
        padding: 38px 26px
    }

    .stage {
        margin-top: 10px
    }

    .top .wrap span:nth-child(2) {
        display: none
    }

    .logo svg {
        height: 44px
    }

    .menu {
        display: block;
        background: none;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 9px 14px;
        color: var(--ink);
        font-weight: 700;
        cursor: pointer
    }

    nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px 22px;
        border-bottom: 1px solid var(--line)
    }
}

@media(max-width:620px) {
    .tri, .steps {
        grid-template-columns: 1fr
    }

    section {
        padding: 70px 0
    }

    .chip.c1 {
        right: 0
    }

    .chip.c2 {
        left: 0
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }

    .rv {
        opacity: 1;
        transform: none
    }

    .bar span {
        width: 72%
    }
}

.lang {
    background: none;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
    font-family: inherit;
    transition: background .2s
}

    .lang:hover {
        background: var(--gold);
        color: #1a1300
    }

.form {
    max-width: 860px;
    margin: 44px auto 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 40px 70px -40px rgba(29,75,168,.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    border-top: 4px solid var(--gold)
}

    .form label {
        display: grid;
        gap: 7px;
        font-weight: 700;
        font-size: .88rem
    }

    .form .full {
        grid-column: 1/-1
    }

    .form input, .form select, .form textarea {
        font: inherit;
        font-weight: 500;
        padding: 13px 15px;
        border-radius: 14px;
        border: 1.5px solid var(--line);
        background: var(--bg);
        color: var(--ink);
        width: 100%;
        transition: border-color .2s,box-shadow .2s
    }

        .form input:focus, .form select:focus, .form textarea:focus {
            border-color: var(--blue);
            box-shadow: 0 0 0 4px rgba(29,75,168,.15);
            outline: 0
        }

        .form input:user-invalid {
            border-color: #d33
        }

.chk {
    display: flex !important;
    grid-template-columns: none;
    gap: 12px;
    align-items: flex-start;
    font-weight: 500 !important;
    color: var(--mute)
}

    .chk input {
        width: 20px;
        height: 20px;
        margin-top: 3px;
        flex: none;
        accent-color: var(--blue)
    }

.ok {
    grid-column: 1/-1;
    text-align: center;
    padding: 30px;
    border-radius: 22px;
    background: linear-gradient(135deg,var(--blue),#0d2e78);
    color: #fff;
    animation: pop .6s cubic-bezier(.2,.8,.2,1)
}

    .ok[hidden] {
        display: none
    }

    .ok h3 {
        font-size: 1.6rem;
        color: var(--gold)
    }

    .ok p {
        color: #d3ddff;
        margin: 10px 0 20px
    }

    .ok .cta {
        justify-content: center
    }

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.94)
    }
}

.made {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    padding: 16px 20px;
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    width: fit-content;
    max-width: 100%
}

    .made img {
        height: 70px;
        width: auto;
        background: #fff;
        border-radius: 14px;
        padding: 4px;
        flex: none
    }

    .made b {
        color: #fff;
        font-family: 'Bricolage Grotesque';
        font-size: 1.05rem
    }

@media(max-width:700px) {
    .form {
        grid-template-columns: 1fr;
        padding: 26px 20px
    }
}

.adm {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 26px;
    border-top: 4px solid var(--blue)
}

    .adm[hidden] {
        display: none
    }

.bar2 {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px
}

    .bar2 b {
        font-family: 'Bricolage Grotesque';
        font-size: 1.8rem;
        color: var(--blue)
    }

    .bar2 input {
        flex: 1;
        min-width: 180px;
        font: inherit;
        padding: 11px 15px;
        border-radius: 999px;
        border: 1.5px solid var(--line);
        background: var(--bg);
        color: var(--ink)
    }

.tw {
    overflow-x: auto
}

    .tw table {
        width: 100%;
        border-collapse: collapse;
        font-size: .88rem;
        min-width: 760px
    }

    .tw th {
        text-align: left;
        padding: 10px 12px;
        color: var(--mute);
        border-bottom: 2px solid var(--line);
        white-space: nowrap
    }

    .tw td {
        padding: 11px 12px;
        border-bottom: 1px solid var(--line)
    }

    .tw tr:hover td {
        background: var(--bg)
    }

.st {
    border: 0;
    border-radius: 99px;
    padding: 6px 14px;
    font: inherit;
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
    background: var(--gold);
    color: #1a1300
}

    .st.done {
        background: #2e9e5b;
        color: #fff
    }

#ok-status {
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px
}

.lg {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: calc(18px + env(safe-area-inset-top,0px)) 16px calc(18px + env(safe-area-inset-bottom,0px));
    background: rgba(4,11,34,.72);
    backdrop-filter: blur(10px);
    overflow-y: auto
}

    .lg.on {
        display: grid;
        animation: fadeIn .35s
    }

@keyframes fadeIn {
    from {
        opacity: 0
    }
}

.lgc {
    width: min(980px,100%);
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    border-radius: 32px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 60px 120px -30px rgba(0,0,0,.7);
    animation: pop .55s cubic-bezier(.2,.8,.2,1);
    position: relative
}

.lgl {
    position: relative;
    padding: 44px 38px;
    color: #fff;
    background: radial-gradient(500px 360px at 0% 0%,#2a62d4,transparent 70%),linear-gradient(160deg,#0d2e78,#081840);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px
}

    .lgl:after {
        content: "";
        position: absolute;
        right: -70px;
        bottom: -70px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        border: 40px solid rgba(242,181,29,.22);
        animation: float 10s ease-in-out infinite
    }

    .lgl h2 {
        font-size: 2rem
    }

    .lgl p {
        color: #c9d5fa;
        margin: 0
    }

    .lgl ul {
        list-style: none;
        padding: 0;
        margin: auto 0 0;
        display: grid;
        gap: 12px;
        position: relative;
        z-index: 1
    }

    .lgl li {
        display: flex;
        gap: 12px;
        align-items: center;
        font-weight: 600;
        font-size: .93rem;
        animation: rise .7s both
    }

        .lgl li:nth-child(2) {
            animation-delay: .15s
        }

        .lgl li:nth-child(3) {
            animation-delay: .3s
        }

@keyframes rise {
    from {
        opacity: 0;
        transform: translateX(-18px)
    }
}

.lgl li:before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1300;
    font-size: .75rem;
    font-weight: 800;
    flex: none
}

.lgr {
    padding: 44px 40px;
    position: relative
}

.lgx {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font-size: 1.2rem;
    cursor: pointer
}

.seg {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    margin: 22px 0
}

    .seg button {
        border: 0;
        background: none;
        padding: 10px 6px;
        border-radius: 999px;
        font: inherit;
        font-weight: 700;
        font-size: .78rem;
        line-height: 1.2;
        color: var(--mute);
        cursor: pointer;
        transition: all .25s
    }

        .seg button.on {
            background: var(--blue);
            color: #fff;
            box-shadow: 0 8px 20px -8px rgba(29,75,168,.8)
        }

.lgr form {
    display: grid;
    gap: 16px
}

.lgr label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    font-size: .86rem
}

.lgr input {
    font: inherit;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    width: 100%
}

    .lgr input:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(29,75,168,.15);
        outline: 0
    }

.pw {
    position: relative
}

    .pw input {
        padding-right: 56px
    }

    .pw button {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        border: 0;
        background: none;
        font-size: 1.1rem;
        cursor: pointer;
        padding: 8px;
        color: var(--mute)
    }

.lgm {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .84rem;
    flex-wrap: wrap
}

    .lgm a, .lgm button {
        color: var(--blue);
        font-weight: 700;
        background: none;
        border: 0;
        padding: 0;
        font: inherit;
        font-weight: 700;
        cursor: pointer
    }

.lgst {
    font-size: .86rem;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(242,181,29,.16);
    color: var(--ink);
    border: 1px solid rgba(242,181,29,.5)
}

    .lgst[hidden], #lg-req[hidden] {
        display: none
    }

#lg-req {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.lgn {
    font-size: .78rem;
    color: var(--mute);
    margin-top: 4px
}

@media(max-width:760px) {
    .lgc {
        grid-template-columns: 1fr
    }

    .lgl {
        padding: 26px 24px
    }

        .lgl ul, .lgl p {
            display: none
        }

    .lgr {
        padding: 28px 22px
    }
}
/* ===== V2 marketing ===== */
.orn {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin: 0 auto 22px;
    color: var(--gold)
}

    .orn:before, .orn:after {
        content: "";
        height: 1.5px;
        width: 90px;
        background: linear-gradient(90deg,transparent,currentColor)
    }

    .orn:after {
        transform: scaleX(-1)
    }

    .orn svg {
        width: 46px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round
    }

.sh.c {
    text-align: center;
    margin-inline: auto
}

.frame {
    position: relative;
    padding: 10px;
    border-radius: 30px;
    background: linear-gradient(135deg,var(--gold),var(--blue));
    box-shadow: 0 40px 70px -34px rgba(8,24,64,.6)
}

    .frame:before, .frame:after {
        content: "❦";
        position: absolute;
        font-size: 30px;
        color: var(--gold);
        background: var(--bg);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        border: 2px solid var(--gold);
        z-index: 2
    }

    .frame:before {
        top: -14px;
        left: -14px
    }

    .frame:after {
        bottom: -14px;
        right: -14px;
        transform: rotate(180deg)
    }

    .frame img, .frame video {
        display: block;
        width: 100%;
        border-radius: 22px;
        cursor: zoom-in;
        object-fit: cover
    }

.cap {
    font-size: .82rem;
    color: var(--mute);
    text-align: center;
    margin-top: 16px
}

.two {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: center
}

.logos {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 26px 0
}

.lgo {
    flex: 1 1 130px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    transition: transform .3s
}

    .lgo:hover {
        transform: translateY(-6px) rotate(-1deg)
    }

    .lgo img {
        height: 84px;
        max-width: 100%;
        object-fit: contain;
        border-radius: 14px;
        cursor: zoom-in
    }

    .lgo b {
        display: block;
        font-size: .76rem;
        margin-top: 8px;
        color: var(--mute)
    }

.mis {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-top: 50px
}

    .mis div, .imp div {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 24px;
        padding: 26px 22px;
        position: relative;
        overflow: hidden;
        transition: transform .3s
    }

        .mis div:hover, .imp div:hover {
            transform: translateY(-6px)
        }

        .mis div:before, .imp div:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            height: 4px;
            width: 100%;
            background: linear-gradient(90deg,var(--blue),var(--gold))
        }

    .mis h3, .imp h3 {
        font-size: 1.1rem;
        margin: 6px 0 8px
    }

    .mis p, .imp p {
        margin: 0;
        color: var(--mute);
        font-size: .92rem
    }

    .mis em, .imp em {
        font-style: normal;
        font-size: 1.7rem
    }

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

.spot {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    min-height: 440px;
    background: #040b22;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    isolation: isolate
}

    .spot video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .34;
        z-index: -1;
        filter: saturate(1.3)
    }

    .spot iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .34;
        z-index: -1;
        filter: saturate(1.3)
    }

    .spot .sl {
        position: absolute;
        inset: 0;
        display: grid;
        place-content: center;
        gap: 14px;
        padding: 30px;
        opacity: 0;
        transform: scale(1.06);
        transition: opacity 1s,transform 1.6s
    }

        .spot .sl.on {
            opacity: 1;
            transform: none
        }

    .spot h3 {
        font-size: clamp(1.8rem,5vw,3.4rem);
        max-width: 760px;
        margin: 0 auto
    }

        .spot h3 b {
            color: var(--gold)
        }

    .spot p {
        max-width: 560px;
        margin: 0 auto;
        color: #c9d4f7
    }

    .spot img {
        height: 90px;
        margin: 0 auto;
        border-radius: 50%
    }

    .spot .dots {
        position: absolute;
        bottom: 20px;
        display: flex;
        gap: 8px
    }

        .spot .dots i {
            width: 30px;
            height: 5px;
            border-radius: 9px;
            background: rgba(255,255,255,.3)
        }

            .spot .dots i.on {
                background: var(--gold)
            }

    .spot .ctl {
        position: absolute;
        top: 16px;
        right: 16px
    }

.chan {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    position: relative
}

    .chan .st {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 24px;
        padding: 24px 20px
    }

        .chan .st b {
            font-size: .78rem;
            color: var(--blue)
        }

    .chan h3 {
        font-size: 1.1rem;
        margin: 6px 0
    }

    .chan p {
        margin: 0;
        font-size: .9rem;
        color: var(--mute)
    }

.subs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0 0;
    justify-content: center
}

    .subs span {
        padding: 11px 20px;
        border-radius: 99px;
        font-weight: 800;
        color: #fff;
        background: var(--blue)
    }

        .subs span:nth-child(2) {
            background: #0a7a4a
        }

        .subs span:nth-child(3) {
            background: #b05a00
        }

        .subs span:nth-child(4) {
            background: var(--navy)
        }

.lab {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 46px
}

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 30px;
    border-top: 4px solid var(--gold)
}

    .panel h3 {
        font-size: 1.4rem;
        margin-bottom: 6px
    }

    .panel > p {
        color: var(--mute);
        font-size: .9rem;
        margin: 0 0 16px
    }

    .panel label {
        display: grid;
        gap: 5px;
        font-weight: 700;
        font-size: .85rem;
        margin-bottom: 12px
    }

    .panel input[type=text], .panel input[type=tel], .panel select {
        font: inherit;
        padding: 12px 14px;
        border-radius: 13px;
        border: 1.5px solid var(--line);
        background: var(--bg);
        color: var(--ink);
        width: 100%
    }

.ck {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 600 !important;
    padding: 10px 12px;
    border-radius: 13px;
    background: var(--bg);
    border: 1px solid var(--line)
}

    .ck input {
        width: 20px;
        height: 20px;
        accent-color: var(--blue)
    }

.ecard {
    margin-top: 18px;
    border-radius: 22px;
    padding: 20px 22px;
    color: #fff;
    background: linear-gradient(135deg,#0d2e78,var(--blue) 60%,#4f86ff);
    position: relative;
    overflow: hidden
}

    .ecard:after {
        content: "";
        position: absolute;
        right: -40px;
        top: -40px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        border: 24px solid rgba(242,181,29,.35)
    }

    .ecard .h {
        display: flex;
        justify-content: space-between;
        font-weight: 800;
        font-size: .8rem;
        letter-spacing: .06em
    }

    .ecard .n {
        font-family: 'Bricolage Grotesque';
        font-size: 1.4rem;
        font-weight: 800;
        margin: 14px 0 2px
    }

    .ecard .m {
        font-family: monospace;
        color: var(--gold);
        font-weight: 700
    }

    .ecard svg {
        background: #fff;
        border-radius: 8px;
        margin-top: 12px;
        width: 100%;
        height: 54px;
        padding: 4px
    }

.stars {
    font-size: 2.2rem;
    letter-spacing: 4px;
    color: var(--gold)
}

    .stars i {
        font-style: normal;
        opacity: .25
    }

        .stars i.on {
            opacity: 1
        }

.sc {
    font-family: 'Bricolage Grotesque';
    font-weight: 800;
    font-size: 3rem;
    color: var(--blue)
}

.verd {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    font-size: .9rem;
    background: rgba(242,181,29,.16);
    border: 1px solid rgba(242,181,29,.5)
}

.note {
    font-size: .76rem;
    color: var(--mute);
    margin-top: 12px
}

.cond {
    display: grid;
    gap: 16px;
    margin: 34px 0 0;
    /* 📱 STYLE PAR DÉFAUT : MOBILE (Liste verticale) */
    grid-template-columns: repeat(1, 1fr); /* 1 seule colonne : les cadres s'empilent vers le bas */
}

    .cond div {
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 22px;
        padding: 22px;
        text-align: center;
        width: 100%; /* Les cadres prennent toute la largeur disponible du smartphone */
        box-sizing: border-box; /* Évite que le padding ne fasse déborder le cadre */
    }

/* 💻 STYLE POUR ORDINATEUR (Écrans de plus de 768px de large) */
@media (min-width: 768px) {
    .cond {
        /* On bascule automatiquement sur les 4 colonnes côte à côte */
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Le reste de votre code (Inchangé) */
.cond em {
    font-style: normal;
    font-size: 2rem;
    display: block;
}

.cond b {
    display: block;
    color: var(--gold);
    margin: 6px 0 4px;
}

.cond span {
    font-size: .86rem;
    color: #b8c4ea;
}




.lb {
    position: fixed;
    inset: 0;
    background: rgba(4,11,34,.92);
    z-index: 200;
    display: none;
    place-items: center;
    padding: 20px;
    cursor: zoom-out
}

    .lb.on {
        display: grid
    }

    .lb img {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px;
        box-shadow: 0 30px 90px #000
    }

@media print {
    .top, header, footer, .lb, #prog, .hero, .partners {
        display: none !important
    }

    body[data-pt] main > * {
        display: none !important
    }

    body[data-pt=canal] #canal, body[data-pt=donnees] #donnees {
        display: block !important;
        background: #fff !important;
        color: #000 !important
    }

    body[data-pt=canal] .lab > .panel:last-child, body[data-pt=canal] .chan, body[data-pt=canal] .subs, body[data-pt=canal] .sh, body[data-pt=donnees] .lab > .panel:first-child, body[data-pt=donnees] .sh {
        display: none !important
    }
}

.gl {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px 22px;
    transition: transform .3s
}

.dark .gl {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.15)
}

    .dark .gl p {
        color: #b8c4ea
    }

.gl:hover {
    transform: translateY(-6px)
}

.chp {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: .68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(242,181,29,.22);
    color: var(--gold)
}

#missions .chp {
    color: #8a5d00
}

#missions .gl h3 {
    margin-top: 6px
}

#missions .gl em, #nwayegheu .gl em {
    font-style: normal;
    font-size: 1.7rem
}

@media(max-width:960px) {
    .two, .lab {
        grid-template-columns: 1fr
    }

    .mis, .chan, .cond {
        grid-template-columns: 1fr 1fr
    }

    .imp {
        grid-template-columns: 1fr
    }
}

@media(max-width:620px) {
    .mis, .chan, .cond {
        grid-template-columns: 1fr
    }

    .orn:before, .orn:after {
        width: 44px
    }

    .spot {
        min-height: 520px
    }
}

#prog {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg,var(--gold),var(--blue),var(--gold));
    z-index: 300;
    background-size: 200% 100%;
    animation: shine 3s linear infinite
}

.fl {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 34px
}

    .fl button {
        font: inherit;
        font-weight: 700;
        padding: 10px 20px;
        border-radius: 99px;
        border: 1.5px solid var(--line);
        background: var(--card);
        color: var(--ink);
        cursor: pointer;
        transition: all .25s
    }

        .fl button.on, .fl button:hover {
            background: var(--blue);
            color: #fff;
            border-color: var(--blue);
            transform: translateY(-2px)
        }

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

.dc {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 14px 14px 22px;
    transition: transform .35s,box-shadow .35s,opacity .4s;
    overflow: hidden;
    --mx: 50%;
    --my: 50%
}

    .dc:before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(260px circle at var(--mx) var(--my),rgba(242,181,29,.22),transparent 60%);
        opacity: 0;
        transition: opacity .3s;
        pointer-events: none
    }

    .dc:hover {
        transform: translateY(-8px);
        box-shadow: 0 36px 60px -30px rgba(29,75,168,.55)
    }

        .dc:hover:before {
            opacity: 1
        }

    .dc[hidden] {
        display: none
    }

    .dc img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        object-position: top;
        border-radius: 18px;
        cursor: zoom-in;
        border: 1px solid var(--line);
        transition: transform .5s
    }

    .dc:hover img {
        transform: scale(1.03)
    }

    .dc .tg {
        display: inline-block;
        margin: 16px 0 8px;
        padding: 5px 12px;
        border-radius: 99px;
        font-size: .72rem;
        font-weight: 800;
        background: rgba(242,181,29,.2);
        color: #8a5d00
    }

    .dc h3 {
        font-size: 1.15rem;
        margin-bottom: 6px
    }

    .dc p {
        margin: 0;
        color: var(--mute);
        font-size: .9rem
    }

.vid {
    max-width: 760px;
    margin: 70px auto 0
}

    .vid[hidden] {
        display: none
    }

    .vid video {
        cursor: auto
    }

.hero h1 .grad, .sh h2 {
    background-size: 200% 100%
}

@media(max-width:960px) {
    .dg {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:620px) {
    .dg {
        grid-template-columns: 1fr
    }

    .dc img {
        height: 300px
    }
}

.frame {
    background: linear-gradient(135deg,#f2b51d,#d9431c 55%,#8a8f98)
}

.gl {
    cursor: pointer
}

    .gl:after, .dc:after {
        content: "Lire les engagements →";
        display: block;
        margin-top: 14px;
        font-size: .78rem;
        font-weight: 800;
        color: var(--blue)
    }

.dark .gl:after {
    color: var(--gold)
}

html[lang=fr] .gl:after {
    content: "Voir plus ..."
}

html[lang=en] .gl:after {
    content: "See more ..."
}

.md {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(4,11,34,.78);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px
}

    .md.on {
        display: flex
    }

.mp {
    background: var(--card);
    color: var(--ink);
    border-radius: 30px;
    max-width: 720px;
    width: 100%;
    max-height: 88vh;
    overflow: auto;
    padding: 34px 30px;
    border-top: 6px solid var(--gold);
    box-shadow: 0 50px 100px -30px #000;
    animation: mi .45s cubic-bezier(.2,.9,.3,1.2)
}

@keyframes mi {
    from {
        opacity: 0;
        transform: translateY(40px) scale(.94)
    }
}

.mp .tg2 {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 99px;
    font-size: .74rem;
    font-weight: 800;
    background: rgba(242,181,29,.22);
    color: #8a5d00
}

.mp h3 {
    font-size: 1.7rem;
    margin: 12px 0 6px
}

.mp h4 {
    margin: 20px 0 6px;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue)
}

.mp p, .mp li {
    color: var(--mute);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0
}

.mp ul {
    padding-left: 18px;
    display: grid;
    gap: 8px;
    margin: 0
}

.mx {
    position: sticky;
    top: 0;
    float: right;
    border: 0;
    background: var(--blue);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer
}

.mp .btn {
    margin-top: 22px
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px
}

.pt {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
    margin-top: 14px
}

    .pt th, .pt td {
        padding: 9px 8px;
        border-bottom: 1px solid var(--line);
        text-align: left
    }

    .pt th {
        color: var(--blue);
        font-size: .72rem;
        text-transform: uppercase
    }

    .pt .bar2 {
        height: 7px;
        border-radius: 9px;
        background: var(--line);
        overflow: hidden
    }

        .pt .bar2 i {
            display: block;
            height: 100%;
            background: linear-gradient(90deg,var(--gold),#d9431c);
            transition: width .5s
        }

.rng {
    width: 100%;
    accent-color: var(--blue)
}

.tw {
    overflow-x: auto
}

@media(max-width:620px) {
    .grid2 {
        grid-template-columns: 1fr
    }

    .mp {
        padding: 26px 20px
    }
}

.gal {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 210px;
    gap: 14px
}

.gi[hidden] {
    display: none
}

.gi {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 2px solid rgba(242,181,29,.4);
    transition: transform .4s,border-color .4s,box-shadow .4s
}

    .gi.big {
        grid-column: span 2;
        grid-row: span 2
    }

    .gi img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: zoom-in;
        transition: transform .8s
    }

    .gi:hover {
        transform: translateY(-6px);
        border-color: var(--gold);
        box-shadow: 0 30px 50px -24px #000
    }

        .gi:hover img {
            transform: scale(1.08)
        }

    .gi figcaption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 30px 14px 12px;
        font-size: .82rem;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(transparent,rgba(4,11,34,.9))
    }

.by {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--mute)
}

    .by img, .nwi {
        height: 50px;
        width: auto
    }

.nwl {
    text-align: center;
    margin-bottom: 22px
}

    .nwl img {
        height: 130px;
        width: auto;
        filter: drop-shadow(0 12px 24px rgba(242,181,29,.45));
        animation: flt 5s ease-in-out infinite;
        cursor: zoom-in
    }

@keyframes flt {
    50% {
        transform: translateY(-8px)
    }
}

.gl .nwi {
    display: block;
    height: 56px;
    margin-bottom: 8px
}

.lgo img.nwi {
    height: 84px
}

.mp .nwi {
    height: 70px;
    margin-bottom: 6px
}

footer .by {
    justify-content: center
}

@media(max-width:960px) {
    .gal {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .gal {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px
    }

    .gi.big {
        grid-column: auto;
        grid-row: auto
    }
}

section {
    position: relative
}

    section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 10px;
        /*background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14'%3E%3Cpath d='M0 7l12-6 12 6-12 6z' fill='%23f2b51d'/%3E%3Cpath d='M24 7l12-6 12 6-12 6z' fill='%23d9431c'/%3E%3Cpath d='M0 13h48' stroke='%231d4ba8' stroke-width='2'/%3E%3C/svg%3E") repeat-x;
        */opacity: .9;
        z-index: 3
    }

.sh h2:after {
    content: "";
    display: block;
    width: 150px;
    height: 12px;
    margin: 14px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='12'%3E%3Cpath d='M0 6h54M96 6h54' stroke='%23f2b51d' stroke-width='2'/%3E%3Cpath d='M75 0l9 6-9 6-9-6z' fill='%23d9431c'/%3E%3Ccircle cx='60' cy='6' r='3' fill='%231d4ba8'/%3E%3Ccircle cx='90' cy='6' r='3' fill='%231d4ba8'/%3E%3C/svg%3E") no-repeat center
}

.lb {
    z-index: 500
}

.tl-i {
    position: relative;
    width: calc(50% - 38px);
    margin: 0 0 26px;
    /* ✨ AJOUTS POUR LA BORDURE ET L'ANIMATION DE BASE */
    background: rgba(255, 255, 255, 0.03); /* Un fond très léger pour faire ressortir la boîte */
    border: 1px solid rgba(255, 255, 255, 0.12); /* Bordure fine et élégante */
    border-radius: 16px; /* Bords arrondis modernes */
    padding: 24px; /* Espace interne pour respirer */
    box-sizing: border-box;
    /* 🎬 Transition fluide pour l'animation (0.3 seconde) */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

    /* 🚀 ANIMATION QUAND LA SOURIS ENTRE (HOVER) */
    .tl-i:hover {
        transform: translateY(-5px); /* Le bloc monte légèrement de 5px */
        border-color: var(--gold); /* La bordure prend la couleur dorée */
        background: rgba(255, 255, 255, 0.06); /* Le fond s'illumine un peu plus */
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 15px 0 rgba(217, 67, 28, 0.15); /* Ombre portée + lueur colorée diffuse */
    }

    .tl-i:nth-child(even) {
        margin-left: calc(50% + 38px)
    }

    .tl-i:before {
        content: "";
        position: absolute;
        top: 28px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--gold);
        border: 4px solid var(--bg);
        box-shadow: 0 0 0 3px var(--gold);
        z-index: 2;
        /* Transition pour que la pastille réagisse aussi au survol */
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    /* 🔥 Animation de la petite pastille sur la ligne au survol */
    .tl-i:hover:before {
        transform: scale(1.2); /* La pastille grossit de 20% */
        background: #d9431c; /* Elle change de couleur pour suivre le dégradé */
    }

    /* Ajustement des positions de la pastille à cause du nouveau padding */
    .tl-i:nth-child(odd):before {
        right: -49px
    }

    .tl-i:nth-child(even):before {
        left: -49px
    }

    .tl-i .yr {
        display: inline-block;
        font-weight: 800;
        font-size: .82rem;
        padding: 5px 14px;
        border-radius: 99px;
        background: var(--blue);
        color: #fff;
        margin-bottom: 8px;
        /* Petite transition sur le badge de l'année */
        transition: background 0.3s ease;
    }

    /* Changement de couleur du badge de l'année au survol */
    .tl-i:hover .yr {
        background: var(--gold);
    }

    .tl-i h3 {
        font-size: 1.15rem;
        margin: 0 0 6px;
        transition: color 0.3s ease;
    }

    /* Le titre passe en blanc brillant ou doré au survol */
    .tl-i:hover h3 {
        color: #fff;
    }

    .tl-i p {
        margin: 0;
        color: var(--mute)
    }


.cpg {
    margin-top: 60px;
    text-align: center
}

    .cpg h3 {
        font-size: 1.5rem;
        margin-bottom: 8px
    }

    .cpg > p {
        max-width: 640px;
        margin: 0 auto 26px;
        color: #b8c4ea
    }

.cpi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    max-width: 880px;
    margin: 0 auto
}

    .cpi figure {
        margin: 0;
        background: #fff;
        border-radius: 18px;
        padding: 10px;
        border: 3px solid var(--gold);
        box-shadow: 0 30px 60px -30px #000
    }

    .cpi img {
        width: 100%;
        border-radius: 10px;
        cursor: zoom-in
    }

    .cpi figcaption {
        color: #334;
        font-size: .86rem;
        font-weight: 700;
        padding: 10px 0 2px
    }

.cp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px
}

    .cp img {
        width: 100%;
        border-radius: 12px;
        border: 2px solid var(--gold);
        cursor: zoom-in;
        background: #fff
    }

.vgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 26px;
    max-width: 900px;
    margin: 56px auto 0
}

    .vgrid video {
        width: 100%;
        display: block;
        border-radius: 22px;
        background: #000
    }

.tab {
    display: none
}

@media(max-width:960px) {
    .cpi {
        grid-template-columns: 1fr
    }
}

@media(max-width:700px) {
    html {
        font-size: 17px
    }

    .tl:before {
        left: 20px
    }

    .tl-i, .tl-i:nth-child(even) {
        width: auto;
        margin-left: 52px
    }

        .tl-i:nth-child(n):before {
            left: -43px;
            right: auto
        }

    .sh h2 {
        font-size: 2rem !important;
        line-height: 1.15
    }

    .sh p, .cap, .note, .gl p, .tl-i p, .cpg > p {
        font-size: 1rem !important;
        line-height: 1.55
    }

    .gl, .dc {
        padding: 26px 22px
    }

    .cap {
        color: #c9d4f7
    }

    .dark .cap {
        color: #c9d4f7
    }

    .md {
        align-items: flex-end;
        padding: 0
    }

    .mp {
        border-radius: 28px 28px 0 0;
        max-height: 92vh;
        padding: 26px 20px 40px
    }

        .mp p, .mp li {
            font-size: 1rem
        }

        .mp h3 {
            font-size: 1.5rem
        }

    .tab {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 250;
        background: rgba(8,24,64,.96);
        backdrop-filter: blur(10px);
        border-top: 3px solid var(--gold);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom))
    }

        .tab a {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            font-size: 1.25rem;
            color: #fff;
            text-decoration: none;
            padding: 6px 2px;
            min-height: 48px
        }

            .tab a span {
                font-size: .68rem;
                font-weight: 800;
                letter-spacing: .02em
            }

            .tab a.go {
                background: var(--gold);
                color: #081840;
                border-radius: 14px
            }

    body {
        padding-bottom: 84px
    }

    .btn {
        min-height: 50px;
        font-size: 1.02rem
    }

    .gal {
        grid-auto-rows: 230px
    }
}

/* Liens de premier niveau */
.nav-link-custom, .dropdown-trigger {
    color: var(--mute);
    transition: color .2s;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .nav-link-custom:hover, .dropdown-custom:hover .dropdown-trigger {
        color: #000; /* Ou votre couleur active principale */
    }

/* Structure du conteneur du sous-menu */
.dropdown-custom {
    position: relative;
    padding: 10px 0; /* Évite que le sous-menu se ferme si la souris bouge un peu */
}

/* Fenêtre du sous-menu caché par défaut */
.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 8px 0;
    z-index: 1000;
}

    /* Liens à l'intérieur du sous-menu */
    .dropdown-menu-custom a {
        color: var(--mute);
        padding: 8px 16px;
        text-decoration: none;
        display: block;
        font-size: 0.88rem;
        font-weight: 500;
        transition: background .2s, color .2s;
    }

        .dropdown-menu-custom a:hover {
            background-color: #f8f9fa;
            color: #000;
        }

/* Affichage au survol de la souris */
.dropdown-custom:hover .dropdown-menu-custom {
    display: block;
}

/* Petite icône flèche (optionnelle - nécessite Bootstrap Icons) */
.bi-chevron-down {
    font-size: 0.75rem;
}

/* Liens de sous-menus mobiles */
.mobile-sub-menu a {
    text-decoration: none;
    padding: 6px 0;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .mobile-sub-menu a:hover {
        color: var(--ink) !important;
    }

/* Animation de la flèche de direction */
.mobile-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--mute);
}

/* Rotation de la flèche quand le menu est OUVERT */
.mobile-nav-link:not(.collapsed) .mobile-arrow {
    transform: rotate(180deg);
    color: var(--ink);
}

/* Optionnel : Léger effet visuel sur le lien principal cliqué */
.mobile-nav-link:active {
    opacity: 0.7;
}

/* Le conteneur principal qui masque ce qui dépasse de l'écran */
.marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    background: transparent; /* Ajustez selon vos besoins */
    padding: 10px 0;
}

/* Le ruban de défilement */
.track {
    display: flex;
    width: max-content;
}

/* Les sous-groupes identiques animés */
.track-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    min-width: 100%; /* S'assure que le groupe fait au moins la largeur de l'écran */
    animation: scrollInfinite 50s linear infinite; /* Animation linéaire fluide */
}

/* Structure de chaque case de logo */
.logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 45px; /* Espacement horizontal généreux entre logos */
    flex-shrink: 0;
}

    /* Style et taille des images (AGRANDIES) */
    .logo-item img {
        height: 75px; /* Hauteur augmentée pour corriger les logos trop petits */
        width: auto;
        object-fit: contain;
        max-width: none !important; /* Empêche Bootstrap d'écraser la taille */
    }

/* Structure de chaque case de logo */
.logo-partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0; /* Espacement horizontal généreux entre logos */
    flex-shrink: 0;
}

    /* Style et taille des images (AGRANDIES) */
    .logo-partner img {
        height: 75px; /* Hauteur augmentée pour corriger les logos trop petits */
        width: auto;
        object-fit: contain;
        max-width: none !important; /* Empêche Bootstrap d'écraser la taille */
    }

/* Animation CSS de déplacement à 100% linéaire */
@keyframes scrollInfinite {
    0% {
        transform: translateX(0%);
    }

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

/* Optionnel : Arrête le défilement proprement si l'utilisateur met sa souris dessus */
.marquee-container:hover .track-group {
    animation-play-state: paused !important;
}




