/* La Ref : site vitrine.
   Couleurs : palette de l'application (la-ref-mobile/src/constants/couleurs.ts),
   orange #E8823D, sur fond blanc, avec le noir de la charte.
   Texte sur orange : toujours noir (7,7:1). Jamais de blanc sur orange (2,7:1),
   ni d'orange en texte sur blanc (2,7:1) : sous le seuil AA.
   Charte graphique (charte graphique-la ref.pdf) :
   - polices : Open Sans (principale), Bricolage Grotesque (secondaire),
     Staatliches pour les étiquettes (chips) ;
   - logo : fichier officiel logo-la-ref.png, réduit, jamais redessiné ni recoloré.
   Mobile d'abord. Paliers : 768 px et 1080 px. */

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Staatliches";
  src: url("fonts/staatliches.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Arial recalibrée sur Open Sans : le texte ne bouge pas quand la police arrive. */
@font-face {
  font-family: "Open Sans repli";
  src: local("Arial");
  ascent-override: 101.65%;
  descent-override: 27.86%;
  line-gap-override: 0%;
  size-adjust: 105.22%;
}

:root {
  --orange: #E8823D;
  --noir: #000000;
  --blanc: #FFFFFF;
  /* Nuances dérivées du noir et du blanc, pour le texte secondaire et les filets */
  --noir-doux: rgba(0, 0, 0, .7);
  --filet: rgba(0, 0, 0, .14);
  --blanc-doux: rgba(255, 255, 255, .72);
  --filet-clair: rgba(255, 255, 255, .18);

  --f-texte: "Open Sans", "Open Sans repli", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-titre: "Bricolage Grotesque", "Open Sans", system-ui, sans-serif;
  --f-etiquette: "Staatliches", "Arial Narrow", Impact, sans-serif;

  /* Une seule échelle d'espacement, une seule valeur d'arrondi */
  --e1: 8px; --e2: 16px; --e3: 24px; --e4: 32px; --e5: 48px; --e6: 64px;
  --section: 72px;
  --gouttiere: 20px;
  --largeur: 1200px;
  --rayon: 16px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gouttiere: 40px; --section: 96px; } }
@media (min-width: 1080px) { :root { --section: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanc); color: var(--noir);
  font-family: var(--f-texte); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h2, h3 { font-family: var(--f-titre); font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--noir); outline-offset: 3px; }
.pros-panneau :focus-visible { outline-color: var(--orange); }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.evitement {
  position: absolute; left: var(--e2); top: -80px; z-index: 50;
  background: var(--orange); color: var(--noir); font-weight: 700; padding: 12px 16px; text-decoration: none;
}
.evitement:focus { top: var(--e2); }

/* ---------- Logo officiel ---------- */
.logo { display: inline-block; text-decoration: none; line-height: 0; }
/* Le fichier garde sa zone de protection transparente (150 px sur 1724) :
   décalage négatif pour aligner les lettres sur la grille, sans recadrer le fichier. */
.logo img { width: 78px; height: auto; margin-left: -7px; }

/* ---------- Étiquette (chip) : rectangle orange, Staatliches, texte noir ---------- */
.etiquette {
  display: inline-block; justify-self: start; align-self: start;
  background: var(--orange); color: var(--noir);
  font-family: var(--f-etiquette); font-weight: 400; font-size: 22px; line-height: 1;
  text-transform: uppercase; letter-spacing: .01em; padding: 6px 10px 5px;
}
.etiquette-noire { background: var(--noir); color: var(--orange); }

/* ---------- Titres ---------- */
.titre-section { font-size: clamp(30px, 7.6vw, 52px); line-height: 1.05; }
.chapo { font-size: 18px; line-height: 1.55; max-width: 34em; }

