/* Le site d'accueil : la palette et les polices de l'aide (`aide/style.css`),
   sans aucune requête vers un autre domaine. Les couleurs ne s'écrivent
   qu'ici, en variables ; l'essai `__tests__/site-accueil.test.ts` y veille. */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("polices/Fraunces_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("polices/InstrumentSans_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("polices/InstrumentSans_600SemiBold.ttf") format("truetype"); }

:root {
  --fond: #f6f1e7;
  --surface: #ece5d6;
  --texte: #2a241c;
  --texte-secondaire: #4a4236;
  --texte-discret: #6b6152;
  --filet: #d9cfbc;
  --accent: #a3402a;
  /* Le rouille de l'app, gardé pour la bannière d'essai. */
  --rouille: #8a3b1c;
  --sur-accent: #ffffff;
  /* Le corps du téléphone, sombre dans les deux thèmes. */
  --corps: #1b1712;
  /* Le hero garde son aplat rouille et son texte crème en sombre aussi. */
  /* Le hero couleur encre : la vidéo, rouille, s'y détache. */
  --hero-fond: #2a241c;
  --hero-texte: #f6f1e7;
  /* La hauteur de l'en-tête collé en haut : 48 px de cible, 8 px de marge, le filet. */
  --haut-barre: 65px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #16120d;
    --surface: #221c14;
    --texte: #f2ece0;
    --texte-secondaire: #d8cfbd;
    --texte-discret: #b3a894;
    --filet: #3a3227;
    --accent: #e08a5f;
    --sur-accent: #1a140e;
    --corps: #3a332b;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--accent); text-underline-offset: 3px; }
::selection { background: var(--filet); color: var(--texte); }
.hero ::selection { background: var(--hero-texte); color: var(--hero-fond); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 5.5vw, 42px); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
p { margin: 0; text-wrap: pretty; }

.largeur { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.evitement {
  position: absolute; left: 12px; top: -100px; z-index: 20;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px;
  background: var(--fond); border-radius: 8px;
}
.evitement:focus { top: 8px; }

/* L'en-tête : le nom, puis Prix, Questions et Aide. Il reste en haut
   pendant le défilement, sur toute la largeur. */
.barre { position: sticky; top: 0; z-index: 10; background: var(--fond); border-bottom: 1px solid var(--filet); }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.marque {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 26px;
  color: var(--texte); text-decoration: none;
}
/* Le logo de l'app, la bulle et son anneau (assets/identite/06-bulle-anneau.svg). */
/* Dessiné pour 36 px : anneau épaissi et micro agrandi, sinon illisibles. */
.marque svg { width: 36px; height: 36px; flex: none; }
.logo-anneau { fill: none; stroke: var(--accent); stroke-width: 44; stroke-linecap: round; }
.logo-disque { fill: var(--accent); }
.logo-micro { fill: var(--fond); }
.logo-trait { fill: none; stroke: var(--fond); stroke-width: 22; stroke-linecap: round; }
.navigation { display: flex; flex-wrap: wrap; margin-right: -12px; }
.navigation a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  color: var(--texte-secondaire); font-weight: 600; text-decoration: none;
}
.navigation a:hover { color: var(--accent); }
/* Sur téléphone, la barre tient sur une ligne : elle reste collée en haut. */
@media (max-width: 480px) {
  .entete { gap: 4px 8px; }
  .marque { font-size: 22px; gap: 8px; }
  .marque svg { width: 32px; height: 32px; }
  .navigation { margin-right: -8px; }
  .navigation a { padding: 0 8px; font-size: 16px; }
  .navigation .sur-grand-ecran { display: none; }
}

/* Le hero : un aplat encre uni, texte crème, dans les deux thèmes. Le texte
   à gauche, centré en hauteur face à la vidéo, calée à droite. */
.hero { background: var(--hero-fond); color: var(--hero-texte); }
.hero .largeur {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 40px 48px; padding-top: 40px; padding-bottom: 44px;
}
.hero-texte { flex: 1 1 340px; max-width: 600px; display: flex; flex-direction: column; gap: 22px; }
.surtitre { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -0.02em; }
.accroche { max-width: 30em; font-size: clamp(18px, 2vw, 22px); }

.installer { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bouton-play { display: inline-flex; border-radius: 10px; transition: transform 0.2s ease-out; }
/* Le badge officiel de Google Play, le même que celui de la bannière d'essai.
   L'image a une marge transparente (29 px sur 250, en haut et en bas) : on la
   rogne pour que le badge visible fasse 60 px, la hauteur de « Comment ça marche ». */
.bouton-play img { display: block; width: auto; height: 78px; margin: -9px 0; }
.bouton-play:hover { transform: translateY(-2px); }
.bouton-play:focus-visible { outline-color: var(--hero-texte); }
.installer { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
/* « Comment ça marche » : un bouton à contour, de la hauteur du bouton Google Play. */
.vers-parcours {
  display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 24px;
  border: 2px solid var(--hero-texte); border-radius: 12px;
  color: var(--hero-texte); font-weight: 600; font-size: 18px; text-decoration: none;
}
.vers-parcours::after { content: "↓"; font-size: 18px; transition: transform 0.2s ease-out; }
.vers-parcours:hover { background: var(--hero-texte); color: var(--hero-fond); }
.vers-parcours:hover::after { transform: translateY(3px); }
.vers-parcours:focus-visible { outline: 3px solid var(--hero-texte); outline-offset: 3px; }
.hero figure { flex: 0 1 260px; margin: 0 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero figcaption { font-size: 15px; text-align: center; max-width: 240px; }
/* Sur téléphone, le haut de la page se lit en trois diapositives qui
   tiennent chacune l'écran : la promesse, la vidéo, puis « Pensé pour… »
   (/site/navigation.js passe de l'une à l'autre d'un geste). */
@media (max-width: 600px) {
  .hero .largeur { padding-top: 0; padding-bottom: 0; gap: 0; }
  .hero-texte {
    min-height: calc(100svh - var(--haut-barre)); justify-content: center;
    padding: 24px 0; gap: 22px;
  }
  .hero h1 { font-size: clamp(40px, 12vw, 50px); }
  .accroche { font-size: 20px; }
  /* La vidéo tient entre l'en-tête et la barre Google Play du bas (environ 72 px). */
  .hero figure { flex: 1 1 100%; min-height: calc(100svh - var(--haut-barre)); justify-content: center; padding: 16px 0 104px; }
  .hero .telephone { max-width: none; width: min(72vw, calc((100svh - var(--haut-barre) - 120px) / 2)); border-width: 8px; border-radius: 30px; }
  /* Les deux boutons, de même taille, alignés sur le texte. */
  .installer { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 12px; }
  .bouton-play img { height: 85px; margin: -11px 0; }
  .vers-parcours { width: 220px; min-height: 63px; padding: 0 12px; font-size: 17px; white-space: nowrap; }
  .bouton-play, .vers-parcours { justify-content: center; text-align: center; }
  .bouton-play { align-items: center; }
}
/* L'entrée d'une diapositive : la vidéo grandit un peu, les cartes montent. */
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .js .hero .telephone { opacity: 0; transform: scale(0.96); transition: opacity 0.25s ease-out, transform 0.25s ease-out; }
  .js .hero figure.actif .telephone { opacity: 1; transform: none; }
  .pour-qui li.apparait:nth-child(2) { transition-delay: 0.08s; }
  .pour-qui li.apparait:nth-child(3) { transition-delay: 0.16s; }
  .pour-qui li.apparait:nth-child(4) { transition-delay: 0.24s; }
}

/* Une capture de l'app dans un cadre de téléphone (outils/captures-de-l-accueil.mjs). */
.telephone {
  width: 100%; max-width: 260px; overflow: hidden;
  border: 10px solid var(--corps); border-radius: 36px; background: var(--surface);
}
.telephone video { display: block; width: 100%; height: auto; }

/* Les sections du corps. */
.section { padding-top: 72px; padding-bottom: 72px; scroll-margin-top: 8px; }
.section > h2 { margin-bottom: 32px; }
.section > h2:has(+ .chapeau) { margin-bottom: 12px; }
.chapeau { max-width: 640px; margin-bottom: 36px; color: var(--texte-secondaire); font-size: 18px; }

/* Dicter en trois temps. */
.temps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 32px; }
.temps li { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--filet); padding-top: 18px; }
.chiffre { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 48px; line-height: 1; color: var(--accent); }
.temps p { color: var(--texte-secondaire); }

/* Ce que devient la dictée : une mosaïque. Deux grandes tuiles, la synthèse
   et les tâches, avec un extrait de l'app composé en texte ; quatre petites. */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tuile { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 24px; background: var(--surface); }
.tuile h3 { font-size: 21px; }
.tuile > p { color: var(--texte-secondaire); font-size: 16px; }
.tuile.grande { grid-column: span 2; padding: 28px; }
.tuile.grande h3 { font-size: clamp(22px, 2.6vw, 26px); }
.apercu {
  margin: 12px 0 0; padding: 18px 20px; border-radius: 16px; background: var(--fond);
  border: 1px solid var(--filet); font-size: 15px; color: var(--texte);
}
.apercu-titre { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 17px; }
.apercu-titre + ul { margin: 4px 0 12px; }
.apercu ul { padding-left: 18px; }
.apercu ul:last-child { margin-bottom: 0; }
.apercu-taches { list-style: none; padding: 8px 20px; }
.apercu-taches li { display: flex; align-items: center; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--filet); }
.apercu-taches li:last-child { border-bottom: 0; }
.case { flex: none; width: 18px; height: 18px; border: 2px solid var(--accent); border-radius: 5px; position: relative; }
.case.cochee { background: var(--accent); }
.case.cochee::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px;
  border: solid var(--sur-accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.echeance { margin-left: auto; padding: 2px 10px; border-radius: 99px; background: var(--surface); color: var(--texte-secondaire); font-size: 13px; white-space: nowrap; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tuile.grande { grid-column: span 1; } }

/* Aucune dictée perdue : un bandeau sur la surface. */
.bandeau { background: var(--surface); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.bandeau .section { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: center; }
.attente-texte { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.attente-texte p { max-width: 520px; color: var(--texte-secondaire); }
.file { flex: 1 1 320px; max-width: 460px; background: var(--fond); border: 1px solid var(--filet); border-radius: 16px; padding: 6px 0; }
.file-titre { padding: 10px 20px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-discret); }
.file div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 14px 20px; border-top: 1px solid var(--filet); }
.file strong { font-size: 15px; color: var(--accent); }
.duree { color: var(--texte-discret); font-size: 15px; }

/* Vos notes restent sur votre téléphone : le texte à gauche, le schéma à droite. */
.confiance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 64px; }
.confiance-texte { flex: 1 1 380px; max-width: 600px; display: flex; flex-direction: column; gap: 16px; }
.confiance-texte h2 { margin-bottom: 8px; }
.confiance-texte > p { font-size: 19px; color: var(--texte-secondaire); }
.garanties { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--texte-secondaire); }
.garanties li { position: relative; padding-left: 30px; }
.garanties li::before {
  content: ""; position: absolute; left: 2px; top: 0.3em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.lien-fort { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.lien-fort:hover { text-decoration-thickness: 2px; }
.illustration { flex: 1 1 300px; max-width: 440px; margin: 0; padding: clamp(16px, 4vw, 28px); border-radius: 28px; background: var(--surface); }
.illustration svg { display: block; width: 100%; height: auto; }
.ill-corps { fill: var(--corps); }
.ill-ecran { fill: var(--fond); }
.ill-titre { fill: var(--texte-discret); }
.ill-ligne { fill: var(--filet); }
.ill-accent { fill: var(--accent); }
.ill-cadenas { fill: var(--sur-accent); }
.ill-anse { fill: none; stroke: var(--sur-accent); stroke-width: 5; stroke-linecap: round; }
.ill-trait { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.ill-lien { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }

/* Prix : ce qui se paie, l'essai offert, puis une carte par palier. */
.offre-essai {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; padding: 20px 24px;
  border-radius: 20px; background: var(--accent); color: var(--sur-accent);
}
.offre-essai strong { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(22px, 3vw, 26px); line-height: 1.2; }
.offre-essai span { font-size: 16px; }
/* L'essai est un appel à l'action : toute la bande mène à la fiche Google Play. */
a.offre-essai { position: relative; padding-right: 64px; text-decoration: none; }
a.offre-essai::after {
  content: "→" / ""; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 600; transition: transform 0.2s ease-out;
}
a.offre-essai:hover::after { transform: translate(4px, -50%); }
a.offre-essai:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.paliers {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px;
}
.paliers li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0 0; border-top: 2px solid var(--texte); }
.paliers p { color: var(--texte-secondaire); }
.prix-mois { margin-top: 6px; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 40px; line-height: 1.1; color: var(--texte); font-variant-numeric: tabular-nums; }
.prix-mois span { font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 400; font-size: 16px; color: var(--texte-discret); }
.paliers .minutes { font-weight: 600; color: var(--texte); }
/* Pro, mis en avant : un cadre à l'accent et une pastille. */
.paliers .mis-en-avant { position: relative; border-top-color: var(--accent); }
.pastille {
  position: absolute; top: -13px; left: 22px; padding: 2px 12px; border-radius: 99px;
  background: var(--accent); font-size: 14px; font-weight: 600;
}
.paliers .pastille { color: var(--sur-accent); }

/* Questions fréquentes : des volets natifs, ouverts au clavier. */
.colonne > h2 { margin-bottom: 32px; }
.questions { border-top: 1px solid var(--filet); }
.questions details { border-bottom: 1px solid var(--filet); }
.questions summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 14px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 18px;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary:hover { color: var(--accent); }
.questions summary::after { content: "+"; flex: none; color: var(--accent); font-size: 26px; line-height: 1; }
.questions details[open] summary::after { content: "−"; }
.questions details p { margin: 0 0 20px; max-width: 760px; color: var(--texte-secondaire); }

/* Le pied de page : la marque à gauche, puis trois colonnes titrées (pour
   qui, vos données, informations légales), et une ligne de bas de page. */
.pied { background: var(--surface); border-top: 1px solid var(--filet); }
.pied-colonnes {
  display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px;
  padding-top: 48px; padding-bottom: 32px;
}
.pied-marque { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pied-marque .marque { min-height: 48px; }
.pied-marque p { color: var(--texte-secondaire); font-size: 15px; }
.pied-play { display: inline-flex; margin-left: -6px; }
.pied-play img { display: block; height: 48px; width: auto; }
.pied-groupe h2 {
  margin-bottom: 8px; font-family: "Instrument Sans", system-ui, sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-discret);
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied-groupe a { display: inline-flex; align-items: center; min-height: 40px; color: var(--texte-secondaire); text-decoration: none; }
.pied-groupe a:hover { color: var(--accent); text-decoration: underline; }
/* Le filet du bas s'arrête aux marges du contenu, comme les colonnes. */
.pied-bas {
  padding-top: 16px; padding-bottom: 28px; color: var(--texte-discret); font-size: 14px;
  background: linear-gradient(var(--filet), var(--filet)) no-repeat 20px 0 / calc(100% - 40px) 1px;
}
/* Sur tablette et téléphone : la marque en haut, « Pour qui » à gauche, les
   deux autres groupes l'un sous l'autre à droite. */
@media (max-width: 900px) {
  .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "marque marque" "qui donnees" "qui legal"; }
  .pied-marque { grid-area: marque; }
  .pied-groupe:nth-of-type(1) { grid-area: qui; }
  .pied-groupe:nth-of-type(2) { grid-area: donnees; }
  .pied-groupe:nth-of-type(3) { grid-area: legal; }
}
@media (max-width: 480px) {
  .pied-colonnes { gap: 24px 16px; padding-top: 36px; }
  .pied-groupe a { min-height: 44px; font-size: 15px; }
}
/* Un lien dans une réponse : la zone qu'on touche s'agrandit sans décaler le texte. */
.questions details p a { padding: 14px 0; }

/* Les pages légales : une colonne de lecture, de 360 px au grand écran.
   Mentions légales et conditions de vente (accueil/) ; confidentialité et
   suppression du compte (servies par le relais, qui charge cette feuille). */
.legal { max-width: 720px; padding-top: 40px; padding-bottom: 72px; overflow-wrap: break-word; }
.legal h1 { font-size: clamp(34px, 6vw, 46px); letter-spacing: -0.01em; }
.legal h1 + p, .legal .date { margin-top: 12px; }
.legal h2 { font-size: clamp(22px, 4vw, 26px); margin: 44px 0 12px; scroll-margin-top: 16px; }
.legal h2.partie { font-size: clamp(26px, 5vw, 32px); margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--filet); }
.legal h3 { font-size: 20px; margin: 32px 0 8px; scroll-margin-top: 16px; }
.legal p, .legal ul, .legal ol { margin: 0 0 12px; color: var(--texte-secondaire); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--texte); }
.legal .discret, .legal .date { color: var(--texte-discret); font-size: 16px; }
.legal a { text-decoration-thickness: 1px; }
.legal a:hover { text-decoration-thickness: 2px; }
.legal dl { margin: 0; border-top: 1px solid var(--filet); }
.legal dl div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.legal dt { flex: 0 0 180px; font-weight: 600; }
.legal dd { flex: 1 1 260px; margin: 0; color: var(--texte-secondaire); }
.legal dd a, .legal p a { padding: 14px 0; }
.legal code { font-size: 0.95em; overflow-wrap: anywhere; }
/* Le sommaire d'une longue page : un encadré discret, des liens qu'on touche. */
.legal .sommaire { margin: 28px 0 8px; padding: 16px 20px; background: var(--surface); border-radius: 12px; }
.legal .sommaire h2 { font-family: "Instrument Sans", system-ui, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--texte-discret); margin: 0 0 6px; }
.legal .sommaire ol { margin: 0; padding-left: 22px; }
.legal .sommaire ol ol { list-style: none; padding-left: 12px; }
.legal .sommaire li + li { margin-top: 0; }
@media (min-width: 601px) { .legal .sommaire > ol:not(:has(ol)) { columns: 2; column-gap: 32px; } .legal .sommaire li { break-inside: avoid; } }
.legal .sommaire a { display: inline-block; padding: 10px 0; min-height: 44px; text-decoration: none; }
.legal .sommaire a:hover { text-decoration: underline; }
/* « En bref » : le résumé en tête d'une longue page. */
.legal .encart { margin: 24px 0; padding: 4px 20px 12px; background: var(--surface); border-radius: 12px; }
.legal .encart h2 { margin-top: 20px; }
.legal .encart li + li { margin-top: 12px; }
/* Les tableaux : des lignes sur grand écran, des fiches sur téléphone. */
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 16px; line-height: 1.45; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--filet); color: var(--texte-secondaire); }
.legal th { font-weight: 600; color: var(--texte-discret); font-size: 15px; }
.legal td:first-child { color: var(--texte); }
@media (max-width: 600px) {
  .legal { padding-top: 28px; }
  .legal dt { flex-basis: 100%; }
  .legal thead { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal tr { padding: 12px 0; border-bottom: 1px solid var(--filet); }
  .legal td { border: 0; padding: 2px 0; }
  .legal td:first-child { font-weight: 600; margin-bottom: 4px; }
  .legal td[data-titre]:not(:first-child)::before { content: attr(data-titre) " : "; color: var(--texte-discret); }
}

/* Le menu : sur téléphone, un bouton à trois traits ouvre un panneau latéral
   (/site/navigation.js), avec les sections et le bouton Google Play. Sans
   script, l'en-tête garde ses liens. */
.burger { display: none; }
.menu { display: none; }
@media (max-width: 720px) {
  .js .navigation { display: none; }
  .js .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; margin-right: -8px; padding: 0 12px;
    background: none; border: 0; border-radius: 8px; cursor: pointer;
  }
  .burger span { display: block; height: 2px; border-radius: 2px; background: var(--texte); }
  .burger:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
}
.menu[open] {
  display: flex; flex-direction: column; gap: 24px;
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(84vw, 340px); height: 100%; max-height: none;
  padding: 12px 20px 32px; border: 0; border-left: 1px solid var(--filet);
  background: var(--fond); color: var(--texte);
  animation: menu-entre 0.22s ease-out;
}
.menu::backdrop { background: var(--corps); opacity: 0.55; }
@keyframes menu-entre { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .menu[open] { animation: none; } }
.menu-tete { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--filet); }
.menu-nom { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; }
.menu-fermer {
  width: 48px; height: 48px; margin-right: -12px; border: 0; border-radius: 8px; background: none;
  color: var(--texte); font-size: 32px; line-height: 1; cursor: pointer;
}
.menu-fermer:focus-visible { outline: 3px solid var(--accent); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--filet);
  color: var(--texte); font-size: 20px; font-weight: 600; text-decoration: none;
}
.menu li a:hover { color: var(--accent); }

