/* ──────────────────────────────────────────────────────────────────────────
   maelstrom.css — Direction « Maelstrom » · Pierre Gerbaud Design System
   À charger APRÈS colors_and_type.css (et après site.css sur le site).
   Le moteur de nuages de points (titres, icônes, figures) est dans
   assets/pg-cloud.js — voir README § 4 et § 5.

   Concept (logo_maelstrom_nautilus.png) :
   — la réalité est un dessin complexe en pointillé, gravure Renaissance,
     gris sur blanc ;
   — une seule couleur d'appoint, l'or, en petites touches franches,
     pointe et éclaire ce qui est important.

   v3 — septembre 2026, après cinq tours d'inventaire avec Pierre :
   · casse de phrase partout, jamais de petites capitales ;
   · plus de fond nuit : le système vit sur blanc, l'or n'a qu'une valeur ;
   · l'italique ne souligne rien — il est réservé aux citations et
     témoignages, en Cormorant Garamond ;
   · séparateurs jamais pleine largeur ; marques de bloc = trait d'or 32×2 ;
   · icônes, titres et figures en nuage de points (pg-cloud.js), l'or
     y est l'ombre d'une lumière venant du haut-gauche ;
   · un catalogue complet des composants : preview/maelstrom-v3.html.
   ────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,400;1,500&display=swap');

@font-face {
  font-family: 'Chancelaresca PW';
  src: url('assets/fonts/pw_chancelaresca.ttf') format('truetype');
  font-display: block;
}

/* ══ 1. Tokens ═══════════════════════════════════════════════════════════ */
:root {
  /* Papier — blanc pur. Jamais de beige : les niveaux 2 et 3 sont réservés
     aux fonds de démonstration et restent quasi blancs. */
  --paper-0: #FFFFFF;
  --paper-1: #FFFFFF;
  --paper-2: #FAFAF8;
  --paper-3: #F4F4F1;

  /* Lignes — gris de gravure, neutres */
  --line-soft:   #EFEEEB;
  --line:        #E4E3DF;
  --line-strong: #D1D0CB;

  /* L'unique accent : l'or du logo */
  --maelstrom:      #FFBD00; /* formes pleines : disque, trait, bouton, ombre des icônes */
  --maelstrom-text: #E8A000; /* version texte — un mot, un numéral, un chiffre clé */
  --maelstrom-wash: #FFF3D0; /* lavis : encart offert, sélection, bulle */

  --accent:       var(--maelstrom-text);
  --accent-hover: #D19000;
  --accent-press: #BB8200;
  --accent-2:     var(--maelstrom);
  --link:         var(--maelstrom-text);
  --link-hover:   #D19000;
  --focus-ring:   color-mix(in oklab, var(--maelstrom) 55%, transparent);

  /* Trois voix + une main : EB Garamond (titres), Newsreader (texte),
     IBM Plex Mono (étiquettes, cotes, chiffres) ; Cormorant Garamond
     italique pour les seules citations ; Chancelaresca pour la main. */
  --font-italic: 'Cormorant Garamond', var(--font-display);
  --font-hand:   'Chancelaresca PW', var(--font-display);
}

::selection { background: var(--maelstrom-wash); }
body { background: var(--paper-1); color: var(--ink-900); }

/* ══ 2. Typographie ══════════════════════════════════════════════════════ */

/* Titres display — casse de phrase, jamais de capitales forcées */
.h-d { font-family: var(--font-display); font-weight: 500; color: var(--ink-900); letter-spacing: -.012em; line-height: 1.08; margin: 0; text-transform: none; }
.h-d.t1 { font-size: 72px; line-height: .96; letter-spacing: -.02em; max-width: 12ch; text-wrap: balance; }
.h-d.t2 { font-size: 38px; line-height: 1.06; letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.h-d.t3 { font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
@media (max-width: 720px) { .h-d.t1 { font-size: 46px; } .h-d.t2 { font-size: 30px; } }

/* Chapeau : encre foncée, mesure courte */
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-700); max-width: 52ch; margin: 0; }

