/* Site de vente de Kame. Mêmes jetons que l'appli (E:\KAME\crates\kame-ui\styles\jetons.css),
   palette Ambre, thème sombre. Aucune couleur ni taille en dur plus bas : tout vient d'ici. */

/* ===== Polices embarquées (licence OFL, voir /polices/OFL.txt) ===== */
@font-face { font-family: "Dela Gothic One"; font-style: normal; font-weight: 400; font-display: swap; src: url(../polices/dela-gothic-one-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dela Gothic One"; font-style: normal; font-weight: 400; font-display: swap; src: url(../polices/dela-gothic-one-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 500; font-display: swap; src: url(../polices/zen-kaku-gothic-new-500-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 500; font-display: swap; src: url(../polices/zen-kaku-gothic-new-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 700; font-display: swap; src: url(../polices/zen-kaku-gothic-new-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 700; font-display: swap; src: url(../polices/zen-kaku-gothic-new-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 900; font-display: swap; src: url(../polices/zen-kaku-gothic-new-900-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 900; font-display: swap; src: url(../polices/zen-kaku-gothic-new-900-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== Jetons : « Shonen sobre », palette Ambre de Kame ===== */
:root {
  color-scheme: dark;
  --pt: "Dela Gothic One", "Arial Black", sans-serif;   /* titres : le lettrage d'un titre de série */
  --px: "Zen Kaku Gothic New", "Yu Gothic UI", sans-serif;
  --h: 265;
  --fond: oklch(0.185 0.024 var(--h)); --surface: oklch(0.24 0.028 var(--h)); --creux: oklch(0.155 0.022 var(--h));
  --encre: oklch(0.955 0.008 var(--h)); --encre-2: oklch(0.80 0.02 var(--h)); --filet: oklch(0.34 0.028 var(--h));
  --vive: oklch(0.85 0.14 88); --sur-vive: oklch(0.17 0.02 var(--h));
  --agent: oklch(0.80 0.09 225); --agent-fond: oklch(0.245 0.035 240);
  --alerte: oklch(0.82 0.12 25); --alerte-fond: oklch(0.26 0.05 25);
  --point: color-mix(in oklch, var(--vive) 60%, transparent);
  --filigrane: oklch(0.255 0.03 var(--h));

  --t-detail: 1.0625rem; --t-texte: 1.25rem; --t-fort: 1.5rem; --t-titre: clamp(1.9rem, 4vw, 2.75rem);
  --t-geant: clamp(2.4rem, 6vw, 4.25rem);
  --e-2: .5rem; --e-3: .75rem; --e-4: 1rem; --e-6: 1.5rem; --e-8: 2rem; --e-12: 3rem; --e-16: 4rem; --e-24: 6rem;
  --cible: 48px; --rayon: 6px; --trait: 3px; --penche: -6deg; --large: 74rem; --lecture: 42rem;
  --marge: max(16px, calc((100% - var(--large)) / 2));
  --vif: cubic-bezier(.34, 1.56, .64, 1); --doux: cubic-bezier(.2, 0, 0, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 500 var(--t-texte)/1.55 var(--px);
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
main { flex: 1; overflow-x: clip; }  /* les titres penchés (skew) dépassent de 1 à 2 px sur les textes longs */
::selection { background: var(--vive); color: var(--sur-vive); }
:focus-visible { outline: 3px solid var(--agent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--encre); text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--vive); }
a:hover { color: var(--vive); }
strong, b { font-weight: 900; }
.discret { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: var(--e-4); top: -10rem; z-index: 100; background: var(--vive); color: var(--sur-vive); padding: var(--e-3) var(--e-4); font-weight: 900; border-radius: var(--rayon); }
.evitement:focus { top: var(--e-4); }
html { scrollbar-color: var(--filet) var(--creux); }

/* Titres : le lettrage penché d'une couverture de manga */
.titre { font: 400 var(--t-titre)/1.08 var(--pt); text-transform: uppercase; transform: skew(var(--penche)); transform-origin: left bottom; letter-spacing: .01em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.chapo { color: var(--encre-2); font-size: var(--t-fort); line-height: 1.4; max-width: 36rem; text-wrap: pretty; }
.chapo b { color: var(--encre); }

/* ===== Bandeau ===== */
.bandeau { position: sticky; top: 0; z-index: 30; background: var(--fond); border-bottom: 1px solid var(--filet);
  display: flex; align-items: center; gap: var(--e-6); padding: var(--e-3) var(--marge); }
.marque { display: inline-flex; align-items: center; gap: var(--e-3); text-decoration: none; min-height: var(--cible); }
.marque img { width: 40px; height: 40px; }
.marque span { font: 400 1.75rem/1 var(--pt); color: var(--vive); transform: skew(var(--penche)); letter-spacing: .02em; }
.marque:hover { color: inherit; }
.bandeau > nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: var(--e-2); list-style: none; padding: 0; margin: 0; }
.nav a { display: inline-flex; align-items: center; min-height: var(--cible); padding: 0 var(--e-3); font-weight: 700; text-decoration: none; border-radius: var(--rayon); }
.nav a:hover { color: var(--encre); background: var(--surface); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--vive); text-decoration-thickness: 3px; }

/* Sélecteur de langue : chaque langue écrite dans sa langue, sans drapeau ; la liste s'ouvre comme une case */
.langues { position: relative; }
.langues summary { display: inline-flex; align-items: center; gap: var(--e-2); min-height: var(--cible); padding: 0 var(--e-3);
  font-weight: 700; cursor: pointer; list-style: none; border: 2px solid var(--filet); border-radius: var(--rayon); }
.langues summary::-webkit-details-marker { display: none; }
.langues summary::after { content: ""; width: .5em; height: .5em; border: solid currentColor; border-width: 0 3px 3px 0;
  transform: translateY(-.15em) rotate(45deg); transition: transform .15s var(--doux); }
.langues[open] summary::after { transform: translateY(.1em) rotate(-135deg); }
.langues summary:hover, .langues[open] summary { border-color: var(--vive); }
.langues .code { display: none; }
.langues ul { position: absolute; right: 0; top: calc(100% + var(--e-2)); z-index: 40; min-width: 12rem; margin: 0; padding: var(--e-2);
  list-style: none; background: var(--surface); border: var(--trait) solid var(--encre); border-radius: 4px; box-shadow: 5px 5px 0 var(--vive); }
.langues ul a { display: flex; align-items: center; min-height: var(--cible); padding: 0 var(--e-3); font-weight: 700; text-decoration: none; border-radius: var(--rayon); }
.langues ul a:hover { color: var(--encre); background: var(--fond); }
.langues ul a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--vive); text-decoration-thickness: 3px; }
.suggestion-langue { display: flex; align-items: center; justify-content: space-between; gap: var(--e-4); padding: var(--e-2) var(--marge);
  background: var(--creux); border-bottom: 1px solid var(--filet); font-size: var(--t-detail); }