/* Le badge officiel de Google Play dans le menu, rogné de sa marge transparente. */
.menu-play { align-self: flex-start; border-radius: 10px; }
.menu-play img { display: block; width: auto; height: 73px; margin: -8.5px 0; }
.menu-play:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Le bouton Google Play sur fond clair : l'accent plein. */
.bouton-action {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 60px; padding: 8px 28px; border-radius: 12px;
  background: var(--accent); color: var(--sur-accent); text-decoration: none; line-height: 1.2; text-align: center;
}
.bouton-action span:first-child { font-size: 13px; }
.bouton-action span:last-child { font-size: 20px; font-weight: 600; }
.bouton-action:hover { box-shadow: inset 0 0 0 2px var(--sur-accent); }

/* La bannière d'essai, en bas de l'écran une fois le hero passé. */
.barre-play { display: none; }
.js .barre-play .lien-play { max-width: 720px; margin: 0 auto; }
.js .barre-play {
  display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: var(--rouille); box-shadow: 0 -10px 30px -14px var(--corps);
  transform: translateY(110%); transition: transform 0.25s ease-out;
}
.js .barre-play.visible { transform: none; }
.js body:has(.barre-play) .pied { padding-bottom: 100px; }
@media (prefers-reduced-motion: reduce) { .js .barre-play { transition: none; } }