/* Corps courant et corps d'essai (plus interligné, avec lettrine) */
.prose { font-size: 15.5px; line-height: 1.55; color: var(--ink-700); margin: 0; }
.essay { font-size: 15.5px; line-height: 1.62; color: var(--ink-700); margin: 0 0 14px; max-width: 60ch; }
.lettrine { float: left; font-family: var(--font-hand); font-size: 76px; line-height: .72; padding: 10px 12px 0 0; color: var(--maelstrom-text); }

/* Étiquettes — la seule place du mono : eyebrows, kickers, cotes, chiffres */
.eyebrow, .t-eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--ink-400); text-transform: none; font-weight: 400; }
.eyebrow { display: inline-flex; align-items: baseline; gap: 10px; }
.eyebrow .n { color: var(--maelstrom-text); white-space: nowrap; }
.kick { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ink-400); }
.mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-500); }

/* Folio de page (documents) : point d'or + numéro, sans filet */
.folio { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--ink-400); }
.folio .pg::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--maelstrom); margin-right: 8px; vertical-align: 1px; }

/* Citations et témoignages — la seule place de l'italique */
.quote, .testimonial .q, .wall .q { font-family: var(--font-italic); font-style: italic; font-weight: 500; color: var(--ink-900); }
.quote { font-size: 27px; line-height: 1.3; max-width: 60ch; margin: 0; }
.quote::before { content: "« "; color: var(--maelstrom-text); }
.quote::after  { content: " »"; color: var(--maelstrom-text); }

/* ══ 3. Petites touches d'or — « pointer ce qui est important » ═══════════ */

.mael-dot { display: inline-block; width: .42em; height: .42em; border-radius: 50%; background: var(--maelstrom); vertical-align: .08em; }
.hl-word { color: var(--maelstrom-text); }

/* Trait d'or plein sous le mot */
.hl-stroke { background: linear-gradient(var(--maelstrom), var(--maelstrom)) no-repeat 0 92% / 100% .09em; padding-bottom: .04em; position: relative; }
.hl-stroke::after { content: ""; position: absolute; left: 0; right: 0; top: calc((100% - .09em) * .92); height: .09em; background: url(assets/img/grain.png?v=3) 0 0 / 128px; pointer-events: none; }

/* Surligneur — un mot ou deux par page, pas plus */
.hl-mark { background: linear-gradient(180deg, transparent 55%, rgba(255, 189, 0, .42) 55%, rgba(255, 189, 0, .42) 96%, transparent 96%); padding: 0 .06em; position: relative; }
.hl-mark::before { content: ""; position: absolute; left: 0; right: 0; top: 55%; bottom: 4%; background: url(assets/img/grain.png?v=3) 0 0 / 128px; opacity: .7; pointer-events: none; }

/* Nuage de points sur un mot (pg-cloud.js) : autour · dessous · comète en bout de ligne.
   Règle : une seule touche par titre ; jamais deux sur une même page A4 ; sur le site, une par écran. */
.hl-cloud, .hl-cloudu, .hl-cloudt { position: relative; display: inline-block; z-index: 0; }
.hl-cloud svg, .hl-cloudu svg, .hl-cloudt svg { position: absolute; pointer-events: none; z-index: -1; }
@keyframes pgd0 { 0% { transform: translate(0, 0) } 33% { transform: translate(1.6px, -1.2px) } 66% { transform: translate(-1.3px, 1.5px) } 100% { transform: translate(0, 0) } }
@keyframes pgd1 { 0% { transform: translate(0, 0) } 33% { transform: translate(-1.5px, 1px) } 66% { transform: translate(1.2px, 1.4px) } 100% { transform: translate(0, 0) } }
@keyframes pgd2 { 0% { transform: translate(0, 0) } 33% { transform: translate(1px, 1.6px) } 66% { transform: translate(-1.6px, -1px) } 100% { transform: translate(0, 0) } }
.pg-drift.d0 { animation: pgd0 5s ease-in-out infinite; }
.pg-drift.d1 { animation: pgd1 6.5s ease-in-out infinite; }
.pg-drift.d2 { animation: pgd2 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .pg-drift { animation: none; } }

