/* =============================================================================
   Rhetra, le site — « marbre et encre », en mouvement.
   Tokens : DESIGN.md et AgogeUI/Palette.swift. Angles droits partout, sauf la
   pilule, le téléphone et la feuille de fin (20 en haut, comme dans l'app).

   Jour et nuit : chaque jeton est un mélange entre sa valeur de jour et sa
   valeur de nuit, piloté par --nuit (0 → 1) que le défilement fait varier.
   Le fond est la chaux de l'app : la tuile Pierre le jour, StucNuit la nuit.
   ========================================================================== */

@property --nuit { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --nuit: 0;

  --j-marbre: #F2F1ED;   --n-marbre: #1A1B1D;
  --j-stele: #FBFAF8;    --n-stele: #232528;
  --j-encre: #26282B;    --n-encre: #EDEAE3;
  --j-bloc: #1A1B1D;     --n-bloc: #EDEAE3;
  --j-bronze: #A85B17;   --n-bronze: #D89A5B;
  --j-texte-2: #66696C;  --n-texte-2: #A3A6A9;
  --j-gris1: #6C6F72;    --n-gris1: #9BA0A5;
  --j-gris2: #8A8D90;    --n-gris2: #7C8085;
  --j-gris3: #9A9DA0;    --n-gris3: #6C6F72;
  --j-eteint: #D3D1CA;   --n-eteint: #3A3C40;
  --j-filet: rgba(0, 0, 0, .12);       --n-filet: rgba(255, 255, 255, .13);
  --j-filet-faible: rgba(0, 0, 0, .06); --n-filet-faible: rgba(255, 255, 255, .06);

  --k: calc(var(--nuit) * 100%);
  --marbre: color-mix(in srgb, var(--n-marbre) var(--k), var(--j-marbre));
  --stele: color-mix(in srgb, var(--n-stele) var(--k), var(--j-stele));
  --encre: color-mix(in srgb, var(--n-encre) var(--k), var(--j-encre));
  --bloc: color-mix(in srgb, var(--n-bloc) var(--k), var(--j-bloc));
  --sur-bloc: color-mix(in srgb, var(--n-marbre) var(--k), var(--j-marbre));
  --bronze: color-mix(in srgb, var(--n-bronze) var(--k), var(--j-bronze));
  --texte-2: color-mix(in srgb, var(--n-texte-2) var(--k), var(--j-texte-2));
  --gris1: color-mix(in srgb, var(--n-gris1) var(--k), var(--j-gris1));
  --gris2: color-mix(in srgb, var(--n-gris2) var(--k), var(--j-gris2));
  --gris3: color-mix(in srgb, var(--n-gris3) var(--k), var(--j-gris3));
  --eteint: color-mix(in srgb, var(--n-eteint) var(--k), var(--j-eteint));
  --filet: color-mix(in srgb, var(--n-filet) var(--k), var(--j-filet));
  --filet-faible: color-mix(in srgb, var(--n-filet-faible) var(--k), var(--j-filet-faible));

  --serif: Literata, Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --lapid: Cardo, Georgia, serif;

  --marge: 22px;
  --large: 1160px;
  --souffle: clamp(96px, 14vh, 168px);
  --sortie: cubic-bezier(.16, 1, .3, 1);

  --meandre-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 22 14'%3E%3Cpath d='M0 12.25H22M17.5 12.25V3.25H4.5V8.5H11' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
}
@media (min-width: 760px) { :root { --marge: 48px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--marbre); }
body {
  margin: 0; color: var(--encre);
  font-family: var(--serif); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--bloc); color: var(--sur-bloc); }

.saut { position: absolute; left: -9999px; }
.saut:focus { left: 12px; top: 12px; z-index: 200; background: var(--bloc); color: var(--sur-bloc); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }

/* ----------------------------------------------------------------- le fond */
/* Les deux tuiles de l'app, à 256 px (512 en @2×) ; la nuit passe par-dessus. */
.fond { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fond i { position: absolute; inset: 0; background-size: 256px 256px; background-repeat: repeat; }
.fond-jour { background-color: var(--j-marbre); background-image: url("/assets/textures/pierre.webp"); }
.fond-nuit { background-color: var(--n-marbre); background-image: url("/assets/textures/stuc-nuit.webp"); opacity: var(--nuit); }

.enveloppe { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); }

.etiquette {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: var(--gris1);
}
.mesure { font-family: var(--mono); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.titre { font-size: clamp(2.1rem, 4.8vw, 3.5rem); letter-spacing: -.028em; margin-top: 16px; line-height: 1.04; }
.chapo { font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--texte-2); max-width: 52ch; margin-top: 20px; line-height: 1.62; }
.centre { text-align: center; }
.centre .chapo { margin-left: auto; margin-right: auto; }

.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.marque-mots { display: inline-flex; flex-direction: column; gap: 1px; }
.marque .grec { font-style: italic; font-size: .7rem; color: var(--gris1); }
.marque .mot { font-family: var(--lapid); font-weight: 700; font-size: 1.16rem; letter-spacing: .1em; }
.marque-icone { width: 34px; height: 34px; border-radius: 9px; }

/* Les titres montent mot à mot, chacun dans sa rainure. */
.titre .mot-r { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.titre .mot-r > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--sortie); transition-delay: calc(var(--i) * 45ms + var(--retard, 0s)); }
.vu .titre .mot-r > span, .titre.vu .mot-r > span { transform: none; }