/* Les blocs qui apparaissent un à un pendant le défilement (/site/navigation.js). */
.apparait { opacity: 0; transform: translateY(12px); transition: opacity 0.25s ease-out, transform 0.25s ease-out; }
.apparait.vu { opacity: 1; transform: none; }

/* Pensé pour… : quatre cartes qui mènent chacune à sa page. */
.pour-qui {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px;
}
.pour-qui a {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px;
  border-radius: 20px; background: var(--surface); color: var(--texte); text-decoration: none;
  border: 1px solid transparent;
}
.pour-qui a::after { content: "→" / ""; margin-top: auto; color: var(--accent); font-size: 22px; font-weight: 600; transition: transform 0.2s ease-out; }
.pour-qui a:hover { border-color: var(--accent); }
.pour-qui a:hover::after { transform: translateX(4px); }
.pour-qui h3 { font-size: 21px; }
.pour-qui p { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.4; }
/* La carte : le problème, puis ce que Timbre y change, bien contrastés. */
.pour-qui .probleme { position: relative; padding-left: 26px; padding-right: 28px; font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 400; font-size: 17px; line-height: 1.4; color: var(--texte-secondaire); }
.pour-qui .probleme::before { content: "✕" / ""; position: absolute; left: 2px; color: var(--texte-discret); }
.pour-qui .solution { color: var(--accent); font-weight: 600; font-size: 17px; }
.pour-qui .solution::before { content: "✓" / ""; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
/* Sur tablette et ordinateur : deux cartes par rangée, puis quatre de front.
   Toutes ont la même hauteur, et la sous-grille aligne d'une carte à l'autre
   le problème, la solution sous son filet et la flèche en bas à droite. */
@media (min-width: 601px) {
  .pour-qui { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .pour-qui li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .pour-qui a {
    grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0;
    padding: 28px 28px 20px; border-radius: 20px;
    transition: border-color 0.2s ease-out, transform 0.2s ease-out;
  }
  /* Deux lignes au moins : les deux rangées de cartes gardent la même hauteur. */
  .pour-qui .probleme { align-self: start; min-height: calc(2 * 1.4em); padding-right: 0; font-size: 18px; line-height: 1.4; }
  .pour-qui .solution {
    align-self: start; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--filet);
    font-size: 17px; line-height: 1.4; min-height: calc(2 * 1.4em + 18px + 1px);
  }
  .pour-qui a::after {
    grid-row: 3; justify-self: end; align-self: end; display: grid; place-items: center;
    width: 44px; height: 44px; margin: 20px -8px 0 0; border-radius: 50%;
    border: 1.5px solid var(--filet); font-size: 20px; line-height: 1;
    transition: transform 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
  }
  .pour-qui a:hover { transform: translateY(-3px); }
  .pour-qui a:hover::after { transform: translateX(3px); background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
}
@media (min-width: 1100px) {
  .pour-qui { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pour-qui a { padding: 26px 24px 20px; }
  .pour-qui .probleme { font-size: 17px; }
}
@media (min-width: 601px) and (prefers-reduced-motion: reduce) {
  .pour-qui a, .pour-qui a::after { transition: none; }
  .pour-qui a:hover { transform: none; }
}

/* La dictée en vrac, telle qu'on la dit. */
.dictee {
  margin: 12px 0 0; padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0;
  background: var(--fond); font-size: 17px; color: var(--texte);
}
.dictee p + p { margin-top: 10px; }
.heure { display: block; font-size: 14px; font-weight: 600; color: var(--texte-discret); }

/* Les pages « Pour qui » : une colonne de lecture, la photo d'une situation. */
.persona { max-width: 760px; padding-top: 32px; padding-bottom: 72px; }
.persona .fil, .legal .fil { margin-bottom: 8px; }
.persona h1 { font-size: clamp(36px, 7vw, 54px); line-height: 1.06; letter-spacing: -0.02em; }
.photo { margin: 28px 0 8px; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; background: var(--surface); }
.photo figcaption { margin-top: 6px; font-size: 14px; color: var(--texte-discret); }
.photo figcaption a { color: var(--texte-discret); }
.persona > h2 { font-size: clamp(26px, 4.5vw, 32px); margin: 48px 0 14px; }
.persona > p { margin-bottom: 14px; color: var(--texte-secondaire); font-size: 18px; }
.persona > p strong { color: var(--texte); }
.persona > .apercu { margin: 4px 0 18px; background: var(--surface); }
.persona > .apercu .echeance { background: var(--fond); }
.persona > .dictee { margin: 4px 0 18px; background: var(--surface); }
.persona .preuve-page { font-weight: 600; color: var(--texte); }
.persona .preuve-page small { display: block; font-weight: 400; font-size: 14px; color: var(--texte-discret); }
.conseils { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 14px; color: var(--texte-secondaire); font-size: 18px; }
.conseils li { padding-left: 18px; border-left: 3px solid var(--filet); }
.conseils strong { display: block; color: var(--texte); }
.persona > p a { padding: 14px 0; font-weight: 600; }
.appel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 40px; padding: 28px; border-radius: 24px; background: var(--surface); }
.appel p { color: var(--texte-discret); font-size: 15px; }
.autres { margin-top: 48px; }
.autres h2 { font-size: 24px; margin-bottom: 8px; }
.autres ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.autres a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--filet); font-weight: 600; }
.avertissement { margin-top: 40px; font-size: 13px; color: var(--texte-discret); }
/* Une liste de tâches dans un aperçu : l'aperçu donne déjà la marge. */
.apercu .apercu-taches { margin: 0; padding: 0; }
.apercu .apercu-taches + .apercu-titre { margin-top: 12px; }