/* ---------- Boutons (rectangulaires, comme les étiquettes) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--f-texte); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn svg { flex: none; }
.btn-orange { background: var(--orange); color: var(--noir); }
.btn-orange:hover { background: var(--blanc); }
.btn-noir { background: var(--noir); color: var(--blanc); }
.btn-noir:hover { background: var(--orange); color: var(--noir); }

/* ---------- En-tête ---------- */
.entete { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); }
.entete-barre { display: flex; align-items: center; justify-content: space-between; gap: var(--e2); padding-block: var(--e2); }
.burger {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; color: var(--noir); cursor: pointer;
}
.burger .fermer, .entete.ouvert .burger .ouvrir { display: none; }
.entete.ouvert .burger .fermer { display: block; }
.menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; padding: var(--e1) var(--gouttiere) var(--e3);
  background: var(--blanc); border-bottom: 2px solid var(--noir);
}
.entete.ouvert .menu { display: flex; }
.menu a { text-decoration: none; font-weight: 600; font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.menu a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.menu .btn { margin-top: var(--e3); border-bottom: 0; }

@media (min-width: 1080px) {
  .burger { display: none; }
  .menu, .entete.ouvert .menu {
    display: flex; position: static; flex-direction: row; align-items: center; gap: var(--e4);
    padding: 0; background: none; border: 0;
  }
  .menu a { font-size: 15px; padding: 8px 0; border: 0; }
  .menu .btn { margin: 0; min-height: 44px; padding: 10px 18px; font-size: 15px; }
}

/* Accueil : dès que la bannière est affichée entière (768 px et plus), son
   propre logo fait office de logo ; celui du menu est masqué pour ne pas le doubler. */
@media (min-width: 768px) {
  .entete-accueil .logo { visibility: hidden; }
  .entete-accueil .entete-barre { padding-top: clamp(16px, 2.6vw, 40px); }
}

/* Pages intérieures : en-tête collant, fond blanc, filet */
.entete.plein { position: sticky; top: 0; background: var(--blanc); border-bottom: 1px solid var(--filet); }
.entete.plein .entete-barre { padding-block: 10px; }
.entete.plein .logo img { width: 68px; }

/* ---------- 1. Couverture : la bannière ---------- */
.couverture { position: relative; background: var(--blanc); }
.couverture img { width: 100%; height: auto; }

/* ---------- 2. T'as la Ref ? ---------- */
.ref-grille { display: grid; gap: var(--e5); }
.ref-texte { display: grid; gap: var(--e3); align-content: start; }
.ref h2 { font-size: clamp(52px, 14vw, 104px); line-height: .95; letter-spacing: -.035em; font-weight: 800; }
.chiffres {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0;
  border-top: 2px solid var(--noir); border-bottom: 2px solid var(--noir);
}
.chiffres div { display: grid; align-content: start; gap: 4px; padding: var(--e2) var(--e1) var(--e2) 0; }
.chiffres div + div { border-left: 1px solid var(--filet); padding-left: var(--e2); }
.chiffres dt { order: 2; font-size: 13px; line-height: 1.3; color: var(--noir-doux); }
.chiffres dd { order: 1; margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: 30px; line-height: 1; }
.fonctions { list-style: none; margin: 0; padding: 0; display: grid; }
.fonctions li { display: grid; gap: 4px; padding: var(--e2) 0; border-bottom: 1px solid var(--filet); }
.fonctions li:first-child { padding-top: 0; }
.fonctions h3 { font-size: 20px; line-height: 1.2; }
.fonctions p { color: var(--noir-doux); }

.ref-visuel { width: 100%; justify-self: center; }

/* Téléphone animé : les vraies captures de l'app, avec des éléments découpés
   dans ces captures qui sortent du téléphone et flottent autour.
   Chorégraphie : assets/js/telephone.js (GSAP, hébergé dans le site), chargée
   seulement à l'approche de la section. Uniquement transform et opacity.
   Sans JavaScript : téléphone fixe, écran d'accueil.
   Mouvement réduit : téléphone fixe, écrans en simple fondu (CSS ci-dessous). */
.scene {
  --duree: 10s;
  position: relative; width: 100%; max-width: 440px; margin-inline: auto;
  padding: 7% 0 44px; perspective: 1100px;
}
.telephone { position: relative; width: 58%; margin-inline: auto; transform-style: preserve-3d; }
.telephone-face {
  position: relative; padding: 3.6%; background: var(--noir);
  border-radius: 15% / 6.8%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 3px var(--noir), inset 0 0 0 4px rgba(255, 255, 255, .08);
}
/* Boutons latéraux */
.telephone-face::before, .telephone-face::after {
  content: ""; position: absolute; right: -2px; width: 3px; border-radius: 0 2px 2px 0; background: var(--noir);
}
.telephone-face::before { top: 20%; height: 7%; }
.telephone-face::after { top: 30%; height: 12%; }
/* Épaisseur : un second plan noir en retrait, visible sur la tranche quand le téléphone pivote */
.telephone-epaisseur {
  position: absolute; inset: 0; border-radius: 15% / 6.8%; background: var(--noir);
  transform: translateZ(-10px);
}
.ecran {
  position: relative; aspect-ratio: 720 / 1600; overflow: hidden;
  /* Fond de l'app (crème de la palette) : même si une image tardait, l'écran ne serait jamais noir */
  border-radius: 11.5% / 5.2%; background: #FAF6EC;
  transform: translateZ(0);
}
/* Chaque écran sur son propre calque, dessiné dès le départ : aucun écran
   n'attend son premier affichage pour être peint (sinon flash pendant la transition) */
.ecran img { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform, opacity; backface-visibility: hidden; }
.ecran img:not(.ecran-1) { opacity: 0; }
.camera {
  position: absolute; z-index: 5; top: 1.3%; left: 50%; width: 3.4%; aspect-ratio: 1; margin-left: -1.7%;
  border-radius: 50%; background: var(--noir);
}
/* Reflet léger sur la vitre */
.reflet {
  position: absolute; z-index: 6; inset: 0 -40%;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .16) 47%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}