/* ------------------------------------------------------------------ boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border: 1.5px solid var(--bloc);
  background: var(--bloc); color: var(--sur-bloc); text-decoration: none; cursor: pointer;
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--sortie);
}
/* Au survol, une lame de lumière traverse le bouton, comme un reflet sur la pierre polie. */
.bouton::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--sur-bloc) 22%, transparent), transparent);
  transform: skewX(-14deg); transition: left .8s var(--sortie);
}
.bouton:hover::after { left: 120%; }
.bouton:active { transform: scale(.98); }
.lien-mono {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--encre); position: relative; padding: 6px 0;
}
.lien-mono::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--sortie); }
.lien-mono:hover::after { transform: scaleX(0); }

/* ------------------------------------------------------------------ méandre */
/* Un masque, pour que le trait prenne la couleur du moment, jour ou nuit. */
.meandre {
  height: 14px; border: 0; margin: 0; background: var(--encre);
  -webkit-mask: var(--meandre-svg) repeat-x left bottom; mask: var(--meandre-svg) repeat-x left bottom;
}
.meandre.trace { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--sortie); }
.meandre.trace.vu { clip-path: inset(0 0 0 0); }

/* ---------------------------------------------------------------- Ostrakon */
.ostrakon {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
  transition: transform .6s var(--sortie), opacity .3s;
}
.ostrakon.cache { transform: translateY(-130%); opacity: 0; }
.ostrakon nav {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: color-mix(in srgb, var(--stele) 76%, transparent);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--filet); border-radius: 999px;
}
.ostrakon .marque { padding: 0 10px 0 4px; }
.ostrakon .marque-icone { width: 32px; height: 32px; border-radius: 50%; }
.lettres { position: relative; display: flex; align-items: center; }
.lettres a {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 13px; text-decoration: none; border-radius: 999px; color: var(--gris1);
  transition: color .35s;
}
.lettres a b { font-family: var(--lapid); font-size: 1.12rem; font-weight: 700; }
.lettres a span {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0; transition: max-width .5s var(--sortie), opacity .3s;
}
.lettres a:hover { color: var(--encre); }
.lettres a.actif { color: var(--sur-bloc); }
.lettres a.actif span { max-width: 140px; opacity: 1; }
.medaillon-fond {
  position: absolute; left: 0; top: 0; height: 42px; width: 42px; border-radius: 999px; background: var(--bloc);
  opacity: 0; transition: transform .5s var(--sortie), width .5s var(--sortie), opacity .3s;
}
.cta-pilule {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--bloc); color: var(--sur-bloc); text-decoration: none;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .25s var(--sortie);
}
.cta-pilule:hover { transform: scale(1.04); }
@media (max-width: 900px) { .ostrakon .marque-mots { display: none; } .ostrakon .marque { padding: 0 2px; } .lettres a { padding: 0 11px; } .lettres a.actif span { max-width: 110px; } }
@media (max-width: 520px) { .cta-pilule { display: none; } .lettres a { padding: 0 10px; height: 40px; } .medaillon-fond { height: 40px; } }

/* ------------------------------------------------------------------- entrées */
.entree { opacity: 0; transform: translateY(18px); animation: entre 1.1s var(--sortie) var(--d, 0s) forwards; }
@keyframes entre { to { opacity: 1; transform: none; } }
.entree-mot { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); animation: mot 1.1s var(--sortie) var(--d, 0s) forwards; }
@keyframes mot { to { opacity: 1; transform: none; filter: none; } }
.apparait { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--sortie) var(--retard, 0s), transform 1s var(--sortie) var(--retard, 0s); }
.apparait.vu { opacity: 1; transform: none; }

/* ===================================================================== héros */
.heros { padding: clamp(118px, 17vh, 176px) 0 0; position: relative; }
.heros-tete { text-align: center; display: flex; flex-direction: column; align-items: center; transform: translateY(calc(var(--h, 0) * -50px)); opacity: calc(1 - var(--h, 0) * 1.3); }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--texte-2); }
.surtitre .point { width: 7px; height: 7px; background: var(--encre); animation: battement 2s infinite; }
@keyframes battement { 50% { opacity: .2; } }

.inscription { margin-top: 28px; font-size: clamp(2.7rem, 8vw, 6.6rem); line-height: .96; letter-spacing: -.04em; text-wrap: initial; }
.inscription .ligne { display: block; }
.inscription em { font-style: italic; font-weight: 400; position: relative; }
.inscription em::after {
  content: ""; position: absolute; left: .04em; right: .2em; bottom: .02em; height: .045em; background: var(--bronze);
  transform: scaleX(0); transform-origin: left; animation: trait 1s var(--sortie) 1.5s forwards;
}
@keyframes trait { to { transform: scaleX(1); } }
.heros .chapo { font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin: 28px auto 0; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 30px; margin-top: 36px; }

/* ----- la scène : le téléphone et ses deux annotations */
.scene-heros {
  position: relative; margin: clamp(56px, 8vh, 88px) auto 0; max-width: var(--large); padding: 0 var(--marge);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 56px;
}
.annotation { max-width: 250px; color: var(--gris2); transition: color .5s; position: relative; }
.annotation .numeral { font-family: var(--lapid); font-weight: 700; font-size: 1.5rem; display: block; }
.annotation p { margin-top: 8px; font-size: 1rem; line-height: 1.5; }
.annotation b { font-weight: 600; }
.annotation::after { /* le filet qui relie la note au téléphone */
  content: ""; position: absolute; top: 1.1rem; height: 1px; width: 44px; background: currentColor; transform: scaleX(.3); transition: transform .8s var(--sortie);
}
.annotation-g { justify-self: end; text-align: right; }
.annotation-g::after { right: -60px; transform-origin: right; }
.annotation-d { justify-self: start; }
.annotation-d::after { left: -60px; transform-origin: left; }
.annotation.allumee { color: var(--encre); }
.annotation.allumee::after { transform: scaleX(1); }
.indice-tel { display: none; }
@media (max-width: 900px) {
  .indice-tel { display: block; margin-top: 22px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris1); }
  .scene-heros { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .annotation { display: none; }
}

