/* Private Emergency Sessions : feuille unique du site de la marque (version 3, refonte du 13 novembre 2026 au soir).
   Le langage de la page Mac mini d'Apple : blancs chauds et gris clairs, encre #1d1d1f, gris #6e6e73, filets #d2d2d7, pilules encre,
   grands titres serrés, beaucoup d'air. Jamais de bleu : là où Apple met du bleu, l'encre. L'or #D6B588 et ses teintes ne servent plus
   qu'au logo, aux deux onglets, aux deux portes de l'accueil, au second ton des accroches et des titres (et aux maquettes du produit :
   téléphone d'alerte, tablette). Aucun style en ligne (CSP stricte), aucune image en data:, aucune police chargée (pile système).
   Règle du .js : tout état qui cache un contenu en attendant un script n'existe que sous un sélecteur qui commence par « .js ».
   Sans JavaScript, tout est visible et à sa place. */

:root {
  color-scheme: light;
  /* fonds : les teintes neutres de la page d'Apple (relevé du 13 novembre 2026) */
  --blanc: #ffffff; --creme: #faf7f4; --perle: #f5f5f7; --sable: #f5f5f7; --sable-fonce: #e8e8ed;
  /* filets */
  --filet: #d2d2d7; --filet-fort: #86868b;
  /* l'or de la marque (jamais un texte clair sur fond clair) et les touches pastel du téléphone d'alerte */
  --or: #d6b588; --or-pastel: #eadbc4; --or-pastel-survol: #e2cfb2; --or-pastel-appui: #d9c3a1;
  --rose-pastel: #f1ddd5; --sauge-pastel: #e1e8da; --lin-pastel: #efe6d2; --terre-pastel: #e8b4a6;
  /* textes */
  --encre: #1d1d1f; --gris: #6e6e73; --or-fonce: #8a6a3e; --or-profond: #6b5230; --bouton-encre: #3a2c1a; --encre-survol: #333336;
  /* écrans sombres (moniteur, tablette) : noirs neutres, jamais de bleu nuit */
  --nuit: #0b0b0c; --nuit-2: #151310; --texte-nuit: #f5f5f7; --gris-nuit: #a1a1a6;
  /* typographie : l'échelle du relevé, en clamp() pour le téléphone et la tablette */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --titre: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --taille-hero: clamp(44px, 6.4vw, 80px); --taille-section: clamp(34px, 4.6vw, 56px); --taille-accroche: clamp(40px, 6.2vw, 80px);
  --taille-exergue: clamp(24px, 2.6vw, 32px); --taille-surtitre: clamp(21px, 1.9vw, 24px); --taille-carte: clamp(24px, 2.2vw, 28px);
  --taille-petit: 21px; --taille-chapeau: clamp(19px, 1.7vw, 21px); --taille-texte: 17px; --taille-note: 14px;
  /* mise en page : 980 px de contenu dans les sections, 735 px de texte centré au plus */
  --largeur: 1180px; --largeur-bande: 980px; --largeur-texte: 735px; --largeur-etroite: 820px; --marge: 22px; --nav: 52px; --sous-nav: 52px;
  --rayon: 28px; --rayon-petit: 14px; --pilule: 980px;
  --espace-section: clamp(84px, 12vw, 168px); --espace-serre: clamp(40px, 6vw, 80px); --air: clamp(80px, 10vw, 140px);
  /* mouvement */
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1); --duree-courte: 0.25s; --duree-moyenne: 0.7s; --duree-longue: 0.8s;
  --ombre-douce: 0 30px 80px rgba(0, 0, 0, 0.12);
}
.moniteur {
  /* couleurs cliniques : à l'intérieur du moniteur seulement */
  --clinique-ecg: #2be36a; --clinique-pleth: #26c9e6; --clinique-co2: #f2d04a; --clinique-pa: #ff6fae; --clinique-alarme: #ff6b5e;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + var(--sous-nav) + 12px);
}
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--sans);
  font-size: var(--taille-texte);
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, ol, ul { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--titre); font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: 6px; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.evitement {
  position: absolute; left: 12px; top: 12px; z-index: 100; padding: 10px 18px; border-radius: var(--pilule);
  background: var(--encre); color: var(--blanc); text-decoration: none; transform: translateY(-200%); transition: transform 0.2s ease;
}
.evitement:focus { transform: none; }
.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.etroit { max-width: calc(var(--largeur-etroite) + 2 * var(--marge)); }
.centre { text-align: center; }
[aria-disabled="true"] { opacity: 0.5; }

/* ------------------------------------------------------------------ navigation */
/* l'en-tête : barre de 52 px, voile clair flou et filet fin, comme la barre locale d'Apple */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav);
  background: rgba(250, 250, 252, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--filet);
}
.nav .conteneur { height: 100%; display: flex; align-items: center; gap: 28px; }
.marque { display: block; flex: none; width: 36px; height: 36px; border-radius: 3px; overflow: hidden; transition: transform 0.4s var(--courbe); }
.marque:hover { transform: scale(1.04); }
.marque img { width: 100%; height: 100%; }
.nav nav { margin-left: auto; }
/* les deux onglets : deux pilules beiges, les seules de la navigation ; la courante passe à l'or, sans changer de famille de couleur */
.onglets { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.onglets a {
  display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 15px; border-radius: var(--pilule);
  background: var(--or-pastel); color: var(--bouton-encre); font: 500 13px/1.2 var(--sans); letter-spacing: -0.01em; text-align: center; text-decoration: none;
  transition: background-color var(--duree-courte) ease;
}
.onglets a:hover { background: var(--or-pastel-survol); }
/* l'onglet courant : or, graisse et filet, un signe qui ne dépend pas de la teinte seule (corrections, D6) */
.onglets a[aria-current] { background: var(--or); font-weight: 600; box-shadow: inset 0 0 0 1px var(--or-fonce); }
.langue { position: relative; display: inline-block; padding: 6px 0; color: var(--encre); font-size: 12px; letter-spacing: 0.04em; opacity: 0.8; text-decoration: none; }
.langue:hover { opacity: 1; }

/* sous-navigation (famille Simulation) : même voile, même filet que l'en-tête ; liens de 13 px ; son bouton en pilule encre */
.sous-nav {
  position: sticky; top: var(--nav); z-index: 40; min-height: var(--sous-nav);
  background: rgba(250, 250, 252, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--filet);
}
.sous-nav .bouton-petit { min-height: 30px; padding: 4px 14px; font-size: 13px; }
/* la pause reste blanche à filet fin, au survol comme à l'appui (corrections, D5) */
.sous-nav .pause-animations, .sous-nav .pause-animations:active { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--filet); }
.sous-nav .pause-animations:hover { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--filet-fort); }
.sous-nav .conteneur { min-height: var(--sous-nav); display: flex; align-items: center; gap: 24px; }
.sous-nav-titre { flex: none; font: 600 21px/1 var(--titre); letter-spacing: 0.011em; text-decoration: none; }
.sous-nav-liens { display: flex; gap: 22px; margin: 0 auto 0 8px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sous-nav-liens::-webkit-scrollbar { display: none; }
/* fondu au bord qui cache encore des liens : classes posées par site.js selon la position du défilement */
.sous-nav-liens.fondu-fin { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.sous-nav-liens.fondu-debut { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent); }
.sous-nav-liens.fondu-debut.fondu-fin { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.sous-nav-liens a { position: relative; display: block; padding: 6px 0; font-size: 13px; white-space: nowrap; text-decoration: none; opacity: 0.8; }
.sous-nav-liens a:hover { opacity: 1; }
.sous-nav-liens a[aria-current] { opacity: 1; }
.sous-nav-liens a[aria-current]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;      /* 0 et non -2px : la liste défile (overflow) et rognerait le trait */ height: 2px; border-radius: 2px; background: var(--encre);
}
.sous-nav-liens a[aria-current="true"]::after { height: 1px; opacity: 0.7; }
.sous-nav-espace { flex: none; font-size: 13px; color: var(--encre); text-decoration: none; white-space: nowrap; }
.sous-nav-espace:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ boutons et liens */
.boutons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 16px; margin-top: 34px; }
.boutons.gauche { justify-content: flex-start; }
/* là où Apple met du bleu, l'encre : la pilule principale est encre à texte blanc, la seconde blanche à filet */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 22px; border: 0;
  border-radius: var(--pilule); font: 400 17px/1.18 var(--sans); letter-spacing: -0.022em; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color var(--duree-courte) ease, box-shadow var(--duree-courte) ease, transform var(--duree-courte) var(--courbe);
}
.bouton:active { transform: scale(0.98); }
.bouton-principal { background: var(--encre); color: var(--blanc); }
.bouton-principal:hover { background: var(--encre-survol); }
.bouton-principal:active { background: #000000; }
.bouton-second { background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--filet); }
.bouton-second:hover { box-shadow: inset 0 0 0 1px var(--filet-fort); }
.bouton-second:active { background: var(--perle); }
.bouton-petit { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.lien { color: var(--encre); font-size: var(--taille-texte); text-decoration: none; }
.lien::after { content: "\203A"; display: inline-block; margin-left: 6px; transition: transform var(--duree-courte) var(--courbe); }
.lien:hover { text-decoration: underline; text-underline-offset: 3px; }
.lien:hover::after { transform: translateX(3px); }
.liens { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.liens.centre { justify-content: center; }
.pause-animations {
  display: inline-flex; align-items: center; min-height: 36px; margin-top: 18px; padding: 6px 16px; border: 0;
  border-radius: var(--pilule); background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--filet); font: 400 14px/1.2 var(--sans); cursor: pointer;
}
.pause-animations:hover { box-shadow: inset 0 0 0 1px var(--filet-fort); }

/* ------------------------------------------------------------------ typographie */
.surtitre { display: block; margin-bottom: 14px; font: 600 clamp(17px, 1.5vw, 21px)/1.2 var(--titre); letter-spacing: 0.011em; color: var(--gris); }
.titre-hero { font-size: var(--taille-hero); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }   /* 80 / 84 px, aucun mot seul sur sa ligne */
.titre-section { font-size: var(--taille-section); line-height: 1.07; letter-spacing: -0.005em; text-wrap: balance; }   /* 56 / 60 px */
.titre-petit { font-size: var(--taille-petit); line-height: 1.2; letter-spacing: 0.011em; }
/* le mot en <em> d'un titre : même police, même graisse, en or (second ton, voir .ton) */
.titre-hero em, .titre-section em { font-style: normal; }
.chapeau { max-width: var(--largeur-texte); margin: 24px auto 0; font-size: var(--taille-chapeau); line-height: 1.38; font-weight: 600; color: var(--gris); letter-spacing: 0.011em; }
.gauche .chapeau, .chapeau.gauche { margin-left: 0; }
.texte { margin-top: 12px; color: var(--gris); font-size: var(--taille-texte); line-height: 1.47; }
.note { margin-top: 18px; color: var(--gris); font-size: var(--taille-note); line-height: 1.43; letter-spacing: -0.016em; }
.note.centre { text-align: center; }
.tabular, .prix, .telephone-numero, .telephone-duree, .frise-temps, .moniteur-val { font-variant-numeric: tabular-nums; }
.adresse-contact { margin-top: 14px; color: var(--gris); font-size: var(--taille-note); }
.adresse-contact-valeur { color: var(--encre); font-weight: 500; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.liste-points { margin: 18px 0 0; padding: 0; list-style: none; }
.liste-points li, .garanties li { position: relative; padding: 8px 0 8px 24px; }
.liste-points li::before, .garanties li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--filet-fort);
}
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.etiquettes li { padding: 3px 12px; border-radius: var(--pilule); background: var(--sable); color: var(--encre); font-size: 13px; line-height: 1.5; }
.garanties { margin: 22px 0 0; padding: 0; list-style: none; }
.sommaire ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.sommaire a { color: var(--encre); font-size: 15px; text-decoration: none; }
.sommaire a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sommaire-aide { margin: 30px 0 clamp(40px, 5vw, 64px); }
.sommaire-aide ul { justify-content: center; gap: 10px; }
.sommaire-aide a { display: inline-block; padding: 7px 16px; border: 1px solid var(--filet); border-radius: var(--pilule); background: var(--blanc); }
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--gris); }
.fil-ariane li + li::before { content: "\203A"; margin: 0 10px; color: var(--filet-fort); }
.fil-ariane a { text-decoration: none; }
.fil-ariane a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* fiches de cas : le fil d'Ariane et la navigation des voisins sont des enfants de <main>, hors du conteneur ; ils en prennent la largeur
   et les marges. Les étiquettes du héros se centrent sous le titre, avec un espace avant le bouton. */
