/* Calculs Splitom / Splitom Computing : feuille du site.
   « Fiche technique éditoriale » : grille de 12 colonnes, filets fins, fiches libellé / valeur, blanc dominant.
   Le bleu #0018FF sert d'accent précis et de deux aplats : la fiche technique (bande pleine largeur) et
   l'appel final. Jetons tirés de la charte (Lufga, encre #08080F). */
@font-face { font-family: "Lufga"; src: url("/static/fonts/lufga-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lufga"; src: url("/static/fonts/lufga-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lufga"; src: url("/static/fonts/lufga-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #fff;
  --ink: #08080f;          /* titres, filets forts */
  --graphite: #26263a;     /* texte courant, 14:1 */
  --slate: #5a5a73;        /* libellés, 6,7:1 */
  --rule: #d8d8e2;         /* filets fins (décoratifs) */
  --line-ui: #77778f;      /* contours des champs, 4,4:1 */
  --mist: #f6f6fa;
  --blue: #0018ff;         /* 8,2:1 sur blanc */
  --blue-dark: #0013d6;
  --blue-tint: #eceeff;
  --on-blue: #d6daff;      /* texte secondaire sur bleu, 6,0:1 */
  --on-blue-rule: rgba(255, 255, 255, .34);
  --danger: #b42318;       /* 6,5:1 sur blanc */
  --todo: #fff1a8;
  --font: "Lufga", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --gap: clamp(1rem, 2.2vw, 2rem);
  --maxw: 80rem;
  --head-h: 4.5rem;
  --sec-pad: clamp(2.5rem, 5.5vw, 5rem);
  --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --pill: 999px;
  --fs-lead: clamp(1.125rem, 1.02rem + .38vw, 1.32rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 1.55vw, 2.6rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1.5rem); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.62; color: var(--graphite); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-kerning: normal; overflow-wrap: break-word; }
main { display: block; }
main:focus { outline: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 1.15rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
.doc-body p, .doc-body li { text-wrap: wrap; }
ul, ol { margin: 0 0 1em; padding: 0; list-style: none; }
li { margin: 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 500; color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
mark.todo { background: var(--todo); color: #4d3a00; padding: .08em .3em; border-radius: 4px; font-size: .88em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Ponctuation des textes validés toujours visible ; séparateur collé au terme qui le précède. */
.sep, .nw { white-space: nowrap; }
/* Titres : le groupe reste entier tant qu'il tient sur une ligne, et se coupe seulement s'il est plus large
   que la colonne (espacements de texte WCAG 1.4.12 à 320 px). */
h1 .nw { display: inline-block; max-width: 100%; white-space: normal; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -6rem; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.2rem; border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 500; text-decoration: none; }
.skip:focus { top: .7rem; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-right: auto; color: var(--blue); text-decoration: none; }
.brand img { width: 30px; }
.brand-name { font-size: 1.3rem; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 1.1rem; }
.nav-list { display: flex; margin: 0; }
.nav-list a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 .8rem; color: var(--ink); font-size: .97rem; text-decoration: none; transition: color .15s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--blue); }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: calc((44px - var(--head-h)) / 2 - 1px); height: 2px; background: var(--blue); }
.lang { position: relative; display: flex; align-items: center; min-height: 44px; padding-left: 1.2rem; color: var(--slate); font-size: .95rem; text-decoration: none; transition: color .15s var(--ease); }
.lang::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 1.1rem; margin-top: -.55rem; background: var(--rule); }
.lang:hover { color: var(--blue); }
.nav-toggle { display: none; }

/* Boutons et liens de source */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .7rem 1.45rem; border: 1.5px solid transparent; border-radius: var(--pill); font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--blue-tint); }
.btn-sm { min-height: 44px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .85rem 1.85rem; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
.cta-row .btn-primary::after, .btn-submit::after, .barre-resa .btn::after { content: ""; flex: none; width: 1rem; height: 1rem; margin-right: -.15rem; background: currentColor; -webkit-mask: url("/static/img/fleche.svg") center / contain no-repeat; mask: url("/static/img/fleche.svg") center / contain no-repeat; transition: transform .18s var(--ease); }
.cta-row .btn-primary:hover::after, .btn-submit:hover::after, .barre-resa .btn:hover::after { transform: translateX(3px); }
.src, .link-out a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 500; text-decoration: none; }
.src::after, .link-out a::after { content: ""; flex: none; width: .8em; height: .8em; background: currentColor; -webkit-mask: url("/static/img/fleche-ne.svg") center / contain no-repeat; mask: url("/static/img/fleche-ne.svg") center / contain no-repeat; transition: transform .18s var(--ease); }
.src:hover, .link-out a:hover { text-decoration: underline; }
.src:hover::after, .link-out a:hover::after { transform: translate(2px, -2px); }
.link-out { margin: 1rem 0 0; }