/* ----- un iPhone 17 Pro, en CSS, calé sur le modèle : cadre noir fin,
   coins de ~16 % de la largeur, îlot dynamique, boutons sur les tranches.
   Toutes les cotes sont en cqw (largeur du téléphone) : il reste juste à
   toutes les tailles. */
.iphone {
  --l: 380px;
  container-type: inline-size; position: relative; width: var(--l);
  padding: calc(var(--l) * .033); border-radius: calc(var(--l) * .165);
  background: linear-gradient(145deg, #2C2C2E, #0A0A0B 22%, #0A0A0B 78%, #2C2C2E);
  box-shadow: inset 0 0 0 calc(var(--l) * .0045) #48484A, inset 0 0 0 calc(var(--l) * .011) #050505, 0 0 0 1px rgba(255, 255, 255, calc(var(--nuit) * .16));
}
/* Les tranches : Action, volume +, volume − à gauche ; alimentation à droite. */
.iphone::before, .iphone::after { content: ""; position: absolute; width: calc(var(--l) * .01); border-radius: 2px; }
.iphone::before {
  left: calc(var(--l) * -.0085); top: 19.5%; height: 22.5%;
  background: linear-gradient(#232325 0 15.5%, transparent 15.5% 29%, #232325 29% 60%, transparent 60% 70.5%, #232325 70.5%);
}
.iphone::after { right: calc(var(--l) * -.0085); top: 31%; height: 11%; background: #232325; }
.iphone .ecran {
  position: relative; width: 100%; aspect-ratio: 1206 / 2622; border-radius: calc(var(--l) * .134);
  overflow: hidden; background: #F2F1ED;
}
.iphone .ecran::after { /* l'îlot dynamique */
  content: ""; position: absolute; z-index: 8; top: 2.9cqw; left: 50%; width: 31cqw; height: 9.2cqw;
  transform: translateX(-50%); background: #000; border-radius: 999px;
}
.iphone-heros { --l: min(380px, 84vw); transform: translateY(calc(var(--h, 0) * -40px)); }

/* ----- l'écran de l'app, en HTML : toujours en jour, comme les captures */
.app {
  --marbre: #F2F1ED; --stele: #FBFAF8; --encre: #26282B; --bloc: #1A1B1D; --sur-bloc: #F2F1ED;
  --bronze: #A85B17; --texte-2: #66696C; --gris1: #6C6F72; --gris2: #8A8D90; --gris3: #9A9DA0;
  --filet: rgba(0, 0, 0, .12);
  color: var(--encre); background: #F2F1ED url("/assets/textures/pierre.webp") 0 0 / 256px;
  padding: 0 5cqw; font-size: 4cqw; line-height: 1.4; user-select: none; -webkit-user-select: none;
  display: flex; flex-direction: column;
}
.app-statut { display: flex; justify-content: space-between; align-items: center; height: 15cqw; padding: 1cqw 4.5cqw 0 5cqw; font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif; font-weight: 600; font-size: 4.3cqw; }
.app-icones { display: flex; gap: 1.3cqw; align-items: center; }
.app-icones i { display: block; background: var(--encre); }
.app-icones i:nth-child(1) { width: 4.6cqw; height: 2.9cqw; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.app-icones i:nth-child(2) { width: 4.2cqw; height: 2.9cqw; clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%); }
.app-icones i:nth-child(3) { width: 6.8cqw; height: 3.2cqw; border-radius: 1cqw; }
.app-tete { display: flex; align-items: center; gap: 2.6cqw; margin-top: 2cqw; }
.app-marque { display: inline-flex; flex-direction: column; line-height: 1; flex: 1; }
.app-marque .grec { font-style: italic; font-size: 4cqw; }
.app-marque .mot { font-family: var(--lapid); font-weight: 700; font-size: 4.2cqw; letter-spacing: .1em; margin-top: .6cqw; }
.app-chrono { font-size: 3.3cqw; color: var(--texte-2); }
.app-terminer { background: var(--bloc); color: var(--sur-bloc); font-family: var(--mono); font-size: 2.5cqw; letter-spacing: .14em; text-transform: uppercase; padding: 2.5cqw 3cqw; }
.app .app-label { font-family: var(--mono); font-size: 2.35cqw; letter-spacing: .15em; text-transform: uppercase; color: var(--gris1); }
.app > .app-label { margin-top: 5cqw; }
.app-titre { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2cqw; margin-top: 1.6cqw; }
.app-titre p { font-size: 7cqw; line-height: 1.12; letter-spacing: -.01em; }
.app-titre img { width: 9.5cqw; }
.meandre-app { margin-top: 3.4cqw; height: 2.5cqw; -webkit-mask-size: 3.9cqw 2.5cqw; mask-size: 3.9cqw 2.5cqw; opacity: .45; }
.app-exo { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4cqw; }
.app-exo b { font-weight: 600; font-size: 5cqw; }
.app-exo .mesure { font-size: 3.3cqw; }
.app-raison { font-size: 3cqw; color: var(--texte-2); margin-top: 1cqw; }
.app-reglages { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqw; margin-top: 3.4cqw; }
.app-reglages span { display: flex; justify-content: space-between; align-items: center; height: 11cqw; padding: 0 3.4cqw; border: 1px solid var(--encre); background: var(--stele); font-size: 3.3cqw; color: var(--texte-2); }
.app-reglages b { color: var(--encre); font-size: 3.9cqw; }
.app-reglages small { font-family: var(--serif); font-weight: 400; font-size: 3cqw; color: var(--texte-2); }
.app-reglages i { font-style: normal; color: var(--encre); font-size: 4.4cqw; }
.app-suite { margin-top: 1cqw; }
.app-suite .meandre-app { margin-top: 4.5cqw; }
.app .series { margin-top: 2.8cqw; display: grid; gap: 1.9cqw; }
.serie {
  position: relative; display: grid; grid-template-columns: 6cqw 1fr auto; align-items: center;
  height: 11cqw; padding: 0 3.4cqw; border: 1px solid transparent; font-family: var(--mono); font-weight: 600; font-size: 3.6cqw;
  color: var(--gris3); overflow: hidden; isolation: isolate; cursor: default; transition: color .35s, border-color .35s;
}
.serie .n { font-weight: 500; font-size: 2.8cqw; }
.serie .etat { font-size: 2.35cqw; letter-spacing: .14em; font-weight: 500; }
.serie .rond { display: block; width: 2.5cqw; height: 2.5cqw; border: 1px solid var(--gris3); border-radius: 50%; }
.serie.a-toi { border-color: var(--encre); color: var(--encre); background: var(--stele); cursor: pointer; }
.serie.a-toi:hover { background: #fff; }
/* L'invitation : une onde part de la ligne à faire tant qu'on n'a pas touché. */
.serie.a-toi.invite::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--encre); animation: onde 1.8s var(--sortie) infinite; }
@keyframes onde { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.06, 1.35); } }
/* La gravure : le bloc d'encre balaie la ligne de gauche à droite. */
.serie::before {
  content: ""; position: absolute; inset: -1px; background: var(--bloc); z-index: -1;
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--sortie);
}
.serie.gravee { color: var(--sur-bloc); border-color: var(--bloc); }
.serie.gravee::before { transform: scaleX(1); }
.serie.gravee .etat { color: #fff; }
.app-liens { display: flex; gap: 3.8cqw; margin-top: 3.8cqw; font-family: var(--mono); font-size: 2.35cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); }
.app-liens u { text-underline-offset: 3px; }
/* La barre de repos, en bas de l'écran, qui se vide. */
.app-repos {
  position: absolute; left: 4cqw; right: 4cqw; bottom: 7cqw; height: 12.5cqw; display: flex; align-items: center; justify-content: space-between;
  padding: 0 4.4cqw; background: var(--bloc); color: var(--sur-bloc); font-family: var(--mono); font-size: 2.5cqw; letter-spacing: .15em; text-transform: uppercase;
  transform: translateY(160%); transition: transform .6s var(--sortie); overflow: hidden;
}
.app-repos b { font-size: 4.2cqw; letter-spacing: 0; }
.app-repos i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sur-bloc); transform-origin: left; }
.app-repos.actif { transform: none; }
.app-repos.actif i { animation: vide var(--repos, 1s) linear forwards; }
@keyframes vide { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* La feuille de fin : monte du bas, 20 en haut. */
.voile { position: absolute; inset: 0; background: rgba(26, 27, 29, .32); opacity: 0; pointer-events: none; transition: opacity .5s; }
.feuille {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3.2cqw 5.5cqw 8cqw; background: #F2F1ED url("/assets/textures/pierre.webp") 0 0 / 256px;
  border-radius: 5.5cqw 5.5cqw 0 0; transform: translateY(102%); transition: transform .8s var(--sortie);
}
.app.fini .voile { opacity: 1; }
.app.fini .feuille { transform: none; }
.poignee { display: block; width: 10cqw; height: 1.4cqw; border-radius: 1cqw; background: var(--gris3); margin: 0 auto 4cqw; opacity: .6; }
.feuille-titre { font-size: 6.4cqw; line-height: 1.12; margin-top: 2cqw; letter-spacing: -.01em; }
.feuille .meandre-app { margin: 3.8cqw 0 3.4cqw; }
.feuille-charge { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2cqw; gap: 2cqw; }
.feuille-charge b { font-weight: 600; font-size: 4.4cqw; }
.feuille-charge .mesure { font-size: 3.9cqw; white-space: nowrap; }
.feuille-charge s { color: var(--gris3); font-weight: 500; }
.feuille-raison { font-size: 3.2cqw; color: var(--texte-2); margin-top: 1.6cqw; min-height: 3em; }
.bronze-marque { font-family: var(--mono); font-weight: 600; color: var(--bronze); white-space: nowrap; }
.choix { display: grid; gap: 2.2cqw; margin-top: 3.8cqw; }
.app-bouton {
  height: 12.5cqw; border: 1.5px solid var(--bloc); background: var(--bloc); color: var(--sur-bloc); cursor: pointer;
  font-family: var(--mono); font-size: 2.6cqw; letter-spacing: .15em; text-transform: uppercase; transition: transform .15s;
}
.app-bouton:active { transform: scale(.98); }
.app-bouton-creux { background: transparent; color: var(--encre); }
.ecrit { margin-top: 3.4cqw; font-family: var(--mono); font-size: 2.5cqw; letter-spacing: .12em; text-transform: uppercase; text-align: center; min-height: 1.3em; }
.ecrit button { display: block; margin: 2.2cqw auto 0; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; letter-spacing: inherit; color: var(--texte-2); }
.feuille.ecrite .choix { display: none; }

.compat {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 64px; padding-top: 22px; padding-bottom: 8px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris1);
}
.compat b { color: var(--encre); font-weight: 600; margin-right: 6px; }

