/*
 * Site vitrine. Un seul monde, le sombre en verre de l'app : fond graphite, deux halos,
 * surfaces en verre. La page s'ouvre sur ce que fait Djok : la lecture d'une activité,
 * seconde par seconde, par une tête de lecture orange.
 */

:root {
  /* Les flux et les zones du thème sombre de l'app */
  --s-puissance: #b265d8;
  --s-fc: #ff5252;
  --z1: #26a69a;
  --z2: #8bc34a;
  --z4: #fb8c00;
  --ok: #81c784;
}

body.site {
  overflow-x: hidden;
}

body.site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--halos);
  pointer-events: none;
}

.s-dans {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ── Barre de navigation ──────────────────────────────────────────────── */
.s-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--filet);
  background: var(--bandeau);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  backdrop-filter: saturate(150%) blur(20px);
}

.s-nav .s-dans {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
}

.mot {
  font-size: 24px;
}

.s-nav nav {
  display: flex;
  gap: 2px;
  margin-left: 26px;
}

.s-nav nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gris);
}

.s-nav nav a:hover {
  color: var(--encre);
}

.s-nav nav a .ico {
  width: 13px;
  height: 13px;
}

.s-nav .droite {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.s-nav .langue {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gris);
}

.s-nav .langue:hover {
  color: var(--encre);
}

/* ── Ouverture ────────────────────────────────────────────────────────── */
.hero {
  padding: 60px 0 0;
}

.annonce {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 13px 0 11px;
  border-radius: 999px;
  border: 1px solid var(--filet);
  background: var(--creux);
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
}

.annonce i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(129, 199, 132, 0.18);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(42px, 6.3vw, 92px);
  font-stretch: 121%;
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 0.97;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}

.hero-bas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  margin-top: 30px;
}

.hero-chapo {
  max-width: 54ch;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
  color: var(--gris);
}

.hero-chapo strong {
  font-weight: 600;
  color: var(--encre);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bouton.grand {
  height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 16px;
}

/* ── La lecture : une activité sous la tête de lecture ────────────────── */
.lecture {
  margin-top: 52px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--ombre-haute);
}

.lecture-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 16px 22px 0;
}

.lecture-tete .quoi {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.lecture-tete .quoi span {
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 11px;
  font-weight: 400;
  color: var(--gris);
}

.cles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
  color: var(--gris);
}

.cles span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cles i {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--c);
}

.cles i.pointille {
  height: 0;
  border-top: 2px dashed var(--chevron);
  background: none;
}

.trace {
  position: relative;
  height: 330px;
  margin-top: 6px;
}

.trace canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font-size: 0; /* le texte de repli ne se voit qu'où le canvas n'existe pas */
}

/* Les annotations : ce que Djok lit, posé sur la courbe. */
.note {
  position: absolute;
  display: grid;
  gap: 1px;
  padding: 8px 12px 9px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 29, 34, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.note strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.note strong i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c, var(--gris));
}

.note span {
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 10.5px;
  color: var(--gris);
}

.tete-de-lecture {
  position: absolute;
  top: 10px;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 90, 45, 0.75);
  pointer-events: none;
}

.tete-de-lecture b {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -2px);
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--plein-texte);
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.deductions {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid var(--filet);
}

.deductions > * {
  padding: 16px 22px;
}

.deductions > * + * {
  border-left: 1px solid var(--filet);
}

.deductions .titre-deduction {
  display: flex;
  align-items: center;
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tertiaire);
}

.deduction {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deduction div {
  display: grid;
  min-width: 0;
}

.deduction span {
  font-size: 12px;
  color: var(--gris);
}

.deduction strong {
  font-size: 14.5px;
  line-height: 1.3;
}

.legende-lecture {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--tertiaire);
}

/* ── Appareils compatibles ────────────────────────────────────────────── */
.compat {
  margin-top: 64px;
  padding: 26px 0;
  border-block: 1px solid var(--filet);
}