/* Sur téléphone, « Pensé pour… » tient un écran, barre Google Play comprise,
   et le remplit : des cartes aérées, la flèche à droite. Après les règles des
   cartes, qu'il remplace. */
@media (max-width: 600px) {
  #pour-qui {
    min-height: calc(100svh - var(--haut-barre)); display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(8px, 2.3svh, 20px); padding-bottom: 100px; scroll-margin-top: 0;
  }
  /* Tout suit la hauteur de l'écran : la section tient d'un petit
     téléphone (667 px) à un grand (930 px). */
  #pour-qui > h2 { margin-bottom: clamp(20px, 4.2svh, 40px); font-size: clamp(22px, 3.3svh, 28px); }
  .pour-qui { gap: clamp(6px, 1.4svh, 12px); }
  .pour-qui a { position: relative; gap: clamp(4px, 0.9svh, 8px); padding: clamp(10px, 2.1svh, 18px) 20px; border-radius: 18px; }
  /* La flèche se met à droite du problème. */
  .pour-qui a::after { position: absolute; right: 18px; top: clamp(8px, 2svh, 16px); margin: 0; }
  .pour-qui a:hover::after { transform: translateX(4px); }
  .pour-qui .probleme, .pour-qui .solution { font-size: clamp(15px, 2.1svh, 17px); }
}