/* La main du naturaliste */
.hand { font-family: var(--font-hand); font-weight: 400; letter-spacing: .01em; color: var(--ink-500); }
.hand-note { font-family: var(--font-hand); font-size: 19px; color: var(--ink-500); line-height: 1.4; }
.hand-note::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--maelstrom); margin-right: 9px; vertical-align: 2px; }

/* ══ 4. Filets et marques ═════════════════════════════════════════════════ */

.rule-sep { width: 80%; height: 1px; background: var(--line-strong); margin: 48px auto; }   /* jamais pleine largeur */
.rule-g   { width: 32px; height: 2px; background: var(--maelstrom); }                          /* marque de bloc */
.rule-v   { width: 2px; height: 28px; background: var(--maelstrom); }
.mk { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 16px; color: var(--maelstrom-text); margin-bottom: 10px; }
.mk::before { content: ""; width: 32px; height: 2px; background: var(--maelstrom); }         /* .mk : trait + numéral romain */

/* ══ 5. Icônes et figures (pg-cloud.js) ═══════════════════════════════════ */

.ci { display: inline-block; position: relative; line-height: 0; }
.ci canvas { display: block; }
[data-icon] { display: inline-block; line-height: 0; }
[data-icon] svg { display: block; }

/* Planche de figures : deux colonnes, chapitre en mono or, titre, figure, légende */
.planche { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 40px; }
.fig { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fig .ch { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--maelstrom-text); }
.fig .ttl { font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em; line-height: 1.15; color: var(--ink-900); }
.fig .ci { align-self: center; }
.fig .lg { font-size: 15px; line-height: 1.5; color: var(--ink-700); max-width: 56ch; }
.fig .lg .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--maelstrom-text); margin-right: 10px; }
.lab2, .lab3 { display: grid; width: 100%; text-align: center; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-700); margin-top: -2px; }
.lab2 { grid-template-columns: 1fr 1fr; }
.lab3 { grid-template-columns: 1fr 1fr 1fr; }
.lab2 .g, .lab3 .g { color: var(--maelstrom-text); }
@media (max-width: 720px) { .planche { grid-template-columns: 1fr; } }

/* Morphing : un nuage passe d'une figure à l'autre en boucle, légende sous la forme
   <div class="morph" data-morph="niveaux,bifurcation" data-w="640" data-h="360"><span data-cap="niveaux">…</span></div> */
.morph { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.morph canvas { max-width: 100%; height: auto; }
.pg-morph-cap { max-width: 56ch; text-align: center; font-size: 17px; line-height: 1.5; color: var(--ink-700); min-height: 3.2em; transition: opacity .26s ease, transform .26s ease; }
.pg-morph-cap.out { opacity: 0; transform: translateY(4px); }
.pg-morph-cap .ch { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--maelstrom-text); margin-bottom: 8px; }
.pg-morph-cap b { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--ink-900); display: block; margin-bottom: 4px; }

/* ══ 6. Boutons et champs ═════════════════════════════════════════════════ */

.btn { font-family: var(--font-body); font-size: 17px; font-weight: 500; padding: 12px 24px; border-radius: 4px; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; line-height: 1; white-space: nowrap; text-decoration: none; color: var(--ink-900); }
.btn-primary { background: var(--maelstrom) url(assets/img/grain.png?v=3); background-size: 128px; color: var(--ink-900); }
.btn-primary:hover { background: #F5B200 url(assets/img/grain.png?v=3); background-size: 128px; }
.btn-primary:active { background: #E8A800 url(assets/img/grain.png?v=3); background-size: 128px; transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--ink-900); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink-900); }
.btn-line { background: transparent; color: var(--ink-900); padding: 8px 2px; border-radius: 0; border: none; border-bottom: 2px solid var(--maelstrom); }
.btn-ghost { color: var(--maelstrom-text); }
.btn .ar { display: inline-block; line-height: 0; }          /* flèche Phosphor dans le bouton */

.fld label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em; color: var(--ink-500); margin-bottom: 7px; }
.fld input, .fld textarea { width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink-900); background: transparent; border: none; border-bottom: 1px solid var(--line-strong); padding: 8px 0; outline: none; border-radius: 0; }
.fld input:focus, .fld textarea:focus { border-bottom: 2px solid var(--maelstrom); }