.fil-ariane, .cas-voisins { width: min(100% - 2 * var(--marge), var(--largeur)); margin-left: auto; margin-right: auto; }
.fil-ariane { padding-top: 18px; }
.hero .etiquettes { justify-content: center; margin-bottom: 28px; }

/* ------------------------------------------------------------------ sections et grilles */
.section { padding: var(--espace-section) 0; }
.section.serre { padding-top: var(--espace-serre); }
.entete-section { margin-bottom: clamp(44px, 6vw, 80px); }
.grille + .entete-section { margin-top: clamp(72px, 9vw, 120px); }   /* deux rangées dans une section (#preuves) */
.entete-section .chapeau { margin-left: 0; }               /* aligné sur le bord gauche de son titre */
.entete-section.centre { text-align: center; }
.entete-section.centre .chapeau { margin-left: auto; }
.hero { padding: clamp(64px, 9vw, 120px) 0 0; text-align: center; overflow: hidden; }
.hero.hero-court { padding-top: clamp(56px, 7vw, 96px); }
.hero .boutons { margin-top: 34px; }
.hero .apparition > .bouton:first-child { margin-top: 32px; }       /* un bouton seul (simulateur « bientôt ») respire comme une rangée */
.hero .note { margin-top: 16px; }
/* Apparitions : le texte est pleinement lisible moins d'une demi-seconde après son entrée à l'écran
   (opacité : 0,4 s au plus, retard compris) ; seul le glissement, qui ne pâlit rien, dure plus longtemps. */
.js .hero .apparition { animation: eclore 0.36s ease-out both, glisser var(--duree-longue) var(--courbe) both; }
.js .hero .apparition.r1 { animation-delay: 0s, 0.08s; }
.js .hero .apparition.r2 { animation-delay: 0.03s, 0.18s; }
.js .hero .apparition.r3 { animation-delay: 0.06s, 0.3s; }
.js .hero .apparition.r4 { animation-delay: 0.09s, 0.44s; }
@keyframes eclore { from { opacity: 0; } to { opacity: 1; } }
@keyframes glisser { from { transform: translateY(24px); } to { transform: none; } }
/* entrée en fondu et montée de 24 px (glissement de 0,8 s, courbe douce) ; r1 à r4 : la cascade des lignes et des tuiles */
.js [data-revele] { opacity: 0; transform: translateY(24px); transition: opacity 0.36s ease-out, transform var(--duree-longue) var(--courbe); }
.js [data-revele].visible { opacity: 1; transform: none; }
.js [data-revele].r1 { transition-delay: 0.02s, 0.08s; }
.js [data-revele].r2 { transition-delay: 0.04s, 0.16s; }
.js [data-revele].r3 { transition-delay: 0.06s, 0.24s; }
.js [data-revele].r4 { transition-delay: 0.08s, 0.32s; }
/* tout montrer : posée par site.js (ancre, pause, impression, mouvement réduit), ou par tete.js si site.js n'a pas tourné 3 s plus tard */
html.tout-montre [data-revele] { opacity: 1; transform: none; }
.scene-visuel { margin-top: clamp(40px, 6vw, 72px); }
.grille { display: grid; gap: 22px; }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.duo.inverse .duo-visuel { order: -1; }
.duo-texte .titre-section { margin-top: 0; }

/* ------------------------------------------------------------------ cartes */
.tuile {
  position: relative; padding: clamp(28px, 3vw, 40px); border-radius: var(--rayon); background: var(--perle); overflow: hidden;
}
.tuile-numero { display: block; margin-bottom: 14px; font: 600 24px/1 var(--titre); color: var(--gris); font-variant-numeric: tabular-nums; }
.tuile .pastille, .pastille {
  display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: var(--pilule); background: var(--blanc);
  box-shadow: inset 0 0 0 1px var(--filet-fort); color: var(--encre); font: 600 12px/1.6 var(--sans); letter-spacing: 0.02em; vertical-align: middle;
}
.tuile-lien { margin-top: 18px; }
.carte-cas { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--blanc); }
.carte-cas-module { color: var(--gris); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.carte-cas-titre { margin-top: 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.carte-cas-titre a { text-decoration: none; }
.carte-cas-titre a:hover { text-decoration: underline; text-underline-offset: 3px; }
.carte-cas-resume { margin-top: 10px; color: var(--gris); font-size: 15px; line-height: 1.5; }
.carte-cas .etiquettes { margin-top: auto; padding-top: 16px; }
.colonne-confiance { padding: clamp(26px, 3vw, 38px); border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.colonne-confiance ul { margin: 18px 0 0; padding: 0; list-style: none; }
.colonne-confiance li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--filet); font-size: 16px; }
.colonne-confiance li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 7px; height: 7px; border-radius: 50%; background: var(--filet-fort); }