.compat .s-dans {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 36px;
}

.compat p {
  font-size: 13.5px;
  color: var(--tertiaire);
}

.compat ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compat li {
  font-family: var(--f-titre);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gris);
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.s-section {
  padding: 104px 0 0;
}

.s-titre {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px 56px;
  align-items: end;
  margin-bottom: 40px;
}

.s-titre h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.5vw, 50px);
  font-stretch: 118%;
}

.s-titre > p {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gris);
}

/* Une journée : quatre moments le long de la règle des heures. */
.moments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 14px;
}

.moments .regle {
  grid-column: 1 / -1;
}

.moment {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 26px;
  padding: 20px 20px 18px;
}

/* Le repère de l'heure sur la règle. */
.moment::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -39px;
  width: 2px;
  height: 26px;
  background: var(--accent);
}

.moment .heure {
  position: absolute;
  left: 30px;
  top: -24px;
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 10.5px;
  color: var(--gris);
}

.moment-tete {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
}

.moment h3 {
  margin-top: 16px;
  font-family: var(--f-titre);
  font-stretch: 110%;
  font-weight: 720;
  font-size: 20px;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.moment > p {
  margin: 8px 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gris);
}

.moment .visuel {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--r-tuile);
  background: var(--creux);
  box-shadow: inset 0 0 0 1px var(--filet);
}

/* La variabilité cardiaque dans la plage habituelle. */
.plage {
  position: relative;
  height: 34px;
}

.plage .piste {
  position: absolute;
  left: 0;
  right: 0;
  top: 13px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.plage .habituelle {
  position: absolute;
  top: 9px;
  height: 16px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--d-recuperation) 55%, transparent);
  background: color-mix(in srgb, var(--d-recuperation) 16%, transparent);
}

.plage .point {
  position: absolute;
  top: 10px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--d-recuperation);
  box-shadow: 0 0 0 3px #12161a;
}

.echelle {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 9.5px;
  color: var(--tertiaire);
}

.visuel .lu {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--gris);
}

.visuel .lu b {
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 15px;
  font-weight: 600;
  color: var(--encre);
}

.visuel .jauge {
  padding: 8px 0;
}

.jauge .cible {
  grid-column: 1 / -1;
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 9.5px;
  color: var(--tertiaire);
}

.mot-visuel {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--d-recuperation);
}

.visuel .jauge:first-child {
  border-top: 0;
  padding-top: 0;
}

.visuel .jauge:last-child {
  padding-bottom: 2px;
}

/* Le profil d'une séance : une barre par bloc, hauteur = intensité. */
.profil {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 58px;
}

.profil i {
  flex: var(--d, 1);
  min-width: 0;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: var(--c);
}

.verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--filet);
  font-size: 13.5px;
  font-weight: 700;
}

.verdict span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
}

.verdict .ico {
  width: 14px;
  height: 14px;
}

.record {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  font-size: 12.5px;
  color: var(--gris);
}

.record b {
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 15px;
  font-weight: 600;
  color: var(--encre);
}