/* Le fil d'Ariane des pages « Pour qui ». */
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 15px; }
.fil li { display: flex; align-items: center; gap: 8px; color: var(--texte-discret); }
.fil li + li::before { content: "›" / ""; color: var(--texte-discret); }
.fil a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
/* Les téléphones bas (moins de 760 px) ou étroits (moins de 370 px) : un peu moins d’air, pour tenir l’écran. */
@media (max-width: 600px) and (max-height: 760px), (max-width: 370px) {
  #pour-qui > h2 { margin-bottom: 14px; }
  .pour-qui a { padding-top: 9px; padding-bottom: 9px; gap: 3px; }
  .pour-qui .probleme, .pour-qui .solution { font-size: 14.5px; line-height: 1.35; }
}

/* De la pensée à la note : la démonstration de l'app, et ses étapes en
   sous-titres (/site/videos.js). Sur bureau, toutes les étapes se lisent à
   côté, celle en cours en avant ; on en touche une pour y aller. */
.demonstration { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.demonstration .telephone { flex: 0 0 auto; width: 260px; }
.demo-etapes { flex: 1 1 320px; max-width: 520px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.demo-etapes button {
  display: flex; align-items: baseline; gap: 14px; width: 100%; min-height: 56px; padding: 12px 16px;
  border: 0; border-radius: 14px; background: none; cursor: pointer; text-align: left;
  font: inherit; font-size: 18px; color: var(--texte-secondaire);
}
.demo-etapes .numero { flex: none; min-width: 1.1em; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; color: var(--accent); }
.demo-etapes button:hover { color: var(--texte); }
.demo-etapes button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.demo-etapes li.actif button { background: var(--surface); color: var(--texte); font-weight: 600; }

/* Sur téléphone, la démonstration est une diapositive qui tient l'écran :
   le titre, la vidéo, et sous elle le seul sous-titre en cours. */
@media (max-width: 600px) {
  #parcours {
    min-height: calc(100svh - var(--haut-barre)); display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(8px, 2svh, 20px); padding-bottom: 100px; scroll-margin-top: 0;
  }
  #parcours > h2 { margin-bottom: clamp(12px, 2.4svh, 22px); font-size: clamp(22px, 3.3svh, 28px); }
  .demonstration { flex-direction: column; flex-wrap: nowrap; gap: clamp(10px, 1.8svh, 16px); }
  .demonstration .telephone { width: min(60vw, 26svh); border-width: 7px; border-radius: 26px; }
  .demo-etapes { flex: none; width: 100%; }
  .demo-etapes button { justify-content: center; text-align: center; min-height: 48px; padding: 8px 12px; font-size: clamp(15px, 2.1svh, 17px); }
}

/* La barre d'étapes de la démonstration : un segment par étape, qui se
   remplit pendant qu'elle se joue. */
.demo-progression { display: flex; gap: 6px; width: 100%; max-width: 520px; }
.demo-progression span { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--filet); overflow: hidden; }
.demo-progression span::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform-origin: left; transform: scaleX(var(--rempli, 0));
}
.demonstration { row-gap: 20px; }
@media (min-width: 601px) {
  .demonstration { display: grid; grid-template-columns: auto minmax(0, 520px); grid-template-areas: "video etapes" "video barre"; column-gap: 80px; align-items: center; align-content: center; justify-content: center; }
  .demonstration .telephone { grid-area: video; }
  .demo-etapes { grid-area: etapes; align-self: end; }
  /* Sur bureau, la barre seule, sous la liste : les flèches ne servent qu'au carrousel. */
  .js .demo-commandes { display: flex; grid-area: barre; align-self: start; padding: 0 16px; }
  .demo-commandes button { display: none; }
}
/* Sur téléphone, le sous-titre glisse d'une étape à l'autre. */
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
}