/* Ombre douce au sol */
.ombre {
  position: absolute; left: 24%; right: 24%; bottom: 8px; height: 28px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .30), rgba(0, 0, 0, 0));
}

/* Éléments de l'app qui flottent autour du téléphone (positions en % de la scène).
   Ils sortent de leur place exacte dans l'écran et y retournent (telephone.js). */
.elements { position: absolute; inset: 0; pointer-events: none; }
.element {
  position: absolute; height: auto; opacity: 0; will-change: transform, opacity;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .12));
}
.el-bascule { left: 0; top: 15%; width: 40%; }
.el-surprends { right: 0; top: 47%; width: 34%; }
.el-carte-lieu { left: 0; top: 58%; width: 72%; }
.el-ouvert { right: 4%; top: 17%; width: 17%; }
.el-commune { right: 1%; top: 13%; width: 26%; }
.el-budget { left: 0; top: 63%; width: 44%; }
.el-carte-bon-plan { right: 0; top: 18%; width: 72%; }
.el-tirages { left: 2%; top: 68%; width: 25%; }

/* Mouvement réduit : les écrans se succèdent en fondu, rien ne bouge. */
.scene.fondu .ecran-2 { animation: ecran-2 var(--duree) linear infinite; }
.scene.fondu .ecran-3 { animation: ecran-3 var(--duree) linear infinite; }
.scene.fondu .ecran-4 { animation: ecran-4 var(--duree) linear infinite; }
.scene.en-pause * { animation-play-state: paused !important; }
@keyframes ecran-2 { 0%, 23% { opacity: 0; } 27%, 80% { opacity: 1; } 80.1%, 100% { opacity: 0; } }
@keyframes ecran-3 { 0%, 48% { opacity: 0; } 52%, 80% { opacity: 1; } 80.1%, 100% { opacity: 0; } }
@keyframes ecran-4 { 0%, 73% { opacity: 0; } 77%, 96% { opacity: 1; } 100% { opacity: 0; } }

@media (min-width: 768px) {
  .fonctions { grid-template-columns: 1fr 1fr; column-gap: var(--e4); }
  .fonctions li:nth-child(2) { padding-top: 0; }
}
@media (min-width: 1080px) {
  .ref-grille { grid-template-columns: 7fr 5fr; gap: var(--e6); align-items: center; }
}

/* ---------- 3. La sélection (panneau orange) ---------- */
/* Téléphone : une carte entière et le début de la suivante. 195 px au moins :
   le plus long libellé de budget de l'app tient alors sur une ligne. */