/* ── L'application : le téléphone et quatre tuiles ────────────────────── */
.appli {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.telephone {
  position: relative;
  width: 320px;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(160deg, #2c343c, #171c21 45%, #20262c);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(255, 90, 45, 0.1);
}

.telephone .ecran {
  position: relative;
  padding: 44px 13px 18px;
  border-radius: 38px;
  background: var(--halos), var(--fond);
  overflow: hidden;
}

.telephone .ilot {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 24px;
  margin-left: -46px;
  border-radius: 999px;
  background: #000;
}

.telephone .jour {
  margin: 0 3px 10px;
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
}

.mini {
  margin-bottom: 8px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--filet);
  background: var(--carte-fond);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.mini:last-child {
  margin-bottom: 0;
}

.mini-tete {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.mini-tete .pastille {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.mini-tete .pastille .ico {
  width: 12px;
  height: 12px;
}

.mini-tete strong {
  flex: 1;
  font-size: 12px;
}

.mini-tete span:last-child {
  font-size: 10px;
  color: var(--gris);
}

.mini .temp {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.mini .temp b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mini .temp span {
  font-size: 10px;
  color: var(--gris);
}

.frise {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 124px;
  height: 30px;
}

.frise i {
  flex: 1;
  height: var(--h);
  border-radius: 1px 1px 0 0;
  background: #bbd9f2;
}

.frise i.fort {
  background: #5fa8e8;
}

.tuiles3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.tuiles3 div {
  padding: 6px 8px;
  border-radius: 9px;
  background: var(--tuile);
}

.tuiles3 span {
  display: block;
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}

.tuiles3 b {
  font-size: 12px;
}

.stats3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.stats3 b {
  display: block;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

.stats3 span {
  font-size: 9.5px;
  color: var(--gris);
}

.mini .profil {
  height: 44px;
}

.mini .sous {
  display: flex;
  gap: 12px;
  margin-top: 7px;
  font-size: 10px;
  color: var(--gris);
}

.tuiles-app {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tuile-app {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.tuile-app h3 {
  margin-top: 16px;
  font-family: var(--f-titre);
  font-stretch: 110%;
  font-weight: 720;
  font-size: 20px;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.tuile-app > p {
  margin: 8px 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gris);
}

.tuile-app .visuel {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--r-tuile);
  background: var(--creux);
  box-shadow: inset 0 0 0 1px var(--filet);
}

/* Où part la charge : une barre empilée, chaque part nommée. */
.empile {
  display: flex;
  gap: 2px;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
}

.empile i {
  flex: var(--p);
  background: var(--c);
}

.parts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--gris);
}

.parts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.parts i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c);
}

.parts b {
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 11px;
  font-weight: 600;
  color: var(--encre);
}

.bulle {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
}

.bulle.moi {
  margin-left: auto;
  background: var(--accent-doux);
  box-shadow: inset 0 0 0 1px var(--accent-filet);
  color: var(--encre);
}

.bulle.coach {
  margin-top: 6px;
  background: var(--tuile);
  box-shadow: inset 0 0 0 1px var(--filet);
  color: var(--texte);
}

.bulle.coach em {
  display: block;
  margin-top: 5px;
  font-family: var(--f-source);
  font-size: 13px;
  color: var(--gris);
}

.bulle.sms {
  margin: 0 0 12px;
}

.sous-visuel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--filet);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--gris);
}

.faits-lignes {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faits-lignes li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--filet);
  font-size: 12.5px;
  color: var(--gris);
}

.faits-lignes li:first-child {
  border-top: 0;
  padding-top: 0;
}

.faits-lignes li:last-child {
  padding-bottom: 0;
}

.faits-lignes b {
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--encre);
  white-space: nowrap;
}

/* ── Science : la fiche de règle du support ───────────────────────────── */
.science {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.science h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.5vw, 50px);
  font-stretch: 118%;
}

.science .texte p {
  margin-top: 18px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gris);
}

.science .texte p strong {
  font-weight: 600;
  color: var(--encre);
}

.science .lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--accent-texte);
}

.science .lien-fleche .ico {
  width: 16px;
  height: 16px;
  transition: transform 0.16s ease;
}

.science .lien-fleche:hover .ico {
  transform: translateX(3px);
}

.science .fiche-regle {
  box-shadow: var(--ombre-haute);
}

.science .fiche-regle > summary {
  cursor: default;
  grid-template-columns: minmax(0, 1fr) auto;
}

.niveaux {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* ── Les données lues ─────────────────────────────────────────────────── */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: var(--creux);
  box-shadow: inset 0 0 0 1px var(--filet);
  width: fit-content;
  max-width: 100%;
}

.services button {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gris);
}

.services button:hover {
  color: var(--encre);
}

.services button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: var(--encre);
}

.acces {
  margin-top: 16px;
  padding: 6px 22px;
}

