/* SOLLERTIA STUDIO — feuille commune, charte V3.
   Monochrome (jamais #000000, #FFFFFF réservé aux erreurs). On lit en Geom,
   on étiquette et on compte en Space Mono, Megrim pour les grands chiffres.
   Animations en transform et opacity seulement. */

:root {
  --socle: #0C0C0C;   /* héro, pied de page */
  --page: #111111;    /* fond courant */
  --bande: #161616;   /* une section sur deux */
  --carte: #1D1D1D;   /* un sujet posé sur la page */
  --survol: #252525;  /* ce qui est survolé ou choisi */
  --trait: #303030;
  --t-titre: #ECECEC; --t-corps: #D4D4D4; --t-second: #A8A8A8; --t-meta: #828282;
  --decor: #5C5C5C; --vif: #F7F7F7; --erreur: #FFFFFF;
  --lire: 'Geom', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Space Mono', ui-monospace, Menlo, monospace;
  --geant: 'Megrim', 'Geom', sans-serif;
  --max: 1200px; --gout: 40px; --tete: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--socle); scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--page); color: var(--t-corps); font: 400 18px/1.6 var(--lire); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: #303030; color: #F7F7F7; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--vif); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- les briques ---------- */
.lib { font: 400 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-second); }
.mono { font-family: var(--mono); }
h1, h2, h3 { font-family: var(--lire); font-weight: 400; color: var(--t-titre); letter-spacing: -0.012em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; }
.chapo { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--t-corps); max-width: 34em; text-wrap: pretty; }
.second { color: var(--t-second); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; font: 700 13px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid var(--vif); background: var(--vif); color: var(--socle); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn:hover { background: #D4D4D4; border-color: #D4D4D4; }
.btn.cro::before { content: '[\00a0'; } .btn.cro::after { content: '\00a0]'; }
.btn--2 { background: transparent; color: var(--t-titre); border-color: var(--trait); font-weight: 400; }
.btn--2:hover { background: var(--survol); border-color: #5C5C5C; }
.lien { display: inline-flex; align-items: center; min-height: 44px; font: 400 14px/1.4 var(--mono); color: var(--t-titre); text-decoration: underline; text-decoration-color: #5C5C5C; text-underline-offset: 5px; transition: text-decoration-color 0.2s ease; }
.lien:hover { text-decoration-color: var(--vif); }
.lien--ligne { min-height: 0; margin-left: 8px; }
.fiche { display: grid; gap: 6px; font: 400 13px/1.5 var(--mono); color: var(--t-corps); }
.fiche li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 0 10px; }
.fiche li > span:first-child { color: var(--t-second); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; padding-top: 1px; }
.journal { display: grid; gap: 4px; font: 400 13px/1.6 var(--mono); color: var(--t-corps); }
.journal li { display: flex; gap: 10px; }
.journal li::before { content: '→'; color: var(--t-second); }
.journal i { flex: 1; min-width: 12px; border-bottom: 1px dotted #5C5C5C; transform: translateY(-6px); }
.journal b { font-weight: 400; color: var(--vif); }

/* ---------- sections : le ton sépare, plus le filet ---------- */
.sec { --bg: var(--page); background: var(--bg); padding: 80px var(--gout); }
.sec.t-bande { --bg: var(--bande); }
.sec.t-socle { --bg: var(--socle); }
.sec--serre { padding-block: 64px; }
/* la gamme tient dans un écran d'ordinateur portable : marges serrées, la phrase sous son titre */
#gamme { padding-block: 32px; }
#gamme .tete-sec { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 24px; }
#gamme .tete-sec .chapo { max-width: none; font-size: 17px; }
.in { max-width: var(--max); margin: 0 auto; }
.tete-sec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.tete-sec > div:first-child { display: grid; gap: 16px; }

/* ---------- micro-données d'angle ---------- */
.angle { position: fixed; bottom: 12px; z-index: 40; margin: 0; font: 400 12px/1 var(--mono); letter-spacing: 0.12em; color: var(--t-meta); pointer-events: none; mix-blend-mode: difference; }
.angle--g { left: 16px; } .angle--d { right: 16px; }

/* ---------- figures au trait : au centre d'un cadre sombre ---------- */
.fig { --hairline-plate: var(--bg); --hairline-hi: var(--vif); --hairline-edge: #A8A8A8; --hairline-mid: #5C5C5C; --hairline-lo: #303030; --hairline-stroke: 1; flex: none; width: 220px; }
.scene { --bg: #0E0E0E; position: relative; display: grid; place-items: center; min-height: 220px; padding: 18px; background-color: var(--bg); background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.6px); background-size: 26px 26px; overflow: hidden; }
.scene::before, .scene::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1px solid #5C5C5C; pointer-events: none; }
.scene::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.scene::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.scene .fig { width: min(118%, 360px); margin: -30px -9%; }
.scene--haute .fig { width: min(120%, 440px); margin: -20px -10%; }
/* le tee-shirt : deux vues dans le même cadre, une seule à l'écran ; le trait s'épaissit avec le grammage */
/* la figure reste au milieu de son cadre, même quand elle est plus large que lui */
.g-carte .scene { grid-template-columns: minmax(0, 1fr); }
.scene .fig[data-tee] { grid-area: 1 / 1; justify-self: center; transition: opacity 0.35s ease, transform 0.35s ease; }
.scene .fig.cache { opacity: 0; transform: scale(0.96); pointer-events: none; }
.fig[data-tee="slim"] { --hairline-stroke: 1.1; }
.fig[data-tee="standard"] { --hairline-stroke: 1.7; }
.fig[data-tee="oversize"] { --hairline-stroke: 2.4; }
/* le bouton de vue : pas de case, des crochets ; au bout de la ligne du chiffre, sur son milieu */
.bascule { align-self: center; margin: 0 -10px 0 auto; min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--t-titre); font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: color 0.2s ease; }
.bascule::before { content: '['; color: var(--t-meta); transition: color 0.2s ease, transform 0.2s ease; }
.bascule::after { content: ']'; color: var(--t-meta); transition: color 0.2s ease, transform 0.2s ease; }
.bascule:hover { color: var(--vif); }
.bascule:hover::before { color: var(--vif); transform: translateX(-3px); }
.bascule:hover::after { color: var(--vif); transform: translateX(3px); }

/* ---------- en-tête ---------- */
.tete { position: sticky; top: 0; z-index: 30; height: var(--tete); display: flex; align-items: center; gap: 24px; padding: 0 var(--gout); background: rgba(12,12,12,0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.marque img { height: 28px; width: auto; }
.marque span { font: 400 12px/1 var(--mono); letter-spacing: 0.3em; color: var(--t-titre); text-transform: uppercase; }
.tete nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tete nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-corps); text-decoration: none; transition: color 0.2s ease; }
.tete nav a:hover { color: var(--vif); }
.tete nav a[aria-current]:not(.btn), .menu a[aria-current] { color: var(--vif); }
.tete nav a.btn { min-height: 40px; padding: 0 20px; font: 700 12px/1 var(--mono); color: var(--socle); margin-left: 10px; }
.tete nav a.btn:hover { color: var(--socle); }
.menu-btn { display: none; }
.menu { display: none; }

/* ---------- héro : le titre dès l'arrivée, le tee-shirt épinglé au centre, le fondu sur la course du site d'origine ---------- */
.hero-wrap { --hh: max(600px, 100vh); --course: 400vh; position: relative; background: var(--socle); }
.hero { --bg: var(--socle); position: relative; margin: 0 auto; }
.hero-txt { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; color: var(--vif); text-wrap: pretty; }
.hero .chapo { font-size: clamp(19px, 1.7vw, 23px); max-width: 26em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
/* la scène : le tee-shirt en son centre, à 62 % de la hauteur d'écran */
.hero-piste { position: relative; }
.hero-scene { position: relative; height: calc(var(--hh) - var(--tete)); overflow: hidden; }
.hero-scene::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 120% at 50% 42%, rgba(12,12,12,0) 42%, rgba(12,12,12,0.55) 78%, rgba(12,12,12,0.92) 100%); }
.hero-journal { position: absolute; z-index: 2; top: 30px; right: var(--gout); display: grid; gap: 10px; align-content: start; pointer-events: none; }
.hero-journal ul { display: grid; gap: 1px; font: 400 13px/1.9 var(--mono); color: var(--t-second); }
.hero-journal li { transition: opacity 0.5s ease, transform 0.5s ease; }
.js .hero-journal li { opacity: 0; transform: translateY(6px); }
.js .hero-journal li.on { opacity: 1; transform: none; }
.hero-journal i { font-style: normal; color: var(--decor); }
.hero-journal b { font-weight: 400; color: var(--vif); }
.hero-photo { position: absolute; left: 50%; top: 50%; width: auto; height: calc(var(--hh) * 0.62); aspect-ratio: 4 / 5; transform: translate(-50%, -50%); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; will-change: opacity, transform; pointer-events: none; user-select: none; }
.hero-photo img + img { opacity: 0; }
.hero-annos { position: absolute; z-index: 2; top: 30px; left: var(--gout); display: grid; font: 400 13px/1.7 var(--mono); color: var(--t-corps); pointer-events: none; }
.hero-anno { grid-area: 1 / 1; display: grid; gap: 4px; align-content: start; transition: opacity 0.5s ease; }
.js .hero-anno { opacity: 0; }
.js .hero-anno.on { opacity: 1; }
.hero-cue { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font: 400 12px/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--t-meta); pointer-events: none; }
/* sans script : un seul écran, annotations l'une sous l'autre, pas d'invite */
html:not(.js) .hero-wrap, html:not(.js) .hero-piste { height: auto !important; }
html:not(.js) .hero-anno { grid-area: auto; margin-bottom: 10px; }
html:not(.js) .hero-cue { display: none; }

@media (min-width: 901px) {
  /* le héro entier reste épinglé sous l'en-tête pendant toute la course */
  .hero-wrap { height: calc(var(--hh) - var(--tete) + var(--course)); }
  .hero {
    /* le texte tient le tiers gauche, la scène du tee-shirt les deux tiers droits ; chacun est centré dans sa part */
    --tiers: calc(min(100vw, 1400px) / 3);
    --txtw: calc(var(--tiers) - 2 * var(--gout));
    position: sticky; top: var(--tete); height: calc(var(--hh) - var(--tete)); max-width: 1400px;
  }
  .hero-txt { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 33.3333%; padding: 64px var(--gout); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(22px, 5vh, 48px); }
  /* le libellé du produit tient la même ligne que ceux de l'annotation et du journal */
  .hero-txt > .lib { position: absolute; top: 30px; left: var(--gout); }
  /* les deux boutons ont la même largeur */
  .hero-cta { display: grid; gap: 12px; margin-top: 0; }
  /* le titre garde « Le blank français, » sur une ligne : il rétrécit avec le tiers */
  .hero h1 { font-size: min(clamp(34px, 3.7vw, 54px), calc(var(--txtw) / 7.9), 7vh); }
  .hero .chapo { max-width: 100%; }
  .hero-piste { position: absolute; top: 0; bottom: 0; right: 0; left: 33.3333%; z-index: 1; }
  .hero-photo { height: min(calc(var(--hh) * 0.62), calc(var(--tiers) * 2.2)); }
}
/* fenêtre étroite : l'annotation et le journal se rapprochent des bords de la scène pour ne pas se toucher */
@media (min-width: 901px) and (max-width: 1040px) {
  .hero-journal { right: 20px; }
  .hero-annos { left: 20px; }
}
}

/* ---------- manifeste : une seule ligne, à toutes les largeurs ---------- */
.manifeste { padding-block: 64px; }
#manifeste { font: 400 clamp(16px, 4.75vw, 68px)/1.08 var(--lire); letter-spacing: -0.015em; color: var(--t-meta); display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 0 0.3em; margin-top: 22px; }
.manifeste span { position: relative; padding: 0.04em 0.12em; transition: color 0.45s cubic-bezier(0.4,0,0.1,1); white-space: nowrap; }
.manifeste span.on { color: var(--t-titre); }
.manifeste span::before, .manifeste span::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid var(--vif); opacity: 0; transition: opacity 0.45s ease; }
.manifeste span::before { left: -6px; top: -2px; border-right: 0; border-bottom: 0; }
.manifeste span::after { right: -6px; bottom: -2px; border-left: 0; border-top: 0; }
.manifeste span.on::before, .manifeste span.on::after { opacity: 1; }

/* ---------- gamme ---------- */
.gamme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g-carte { position: relative; overflow: hidden; background: var(--carte); display: grid; grid-template-rows: auto 1fr; }
/* le cadre du tee-shirt prend ce que l'écran laisse, 320 px au plus ; la figure se règle sur lui */
.g-carte { --cadre: clamp(200px, calc(100vh - 484px), 320px); }
.g-carte .scene { --bg: #121212; min-height: 0; height: var(--cadre); }
.g-carte .scene .fig { width: min(112%, 380px, calc(var(--cadre) * 1.27)); margin: -22px -6%; }
.g-corps { padding: 20px 28px 14px; display: grid; gap: 10px; align-content: start; }
.g-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 16px; }
.g-tete h3 { white-space: nowrap; font-size: 22px; }
.g-chiffre { display: flex; align-items: flex-start; gap: 10px; }
.g-chiffre b { font: 400 84px/0.8 var(--geant); color: var(--vif); }
.g-chiffre span { font: 400 14px/1 var(--mono); color: var(--t-second); margin-top: 6px; }
.g-corps .g-desc { font: 400 13px/1.6 var(--mono); color: var(--t-corps); }
.g-carte .lien { justify-self: start; margin-top: -8px; }

/* ---------- preuves : trois blocs de même hauteur ---------- */
.trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.2fr); gap: 16px 40px; align-items: stretch; }
.trio .scene--haute { align-self: stretch; }
.trio-txt { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 20px; }
.trio-haut { display: grid; gap: 22px; }
.trio-txt h2 { font-size: clamp(30px, 3.2vw, 46px); }
.trio-txt p:not(.lib) { font-size: 20px; line-height: 1.6; }
.dossier { background: var(--carte); padding: 28px 30px 30px; display: grid; gap: 22px; align-content: start; }
.dossier header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.etiq { font: 700 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--socle); background: var(--vif); padding: 5px 8px; }
.dossier h4 { font: 400 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-second); margin-bottom: 10px; }
/* le label Fabriqué à Paris : son nom en Geom, son millésime en grand chiffre, la phrase qui le dit */
.cert-titre { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cert-nom { font: 400 clamp(24px, 2.2vw, 30px)/1.1 var(--lire); letter-spacing: -0.012em; color: var(--t-titre); }
.cert-an { font: 400 84px/0.8 var(--geant); color: var(--vif); }
.cert-phrase { font-size: 17px; line-height: 1.5; color: var(--t-corps); }
@media (min-width: 1101px) {
  .trio { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1.12fr); }
  .trio .scene--haute { min-height: 0; }
  .trio-txt { padding: 29px 0 18px; }
}