.suggestion-langue a { font-weight: 900; }
.suggestion-langue .fermer { flex: none; width: var(--cible); height: var(--cible); font: 900 1.5rem/1 var(--px); color: var(--encre);
  background: none; border: 2px solid var(--filet); border-radius: var(--rayon); cursor: pointer; }
.suggestion-langue .fermer:hover { border-color: var(--vive); }

/* ===== Boutons : une seule famille. La « frappe » est le bouton vif, penché comme un titre ===== */
.frappe, .second { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 4rem; padding: 0 var(--e-8);
  font: 400 var(--t-fort)/1.1 var(--pt); text-transform: uppercase; text-decoration: none; border-radius: 4px; cursor: pointer;
  transform: skew(var(--penche)); transition: transform .2s var(--vif), box-shadow .15s var(--doux), background-color .15s; }
.frappe { background: var(--vive); color: var(--sur-vive); border: 0; --pt-trame: oklch(0.17 0.02 265 / .5); }
.frappe:hover { color: var(--sur-vive); transform: skew(var(--penche)) translate(-3px, -3px); box-shadow: 6px 6px 0 var(--encre); }
.frappe:active { transform: skew(var(--penche)) translate(3px, 3px) scale(.98); box-shadow: 0 0 0 var(--encre); }
.second { background: none; color: var(--encre); border: 2px solid var(--encre); font-size: var(--t-texte); min-height: 3.5rem; padding: 0 var(--e-6); }
.second:hover { color: var(--encre); transform: skew(var(--penche)) translate(-3px, -3px); box-shadow: 5px 5px 0 var(--vive); }
.second:active { transform: skew(var(--penche)) translate(2px, 2px); box-shadow: none; }
.bandeau .frappe { min-height: var(--cible); font-size: var(--t-texte); padding: 0 var(--e-4); }

