/* ==========================================================================
   EKINOKS — feuille de style du site
   --------------------------------------------------------------------------
   Sommaire (dans l'ordre du fichier) :
     1. Polices (fichiers dans assets/fonts/)
     2. Couleurs et réglages généraux  (:root — changer une couleur ici la change partout)
     3. Mise en page de base : en-tête, héros, cartes, pages intérieures
     4. Ajouts du 11/10/2026 : accessibilité, menu mobile, formulaires
     5. Bande des références et chiffres clés
     6. Refonte design du 12/10/2026 (ces règles passent devant les précédentes)

   Attention : en CSS, quand deux règles disent le contraire, c'est la plus
   basse dans le fichier qui gagne. Les sections 4 à 6 corrigent donc parfois
   les sections 1 à 3 : pour modifier un style, chercher d'abord en bas.

   Couleurs principales : orange #F58220 · bleu #1C5AA8 · bleu nuit #0e2c4d
   ========================================================================== */

/* ==========================================================================
   1. POLICES
   ========================================================================== */
/* Polices auto-hébergées — RGPD : suppression du chargement Google Fonts (plus de transfert d'IP vers Google). */
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow/barlow-500.woff2") format("woff2")
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow/barlow-600.woff2") format("woff2")
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow/barlow-700.woff2") format("woff2")
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow/barlow-800.woff2") format("woff2")
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans/ibm-plex-sans-400.woff2") format("woff2")
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans/ibm-plex-sans-500.woff2") format("woff2")
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans/ibm-plex-sans-600.woff2") format("woff2")
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans/ibm-plex-sans-700.woff2") format("woff2")
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono/ibm-plex-mono-500.woff2") format("woff2")
}


/* ==========================================================================
   2. COULEURS ET RÉGLAGES GÉNÉRAUX
   ========================================================================== */
:root {
    --orange: #F58220;
    --orange-d: #d96a10;
    --bleu: #1C5AA8;
    --bleu-d: #164a88;
    --bleu-dd: #0e2c4d;
    --bg: #ffffff;
    --alt: #eef3f9;
    --card: #ffffff;
    --ink: #152331;
    --muted: #51647a;
    --line: #e2e9f1;
    --shadow: 0 1px 2px rgba(14, 44, 77, .05), 0 10px 30px rgba(14, 44, 77, .07);
    --maxw: 1160px;
    --fd: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --fb: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #0c1520;
        --alt: #111d2b;
        --card: #14202e;
        --ink: #e8f0f8;
        --muted: #9db0c4;
        --line: #223346;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px rgba(0, 0, 0, .4);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #0c1520;
    --alt: #111d2b;
    --card: #14202e;
    --ink: #e8f0f8;
    --muted: #9db0c4;
    --line: #223346;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px rgba(0, 0, 0, .4);
    color-scheme: dark;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--fb);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

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

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

h1,
h2,
h3 {
    font-family: var(--fd);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: normal;
    text-wrap: balance;
    margin: 0
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: 22px
}

section {
    padding-block: 72px
}

section.alt {
    background: var(--alt)
}

.eyebrow {
    font-family: var(--fd);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 12.5px;
    color: var(--orange);
    display: block;
    margin-bottom: 12px
}

.eyebrow.light {
    color: #ffcf9e
}

h2.sec {
    font-size: clamp(25px, 3.3vw, 35px);
    margin-bottom: 10px;
    letter-spacing: 0
}

.sub {
    color: var(--muted);
    font-size: 17px;
    max-width: 66ch;
    margin: 0 0 36px
}

.muted-i {
    font-style: italic;
    color: var(--muted)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fd);
    font-weight: 700;
    font-size: 16px;
    padding: 13px 22px;
    border-radius: 9px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .08s, background .2s
}

.btn:hover {
    transform: translateY(-1px)
}

.btn.sm {
    padding: 9px 16px;
    font-size: 14px
}

.btn-orange {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 6px 16px rgba(245, 130, 32, .28)
}

.btn-orange:hover {
    background: var(--orange-d)
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .5);
    color: #fff
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .1)
}

.btn-blue {
    background: var(--bleu);
    color: #fff
}

.btn-line {
    background: transparent;
    border-color: var(--bleu);
    color: var(--bleu)
}

/* ==========================================================================
   3. MISE EN PAGE DE BASE
   ========================================================================== */