/* ------------------------------------------------------------------ prix */
.prix-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.colonne-prix {
  display: flex; flex-direction: column; padding: 40px 34px 34px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc);
}
.colonne-prix.vedette { border-color: var(--encre); box-shadow: 0 0 0 1px var(--encre), var(--ombre-douce); }
.colonne-nom { font-size: 24px; letter-spacing: -0.02em; }
.colonne-montant { margin-top: 16px; }
.prix { font: 600 44px/1 var(--titre); letter-spacing: -0.035em; }
.prix-devis { font-size: 34px; }
.colonne-periode { color: var(--gris); font-size: 16px; }
.colonne-secondaire { margin-top: 8px; color: var(--gris); font-size: 15px; }
.colonne-points { margin: 26px 0 30px; padding: 0; list-style: none; }
.colonne-points li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--filet); font-size: 16px; }
.colonne-points li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--filet-fort); }
.colonne-prix .bouton { margin-top: auto; width: 100%; }
.tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tableau-defile:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.tableau-compris { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.tableau-compris th, .tableau-compris td { padding: 14px 16px; border-bottom: 1px solid var(--filet); text-align: center; }
.tableau-compris tbody th { text-align: left; font-weight: 500; }
.tableau-compris thead th { font: 600 17px/1.2 var(--titre); }
.tableau-compris .non-compris { color: var(--gris); }      /* « Non compris » en gris (5,08:1 sur blanc), « Compris » en encre */

/* ------------------------------------------------------------------ frises, sources, questions */
.frise { position: relative; margin: 0; padding: 0 0 0 68px; list-style: none; }
.frise::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--filet); }
.frise::after { content: ""; position: absolute; left: 21px; top: 8px; width: 2px; height: calc(100% - 16px); background: var(--encre); }
.js .frise[data-frise="defilement"]::after { transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.frise-etape { position: relative; padding: 0 0 clamp(30px, 4vw, 48px); }
.frise-etape:last-child { padding-bottom: 0; }
.frise-repere {
  position: absolute; z-index: 1; left: -68px; top: -4px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blanc); border: 1px solid var(--filet); font: 600 15px/1 var(--titre); color: var(--encre); font-variant-numeric: tabular-nums;
}
.js .frise[data-frise="defilement"] .frise-etape.atteinte .frise-repere { border-color: var(--encre); }
.frise-temps { display: block; margin-bottom: 2px; color: var(--gris); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.frise-titre { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.frise-texte { margin-top: 8px; color: var(--gris); }
.points-info { margin: 0; padding: 0; list-style: none; counter-reset: pt; }
.point-info { position: relative; padding: 22px 0 22px 52px; border-top: 1px solid var(--filet); counter-increment: pt; }
.point-info:last-child { border-bottom: 1px solid var(--filet); }
.point-info::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 0; top: 24px; font: 600 19px/1 var(--titre); color: var(--gris); font-variant-numeric: tabular-nums; }
.point-texte { font-size: 18px; line-height: 1.5; }
.point-source { margin-top: 8px; color: var(--gris); font-size: 14px; }
.point-info .lien { display: inline-block; margin-top: 8px; font-size: 15px; }
.lien-source { white-space: normal; }
.sources-cas { margin: 0; padding: 0; list-style: none; }
.sources-cas li { padding: 10px 0; border-top: 1px solid var(--filet); font-size: 15px; }
.source-texte { color: var(--encre); }
.sources-cas .lien, .liste-sources .lien { margin-left: 8px; font-size: 14px; white-space: normal; }
.toutes-sources { border-top: 1px solid var(--filet); }
.toutes-sources > summary, .faq-question > summary, .panneau-consignes > summary {
  cursor: pointer; padding: 18px 0; font: 600 19px/1.3 var(--titre); letter-spacing: -0.015em; list-style: none;
}
.toutes-sources > summary::-webkit-details-marker, .faq-question > summary::-webkit-details-marker, .panneau-consignes > summary::-webkit-details-marker { display: none; }
.toutes-sources > summary::after, .faq-question > summary::after, .panneau-consignes > summary::after {
  content: "+"; float: right; color: var(--gris); font-weight: 400; transition: transform var(--duree-courte) var(--courbe);
}
details[open] > summary::after { transform: rotate(45deg); }
.liste-sources { margin: 0; padding: 0 0 0 22px; font-size: 15px; }
.liste-sources li { padding: 8px 0 8px 6px; }
.source-cas { display: block; margin-top: 4px; color: var(--gris); font-size: 13px; }
.cas-voisins { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-bottom: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--filet); }
.cas-precedent, .cas-suivant { display: block; max-width: 340px; padding: 14px 20px; border-radius: var(--rayon-petit); background: var(--sable); color: var(--encre); text-decoration: none; }
.cas-precedent:hover, .cas-suivant:hover { background: var(--sable-fonce); }
.cas-sens { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.cas-nom { display: block; font-size: 16px; line-height: 1.3; }
.faq { width: min(100% - 2 * var(--marge), var(--largeur-etroite)); margin: 0 auto; }   /* enfant de <main>, sans conteneur : ses marges */
.faq-groupe { margin-top: 56px; }
.faq-groupe:first-child { margin-top: 0; }
.faq-titre { margin-bottom: 6px; color: var(--encre); }
.faq-question { border-top: 1px solid var(--filet); }
.faq-groupe .faq-question:last-child { border-bottom: 1px solid var(--filet); }
.faq-reponse { padding: 0 0 22px; color: var(--encre); line-height: 1.53; max-width: 720px; }
.faq-reponse p + p { margin-top: 12px; }
.faq-question:target > summary { text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 4px; }

/* schéma des données */
.schema-donnees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; }
.schema-zone { position: relative; padding: 30px 28px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.schema-zone[data-zone="jamais"] { background: var(--perle); }
.schema-zone + .schema-zone::before {
  content: ""; position: absolute; left: -46px; top: 50%; width: 38px; height: 2px; background: var(--filet-fort);
}
.js .schema-zone + .schema-zone::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--courbe); }
.js .schema-zone + .schema-zone.visible::before { transform: scaleX(1); }
.schema-zone ul { margin: 14px 0 0; padding: 0; list-style: none; }
.schema-zone li { position: relative; padding: 8px 0 8px 20px; font-size: 15px; }
.schema-zone li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--filet-fort); }
.schema-icone { position: relative; display: block; width: 44px; height: 36px; margin-bottom: 14px; }
.schema-zone[data-zone="appareil"] .schema-icone { width: 40px; height: 30px; border: 2px solid var(--encre); border-radius: 6px; }
.schema-zone[data-zone="appareil"] .schema-icone::after { content: ""; position: absolute; left: 14px; bottom: 3px; width: 8px; height: 2px; border-radius: 2px; background: var(--encre); }
.schema-zone[data-zone="serveur"] .schema-icone { width: 40px; height: 30px; border: 2px solid var(--encre); border-radius: 6px; }
.schema-zone[data-zone="serveur"] .schema-icone::before { content: ""; position: absolute; left: 6px; right: 6px; top: 12px; height: 2px; background: var(--encre); box-shadow: 0 -7px 0 var(--encre), 0 7px 0 var(--encre); }
.schema-zone[data-zone="jamais"] .schema-icone { width: 34px; height: 34px; border: 2px solid var(--encre); border-radius: 50%; }
.schema-zone[data-zone="jamais"] .schema-icone::before { content: ""; position: absolute; left: 3px; right: 3px; top: 14px; height: 2px; background: var(--encre); transform: rotate(-45deg); }

/* ------------------------------------------------------------------ défilement */
.interieur { width: 100%; height: 100%; }
.js [data-defile] .interieur { transform: scale(calc(0.9 + 0.1 * var(--entree, 1))); opacity: calc(0.35 + 0.65 * var(--entree, 1)); will-change: transform, opacity; }
.js [data-defile] { opacity: calc(1 - 0.5 * var(--sortie, 0)); }