/* Trame : des points de manga qui s'allument autour de la souris (site.js pose --mx/--my) */
.trame { --mx: -99px; --my: -99px; }
.trame::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle, var(--pt-trame, var(--point)) 1.4px, transparent 1.9px) 0 0 / 9px 9px;
  -webkit-mask-image: radial-gradient(var(--r-trame, 110px) circle at var(--mx) var(--my), #000, transparent 100%);
          mask-image: radial-gradient(var(--r-trame, 110px) circle at var(--mx) var(--my), #000, transparent 100%); }
.trame:hover::before { opacity: .8; }

/* ===== Sections ===== */
.bloc { padding: var(--e-24) var(--marge) 0; position: relative; }
.bloc > .titre { margin-bottom: var(--e-4); }
.bloc > .chapo { margin-bottom: var(--e-12); }

/* ===== Ouverture : le titre frappe, la vraie capture de Kame en case penchée ===== */
.ouverture { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--e-12); align-items: center;
  padding: var(--e-16) var(--marge) var(--e-8); position: relative; }
.ouverture h1 { font: 400 var(--t-geant)/1 var(--pt); text-transform: uppercase; transform: skew(var(--penche)); transform-origin: left bottom; text-wrap: balance;
  animation: titre-frappe .42s var(--vif) .06s backwards; }
.ouverture h1 em { font-style: normal; display: block; color: var(--vive); }
.ouverture .chapo { margin-top: var(--e-6); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-4) var(--e-8); margin-top: var(--e-8); padding-left: var(--e-2); }
.actions a:not(.frappe) { font-weight: 700; min-height: var(--cible); display: inline-flex; align-items: center; }
.ouverture .note { margin-top: var(--e-4); }
.sfx { position: absolute; font: 400 clamp(6rem, 16vw, 13rem)/1 var(--pt), "Yu Gothic", "Meiryo", sans-serif; color: var(--filigrane);
  transform: skew(-12deg) rotate(-6deg); user-select: none; pointer-events: none; z-index: 0; }
.ouverture .sfx { right: var(--marge); top: var(--e-4); }
.ouverture > * { position: relative; z-index: 1; }
.ouverture > .sfx { position: absolute; z-index: 0; }
.note { font-size: var(--t-detail); color: var(--encre-2); }

/* La case : bordure d'encre, ombre décalée pleine, comme une case de planche */
.case { position: relative; background: var(--surface); border: var(--trait) solid var(--encre); border-radius: 2px; box-shadow: 8px 8px 0 var(--vive); }
.case img { width: 100%; }
.vitrine { rotate: 1.5deg; }
.bulle { position: absolute; left: -1.5rem; bottom: -2rem; max-width: 19rem; background: var(--encre); color: var(--sur-vive); font-weight: 900; font-size: var(--t-texte); line-height: 1.35;
  padding: var(--e-3) var(--e-4); border-radius: 1.4rem; rotate: -3deg; box-shadow: 4px 4px 0 var(--sur-vive); }
.bulle::after { content: ""; position: absolute; right: 2.5rem; top: -14px; border: 9px solid transparent; border-bottom: 14px solid var(--encre); border-top: 0; }

/* ===== La planche des fonctionnalités : l'unique audace. Une page de manga, cases de tailles inégales ===== */
.planche { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; }
.planche > li { position: relative; background: var(--surface); border: var(--trait) solid var(--encre); border-radius: 2px; overflow: hidden;
  display: flex; flex-direction: column; transition: translate .18s var(--doux), box-shadow .18s var(--doux); }