/* Sur téléphone, les diapositives ne défilent pas d'elles-mêmes au doigt :
   /site/navigation.js mène de l'une à l'autre (le zoom reste permis). Le
   sous-titre qui glisse reste dans sa zone, sans élargir la page. */
@media (max-width: 600px) {
  .js .hero, .js #pour-qui { touch-action: pinch-zoom; }
  /* La démonstration garde le glissé de côté, pour son carrousel. */
  .js #parcours { touch-action: pinch-zoom; }
  .js .demo-etapes { touch-action: pan-x pinch-zoom; }
}

/* Sur téléphone, les étapes de la démonstration sont un carrousel : une
   étape par écran, qu'on fait glisser de côté ou qu'on change avec les
   flèches ; la vidéo suit (/site/videos.js). */
.demo-commandes { display: none; }
@media (max-width: 600px) {
  .demo-etapes {
    flex-direction: row; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .demo-etapes::-webkit-scrollbar { display: none; }
  .demo-etapes li { flex: 0 0 100%; scroll-snap-align: center; }
  .demo-etapes button { min-height: 3.2em; background: none; }
  .demo-etapes li.actif button { background: none; }
  .js .demo-commandes { display: flex; align-items: center; gap: 8px; width: 100%; }
  .demo-commandes .demo-progression { flex: 1; }
  .demo-commandes button {
    flex: none; width: 48px; height: 48px; border: 1px solid var(--filet); border-radius: 50%;
    background: var(--surface); color: var(--accent); font-size: 22px; line-height: 1; cursor: pointer;
  }
  .demo-commandes button:disabled { opacity: 0.4; cursor: default; }
  .demo-commandes button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
}
/* La démonstration sur un téléphone bas : un cadre plus petit, pour tenir l'écran. */
@media (max-width: 600px) and (max-height: 760px) {
  .demonstration .telephone { width: min(55vw, 22.5svh); }
  .demonstration { gap: 8px; }
  .demo-etapes button { min-height: 2.9em; }
}

/* Ranger, retrouver, garder : les fonctions de l'app, en trois verbes.
   Chaque fonction est une petite tuile : une icône au trait, son nom, trois
   ou quatre mots. Sur ordinateur, trois colonnes ; sur téléphone, les trois
   groupes empilés tiennent un écran, deux tuiles par rang. */
.verbes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.verbe { display: flex; flex-direction: column; gap: 14px; }
.verbe h3 {
  font-family: "Instrument Sans", system-ui, sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.fonctions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fonctions li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--filet); }
.fonctions p { display: flex; flex-direction: column; gap: 2px; }
.fonctions strong { font-size: 17px; color: var(--texte); }
.fonctions span { font-size: 15px; color: var(--texte-secondaire); }
.icone {
  flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--surface);
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.confiance-texte > p + p { font-size: 17px; }
@media (max-width: 900px) { .verbes { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  #fonctions {
    min-height: calc(100svh - var(--haut-barre)); display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(8px, 2svh, 20px); padding-bottom: 100px;
  }
  #fonctions > h2 { margin-bottom: clamp(14px, 2.6svh, 24px); font-size: clamp(24px, 3.4svh, 30px); }
  #fonctions .chapeau { display: none; }
  .verbes { gap: clamp(12px, 2.2svh, 20px); }
  .verbe { gap: 8px; }
  .verbe h3 { font-size: 12px; }
  /* Trois tuiles par rang : l'icône en haut, le nom, quelques mots. */
  .fonctions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  /* Un rang de deux fonctions prend toute la largeur, sans trou. */
  .fonctions:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fonctions li { flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(8px, 1.4svh, 12px) 0 0; }
  .icone { width: 30px; height: 30px; padding: 5px; border-radius: 9px; }
  .fonctions strong { font-size: 14px; line-height: 1.2; }
  .fonctions span { font-size: 12.5px; line-height: 1.3; }
}
/* Sur un téléphone bas, l'icône et le nom suffisent. */
@media (max-width: 600px) and (max-height: 760px) {
  .fonctions span { display: none; }
  .fonctions li { padding: 8px 0 0; }
}

/* Sur téléphone, « Aucune dictée perdue » et « Vos notes restent sur votre
   téléphone » sont aussi des diapositives qui tiennent l'écran. */