/* ------------------------------------------------------------------ téléphone blanc (maquette du téléphone d'alerte : ses touches pastel et son or restent) */
.telephone-blanc { position: relative; width: min(100%, 280px); aspect-ratio: 9 / 19; margin: 0 auto; }
.telephone-corps {
  position: relative; z-index: 1; height: 100%; padding: 12px; border: 1px solid var(--filet); border-radius: 44px;
  background: var(--blanc); box-shadow: var(--ombre-douce);
}
.telephone-ecran {
  display: flex; flex-direction: column; align-items: center; height: 100%; padding: 22px 14px 18px; border-radius: 34px;
  background: var(--perle); text-align: center; overflow: hidden;
}
.telephone-bandeau { font: 600 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; font-variant: small-caps; color: var(--or-profond); }
.telephone-etat { margin-top: 14px; min-height: 18px; color: var(--gris); font-size: 14px; }
.telephone-etat span { display: none; }
.telephone-blanc[data-etat="repos"] .telephone-etat [data-pour~="repos"],
.telephone-blanc[data-etat="clavier"] .telephone-etat [data-pour~="clavier"],
.telephone-blanc[data-etat="sonnerie"] .telephone-etat [data-pour~="sonnerie"],
.telephone-blanc[data-etat="appel"] .telephone-etat [data-pour~="appel"],
.telephone-blanc[data-etat="fin"] .telephone-etat [data-pour~="fin"] { display: inline; }
.telephone-numero { margin-top: 10px; min-height: 40px; font: 600 36px/1.1 var(--titre); letter-spacing: -0.03em; }
.telephone-titre { margin-top: 4px; min-height: 18px; color: var(--gris); font-size: 14px; line-height: 1.3; }
.telephone-duree { margin-top: 6px; min-height: 18px; color: var(--gris); font-size: 14px; }
.telephone-blanc[data-etat="sonnerie"] .telephone-etat, .telephone-blanc[data-etat="appel"] .telephone-etat, .telephone-blanc[data-etat="fin"] .telephone-etat { margin-top: auto; }
.telephone-blanc[data-etat="sonnerie"] .telephone-duree, .telephone-blanc[data-etat="appel"] .telephone-duree, .telephone-blanc[data-etat="fin"] .telephone-duree { margin-bottom: auto; }
.telephone-touches { display: none; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin: 14px 0 0; padding: 0; list-style: none; }
.telephone-blanc[data-etat="repos"] .telephone-touches,
.telephone-blanc[data-etat="clavier"] .telephone-touches { display: grid; }
.touche-pastel {
  display: grid; place-items: center; aspect-ratio: 1.25; border-radius: 50%; color: var(--bouton-encre); font: 500 19px/1 var(--titre);
}
.touche-lin { background: var(--lin-pastel); }
.touche-sauge { background: var(--sauge-pastel); }
.touche-rose { background: var(--rose-pastel); }
.touche-or { background: var(--or-pastel); }
.telephone-actions { display: flex; justify-content: center; gap: 30px; margin-top: auto; padding-top: 12px; }
.telephone-appeler, .telephone-raccrocher { position: relative; display: block; width: 52px; height: 52px; border-radius: 50%; }
.telephone-appeler { background: var(--or-pastel); }
.telephone-raccrocher { background: var(--terre-pastel); display: none; }
.telephone-blanc[data-etat="appel"] .telephone-appeler, .telephone-blanc[data-etat="fin"] .telephone-appeler { display: none; }
.telephone-blanc[data-etat="sonnerie"] .telephone-raccrocher, .telephone-blanc[data-etat="appel"] .telephone-raccrocher { display: block; }
.telephone-appeler::after, .telephone-raccrocher::after {
  content: ""; position: absolute; left: 14px; right: 14px; top: 23px; height: 7px; border-radius: 4px; background: var(--bouton-encre); transform: rotate(-35deg);
}
.telephone-raccrocher::after { transform: rotate(0deg); }
.telephone-ondes { position: absolute; inset: 0; display: none; pointer-events: none; }
.telephone-blanc[data-etat="sonnerie"] .telephone-ondes { display: block; }
.telephone-ondes span { position: absolute; border: 2px solid var(--or); border-radius: 56px; }
.telephone-ondes span:nth-child(1) { inset: -3%; opacity: 0.6; }
.telephone-ondes span:nth-child(2) { inset: -6%; opacity: 0.4; }
.telephone-ondes span:nth-child(3) { inset: -9%; opacity: 0.2; }
.js [data-anime="infini"] .telephone-blanc[data-etat="sonnerie"] .telephone-corps { animation: sonner 2.4s ease-in-out infinite; }
.js [data-anime="infini"] .telephone-ondes span { animation: onde 1.6s ease-out infinite; opacity: 0; }
.js [data-anime="infini"] .telephone-ondes span:nth-child(2) { animation-delay: 0.4s; }
.js [data-anime="infini"] .telephone-ondes span:nth-child(3) { animation-delay: 0.8s; }
@keyframes sonner {
  0%, 29%, 100% { transform: rotate(0deg); } 2.5% { transform: rotate(2deg); } 7.3% { transform: rotate(-2deg); } 12.2% { transform: rotate(2deg); }
  17% { transform: rotate(-2deg); } 21.9% { transform: rotate(2deg); } 26.8% { transform: rotate(-2deg); }
}
@keyframes onde { 0% { transform: scale(0.94); opacity: 0.6; } 100% { transform: scale(1.08); opacity: 0; } }