/* ===================================================== la semaine, collante */
.histoire { height: 460vh; position: relative; margin-top: var(--souffle); }
/* Le téléphone garde ses proportions et un plancher de taille (260 px) ; si
   la fenêtre est trop basse, c'est la marge de la scène qui passe sous le
   bord, jamais le téléphone qui se tasse. */
.histoire { --l-tel: clamp(260px, calc((100svh - 120px) / 2.2), 330px); }
.collant { --haut: calc(var(--l-tel) * 2.2 + 100px); position: sticky; top: min(0px, calc(100svh - var(--haut))); height: max(100svh, var(--haut)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.scene {
  width: 100%; max-width: var(--large); margin: 0 auto; padding: 70px var(--marge) 30px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 56px; align-items: center;
}
.gauche .horloge { font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1; margin-top: 14px; letter-spacing: -.04em; }
.gauche .horloge #jour { color: var(--gris3); }
.gauche .horloge small { font-size: .26em; letter-spacing: .12em; margin-left: .3em; color: var(--gris1); font-weight: 500; }
.agoge-ligne { margin-top: 14px; color: var(--texte-2); }
.agoge-ligne b { color: var(--encre); font-weight: 600; }
.frise { position: relative; margin-top: 28px; height: 2px; background: var(--filet); max-width: 280px; }
.frise-remplie { position: absolute; inset: 0; background: var(--encre); transform-origin: left; transform: scaleX(var(--p, 0)); }
.frise b { position: absolute; top: -4px; width: 10px; height: 10px; background: var(--marbre); border: 1.5px solid var(--gris3); transform: translateX(-50%); transition: background .3s, border-color .3s; }
.frise b:nth-of-type(1) { left: 0; } .frise b:nth-of-type(2) { left: 33.3%; } .frise b:nth-of-type(3) { left: 66.6%; } .frise b:nth-of-type(4) { left: 100%; }
.frise b.passe { background: var(--encre); border-color: var(--encre); }
.gravure-histoire { width: 150px; margin-top: 36px; transform: translateY(calc((var(--p, 0) - .5) * -60px)); }

.telephone { --l: var(--l-tel); transform: rotate(calc((var(--p, 0) - .5) * -3deg)); }
.telephone .ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--sortie), transform 1s var(--sortie); }
.telephone .ecran img.active { opacity: 1; transform: none; }
.notif {
  position: absolute; left: 2.5cqw; right: 2.5cqw; top: 14cqw; z-index: 6;
  display: grid; grid-template-columns: 10cqw 1fr auto; gap: 3cqw; align-items: start; padding: 3.4cqw 3.6cqw;
  background: rgba(251, 250, 248, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 6.5cqw; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); color: #26282B;
  font-size: 3.3cqw; line-height: 1.32; transform: translateY(-160%); opacity: 0; transition: transform .8s var(--sortie), opacity .4s;
}
.notif.montree { transform: none; opacity: 1; }
.notif-icone { width: 10cqw; height: 10cqw; border-radius: 2.4cqw; }
.notif-corps { display: grid; }
.notif-corps b { font-family: -apple-system, system-ui, sans-serif; font-size: 3.5cqw; }
.notif-quand { color: #8A8D90; font-size: 3cqw; }

.etapes { position: relative; min-height: 300px; }
.etape { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--sortie), transform .8s var(--sortie); pointer-events: none; }
.etape.active { opacity: 1; transform: none; pointer-events: auto; }
.etape.passee { transform: translateY(-24px); }
.etape .quand { font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gris1); }
.etape h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin-top: 12px; letter-spacing: -.02em; }
.etape p:not(.quand):not(.tampon) { margin-top: 14px; color: var(--texte-2); max-width: 38ch; }
.mini-series { display: flex; gap: 6px; margin-top: 22px; }
.mini-series i { width: 46px; height: 14px; border: 1.5px solid var(--encre); position: relative; overflow: hidden; }
.mini-series i::before { content: ""; position: absolute; inset: 0; background: var(--bloc); transform: scaleX(0); transform-origin: left; }
.etape.active .mini-series i::before { animation: grave .5s var(--sortie) forwards; }
.etape.active .mini-series i:nth-child(1)::before { animation-delay: .3s; }
.etape.active .mini-series i:nth-child(2)::before { animation-delay: .9s; }
.etape.active .mini-series i:nth-child(3)::before { animation-delay: 1.5s; }
.etape.active .mini-series i:nth-child(4)::before { animation-delay: 2.1s; }
@keyframes grave { to { transform: scaleX(1); } }
.tampon {
  display: inline-block; margin-top: 22px; padding: 10px 14px; background: var(--bronze); color: var(--sur-bloc);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  transform: scale(1.6) rotate(-4deg); opacity: 0;
}
.etape.active .tampon { animation: tampon .55s cubic-bezier(.3, 1.6, .5, 1) .35s forwards; }
@keyframes tampon { to { transform: rotate(-1.5deg); opacity: 1; } }
.mini-courbe { width: 220px; margin-top: 22px; overflow: visible; }
.mini-courbe path { fill: none; stroke: var(--encre); stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: 300; }
.mini-courbe circle { fill: var(--encre); opacity: 0; }
.etape.active .mini-courbe path { animation: dessine 1.4s var(--sortie) .2s forwards; }
.etape.active .mini-courbe circle { animation: entre .4s 1.4s forwards; transform: none; }
@keyframes dessine { to { stroke-dashoffset: 0; } }