.planche > li:hover { translate: -3px -3px; box-shadow: 6px 6px 0 var(--vive); }
.planche .texte { padding: var(--e-4) var(--e-6) var(--e-6); position: relative; z-index: 1; }
.planche h3 { font: 400 var(--t-fort)/1.15 var(--pt); text-transform: uppercase; transform: skew(var(--penche)); transform-origin: left bottom; margin-bottom: var(--e-2); }
.planche p { max-width: 34rem; }
.planche picture { display: block; border-top: var(--trait) solid var(--encre); margin-top: auto; }
.planche img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.c-histoire { grid-column: span 4; grid-row: span 2; }
.c-histoire img { aspect-ratio: 16 / 10.5; }
.c-seance { grid-column: span 2; grid-row: span 2; }
.c-seance img { aspect-ratio: 4 / 5; }
.c-reseau { grid-column: span 3; }
.c-carte { grid-column: span 3; }
.c-departs, .c-memoire, .c-sons { grid-column: span 2; }
/* Le co-scénariste : un bonus à l'écart, sous la planche, dans sa couleur et en pointillé comme dans l'appli */
.bonus { margin-top: var(--e-8); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-2) var(--e-6); align-items: center;
  background: var(--agent-fond); border: 2px dashed var(--agent); border-radius: var(--rayon); padding: var(--e-6); max-width: 60rem; }
.bonus .onoma { color: var(--agent); grid-row: span 2; margin: 0; }
.bonus h3 { font: 900 var(--t-fort)/1.25 var(--px); color: var(--agent); }
.c-sons { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 2.2rem)); }
.c-sons .texte { padding-bottom: var(--e-12); }
.onoma { display: block; font: 400 2.75rem/1 var(--pt); color: var(--vive); transform: skew(-10deg) rotate(-4deg); margin-bottom: var(--e-3);
  -webkit-text-stroke: 5px var(--sur-vive); paint-order: stroke fill; }

/* ===== L'agent propose, toi tu décides : deux voix, jamais confondues ===== */
.dialogue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--e-8); align-items: start; max-width: 60rem; }
.voix { padding: var(--e-6); border-radius: var(--rayon); }
.voix-auteur { background: var(--surface); border: var(--trait) solid var(--encre); box-shadow: 6px 6px 0 var(--vive); }
.voix-agent { background: var(--agent-fond); border: 2px dashed var(--agent); margin-top: var(--e-12); }
.qui { display: block; font-weight: 900; font-size: var(--t-detail); margin-bottom: var(--e-2); color: var(--vive); }
.voix-agent .qui { color: var(--agent); }
.voix p { font-weight: 700; font-size: var(--t-fort); line-height: 1.35; }
.voix .regle { font-weight: 500; font-size: var(--t-detail); color: var(--encre-2); margin-top: var(--e-3); }
.promesses { list-style: none; padding: 0; margin-top: var(--e-12); display: grid; gap: var(--e-4); max-width: 44rem; }
.bloc-exemple { margin-top: var(--e-12); }
.promesses li { padding-left: 2.6rem; position: relative; font-weight: 700; }
.promesses li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.4rem; height: 1.1rem; background: var(--vive);
  clip-path: polygon(0 55%, 18% 38%, 40% 62%, 82% 0, 100% 16%, 40% 100%); }

/* ===== Pour qui ===== */
.pour-qui { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--e-12); }
.pour-qui h3 { font: 900 var(--t-fort)/1.2 var(--px); margin-bottom: var(--e-4); }
.pour-qui ul { padding-left: 1.3rem; display: grid; gap: var(--e-3); }
.pour-qui li::marker { color: var(--vive); }
.pas-pour li::marker { color: var(--encre-2); }
.pas-pour { color: var(--encre-2); border-left: 1px solid var(--filet); padding-left: var(--e-8); }
.pas-pour h3 { color: var(--encre); }