.ic {
    width: 24px;
    height: 24px;
    flex: 0 0 auto
}

.bar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid #e6ecf3
}

.barin {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px
}

.brand img {
    height: 40px;
    width: auto
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px
}

.nav a {
    font-weight: 600;
    font-size: 15px;
    color: #2a3a4b
}

.nav a:hover {
    color: var(--bleu)
}

.nav a.active {
    color: var(--bleu);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 2px
}

.hero {
    background: linear-gradient(135deg, var(--bleu-dd), var(--bleu));
    color: #fff;
    position: relative;
    overflow: hidden
}

.heroin {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 46px;
    align-items: center;
    padding-block: 72px
}

.herotext h1 {
    font-size: clamp(33px, 4.6vw, 54px);
    margin: 4px 0 20px;
    color: #fff;
    letter-spacing: 0
}

.herotext h1 .hl {
    color: #ffb268
}

.herotext p {
    font-size: clamp(16.5px, 1.5vw, 19px);
    max-width: 52ch;
    color: #d7e4f3;
    margin: 0 0 30px
}

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

.heropanel {
    position: relative;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 28px
}

.hpgrid {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(120% 120% at 70% 20%, #000, transparent 75%)
}

.hpinner {
    position: relative
}

.hptitle {
    font-family: var(--fd);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12.5px;
    color: #ffcf9e
}

.hplist {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.hplist li {
    display: flex;
    align-items: center;
    gap: 13px;
    font-weight: 600;
    font-size: 16px;
    color: #eaf2fb
}

.hplist .ic {
    color: #ffb268
}

.pagehead {
    background: linear-gradient(135deg, var(--bleu-dd), var(--bleu));
    color: #fff
}

.pagehead .wrap {
    padding-block: 54px
}

.pagehead h1 {
    font-size: clamp(30px, 4vw, 46px);
    color: #fff;
    margin: 6px 0 10px
}

.pagehead p {
    color: #d7e4f3;
    font-size: 18px;
    max-width: 60ch;
    margin: 0
}

.crumb {
    font-size: 13px;
    color: #a9c3e4;
    margin-bottom: 6px
}

.crumb a {
    color: #a9c3e4
}

.grid {
    display: grid;
    gap: 18px
}

.g4 {
    grid-template-columns: repeat(4, 1fr)
}

.g3 {
    grid-template-columns: repeat(3, 1fr)
}

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

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 26px;
    box-shadow: var(--shadow);
    min-width: 0
}

.card h3 {
    font-family: var(--fd);
    font-size: 20px;
    margin: 0 0 7px
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px
}

.card ul {
    margin: 12px 0 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.card ul li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    font-size: 14.5px
}

.card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange)
}

.ico {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--bleu) 11%, transparent);
    color: var(--bleu);
    margin-bottom: 16px
}

.ico .ic {
    width: 26px;
    height: 26px
}

.segs .card {
    border-top: 3px solid var(--orange)
}

.band {
    background: var(--bleu-dd);
    color: #fff
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    text-align: center
}

.stat b {
    font-family: var(--fd);
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #fff
}

.stat span {
    font-size: 14px;
    color: #bcd0e8
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px
}

.step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 22px 16px
}

.step .n {
    font-family: var(--fd);
    font-weight: 800;
    font-size: 15px;
    color: var(--orange);
    display: block;
    margin-bottom: 8px
}

.step .t {
    font-weight: 600;
    font-size: 15px
}

.refs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.ref {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 22px;
    font-family: var(--fd);
    font-weight: 700;
    color: var(--bleu);
    font-size: 16px
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .ref {
        color: #9cc0ef
    }
}

:root[data-theme="dark"] .ref {
    color: #9cc0ef
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14.5px;
    box-shadow: var(--shadow)
}

.badge::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
    flex: 0 0 auto
}

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

.pcard {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column
}

.pcard .ph {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bleu), var(--bleu-dd));
    background-size: cover;
    background-position: center;
    display: block
}

