/* Garage du Grand Chemin : une notice de montage à l'échelle 1:1.
   Trois encres seulement : le papier, le noir et le rouge de l'enseigne. */

@font-face { font-family: "Sofia XC"; src: url("assets/fonts/sofia-xc.woff2") format("woff2"); font-weight: 1 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia XC"; src: url("assets/fonts/sofia-xc-italique.woff2") format("woff2"); font-weight: 1 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("assets/fonts/schibsted.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Michroma"; src: url("assets/fonts/michroma.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --papier: #f4f2ee;
  --noir: #0b0b0c;
  --rouge: #d3121b;
  --rouge-fonce: #a50d14;
  --encre-2: rgba(11, 11, 12, 0.72);     /* texte secondaire sur papier */
  --papier-2: rgba(244, 242, 238, 0.78); /* texte secondaire sur noir */
  --affiche: "Sofia XC", "Arial Narrow", sans-serif;
  --texte: "Schibsted", system-ui, sans-serif;
  --enseigne: "Michroma", "Arial", sans-serif;
  --cadre: 0.75rem;
  --bandeau: 3.25rem;
  --marge: clamp(1.5rem, 4.2vw, 4.25rem);
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--rouge) var(--papier); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--noir);
  font-family: var(--texte); font-size: 1.0625rem; line-height: 1.5;
  caret-color: var(--rouge); -webkit-font-smoothing: antialiased;
}
::selection { background: var(--rouge); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1.25rem; height: 1.25rem; flex: none; }
:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; }
section[id], form[id] { scroll-margin-top: calc(var(--cadre) + var(--bandeau)); }
.largeur { max-width: 80rem; margin-inline: auto; padding-inline: var(--marge); }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: fixed; left: 1.5rem; top: -5rem; z-index: 70; background: var(--noir); color: var(--papier); padding: 0.6rem 1rem; font-weight: 600; }
.evitement:focus { top: 1.5rem; }

