/* =============================================================================
   ELOT GROUP — SYSTÈME DE DESIGN "FLUX"
   Palette dérivée directement du logo :
     #0676BE  bleu ELOT (couleur dominante du logo)
     #003183  navy ELOT (mot « Group »)
     #C1009A  magenta ELOT (pictogramme) — accent rare
   ========================================================================== */

:root {
    /* --- Marque --- */
    --brand:        #0676BE;
    --brand-600:    #0568A9;
    --brand-700:    #04568B;
    --brand-300:    #4FB4EC;
    --brand-200:    #9AD5F6;
    --brand-050:    #EAF5FC;
    --navy:         #003183;
    --magenta:      #C1009A;

    /* --- Encres --- */
    --ink:          #041A2E;   /* fond sombre principal */
    --ink-800:      #07253F;
    --ink-700:      #0C3352;
    --text:         #10222F;
    --text-soft:    #4F6B80;
    --text-faint:   #8AA2B4;

    /* --- Surfaces --- */
    --paper:        #FFFFFF;
    --paper-tint:   #F4F8FB;
    --line:         #E2EBF2;
    --line-dark:    rgba(255,255,255,.14);

    /* --- Typo --- */
    --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
    --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

    /* --- Rythme --- */
    --gutter:       clamp(20px, 5vw, 64px);
    --section:      clamp(72px, 9vw, 136px);
    --radius:       14px;
    --radius-lg:    22px;

    /* --- Mouvement --- */
    --ease:         cubic-bezier(.22,1,.36,1);
    --fast:         .25s var(--ease);
    --slow:         .6s var(--ease);

    --shadow-sm:    0 2px 8px rgba(4,26,46,.06);
    --shadow:       0 18px 44px -18px rgba(4,26,46,.28);
    --shadow-lg:    0 40px 90px -30px rgba(4,26,46,.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

/* Icônes SVG : taille et tracé par défaut. Les règles de composants qui
   suivent redéfinissent librement width/height. */
.ic {
    width: 1em;
    height: 1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
a   { color: inherit; text-decoration: none; }
ul  { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
p   { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

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

/* --- Grille de page ------------------------------------------------------ */
.wrap {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 960px; }

.section { padding-block: var(--section); }
.section--tint { background: var(--paper-tint); }
.section--dark { background: var(--ink); color: #fff; }

/* =============================================================================
   MOTIFS DE MARQUE
   Les « lignes de vitesse » du logo, réutilisées comme trame graphique.
   ========================================================================== */
.speedlines {
    --sl-color: rgba(255,255,255,.16);
    background-image: repeating-linear-gradient(
        180deg, var(--sl-color) 0 2px, transparent 2px 9px
    );
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 22px;
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 8px;
    flex: none;
    background: repeating-linear-gradient(180deg, currentColor 0 2px, transparent 2px 4px);
}
.eyebrow--light { color: var(--brand-200); }

.section-title {
    font-size: clamp(30px, 4.4vw, 54px);
    max-width: 19ch;
}
.section-title--wide { max-width: 26ch; }

.lead {
    font-size: clamp(16px, 1.5vw, 18.5px);
    color: var(--text-soft);
    max-width: 62ch;
    margin-top: 22px;
}
.section--dark .lead { color: rgba(255,255,255,.68); }

/* =============================================================================
   1. NAVIGATION
   ========================================================================== */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    transition: background var(--fast), box-shadow var(--fast), backdrop-filter var(--fast);
}
.nav__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 92px;
    transition: height var(--fast);
}
.nav.is-stuck {
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 1px 0 var(--line), 0 12px 34px -26px rgba(4,26,46,.5);
}
.nav.is-stuck .nav__inner { height: 74px; }

.nav__logo { flex: none; display: block; }
.nav__logo img {
    height: 46px;
    width: auto;
    transition: height var(--fast);
}
.nav.is-stuck .nav__logo img { height: 38px; }

/* Sur fond sombre (hero), le logo reste lisible grâce à son propre fond bleu. */

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav__link {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-size: 14.5px;
    font-weight: 500;
    color: #fff;
    border-radius: 8px;
    transition: color var(--fast), background var(--fast);
}
.nav.is-stuck .nav__link { color: var(--ink-700); }
.nav__link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 4px;
    height: 2px;
    background: var(--brand-300);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--fast);
}
.nav.is-stuck .nav__link::after { background: var(--brand); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { font-weight: 600; }

/* Sous-menu Solutions */
.nav__item { position: relative; }
.nav__item--has-menu > .nav__link { display: flex; align-items: center; gap: 7px; }
.nav__chevron { width: 10px; height: 10px; transition: transform var(--fast); }
.nav__item--has-menu:hover .nav__chevron,
.nav__item--has-menu:focus-within .nav__chevron { transform: rotate(180deg); }

.nav__sub {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 274px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--fast), transform var(--fast), visibility var(--fast);
}
.nav__item--has-menu:hover .nav__sub,
.nav__item--has-menu:focus-within .nav__sub {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-700);
    transition: background var(--fast), color var(--fast);
}
.nav__sub a:hover { background: var(--brand-050); color: var(--brand); }
.nav__sub svg { width: 18px; height: 18px; flex: none; color: var(--brand); }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: 12px;
    padding: 12px 22px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--fast), transform var(--fast), box-shadow var(--fast);
}
.nav__cta:hover {
    background: var(--brand-600);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -12px rgba(6,118,190,.8);
}
.nav__cta svg { width: 15px; height: 15px; }