/* ===== FAQ ===== */
.faq { max-width: var(--lecture); border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--e-4);
  min-height: 4rem; padding: var(--e-3) 0; font-weight: 900; font-size: var(--t-fort); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 2rem/1 var(--pt); color: var(--vive); flex: none; transition: rotate .2s var(--vif); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 0 var(--e-6); color: var(--encre-2); display: grid; gap: var(--e-3); max-width: 38rem; }
.faq details > div b { color: var(--encre); }
:root { interpolate-size: allow-keywords; }
@supports selector(::details-content) {
  details::details-content { block-size: 0; overflow: clip; transition: block-size .28s var(--doux), content-visibility .28s allow-discrete; }
  details[open]::details-content { block-size: auto; }
}

/* ===== Appel final ===== */
.appel { margin: var(--e-24) var(--marge) 0; padding: var(--e-12) var(--e-8); background: var(--vive); color: var(--sur-vive); position: relative; overflow: hidden;
  border: var(--trait) solid var(--encre); display: grid; gap: var(--e-6); justify-items: start; }
.appel .titre { position: relative; z-index: 1; }
.appel p { font-weight: 700; font-size: var(--t-fort); max-width: 34rem; position: relative; z-index: 1; }
.appel .sfx { right: -1rem; bottom: -3rem; color: oklch(0.80 0.14 88); }
.appel .frappe { background: var(--sur-vive); color: var(--vive); --pt-trame: color-mix(in oklch, var(--vive) 55%, transparent); }
.appel .frappe:hover { color: var(--vive); box-shadow: 6px 6px 0 var(--encre); }
.appel :focus-visible { outline-color: var(--sur-vive); }
.appel a:not(.frappe) { color: var(--sur-vive); text-decoration-color: var(--sur-vive); }

/* ===== Pied de page ===== */
.pied { margin-top: var(--e-24); border-top: 1px solid var(--filet); background: var(--creux); padding: var(--e-12) var(--marge) var(--e-8);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--e-8); font-size: var(--t-detail); }
.pied ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--e-2) var(--e-6); }
.pied a { display: inline-flex; min-height: var(--cible); align-items: center; }
.pied .note { grid-column: 1 / -1; }

/* ===== Tarifs ===== */
.offres { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--e-6); align-items: stretch; list-style: none; padding: 0; }
.offre { position: relative; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); padding: var(--e-8) var(--e-6) var(--e-6);
  display: flex; flex-direction: column; gap: var(--e-4); }
.offre.mise { border: var(--trait) solid var(--encre); box-shadow: 8px 8px 0 var(--vive); border-radius: 2px; }
.offre h2 { font: 400 var(--t-fort)/1.15 var(--pt); text-transform: uppercase; transform: skew(var(--penche)); transform-origin: left bottom; }
.prix { font: 400 clamp(2.2rem, 3.4vw, 3rem)/1 var(--pt); font-variant-numeric: tabular-nums; }
.prix small { font: 700 var(--t-texte)/1 var(--px); color: var(--encre-2); white-space: nowrap; }
.tampon { position: absolute; top: -1rem; right: var(--e-4); background: var(--alerte-fond); color: var(--alerte); border: 2px solid var(--alerte);
  font-weight: 900; font-size: var(--t-detail); padding: 2px var(--e-3); rotate: 4deg; border-radius: 2px; }
.offre ul { padding-left: 1.2rem; display: grid; gap: var(--e-2); }
.offre li::marker { color: var(--vive); }
.offre .frappe, .offre .second { margin-top: auto; align-self: flex-start; margin-left: var(--e-2); }
.offre .frappe { font-size: var(--t-texte); min-height: 3.5rem; padding: 0 var(--e-6); }
.comparer { margin-top: var(--e-12); max-width: var(--lecture); display: grid; gap: var(--e-3); }
.prix-an { font-weight: 700; color: var(--encre); }
.offre .bonus-ligne { color: var(--agent); }
/* Télécharger : deux appareils côte à côte ; l'empreinte se coupe n'importe où */
.offres.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.empreinte { grid-template-columns: max-content minmax(0, 1fr); margin-top: 0; gap: var(--e-2) var(--e-4); }
.empreinte code { word-break: break-all; font-size: .85em; }
.autres { list-style: none; padding: 0; margin-top: var(--e-12); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-6) var(--e-8); border-top: 1px solid var(--filet); padding-top: var(--e-8); }
.autres h2 { font: 900 var(--t-fort)/1.2 var(--px); }
.autres .prix { font-size: 2rem; margin: var(--e-2) 0; }
.autres p:last-child { color: var(--encre-2); }