@media (max-width: 600px) {
  .bandeau { min-height: calc(100svh - var(--haut-barre)); display: flex; align-items: center; }
  .bandeau .section { width: 100%; padding-top: 24px; padding-bottom: 96px; gap: 24px; }
  .confiance {
    min-height: calc(100svh - var(--haut-barre)); align-content: center;
    padding-top: 24px; padding-bottom: 96px;
  }
  /* Le schéma reste, réduit : le téléphone qui garde les notes. */
  .confiance { gap: clamp(16px, 3svh, 32px); }
  .confiance .illustration { flex: none; width: min(100%, 34svh); margin: 0 auto; padding: 14px; border-radius: 22px; }
  .js #fonctions, .js .bandeau, .js .confiance { touch-action: pinch-zoom; }
}
/* Les téléphones bas : l'attente se resserre pour tenir l'écran. */
@media (max-width: 600px) and (max-height: 760px) {
  .bandeau .section { padding-top: 12px; padding-bottom: 88px; gap: 16px; }
  .attente-texte { gap: 10px; }
  .attente-texte p { font-size: 15px; }
  .file div { padding-top: 9px; padding-bottom: 9px; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .file-titre { display: none; }
  .file div:first-of-type { border-top: 0; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .confiance .illustration { width: min(100%, 25svh); padding: 10px; }
}

/* Sur téléphone, les prix tiennent un écran : la phrase, l'essai, puis trois
   cartes compactes (le nom et les minutes à gauche, le prix à droite, l'usage
   dessous). C'est la dernière diapositive. */
@media (max-width: 600px) {
  #prix {
    min-height: calc(100svh - var(--haut-barre)); display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(8px, 2svh, 20px); padding-bottom: 100px; scroll-margin-top: 0;
  }
  #prix > h2 { margin-bottom: 8px; font-size: clamp(26px, 3.6svh, 32px); }
  #prix .chapeau { margin-bottom: clamp(12px, 2.2svh, 20px); font-size: clamp(14px, 1.9svh, 16px); }
  .offre-essai { margin-bottom: clamp(16px, 2.6svh, 24px); padding: clamp(12px, 1.8svh, 16px) 20px; border-radius: 16px; }
  .offre-essai strong { font-size: clamp(19px, 2.6svh, 22px); }
  .offre-essai span { font-size: 14px; }
  .paliers { gap: clamp(14px, 2svh, 18px); }
  .paliers li {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "nom prix" "minutes prix" "usage usage";
    align-items: center; gap: 0 12px; padding: clamp(8px, 1.4svh, 12px) 0 0;
  }

  .paliers h3 { grid-area: nom; font-size: 19px; }
  .paliers .minutes { grid-area: minutes; font-size: 15px; }
  .paliers .prix-mois { grid-area: prix; margin: 0; font-size: clamp(26px, 3.6svh, 32px); text-align: right; }
  .paliers .prix-mois span { display: block; font-size: 13px; }
  .paliers li > p:last-child { grid-area: usage; margin-top: 4px; font-size: 14px; }
  .pastille { top: -11px; left: 14px; font-size: 12.5px; }
  .js #prix { touch-action: pinch-zoom; }
}
@media (max-width: 600px) and (max-height: 760px) {
  #prix .chapeau { display: none; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .paliers .usage span { display: none; }
}

/* Chaque palier est incarné par un usage type : qui, puis combien il dicte.
   Aucun n'est mis en avant. */
.paliers .usage { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--filet); font-size: 15px; }
.paliers .usage strong { display: block; margin-bottom: 2px; color: var(--texte); font-size: 16px; }
@media (max-width: 600px) {
  .paliers li > p.usage { grid-area: usage; margin-top: 6px; padding-top: 6px; font-size: 13.5px; line-height: 1.35; }
  .paliers .usage strong { display: inline; margin: 0; font-size: 14.5px; }
  .paliers .usage span { display: block; }
  .paliers { gap: 10px; }
}
/* L'appel à l'essai tient en deux lignes sur téléphone. */
@media (max-width: 600px) {
  .offre-essai strong { font-size: 19px; }
  .offre-essai { gap: 2px; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .offre-essai { margin-bottom: 12px; }
  .paliers li { padding-top: 8px; padding-bottom: 8px; }
  .paliers .prix-mois { font-size: 24px; }
}

/* La barre du bas : « Testez l'application gratuitement », et le badge
   officiel de Google Play, tel que Google le fournit, sur le fond de la page. */
.lien-play {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;
  color: var(--texte); font-size: 14px; line-height: 1.3; text-decoration: none;
}
.lien-play strong { display: block; color: var(--hero-texte); font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(19px, 2.6vw, 26px); line-height: 1.2; }
/* Badge visible de 56 px : l'image rognée de sa marge transparente. */
.lien-play img { flex: none; display: block; width: auto; height: 73px; margin: -8.5px 0; }
.lien-play:focus-visible { outline: 3px solid var(--hero-texte); outline-offset: 3px; border-radius: 8px; }
@media (max-width: 400px) { .lien-play img { height: 60px; margin: -7px 0; } }

/* L'essai, après les paliers : le titre et le badge Google Play, qui y mène. */
a.offre-essai {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin: 32px 0 0; padding: 18px 20px 18px 28px; border: 2px solid var(--accent); border-radius: 20px;
  background: var(--surface); color: var(--texte); text-decoration: none;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
a.offre-essai::after { content: none; }
/* L'appel à l'essai : un cadre à l'accent sur la surface, visible sans crier. */
a.offre-essai strong { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.15; }
a.offre-essai img { flex: none; display: block; width: auto; height: 56px; }
a.offre-essai:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -16px var(--corps); }
a.offre-essai:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { a.offre-essai { transition: none; } a.offre-essai:hover { transform: none; } }
@media (max-width: 600px) {
  a.offre-essai { margin-top: clamp(14px, 2svh, 20px); margin-bottom: 0; padding: 10px 8px 10px 18px; border-radius: 16px; }
  a.offre-essai { flex-wrap: nowrap; }
  a.offre-essai strong { font-size: 17px; line-height: 1.2; }
  a.offre-essai img { height: 46px; margin-right: -4px; }
}

/* Les points de navigation (/site/navigation.js) : sur téléphone, de simples
   points dans la marge de gauche, sans capsule, qui ne touchent pas le
   contenu. Crème sur l'aplat rouille du hero, gris ailleurs ; celui en cours
   s'allonge. Bien visibles pendant un geste, ils s'estompent au repos.
   La zone tactile (20 × 40 px) reste invisible. */
.points { display: none; }
@media (max-width: 600px) {
  .js .points {
    position: fixed; left: 0; top: 50%; z-index: 9; transform: translateY(-50%);
    display: flex; flex-direction: column;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease-out;
  }
  .js .points.visible { opacity: 1; pointer-events: auto; }
  .js .points.visible.repos { opacity: 0.3; transition-duration: 0.6s; }
  .points button { position: relative; width: 20px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
  .points button::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 3px;
    transform: translate(-50%, -50%); background: var(--texte-discret); transition: height 0.2s ease-out, background 0.2s ease-out;
  }
  .points button[aria-current]::after { height: 16px; background: var(--accent); }
  .points.sur-rouille button::after { background: var(--hero-texte); opacity: 0.6; }
  .points.sur-rouille button[aria-current]::after { opacity: 1; }
  .points button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 8px; }
}