.meandre-progres { position: absolute; left: 0; right: 0; bottom: 18px; opacity: .5; clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }

@media (max-width: 900px) {
  .histoire { height: 420vh; }
  .scene { grid-template-columns: 1fr; gap: 18px; padding-top: 74px; justify-items: center; text-align: center; }
  .gauche .etiquette, .agoge-ligne, .gravure-histoire, .frise { display: none; }
  .gauche .horloge { font-size: 2.2rem; margin-top: 0; }
  .histoire { --l-tel: clamp(210px, calc((100svh - 330px) / 2.25), 260px); }
  .collant { --haut: calc(var(--l-tel) * 2.25 + 330px); }
  .etapes { min-height: 210px; width: 100%; max-width: 420px; }
  .etape p:not(.quand):not(.tampon) { margin-left: auto; margin-right: auto; font-size: .95rem; }
  .etape h3 { font-size: 1.3rem; }
  .mini-series, .mini-courbe { margin-left: auto; margin-right: auto; justify-content: center; }
  .mini-courbe { display: block; width: 160px; }
}

/* ==================================================================== blocs */
.bloc { padding: var(--souffle) 0 0; }
.tete { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.gravure { width: clamp(110px, 16vw, 220px); }
.gravure[src*="lance"] { width: clamp(64px, 7vw, 100px); }
.gravure[src*="nike"] { width: clamp(100px, 12vw, 170px); }
.gravure[src*="parthenon"], .gravure[src*="olivier"] { width: clamp(150px, 22vw, 300px); }
@media (max-width: 640px) { .tete { grid-template-columns: 1fr; } .gravure { display: none; } }

/* ----- le registre des huit semaines */
.registre { margin-top: 48px; border-top: 1.5px solid var(--encre); padding-top: 28px; display: grid; gap: 28px; }
@media (min-width: 900px) { .registre { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; column-gap: 56px; } .semainier { grid-column: 1; } .verdict { grid-column: 2; grid-row: 1 / span 2; align-self: center; } }
.courbe { width: 100%; height: auto; overflow: visible; }
.courbe .grille line { stroke: var(--filet-faible); }
.courbe .grille text { font-family: var(--mono); font-size: 14px; fill: var(--gris2); }
.courbe .trace-courbe { fill: none; stroke: var(--encre); stroke-width: 2.5; stroke-linejoin: round; }
.courbe .aire { fill: url(#aire); opacity: 0; transition: opacity 1.2s .8s; }
.registre.vu .courbe .aire { opacity: 1; }
.courbe .pt { cursor: pointer; }
.courbe .pt circle.disque { fill: var(--marbre); stroke: var(--encre); stroke-width: 2; transition: r .3s var(--sortie), fill .3s; }
.courbe .pt circle.zone { fill: transparent; }
.courbe .pt:hover circle.disque { r: 8; }
.courbe .pt.actif circle.disque { fill: var(--encre); r: 8; }
.courbe .pt.record circle.disque { stroke: var(--bronze); }
.courbe .pt.record.actif circle.disque { fill: var(--bronze); }
.courbe .pt.record .halo { fill: none; stroke: var(--bronze); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.courbe .pt.record.actif .halo { animation: halo 1.8s ease-out infinite; }
@keyframes halo { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(3); } }
.courbe .pt text { font-family: var(--mono); font-size: 15px; fill: var(--gris1); text-anchor: middle; opacity: 0; transition: opacity .3s; }
.courbe .pt.actif text { opacity: 1; fill: var(--encre); font-weight: 600; }
.courbe .pt.record.actif text { fill: var(--bronze); }
.courbe .curseur-v { stroke: var(--encre); stroke-dasharray: 3 4; transition: transform .5s var(--sortie); }

.semainier { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.semainier button {
  height: 44px; border: 1.5px solid var(--filet); background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris1);
  transition: background .25s, color .25s, border-color .25s;
}
.semainier button:hover { border-color: var(--encre); color: var(--encre); }
.semainier button[aria-pressed="true"] { background: var(--bloc); border-color: var(--bloc); color: var(--sur-bloc); }
.semainier button[data-record][aria-pressed="true"] { background: var(--bronze); border-color: var(--bronze); color: #fff; }
@media (max-width: 560px) { .semainier { grid-template-columns: repeat(4, 1fr); } }
.charge-geante { font-size: clamp(3rem, 7vw, 5rem); line-height: 1; }
.verdict[data-record="oui"] .charge-geante { color: var(--bronze); }
.verdict .pourquoi { font-size: 1.08rem; margin-top: 16px; min-height: 4.8em; max-width: 36ch; }
.verdict .pourquoi .fleche { font-family: var(--mono); font-weight: 600; margin-right: 6px; }
.verdict .etiquette { margin-top: 10px; }

/* ----- la loi, mot à mot, en pleine nuit */
.loi { padding: calc(var(--souffle) * 1.4) 0 calc(var(--souffle) * .6); }
.grec-etiquette { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 1.15em; }
.loi .grand { margin-top: 26px; font-size: clamp(1.9rem, 4.4vw, 3.5rem); line-height: 1.14; letter-spacing: -.028em; font-weight: 600; max-width: 24ch; }
.loi .grand span { color: var(--eteint); transition: color .4s; }
.loi .grand span.allume { color: var(--encre); }

/* ----- trois poignets */
.sync { position: relative; margin: 64px auto 0; max-width: 1000px; aspect-ratio: 1000 / 640; display: block; }
.liens-sync { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.liens-sync path { fill: none; stroke: var(--gris3); stroke-width: 1.5; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.liens-sync .impulsion { fill: var(--encre); }
.sync > div { position: absolute; display: flex; flex-direction: column; align-items: center; }
.sync figcaption { margin-top: 14px; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris1); text-align: center; }
.app-tel { left: 50%; top: 0; width: 24%; transform: translateX(-50%); }
.app-tel figcaption { display: none; }
.app-aw { right: 2%; top: 6%; width: 22%; }
.app-gm { left: 3%; top: 42%; width: 20%; }
.sync img { transition: transform 1.2s var(--sortie), filter .6s; }
.sync.vu .app-aw img { animation: flotte 6s ease-in-out infinite; }
.sync.vu .app-gm img { animation: flotte 6s ease-in-out 1.5s infinite; }
@keyframes flotte { 50% { transform: translateY(-8px); } }
.sync .battement-sync { animation: sync-flash .6s var(--sortie); }
@keyframes sync-flash { 30% { filter: brightness(1.25); } }
.ticker { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); white-space: nowrap; font-size: .7rem; letter-spacing: .1em; padding: 9px 14px; background: var(--bloc); color: var(--sur-bloc); }
@media (max-width: 700px) {
  .sync { aspect-ratio: 1000 / 900; }
  .liens-sync { display: none; }
  .app-tel { width: 46%; top: 0; }
  .app-aw { width: 34%; right: 0; top: auto; bottom: 10%; }
  .app-gm { width: 32%; left: 0; top: auto; bottom: 8%; }
  .ticker { font-size: .58rem; bottom: -14px; }
}

.deux-colonnes { display: grid; gap: 40px; margin-top: 80px; }
@media (min-width: 820px) { .deux-colonnes { grid-template-columns: 1fr 1fr; gap: 56px; } }
.deux-colonnes h3 { font-size: 1.35rem; display: flex; align-items: baseline; gap: 12px; }
.deux-colonnes h3 small { font-family: var(--mono); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gris1); font-weight: 500; }
.tableau { margin-top: 18px; border-top: 1.5px solid var(--encre); }
.tableau li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--filet); transition: padding .4s var(--sortie); }
.tableau li:hover { padding-left: 8px; }
.tableau li b { font-weight: 600; font-size: 1rem; }
.tableau li span { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris1); text-align: right; }
.tableau-large { margin-top: 44px; }
@media (min-width: 820px) { .tableau-large { columns: 2; column-gap: 56px; border-top: 0; } .tableau-large li { break-inside: avoid; } .tableau-large li:first-child, .tableau-large li:nth-child(4) { border-top: 1.5px solid var(--encre); } }