/* ══ 7. Composants éditoriaux ═════════════════════════════════════════════ */

/* Triptyque (trois idées, marques romaines) */
.tri { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
.tri .it { font-family: var(--font-display); font-size: 18px; line-height: 1.3; color: var(--ink-900); }
.tri .txt { display: block; font-family: var(--font-body); font-size: 14.5px; line-height: 1.5; color: var(--ink-500); margin-top: 8px; }

/* Étapes : trois colonnes, flèches équidistantes à l'encre */
.steps { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; gap: 0 20px; align-items: start; }
.steps .num { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--maelstrom-text); margin-bottom: 14px; }
.steps h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 0 0 6px; color: var(--ink-900); }
.steps .arr { display: flex; justify-content: center; align-items: center; height: 34px; color: var(--ink-700); }
.steps p { font-size: 14.5px; line-height: 1.5; color: var(--ink-500); margin: 0; }

/* Cartes : filet fin, icône nuage 64, pas de bord coloré, pas d'ombre */
.card-row { display: flex; gap: 20px; flex-wrap: wrap; }
.card { flex: 1 1 220px; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 24px; background: var(--paper-0); }
.card .ci { margin-bottom: 14px; }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.15; margin: 0 0 7px; color: var(--ink-900); }
.card p { font-size: 14px; line-height: 1.5; color: var(--ink-500); margin: 0; }

/* Lignes d'offre : icône, nom + format, texte, prix en Garamond 24 */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.offer { display: flex; flex-direction: column; }
.offer .ci { margin-bottom: 18px; }
.offer h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.01em; color: var(--ink-900); margin: 0 0 6px; line-height: 1.1; }
.offer h3 small { display: block; font-size: 15px; font-weight: 400; color: var(--ink-500); margin-top: 4px; letter-spacing: 0; }
.offer p { font-size: 14.5px; line-height: 1.55; color: var(--ink-500); margin: 0; flex: 1; }
.offer .pr { margin-top: 18px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.01em; color: var(--ink-900); }
.offer .pr small, .cote .pr small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); margin-left: 6px; letter-spacing: .06em; }
@media (max-width: 720px) { .offers { grid-template-columns: 1fr; } }

/* Encart offert : lavis or, icône, bouton or plein avec flèche */
.offer-free { background: var(--maelstrom-wash); border-radius: 6px; padding: 26px 30px 24px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; }
.offer-free h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.1; color: var(--ink-900); margin: 4px 0 10px; letter-spacing: -.01em; }
.offer-free p { font-size: 14.5px; line-height: 1.55; color: var(--ink-700); margin: 0; max-width: 56ch; }
.offer-free .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 20px; }
.offer-free .meta { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-500); }
.offer-free .meta b { font-weight: 500; color: var(--maelstrom-text); }

/* Comparatif : têtes en Garamond marquées d'un trait d'or, lignes en mono */
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px 12px 0; vertical-align: top; }
.cmp thead th { font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--ink-900); padding-bottom: 8px; position: relative; }
.cmp thead th::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--maelstrom); }
.cmp thead th:first-child::after { display: none; }
.cmp tbody th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ink-400); font-weight: 400; width: 120px; }
.cmp td { color: var(--ink-700); }
.cmp tr.pr td { font-family: var(--font-mono); font-size: 13px; color: var(--ink-900); letter-spacing: .03em; }
.cmp .ic { display: inline-flex; align-items: center; gap: 8px; }

/* Cote (fiche de format) : étiquettes mono, prix en Garamond */
.cote { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; color: var(--ink-500); max-width: 220px; }
.cote .pr { grid-column: 1 / -1; margin-top: 8px; padding-top: 10px; position: relative; font-family: var(--font-display); font-size: 22px; color: var(--ink-900); letter-spacing: -.01em; }
.cote .pr::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 1px; background: var(--line-strong); }