.nav__burger {
    display: none;
    margin-left: auto;
    width: 46px; height: 46px;
    padding: 0;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    align-items: center; justify-content: center;
    transition: background var(--fast), color var(--fast), border-color var(--fast);
}
.nav.is-stuck .nav__burger {
    background: var(--brand-050);
    border-color: var(--line);
    color: var(--ink);
}
.nav__burger svg { width: 20px; height: 20px; }
.nav__burger .icon-close { display: none; }
.nav__burger[aria-expanded="true"] .icon-close { display: block; }
.nav__burger[aria-expanded="true"] .icon-menu  { display: none; }

/* =============================================================================
   2. BOUTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 15px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.005em;
    cursor: pointer;
    transition: background var(--fast), color var(--fast), border-color var(--fast),
                transform var(--fast), box-shadow var(--fast);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--fast); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover {
    background: var(--brand-600);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -14px rgba(6,118,190,.75);
}
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand-200); }
.btn--outline:hover { background: var(--brand-050); border-color: var(--brand); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--brand);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--fast); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =============================================================================
   3. HERO PRINCIPAL
   ========================================================================== */
.hero {
    position: relative;
    min-height: min(100svh, 860px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 150px;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: heroDrift 22s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(104deg, rgba(4,26,46,.96) 0%, rgba(4,26,46,.82) 42%, rgba(4,26,46,.34) 78%, rgba(4,26,46,.62) 100%),
        linear-gradient(0deg, rgba(4,26,46,.9) 0%, transparent 46%);
}
/* Halo bleu signature */
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 60vw; height: 60vw;
    max-width: 780px; max-height: 780px;
    right: -12vw; top: -14vw;
    background: radial-gradient(circle, rgba(6,118,190,.5) 0%, transparent 66%);
    filter: blur(20px);
    pointer-events: none;
}

.hero__body { padding-bottom: clamp(48px, 7vw, 92px); position: relative; }

.hero__title {
    font-size: clamp(38px, 6.6vw, 82px);
    font-weight: 800;
    letter-spacing: -.035em;
    max-width: 16ch;
}
.hero__title em {
    font-style: normal;
    color: var(--brand-300);
}
.hero__text {
    margin-top: 26px;
    max-width: 54ch;
    font-size: clamp(16px, 1.6vw, 19px);
    color: rgba(255,255,255,.76);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Rail des modes de transport, en pied de hero.
   Le filet supérieur traverse toute la largeur, les cellules restent alignées
   sur la grille de page — sinon les libellés flottent hors du titre. */
.moderail-band { border-top: 1px solid var(--line-dark); }
.moderail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.moderail__cell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 24px 30px;
    color: rgba(255,255,255,.82);
    transition: background var(--fast), color var(--fast);
}
.moderail__cell + .moderail__cell { border-left: 1px solid var(--line-dark); }
.moderail__cell::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -1px;
    height: 2px;
    background: var(--brand-300);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--slow);
}
.moderail__cell:first-child { padding-left: 0; }
.moderail__cell:last-child { padding-right: 0; }
.moderail__cell:hover { background: rgba(255,255,255,.05); color: #fff; }
.moderail__cell:hover::after { transform: scaleX(1); }
.moderail__cell svg { width: 26px; height: 26px; color: var(--brand-300); }
.moderail__name { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; }
.moderail__desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }

/* =============================================================================
   4. BANDEAU SUIVI / COTATION (chevauche le hero)
   ========================================================================== */
/* La carte suit le hero sans le recouvrir : le rail des modes forme déjà
   une arête dessinée, un chevauchement viendrait manger ses libellés. */
.trackbar {
    position: relative;
    z-index: 5;
    padding-top: clamp(38px, 5vw, 62px);
}
.trackbar__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.trackbar__tabs {
    display: flex;
    gap: 2px;
    padding: 8px 8px 0;
    background: var(--paper-tint);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}
.trackbar__tabs::-webkit-scrollbar { display: none; }
.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 20px;
    background: transparent;
    border: 0;
    border-radius: 10px 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-soft);
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--fast), background var(--fast);
}
.tab-btn svg { width: 17px; height: 17px; }
.tab-btn:hover { color: var(--brand); }
.tab-btn.active { background: #fff; color: var(--brand); box-shadow: 0 -1px 0 var(--line) inset; }

.tool-content { display: none; padding: 22px; }
.tool-content.active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.field-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
}
.field-row--duo { grid-template-columns: 1fr 1fr auto; }

.field {
    height: 56px;
    padding: 0 18px;
    background: var(--paper-tint);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text);
    width: 100%;
    transition: border-color var(--fast), background var(--fast), box-shadow var(--fast);
}
.field::placeholder { color: var(--text-faint); }
.field:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(6,118,190,.13);
}
select.field { min-width: 160px; cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6B80' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 15px;
    padding-right: 42px;
}
.btn-track {
    height: 56px;
    padding: 0 28px;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 9px;
    transition: background var(--fast), transform var(--fast), box-shadow var(--fast);
}
.btn-track svg { width: 16px; height: 16px; }
.btn-track:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(6,118,190,.75); }

.track-result { margin-top: 18px; }
.track-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.track-panel__head {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px;
    background: var(--brand-050);
    border-bottom: 1px solid var(--line);
}
.track-panel__ref { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--navy); }
.track-panel__state {
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 999px; background: var(--brand); color: #fff;
}
.track-panel__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1px; background: var(--line);
}
.track-panel__grid div { background: #fff; padding: 15px 20px; }
.track-panel__grid dt { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 5px; }
.track-panel__grid dd { margin: 0; font-size: 15px; font-weight: 500; }

.track-msg {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 15px 18px; border-radius: var(--radius); font-size: 14.5px;
}
.track-msg svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.track-msg--info  { background: var(--brand-050); color: var(--brand-700); }
.track-msg--error { background: #FEF2F2; color: #9B1C1C; }

/* =============================================================================
   5. CHIFFRES CLÉS
   ========================================================================== */
.figures {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--line);
    gap: 1px;
}
.figure { background: #fff; padding: 34px 28px; }
.figure__value {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--navy);
    line-height: 1;
}
.figure__value sup { font-size: .48em; color: var(--brand); margin-left: 3px; vertical-align: super; }
.figure__label { margin-top: 12px; font-size: 14px; color: var(--text-soft); max-width: 22ch; }

/* =============================================================================
   6. SOLUTIONS — LISTE ÉDITORIALE (remplace la grille de cartes)
   ========================================================================== */
.solutions { border-top: 1px solid var(--line); margin-top: 54px; }

.srow {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) minmax(0, .95fr) 44px;
    align-items: center;
    gap: 30px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left var(--fast);
}
.srow::before {
    content: "";
    position: absolute;
    left: -24px; right: -24px; top: 0; bottom: 0;
    background: var(--brand-050);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity var(--fast);
    z-index: 0;
}
.srow:hover::before { opacity: 1; }
.srow > * { position: relative; z-index: 1; }