/* ----- instruments */
.instruments { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 48px; border-top: 1.5px solid var(--encre); border-left: 1px solid var(--filet); }
.instrument { padding: 22px 20px 24px; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); min-height: 220px; display: flex; flex-direction: column; transition: background .3s; }
.instrument:hover { background: color-mix(in srgb, var(--stele) 70%, transparent); }
.instrument .valeur { font-size: clamp(1.7rem, 2.5vw, 2.25rem); margin-top: auto; padding-top: 28px; line-height: 1; white-space: nowrap; }
.instrument .valeur small { font-size: .38em; color: var(--texte-2); letter-spacing: .04em; font-weight: 500; }
.instrument .legende { margin-top: 12px; font-size: .9rem; color: var(--texte-2); }
.carres { display: flex; gap: 5px; margin-top: 14px; }
.carres i { width: 18px; height: 10px; border: 1.5px solid var(--encre); transition: background .2s; }
.carres i.plein { background: var(--bloc); }

/* ----- temple */
.carte { border-top: 1.5px solid var(--encre); padding-top: 22px; }
.carte .numeral { font-family: var(--lapid); font-weight: 700; font-size: 1.6rem; color: var(--gris3); }
.carte h3 { font-size: 1.35rem; margin-top: 6px; }
.carte p:not(.numeral) { margin-top: 12px; color: var(--texte-2); max-width: 46ch; }