/* Lignes étiquette / valeur, sans séparateurs */
.rows .r { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 14px 0; }
.rows .lbl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ink-400); }
.rows .val { font-family: var(--font-display); font-size: 22px; color: var(--ink-900); margin-top: 2px; }

/* Témoignage seul et mur de témoignages */
.testimonial { max-width: 60ch; }
.testimonial .q { font-size: 27px; line-height: 1.3; }
.testimonial .who { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.testimonial .who .rs { width: 32px; height: 2px; background: var(--maelstrom); }
.testimonial .who .nm { font-size: 14.5px; color: var(--ink-900); }
.testimonial .who .fn { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-400); }
.testimonial .who img { height: 20px; width: auto; filter: grayscale(1); opacity: .7; margin-left: auto; }
.wall { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px 32px; }
.wall .q { display: block; margin-bottom: 8px; font-size: 21px; line-height: 1.35; }
.wall .w { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-400); }
@media (max-width: 720px) { .wall { grid-template-columns: 1fr; } }

/* Étude de cas : titre + logo gris + cote ; paragraphes marqués d'or ; chiffres à droite */
.case-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.case-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; margin: 0; color: var(--ink-900); letter-spacing: -.01em; }
.case-head img { height: 18px; filter: grayscale(1); opacity: .6; }
.case { display: grid; grid-template-columns: 1fr 180px; gap: 48px; }
.case .blk { margin-bottom: 22px; max-width: 56ch; }
.case .blk h4 { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ink-400); font-weight: 400; margin: 0 0 6px; }
.case .blk h4::before { content: ""; width: 18px; height: 2px; background: var(--maelstrom); }
.case .blk p { font-size: 15.5px; line-height: 1.6; color: var(--ink-700); margin: 0; }
.case .col-n { position: relative; padding-left: 22px; }
.case .col-n::before { content: ""; position: absolute; left: 0; top: 6px; width: 2px; height: calc(100% - 12px); background: var(--maelstrom); }
.case .num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--ink-900); }
.case .num .g { color: var(--maelstrom-text); }
.case .num .l { display: block; font-family: var(--font-body); font-size: 14px; color: var(--ink-500); margin-top: 8px; line-height: 1.4; }
.case .num + .num { margin-top: 28px; }
@media (max-width: 720px) { .case { grid-template-columns: 1fr; } }

/* Chiffres clés : icône nuage en fond peu opaque */
.kpi { display: flex; gap: 64px; flex-wrap: wrap; }
.kpi .k { position: relative; padding: 18px 0 0 0; }
.kpi .k .bg { position: absolute; left: -14px; top: -8px; opacity: .22; pointer-events: none; }
.kpi .n { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--ink-900); letter-spacing: -.02em; position: relative; }
.kpi .l { font-size: 14.5px; color: var(--ink-500); margin-top: 8px; position: relative; }
.kpi-inline { font-family: var(--font-display); font-size: 26px; line-height: 1.45; color: var(--ink-900); max-width: 40ch; margin: 0; position: relative; }
.kpi-inline b { font-weight: 500; color: var(--maelstrom-text); }

/* Bio-fiche : planche portrait + nom + puces or, sans eyebrow */
.bio { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.bio .pl { border: 1px solid var(--line); border-radius: 6px; padding: 10px; background: var(--paper-0); }
.bio .pl img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; }
.bio .pl .cap { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.bio .pl .cap .t { font-family: var(--font-hand); font-size: 15px; color: var(--ink-500); }
.bio .pl .cap .c { font-family: var(--font-mono); font-size: 10px; color: var(--maelstrom-text); letter-spacing: .05em; }
.bio h3 { font-family: var(--font-display); font-weight: 500; font-size: 34px; margin: 8px 0 12px; letter-spacing: -.015em; color: var(--ink-900); line-height: 1; }
.bio p { font-size: 15.5px; line-height: 1.6; color: var(--ink-700); margin: 0 0 12px; max-width: 52ch; }
.bio ul { list-style: none; margin: 16px 0 22px; padding: 0; }
.bio li { font-size: 15px; line-height: 1.5; color: var(--ink-700); padding: 5px 0 5px 18px; position: relative; }
.bio li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--maelstrom); }
@media (max-width: 720px) { .bio { grid-template-columns: 1fr; } .bio .pl { max-width: 220px; } }