.srow__num {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--brand);
    display: flex; align-items: center; gap: 12px;
}
.srow__num span {
    width: 34px; height: 1px; background: var(--brand-200);
    transition: width var(--fast), background var(--fast);
}
.srow:hover .srow__num span { width: 12px; background: var(--brand); }

.srow__title {
    font-size: clamp(21px, 2.4vw, 29px);
    color: var(--navy);
    display: flex; align-items: center; gap: 14px;
}
.srow__title svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.srow__desc { font-size: 15px; color: var(--text-soft); }

.srow__go {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--brand);
    background: #fff;
    transition: background var(--fast), color var(--fast), transform var(--fast), border-color var(--fast);
}
.srow__go svg { width: 16px; height: 16px; }
.srow:hover .srow__go { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }

/* Vignette qui apparaît au survol */
.srow__peek {
    position: absolute;
    right: 78px; top: 50%;
    width: 206px; height: 128px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-50%) translateX(28px) rotate(3deg) scale(.94);
    transition: opacity var(--slow), transform var(--slow);
    pointer-events: none;
    z-index: 2;
}
.srow__peek img { width: 100%; height: 100%; object-fit: cover; }
.srow:hover .srow__peek {
    opacity: 1;
    transform: translateY(-50%) translateX(0) rotate(-2deg) scale(1);
}

/* =============================================================================
   7. BANDEAU PREUVE (image + texte, plein cadre)
   ========================================================================== */
.showcase {
    position: relative;
    color: #fff;
    background: var(--ink);
    overflow: hidden;
    isolation: isolate;
}
.showcase__media {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
}
.showcase::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(96deg, rgba(4,26,46,.97) 0%, rgba(4,26,46,.85) 46%, rgba(4,26,46,.25) 100%);
}
.showcase__inner {
    padding-block: clamp(74px, 9vw, 128px);
    max-width: 640px;
}
.showcase__list { display: grid; gap: 18px; margin-top: 34px; }
.showcase__list li {
    display: flex; gap: 14px; align-items: flex-start;
    font-size: 15.5px; color: rgba(255,255,255,.78);
}
.showcase__list svg { width: 21px; height: 21px; flex: none; color: var(--brand-300); margin-top: 1px; }
.showcase__list strong { color: #fff; font-weight: 600; }

/* =============================================================================
   8. PARTENAIRES — bandeau défilant
   ========================================================================== */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: slide 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee__item {
    flex: none;
    width: 200px;
    height: 112px;
    margin-inline: 10px;
    padding: 16px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
/* Les logos fournis vont du carré (200×200) au très large (381×192).
   L'image occupe toute la boîte et `object-fit: contain` la met à l'échelle
   à l'intérieur : rien ne déborde, rien n'est déformé, et tous les logos
   s'alignent optiquement sur la même hauteur.
   (Avec width/height en auto, object-fit n'a aucune boîte à remplir et
   reste sans effet — c'était la cause des débordements.) */
.marquee__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: grayscale(1);
    opacity: .72;
    transition: filter var(--fast), opacity var(--fast);
}
.marquee__item:hover img { filter: grayscale(0); opacity: 1; }

/* =============================================================================
   9. HERO SECONDAIRE (pages intérieures)
   ========================================================================== */
.phero {
    position: relative;
    padding-top: 168px;
    padding-bottom: clamp(56px, 7vw, 96px);
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.phero__media {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
}
.phero::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(4,26,46,.96) 0%, rgba(4,26,46,.84) 48%, rgba(4,26,46,.4) 100%);
}
.phero::after {
    content: "";
    position: absolute; z-index: -1;
    right: -8vw; bottom: -22vw;
    width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
    background: radial-gradient(circle, rgba(6,118,190,.42) 0%, transparent 68%);
}
.phero__title {
    font-size: clamp(32px, 4.9vw, 58px);
    font-weight: 800;
    max-width: 17ch;
}
.phero__text { margin-top: 20px; max-width: 58ch; font-size: clamp(15.5px, 1.4vw, 17.5px); color: rgba(255,255,255,.74); }

.crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
    font-size: 13px; color: rgba(255,255,255,.55);
    margin-bottom: 26px;
}
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 12px; height: 12px; opacity: .5; }

/* =============================================================================
   10. CONTENU DE SOLUTION (2 colonnes + rail latéral)
   ========================================================================== */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(36px, 5vw, 78px);
    align-items: start;
}
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.split--reverse > :first-child { order: 2; }

.prose h3 {
    font-size: clamp(19px, 1.9vw, 23px);
    color: var(--navy);
    margin-top: 46px;
    margin-bottom: 18px;
}
.prose h3:first-child { margin-top: 0; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--navy); font-weight: 600; }

.checklist { display: grid; gap: 16px; }
.checklist li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    background: var(--paper-tint);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 15.3px;
    color: var(--text-soft);
    transition: transform var(--fast), box-shadow var(--fast), background var(--fast);
}
.checklist li:hover { transform: translateX(5px); background: #fff; box-shadow: var(--shadow-sm); }
.checklist__icon {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--brand);
}
.checklist__icon svg { width: 18px; height: 18px; }
.checklist strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 3px; }

/* Rail latéral : autres solutions */
.rail {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 10px;
    padding: 22px;
    background: var(--ink);
    border-radius: var(--radius-lg);
    color: #fff;
}
.rail__title {
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--brand-200); margin-bottom: 6px;
}
.rail a {
    display: flex; align-items: center; gap: 13px;
    padding: 13px 15px;
    border-radius: 11px;
    font-size: 14.5px; font-weight: 500;
    color: rgba(255,255,255,.78);
    transition: background var(--fast), color var(--fast);
}
.rail a svg:first-child { width: 19px; height: 19px; flex: none; color: var(--brand-300); }
.rail a svg:last-child  { width: 14px; height: 14px; margin-left: auto; opacity: 0; transition: opacity var(--fast), transform var(--fast); }
.rail a:hover { background: rgba(255,255,255,.08); color: #fff; }
.rail a:hover svg:last-child { opacity: 1; transform: translateX(3px); }
.rail a.is-current { background: var(--brand); color: #fff; }
.rail a.is-current svg:first-child { color: #fff; }
.rail__cta {
    margin-top: 12px; padding-top: 18px;
    border-top: 1px solid var(--line-dark);
}
.rail__cta p { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.rail__cta .btn { width: 100%; justify-content: center; }

/* Cadre image de contenu */
.frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.frame::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(4,26,46,.45));
    pointer-events: none;
}
.frame__caption {
    position: absolute; left: 20px; right: 20px; bottom: 18px;
    color: #fff; font-size: 13.5px; font-weight: 500;
    z-index: 1;
    text-shadow: 0 1px 12px rgba(4,26,46,.8);
}

/* Fiches techniques */
.specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
    gap: 20px;
    margin-top: 34px;
}
.spec {
    padding: 30px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
}
.spec:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.spec__icon {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    background: var(--brand-050);
    border-radius: 13px;
    color: var(--brand);
    margin-bottom: 20px;
}
.spec__icon svg { width: 23px; height: 23px; }
.spec h4 { font-size: 17.5px; color: var(--navy); margin-bottom: 10px; }
.spec p { font-size: 14.5px; color: var(--text-soft); }

/* =============================================================================
   11. GALERIE RÉALISATIONS — MOSAÏQUE
   ========================================================================== */
.gbar {
    position: sticky;
    top: 74px;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    background: rgba(255,255,255,.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.filter-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px; font-weight: 500;
    color: var(--text-soft);
    cursor: pointer;
    transition: background var(--fast), color var(--fast), border-color var(--fast), transform var(--fast);
}
.filter-btn svg { width: 16px; height: 16px; }
.filter-btn:hover { border-color: var(--brand-200); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-btn__count { font-size: 12px; opacity: .62; font-variant-numeric: tabular-nums; }
.gbar__total { margin-left: auto; font-size: 13.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }

/* Les hauteurs de tuile doivent être commensurables, sinon `dense` ne peut
   pas combler les creux et la mosaïque se troue :
   une grande tuile (4 rangées) = exactement deux tuiles normales (2 + 2). */
.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 108px;
    grid-auto-flow: dense;
    gap: 14px;
    margin-top: 34px;
}
.tile {
    position: relative;
    grid-row: span 2;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper-tint);
}
.js .tile {
    opacity: 0;
    transform: translateY(22px) scale(.985);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.tile.is-in { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }

/* Rythme de la mosaïque : quelques tuiles hautes et larges */
.tile--tall { grid-row: span 4; }
.tile--wide { grid-column: span 2; grid-row: span 4; }

.tile a { display: block; width: 100%; height: 100%; }
.tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .75s var(--ease), filter var(--fast);
}
.tile:hover img { transform: scale(1.07); }

.tile__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(4,26,46,0) 42%, rgba(4,26,46,.86));
    opacity: 0;
    transition: opacity var(--fast);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 16px 18px;
    color: #fff;
    pointer-events: none;
}
.tile:hover .tile__veil, .tile:focus-within .tile__veil { opacity: 1; }
.tile__tag {
    font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
    color: var(--brand-300); margin-bottom: 5px;
}
.tile__name { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.tile__zoom {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: #fff;
    opacity: 0; transform: scale(.7);
    transition: opacity var(--fast), transform var(--fast);
}
.tile__zoom svg { width: 15px; height: 15px; }
.tile:hover .tile__zoom { opacity: 1; transform: scale(1); }

.gallery-empty {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
    color: var(--text-faint);
}

/* Visionneuse plein écran */
.viewer {
    position: fixed; inset: 0; z-index: 1200;
    display: none;
    align-items: center; justify-content: center;
    padding: clamp(16px, 4vw, 56px);
    background: rgba(3,17,30,.96);
    backdrop-filter: blur(10px);
}
.viewer.is-open { display: flex; animation: fade .3s var(--ease); }
.viewer__stage { position: relative; max-width: 100%; max-height: 100%; }
.viewer__img {
    max-width: 100%;
    max-height: calc(100svh - 190px);
    width: auto; height: auto;
    border-radius: 10px;
    box-shadow: 0 40px 100px -30px #000;
}
.viewer__meta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 18px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
}
.viewer__meta strong { color: #fff; font-weight: 600; }
.viewer__count { font-variant-numeric: tabular-nums; letter-spacing: .05em; }

.viewer__btn {
    position: absolute;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background var(--fast), transform var(--fast);
}
.viewer__btn:hover { background: var(--brand); transform: scale(1.07); }
.viewer__btn svg { width: 20px; height: 20px; }
.viewer__btn--prev  { left: clamp(8px, 2vw, 28px);  top: 50%; transform: translateY(-50%); }
.viewer__btn--next  { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.viewer__btn--prev:hover { transform: translateY(-50%) scale(1.07); }
.viewer__btn--next:hover { transform: translateY(-50%) scale(1.07); }
.viewer__btn--close { top: clamp(8px, 2vw, 26px); right: clamp(8px, 2vw, 26px); }

/* =============================================================================
   12. À PROPOS
   ========================================================================== */
.values { display: grid; gap: 12px; }
.values li {
    display: flex; align-items: center; gap: 15px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 15.5px; font-weight: 500;
    color: var(--navy);
    transition: border-color var(--fast), transform var(--fast);
}
.values li:hover { border-color: var(--brand); transform: translateX(5px); }
.values svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

.sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 22px; margin-top: 40px; }
.site {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    transition: transform var(--fast), box-shadow var(--fast);
}
.site:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.site__img { aspect-ratio: 16 / 10; overflow: hidden; }
.site__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.site:hover .site__img img { transform: scale(1.06); }
.site__body { padding: 22px 24px 26px; }
.site__body h4 { font-size: 17.5px; color: var(--navy); }
.site__body p { margin-top: 7px; font-size: 14px; color: var(--text-soft); }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.person {
    display: flex; align-items: center; gap: 18px;
    padding: 24px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    transition: background var(--fast), border-color var(--fast);
}
.person:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); }
.person__badge {
    width: 62px; height: 62px; flex: none;
    display: grid; place-items: center;
    background: linear-gradient(140deg, var(--brand) 0%, var(--navy) 100%);
    border-radius: 16px;
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700; letter-spacing: .02em;
    color: #fff;
}
.person h4 { font-size: 17.5px; color: #fff; }
.person p { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 3px; }

/* Frise chronologique */
.timeline { margin-top: 44px; display: grid; gap: 0; }
.tl-item {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 28px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item__key {
    font-family: var(--font-display); font-size: 15px; font-weight: 700;
    color: var(--brand); letter-spacing: .04em;
}
.tl-item__body h4 { font-size: 18px; color: var(--navy); margin-bottom: 7px; }
.tl-item__body p { font-size: 15px; color: var(--text-soft); }

/* =============================================================================
   13. CONTACT
   ========================================================================== */
.form-grid { display: grid; gap: 18px; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field label {
    display: block;
    font-size: 13px; font-weight: 600; letter-spacing: .04em;
    color: var(--navy);
    margin-bottom: 8px;
}
textarea.field { height: auto; padding: 15px 18px; resize: vertical; min-height: 150px; line-height: 1.6; }

.form-status {
    display: none;
    align-items: flex-start; gap: 12px;
    margin-top: 6px;
    padding: 15px 18px;
    border-radius: var(--radius);
    font-size: 14.5px;
}
.form-status.is-shown { display: flex; }
.form-status svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.form-status--info    { background: var(--brand-050); color: var(--brand-700); }
.form-status--success { background: #ECFDF5; color: #065F46; }
.form-status--error   { background: #FEF2F2; color: #9B1C1C; }

.contact-card {
    padding: clamp(26px, 3vw, 38px);
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
}
.contact-line {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
}
.contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-line__icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    color: var(--brand-300);
}
.contact-line__icon svg { width: 19px; height: 19px; }
.contact-line h4 { font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--brand-200); margin-bottom: 8px; }
.contact-line p { font-size: 15.5px; color: rgba(255,255,255,.86); }
.contact-line p + p { margin-top: 4px; }
.contact-line a:hover { color: var(--brand-300); }

/* =============================================================================
   14. APPEL À L'ACTION FINAL
   ========================================================================== */
.cta-band {
    position: relative;
    padding-block: clamp(58px, 7vw, 96px);
    background: linear-gradient(120deg, var(--navy) 0%, var(--brand-700) 55%, var(--brand) 130%);
    color: #fff;
    overflow: hidden;
}
.cta-band::after {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0 2px, transparent 2px 11px);
    pointer-events: none;
}
.cta-band__inner {
    position: relative; z-index: 1;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 42px); max-width: 18ch; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,.78); max-width: 46ch; font-size: 16px; }