/* Sur téléphone : une marge gauche plus large que la droite, pour laisser
   voir la colonne de points de navigation à côté de chaque section. */
@media (max-width: 600px) {
  .largeur { padding-left: 32px; padding-right: 20px; }
}

/* Les prix sur téléphone : un palier par bloc aéré, le prix en grand. */
@media (max-width: 600px) {
  .paliers { gap: clamp(14px, 2.4svh, 22px); }
  .paliers li {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "nom prix" "minutes prix" "usage usage";
    align-items: end; gap: 2px 12px; padding: 12px 0 0;
  }
  .paliers h3 { grid-area: nom; font-size: 22px; }
  .paliers .minutes { grid-area: minutes; font-size: 16px; }
  .paliers .prix-mois { grid-area: prix; align-self: center; margin: 0; font-size: 38px; text-align: right; }
  .paliers .prix-mois span { display: block; font-size: 14px; }
  .paliers li > p.usage { grid-area: usage; margin-top: 8px; padding-top: 8px; font-size: 15px; line-height: 1.4; }
  .paliers .usage strong { display: block; font-size: 16px; }
  .paliers .usage span { display: block; }
}
@media (max-width: 600px) and (max-height: 760px) {
  .paliers .prix-mois { font-size: 32px; }
  .paliers .usage span { display: none; }
}

/* La bannière d'essai sur téléphone : deux lignes au plus. */
@media (max-width: 600px) {
  .lien-play strong { font-size: 16px; }
  .lien-play img { height: 62px; margin: -7px 0; }
}

/* Le hero sur téléphone, composition éditoriale alignée à droite : l'anneau
   du logo sort du bord gauche en haut (au-dessus de la colonne de points), le
   titre et le sous-titre au milieu de l'écran, les deux boutons, de même
   taille, centrés en bas. Le surtitre disparaît : le titre dit déjà
   « à la voix » et le badge Google Play dit Android. */
@media (max-width: 600px) {
  .hero { overflow: clip; }
  .hero .largeur { position: relative; }
  .hero-texte { position: relative; justify-content: flex-start; align-items: flex-end; gap: 0; padding: 28px 0 32px; text-align: right; }
  .hero-texte::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    top: -36px; left: -120px; width: 180px; aspect-ratio: 1;
    border-radius: 50%; border: 18px solid var(--accent);
    -webkit-mask: conic-gradient(transparent 0 62deg, var(--corps) 62deg); mask: conic-gradient(transparent 0 62deg, var(--corps) 62deg);
    opacity: 0.9;
  }
  .hero-texte > * { position: relative; z-index: 1; }
  .surtitre { display: none; }
  .hero h1 { margin-top: auto; font-size: clamp(46px, 14vw, 58px); line-height: 0.98; letter-spacing: -0.025em; }
  .accroche {
    align-self: stretch; margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--accent);
    font-size: 18px; line-height: 1.5; text-align: right; opacity: 0.9;
  }
  .installer { flex-direction: column; align-items: stretch; align-self: center; width: 220px; gap: 12px; margin-top: auto; }
  /* Le badge prend toute la largeur, rogné de sa marge transparente (29/646) ;
     « Comment ça marche » reprend la proportion du badge visible. */
  .bouton-play img { width: 100%; height: auto; margin: -4.49% 0; }
  .vers-parcours { width: 100%; min-height: 0; aspect-ratio: 646 / 192; padding: 0 12px; font-size: 17px; }
}
@media (max-width: 600px) and (max-height: 760px) {
  .hero-texte::before { width: 150px; border-width: 15px; top: -44px; left: -102px; }
  .hero h1 { font-size: clamp(42px, 12.6vw, 52px); }
  .accroche { margin-top: 16px; padding-top: 14px; font-size: 17px; }
  .installer { width: 210px; gap: 10px; }
}

/* Les prix sur téléphone : le titre en grand, la phrase justifiée, et chaque
   forfait dans son propre bloc, pour bien voir qu'il y en a trois. */
@media (max-width: 600px) {
  #prix { justify-content: flex-start; padding-top: clamp(20px, 4svh, 36px); }
  #prix > h2 { margin-bottom: 12px; font-size: 40px; }
  #prix .chapeau { margin-bottom: clamp(16px, 2.8svh, 24px); text-align: justify; }
  .paliers { gap: 12px; }
  .paliers li { padding: 14px 16px; border-top: none; border-left: 4px solid var(--accent); border-radius: 4px 14px 14px 4px; background: var(--surface); }
  .paliers li > p.usage { border-top-color: var(--filet); }
}

/* Le choix de langue « FR | EN » : la langue de la page en pastille rouille, l'autre en lien. */
.langues { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; padding: 3px; border: 1px solid var(--filet); border-radius: 999px; }
.navigation .langues a, .langues > a, .langues > span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 40px; padding: 0 10px;
  border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--texte-secondaire); text-decoration: none;
}
.langues > a:hover { color: var(--accent); background: var(--surface); }
.langues > .langue-active { font-weight: 800; color: var(--sur-accent); background: var(--accent); }
.menu li.menu-langues { padding: 14px 0; border-bottom: 1px solid var(--filet); }
.menu li.menu-langues .langues { margin-left: 0; }
.menu li.menu-langues a { min-height: 44px; border-bottom: 0; font-size: 16px; }