/* tablette du formateur */
.tablette { width: min(100%, 560px); margin: 0 auto; padding: 16px; border-radius: 34px; background: var(--nuit-2); box-shadow: var(--ombre-douce); }
.tablette-ecran { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; padding: 14px; border-radius: 20px; background: var(--perle); }
.tablette-apercu { border-radius: 12px; overflow: hidden; background: var(--nuit); align-self: center; }
.tablette-colonne { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.tablette .qr { width: 56%; aspect-ratio: 1; align-self: flex-start; }
.qr rect { fill: var(--encre); }
.pilule { display: block; height: 16px; border-radius: var(--pilule); background: var(--sable-fonce); }
.pilule-or { background: var(--or-pastel); }
.pilule-courte { width: 62%; }

/* ------------------------------------------------------------------ moniteur */
.moniteur { width: 100%; border-radius: 18px; background: var(--nuit); overflow: hidden; line-height: 0; }
.moniteur-ecran { width: 100%; height: auto; }
.moniteur-fond { fill: var(--nuit); }
.moniteur-grille line { stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; }
.moniteur .trace, .moniteur .trace-pleth, .moniteur .trace-co2 { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.moniteur .trace { display: none; stroke: var(--clinique-ecg); }
.moniteur[data-trace="sinus"] .trace-sinus, .moniteur[data-trace="fv"] .trace-fv,
.moniteur[data-trace="rcp"] .trace-rcp, .moniteur[data-trace="plat"] .trace-plat { display: inline; }
.moniteur .trace-pleth { stroke: var(--clinique-pleth); }
.moniteur .trace-co2 { stroke: var(--clinique-co2); }
.moniteur[data-pouls="non"] .trace-pleth { opacity: 0.3; transform: scaleY(0.04); transform-box: fill-box; transform-origin: 50% 100%; }
.moniteur text { font-family: var(--titre); }
.moniteur-lib { font-size: 22px; font-weight: 600; }
.moniteur-val { font-size: 92px; font-weight: 500; letter-spacing: -2px; }
.moniteur-val-moy { font-size: 60px; letter-spacing: -1px; }
.moniteur-unite { font-size: 18px; fill: var(--gris-nuit); }
.moniteur-entete { font-size: 18px; fill: var(--gris-nuit); letter-spacing: 0.5px; }
.moniteur-alarme { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; fill: var(--clinique-alarme); text-anchor: end; }
.moniteur .v-fc { fill: var(--clinique-ecg); }
.moniteur .v-spo2 { fill: var(--clinique-pleth); }
.moniteur .v-pa { fill: var(--clinique-pa); }
.moniteur .v-etco2 { fill: var(--clinique-co2); }
.moniteur .v-fr { fill: var(--texte-nuit); }
.js [data-anime="infini"].moniteur .trace, .js [data-anime="infini"].moniteur .trace-pleth { animation: defiler 4s linear infinite; }
.js [data-anime="infini"].moniteur .trace-co2 { animation: defiler 6s linear infinite; }
.moniteur-moyen { max-width: 760px; margin-left: auto; margin-right: auto; }
.moniteur-carte { border-radius: 10px; }
.moniteur-grand { border-radius: 24px; box-shadow: var(--ombre-douce); }
@keyframes defiler { from { transform: translateX(0); } to { transform: translateX(-700px); } }

/* ------------------------------------------------------------------ appel d'alerte : bandeau, clavier */
* + .bandeau-simulation, .hero .apparition > .bandeau-simulation { margin-top: 28px; }
.hero .bandeau-simulation { max-width: 760px; margin-left: auto; margin-right: auto; }
.bandeau-simulation { padding: 14px 20px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--perle); font-size: 15px; }
.bandeau-simulation p + p { margin-top: 4px; color: var(--gris); }
.urgence-reelle { font-weight: 500; }
.etiquette-exemple { display: inline-block; max-width: 640px; margin-bottom: 24px; padding: 12px 18px; border: 1px solid var(--filet-fort); border-radius: var(--rayon-petit); background: var(--blanc); }
.etiquette-exemple p:first-child { font-weight: 600; color: var(--encre); }
.exemple-instants { margin-top: 2px; color: var(--gris); font-size: 14px; }
.clavier-appel { display: block; }
.clavier-pays { margin: 28px 0 12px; color: var(--encre); font-size: 17px; }
.clavier-groupe:first-child .clavier-pays { margin-top: 0; }
.clavier-panneaux { display: block; }
.clavier-touches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.touche-appel {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 104px; height: 100%;
  padding: 16px 12px 30px; border-radius: 24px; background: var(--lin-pastel); color: var(--bouton-encre); text-align: center; text-decoration: none;
  transition: background-color var(--duree-courte) ease, transform var(--duree-courte) var(--courbe);
}
.clavier-touches li:nth-child(4n+2) .touche-appel { background: var(--sauge-pastel); }
.clavier-touches li:nth-child(4n+3) .touche-appel { background: var(--rose-pastel); }
.clavier-touches li:nth-child(4n+4) .touche-appel { background: var(--sable); }
.touche-appel:hover { background: var(--or-pastel-survol); }
.touche-appel:active { transform: scale(0.96); background: var(--or-pastel-appui); }
.touche-appel[aria-current="true"] { background: var(--or-pastel); box-shadow: inset 0 0 0 2px var(--or-fonce); }
.touche-numero { font: 600 40px/1 var(--titre); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.touche-nom { font-size: 14px; line-height: 1.25; }
.touche-pastille { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 1px 10px; border-radius: var(--pilule); background: var(--blanc); font-size: 12px; font-weight: 600; white-space: nowrap; }
.clavier-ecran { margin: 22px 0 14px; color: var(--gris); font-size: 15px; min-height: 22px; }
.panneau-numero { margin-top: 16px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.panneau-numero:focus-visible { outline-offset: 4px; }
.panneau-titre { display: flex; align-items: baseline; gap: 14px; font-size: 26px; letter-spacing: -0.02em; }
.panneau-grand-numero { font-size: 44px; font-variant-numeric: tabular-nums; letter-spacing: -0.035em; }
.panneau-qui { margin-top: 14px; font-size: 18px; line-height: 1.5; max-width: 760px; }
.panneau-qui-source, .panneau-note, .panneau-etat, .panneau-canal { margin-top: 8px; color: var(--gris); font-size: 14px; }
.panneau-etat { padding: 12px 16px; border-radius: var(--rayon-petit); background: var(--perle); font-size: 15px; }
.panneau-sous-titre { margin-top: 24px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.panneau-interlocuteur { margin-top: 16px; font-weight: 600; }
.questions-operateur { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: q; }
.question-operateur { position: relative; padding: 12px 0 12px 38px; border-top: 1px solid var(--filet); counter-increment: q; }
.question-operateur::before { content: ""; position: absolute; left: 6px; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--filet-fort); }
.question-theme { font-weight: 600; }
.question-aide { color: var(--gris); }
.question-texte { display: block; margin-top: 4px; font-size: 17px; font-style: italic; quotes: none; }   /* la phrase citée : <q> et l'italique, aucun guillemet dessiné */
.question-source { display: block; margin-top: 4px; color: var(--gris); font-size: 13px; line-height: 1.45; }
.niveau { display: inline-block; margin-right: 6px; padding: 0 9px; border-radius: var(--pilule); color: var(--bouton-encre); font-size: 12px; font-weight: 600; }
.niveau-s { background: var(--sauge-pastel); }
.niveau-u { background: var(--lin-pastel); }
.niveau-i { background: var(--sable-fonce); }
.niveau-p { background: var(--rose-pastel); }
.panneau-consignes { margin-top: 18px; border-top: 1px solid var(--filet); }
.panneau-consignes > summary { font-size: 16px; }
.panneau-consignes ul { margin: 0; padding: 0 0 12px 20px; color: var(--gris); font-size: 14px; }

/* ------------------------------------------------------------------ séance témoin */
.temoin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 72px); align-items: start; }
.temoin > .etiquette-exemple, .temoin-debriefing { grid-column: 1 / -1; }
.temoin > .etiquette-exemple { justify-self: start; }
.temoin-scene { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 16px; align-items: center; padding: 18px; border-radius: var(--rayon); background: var(--perle); }
.temoin-moniteur { position: relative; min-width: 0; }
.temoin-telephone { display: flex; justify-content: center; }
.temoin-telephone .telephone-blanc { width: 150px; }
.temoin-telephone .telephone-corps { padding: 8px; border-radius: 30px; }
.temoin-telephone .telephone-ecran { padding: 14px 8px 12px; border-radius: 24px; }
.temoin-telephone .telephone-numero { min-height: 30px; font-size: 26px; }
.temoin-telephone .telephone-etat, .temoin-telephone .telephone-titre, .temoin-telephone .telephone-duree { font-size: 12px; }
.temoin-telephone .telephone-touches { gap: 4px; margin-top: 8px; }
.temoin-telephone .touche-pastel { font-size: 13px; }
.temoin-telephone .telephone-blanc[data-etat="repos"] .telephone-actions { display: none; }
.temoin-telephone .telephone-appeler, .temoin-telephone .telephone-raccrocher { width: 36px; height: 36px; }
.temoin-telephone .telephone-appeler::after, .temoin-telephone .telephone-raccrocher::after { left: 9px; right: 9px; top: 15px; height: 6px; }
.temoin-sous-titre { grid-column: 1 / -1; min-height: 52px; font: 600 19px/1.3 var(--titre); letter-spacing: -0.015em; }
.temoin-source { grid-column: 1 / -1; margin-top: -8px; min-height: 20px; color: var(--gris); font-size: 13px; }
.temoin-moments { margin: 0; padding: 0; list-style: none; }
.temoin-moment { padding: 14px 0 14px 20px; border-left: 2px solid var(--filet); color: var(--gris); font-size: 16px; }
.temoin-moment time { display: block; color: var(--gris); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.temoin-libelle { color: var(--encre); }
.temoin-moment[aria-current="step"] { border-left-color: var(--encre); }
.temoin-moment[aria-current="step"] .temoin-libelle { font-weight: 600; }
.js .temoin-actif .temoin-scene { position: sticky; top: calc(var(--nav) + var(--sous-nav) + 16px); }
.js .temoin-actif .temoin-moment { min-height: 45vh; }
.js .temoin-actif .temoin-moment:not([aria-current="step"]) .temoin-libelle { color: var(--gris); }
.temoin-debriefing { margin-top: clamp(40px, 6vw, 72px); }

/* ------------------------------------------------------------------ proposition imprimable */
.proposition {
  max-width: 794px; margin: 0 auto; padding: 18mm; border: 1px solid var(--filet); border-radius: 6px; background: var(--blanc);
  box-shadow: var(--ombre-douce); color: var(--encre);
}
/* l'en-tête : filet encre, nom de marque gris (l'or reste au logo, aux onglets, aux portes et au second ton) */
.proposition-entete { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 2px solid var(--encre); }
.proposition-entete img { width: 56px; height: 56px; }
.proposition-marque { color: var(--gris); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.proposition-titre { margin-top: 2px; font-size: 26px; letter-spacing: -0.02em; }
.proposition-sous-titre, .proposition-date { margin-top: 2px; color: var(--gris); font-size: 14px; }
.proposition-bloc { margin-top: 22px; }
.proposition-bloc h4 { margin-bottom: 8px; font-size: 16px; letter-spacing: -0.01em; }
.proposition-bloc p, .proposition-bloc li { font-size: 14px; line-height: 1.5; }
.proposition-donnees { margin: 0; padding: 0 0 0 20px; }
.proposition-pied { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--filet); color: var(--gris); font-size: 12.5px; }

/* ------------------------------------------------------------------ pages juridiques, pied de page, 404 */
.juridique { padding: clamp(56px, 8vw, 96px) 0 clamp(84px, 10vw, 128px); }
.juridique h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.05; }
.juridique h2 { margin-top: 44px; font-size: 24px; letter-spacing: -0.02em; }
.juridique p, .juridique li { margin-top: 12px; color: var(--encre); line-height: 1.6; overflow-wrap: anywhere; }   /* e-mails et noms de domaine longs : rien ne sort à 320 px */
.juridique dl { margin: 18px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.juridique dt { color: var(--gris); }
.juridique dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.a-completer { padding: 1px 6px; border-radius: 6px; background: #fbf1d9; color: #6b4a00; }
/* le pied, comme celui d'Apple : fond gris clair, texte gris de 12 px, filets ; l'adage l'ouvre sur toutes les pages, en 28 / 32 px encre
   (la lettre ne le répète pas sous la signature) */
.pied { padding: clamp(36px, 4vw, 48px) 0 clamp(28px, 3vw, 40px); background: var(--perle); color: var(--gris); font-size: 12px; line-height: 1.34; letter-spacing: -0.01em; }
.pied-adage { margin: 0 0 clamp(24px, 3vw, 32px); padding-bottom: clamp(24px, 3vw, 32px); border-bottom: 1px solid var(--filet); color: var(--encre); font: 600 clamp(24px, 2.4vw, 28px)/1.15 var(--titre); letter-spacing: 0.007em; text-wrap: balance; }
.pied-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--filet); }
.pied-colonne h2 { margin-bottom: 10px; color: var(--encre); font: 600 12px/1.34 var(--sans); letter-spacing: -0.01em; }
.pied-colonne ul { margin: 0; padding: 0; list-style: none; }
.pied-colonne li { padding: 4px 0; }
.pied a { color: #424245; text-decoration: none; }
.pied a:hover { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.pied-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 20px; }
.pied-bas img { width: 28px; height: 28px; border-radius: 3px; margin-right: -12px; }
.pied-mention { flex: 1 1 280px; }
.pied-adresse { font-weight: 500; overflow-wrap: anywhere; }
.pied-colonne li.pied-note { color: var(--gris); font-size: 12px; font-style: italic; line-height: 1.5; }
.introuvable { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }

/* ==== scènes (pages de la Simulation) ==== */
/* Hors script, en mouvement réduit, en pause et à l'impression : une scène est une section ordinaire (dessin entier, légendes en liste). */
.scene-cadre { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.scene-art { display: grid; place-items: center; min-width: 0; }
.scene-legendes { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.scene-legende { padding: 22px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--blanc); color: var(--encre); }
.scene-legende-titre { font-size: var(--taille-petit); line-height: 1.2; letter-spacing: -0.015em; }
.scene-legende .tuile-lien { margin-top: 14px; }
.scene-legende .question-source { margin-top: 8px; }
.scene-comment .scene-art { aspect-ratio: 4 / 3; width: 100%; max-width: min(640px, calc((100vh - 200px) * 1.33)); margin: 0 auto; }
.scene-moniteur .scene-art { width: 100%; }
.scene-moniteur .scene-art .moniteur { width: 100%; }
.scene-appel .scene-art .telephone-blanc { width: clamp(200px, 22vw, 280px); }
/* la nuit n'existe que dans cette carte : jamais en fond de page, les légendes gardent leur carte blanche */
.scene-nuit .scene-cadre { position: relative; isolation: isolate; padding-top: 28px; padding-bottom: 28px; border-radius: var(--rayon); }
.scene-nuit-fond { position: absolute; inset: 0; z-index: -1; border-radius: var(--rayon); background: var(--nuit); pointer-events: none; }
.scene-nuit .scene-art .moniteur { position: relative; z-index: 1; }
.fenetre-fondu { will-change: opacity; }
/* repères de prix (« Les forfaits » de la lettre, interrupteur formation_tarifs) */
.tableau-reperes { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.tableau-reperes th, .tableau-reperes td { padding: 16px; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.tableau-reperes thead th { color: var(--gris); font: 600 13px/1.2 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; }
.tableau-reperes tbody th { font-weight: 600; }
.tableau-reperes td { font-variant-numeric: tabular-nums; }
/* sous-navigation, pied, marque */
.sous-nav-progres { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--filet-fort); transform-origin: 0 50%; transform: scaleX(var(--lecture, 0)); pointer-events: none; }
.pause-sous-nav { flex: none; margin-top: 0; min-height: 30px; font-size: 13px; }
.pied-mention-formation { flex: 1 1 100%; max-width: 760px; margin: 0; font-size: 12px; line-height: 1.5; }
.socle { display: block; width: min(100%, 520px); height: 2px; margin: clamp(36px, 5vw, 56px) auto 0; background: var(--filet); transform-origin: 50% 50%; }
.js .socle { transform: scaleX(var(--entree, 1)); }
/* micro-réactions : un geste, jamais un effet */
.tuile-lien-actif { transition: transform var(--duree-courte) var(--courbe); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tuile-lien-actif:hover { transform: translate(0, -4px); }
}

/* ==== la page des sessions et l'accueil : le langage de la page Mac mini d'Apple (refonte du 13 novembre 2026 au soir) ==== */
/* Des parties pleine largeur aux fonds alternés (crème, blanc, gris clair), 80 à 140 px d'air en haut et en bas, 980 px de contenu,
   735 px de texte centré au plus : le titre de la partie en sur-titre, une accroche à deux tons, puis le texte (intro, corps, tuiles). */
.lettre { color: var(--encre); }
.bande { padding: var(--air) 0; text-align: center; }
.bande > .conteneur { max-width: calc(var(--largeur-bande) + 2 * var(--marge)); }
.bande-suite { padding-top: 0; }                 /* la suite d'une partie de même fond : l'air de la précédente suffit */
.bande-creme { background: var(--creme); }
.bande-blanc { background: var(--blanc); }
.bande-perle { background: var(--perle); }
.titre-partie { font: 700 var(--taille-surtitre)/1.17 var(--titre); letter-spacing: 0.009em; color: var(--gris); }
.accroche { margin: 10px auto 0; font: 700 var(--taille-accroche)/1.05 var(--titre); letter-spacing: -0.015em; color: var(--encre); }
.accroche .ligne { display: block; text-wrap: balance; }
/* le second ton (accroches, mot en <em> des titres du logiciel) : un dégradé d'or foncé. Contraste WCAG mesuré du ton le plus clair,
   #9a7444 : 3,97:1 sur crème, 4,24:1 sur blanc, 3,89:1 sur gris clair (3:1 exigé : ces textes font 34 px gras au moins) ; le plus
   foncé, #6b5230 : 6,8:1 ; le repli sans dégradé, #8a6a3e : 4,67, 4,98 et 4,58:1. */
.ton, .titre-hero em, .titre-section em { color: var(--or-fonce); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .ton, .titre-hero em, .titre-section em {
    background: linear-gradient(100deg, #9a7444 0%, #7d5f37 55%, #6b5230 100%); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
  .accroche .ton { width: fit-content; margin-left: auto; margin-right: auto; }
}
.intro { max-width: var(--largeur-texte); margin: clamp(24px, 3vw, 36px) auto 0; font: 600 var(--taille-chapeau)/1.38 var(--titre); letter-spacing: 0.011em; color: var(--gris); }
.corps { max-width: var(--largeur-texte); margin: 16px auto 0; color: var(--gris); font-size: var(--taille-texte); line-height: 1.47; }
.intro + .corps { margin-top: 20px; }
.exergue { max-width: var(--largeur-texte); margin: 0 auto; font: 600 var(--taille-exergue)/1.2 var(--titre); letter-spacing: 0.004em; color: var(--encre); text-wrap: pretty; }
.exergue-fin { margin-top: clamp(56px, 7vw, 96px); }
.lettre em { font-style: italic; }               /* un titre cité dans le texte */
.nb { white-space: nowrap; }                     /* « mot ? » ne se coupe pas : espaces ordinaires, voir typo.espaces_simples */
.bouton .nb { display: contents; }               /* dans une pilule (inline-flex), un seul texte : « Essai gratuit 30 min » garde son espace */

/* le héros des sessions : fond crème, centré ; l'adage à l'échelle du héros, le chapeau en exergue, puis le dessin 1 en grand */
.lettre-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(24px, 4vw, 56px); }
.lettre-surtitre { font: 600 clamp(17px, 1.6vw, 21px)/1.2 var(--titre); letter-spacing: 0.011em; color: var(--gris); }
.lettre-adage { max-width: 980px; margin: 14px auto 0; font: 600 var(--taille-hero)/1.05 var(--titre); letter-spacing: -0.015em; text-wrap: balance; }
.lettre-chapeau { max-width: var(--largeur-texte); margin: clamp(20px, 2.4vw, 32px) auto 0; font: 600 var(--taille-exergue)/1.2 var(--titre); letter-spacing: 0.004em; text-wrap: balance; }
.lettre-rarete { max-width: var(--largeur-texte); margin: 18px auto 0; color: var(--gris); font-size: var(--taille-texte); line-height: 1.47; }
.lettre-action-ligne { margin: 32px 0 0; }
.lettre-ouverture .lettre-salut { font: 600 var(--taille-exergue)/1.2 var(--titre); letter-spacing: 0.004em; color: var(--gris); }
.lettre-ouverture .exergue { margin-top: 6px; }

/* les dessins de Julien, posés dans la page (décoratifs : alt vide, figure aria-hidden) */
.illustration { margin: 0; overflow: hidden; }
.illustration img { width: 100%; }
/* fondu dans le fond (héros, porte de l'accueil) : multiply, bords effacés par deux dégradés croisés, aucun cadre */
.illustration-fondue img {
  height: auto; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 84%, transparent);
  mask-composite: intersect;
}
.illustration-hero { max-width: 1040px; margin: clamp(32px, 5vw, 64px) auto 0; }
.js .illustration-hero img { animation: eclore 0.4s ease-out 0.1s both, poser 1.4s var(--courbe) 0.1s both; }   /* entre à 1,04 puis se pose */
@keyframes poser { from { transform: scale(1.04); } to { transform: none; } }
/* grandes images arrondies (dessins 2 et 3) : de l'échelle 1,08 à 1 pendant la traversée de l'écran (--entree), jamais hors du cadre */
.illustration-grande { position: relative; margin-top: clamp(48px, 6vw, 80px); aspect-ratio: 16 / 9; border-radius: var(--rayon); background: var(--sable-fonce); isolation: isolate; }
.illustration-grande img, .illustration-tuile img { height: 100%; object-fit: cover; }
/* le cadre tracé à la main près des bords, mesuré sur les fichiers : à 6,2 % de la largeur et 5,2 % de la hauteur sur l'arrêt cardiaque
   (dessin 2, la session), à 3,5 % et 4,2 % sur l'accident de la route (dessin 3, là où vous êtes). Agrandis de 16 % et de 10 %, il ne
   se voit jamais dans l'arrondi. Le dessin 3 est en 16:10 et non en 2:1 : à 2:1, la tête de l'homme debout ou le triangle sortent du cadre. */
.illustration-cadree { --recadre: 1.16; }
.illustration-large { aspect-ratio: 16 / 10; --recadre: 1.1; }
.illustration-large img { object-position: 50% 45%; }
.illustration-grande img { transform: scale(var(--recadre, 1)); }
.js .illustration-grande img { transform: scale(calc(var(--recadre, 1) * (1.08 - 0.08 * var(--entree, 1)))); will-change: transform; }
.js .illustration-grande[data-defile] { opacity: 1; }

/* tuiles de même hauteur dans une rangée : blanches sur gris clair ou crème, rayon 28 px */
.tuiles { display: grid; gap: clamp(16px, 1.8vw, 24px); margin-top: clamp(48px, 6vw, 72px); text-align: left; }
.tuiles-1 { max-width: calc(var(--largeur-texte) + 104px); margin-left: auto; margin-right: auto; }   /* 735 px de texte, plus les marges de la tuile */
.tuiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tuiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bande-suite .tuiles:first-child { margin-top: 0; }
.illustration-grande + .tuiles { margin-top: clamp(16px, 1.8vw, 24px); }   /* la grande image et ses tuiles : une seule grille, même gouttière */
.illustration-grande + .corps { margin-top: clamp(32px, 4vw, 48px); }       /* le texte sous la grande image (là où vous êtes) n'est pas une légende */
.tuile-blanche { background: var(--blanc); }
.tuile-large { grid-column: 1 / -1; }
.tuile-titre { font: 600 var(--taille-carte)/1.14 var(--titre); letter-spacing: 0.007em; }
.tuile-texte { margin-top: 14px; color: var(--gris); font-size: var(--taille-texte); line-height: 1.47; }
.tuile-titre + .tuile-texte { margin-top: 12px; }
.tuile-large .tuile-texte { max-width: var(--largeur-texte); }
.tuile-phrase { font: 600 var(--taille-chapeau)/1.38 var(--titre); letter-spacing: 0.011em; color: var(--encre); }
.tuile-recit { padding: clamp(32px, 4vw, 52px); }
.tuile-recit .accroche { margin-top: 8px; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.tuile-recit .accroche .ton { margin-left: 0; }
.tuile-recit .accroche + .tuile-texte { margin-top: 24px; }
.tuile-image { min-height: clamp(300px, 36vw, 420px); padding: 0; background: var(--sable-fonce); }
.tuile-image .illustration { position: absolute; inset: 0; }
.illustration-tuile img { transition: transform 0.6s var(--courbe); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tuile-image:hover .illustration-tuile img { transform: scale(1.02); }
}

/* le questionnaire : deux volets en cartes arrondies, un « + » dans un rond qui tourne en croix à l'ouverture */
.lettre-volets { display: grid; gap: 16px; max-width: calc(var(--largeur-texte) + 56px); margin: clamp(40px, 5vw, 64px) auto 0; text-align: left; }
.lettre-volet { border-radius: 22px; background: var(--perle); }
.lettre-volet > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 18px 22px 18px 28px; border-radius: 22px;
  font: 600 clamp(19px, 1.7vw, 21px)/1.3 var(--titre); letter-spacing: 0.011em; cursor: pointer; list-style: none;
}
.lettre-volet > summary::-webkit-details-marker { display: none; }
.lettre-volet > summary::after {
  content: "+"; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blanc);
  box-shadow: inset 0 0 0 1px var(--filet); color: var(--encre); font: 400 24px/1 var(--sans); transition: transform var(--duree-courte) var(--courbe);
}
.lettre-questions { margin: 0; padding: 0 28px 4px calc(28px + 1.3em); }
.lettre-questions li { padding: 4px 0 4px 4px; }
.lettre-questions li::marker { color: var(--gris); }
.lettre-volet .lettre-action-ligne { margin: 12px 0 0; padding: 0 28px 28px; }
.lettre-action {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 22px; border-radius: var(--pilule); background: var(--blanc);
  box-shadow: inset 0 0 0 1px var(--filet); color: var(--encre); font: 400 16px/1.2 var(--sans); text-decoration: none;
  transition: box-shadow var(--duree-courte) ease;
}
.lettre-action:hover { box-shadow: inset 0 0 0 1px var(--filet-fort); }
.lettre-forfaits .tableau-defile, .lettre-forfaits .note { max-width: var(--largeur-texte); margin-left: auto; margin-right: auto; text-align: left; }
.lettre-forfaits .tableau-defile { margin-top: clamp(32px, 4vw, 48px); }
.lettre-lien, .lettre-signataire a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.lettre-note { max-width: var(--largeur-texte); margin: 16px auto 0; color: var(--gris); font-size: var(--taille-note); overflow-wrap: anywhere; }
.lettre-signature { margin-top: clamp(56px, 7vw, 88px); font-size: 19px; line-height: 1.5; }
.lettre-signataire { margin-top: 14px; font-style: normal; overflow-wrap: anywhere; }
.lettre-nom { font-weight: 600; }

/* ==== l'accueil : héros crème, puis deux grandes tuiles de même forme, une par porte (le visuel en bas) ==== */
.accueil { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.accueil-adage { margin-top: clamp(10px, 1.4vw, 18px); }    /* l'adage, en accroche à deux tons sous le nom */
.portes-bande { padding-top: clamp(12px, 1.6vw, 20px); }
.portes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); text-align: center; }
.porte-accueil {
  display: flex; flex-direction: column; align-items: center; min-height: 520px; padding: clamp(40px, 4.4vw, 56px) clamp(24px, 3vw, 40px) 0;
  border-radius: var(--rayon); background: var(--perle); overflow: hidden;
}
.porte-sans-visuel { justify-content: center; padding-bottom: clamp(40px, 4.4vw, 56px); }
.porte-titre { font: 600 var(--taille-carte)/1.14 var(--titre); letter-spacing: 0.007em; text-wrap: balance; }
.porte-texte { max-width: 420px; margin-top: 14px; color: var(--gris); font-size: var(--taille-texte); line-height: 1.47; }
.porte-actions { margin-top: 26px; }
/* les deux portes : les seuls boutons beiges du site avec les onglets */
.bouton-porte { background: var(--or-pastel); color: var(--bouton-encre); }
.bouton-porte:hover { background: var(--or-pastel-survol); }
.bouton-porte:active { background: var(--or-pastel-appui); }
.porte-lien { margin-top: 14px; }
.porte-visuel { width: 100%; margin-top: auto; padding-top: clamp(32px, 4vw, 48px); }
/* titre, phrase, pilule et visuel à la même hauteur dans les deux tuiles (sous-grille), quelle que soit la longueur des phrases */
@supports (grid-template-rows: subgrid) {
  .porte-accueil { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; justify-items: center; align-items: start; min-height: 0; }
  .porte-visuel { align-self: end; }
  .porte-sans-visuel { display: flex; flex-direction: column; align-items: center; justify-content: center; }   /* dessins non publiés : ni trou ni vide */
}
.porte-visuel .illustration-porte { max-width: 420px; margin: 0 auto; }
.porte-visuel .moniteur { max-width: 420px; margin: 0 auto clamp(32px, 4vw, 48px); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16); }

/* ------------------------------------------------------------------ petits écrans */
@media (max-width: 980px) {
  .grille-3, .grille-4 { grid-template-columns: repeat(2, 1fr); }
  .grille-3 > .colonne-prix { grid-column: auto; }
  .prix-colonnes { grid-template-columns: repeat(2, 1fr); }
  .prix-colonnes > .colonne-prix:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .colonne-prix { max-width: 520px; width: 100%; margin: 0 auto; }
  .schema-donnees { grid-template-columns: 1fr; gap: 46px; }
  .schema-zone + .schema-zone::before { left: 50%; top: -38px; width: 2px; height: 30px; }
  .js .schema-zone + .schema-zone::before { transform: scaleY(0); transform-origin: 50% 0; }
  .js .schema-zone + .schema-zone.visible::before { transform: scaleY(1); }
  .temoin { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sous-nav-espace { display: none; }                      /* l'espace formateur reste dans le pied de page : la liste gagne la place */
  .sous-nav .bouton { flex: none; white-space: nowrap; }
  .tuiles-3 { grid-template-columns: minmax(0, 1fr); }      /* tablette : les tuiles de texte l'une sous l'autre, pleine largeur */
}
@media (max-width: 760px) {
  /* téléphone : le logo et la langue sur la première ligne, les deux pilules de même largeur dessous (texte sur deux lignes au besoin) */
  :root { --marge: 16px; --nav: 106px; --rayon: 22px; }
  .nav .conteneur { flex-wrap: wrap; align-content: center; gap: 6px 18px; }
  .marque { width: 36px; height: 36px; }
  .langue { margin-left: auto; }
  .nav nav { order: 3; width: 100%; margin: 0; }
  .onglets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .onglets a { min-height: 44px; padding: 5px 12px; font-size: 13px; }
  .sous-nav .conteneur { gap: 14px; }
  .sous-nav-titre { display: none; }
  .sous-nav-liens { margin: 0; flex: 1 1 auto; min-width: 0; }
  .hero-court .titre-hero { font-size: min(44px, 10.4vw); }   /* « supraventriculaire » tient dans la colonne de 288 px à 320 px, sans césure */
  .juridique dl { grid-template-columns: 1fr; gap: 2px 0; }   /* libellé au-dessus de la valeur : rien ne sort de l'écran */
  .juridique dt { margin-top: 14px; font-size: 14px; }
  .juridique dd { padding-left: 12px; }
  .grille-2, .grille-3, .grille-4, .duo, .prix-colonnes { grid-template-columns: 1fr; }
  .duo.inverse .duo-visuel { order: 0; }
  .clavier-touches { grid-template-columns: repeat(2, 1fr); }
  .frise { padding-left: 58px; }
  .frise-repere { left: -58px; width: 38px; height: 38px; font-size: 19px; }
  .frise::before, .frise::after { left: 18px; }
  .temoin-scene { padding: 12px; gap: 10px 12px; }
  .temoin-telephone .telephone-blanc { width: 110px; }
  .js .temoin-actif .temoin-scene { z-index: 5; }
  .temoin-sous-titre { min-height: 44px; font-size: 16px; }
  .proposition { padding: 22px 18px; }
  .pied-colonnes { grid-template-columns: 1fr; }
  .tableau-compris { min-width: 520px; }
  /* scènes */
  .scene-cadre { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .scene-comment .scene-art { width: min(86vw, 44vh); max-width: 100%; }
  .pause-sous-nav { display: none; }
  /* sessions et accueil : une tuile par ligne, l'image du matériel en 4:3, les volets plus serrés */
  .tuiles-2, .portes { grid-template-columns: minmax(0, 1fr); }
  .porte-accueil { min-height: 0; }
  .tuile-image { min-height: 0; aspect-ratio: 4 / 3; }
  .lettre-volet > summary { min-height: 64px; padding: 16px 16px 16px 20px; }
  .lettre-questions { padding: 0 20px 4px calc(20px + 1.3em); }
  .lettre-volet .lettre-action-ligne { padding: 0 20px 22px; }
}
@media (max-width: 420px) {
  .temoin-telephone { display: none; }
  .temoin-scene { grid-template-columns: 1fr; }
  /* les pilules des portes de l'accueil : une ligne jusqu'à 360 px, une coupure équilibrée en dessous */
  .bouton-porte { padding-left: 16px; padding-right: 16px; font-size: 16px; text-wrap: balance; }
}

/* ==== mouvement : scènes ==== */
/* Tout ce qui cache ou décale n'existe que sous .js .scene-active (classe posée par scenes.js seulement s'il anime) : sans script,
   en mouvement réduit, en pause ou à l'impression, la scène reste la section ordinaire du bloc précédent. Le texte n'est jamais
   piloté par une variable (--p, --q, --entree, --sortie) : il change par étape, en 0,3 s. */
.scene { --pas-scene: 70vh; }

/* scène épinglée */
.js .scene-active .scene-piste { height: calc(100vh + var(--etapes) * var(--pas-scene)); height: calc(100svh + var(--etapes) * var(--pas-scene)); }
.js .scene-active .scene-cadre { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); height: calc(100svh - var(--nav)); }
.js .sous-nav ~ main .scene-active .scene-cadre { top: calc(var(--nav) + var(--sous-nav)); height: calc(100vh - var(--nav) - var(--sous-nav)); height: calc(100svh - var(--nav) - var(--sous-nav)); }
.js .scene-active .scene-legende { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity 0.3s ease-out; }
.js .scene-active .scene-legende[aria-current="step"], .js .scene-active .scene-legende:focus-within { opacity: 1; pointer-events: auto; }
.js .scene-active [data-pour-etape] { opacity: 0; transition: opacity 0.4s ease-out; }
.js .scene-active[data-etape="1"] [data-pour-etape~="1"], .js .scene-active[data-etape="2"] [data-pour-etape~="2"],
.js .scene-active[data-etape="3"] [data-pour-etape~="3"], .js .scene-active[data-etape="4"] [data-pour-etape~="4"],
.js .scene-active[data-etape="5"] [data-pour-etape~="5"], .js .scene-active[data-etape="6"] [data-pour-etape~="6"],
.js .scene-active[data-etape="7"] [data-pour-etape~="7"], .js .scene-active[data-etape="8"] [data-pour-etape~="8"] { opacity: 1; }

/* élément à fenêtre : --q pose un tracé ou un fondu (décor seulement) */
.js .scene-active [data-fenetre][pathLength] { stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - 1000 * var(--q, 0)); }
.js .scene-active .fenetre-fondu { opacity: var(--q, 0); }

/* appui et entrée du héros figée en pause */
.tuile-lien-actif:active { transform: scale(0.98); }
a.touche-appel:active { transform: scale(0.96); background: var(--or-pastel-appui); }
html.animations-en-pause .hero .apparition { animation: none; opacity: 1; transform: none; }

@media (max-width: 760px) {
  .scene { --pas-scene: 55vh; }
  .js .scene-active .scene-cadre { align-content: start; justify-items: center; gap: 14px; padding-top: 10px; }
  .js .scene-active .scene-art { width: min(86vw, 44vh); width: min(86vw, 44svh, calc(100svh - var(--nav) - var(--sous-nav) - 270px)); }   /* 375 × 667 : la légende la plus haute (224 px) tient sous l'art */
  .js .scene-active .scene-legendes { width: 100%; }
  /* le téléphone épinglé tient dans la place libre du cadre, légende comprise (corrections, D3) */
  .js .scene-appel.scene-active .scene-art .telephone-blanc { width: min(200px, calc((100svh - var(--nav) - var(--sous-nav) - 270px) * 9 / 19)); }
}

/* ------------------------------------------------------------------ animations en pause */
html.animations-en-pause *, html.animations-en-pause *::before, html.animations-en-pause *::after { animation-play-state: paused !important; }

/* ------------------------------------------------------------------ mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-revele] { opacity: 1; transform: none; }
  .js [data-defile], .js [data-defile] .interieur { opacity: 1; transform: none; }
  .js .illustration-grande img { transform: scale(var(--recadre, 1)); }      /* posée, recadrée, immobile */
  .js .frise[data-frise="defilement"]::after { transform: none; }
  .js .temoin-actif .temoin-moment { min-height: 0; }
  .js .schema-zone + .schema-zone::before, .js .schema-zone + .schema-zone.visible::before { transform: none; }
  .js .scene-active .scene-piste { height: auto; }
  .js .scene-active .scene-cadre, .js .sous-nav ~ main .scene-active .scene-cadre { position: static; height: auto; }
  .js .scene-active .scene-legende { grid-area: auto; opacity: 1; pointer-events: auto; }
  .js .scene-active [data-fenetre], .js .scene-active [data-fenetre][pathLength] { stroke-dashoffset: 0; opacity: 1; transform: none; fill-opacity: 1; }
  .js .scene-active [data-pour-etape] { opacity: 1; }
}