/* ----- prix */
.offres { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 820px) { .offres { grid-template-columns: 1fr 1fr; } }
.offre { border: 1.5px solid var(--encre); padding: 28px 28px 30px; position: relative; overflow: hidden; }
.offre ul { margin-top: 20px; display: grid; gap: 12px; }
.offre li { padding-left: 26px; position: relative; }
.offre li::before { content: "Λ"; position: absolute; left: 0; font-family: var(--lapid); font-weight: 700; color: var(--gris3); }
.offre-pro { background: var(--bloc); color: var(--sur-bloc); border-color: var(--bloc); }
.offre-pro .etiquette { color: var(--sur-bloc); }
.offre-pro li::before { color: var(--gris2); }
.offre-pro::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .09), transparent); transform: skewX(-12deg); }
.offre-pro.vu::after { animation: reflet 1.8s var(--sortie) .6s; }
@keyframes reflet { to { left: 130%; } }
.note { margin-top: 18px; font-size: .9rem; color: var(--texte-2); }

/* ===================================================================== fin */
/* Plus de bloc peint : c'est la nuit de la page qui tombe sur la liste. */
.final { margin-top: var(--souffle); padding: calc(var(--souffle) * 1.2) 0 calc(var(--souffle) * .9); position: relative; overflow: hidden; }
.final-contenu { position: relative; z-index: 1; }
.final .titre { font-size: clamp(2.3rem, 6vw, 4.6rem); max-width: 15ch; margin-top: 0; }
.final .chapo { color: var(--texte-2); }
.lambda-trace { position: absolute; right: -2%; top: 50%; width: min(52vw, 560px); transform: translateY(-50%); }
.lambda-trace path { fill: none; stroke: var(--filet); stroke-width: 9; stroke-linejoin: miter; stroke-dasharray: 200; stroke-dashoffset: calc(200 - var(--s, 0) * 200); }
.formulaire { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; max-width: 620px; }
.champ {
  flex: 1 1 260px; height: 56px; padding: 0 18px; border: 1.5px solid var(--gris3); background: transparent; color: var(--encre);
  font-family: var(--mono); font-size: .9rem; border-radius: 0; transition: border-color .25s;
}
.champ::placeholder { color: var(--gris2); }
.champ:focus { outline: none; border-color: var(--encre); }
.message { margin-top: 16px; font-size: .88rem; color: var(--texte-2); max-width: 60ch; }
.message--erreur { color: #D26A58; }

.pied { padding: 0 0 40px; }
.pied-rangs { display: grid; gap: 32px; padding-top: 40px; border-top: 1px solid var(--filet); }
@media (min-width: 760px) { .pied-rangs { grid-template-columns: 2fr 1fr 1fr; } }
.pied-rangs p { margin-top: 14px; color: var(--texte-2); font-size: .92rem; max-width: 34ch; }
.pied ul { display: grid; gap: 8px; font-size: .95rem; }
.pied ul a { text-decoration: none; color: var(--texte-2); transition: color .2s; }
.pied ul a:hover { color: var(--encre); }
.pied-bas { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--filet); }
.langue a { text-decoration: none; margin-left: 8px; }
.langue a[aria-current] { color: var(--encre); }