.selection-panneau { background: var(--orange); border-radius: var(--rayon); padding: 36px 0 var(--e3); overflow: hidden; }
.selection-tete { display: grid; gap: 12px; padding-inline: 18px; margin-bottom: var(--e3); }
.selection-tete .chapo { font-size: 17px; }
.selection-tete .btn { justify-self: start; }
.lieux {
  list-style: none; margin: 0; padding: 0 18px 6px;
  display: grid; grid-auto-flow: column; grid-auto-columns: max(62%, 195px); gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: 18px; scrollbar-width: none;
}
.lieux::-webkit-scrollbar { display: none; }
.lieux li { scroll-snap-align: start; min-width: 0; }
.lieu {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--blanc); border-radius: var(--rayon); overflow: hidden;
}
.lieu-image { position: relative; aspect-ratio: 4 / 3; background: var(--noir); }
.lieu-image img { width: 100%; height: 100%; object-fit: cover; }
/* Pas de photo fournie : aplat noir et repères orange, sans visuel inventé */
.lieu-sans-photo { position: absolute; inset: 0; display: grid; place-items: center; }
.lieu-sans-photo span {
  position: relative; padding: 14px 18px; color: var(--blanc);
  font-family: var(--f-etiquette); font-size: 26px; line-height: 1; text-transform: uppercase;
}
.lieu-sans-photo span::before, .lieu-sans-photo span::after { content: ""; position: absolute; width: 14px; height: 14px; border: 3px solid var(--orange); }
.lieu-sans-photo span::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.lieu-sans-photo span::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.lieu-corps { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr auto; gap: 3px 8px; padding: 12px 10px 18px; flex: 1; }
.lieu-cat { grid-column: 1 / -1; font-size: 12px; font-weight: 600; color: var(--noir-doux); }
.lieu-nom { font-family: var(--f-titre); font-weight: 700; font-size: 18px; line-height: 1.2; }
.lieu-nom { grid-column: 1 / -1; }
/* Première phrase de la description de la fiche dans l'app, telle quelle */
.lieu-desc { grid-column: 1 / -1; align-self: start; margin: 2px 0 6px; font-size: 13px; line-height: 1.5; color: var(--noir-doux); }
.lieu-budget { grid-column: 1; grid-row: 4; align-self: center; font-size: 13px; font-weight: 600; }
.lieu-fleche {
  grid-column: 2; grid-row: 4; align-self: end; display: grid; place-items: center;
  width: 36px; height: 36px; background: var(--noir); color: var(--blanc);
  transition: background-color .15s ease, color .15s ease;
}
.lieu:hover .lieu-fleche { background: var(--orange); color: var(--noir); }
.selection-vide { padding-inline: 18px; font-weight: 600; }