/* ===== Les méthodes des grands auteurs : une page de références, comme la fin d'un volume ===== */
.auteurs { list-style: none; padding: 0; columns: 2 22rem; column-gap: var(--e-12); max-width: 62rem; }
.auteurs li { break-inside: avoid; padding: var(--e-3) 0; border-bottom: 1px solid var(--filet); }
.auteurs b { display: block; font: 400 var(--t-fort)/1.2 var(--pt); }
.auteurs span { color: var(--encre-2); }
.auteurs i { color: var(--encre); font-style: italic; }

/* ===== Formulaire de la liste d'attente ===== */
.formulaire { max-width: 36rem; display: grid; gap: var(--e-4); margin-top: var(--e-8); }
.formulaire label { font-weight: 900; }
.formulaire input[type="email"] { font: inherit; color: inherit; background: var(--creux); border: 2px solid var(--filet); border-radius: var(--rayon);
  min-height: 3.5rem; padding: 0 var(--e-4); width: 100%; transition: border-color .15s, box-shadow .15s; }
.formulaire input[type="email"]::placeholder { color: var(--encre-2); }
.formulaire input[type="email"]:focus { outline: none; border-color: var(--vive); box-shadow: 0 0 0 4px color-mix(in oklch, var(--vive) 28%, transparent); }
.formulaire input[aria-invalid="true"] { border-color: var(--alerte); }
.consentement { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-3); align-items: start; font-weight: 500 !important; }
.consentement input { width: 1.5rem; height: 1.5rem; margin: .2rem 0 0; accent-color: var(--vive); }
.formulaire .frappe { justify-self: start; margin-left: var(--e-2); }
.message { font-weight: 700; min-height: 1.5em; }
.message[data-etat="erreur"] { color: var(--alerte); }
.message[data-etat="ok"] { color: var(--vive); }
.message[data-etat="info"] { color: var(--agent); }

/* ===== Télécharger ===== */
.etapes { list-style: none; padding: 0; counter-reset: etape; display: grid; gap: var(--e-6); max-width: var(--lecture); }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--e-4); }
.etapes li::before { content: counter(etape); font: 400 2.25rem/1 var(--pt); color: var(--vive); transform: skew(var(--penche)); }
.fiche-tech { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--e-3) var(--e-8); max-width: var(--lecture); margin-top: var(--e-8); }
.fiche-tech dt { font-weight: 900; }
.fiche-tech dd { color: var(--encre-2); }