.cta-band .btn--primary { background: #fff; color: var(--navy); }
.cta-band .btn--primary:hover { background: var(--brand-050); box-shadow: 0 16px 32px -14px rgba(0,0,0,.5); }

/* =============================================================================
   15. PIED DE PAGE
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: clamp(56px, 6vw, 86px); }
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(28px, 4vw, 56px);
    padding-bottom: 52px;
}
.footer__logo img { height: 50px; width: auto; }
.footer__about { margin-top: 20px; font-size: 14.5px; max-width: 32ch; line-height: 1.7; }
.footer__title {
    line-height: 1.3;
    font-family: var(--font-body);
    font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
    color: var(--brand-200);
    margin: 0 0 18px;
}
/* Page 404 : liste des solutions */
.notfound__links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-size: 17px; font-weight: 600; }
.notfound__links a { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); transition: color var(--fast); }
.notfound__links a:hover { color: var(--brand); }
.notfound__links svg { width: 20px; height: 20px; color: var(--brand); }
.footer__links { display: grid; gap: 11px; font-size: 14.5px; }
.footer__links a { transition: color var(--fast), padding-left var(--fast); }
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer__contact { display: grid; gap: 14px; font-size: 14.5px; }
.footer__contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; flex: none; color: var(--brand-300); margin-top: 3px; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    padding-block: 24px;
    border-top: 1px solid var(--line-dark);
    font-size: 13px;
    color: rgba(255,255,255,.45);
}
.footer__bottom span { display: inline-flex; align-items: center; gap: 9px; }