@media (min-width: 768px) {
  .selection-panneau { padding: var(--e5) 0 36px; }
  .selection-tete { padding-inline: 36px; grid-template-columns: 1fr auto; align-items: end; column-gap: var(--e3); }
  .selection-tete > :not(.btn) { grid-column: 1; }
  .selection-tete .btn { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
  .lieux { padding-inline: 36px; scroll-padding-inline: 36px; grid-auto-columns: 35%; gap: 18px; }
}
@media (min-width: 1080px) {
  /* Cartes d'environ 255 px : en-tête et cartes sur une colonne centrée */
  .selection-tete, .lieux { max-width: 870px; margin-inline: auto; }
  .lieux { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}

/* ---------- 4. Établissements (bloc noir) ---------- */
.pros-panneau { display: grid; gap: var(--e5); background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: var(--e5) var(--e3); }
.pros-intro { display: grid; gap: var(--e3); align-content: start; }
.pros .chapo { color: var(--blanc-doux); font-size: 17px; }
.pros-intro .btn { justify-self: start; }
.coordonnees { display: grid; gap: 6px; font-size: 15px; color: var(--blanc-doux); }
.coordonnees a { color: var(--blanc); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.coordonnees a:hover { color: var(--orange); }
.avantages { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--filet-clair); }
.avantages li { display: grid; grid-template-columns: 40px 1fr; gap: 4px var(--e2); padding: var(--e3) 0; border-bottom: 1px solid var(--filet-clair); }
.avantages .num { grid-row: span 2; font-family: var(--f-titre); font-weight: 800; font-size: 19px; line-height: 1.25; color: var(--orange); }
.avantages h3 { font-size: 19px; line-height: 1.25; }
.avantages p { color: var(--blanc-doux); font-size: 15px; }

@media (min-width: 768px) { .pros-panneau { padding: var(--e6) var(--e5); } }
@media (min-width: 1080px) { .pros-panneau { grid-template-columns: 1fr 1fr; gap: var(--e6); } }

/* ---------- 5. Télécharger : le titre et les deux badges, rien d'autre ---------- */
.telecharger-contenu { display: grid; gap: var(--e3); justify-items: start; }
/* Badges officiels : même hauteur pour les deux (règles Google et Apple),
   marge libre d'au moins un quart de leur hauteur, jamais retouchés. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e3); padding-block: 13px; }
.store { display: block; line-height: 0; }
.store img { height: 52px; width: auto; }
@media (min-width: 1080px) {
  .telecharger-contenu { grid-template-columns: 1fr auto; align-items: end; column-gap: var(--e6); }
  .telecharger-contenu .stores { grid-column: 2; }
}

/* ---------- 6. Pied de page ---------- */
.pied { background: var(--blanc); color: var(--noir); border-top: 2px solid var(--noir); padding-block: var(--e6) calc(var(--e4) + env(safe-area-inset-bottom, 0px)); }
.pied-grille { display: grid; gap: var(--e5); }
/* Fond blanc : le seul fichier de logo fourni par la charte (lettres noires) s'y lit tel quel */
.pied .logo img { width: 108px; margin: -9px 0 0 -9px; }
.signature { margin-top: var(--e3); font-size: 15px; color: var(--noir-doux); max-width: 22em; }
.pied h2 { font-family: var(--f-etiquette); font-weight: 400; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; margin-bottom: var(--e1); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; }
.pied li a { display: inline-block; padding: 7px 0; text-decoration: none; overflow-wrap: anywhere; }
.pied li a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.pied-bas {
  display: grid; gap: var(--e1); margin-top: var(--e5); padding-top: var(--e3);
  border-top: 1px solid var(--filet); font-size: 12.5px; color: var(--noir-doux);
  text-align: center;
}
@media (min-width: 768px) { .pied-grille { grid-template-columns: 2fr 1fr 1fr; gap: var(--e4); } }

/* ---------- Pages légales ---------- */
.legal { padding-block: var(--e5) var(--section); }
.legal article { max-width: 68ch; margin-inline: auto; font-size: 17px; line-height: 1.75; overflow-wrap: break-word; }
.legal-tete { display: grid; gap: var(--e2); padding-bottom: var(--e3); border-bottom: 2px solid var(--noir); }
.legal h1 { font-family: var(--f-titre); font-weight: 700; font-size: clamp(30px, 7.6vw, 46px); line-height: 1.1; letter-spacing: -.01em; }
.legal .maj { font-size: 14px; color: var(--noir-doux); }
.legal h2 { font-size: 22px; line-height: 1.25; margin: var(--e5) 0 12px; scroll-margin-top: 90px; }
.legal h3 { font-family: var(--f-texte); font-weight: 700; font-size: 17px; line-height: 1.4; margin: var(--e3) 0 var(--e1); }
.legal p, .legal ul, .legal ol { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
/* :not(.btn) : sinon cette règle, plus précise que .btn-noir, met le texte du bouton en noir sur noir */
.legal a:not(.btn) { color: var(--noir); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-retour { margin-top: var(--e5); }
.sommaire { margin: var(--e3) 0 var(--e1); border: 2px solid var(--noir); }
.sommaire summary {
  cursor: pointer; list-style: none; padding: 12px var(--e2); min-height: 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-etiquette); font-size: 20px; text-transform: uppercase;
}
.sommaire summary::-webkit-details-marker { display: none; }
.sommaire summary::after { content: "+"; font-family: var(--f-texte); font-size: 24px; line-height: 1; }
.sommaire details[open] summary::after { content: "–"; }
.sommaire ol { list-style: none; margin: 0; padding: 0 var(--e2) var(--e2); font-size: 15px; line-height: 1.4; }
.sommaire li { margin: 0; }
.sommaire a { display: block; padding: 7px 0; text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.erreur { min-height: 70vh; display: grid; align-content: center; gap: var(--e3); padding-block: var(--section); }
.erreur h1 { font-family: var(--f-titre); font-weight: 800; font-size: clamp(40px, 11vw, 80px); line-height: 1; letter-spacing: -.02em; }
.erreur p { font-size: 18px; color: var(--noir-doux); max-width: 34em; }
.erreur .btn { justify-self: start; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Mouvement réduit : le fondu des écrans du téléphone reste, à sa vitesse normale. */
@media (prefers-reduced-motion: reduce) {
  .scene.fondu .ecran img { animation-duration: var(--duree) !important; }
}