/* ===== Pages de texte (légal, licences) ===== */
.doc { max-width: calc(var(--lecture) + 32px); padding: var(--e-16) 16px 0; margin: 0 auto; width: 100%; }
.doc h1 { margin-bottom: var(--e-8); font-size: clamp(1.5rem, 6.4vw, 2.75rem); }
.doc h2 { font: 900 var(--t-fort)/1.25 var(--px); margin: var(--e-12) 0 var(--e-3); }
.doc h3 { font: 900 var(--t-texte)/1.3 var(--px); margin: var(--e-6) 0 var(--e-2); }
.doc p, .doc ul, .doc ol, .doc table { margin-bottom: var(--e-4); }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li + li { margin-top: var(--e-2); }
.prevenir { background: var(--alerte-fond); border: var(--trait) solid var(--alerte); padding: var(--e-4) var(--e-6); margin-bottom: var(--e-8); border-radius: 2px; }
.prevenir strong { color: var(--alerte); display: block; font: 400 var(--t-texte)/1.3 var(--pt); text-transform: uppercase; margin-bottom: var(--e-2); }
.prevenir p { margin: 0; }
mark.a-completer { background: var(--vive); color: var(--sur-vive); font-weight: 900; padding: 0 .3em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tableau { width: 100%; border-collapse: collapse; font-size: var(--t-detail); }
.tableau th, .tableau td { text-align: left; padding: var(--e-3) var(--e-3) var(--e-3) 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.tableau th { font-weight: 900; }
.defile { overflow-x: auto; }

/* ===== 404 et Bientôt ===== */
.perdu { padding: var(--e-16) var(--marge) 0; position: relative; display: grid; gap: var(--e-6); justify-items: start; }
.perdu .sfx { right: var(--marge); top: var(--e-8); }
.perdu > :not(.sfx) { position: relative; z-index: 1; }

/* ===== Mouvement : une seule entrée orchestrée (le titre qui frappe), le reste répond aux gestes ===== */
@keyframes titre-frappe { from { opacity: 0; transform: skew(var(--penche)) scale(1.18) translate(0, -10px); } }
.message:not(:empty) { animation: annonce .32s var(--vif); }
@keyframes annonce { from { opacity: 0; translate: 0 -6px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .trame::before { display: none; }
  .planche > li:hover, .frappe:hover, .second:hover { translate: none; box-shadow: none; }
  .frappe:hover, .second:hover, .frappe:active, .second:active { transform: skew(var(--penche)); }
}

/* ===== Écrans moyens ===== */
@media (max-width: 1000px) {
  .ouverture { grid-template-columns: minmax(0, 1fr); gap: var(--e-16); }
  .vitrine { max-width: 40rem; }
  .c-seance, .c-histoire, .c-reseau, .c-carte { grid-column: span 6; grid-row: auto; }
  .c-seance img { aspect-ratio: 16 / 10; object-position: top left; }
  .offres, .offres.deux { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .autres { grid-template-columns: minmax(0, 1fr); }
  .pour-qui { grid-template-columns: minmax(0, 1fr); }
  .pas-pour { border-left: 0; padding-left: 0; border-top: 1px solid var(--filet); padding-top: var(--e-6); }
}
/* ===== Téléphone (390 px) ===== */
@media (max-width: 700px) {
  .bandeau { flex-wrap: wrap; gap: 0 var(--e-2); padding-top: var(--e-2); padding-bottom: 0; }
  .bandeau .frappe { margin-left: auto; font-size: 1rem; padding: 0 10px; }
  .marque span { font-size: 1.4rem; }
  .marque { gap: var(--e-2); }
  .bandeau > nav { order: 3; flex-basis: 100%; margin: 0 -12px; }
  .langues { margin-left: auto; }
  .bandeau { gap: 0 6px; }
  .marque { gap: 6px; }
  .marque img { width: 34px; height: 34px; }
  .marque span { font-size: 1.15rem; }
  .bandeau .frappe { font-size: .9rem; padding: 0 8px; }
  .langues .nom { display: none; }
  .langues .code { display: inline; }
  .langues summary { padding: 0 8px; gap: 6px; }
  .bandeau .langues + .frappe { margin-left: 0; }
  .nav { justify-content: space-between; }
  .nav a { padding: 0 12px; }
  .ouverture { padding-top: var(--e-12); }
  .bulle { left: var(--e-2); bottom: -2.5rem; max-width: 85%; }
  .c-departs, .c-memoire, .c-sons { grid-column: span 6; }
  .bonus { grid-template-columns: minmax(0, 1fr); }
  .bonus .onoma { grid-row: auto; }
  .dialogue { grid-template-columns: minmax(0, 1fr); gap: var(--e-6); }
  .voix-agent { margin-top: 0; margin-left: var(--e-6); }
  .bloc { padding-top: var(--e-16); }
  .appel { padding: var(--e-8) var(--e-6); }
  .pied { grid-template-columns: minmax(0, 1fr); }
  .fiche-tech { grid-template-columns: minmax(0, 1fr); gap: var(--e-2); }
  .fiche-tech dd { margin-bottom: var(--e-3); }
  .frappe { font-size: var(--t-texte); padding: 0 var(--e-6); }
}