/* ======================================================= mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .entree, .entree-mot, .apparait { opacity: 1; transform: none; filter: none; }
  .titre .mot-r > span { transform: none; }
  .meandre.trace { clip-path: none; }
  .liens-sync .impulsion { display: none; }
}

/* ======================================================= pages de texte
   Assistance, confidentialité, conditions, presse : le même monde que
   l'accueil, sans spectacle. Les classes historiques (.texte, .etroit,
   .enonce, .glose, .tableau > div…) sont reprises telles quelles pour ne
   pas toucher au texte des pages. */
.texte { padding-top: clamp(132px, 19vh, 184px); padding-bottom: var(--souffle); }
/* Une colonne de lecture, centrée : la page se lit, elle ne se parcourt pas. */
main.texte { max-width: calc(760px + var(--marge) * 2); }
.texte .etroit { max-width: none; }
.etroit { max-width: 68ch; }
.texte p { margin: 0 0 1.05em; max-width: none; }
.texte a:not(.bouton) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--gris3); transition: text-decoration-color .2s; }
.texte a:not(.bouton):hover { text-decoration-color: var(--encre); }
.texte .enonce { font-size: clamp(2.5rem, 6.4vw, 4.2rem) !important; }
.enonce { font-size: clamp(2.2rem, 6.4vw, 3.8rem); line-height: 1.04; letter-spacing: -.03em; margin: 0; }
.enonce.titre { margin-top: 0; }
.glose { color: var(--texte-2); font-size: 1rem; line-height: 1.6; }
.sous-titre { font-size: 1.16rem; line-height: 1.35; font-weight: 600; margin: 0 0 8px; }
.etiquette--encre { color: var(--encre); }
.annotation__tete { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: end; }
.annotation__tete .gravure { width: auto; max-width: clamp(78px, 13vw, 150px); max-height: 140px; }
@media (max-width: 640px) { .annotation__tete .gravure { display: block; max-width: 78px; } }
.texte h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: -.02em; margin: 56px 0 14px; padding-top: 22px; border-top: 1px solid var(--filet); }
.texte h3 { margin-top: 30px; }
.texte ul { list-style: none; padding: 0; max-width: none; margin: 0 0 1.05em; }
.texte ul li { position: relative; padding-left: 22px; margin: .45em 0; }
.texte ul li::before { content: "Λ"; position: absolute; left: 0; top: .05em; font-family: var(--lapid); font-weight: 700; font-size: .85em; color: var(--gris3); }
.texte code { font-family: var(--mono); font-size: .86em; background: var(--filet-faible); padding: 1px 6px; }
.texte .sommaire { margin-top: 34px; padding: 18px 0 8px; border-top: 1.5px solid var(--encre); border-bottom: 1px solid var(--filet); }
.texte .sommaire ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 28px; }
.texte .sommaire a { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--texte-2); }
.texte .sommaire a:hover { color: var(--encre); }
.tableau > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--filet); transition: padding .4s var(--sortie); }
.tableau > div:hover { padding-left: 8px; }
.tableau .cle { font-weight: 600; font-size: 1rem; }
.tableau .val { margin: 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris1); text-align: right; }
.texte .tableau { margin: 22px 0 1.4em; }
.texte .bouton { margin-top: 10px; }
.texte .apparait-doux { animation: entre 1s var(--sortie) both; }