.pcard .ph.cat-sen {
    background: linear-gradient(135deg, #1c7a93, #0e3450)
}

.pcard .ph.cat-ter {
    background: linear-gradient(135deg, #2a4a6b, #0e2c4d)
}

.pcard .ph::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .14;
    background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%2060%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.4%22%3E%3Crect%20x%3D%2212%22%20y%3D%2220%22%20width%3D%2222%22%20height%3D%2234%22/%3E%3Crect%20x%3D%2240%22%20y%3D%2210%22%20width%3D%2226%22%20height%3D%2244%22/%3E%3Crect%20x%3D%2272%22%20y%3D%2226%22%20width%3D%2218%22%20height%3D%2228%22/%3E%3Crect%20x%3D%2294%22%20y%3D%2216%22%20width%3D%2220%22%20height%3D%2238%22/%3E%3C/g%3E%3Cg%20fill%3D%22%23fff%22%20opacity%3D%22.55%22%3E%3Crect%20x%3D%2216%22%20y%3D%2224%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2224%22%20y%3D%2224%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2232%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2224%22%20y%3D%2232%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2245%22%20y%3D%2215%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2253%22%20y%3D%2215%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2245%22%20y%3D%2224%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2253%22%20y%3D%2224%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2245%22%20y%3D%2233%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2253%22%20y%3D%2233%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2298%22%20y%3D%2221%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%22106%22%20y%3D%2221%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%2298%22%20y%3D%2230%22%20width%3D%224%22%20height%3D%224%22/%3E%3Crect%20x%3D%22106%22%20y%3D%2230%22%20width%3D%224%22%20height%3D%224%22/%3E%3C/g%3E%3C/svg%3E') center/cover no-repeat
}

.pcard .ph.has-img::before {
    display: none
}

.pcard .ph::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(14, 44, 77, .10) 0%, rgba(14, 44, 77, .08) 45%, rgba(14, 44, 77, .62) 100%)
}

.pcard .ph .pname {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 12px;
    z-index: 2;
    color: #fff;
    font-family: var(--fd);
    font-weight: 800;
    font-size: 19px;
    line-height: 1.1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5)
}

.pcard .ph .pdate {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 2;
    background: rgba(255, 255, 255, .94);
    color: var(--bleu-dd);
    font-family: var(--fb);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .02em;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(14, 44, 77, .25)
}

.pcard .ph .pdate.enc {
    background: var(--orange);
    color: #fff
}

.pcard .pb {
    padding: 18px
}

.pcard .tag {
    display: inline-block;
    background: color-mix(in srgb, var(--orange) 15%, transparent);
    color: var(--orange-d);
    font-weight: 700;
    font-size: 12px;
    border-radius: 6px;
    padding: 3px 9px;
    margin-bottom: 9px
}

.pcard dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    font-size: 14px
}

.pcard dt {
    color: var(--muted)
}

.pcard dd {
    margin: 0;
    font-weight: 600
}

.prose p {
    color: var(--muted);
    font-size: 16.5px;
    max-width: 70ch
}

.svc {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 26px 0;
    border-bottom: 1px solid var(--line)
}

.svc:last-child {
    border-bottom: 0
}

.svc .ico {
    margin-bottom: 0
}

.svc h3 {
    font-size: 22px;
    margin: 0 0 6px
}

.svc p {
    color: var(--muted);
    margin: 0;
    max-width: 70ch
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 720px
}

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

.form label {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 6px
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--card);
    color: var(--ink);
    font: inherit
}

.form textarea {
    min-height: 120px;
    resize: vertical
}

.weefiks {
    background: linear-gradient(135deg, #0e3052, #1c5aa8);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap
}

.weefiks h2 {
    font-size: 27px;
    margin: 0 0 8px;
    color: #fff
}

.weefiks p {
    margin: 0;
    color: #d7e4f3;
    max-width: 54ch
}

.weefiks .side {
    margin-left: auto
}

footer {
    background: var(--bleu-dd);
    color: #bcd0e8;
    padding-block: 54px
}

footer .cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 34px;
    align-items: start
}

footer h4 {
    font-family: var(--fd);
    color: #fff;
    font-size: 17px;
    margin: 0 0 12px
}

footer a {
    color: #bcd0e8
}

footer a:hover {
    color: #fff
}

.flogo {
    height: 40px;
    width: auto;
    background: #fff;
    padding: 7px 10px;
    border-radius: 9px;
    margin-bottom: 12px
}

.nap b {
    color: #fff
}

.foot-note {
    grid-column: 1/-1;
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 14px;
    padding-top: 16px;
    font-size: 13px;
    color: #8aa3c0
}

.beta {
    background: var(--orange);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    padding: 7px 16px
}