/* Haut de page */
.hero { padding: clamp(2.75rem, 6.5vw, 6rem) 0 clamp(2.75rem, 5.5vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.hero-text { grid-column: 1 / span 11; min-width: 0; }
.has-art .hero-text { grid-column: 1 / span 8; }
.h1-xl { font-size: clamp(3rem, 1.4rem + 7.4vw, 7rem); letter-spacing: -.035em; line-height: 1; }
.h1-l { font-size: clamp(2.5rem, 1.3rem + 4.9vw, 5.4rem); letter-spacing: -.034em; line-height: 1.03; }
.h1-m { font-size: clamp(2.2rem, 1.25rem + 3.5vw, 4.2rem); letter-spacing: -.032em; line-height: 1.04; }
.hero-accueil h1 { font-size: clamp(2.3rem, 1.1rem + 4.1vw, 4.6rem); letter-spacing: -.033em; line-height: 1.03; }
.hero-text > p { max-width: 34em; margin: 0; font-size: var(--fs-lead); line-height: 1.55; }
.hero h1 + p { margin-top: clamp(1.4rem, 2.6vw, 2.1rem); }
.hero-text > p + p:not(.cta-row) { margin-top: 1em; }
.hero .cta-row { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.hero-art { grid-column: 9 / -1; min-width: 0; }
.hero .notice { max-width: 42rem; }
.notice { display: flex; gap: 1rem; margin-top: clamp(2.25rem, 4vw, 3.25rem); padding: 1.05rem 1.35rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--r-md); font-size: .97rem; line-height: 1.55; }
.notice::before { content: ""; flex: none; width: 18px; height: 9px; margin-top: .5em; border-radius: 0 0 9px 9px; background: var(--blue); }
.notice p { margin: 0; }

/* Sections : une bande par section, filet en tête, titre à gauche sur grand écran */
.content { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
/* Même blanc avant le pied de page partout : la dernière section ne s'ajoute pas à la marge du contenu. */
.rails > .sec:last-child:not(.s-appel) .sec-in, .content-contact .sec-form .sec-in, .doc-body > .sec:last-child .sec-in { padding-bottom: 0; }
.sec-in { padding: var(--sec-pad) 0; border-top: 1px solid var(--rule); }
.sec-in > h2, .pair-col > h2 { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); font-size: var(--fs-h2); letter-spacing: -.03em; line-height: 1.06; }
.sec-body > :last-child { margin-bottom: 0; }
.sec-body > p { max-width: 38em; }
.s-preuves ul, .s-projets ul, .s-fiche ul, .s-direction ul { margin: 0; border-top: 2px solid var(--ink); }
.s-preuves .sec-body > p, .s-projets .sec-body > p { margin-top: 1.25rem; color: var(--slate); font-size: .97rem; }

/* Texte courant et listes à puce demi-disque */
.s-texte ul > li, .s-signature ul > li, .form-notice ul > li { position: relative; margin: .55rem 0; padding-left: 1.45rem; }
.s-texte ul > li::before, .s-signature ul > li::before, .form-notice ul > li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .62rem; height: .31rem; border-radius: 0 0 .31rem .31rem; background: var(--blue); }
.s-texte ul ul { margin: .6rem 0 .9rem; }
.s-texte ul ul > li { margin: .3rem 0; }
.s-texte ul ul > li::before { width: .5rem; height: .25rem; background: var(--line-ui); }

/* Ce que nous louons : plaque à cases, jauges de GPU */
.s-louons ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.s-louons li { grid-column: span 2; display: flex; flex-direction: column; gap: .45rem; padding: 1.4rem 1.5rem 1.6rem; background: var(--paper); }
.s-louons li:nth-child(-n+2) { grid-column: span 3; padding: 1.8rem 1.9rem 2rem; }
.s-louons li:nth-child(-n+2)::before { content: ""; width: 95px; height: 8px; margin-bottom: 1.5rem; background: url("/static/img/jauge-4.svg") no-repeat left center / contain; }
.s-louons li:nth-child(2)::before { background-image: url("/static/img/jauge-1-4.svg"); }
.kv-k { color: var(--ink); }
.s-louons .kv-k { font-size: 1.02rem; line-height: 1.3; }
.s-louons li:nth-child(-n+2) .kv-k { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.65rem); letter-spacing: -.025em; line-height: 1.12; }
.s-louons .kv-v { font-size: .98rem; line-height: 1.5; }
.s-louons li:nth-child(-n+2) .kv-v { font-size: 1.06rem; }

/* Nos serveurs GPU : carte vedette du serveur disponible puis modèles sur commande, sur bande bleue pleine
   largeur, trame d'épure en fondu */