/* Vidéo : vignette grise, bouton or, légende à la main */
.vid { position: relative; max-width: 520px; aspect-ratio: 16 / 9; background: var(--ink-900); overflow: hidden; border-radius: 6px; }
.vid img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .85; filter: grayscale(1); display: block; }
.vid .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--maelstrom) url(assets/img/grain.png?v=3) 0 0 / 128px; display: flex; align-items: center; justify-content: center; color: var(--ink-900); }
.vid .dur { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: #fff; }
.vidcap { display: flex; justify-content: space-between; align-items: baseline; max-width: 520px; margin-top: 10px; }
.vidcap .t { font-family: var(--font-hand); font-size: 17px; color: var(--ink-500); }
.vidcap .c { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); letter-spacing: .05em; }

/* Questions : sans filets, pleine largeur */
.faq .qa { padding: 16px 0; }
.faq .q { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink-900); margin: 0 0 6px; }
.faq .a { font-size: 15px; line-height: 1.55; color: var(--ink-700); margin: 0; }

/* Appel final + disponibilité */
.cta { max-width: 60ch; }
.cta h3 { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.02; letter-spacing: -.02em; color: var(--ink-900); margin: 0 0 14px; }
.cta p { font-size: 17px; line-height: 1.55; color: var(--ink-700); margin: 0 0 24px; max-width: 46ch; }
.dispo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-500); white-space: nowrap; line-height: 1; }
.dispo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--maelstrom); box-shadow: 0 0 0 3px var(--maelstrom-wash); }
.dispo b { font-weight: 500; color: var(--ink-900); }

/* Pilule qui suit le scroll : papier, bord gris, ombre douce, bas droite, jamais pleine largeur */
.pill { position: fixed; right: 22px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 16px; line-height: 1; background: var(--paper-0); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 12px 30px -16px rgba(28, 24, 17, .35); }
.pill .lnk { color: var(--ink-900); font-size: 14.5px; line-height: 1; text-decoration: none; border-bottom: 1px solid var(--maelstrom); white-space: nowrap; padding-bottom: 1px; }
.pill .btn { background: var(--maelstrom) url(assets/img/grain.png?v=3) 0 0 / 128px; color: var(--ink-900); border-radius: 999px; font-size: 14px; padding: 10px 16px; }
.pill.static { position: absolute; }

/* Auto-diagnostic en conversation */
.chat { max-width: 600px; margin: 0 auto; }
.chat .prog { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-400); display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.chat .prog i { display: block; width: 120px; height: 1px; background: var(--line); position: relative; }
.chat .prog i::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: var(--p, 30%); background: var(--maelstrom); }
.chat .msg { display: grid; grid-template-columns: 28px 1fr; gap: 14px; margin-bottom: 18px; max-width: 52ch; }
.chat .msg img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; margin-top: 2px; }
.chat .msg p { font-family: var(--font-display); font-size: 22px; line-height: 1.25; color: var(--ink-900); margin: 0; }
.chat .msg p.small { font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
.chat .me { display: flex; justify-content: flex-end; margin: 0 0 18px; }
.chat .me span { font-size: 16px; color: var(--ink-900); background: var(--maelstrom-wash); padding: 9px 14px; border-radius: 14px 14px 3px 14px; max-width: 40ch; }
.chat .chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 4px 0 18px 42px; }
.chat .chip { font-size: 16px; color: var(--ink-900); border: 1px solid var(--line-strong); border-radius: 4px; padding: 10px 16px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; background: transparent; font-family: var(--font-body); }
.chat .chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--maelstrom); }
.chat .free { margin: 0 0 0 42px; display: flex; gap: 10px; align-items: center; }
.chat .free input { flex: 1; font-family: var(--font-body); font-size: 16px; color: var(--ink-900); background: var(--paper-0); border: 1px solid var(--line-strong); border-radius: 4px; padding: 11px 14px; outline: none; }
.chat .free input::placeholder { color: var(--ink-300); }
.chat .free .snd { width: 40px; height: 40px; border-radius: 4px; background: var(--maelstrom); display: flex; align-items: center; justify-content: center; color: var(--ink-900); flex: none; border: none; cursor: pointer; }