@media(max-width:920px) {
    .heroin {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-block: 52px
    }

    .heropanel {
        order: 2
    }

    .g4,
    .g3,
    .proj {
        grid-template-columns: repeat(2, 1fr)
    }

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

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

    footer .cols {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    section {
        padding-block: 46px
    }

    .g4,
    .g3,
    .g2,
    .proj,
    .segs.g4,
    .form {
        grid-template-columns: 1fr
    }

    footer .cols {
        grid-template-columns: 1fr
    }

    .weefiks {
        padding: 28px
    }

    .weefiks .side {
        margin-left: 0
    }

    .brand img {
        height: 34px
    }

    .svc {
        flex-direction: column;
        gap: 10px
    }
}

.brandlogo {
    display: block;
    width: 152px;
    height: 40px;
    background: url(../images/logo/logo-ekinoks-site.webp) no-repeat left center;
    background-size: contain
}

.flogo {
    display: inline-block;
    height: auto;
    width: auto;
    background: #fff;
    padding: 7px 11px;
    border-radius: 9px;
    margin-bottom: 12px
}

.flogo .brandlogo {
    width: 150px;
    height: 34px
}

/* ==========================================================================
   4. AJOUTS DU 11/10/2026 : accessibilité, menu mobile, formulaires
   ========================================================================== */
.skip {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    background: var(--ink);
    color: var(--bg);
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700
}

.skip:focus {
    left: 12px
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
    border-radius: 4px
}

.bar {
    background: var(--bg);
    border-bottom-color: var(--line)
}

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

.nav a:not(.btn) {
    padding: 6px 2px;
    border-bottom: 2px solid transparent
}

.nav a.active {
    padding-bottom: 6px
}

.navtoggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer
}

.navtoggle svg path {
    transition: transform .2s, opacity .2s;
    transform-origin: center
}

.bar.open .navtoggle .l1 {
    transform: translateY(5px) rotate(45deg)
}

.bar.open .navtoggle .l2 {
    opacity: 0
}

.bar.open .navtoggle .l3 {
    transform: translateY(-5px) rotate(-45deg)
}

.beta {
    position: relative;
    z-index: 41
}

@media(max-width:920px) {
    .barin {
        flex-wrap: wrap;
        min-height: 64px;
        gap: 10px
    }

    .navtoggle {
        display: inline-flex
    }

    .nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0 14px;
        margin-left: 0;
        border-top: 1px solid var(--line)
    }

    .bar.open .nav {
        display: flex
    }

    .nav a:not(.btn) {
        display: block;
        padding: 13px 4px;
        font-size: 17px;
        border-bottom: 1px solid var(--line)
    }

    .nav a.active {
        border-bottom: 1px solid var(--line);
        box-shadow: inset 3px 0 0 var(--orange);
        padding-left: 12px
    }

    .nav .btn {
        margin-top: 12px;
        justify-content: center
    }

    .nav .btn+.btn {
        margin-top: 8px
    }
}

@media(max-width:560px) {
    .heroin {
        padding-block: 44px
    }

    .herotext h1 {
        font-size: clamp(30px, 8.6vw, 40px)
    }
}

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

a[href^="tel:"] {
    white-space: nowrap
}

.form .hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent)
}

.form .req {
    color: var(--orange)
}

.form .note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px
}

.form .ok {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: var(--ink);
    background: color-mix(in srgb, var(--orange) 12%, transparent);
    border-radius: 9px;
    padding: 12px 14px
}

.form .err {
    display: block;
    margin-top: 10px;
    color: #b3261e;
    font-weight: 600
}

[hidden] {
    display: none !important
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .bar .brandlogo {
        background-color: #fff;
        border-radius: 8px;
        padding: 4px 8px;
        box-sizing: content-box
    }
}

:root[data-theme="dark"] .bar .brandlogo {
    background-color: #fff;
    border-radius: 8px;
    padding: 4px 8px;
    box-sizing: content-box
}

.legal {
    max-width: 76ch
}

.legal h2 {
    font-size: 20px;
    margin: 26px 0 8px;
    font-family: var(--fd)
}

.legal p,
.legal li {
    color: var(--muted);
    font-size: 15.5px
}

.legal b {
    color: var(--ink)
}

.flist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px
}

.fbtn {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 15px;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer
}

.fbtn[aria-pressed="true"] {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff
}