/* Retour en haut */
.totop {
    position: fixed;
    right: clamp(16px, 3vw, 30px);
    bottom: clamp(16px, 3vw, 30px);
    z-index: 800;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: var(--brand);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 28px -10px rgba(6,118,190,.8);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity var(--fast), visibility var(--fast), transform var(--fast), background var(--fast);
}
.totop.is-shown { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--navy); }
.totop svg { width: 18px; height: 18px; }

/* =============================================================================
   16. RÉVÉLATION AU DÉFILEMENT
   ========================================================================== */
/* L'état masqué n'est appliqué que si le script a pu poser la classe .js sur
   <html>. Sans JavaScript, tout le contenu reste visible au lieu d'une page
   blanche. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
.js [data-reveal][data-delay="4"] { transition-delay: .32s; }

/* =============================================================================
   17. RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
    .mosaic { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .srow__peek { display: none; }
}

@media (max-width: 1024px) {
    .nav__menu {
        position: fixed;
        inset: 0 0 auto 0;
        top: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 104px 20px 28px;
        background: #fff;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        transition: transform .45s var(--ease);
        max-height: 100svh;
        overflow-y: auto;
    }
    .nav__menu.is-open { transform: translateY(0); }
    .nav__link { color: var(--ink-700); padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav__link::after { display: none; }
    .nav__link.is-active { color: var(--brand); }
    .nav__burger { display: flex; }
    .nav__sub {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-bottom: 1px solid var(--line);
        border-radius: 0; padding: 4px 0 10px 14px; min-width: 0;
        display: none;
    }
    .nav__item--has-menu.is-open .nav__sub { display: block; }
    .nav__cta { margin: 14px 0 0; justify-content: center; }
    .nav__chevron { margin-left: auto; }

    .split { grid-template-columns: minmax(0, 1fr); }
    .split--even { grid-template-columns: minmax(0, 1fr); }
    .split--reverse > :first-child { order: 0; }
    .rail { position: static; }
    .moderail { grid-template-columns: repeat(2, 1fr); }
    .moderail__cell:nth-child(3) { border-left: 0; }
    .moderail__cell:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
    .figures { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .srow {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 16px 20px;
        align-items: start;
    }
    .srow__num { grid-column: 1 / -1; }
    .srow__desc { grid-column: 1 / -1; }
    .srow__go { grid-row: 2; grid-column: 2; }
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 104px; gap: 10px; }
    .tile--wide { grid-column: span 2; grid-row: span 4; }
    .form-duo { grid-template-columns: 1fr; }
    .field-row, .field-row--duo { grid-template-columns: 1fr; }
    .btn-track { width: 100%; justify-content: center; }
    .gbar { top: 70px; }
    .tl-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 560px) {
    .hero { padding-top: 124px; min-height: auto; }
    .hero__body { padding-bottom: 40px; }
    .moderail { grid-template-columns: 1fr; }
    .moderail__cell { border-left: 0 !important; }
    .moderail__cell + .moderail__cell { border-top: 1px solid var(--line-dark); }
    .figures { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .tile, .tile--tall, .tile--wide { grid-row: span 1; grid-column: span 1; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .viewer__btn { width: 44px; height: 44px; }
}

/* =============================================================================
   18. ACCESSIBILITÉ — MOUVEMENT RÉDUIT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal], .tile { opacity: 1 !important; transform: none !important; }
}

@media print {
    .nav, .totop, .viewer, .gbar, .cta-band { display: none !important; }
    body { color: #000; }
}