/* ══ 8. Overrides du site (ui_kits/website/site.css) ═════════════════════ */

.fcard .kick, .stats .l, .fcol h4, .field label, .lang { text-transform: none; letter-spacing: .07em; font-size: 12.5px; font-weight: 400; }
.plate-cap .c { display: none; }
.wrow .cote { display: none; }
.wrow { grid-template-columns: 1fr auto auto; }
.wlist { border-top: 0; }
.wrow { border-bottom: 0; }
.plate, .hero-plate, .fcard, .modal, .news-form, .slot-frame, .intro { border-radius: 6px; box-shadow: none; }
.fcard:hover { box-shadow: none; }
.nav-links a { color: var(--ink-900); }
.nav-links a:hover { color: var(--ink-900); }
.nav-links a::after { background: var(--maelstrom); height: 2px; }
.lang button.on { color: var(--ink-900); }
.brand .nm { font-family: var(--font-hand); font-size: 30px; font-weight: 400; letter-spacing: 0; }
.brand img { width: 30px; height: auto; }
.fcard .kick b { font-weight: 600; color: var(--ink-900); }
.hero { padding: 120px 0 128px; background-image: url('assets/img/bifurcation.png'); background-repeat: no-repeat; background-position: right -60px top; background-size: 1000px auto; }
.hero .lead { margin: 34px 0 44px; }
.hero-plate { margin-top: 88px; }
.section { padding: 132px 0; }
.section-head { margin-bottom: 64px; }
.cards { gap: 34px; }
.fcard { padding: 38px 34px 40px; }
.fcard .kick { margin-top: 26px; }
.wrow { padding: 30px 8px; }
.manifesto-grid { gap: 72px; }
.about-grid { gap: 72px; }
.stats { gap: 48px; margin-top: 38px; padding-top: 30px; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--maelstrom); opacity: 1; }
.plate, .hero-plate { border-color: var(--line); }
.plate-cap .t { font-family: var(--font-hand); font-style: normal; font-size: 17px; color: var(--ink-500); }
.fcard .ic { color: var(--maelstrom-text); }
.wrow:hover .arr { color: var(--maelstrom-text); }
.stats .n { color: var(--ink-900); }
.field input:focus, .field textarea:focus { border-color: var(--maelstrom); }
.sent .ic { color: var(--maelstrom-text); }

/* Offres (timeline) : icône nuage 56 sans cercle, filet de la ligne à 80 %, prix en Garamond */
.tl-ic { width: 64px; height: 64px; border: none; border-radius: 0; background: var(--paper-0); padding: 4px 0; }
.timeline::before { left: 10%; right: 10%; top: 34px; border-top: 1px solid var(--line-strong); opacity: 1; }
.tl-body h3::after { display: none; }
.tl-step:hover .tl-body h3 { color: var(--maelstrom-text); }
.tl-price { font-family: var(--font-display); font-size: 20px; letter-spacing: -.01em; color: var(--ink-900); text-transform: none; }
/* Manifeste : sur blanc, citation en Cormorant */
.manifesto { background: var(--paper-1); border-top: 0; border-bottom: 0; }
.manifesto .quote { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; max-width: 22ch; }
/* Hero : le nuage autour du dernier mot */
.hero h1 .hl-cloud { display: inline-block; }
#figures .section-head { max-width: none; }
#figures .morph { margin: 0 auto; max-width: 760px; }

/* Plus de nocturne, plus de beige : le pied de page est sur blanc, séparé par un filet à 80 % */
.footer, .x-night { background: var(--paper-1); color: var(--ink-900); padding: 96px 0 44px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 10%; width: 80%; height: 1px; background: var(--line-strong); }
.footer .fcol, .footer .fcol h4, .footer p { color: var(--ink-500); }
.fcol a { color: var(--maelstrom-text); }
.fcol a:hover { color: var(--accent-hover); }