.fcount {
    font-size: 14px;
    color: var(--muted);
    margin: -10px 0 18px
}

.pcard[hidden] {
    display: none
}

.callbar {
    display: none
}

footer .legal-line {
    grid-column: 1/-1;
    font-size: 12.5px;
    color: #8aa3c0;
    margin-top: -6px
}

footer .legal-line a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.stats.s5 {
    grid-template-columns: repeat(5, 1fr)
}

@media(max-width:920px) {
    .stats.s5 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .stats.s5 {
        grid-template-columns: 1fr 1fr
    }
}

/* ==========================================================================
   5. BANDE DES RÉFÉRENCES ET CHIFFRES CLÉS
   ========================================================================== */
.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center
}

.logos span {
    font-family: var(--fd);
    font-weight: 700;
    font-size: 15px;
    color: var(--bleu);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 9px 14px
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .logos span {
        color: #9cc0ef
    }
}

:root[data-theme="dark"] .logos span {
    color: #9cc0ef
}

/* ==========================================================================
   6. REFONTE DESIGN DU 12/10/2026 (couleurs et logo inchangés)
   ========================================================================== */
:root {
    --r: 6px;
    --alt: #F4F7FB;
    --head: #0e2c4d;
    --fm: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --bp: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    --maxw: 1240px
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --alt: #111d2b;
        --head: #e8f0f8
    }
}

:root[data-theme="dark"] {
    --alt: #111d2b;
    --head: #e8f0f8
}

body {
    line-height: 1.65
}

.wrap {
    padding-inline: 32px
}

section {
    padding-block: 96px
}

h1,
h2,
h3 {
    letter-spacing: -.015em
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--fm);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: .07em;
    color: var(--bleu);
    margin-bottom: 16px
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--orange);
    flex: 0 0 auto
}

.eyebrow.light {
    color: #ffb268
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .eyebrow:not(.light) {
        color: #9cc0ef
    }
}

:root[data-theme="dark"] .eyebrow:not(.light) {
    color: #9cc0ef
}

h2.sec {
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.08;
    color: var(--head);
    margin-bottom: 14px
}

.sub {
    font-size: 17.5px;
    margin-bottom: 48px
}

.btn {
    border-radius: var(--r);
    padding: 14px 24px
}

.btn.sm {
    padding: 10px 18px
}

.btn-orange {
    color: var(--bleu-dd);
    box-shadow: none
}

.btn-orange:hover {
    background: #ff9640
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .4)
}

.btn-line {
    border-radius: var(--r)
}

/* en-tête */
.bar {
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px)
}

.barin {
    min-height: 80px;
    gap: 28px
}

.brandlogo {
    width: 170px;
    height: 46px
}

.nav {
    gap: 26px
}

.nav a {
    font-weight: 500
}

.nav a.active {
    color: var(--bleu);
    border-bottom-color: var(--orange)
}

.bar .btn-orange {
    background: var(--bleu-dd);
    color: #fff
}

.bar .btn-orange:hover {
    background: var(--bleu)
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .bar .btn-orange {
        background: var(--orange);
        color: var(--bleu-dd)
    }
}

:root[data-theme="dark"] .bar .btn-orange {
    background: var(--orange);
    color: var(--bleu-dd)
}

.beta {
    color: var(--bleu-dd)
}

/* hero & en-têtes de page : trame « plan » */
.hero,
.pagehead,
.band,
.weefiks {
    background-color: var(--bleu-dd) !important;
    background-image: var(--bp) !important;
    background-size: 40px 40px !important
}

.heroin {
    padding-block: 104px 112px;
    gap: 64px
}

.herotext h1 {
    font-size: clamp(40px, 5.6vw, 74px);
    line-height: 1.02;
    letter-spacing: -.02em;
    margin-bottom: 26px
}

.herotext h1 .hl {
    color: var(--orange)
}

.herotext p {
    font-size: 19px;
    margin-bottom: 38px
}

.heropanel {
    background: #fff;
    color: #152331;
    border: 0;
    border-radius: var(--r);
    padding: 32px 34px;
    box-shadow: 0 30px 70px rgba(4, 18, 34, .4)
}

.hpgrid {
    display: none
}

.hptitle {
    font-family: var(--fm);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--bleu)
}

.hplist {
    counter-reset: lt;
    gap: 0;
    margin-top: 10px
}