/* ------------------------------------------------------------------ impression */
@media print {
  @page { size: A4; margin: 16mm; }
  html, body { background: #fff; color: var(--encre); }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .nav, .sous-nav, .evitement, .bouton, button, .pause-animations, .pied-colonnes, .pied-bas > *:not(.pied-mention):not(.pied-mention-formation), .illustration, .tuile-image { display: none !important; }
  /* le second ton s'imprime en encre (le dégradé est un fond, que l'impression ne garde pas) ; les parties sans fond ni grand air */
  .ton, .titre-hero em, .titre-section em { background: none; color: var(--encre); -webkit-text-fill-color: currentColor; }
  .bande, .lettre-hero, .accueil { padding: 18px 0; background: none; }
  .tuile, .porte-accueil { min-height: 0; break-inside: avoid; box-shadow: inset 0 0 0 1px var(--filet); }
  .js .scene-active .scene-piste { height: auto; }
  .js .scene-active .scene-cadre, .js .sous-nav ~ main .scene-active .scene-cadre { position: static; height: auto; }
  .js .scene-active .scene-legende { grid-area: auto; opacity: 1; pointer-events: auto; }
  .js .scene-active [data-fenetre], .js .scene-active [data-fenetre][pathLength] { stroke-dashoffset: 0; opacity: 1; transform: none; fill-opacity: 1; }
  .js .scene-active [data-pour-etape] { opacity: 1; }
  .scene-cadre { grid-template-columns: minmax(0, 1fr); }
  .scene-legende { break-inside: avoid; }
  .lettre-volet { break-inside: avoid; }
  .lettre-action-ligne { display: none; }                  /* les volets s'ouvrent (site.js) ; l'adresse est dans la signature */
  .pied { background: #fff; padding: 12px 0 0; }
  .pied-mention, .pied-mention-formation { display: block !important; }
  .js [data-revele], .js [data-defile], .js [data-defile] .interieur { opacity: 1; transform: none; }
  .section { padding: 24px 0; }
  .adresse-contact { display: block !important; color: var(--encre); }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: var(--gris); }
  html[data-page="etablissements"] body > *:not(main) { display: none !important; }
  html[data-page="etablissements"] main > section:not(#proposition) { display: none !important; }
  html[data-page="etablissements"] #proposition { padding: 0; background: #fff; }
  html[data-page="etablissements"] #proposition .conteneur { max-width: none; padding: 0; }
  html[data-page="etablissements"] #proposition .conteneur > *:not(#proposition-document):not(.proposition):not(:has(#proposition-document)) { display: none !important; }
  #proposition-document { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; color: #000; }
  #proposition-document .proposition-bloc { break-inside: avoid; }
  #proposition-document .proposition-entete img { display: block; }
  #proposition-document .proposition-pied { color: #000; }
  .proposition-mention { display: block !important; }
}

/* ------------------------------------------------------------------ couleurs imposées (contraste élevé du système) : le second ton redevient du texte plein */
@media (forced-colors: active) {
  .ton, .titre-hero em, .titre-section em { background: none; -webkit-text-fill-color: currentColor; }
}