/* ---------- Le cadre, le bandeau, le cartouche ---------- */
.cadre { position: fixed; inset: var(--cadre); z-index: 45; border: 1px solid var(--noir); pointer-events: none; }
.bandeau {
  position: fixed; inset: var(--cadre) var(--cadre) auto var(--cadre); z-index: 40; height: var(--bandeau);
  display: flex; align-items: center; gap: 1.5rem; padding-inline: 1rem;
  background: var(--papier); border-bottom: 1px solid var(--noir);
}
.marque { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.marque__damier { width: 2.7rem; height: 1.4rem; }
.marque__nom { font-family: var(--enseigne); font-size: 0.74rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.04em; }
.bandeau__titre { margin-right: auto; padding-left: 1.5rem; border-left: 1px solid var(--noir); font-family: var(--affiche); font-style: italic; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: var(--bandeau); }
.menu { display: flex; gap: 1.6rem; }
.menu a { font-family: var(--affiche); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; padding-block: 0.35rem; background: linear-gradient(var(--rouge), var(--rouge)) 0 100% / 0 3px no-repeat; transition: background-size 0.35s var(--sortie); }
.menu a:hover { background-size: 100% 3px; }

.cartouche {
  position: fixed; right: var(--cadre); bottom: var(--cadre); z-index: 44;
  display: flex; align-items: stretch; background: var(--papier); border-top: 1px solid var(--noir); border-left: 1px solid var(--noir);
  transition: transform 0.5s var(--sortie);
}
.cartouche.est-range { transform: translateY(calc(100% + var(--cadre) + 2px)); }
.cartouche__case { display: flex; flex-direction: column; justify-content: center; gap: 0.1rem; min-width: 6.5rem; padding: 0.45rem 0.9rem; border-right: 1px solid var(--noir); }
.cartouche__case--large { min-width: 11.5rem; }
.cartouche__case span { font-size: 0.72rem; line-height: 1.2; color: var(--encre-2); }
.cartouche__case strong { font-family: var(--affiche); font-weight: 800; font-size: 1.2rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.cartouche__etat.est-ouvert strong::before, .cartouche__etat.est-ferme strong::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.4rem; background: var(--noir); vertical-align: 0.08em; }
.cartouche__etat.est-ouvert strong::before { background: var(--rouge); border-radius: 50%; }
.cartouche__tel {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1.2rem; background: var(--rouge); color: #fff; text-decoration: none;
  font-family: var(--affiche); font-style: italic; font-weight: 900; font-size: 1.75rem; line-height: 1; letter-spacing: 0.01em; white-space: nowrap;
  transition: background-color 0.2s;
}
.cartouche__tel:hover { background: var(--noir); }
.cartouche__tel:focus-visible { outline-offset: -5px; outline-color: #fff; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.4rem 1.2rem;
  border: 1px solid var(--noir); border-radius: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--affiche); font-style: italic; font-weight: 800; font-size: 1.35rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--sortie);
}
.bouton:active { transform: translateY(1px); }
.bouton--rouge { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.bouton--rouge:hover { background: var(--noir); border-color: var(--noir); }
.bouton--trait:hover { background: var(--noir); color: var(--papier); }
.bouton--noir { background: var(--noir); color: var(--papier); }
.bouton--noir:hover { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.bouton svg { transition: transform 0.3s var(--sortie); }
.bouton--noir:hover svg { transform: translateX(4px); }
.lien { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.lien svg { transition: transform 0.3s var(--sortie); }
.lien:hover svg { transform: translateX(4px); }

/* ---------- La notice : la voiture et ses planches ---------- */
.notice { position: relative; }
.notice__scene { position: relative; height: 100vh; height: 100svh; min-height: 38rem; overflow: hidden; }
.notice__secours { display: none; }
.notice__toile { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; cursor: pointer; touch-action: pan-y; }
.notice__toile.est-pris { cursor: grabbing; }

.titres { position: absolute; z-index: 0; inset: calc(var(--cadre) + var(--bandeau) + 1.4rem) var(--marge) auto var(--marge); }
.titre {
  position: absolute; left: 0; top: 0;
  font-family: var(--affiche); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.4rem, 13.6vw, 14.5rem); line-height: 0.86; letter-spacing: -0.012em; white-space: nowrap;
  clip-path: inset(-10% 100% -10% 0); transition: clip-path 0.55s var(--sortie);
}
.titre.est-actif { clip-path: inset(-10% -5% -10% 0); transition: clip-path 1s var(--sortie) 0.15s; }

.etapes {
  position: absolute; z-index: 3; left: var(--marge); bottom: calc(var(--cadre) + 4.4rem); width: min(27.5rem, 37vw);
  display: grid; align-items: end; pointer-events: none;
}
.etape {
  grid-area: 1 / 1; padding: 1.15rem 1.25rem 1.25rem; background: var(--papier); border: 1px solid var(--noir);
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity 0.35s, transform 0.6s var(--sortie);
}
.etape.est-actif { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.14s; }
.etape__numero { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; font-family: var(--affiche); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.etape__numero b { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; background: var(--rouge); color: #fff; font-style: italic; font-weight: 900; font-size: 1.6rem; letter-spacing: 0; }
.etape__texte { font-size: 1.05rem; }
.etape__note { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 0.9rem; font-size: 0.9rem; color: var(--encre-2); }
.etape__note a { color: var(--noir); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }

.nomenclature { display: flex; flex-wrap: wrap; gap: 0.45rem 1.1rem; margin-top: 0.95rem; padding-top: 0.85rem; border-top: 1px solid var(--noir); }
.nomenclature li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.94rem; font-weight: 500; }
.nomenclature b, .repere i {
  display: grid; place-items: center; flex: none; width: 1.55rem; height: 1.55rem; border-radius: 50%;
  background: var(--noir); color: var(--papier);
  font-family: var(--affiche); font-style: italic; font-weight: 800; font-size: 1.05rem; line-height: 1;
}
.affiche { display: flex; align-items: center; gap: 1rem; margin-top: 0.9rem; }
.affiche strong { font-family: var(--affiche); font-style: italic; font-weight: 900; font-size: 4.6rem; line-height: 0.8; color: var(--rouge); white-space: nowrap; }
.affiche span { font-size: 0.95rem; font-weight: 500; }
.mot p { font-family: var(--affiche); font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: 0.95; text-transform: uppercase; }
.mot footer { margin-top: 0.5rem; font-size: 0.9rem; color: var(--encre-2); }

.planches { position: absolute; z-index: 3; left: var(--marge); bottom: calc(var(--cadre) + 1rem); display: flex; }
.planches button {
  width: 2.3rem; height: 2.3rem; margin-right: -1px; background: var(--papier); border: 1px solid var(--noir); cursor: pointer;
  font-family: var(--affiche); font-style: italic; font-weight: 800; font-size: 1.25rem; line-height: 1;
  transition: background-color 0.25s, color 0.25s;
}
.planches button:hover { background: var(--noir); color: var(--papier); }
.planches button.est-actif { background: var(--rouge); border-color: var(--rouge); color: #fff; position: relative; }

.suite {
  position: absolute; z-index: 3; left: calc(var(--marge) + 14.6rem); bottom: calc(var(--cadre) + 1rem); height: 2.3rem;
  display: flex; align-items: center; gap: 0.6rem; padding: 0 0.2rem; background: none; border: 0; cursor: pointer;
  font-family: var(--affiche); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.suite svg { transition: transform 0.3s var(--sortie); }
.suite:hover svg { transform: translateX(5px); }
.suite:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--rouge); }

/* Repères numérotés : un point sur la pièce, un trait, un numéro, un nom. */
.reperes { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.repere { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.3s; will-change: transform; }
.repere.est-visible { opacity: 1; }
.repere::after { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--noir); }
.repere::before { content: ""; position: absolute; left: 0; top: 0; width: 3.6rem; height: 1px; background: var(--noir); transform-origin: 0 50%; transform: rotate(-50deg); }
.repere i { position: absolute; left: 1.55rem; top: -3.55rem; }
.repere span { position: absolute; left: 3.35rem; top: -3.42rem; padding: 0.12rem 0.4rem 0.08rem; background: var(--papier); white-space: nowrap; font-family: var(--affiche); font-weight: 700; font-size: 1.12rem; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.03em; }
.repere--bas::before { transform: rotate(50deg); }
.repere--bas i { top: 2rem; }
.repere--bas span { top: 2.13rem; }
.bulle { position: absolute; left: 0; top: 0; z-index: 4; padding: 0.2rem 0.5rem 0.14rem; white-space: nowrap; pointer-events: none; background: var(--noir); color: var(--papier); font-family: var(--affiche); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0; transition: opacity 0.15s; }
.bulle.est-visible { opacity: 1; }

/* ---------- Feuilles de texte ---------- */
.feuille, .avis { padding-block: clamp(5rem, 11vw, 10rem); }
.feuille { border-top: 1px solid var(--noir); }
.feuille > .largeur, .avis > .largeur { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 4rem; }
.feuille > .largeur > *, .avis > .largeur > * { grid-column: 1 / -1; }
.grand { grid-column: 1 !important; font-family: var(--affiche); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(3.6rem, 9.4vw, 9.5rem); line-height: 0.88; letter-spacing: -0.01em; }
.chapo { grid-column: 2 !important; align-self: end; max-width: 30rem; font-size: 1.12rem; color: var(--encre-2); }

.tables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; align-items: start; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.tables table { width: 100%; border-collapse: collapse; border-bottom: 1px solid var(--noir); }
.tables caption { text-align: left; padding-bottom: 0.8rem; font-family: var(--affiche); font-style: italic; font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.tables caption b { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: 0.6rem; background: var(--noir); color: var(--papier); font-weight: 900; }
.tables tr { border-top: 1px solid var(--noir); }
.tables th, .tables td { padding-block: 0.8rem; vertical-align: baseline; }
.tables th { text-align: left; font-weight: 500; padding-right: 0.75rem; }
.tables td:first-child { width: 2.6rem; font-family: var(--affiche); font-weight: 700; font-size: 1.05rem; color: var(--encre-2); }
.tables td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pieces { display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 46rem; }
.pieces b { font-family: var(--affiche); font-style: italic; font-weight: 900; font-size: clamp(4rem, 8vw, 7rem); line-height: 0.8; color: var(--rouge); white-space: nowrap; }
.pieces span { font-size: 1.2rem; font-weight: 500; line-height: 1.35; }

/* ---------- Trous de la maquette ---------- */
.trou { border-bottom: 1.5px dashed currentColor; }
.trou--prix { color: var(--rouge-fonce); font-size: 0.9rem; font-weight: 600; }
.trou--bloc { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.25rem; min-height: 9rem; padding: 1.1rem; border: 1px dashed var(--noir); }
.trou--bloc span { font-family: var(--affiche); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rouge-fonce); }
.trou--bloc strong { font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.reperes-maquette { position: fixed; z-index: 50; right: calc(var(--cadre) + 0.6rem); top: calc(var(--cadre) + var(--bandeau) + 0.6rem); display: flex; gap: 0.5rem; padding: 0.3rem 0.6rem; background: var(--noir); color: var(--papier); font-size: 0.76rem; }
.reperes-maquette[hidden] { display: none; }

/* ---------- Avis : la feuille à l'envers ---------- */
.avis { background: var(--noir); color: var(--papier); }
.avis :focus-visible { outline-color: var(--papier); }
.avis .chapo { color: var(--papier-2); }
.avis__grand { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-block: 2.25rem; border-top: 3px solid var(--rouge); }
.avis__grand blockquote p { max-width: 60rem; font-size: clamp(1.35rem, 2.5vw, 2.1rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; }
.avis figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.9rem; margin-top: 1.1rem; }
.avis figcaption strong { font-family: var(--affiche); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
.avis figcaption span { font-size: 0.92rem; color: var(--papier-2); }
.avis__liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; }
.avis__liste figure { padding-block: 1.9rem; border-top: 1px solid rgba(244, 242, 238, 0.4); }
.avis__liste blockquote p { max-width: 34rem; }
.avis__suite { padding-top: 1.9rem; border-top: 1px solid rgba(244, 242, 238, 0.4); }

/* ---------- L'atelier ---------- */
.galerie { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.galerie__devanture { grid-row: 1 / 4; position: relative; border: 1px solid var(--noir); }
.galerie__devanture img { width: 100%; height: 100%; object-fit: cover; }
.galerie__devanture figcaption { position: absolute; left: -1px; bottom: -1px; padding: 0.3rem 0.7rem 0.22rem; background: var(--papier); border: 1px solid var(--noir); font-family: var(--affiche); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; }
.trou--texte { margin-top: 1rem; min-height: 7rem; }

/* ---------- Contact : la planche de décalcomanies ---------- */
.decalcos { background: var(--rouge); color: #fff; padding-bottom: clamp(5rem, 10vw, 9rem); }
.decalcos :focus-visible { outline-color: #fff; }
.damier { height: 3rem; margin-bottom: clamp(4rem, 8vw, 7rem); background: repeating-conic-gradient(var(--noir) 0 25%, var(--papier) 0 50%) 0 0 / 3rem 3rem; }
.decalcos__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem 4.5rem; align-items: start; }
.decalcos__titre { font-family: var(--affiche); font-style: italic; font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.numero {
  display: inline-block; margin-top: 0.4rem; text-decoration: none; white-space: nowrap;
  font-family: var(--affiche); font-style: italic; font-weight: 900; font-size: clamp(3.6rem, 7.3vw, 7.8rem); line-height: 0.86; letter-spacing: -0.01em;
  background: linear-gradient(var(--noir), var(--noir)) 0 96% / 0 0.07em no-repeat; transition: background-size 0.6s var(--sortie);
}
.numero:hover { background-size: 100% 0.07em; }
.etat { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.etat i { width: 0.7rem; height: 0.7rem; background: var(--noir); }
.etat.est-ouvert i { background: #fff; border-radius: 50%; }
.etat strong { font-family: var(--affiche); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; }
.coordonnees { display: grid; gap: 0.8rem; margin-top: 2rem; font-size: 1.08rem; }
.coordonnees li { display: flex; gap: 0.8rem; align-items: flex-start; }
.coordonnees svg { margin-top: 0.2rem; }
.horaires { width: 100%; max-width: 27rem; margin-top: 2.5rem; border-collapse: separate; border-spacing: 0; background: var(--noir); color: var(--papier); transform: rotate(-1.2deg); }
.horaires caption { caption-side: top; text-align: left; padding: 0.9rem 1.2rem 0.5rem; background: var(--noir); font-family: var(--affiche); font-style: italic; font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.horaires th, .horaires td { padding: 0.5rem 1.2rem; border-top: 1px solid rgba(244, 242, 238, 0.3); font-weight: 400; text-align: left; }
.horaires td { text-align: right; }
.horaires tr:last-child th, .horaires tr:last-child td { padding-bottom: 0.9rem; }
.horaires tr.est-aujourdhui th, .horaires tr.est-aujourdhui td { background: var(--papier); color: var(--noir); font-weight: 700; }
.acces { margin-top: 1.5rem; font-size: 0.95rem; }

.formulaire { background: var(--papier); color: var(--noir); padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--noir); }
.formulaire :focus-visible { outline-color: var(--noir); }
.formulaire h3 { font-family: var(--affiche); font-style: italic; font-weight: 900; font-size: 2.4rem; line-height: 0.95; text-transform: uppercase; }
.formulaire__aide { margin-top: 0.7rem; font-size: 0.95rem; color: var(--encre-2); }
.champ { margin-top: 1.1rem; }
.champ label { display: block; margin-bottom: 0.3rem; font-size: 0.92rem; font-weight: 600; }
.champ label span { font-weight: 400; color: var(--encre-2); margin-left: 0.35rem; }
.champ input, .champ select, .champ textarea { width: 100%; padding: 0.72rem 0.8rem; background: #fff; border: 1px solid var(--noir); border-radius: 0; }
.champ ::placeholder { color: rgba(11, 11, 12, 0.6); }
.champ textarea { resize: vertical; min-height: 6rem; }
.champ.est-en-erreur input { border-color: var(--rouge-fonce); border-width: 2px; }
.champ__erreur { margin-top: 0.3rem; font-size: 0.88rem; font-weight: 600; color: var(--rouge-fonce); }
.formulaire .bouton { width: 100%; margin-top: 1.5rem; }

/* ---------- Pied ---------- */
.pied { background: var(--noir); color: var(--papier-2); padding-block: 3rem 5.5rem; font-size: 0.9rem; }
.pied__grille { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem 3rem; align-items: start; }
.marque--pied { color: var(--papier); }

/* ---------- Sans 3D : la notice reste lisible ---------- */
.sans-3d .notice { height: auto; }
.sans-3d .notice__scene { position: relative; height: auto; padding: calc(var(--cadre) + var(--bandeau) + 2rem) var(--marge) 4rem; overflow: visible; }
.sans-3d .notice__toile, .sans-3d .planches, .sans-3d .suite, .sans-3d .reperes, .sans-3d .titres, .sans-3d #cartouche .cartouche__case { display: none; }
.sans-3d .notice__secours { display: block; width: 100%; max-height: 60vh; object-fit: cover; border: 1px solid var(--noir); margin-bottom: 2rem; }
.sans-3d .etapes { position: static; width: auto; max-width: 42rem; display: block; pointer-events: auto; }
.sans-3d .etape { opacity: 1; transform: none; pointer-events: auto; margin-bottom: 1rem; }
.sans-3d .lecteur { position: static; width: auto; height: auto; clip-path: none; white-space: normal; font-family: var(--affiche); font-style: italic; font-weight: 900; font-size: 2.6rem; line-height: 0.9; text-transform: uppercase; margin-bottom: 0.6rem; }

/* ---------- Écrans étroits ---------- */
@media (max-width: 68rem) {
  .bandeau__titre { display: none; }
  .marque { margin-right: auto; }
  .cartouche__etat { display: none; }
  .tables { grid-template-columns: 1fr 1fr; }
  .decalcos__grille { grid-template-columns: 1fr; }
}
@media (max-width: 52rem) {
  :root { --cadre: 0.4rem; --bandeau: 3rem; --marge: 1.1rem; }
  body { font-size: 1rem; }
  .menu { display: none; }
  .bandeau { padding-inline: 0.7rem; }

  .cartouche { left: var(--cadre); border-left: 0; }
  .cartouche__case { display: none; }
  .cartouche__case--large { display: flex; flex: 1; min-width: 0; border-right: 0; padding-inline: 0.7rem; }
  .cartouche__tel { font-size: 1.5rem; padding-inline: 0.9rem; }

  .titres { top: calc(var(--cadre) + var(--bandeau) + 1.9rem); }
  .titre { font-size: clamp(3.4rem, 17.4vw, 6.4rem); line-height: 0.9; }
  .etapes { left: calc(var(--cadre) + 0.6rem); right: calc(var(--cadre) + 0.6rem); width: auto; bottom: calc(var(--cadre) + 6.2rem); }
  .etape { padding: 0.85rem 0.9rem 0.95rem; }
  .etape__numero { margin-bottom: 0.5rem; font-size: 1rem; }
  .etape__numero b { width: 1.8rem; height: 1.8rem; font-size: 1.35rem; }
  .etape__texte { font-size: 0.96rem; line-height: 1.42; }
  .etape__note { margin-top: 0.6rem; font-size: 0.84rem; }
  .actions { margin-top: 0.8rem; gap: 0.45rem; }
  .actions .bouton { flex: 1 1 100%; min-height: 2.75rem; font-size: 1.25rem; }
  .nomenclature { margin-top: 0.65rem; padding-top: 0.6rem; gap: 0.35rem 0.8rem; }
  .nomenclature li { font-size: 0.88rem; }
  .nomenclature b, .repere i { width: 1.4rem; height: 1.4rem; font-size: 0.95rem; }
  .affiche { margin-top: 0.6rem; }
  .affiche strong { font-size: 3.4rem; }
  .affiche span { font-size: 0.88rem; }
  .mot p { font-size: 2.1rem; }
  .planches { left: calc(var(--cadre) + 0.6rem); bottom: calc(var(--cadre) + 3.55rem); }
  .planches button { width: 2.1rem; height: 2.1rem; font-size: 1.15rem; }
  .suite { left: calc(var(--cadre) + 13.6rem); bottom: calc(var(--cadre) + 3.55rem); height: 2.1rem; font-size: 0.98rem; white-space: normal; text-align: left; line-height: 1; max-width: 9.2rem; }
  .suite svg { display: none; }
  .reperes-maquette { top: calc(var(--cadre) + var(--bandeau) - 1px); right: var(--cadre); font-size: 0.72rem; padding: 0.15rem 0.45rem; }
  .reperes-maquette strong { display: none; }
  .repere::before { width: 2.4rem; }
  .repere i { left: 0.85rem; top: -2.55rem; }
  .repere span { left: 2.45rem; top: -2.42rem; font-size: 0.98rem; }
  .repere--bas i { top: 1.15rem; }
  .repere--bas span { top: 1.28rem; }

  .feuille > .largeur, .avis > .largeur { grid-template-columns: 1fr; }
  .grand, .chapo { grid-column: 1 !important; }
  .grand { font-size: clamp(3rem, 16vw, 5.5rem); }
  .chapo { margin-top: 1.25rem; font-size: 1.02rem; }
  .tables { grid-template-columns: 1fr; }
  .pieces { gap: 1rem; }
  .pieces span { font-size: 1.05rem; }
  .avis__liste { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .galerie__devanture { grid-row: auto; grid-column: 1 / -1; }
  .galerie .trou--bloc:last-child { grid-column: 1 / -1; }
  .trou--bloc { min-height: 7rem; padding: 0.9rem; }
  .numero { font-size: clamp(3.3rem, 17.5vw, 6rem); }
  .pied__grille { grid-template-columns: 1fr; }
  .pied { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .titre, .titre.est-actif { transition: none; }
  .etape { transform: none; transition: opacity 0.2s; }
  .bouton, .bouton svg, .lien svg, .numero, .cartouche { transition: none; }
}