.hplist li {
    color: #152331;
    padding: 15px 0;
    border-bottom: 1px solid #e2e9f1;
    font-size: 16.5px;
    gap: 16px
}

.hplist li:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.hplist li::before {
    counter-increment: lt;
    content: counter(lt, decimal-leading-zero);
    font-family: var(--fm);
    font-weight: 500;
    font-size: 13px;
    color: #d96a10;
    min-width: 22px
}

.hplist .ic {
    display: none
}

.pagehead .wrap {
    padding-block: 84px 76px
}

.pagehead h1 {
    font-size: clamp(34px, 4.6vw, 58px);
    letter-spacing: -.02em;
    line-height: 1.05;
    margin: 10px 0 16px
}

.pagehead p {
    font-size: 18.5px
}

.crumb {
    font-family: var(--fm);
    font-size: 12.5px;
    letter-spacing: .03em
}

/* cartes & blocs */
.card {
    border-radius: var(--r);
    box-shadow: none;
    padding: 30px;
    transition: border-color .2s
}

.card:hover {
    border-color: color-mix(in srgb, var(--bleu) 45%, var(--line))
}

.card h3 {
    font-size: 22px;
    color: var(--head)
}

.ico {
    border-radius: var(--r)
}

.segs .card {
    border-top: 3px solid var(--orange)
}

.grid {
    gap: 22px
}

.stats {
    gap: 0
}

.stat {
    padding: 6px 18px;
    border-left: 1px solid rgba(255, 255, 255, .14)
}

.stat:first-child {
    border-left: 0
}

.stat b {
    font-size: clamp(32px, 3.8vw, 50px);
    letter-spacing: -.02em;
    line-height: 1.05;
    margin-bottom: 6px
}

.step {
    border-radius: var(--r);
    padding: 24px 18px
}

.step .n {
    font-family: var(--fm);
    font-weight: 500;
    font-size: 13px;
    color: #d96a10
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .step .n {
        color: var(--orange)
    }
}

:root[data-theme="dark"] .step .n {
    color: var(--orange)
}

.ref {
    border-radius: var(--r)
}

.logos {
    gap: 12px 36px
}

.logos span {
    background: transparent;
    border: 0;
    padding: 2px 0;
    font-size: 21px
}

.badge {
    box-shadow: none;
    padding: 12px 20px
}

.weefiks {
    border-radius: var(--r);
    padding: 52px 48px;
    gap: 40px
}

.weefiks h2 {
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.1
}

.pcard {
    border-radius: var(--r);
    box-shadow: none;
    transition: transform .2s, box-shadow .2s
}

.pcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.pcard .ph {
    height: 180px
}

.pcard .tag {
    border-radius: 4px;
    color: #b3540a
}

.svc h3 {
    color: var(--head)
}

.form input,
.form select,
.form textarea {
    border-radius: var(--r);
    padding: 13px 15px
}

.fbtn[aria-pressed="true"] {
    color: var(--bleu-dd)
}

/* chiffres clés (accueil) */
.figs {
    padding-block: 80px 8px
}

.figs .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.fig {
    padding: 6px 28px;
    border-left: 1px solid var(--line)
}

.fig:first-child {
    border-left: 0;
    padding-left: 0
}

.fig b {
    display: block;
    font-family: var(--fd);
    font-weight: 800;
    font-size: clamp(40px, 4.4vw, 58px);
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--head)
}

.fig span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px
}

/* pied de page */
footer {
    background: #0a2038;
    padding-block: 76px 40px
}

footer h4 {
    font-family: var(--fm);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffb268
}

.flogo {
    border-radius: var(--r)
}

@media(max-width:920px) {
    .figs .row {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px
    }

    .fig:nth-child(3) {
        border-left: 0;
        padding-left: 0
    }

    .stat {
        border-left: 0
    }

    .heroin {
        padding-block: 64px 72px
    }
}

@media(max-width:560px) {
    .wrap {
        padding-inline: 20px
    }

    section {
        padding-block: 60px
    }

    .figs {
        padding-block: 56px 0
    }

    .fig {
        padding: 0 0 0 16px
    }

    .fig:nth-child(odd) {
        padding-left: 0;
        border-left: 0
    }

    .weefiks {
        padding: 30px 24px
    }

    .heropanel {
        padding: 24px
    }

    .pagehead .wrap {
        padding-block: 56px
    }
}