.s-config { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: var(--on-blue); }
.s-config::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(100deg, #000, transparent 44%); mask-image: linear-gradient(100deg, #000, transparent 44%); }
.s-config .sec-in { padding: clamp(3.25rem, 7vw, 6.5rem) 0; border-top: 0; }
.s-config + .sec .sec-in { border-top: 0; }
.s-config .sec-in > h2 { color: #fff; }
.gamme-statut { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; margin: 0 0 1.2rem; color: var(--on-blue); font-size: .97rem; line-height: 1.45; }
.dispo { display: inline-block; padding: .3rem .85rem .34rem; border: 1.5px solid #fff; border-radius: var(--pill); font-size: .9rem; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.dispo-date { background: #fff; color: var(--blue); }
.dispo-resa { color: #fff; }
/* Règle commune à toute la gamme (« Approbation de conformité requise ») : en tête de section, avant la carte
   vedette ; la pastille peut passer à la ligne (33 caractères en français, WCAG 1.4.12 à 320 px). */
.gamme-regle { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; margin: 0 0 clamp(2rem, 4vw, 2.75rem); color: var(--on-blue); font-size: .97rem; line-height: 1.45; }
.gamme-regle a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.dispo-regle { white-space: normal; }
/* Deux caractéristiques sous la ligne principale (RAM, stockage) : le réseau n'est plus précisé (textes v0.12). */
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.spec-main { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(1.25rem, 3.2vw, 2.75rem); padding: clamp(1.6rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--on-blue-rule); }
.spec-count { flex: none; color: #fff; font-size: clamp(4.75rem, 3rem + 5.5vw, 8.5rem); font-weight: 300; line-height: .78; letter-spacing: -.05em; }
.spec-desc { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.spec-model { color: #fff; font-size: clamp(1.35rem, 1rem + 1.25vw, 2.05rem); font-weight: 500; line-height: 1.14; letter-spacing: -.022em; text-wrap: balance; }
.spec-mem { font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.45; }
.spec-item { padding: clamp(1.2rem, 2.3vw, 1.6rem) 1.25rem clamp(1.3rem, 2.5vw, 1.8rem) 0; color: #fff; font-size: clamp(1.1rem, 1rem + .4vw, 1.32rem); font-weight: 300; line-height: 1.35; letter-spacing: -.01em; }
.spec-item + .spec-item { padding-left: 1.25rem; border-left: 1px solid var(--on-blue-rule); }
.fig { color: #fff; font-weight: 500; white-space: nowrap; }
.gamme-cta { margin: 1.6rem 0 0; }
/* Prix « À partir de » sous la fiche technique (textes v0.13). */
.gamme-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .75rem; margin: 1.5rem 0 0; color: var(--on-blue); font-size: .97rem; line-height: 1.45; }
.gamme-prix strong { color: #fff; font-size: clamp(1.45rem, 1.15rem + .9vw, 1.9rem); font-weight: 300; letter-spacing: -.01em; }
.gamme-prix small { align-self: center; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: .2rem .7rem; font-size: .78rem; line-height: 1.3; letter-spacing: .01em; white-space: nowrap; color: #fff; }
.s-config .btn-primary { background: #fff; color: var(--blue); }
.s-config .btn-primary:hover { background: var(--blue-tint); }
.gamme-commande { margin-top: clamp(2.75rem, 5.5vw, 3.75rem); }
.gamme-titre { margin: 0 0 .85rem; font-size: 1rem; line-height: 1.2; }
.gamme-note { max-width: 46rem; margin: 0 0 1.35rem; color: var(--on-blue); font-size: .97rem; line-height: 1.5; }
/* Modèles sur commande : une ligne par modèle à toutes les largeurs (nom à gauche, mémoire à droite) ; cinq
   cases de front déborderaient (~133 px par case à 1100 px) et 3 + 2 laisserait une case vide. */
.gamme-liste { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; border-top: 1px solid #fff; border-bottom: 1px solid #fff; }
.gamme-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: clamp(.95rem, 1.6vw, 1.15rem) 0; color: #fff; }
.gamme-item + .gamme-item { border-top: 1px solid var(--on-blue-rule); }
.gamme-nom { font-size: 1rem; font-weight: 500; line-height: 1.3; }
.gamme-mem { margin-left: auto; color: var(--on-blue); font-size: .92rem; line-height: 1.3; }
.gamme-fig { margin-right: .1em; color: #fff; font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem); font-weight: 300; letter-spacing: -.02em; white-space: nowrap; }
.gamme-lien { margin: .9rem 0 0; }
.gamme-lien a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: #fff; font-weight: 500; text-underline-offset: .2em; }
.gamme-lien a::after { content: ""; flex: none; width: .9em; height: .9em; background: currentColor; -webkit-mask: url("/static/img/fleche.svg") center / contain no-repeat; mask: url("/static/img/fleche.svg") center / contain no-repeat; transition: transform .15s var(--ease); }
.gamme-lien a:hover::after { transform: translateX(3px); }
/* Chaque modèle sur commande : toute la case mène au formulaire, modèle présélectionné. */
.gamme-item { position: relative; }
.gamme-nom a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.gamme-nom a::after { content: ""; position: absolute; inset: 0; }
.gamme-item:hover { background: rgba(255, 255, 255, .08); }
@supports selector(:has(*)) {
  .gamme-item:has(a:focus-visible)::before { content: ""; position: absolute; inset: 4px -.75rem; border: 2px solid #fff; border-radius: 6px; pointer-events: none; }
  .gamme-nom a:focus-visible { outline: none; }
}
/* Ponctuation gardée dans le texte (lecteurs d'écran, copier-coller) mais masquée à l'écran. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Téléphone et tablette (accueil, Entreprise) : barre « Réserver une capacité » en bas de l'écran, montrée par
   site.js entre la fin du haut de page et l'appel final ; rangée, elle est invisible et hors du clavier. */
.barre-resa { display: none; }
@media (max-width: 67.49em) {
  .barre-resa { display: block; position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: rgba(255, 255, 255, .97); transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; }
  .barre-resa.on { transform: none; visibility: visible; transition: transform .25s var(--ease), visibility 0s; }
  .barre-resa .btn { width: 100%; }
  body.menu-open .barre-resa { visibility: hidden; }
  html.barre-on { scroll-padding-bottom: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) { .barre-resa, .barre-resa.on { transition: none; } }

/* Preuves : « Ce que vous pouvez vérifier » et « Hébergement » côte à côte, registre de faits avec source */
.s-preuves .sec-in.pair { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(2.5rem, 6vw, 3.5rem); }
.pair-col { min-width: 0; }
.claim { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem; padding: 1.2rem 0 1.1rem; border-bottom: 1px solid var(--rule); font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); line-height: 1.5; }
.claim:not(:has(.src)) { padding-bottom: 1.3rem; }
.claim .src { justify-self: start; font-size: .95rem; }

/* Pour les entreprises du Québec, du Canada et des États-Unis : trois colonnes, demi-disque accroché au filet */
.s-publics ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--ink); }
.s-publics li { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 2rem 1.5rem 1.6rem; border-bottom: 1px solid var(--rule); }
.s-publics li::before { content: ""; position: absolute; top: 0; left: 1.5rem; width: 18px; height: 9px; border-radius: 0 0 9px 9px; background: var(--blue); }
.s-publics li:first-child { padding-left: 0; }
.s-publics li:first-child::before { left: 0; }
.s-publics li + li { border-left: 1px solid var(--rule); }
.s-publics .kv-k { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); letter-spacing: -.025em; line-height: 1.15; }
.s-publics .kv-v { font-size: 1rem; line-height: 1.55; text-wrap: pretty; }

/* Pour vos projets */
.s-projets ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-projets li { padding: 1.3rem 1.5rem 1.5rem; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); letter-spacing: -.018em; line-height: 1.28; text-wrap: balance; }
.s-projets li:first-child { padding-left: 0; }
.s-projets li + li { border-left: 1px solid var(--rule); }

/* Comment ça fonctionne : étapes numérotées sur une ligne de cote */
.s-etapes ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: .6rem 0 0; counter-reset: step; }
.step { position: relative; padding: 1.75rem 2rem 0 0; border-top: 1px solid var(--ink); counter-increment: step; }
.step::after { content: ""; position: absolute; left: 0; top: -9px; width: 18px; height: 9px; border-radius: 9px 9px 0 0; background: var(--blue); }
.step::before { content: counter(step); display: block; margin-bottom: 1.3rem; color: var(--blue); font-size: clamp(3rem, 2rem + 3vw, 4.75rem); font-weight: 300; letter-spacing: -.05em; line-height: .9; }
.step .kv-k { display: block; margin-bottom: .45rem; font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
.step .kv-v { display: block; font-size: 1rem; line-height: 1.55; }

/* Appel final : panneau bleu, l'épure en blanc */
.s-appel .sec-in { position: relative; margin-top: clamp(1rem, 3vw, 2rem); padding: clamp(2.25rem, 5.5vw, 4.75rem); overflow: hidden; border: 0; border-radius: var(--r-xl); background: var(--blue); color: #eef0ff; }
.s-appel .sec-in::after { content: ""; position: absolute; top: 50%; right: -2%; width: min(44%, 540px); aspect-ratio: 377 / 318; transform: translateY(-50%); background: url("/static/img/epure-blanc.svg") no-repeat center / contain; pointer-events: none; }
.s-appel .sec-in > h2 { max-width: 15ch; margin-bottom: 1.6rem; color: #fff; font-size: clamp(2rem, 1.25rem + 2.7vw, 3.6rem); letter-spacing: -.034em; line-height: 1.03; }
.s-appel .sec-body { position: relative; z-index: 1; max-width: 34rem; font-size: 1.15rem; }
.s-appel .btn-primary { background: #fff; color: var(--blue); }
.s-appel .btn-primary:hover { background: var(--blue-tint); }
.s-appel .btn-ghost { border-color: #fff; color: #fff; }
.s-appel .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.s-appel :focus-visible, .s-config :focus-visible { outline-color: #fff; }

/* Fiches libellé / valeur (identité, direction, coordonnées, « Qui nous sommes ») : ponctuation visible */
.lv { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .25rem 2rem; align-items: baseline; padding: 1rem 0 1.05rem; border-bottom: 1px solid var(--rule); }
.lv-k { color: var(--slate); font-size: .95rem; line-height: 1.4; }
.lv-v { color: var(--ink); font-size: 1.1rem; line-height: 1.45; }
.content-entreprise .lv { padding: 1.2rem 0 1.25rem; }
.content-entreprise .lv-v { font-size: clamp(1.12rem, 1rem + .45vw, 1.35rem); letter-spacing: -.01em; }
.s-direction .lv { display: block; font-size: clamp(1.12rem, 1rem + .45vw, 1.35rem); line-height: 1.45; letter-spacing: -.01em; }
.s-direction .lv-k { color: var(--ink); font-size: inherit; font-weight: 500; }
.s-direction .lv-v { color: var(--graphite); font-size: inherit; }

/* Pages longues : sommaire, confort de lecture, signature */
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.doc-body { grid-column: 4 / span 7; min-width: 0; font-size: 1.1rem; }
.doc .sec-in { padding: clamp(2.25rem, 4vw, 3.25rem) 0 clamp(1.25rem, 2.5vw, 2rem); }
.doc .sec-in > h2 { margin-bottom: 1.25rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.15rem); }
.doc .sec-body > p, .doc .sec-body > ul { max-width: 37em; }
.toc { grid-column: 1 / span 3; align-self: stretch; border-top: 1px solid var(--rule); }
.toc-inner { position: sticky; top: var(--head-h); max-height: calc(100vh - var(--head-h)); overflow-y: auto; margin-left: -6px; padding: 2.4rem 1.25rem 2rem 6px; } /* 6 px : l'anneau de focus n'est pas rogné */
.toc-t, .toc-m summary { margin: 0 0 .8rem; color: var(--slate); font-size: .85rem; font-weight: 500; }
.toc ol, .toc-m ol { margin: 0; border-top: 2px solid var(--ink); }
.toc li, .toc-m li { border-bottom: 1px solid var(--rule); }
.toc a, .toc-m a { position: relative; display: flex; align-items: center; min-height: 44px; padding: .6rem 0 .56rem 1.2rem; color: var(--graphite); font-size: .9rem; line-height: 1.35; text-decoration: none; transition: color .15s var(--ease); }
.toc a:hover, .toc-m a:hover { color: var(--blue); }
.toc a[aria-current] { color: var(--ink); font-weight: 500; }
.toc a[aria-current]::before { content: ""; position: absolute; left: 0; top: calc(50% - 2.5px); width: 10px; height: 5px; border-radius: 0 0 5px 5px; background: var(--blue); }
.toc-m { display: none; }
.s-signature .sec-body p { position: relative; padding: 1.35rem 1.6rem 1.4rem 4.6rem; border: 1px solid var(--rule); border-radius: var(--r-lg); color: var(--ink); text-wrap: pretty; }
.s-signature .sec-body p::before { content: ""; position: absolute; left: 1.55rem; top: 50%; width: 36px; height: 30px; margin-top: -15px; background: url("/static/img/mark-blue.svg") no-repeat center / contain; }

/* Nous joindre : carte des coordonnées en aplat bleu, formulaire */
.s-coordonnees .sec-in { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.6rem, 3.5vw, 2.6rem); border: 0; border-radius: var(--r-xl); background: var(--blue); color: #fff; }
.s-coordonnees .sec-in::after { content: ""; position: absolute; z-index: -1; top: 0; right: 1.75rem; width: 6.5rem; aspect-ratio: 2 / 1; border-radius: 0 0 var(--pill) var(--pill); background: var(--blue-dark); }
.s-coordonnees .sec-in > h2 { margin-bottom: 1.4rem; padding-right: 7rem; color: #fff; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.s-coordonnees ul { margin: 0; }
.s-coordonnees .lv { grid-template-columns: minmax(0, 1fr); align-content: start; gap: .1rem; padding: .85rem 0 .9rem; border-top: 1px solid var(--on-blue-rule); border-bottom: 0; }
.s-coordonnees .lv-k { color: var(--on-blue); font-size: .9rem; }
.s-coordonnees .lv-v { color: #fff; font-size: 1.03rem; }
.s-coordonnees .lv-v a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 500; overflow-wrap: anywhere; }
/* Grand corps réservé au téléphone en tête de liste (retiré en v0.12, il reviendra avec le nouveau numéro) :
   une adresse de courriel à ce corps se couperait en plein mot. */
.s-coordonnees .lv:first-child .lv-v a[href^="tel:"] { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.02em; }
.s-coordonnees :focus-visible { outline-color: #fff; }
.s-coordonnees ::selection, .s-config ::selection, .s-appel ::selection { background: #fff; color: var(--blue); }
.form-intro { max-width: 36em; }
.demande { margin-top: 2rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field-siege, .field-modele, .field-textarea { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .98rem; font-weight: 500; line-height: 1.35; }
.req { color: var(--blue); }
.help { color: var(--slate); font-size: .88rem; line-height: 1.45; text-wrap: pretty; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid var(--line-ui); border-radius: var(--r-md); background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--blue); outline-offset: 2px; }
/* Sans JavaScript, le navigateur valide et :user-invalid colore le champ ; avec JavaScript (novalidate),
   le rouge accompagne seulement un message écrit (aria-invalid, plus bas). */
.demande:not([novalidate]) .field :is(input, select, textarea):user-invalid { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.field input::placeholder { color: var(--slate); opacity: 1; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 2.8rem; background: var(--paper) url("/static/img/chevron.svg") no-repeat right 1rem center / 16px; cursor: pointer; }
.field textarea { min-height: 10rem; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin: 2.25rem 0 1.75rem; padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: var(--r-lg); background: var(--mist); font-size: .97rem; line-height: 1.6; }
.form-notice h3 { margin-bottom: .8rem; font-size: 1.08rem; }
.form-notice ul { margin-bottom: 1em; }
.form-notice p:last-child { margin-bottom: 0; }
.form-notice > p, .form-notice > ul { max-width: 36rem; }
.form-error { margin: 1.25rem 0 0; padding: 1rem 1.2rem; border-radius: var(--r-md); background: #fde8e8; color: #8a1c1c; }
.form-error:focus { outline: 2px solid var(--danger); outline-offset: 3px; }
/* Erreurs écrites : message sous le champ, résumé en haut du formulaire (site.js) */
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.err { color: var(--danger); font-size: .9rem; font-weight: 500; line-height: 1.4; }
.form-resume { margin: 0 0 1.75rem; padding: 1rem 1.2rem; border-radius: var(--r-md); background: #fde8e8; color: #8a1c1c; }
.form-resume:focus { outline: 2px solid var(--danger); outline-offset: 3px; }
.form-resume p { margin: 0 0 .4rem; font-weight: 500; }
.form-resume ul { margin: 0; padding-left: 1.2rem; list-style: disc; }
.form-resume li { margin: .2rem 0; }
.form-resume a { display: inline-block; min-height: 24px; vertical-align: top; color: #8a1c1c; text-decoration: underline; }
.btn-submit[aria-busy="true"] { opacity: .72; cursor: progress; pointer-events: none; }

/* Pied de page : cartouche de plan */
.site-footer { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cartouche { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.cell { min-width: 0; padding: 1.05rem 1.25rem 1.1rem; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); color: var(--graphite); font-size: .92rem; line-height: 1.5; }
.cell p { margin: 0; }
.cell .lbl { display: block; margin-bottom: .1rem; color: var(--slate); font-size: .875rem; line-height: 1.35; }
.cell .val { display: block; color: var(--ink); }
/* Liens : cible de 44 px (11 px de part et d'autre de la ligne de 22 px) sans décaler la ligne de base. */
.cell .val a, .cell-liens a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.cell-1 { grid-row: span 4; display: flex; flex-direction: column; gap: 1.1rem; padding-left: 0; border-left: 0; }
.cell-mark { width: 38px; }
.cell-liens p { display: flex; flex-wrap: wrap; align-items: center; column-gap: .4rem; }
.cell-liens a { font-weight: 500; }
/* Quatre colonnes : la case des liens prend la place laissée par le téléphone retiré (textes v0.12). */
.cell-liens { grid-column: span 2; }
.cell-mention { grid-column: span 3; padding-left: 0; border-left: 0; color: var(--slate); font-size: .875rem; }
/* Deux colonnes et plus : chaque rangée du cartouche a une ligne de libellés et une ligne de valeurs
   communes à ses cases (sous-grille), même quand un libellé passe sur deux lignes. */
@media (min-width: 700px) {
  .cell-lv, .cell-liens { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .cell-lv p { display: contents; }
  .cell-liens p { grid-row: 2; }
  .cell-mention { grid-row: span 2; }
}

/* Confirmation et 404 : figure propre à chaque page */
.hero-merci, .hero-404 { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.hero-merci .hero-art, .hero-404 .hero-art { justify-self: end; width: min(100%, 26rem); }

/* Grand écran : titre de section à gauche, contenu à droite */
@media (min-width: 1100px) {
  .rails .sec-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .rails .sec-in > h2 { grid-column: 1 / span 4; margin-bottom: 0; padding-right: 1.5rem; }
  .rails .sec-in > .sec-body { grid-column: 5 / -1; }
  .rails .s-etapes .sec-in > h2 { grid-column: 1 / span 5; margin-bottom: 3.5rem; }
  .rails .s-etapes .sec-in > .sec-body { grid-column: 1 / -1; }
  .rails .s-publics .sec-in > h2 { grid-column: 1 / span 8; margin-bottom: 2.5rem; }
  .rails .s-publics .sec-in > .sec-body { grid-column: 1 / -1; }
  .rails .s-appel .sec-in { display: block; }
  .rails .s-appel .sec-in > h2 { margin-bottom: 1.6rem; }
  .hero-contact .hero-text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); grid-column: 1 / -1; align-items: start; }
  .hero-contact h1 { grid-column: 1 / -1; }
  .hero-contact .hero-text > p { grid-column: 1 / span 5; }
  .hero-contact .hero-text > p + p { grid-column: 7 / -1; margin-top: clamp(1.4rem, 2.6vw, 2.1rem); }
  .content-contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding-top: .5rem; }
  .content-contact .s-coordonnees { grid-column: 1 / span 5; grid-row: 1; }
  .content-contact .sec-form { grid-column: 7 / -1; grid-row: 1; }
  .content-contact .sec-form .sec-in { padding-top: .4rem; border-top: 0; }
}
/* Carte collante seulement si la fenêtre la montre en entier (portables à 600-750 px de haut : non). */
@media (min-width: 1100px) and (min-height: 52em) {
  .content-contact .s-coordonnees { position: sticky; top: calc(var(--head-h) + 1.5rem); }
}

@media (min-width: 760px) {
  .rails .s-preuves .sec-in.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: clamp(2rem, 5vw, 5rem); row-gap: 0; }
  .pair-col { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-content: start; }
}

@media (max-width: 1099.98px) {
  .hero-text, .has-art .hero-text { grid-column: 1 / -1; }
  .hero-art { grid-column: 1 / -1; width: min(100%, 340px); margin-top: 2.5rem; }
  .doc { display: block; }
  .toc { display: none; }
  .toc-m { display: block; margin: 0 0 .5rem; }
  .toc-m details { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
  .toc-m summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0; color: var(--ink); font-size: 1rem; cursor: pointer; list-style: none; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: ""; width: 16px; height: 16px; background: url("/static/img/chevron.svg") no-repeat center / contain; transition: transform .18s var(--ease); }
  .toc-m details[open] summary::after { transform: rotate(180deg); }
  .toc-m ol { margin-bottom: 1rem; border-top: 1px solid var(--rule); }
  .toc-m a { padding-left: 0; }
  .doc-body > .sec:first-child .sec-in { border-top: 0; }
  .content-contact .s-coordonnees { margin-top: var(--sec-pad); }
  .content-contact .sec-form .sec-in { padding-top: 0; border-top: 0; }
}

@media (min-width: 700px) and (max-width: 1099.98px) {
  .hero-accueil .hero-text { display: contents; }
  .hero-accueil .hero-text > * { grid-column: 1 / -1; min-width: 0; }
  .hero-accueil .hero-text > p { grid-column: 1 / span 7; }
  .hero-accueil .hero-art { grid-column: 8 / -1; grid-row: 2 / span 2; width: 100%; margin: 0; align-self: center; }
  /* Sans l'encadré « État au » ni la phrase du contrat (v0.12), les boutons suivent le chapeau au lieu de flotter. */
  .hero-accueil .hero-grid { grid-template-rows: auto auto 1fr; }
  .hero-accueil .hero-text > .cta-row { align-self: start; }
  .hero-merci .hero-text, .hero-404 .hero-text { grid-column: 1 / span 7; }
  .hero-merci .hero-art, .hero-404 .hero-art { grid-column: 8 / -1; justify-self: end; width: min(100%, 300px); margin-top: 0; }
  .s-appel .sec-in::after { right: -3%; width: 40%; }
  .s-appel .sec-in > h2, .s-appel .sec-body { max-width: 58%; }
  .s-coordonnees ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .s-coordonnees .lv:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 700px) and (max-width: 67.49em) {
  .nav-list, .lang { max-width: 40rem; }
  .nav-cta { align-self: flex-start; padding-inline: 2rem; }
}

/* Bascule du menu en em : elle suit la taille de police choisie par le visiteur (67,5 em = 1080 px à 16 px). */
@media (max-width: 67.49em) {
  :root { --head-h: 4rem; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: 0 1.15rem 0 1rem; border: 1px solid var(--ink); border-radius: var(--pill); background: var(--paper); color: var(--ink); font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; transition: background-color .15s var(--ease); }
  .nav-toggle:hover { background: var(--blue-tint); }
  .nav-toggle-icon { position: relative; width: 16px; height: 8px; }
  .nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s var(--ease); }
  .nav-toggle-icon::before { top: 0; }
  .nav-toggle-icon::after { bottom: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-3.25px) rotate(-45deg); }
  .nav { display: none; position: fixed; top: calc(var(--head-h) + 1px); right: 0; bottom: 0; left: 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; padding: .75rem var(--gutter) 2rem; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); }
  .nav.open { display: flex; animation: nav-in .22s var(--ease) both; }
  .nav-list { flex-direction: column; }
  .nav-list a { min-height: 64px; padding: 0; border-bottom: 1px solid var(--rule); font-size: 1.6rem; letter-spacing: -.028em; }
  .nav-list a[aria-current="page"]::after { left: auto; right: 0; bottom: auto; top: 50%; width: 18px; height: 9px; margin-top: -4.5px; border-radius: 0 0 9px 9px; }
  .lang { min-height: 60px; padding: 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .lang::before { display: none; }
  .nav-cta { margin-top: 1.75rem; min-height: 56px; font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1199.98px) {
  .cartouche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-1 { grid-column: 1 / -1; grid-row: auto; flex-direction: row; align-items: center; }
  .cell-2, .cell-4 { padding-left: 0; border-left: 0; }
  .cell-liens, .cell-mention, .cell:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

@media (max-width: 1279.98px) {
  .s-etapes ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
}
/* Deux grandes cartes : titres et descriptions sur les mêmes lignes de grille. */
@media (min-width: 700px) {
  .s-louons li:nth-child(-n+2) { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .45rem; align-content: start; }
  .s-louons li:nth-child(-n+2)::before { margin-bottom: 1.05rem; }
}

@media (max-width: 699.98px) {
  body { font-size: 1.03rem; }
  .hero-accueil .hero-art { display: none; }
  .hero-merci .hero-art, .hero-404 .hero-art { justify-self: start; width: min(100%, 15rem); margin-top: 2rem; }
  .s-louons li, .s-louons li:nth-child(-n+2) { grid-column: 1 / -1; padding: 1.35rem 1.3rem 1.45rem; }
  .s-louons li:nth-child(-n+2)::before { margin-bottom: 1.1rem; }
  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .spec-item, .spec-item + .spec-item { padding: 1.05rem 0 1.15rem; border-left: 0; }
  .spec-item + .spec-item { border-top: 1px solid var(--on-blue-rule); }
  .spec-main { gap: 1.1rem; padding: 1.5rem 0 1.6rem; }
  .s-publics ul { grid-template-columns: 1fr; }
  .s-publics li, .s-publics li:first-child { padding: 1.75rem 0 1.35rem; }
  .s-publics li + li { border-left: 0; }
  .s-publics li::before { left: 0; }
  .s-projets ul { grid-template-columns: 1fr; }
  .s-projets li, .s-projets li:first-child { padding: 1.05rem 0 1.1rem; }
  .s-projets li + li { border-left: 0; }
  .s-etapes ol { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .step { padding-right: 0; }
  .s-appel .sec-in { padding-top: 9.5rem; }
  .s-appel .sec-in::after { top: 1.5rem; right: 1.25rem; width: 9.5rem; transform: none; }
  .lv { grid-template-columns: 1fr; gap: .15rem; }
  .fields { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; }
  .s-signature .sec-body p { padding: 4rem 1.3rem 1.3rem; }
  .s-signature .sec-body p::before { left: 1.3rem; top: 1.3rem; margin-top: 0; }
  .cartouche { grid-template-columns: 1fr; }
  .cell, .cell-1 { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

@media (max-width: 479.98px) {
  .cta-row .btn { flex: 1 1 100%; }
  .s-coordonnees .sec-in::after { right: 1.25rem; width: 4.5rem; }
  .s-coordonnees .sec-in > h2 { padding-right: 5rem; }
}
@media (max-width: 359.98px) { .s-coordonnees .sec-in { padding-inline: 1rem; } .s-coordonnees .sec-in::after { right: 1rem; width: 3.5rem; } .s-coordonnees .sec-in > h2 { padding-right: 4rem; } .s-coordonnees .lv-v a { font-size: .92rem; } }
@media (max-width: 374.98px) { .brand-name { font-size: 1.15rem; } }
/* Fenêtre basse (zoom de 300 à 400 %, téléphone à l'horizontale) : l'en-tête défile avec la page. */
@media (max-height: 30em) {
  .site-header { position: relative; }
  html { scroll-padding-top: 1rem; }
  /* Fenêtre basse (zoom 300 à 400 %, téléphone à l'horizontale) : pas de barre fixe qui masquerait le contenu. */
  .barre-resa { display: none; }
  html.barre-on { scroll-padding-bottom: 0; }
}

/* Contrastes forcés (Windows) : les repères dessinés en arrière-plan reprennent les couleurs du système. */
@media (forced-colors: active) {
  .field select { appearance: auto; background-image: none; padding-right: 1rem; }
  .nav-list a[aria-current="page"]::after, .toc a[aria-current]::before, .s-texte ul > li::before, .s-signature ul > li::before, .form-notice ul > li::before { forced-color-adjust: none; background: CanvasText; }
  .nav-toggle-icon::before, .nav-toggle-icon::after { forced-color-adjust: none; background: ButtonText; }
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Impression : Conformité, Confidentialité, Entreprise (sources imprimées, formulaire masqué) */
@page { margin: 16mm 14mm; }
@media print {
  .site-header, .skip, .toc, .toc-m, .hero-art, .cta-row, .s-appel, .sec-form, .s-config::before, .s-coordonnees .sec-in::after, .barre-resa { display: none !important; }
  body { color: #000; font-size: 10.5pt; }
  .wrap { padding: 0; }
  .hero { padding: 0 0 12pt; }
  .hero h1 { font-size: 24pt; }
  .doc { display: block; padding: 0; }
  li::before, .s-signature .sec-body p::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sec-in { padding: 12pt 0; }
  h2 { break-after: avoid-page; }
  li, .lv, .claim, .s-signature p { break-inside: avoid; }
  .s-config, .s-coordonnees .sec-in { background: none !important; color: #000 !important; }
  .s-config *, .s-coordonnees * { color: #000 !important; }
  .spec-list, .gamme-liste, .gamme-item, .dispo { border-color: #000; }
  .dispo-date { background: none !important; }
  a { color: #000; }
  .src, .link-out a, .cell .val a, .cell-liens a { display: inline; margin: 0; padding: 0; white-space: normal; }
  a[href^="http"]::after { content: " (" attr(href) ")"; display: inline; width: auto; height: auto; background: none; -webkit-mask: none; mask: none; font-size: 8pt; font-weight: 400; word-break: break-all; }
}