/* ---------- deux publics : la figure ouvre la carte ---------- */
.publics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.p-carte { --bg: var(--carte); background: var(--bg); display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.p-carte .scene { --bg: #121212; min-height: 320px; }
.p-carte .scene .fig { width: min(118%, 380px); margin: -34px -9%; }
.p-corps { padding: 26px 30px 30px; display: grid; gap: 10px; align-content: start; }
.p-corps > p:not(.lib) { font-size: 17px; max-width: 32em; }
.p-corps .lib { padding-top: 4px; }
.p-actions { display: flex; gap: 10px 24px; flex-wrap: wrap; align-items: center; margin-top: 12px; }

/* ---------- du besoin au devis ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px; align-items: stretch; }
.duo .scene--haute { min-height: 400px; }
.duo-txt { display: grid; gap: 18px; align-content: center; }
.etapes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: 6px; counter-reset: e; }
.etapes li { background: var(--carte); padding: 16px 20px 18px; display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 2px 8px; align-content: start; }
.etapes li::before { counter-increment: e; content: '0' counter(e); font: 400 13px/1 var(--mono); letter-spacing: 0.1em; color: var(--t-second); grid-row: 1 / span 2; padding-top: 7px; }
.etapes h3 { font-size: 20px; }
.etapes p { font-size: 16px; line-height: 1.5; color: var(--t-second); }
.appel { margin-top: 56px; background: var(--vif); color: var(--socle); padding: 26px 30px; display: flex; gap: 16px 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.in > .appel:first-child { margin-top: 0; }
.appel p { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.01em; }
.appel .btn { background: var(--socle); color: var(--vif); border-color: var(--socle); }
.appel .btn:hover { background: #303030; border-color: #303030; }

/* ---------- champs de formulaire : le libellé, le champ, l'erreur sous le champ ---------- */
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.champs--1 { grid-template-columns: minmax(0, 1fr); }
.champ { display: grid; gap: 6px; align-content: start; }
.champ label { font: 400 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-second); }
.champ label em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--t-meta); }
.champ input, .champ textarea { display: block; width: 100%; min-height: 48px; padding: 0 14px; font: 400 17px/1 var(--lire); color: var(--t-titre); background: var(--socle); border: 1px solid var(--trait); border-radius: 0; transition: border-color 0.2s ease; }
.champ textarea { min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--t-meta); }
.champ input:hover, .champ textarea:hover { border-color: #5C5C5C; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--vif); }
.err { font: 400 13px/1.4 var(--mono); color: var(--erreur); min-height: 18px; }
.champ.ko input, .champ.ko textarea { border-color: var(--erreur); }
.sol-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- contact : le formulaire à gauche, le champ d'aiguilles à droite ; l'ensemble tient dans un écran ---------- */
.contact { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; min-height: calc(100vh - var(--tete)); padding: clamp(12px, 3vh, 40px) var(--gout); }
.contact-col { max-width: 540px; justify-self: end; width: 100%; }
#state-form, #state-sent { display: grid; gap: clamp(6px, 1.4vh, 14px); justify-items: start; }
.contact h1 { font-size: min(clamp(30px, 3.1vw, 44px), 5.4vh); line-height: 1.06; max-width: 14ch; }
.contact-intro { font-size: 16px; line-height: 1.5; color: var(--t-second); max-width: 32em; }
.contact .lien { min-height: 32px; }
.contact .champs { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; margin-top: 4px; }
.contact .champs .champ:last-child { grid-column: 1 / -1; }
.contact .champ textarea { min-height: clamp(52px, 9.5vh, 76px); }
.contact .err { min-height: 16px; font-size: 12px; }
.contact .err--envoi:empty { display: none; }
.contact-note { font-size: 14px; line-height: 1.45; color: var(--t-second); max-width: 38em; }
.contact-journal { font: 400 14px/2.3 var(--mono); color: var(--t-meta); }
.magnet-block { position: relative; align-self: stretch; min-height: 0; display: flex; align-items: center; justify-content: center; }
.magnet-block magnet-lines { width: min(100%, 520px); height: min(60vh, 520px); }
.magnet-lib { position: absolute; right: 0; font: 400 12px/1 var(--mono); letter-spacing: 0.14em; color: var(--t-meta); }
.magnet-lib--h { top: 0; } .magnet-lib--b { bottom: 0; }
@media (max-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; min-height: 0; padding: 40px var(--gout) 64px; }
  .contact-col { justify-self: start; max-width: none; }
  #state-form, #state-sent { gap: 16px; }
  .contact h1 { font-size: clamp(30px, 6vw, 44px); }
  .contact .champ textarea { min-height: 120px; }
  .magnet-block { padding: 40px 0 48px; }
  .magnet-block magnet-lines { height: 300px; }
}
@media (max-width: 600px) { .contact .champs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .champs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- devis : la ligne d'étapes en haut, une question par écran ---------- */
.devis-main { background: var(--bande); min-height: calc(100vh - var(--tete)); padding: 56px var(--gout) 80px; font-family: var(--mono); }
.devis { max-width: 860px; margin: 0 auto; display: grid; gap: 22px; }
.devis > * { min-width: 0; }
.progres { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.progres li { display: grid; gap: 8px; align-content: start; font: 400 11px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-meta); }
.progres li::before { content: ''; height: 4px; background: var(--trait); }
.progres li.fait { color: var(--t-second); } .progres li.fait::before { background: #A8A8A8; }
.progres li.ici { color: var(--vif); } .progres li.ici::before { background: var(--vif); }
.progres li.saute { color: var(--decor); text-decoration: line-through; } .progres li.saute::before { background: var(--survol); }
.progres button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0 0 8px; text-align: left; cursor: pointer; transition: color 0.2s ease; }
.progres button:hover { color: var(--vif); }
.progres-nom { display: none; margin-top: -12px; font: 400 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-titre); }
#step-stage { margin-top: 14px; }
.devis-fin { display: grid; gap: 22px; }
.rappel { background: var(--carte); padding: 16px 20px; display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; }
.rappel .lib { margin-right: 6px; }
.rappel button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; background: var(--page); border: 0; font: 400 13px/1 var(--mono); color: var(--t-titre); cursor: pointer; transition: background 0.2s ease; }
.rappel button:hover { background: var(--survol); }
.devis-bas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.devis-bas p { font: 400 15px/1.5 var(--lire); color: var(--t-second); flex: 1 1 260px; }
/* étapes 1 à 6 : comme en ligne, sans le reflet des cartes */
.devis-main .sol-field { font-family: var(--mono); }
.devis-main .sol-field:focus { outline: none; border-bottom-color: var(--vif) !important; }
.opt-card { font-family: var(--mono); transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, opacity 0.3s ease; }
.opt-card:hover { background: var(--survol); border-color: #3F3F3F; }
.opt-glare { display: none; }
.tech-chip { font-family: var(--mono); transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.tech-chip:hover { border-color: #3F3F3F; color: var(--t-titre); }
.btn-ghost { font-family: var(--mono); transition: border-color 0.3s ease, color 0.3s ease; }
.btn-ghost:hover { border-color: #3F3F3F; color: var(--t-corps); }
#btn-next { font-family: var(--mono); }
#drop { transition: border-color 0.3s ease; }
#drop:hover { border-color: #828282; }
@media (max-width: 760px) {
  .devis-main { padding: 36px var(--gout) 64px; }
  #step-stage [data-cascade-wrap]:not(.champs) { grid-template-columns: 1fr !important; }
  .mk-grid { grid-template-columns: 1fr !important; }
  #step-stage .sol-field { font-size: 16px !important; }
}
@media (max-width: 600px) {
  .progres li { font-size: 0; gap: 0; }
  .progres button { padding: 0; }
  .progres-nom { display: block; }
  .devis-bas { display: grid; grid-template-columns: minmax(0, 1fr); }
}

/* ---------- pages de document : mentions légales, confidentialité, page introuvable ---------- */
.doc { padding: 72px var(--gout) 96px; font-family: var(--mono); }
.doc--centre { min-height: calc(100vh - var(--tete) - 260px); display: flex; align-items: center; }
a.leg-link { color: var(--t-titre); text-decoration: underline; text-decoration-color: #5C5C5C; text-underline-offset: 4px; transition: text-decoration-color 0.2s ease; }
a.leg-link:hover { text-decoration-color: var(--vif); }
@media (max-width: 760px) {
  .doc { padding: 48px var(--gout) 72px; }
  .doc div[style*="200px 1fr"] { grid-template-columns: 1fr !important; }
  .doc section[style*="120px 1fr"] { grid-template-columns: 1fr !important; gap: 14px 0 !important; }
  .doc section div[style*="font-size:76px"] { font-size: 52px !important; }
}

/* ---------- pied ---------- */
.pied { --bg: var(--socle); background: var(--bg); }
.defile { overflow: hidden; padding: 24px 0; background: var(--carte); font: 400 26px/1 var(--lire); letter-spacing: 0.08em; color: #5C5C5C; white-space: nowrap; }
.defile div { display: inline-block; animation: defile 34s linear infinite; }
@keyframes defile { to { transform: translateX(-50%); } }
.pied-in { max-width: calc(var(--max) + 2 * var(--gout)); margin: 0 auto; padding: 28px var(--gout) 40px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.pied h4 { font: 400 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-meta); margin-bottom: 6px; }
.pied a { display: flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--t-corps); text-decoration: none; }
.pied a:hover { color: var(--vif); }
.pied p { font-size: 15px; color: var(--t-second); max-width: 22em; }
.pied small { grid-column: 1 / -1; font: 400 12px/1.5 var(--mono); letter-spacing: 0.08em; color: var(--t-meta); }

/* ---------- tablette et téléphone ---------- */
@media (max-width: 1100px) {
  .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio .dossier { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .gamme { grid-template-columns: minmax(0, 1fr); }
  .g-carte { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: none; }
}
@media (max-width: 900px) {
  :root { --gout: 20px; }
  .sec { padding-block: 64px; }
  .marque span { display: none; }
  .tete nav a:not(.btn) { display: none; }
  .tete nav { gap: 8px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; background: transparent; border: 1px solid var(--trait); cursor: pointer; }
  .menu.on { display: grid; position: sticky; top: var(--tete); z-index: 29; background: var(--bande); padding: 8px var(--gout) 16px; }
  .menu a { display: flex; align-items: center; min-height: 52px; font-size: 20px; color: var(--t-titre); text-decoration: none; border-top: 1px solid var(--trait); }
  .menu a:first-child { border-top: 0; }
  /* héro : le texte d'abord, dans le fil de la page ; la scène du tee-shirt s'épingle ensuite sur la même course */
  .hero-txt { padding: 36px var(--gout) 30px; }
  .hero-piste { height: calc(var(--hh) - var(--tete) + var(--course)); }
  .hero-scene { position: sticky; top: var(--tete); }
  .hero-journal { top: 18px; }
  .hero-annos { top: 18px; }
  .hero-photo { height: min(calc(var(--hh) * 0.62), 100vw); }
  .angle { display: none; }
  .tete-sec { grid-template-columns: minmax(0, 1fr); }
  .trio, .duo, .publics { grid-template-columns: minmax(0, 1fr); }
  .trio .scene--haute, .duo .scene--haute { min-height: 250px; }
  .trio .scene--haute .fig, .duo .scene--haute .fig { width: min(118%, 340px); }
  .p-carte .scene { min-height: 250px; }
  .g-carte { --cadre: 250px; }

  .appel { margin-top: 40px; }
  .pied-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .g-carte { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .tete .btn { width: auto; }
  .hero-annos { top: auto; bottom: 46px; }
  .hero-journal { right: auto; left: var(--gout); }
  html:not(.js) .hero-anno + .hero-anno { display: none; }
  .hero-cta, .p-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .p-corps { padding: 22px 20px 26px; }
  .dossier { padding: 22px 20px 24px; }
  .pied-in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .defile div { animation: none; }
  * { transition: none !important; }
}