/* hero / en-têtes : pas de double marge */
section.hero,
section.pagehead {
    padding-block: 0
}

/* ==========================================================================
   7. AJOUTS DU 07/11/2026 : page Entreprise animée, formulaire de candidature
   ========================================================================== */

/* --- Flèche « Découvrir » dans l'en-tête de page ------------------------- */
.descendre {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: #fff;
    opacity: .85;
    text-decoration: none;
    font-family: var(--fd);
    font-weight: 600;
    letter-spacing: .04em;
}

.descendre:hover {
    opacity: 1;
}

.descendre svg {
    animation: descendre 1.8s ease-in-out infinite;
}

@keyframes descendre {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* --- Méthode : colonne de gauche fixe, étapes qui défilent à droite ------ */
.parcours-grille {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
}

.parcours-entete {
    position: sticky;
    top: 110px;
}

.parcours-entete h2.sec {
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.02;
}

.parcours-jauge {
    position: relative;
    height: 4px;
    margin-top: 32px;
    background: var(--line);
    border-radius: 4px;
    overflow: hidden;
}

.parcours-jauge span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 20%;
    background: var(--orange);
    border-radius: 4px;
    transition: width .5s ease;
}

.parcours-compteur {
    margin-top: 12px;
    font-family: var(--fd);
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.parcours-compteur b {
    color: var(--orange);
    font-size: 22px;
}

.parcours-etapes {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.parcours-etape {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 20px;
    min-height: 46vh;
    align-content: center;
    padding: 36px 0;
    border-top: 1px solid var(--line);
}

.parcours-num {
    font-family: var(--fd);
    font-weight: 800;
    font-size: 64px;
    line-height: 1;
    color: var(--line);
    transition: color .5s ease;
}

.parcours-etape h3 {
    font-family: var(--fd);
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.15;
    color: var(--bleu-dd);
    margin: 4px 0 12px;
}

.parcours-etape p {
    color: var(--muted);
    font-size: 17px;
    max-width: 52ch;
}

.parcours-etape ul {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.parcours-etape li {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--ink);
    background: var(--card);
}

/* état « animé » : seulement si le script tourne (classe .anime posée sur <html>) */
.anime .parcours-etape .parcours-texte {
    opacity: .25;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.anime .parcours-etape.visible .parcours-texte {
    opacity: 1;
    transform: none;
}

.anime .parcours-etape.active .parcours-num {
    color: var(--orange);
}

.anime .apparait {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s ease, transform .8s ease;
}

.anime .apparait.visible {
    opacity: 1;
    transform: none;
}

/* téléphone et tablette en vertical : une seule colonne, pas de colonne fixe */
@media (max-width: 900px) {
    .parcours-grille {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .parcours-entete {
        position: static;
    }

    .parcours-jauge,
    .parcours-compteur {
        display: none;
    }

    .parcours-etape {
        min-height: 0;
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 28px 0;
    }

    .parcours-num {
        font-size: 40px;
    }
}

/* visiteurs qui ont demandé moins d'animations : tout est affiché, sans mouvement */
@media (prefers-reduced-motion: reduce) {
    .descendre svg { animation: none; }
    .anime .parcours-etape .parcours-texte,
    .anime .apparait { opacity: 1; transform: none; transition: none; }
}

/* --- Formulaire de candidature (page Recrutement) ------------------------ */
#candidature {
    scroll-margin-top: 90px;
}

.cand-card {
    max-width: 760px;
    margin-top: 28px;
}

.form input[type="file"] {
    padding: 10px;
    background: var(--alt);
    cursor: pointer;
}

.form .hint {
    font-weight: 400;
    color: var(--muted);
    font-size: 13px;
}

/* --- Chiffres clés sur petit téléphone : ne pas dépasser de l'écran ------ */
@media (max-width: 560px) {
    .stats .stat {
        min-width: 0;
    }

    .stats .stat b {
        font-size: clamp(24px, 7.5vw, 34px);
        overflow-wrap: anywhere;
    }
}

/* ==========================================================================
   8. BOUTON LINKEDIN (pied de page) — ajouté le 07/11/2026
   ========================================================================== */
.reseaux {
    margin-top: 14px
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none
}

.btn-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff
}

/* ==========================================================================
   9. PHOTOS DES RÉALISATIONS — vraies images (lisibles par Google), 07/11/2026
   ========================================================================== */
.pcard .ph .ph-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}