.acces[hidden] {
  display: none;
}

.acces .rang {
  display: grid;
  grid-template-columns: 210px 170px minmax(0, 1fr);
  gap: 8px 24px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--filet);
}

.acces .rang:first-child {
  border-top: 0;
}

.acces .rang strong {
  font-size: 15.5px;
}

.acces .rang p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gris);
}

.sens {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sens.lecture-seule {
  background: color-mix(in srgb, var(--d-forme) 13%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--d-forme) 30%, transparent);
  color: var(--d-forme);
}

.sens.ecriture {
  background: var(--accent-doux);
  box-shadow: inset 0 0 0 1px var(--accent-filet);
  color: var(--accent-texte);
}

.propriete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 40px;
  align-items: center;
  margin-top: 16px;
  padding: 22px;
}

.propriete h3 {
  font-family: var(--f-titre);
  font-stretch: 110%;
  font-weight: 720;
  font-size: 20px;
  letter-spacing: -0.022em;
}

.propriete p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--gris);
}

/* ── Appel final ──────────────────────────────────────────────────────── */
.appel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  padding: 48px;
  overflow: hidden;
}

.appel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 100% 100%, rgba(255, 90, 45, 0.2), transparent 65%);
  pointer-events: none;
}

.appel > * {
  position: relative;
}

.appel h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 58px);
  font-stretch: 120%;
}

.appel p {
  margin-top: 14px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gris);
}

.appel .adresse {
  margin-top: 10px;
  font-family: var(--f-mesure);
  font-stretch: 88%;
  font-size: 12px;
  text-align: right;
  color: var(--gris);
}

/* ── Pied ─────────────────────────────────────────────────────────────── */
.s-pied {
  margin-top: 104px;
  padding-bottom: 36px;
  border-top: 1px solid var(--filet);
  background: var(--fond-2);
}

.s-pied .regle {
  margin-bottom: 44px;
}

.s-pied-grille {
  display: grid;
  grid-template-columns: 1.8fr repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.sans-script {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 14px;
  color: var(--gris);
}

.s-pied h5 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.s-pied a {
  display: block;
  padding: 3px 0;
  font-size: 13.5px;
  color: var(--gris);
}

.s-pied a:hover {
  color: var(--encre);
}

.s-pied .marque p {
  margin-top: 10px;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--gris);
}

.s-pied .avertissement {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--filet);
  max-width: 96ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--tertiaire);
}

/* ── Adaptation ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .moments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .moments .regle {
    display: none;
  }

  .moment {
    margin-top: 14px;
  }

  .moment::before {
    display: none;
  }

  .moment .heure {
    position: static;
    margin-bottom: 12px;
  }

  .appli,
  .science {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .telephone {
    margin-inline: auto;
  }

  .deductions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .deductions .titre-deduction {
    grid-column: 1 / -1;
    padding-bottom: 0;
  }

  .deductions > * + * {
    border-left: 0;
  }

  .acces .rang {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .acces .rang p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .s-dans {
    width: min(1200px, 100% - 32px);
  }

  .s-nav nav,
  .s-nav .langue {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-bas,
  .s-titre,
  .appel,
  .propriete {
    grid-template-columns: minmax(0, 1fr);
  }

  .lecture {
    margin-top: 36px;
  }

  .trace {
    height: 250px;
  }

  /* Sur un petit écran, la courbe garde toute la place : les déductions disent le reste. */
  .note {
    display: none;
  }

  .deductions {
    grid-template-columns: minmax(0, 1fr);
  }

  .deductions > * {
    padding: 12px 16px;
  }

  .deductions > * + * {
    border-top: 1px solid var(--filet);
  }

  .s-section {
    padding-top: 72px;
  }

  .moments,
  .tuiles-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .appel {
    padding: 28px 22px;
  }

  .appel .adresse {
    text-align: left;
  }

  .s-pied-grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .telephone {
    width: min(320px, 100%);
  }
}
