/* ═══════════════════════════════════════════════════════════════════
   TrueTag — site vitrine
   Direction artistique : crème #F8F8F3, encre #171D2E, bleu électrique
   #183BF1 en seul accent. Titres Manrope très gras et serrés, texte en
   DM Sans. Aucun italique : les contrepoints se font en bleu.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --paper:   #F8F8F3;
  --card:    #FFFFFF;
  --ink:     #171D2E;
  --ink-2:   #3C4254;
  --muted:   #686D77;
  --line:    #DCDEDC;
  --blue:    #183BF1;
  --blue-2:  #1232C8;   /* survol */
  --tint:    #E9EBFD;   /* lavande très pâle */
  --ok:      #0E7A33;
  --ok-bg:   #DFF2E4;
  --warn:    #B42318;

  --f-display: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --f-text:    'DM Sans', 'Segoe UI', Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 12px;
  --radius-lg: 20px;
  --ease: 180ms ease;
  --shadow: 0 2px 6px rgba(23,29,46,.06), 0 24px 60px -24px rgba(23,29,46,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
/* Pas d'italique sur ce site : tout emphase passe par la graisse ou le bleu. */
em, i, cite, figcaption, blockquote { font-style: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.accent { color: var(--blue); }

/* Petit libellé en capitales */
.kicker {
  font-family: var(--f-text); font-weight: 700; font-size: .75rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.kicker .dot { width: 8px; height: 8px; background: var(--blue); flex: none; }
.kicker.on-blue { color: #C9D2FF; }
/* .label : même rôle que .kicker dans les pages générées */
.label {
  font-family: var(--f-text); font-weight: 700; font-size: .75rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.label .dot { width: 8px; height: 8px; background: var(--blue); flex: none; }
.label .num { color: var(--blue); }
.label .num::after { content: '—'; color: var(--ink); margin-left: 10px; }
.label-tag { font-size: .6875rem; border: 1px solid var(--blue); color: var(--blue); padding: 2px 8px; border-radius: 999px; margin-left: 6px; letter-spacing: .08em; }

/* ── Mot-marque ───────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.wm { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.045em; line-height: 1; position: relative; padding-bottom: 7px; }
.wm b { color: var(--blue); font-weight: 800; }
.wm sup { font-size: .5em; font-weight: 700; color: var(--ink-2); margin-left: 2px; top: -.7em; position: relative; }
.wm::after { content: ''; position: absolute; left: 0; bottom: 0; width: 2.1em; height: 4px; background: var(--blue); }

/* ── Boutons et liens ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-text); font-weight: 700; font-size: 1rem;
  background: var(--blue); color: #fff;
  padding: 0 26px; min-height: 54px;
  border: 0; border-radius: 10px; cursor: pointer;
  text-decoration: none;
  transition: background-color var(--ease), transform var(--ease);
}
.btn:hover { background: var(--blue-2); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 46px; padding: 0 18px; font-size: .9375rem; }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #060A17; }
.btn-ghost { background: #fff; color: var(--blue); }
.btn-ghost:hover { background: var(--tint); color: var(--blue-2); }

.link {
  font-weight: 700; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--blue);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: color var(--ease);
}
.link:hover { color: var(--blue); }

/* ── En-tête ──────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(248,248,243,.92); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--ease); }
.top.is-stuck { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px); min-height: 84px; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { font-weight: 500; font-size: .9875rem; text-decoration: none; padding: 10px 14px; border-radius: 8px; transition: background-color var(--ease), color var(--ease); }
.nav a:hover { background: #EFEFE8; }
.nav a.is-here { color: var(--blue); }
.top-actions { display: flex; align-items: center; gap: 18px; }
.nav-pro { font-weight: 500; font-size: .9875rem; text-decoration: none; color: var(--ink-2); }
.nav-pro:hover { color: var(--blue); }

.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger-lines, .burger-lines::before, .burger-lines::after { display: block; width: 20px; height: 2px; background: var(--ink); content: ''; transition: transform var(--ease), background-color var(--ease); }
.burger-lines { position: relative; }
.burger-lines::before { position: absolute; top: -6px; }
.burger-lines::after { position: absolute; top: 6px; }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ── Ouverture ────────────────────────────────────────────────────── */
.hero { padding: clamp(36px, 5vw, 72px) 0 0; }
.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.hero-side { font-size: .9375rem; color: var(--muted); text-align: right; line-height: 1.5; }
.hero h1 {
  font-size: clamp(3rem, 9.2vw, 8.6rem);
  font-weight: 800; letter-spacing: -.05em; line-height: .96;
  margin-top: clamp(24px, 3.5vw, 48px);
}
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-top: clamp(28px, 4vw, 52px); }
.hero .lede { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--ink-2); max-width: 30em; }
.hero-cta { justify-self: end; text-align: right; display: grid; gap: 10px; justify-items: end; }
.hero-note { font-size: .875rem; color: var(--muted); }

/* ── Photo et carte produit ───────────────────────────────────────── */
.stage { position: relative; margin-top: clamp(32px, 4.5vw, 64px); }
.stage-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: clamp(360px, 42vw, 560px); background: var(--ink); }
.stage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.stage-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,14,26,.72) 8%, rgba(10,14,26,.18) 55%, rgba(10,14,26,.05)); }
.stage-words { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 48px); z-index: 2; color: #fff; }
.stage-words p:first-child { font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.12; }
.stage-words .alt { color: #AFC0FF; }
.stage-place { font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #C8CDDC; margin-top: 14px; }

.float-card {
  position: absolute; right: clamp(16px, 4vw, 64px); top: 50%; transform: translateY(-50%) rotate(.4deg);
  z-index: 3; width: min(430px, 86%);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 22px 22px 16px;
}
.fc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fc-brand { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.04em; color: var(--blue); }
.fc-kicker { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fc-title { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; margin-top: 10px; }
.fc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); border-radius: 10px; padding: 14px 16px; margin-top: 14px; }
.fc-stats b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.fc-stats b.blue { color: var(--blue); }
.fc-stats span { font-size: .75rem; color: var(--muted); }
.fc-rows { margin-top: 6px; }
.fc-rows li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 2px; border-bottom: 1px solid #EEEFEA; }
.fc-rows li:last-child { border-bottom: 0; }
.fc-rows .h { font-weight: 700; font-size: .875rem; color: var(--ink-2); }
.fc-rows .n b { display: block; font-weight: 700; font-size: .9375rem; letter-spacing: -.01em; }
.fc-rows .n span { font-size: .78rem; color: var(--muted); }
.chip { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.fc-foot { font-size: .78rem; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 10px; }

/* ── Bande de faits ───────────────────────────────────────────────── */
.facts-band { border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.facts-lead p { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: -.03em; line-height: 1.25; }
.facts-lead .alt { color: var(--muted); font-weight: 700; }
.facts > div + div { border-left: 1px solid var(--line); padding-left: clamp(18px, 2.5vw, 36px); margin-left: clamp(18px, 2.5vw, 36px); }
.facts dt { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.04em; line-height: 1.05; }
.facts dd { color: var(--muted); font-size: .9375rem; margin-top: 4px; max-width: 16em; }

/* ── Rubriques ────────────────────────────────────────────────────── */
.chap { padding: clamp(72px, 9vw, 136px) 0; }
.chap-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; }
.chap-head h2 { margin-top: 22px; }
.chap-intro { color: var(--ink-2); font-size: 1.0625rem; max-width: 30em; padding-bottom: 6px; }
.chap-head .label, .chap-head .kicker { grid-column: 1 / -1; }

/* Sous-navigation des trois outils */
.toolnav { display: flex; gap: clamp(16px, 4vw, 56px); border-bottom: 1px solid var(--line); margin-top: clamp(28px, 4vw, 48px); }
.toolnav a { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 2px 16px; font-weight: 700; font-size: 1.02rem; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--ease), border-color var(--ease); }
.toolnav a span { font-size: .75rem; font-weight: 700; color: var(--muted); }
.toolnav a:hover { color: var(--ink); }
.toolnav a.is-here { color: var(--blue); border-bottom-color: var(--blue); }
.toolnav a.is-here span { color: var(--blue); }

/* Bloc outil : texte + carte de démonstration */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; }
.tool + .tool { border-top: 1px solid var(--line); }
.tool-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.tool h3 { margin-top: 14px; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.tool-intro { color: var(--ink-2); margin-top: 14px; max-width: 32em; }
.checklist { margin-top: 20px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; color: var(--ink-2); }
.checklist li::before { content: ''; position: absolute; left: 0; top: .42em; width: 14px; height: 9px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.checklist b { color: var(--ink); font-weight: 700; }
.tool .link { display: inline-block; margin-top: 22px; }

/* Cartes de démonstration */
.demo-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 2.6vw, 32px); }
.demo-note { font-size: .8125rem; color: var(--muted); margin-top: 14px; }
.panel-kicker { display: flex; justify-content: space-between; gap: 12px; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.demo-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -.03em; margin-top: 12px; }
.demo-sub { color: var(--muted); font-size: .9375rem; margin-top: 4px; }

/* Choix d'horaire */
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.slot { font-weight: 700; font-size: .9875rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; min-height: 52px; cursor: pointer; transition: border-color var(--ease), background-color var(--ease), color var(--ease); }
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot:disabled { color: #A9ADB5; text-decoration: line-through; cursor: not-allowed; }
.picker-confirm { width: 100%; margin-top: 14px; }

/* Menu digital : le téléphone seul, comme un objet posé sur la page */
.menu-live { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: end; }
.menu-phone-solo { background: var(--ink); border-radius: 32px; padding: 9px; box-shadow: 0 30px 60px -26px rgba(23,29,46,.5); }
.menu-phone-solo iframe { width: 100%; height: 580px; border: 0; border-radius: 24px; background: #fff url('assets/menu-cafe-plume.webp') top center / cover no-repeat; }
.menu-live-cap { padding-bottom: 10px; }
.menu-live-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -.03em; margin-top: 12px; }
.menu-live-text { color: var(--ink-2); font-size: .9875rem; margin-top: 8px; max-width: 20em; }
.menu-live-cap .lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lang-chips span { font-weight: 700; font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink-2); background: #fff; }
.lang-chips span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-live-cap .link { display: inline-block; margin-top: 20px; }

/* Avis : étoiles */
.stars { display: flex; gap: 2px; margin: 14px 0 2px -6px; }
.star { width: 52px; height: 52px; padding: 7px; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.star svg { width: 100%; height: 100%; fill: transparent; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; transition: fill var(--ease), stroke var(--ease); }
.star:hover svg { stroke: var(--blue); }
.star.is-on svg { fill: var(--blue); stroke: var(--blue); }
.rate-out { min-height: 126px; border-top: 1px solid #EEEFEA; margin-top: 12px; padding-top: 16px; }
.rate-hint { color: var(--muted); }
.rate-msg b { font-weight: 800; }
.rate-btn { display: inline-block; font-weight: 700; font-size: .9375rem; margin-top: 12px; padding: 11px 18px; border-radius: 9px; background: var(--blue); color: #fff; }
.rate-btn.is-private { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.rate-field { display: block; margin-top: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--muted); font-size: .9375rem; padding: 10px 12px; }

/* Avis : revue mensuelle */
.revue { margin-top: 20px; }
.revue-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.revue-score { display: flex; align-items: baseline; gap: 10px; }
.revue-score b { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; letter-spacing: -.04em; }
.revue-score span { font-size: .8125rem; color: var(--muted); }
.revue-stars { color: var(--blue); width: 96px; }
.bars { margin-top: 14px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid #EEEFEA; font-size: .9375rem; font-weight: 500; }
.bars li:last-child { border-bottom: 0; }
.bars i { display: block; height: 7px; border-radius: 99px; background: #ECEDE8; position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); border-radius: 99px; }
.bars em { font-size: .75rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.bars .warn i::after { background: var(--warn); }
.bars .warn em { color: var(--warn); }

/* ── Bande bleue : sans commission ────────────────────────────────── */
.blue-band { background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 88px); align-items: center; }
.blue-band h2 { color: #fff; }
.blue-band h2 .alt { color: #AFC0FF; }
.blue-band .chap-sub { color: #D5DCFF; margin-top: 18px; max-width: 30em; font-size: 1.0625rem; }
.blue-band .btn-ghost { margin-top: 28px; }

.calc { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow); padding: clamp(20px, 2.6vw, 32px); }
.calc-kicker { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc-field { margin-top: 18px; }
.calc-field label { display: block; font-weight: 700; font-size: .9375rem; }
.calc-range { display: grid; grid-template-columns: minmax(0, 1fr) 84px; align-items: center; gap: 16px; margin-top: 8px; }
.calc-range input { width: 100%; height: 40px; accent-color: var(--blue); cursor: pointer; }
.calc-range output { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; text-align: right; }
.calc-field input[type="number"] { width: 110px; min-height: 48px; padding: 0 12px; font-weight: 700; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; margin-top: 8px; }
.calc-field input[type="number"]:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,59,241,.2); }
.calc-total { border-top: 1px solid #EEEFEA; margin-top: 18px; padding-top: 16px; }
.calc-label { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -.045em; line-height: 1.05; color: var(--blue); margin-top: 4px; }
.calc-vs { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.calc-vs b { color: var(--ink); }

/* ── Comparatif : des phrases en face-à-face, jamais un tableau ───── */
.compare-wrap { margin-top: clamp(48px, 6vw, 80px); }
.vs { max-width: 880px; }
.vs li { padding: clamp(22px, 3vw, 34px) 0; border-top: 1px solid var(--line); }
.vs li:first-child { border-top: 0; padding-top: 0; }
.vs-la { color: var(--muted); font-size: 1rem; }
.vs-ici { font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; font-size: clamp(1.35rem, 2.3vw, 1.9rem); margin-top: 8px; text-wrap: balance; }
.more-links { margin-top: clamp(26px, 3vw, 38px); color: var(--ink-2); }

/* ── Réalisations ─────────────────────────────────────────────────── */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); margin-top: clamp(36px, 5vw, 64px); }
.work a { display: block; text-decoration: none; }
.work-shot { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1200 / 750; background: var(--tint); box-shadow: var(--shadow); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease, opacity var(--ease); }
.work a:hover .work-shot img { transform: scale(1.02); }
.work-name { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; margin-top: 16px; }
.work-place { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.work-place sup { line-height: 0; }
.work-link { display: inline-block; font-weight: 700; font-size: .9375rem; margin-top: 10px; color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.works-note { margin-top: 26px; color: var(--muted); font-size: .9375rem; }

/* ── Étapes ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); margin-top: clamp(36px, 5vw, 64px); counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 2.6vw, 32px); }
.steps li::before { content: '0' counter(step); display: block; font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: var(--blue); margin-bottom: 18px; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--ink-2); margin-top: 10px; font-size: 1rem; }

/* ── Questions ────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.faq-grid h2 { margin-top: 22px; }
.faq-aside { margin-top: 18px; color: var(--ink-2); max-width: 20em; }
.faq-list details, .faq-inline details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child, .faq-inline details:first-child { border-top: 2px solid var(--ink); }
.faq-list summary, .faq-inline summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.015em; line-height: 1.3; padding: 22px 0; min-height: 48px; transition: color var(--ease); }
.faq-list summary::-webkit-details-marker, .faq-inline summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq-inline summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 14px no-repeat; transition: transform var(--ease); }
.faq-list details[open] summary::after, .faq-inline details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover, .faq-inline summary:hover { color: var(--blue); }
.faq-list details p, .faq-inline details p { color: var(--ink-2); padding: 0 40px 22px 0; max-width: 42em; }

/* ── Contact ──────────────────────────────────────────────────────── */
.contact-band { background: var(--tint); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-band h2 { margin-top: 20px; }
.contact-lede { margin-top: 16px; color: var(--ink-2); max-width: 24em; }
.contact-tel { margin-top: 28px; }
.contact-tel a { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; text-decoration: none; }
.contact-tel a:hover { color: var(--blue); }
.contact-mail { margin-top: 6px; }

.form { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label, .checks legend { font-weight: 700; font-size: .9375rem; }
.opt { font-weight: 500; font-size: .8125rem; color: var(--muted); margin-left: 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font-size: 1.0625rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; min-height: 50px;
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}
.form textarea { resize: vertical; min-height: 112px; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(24,59,241,.18); }
.form input.has-err { border-color: var(--warn); }
.field-err { font-size: .875rem; font-weight: 600; color: var(--warn); }
.field-err:empty { display: none; }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks legend { margin-bottom: 8px; padding: 0; }
.checks label { cursor: pointer; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9375rem; transition: background-color var(--ease), color var(--ease), border-color var(--ease); }
.checks label:hover span { border-color: var(--ink); }
.checks input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.checks input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .55; cursor: progress; }
.form-status { font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--warn); }
.form-small { font-size: .8125rem; color: var(--muted); }

/* ── Pied de page ─────────────────────────────────────────────────── */
.foot { padding: clamp(40px, 6vw, 72px) 0 36px; border-top: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-cols p { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-cols li + li { margin-top: 8px; }
.foot-cols a { font-weight: 500; font-size: .9375rem; text-decoration: none; }
.foot-cols a:hover { color: var(--blue); text-decoration: underline; }
.foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 40px; }
.foot-line { color: var(--ink-2); font-size: .9875rem; line-height: 1.5; }
.foot-mail a { font-weight: 600; text-decoration: none; }
.foot-mail a:hover { color: var(--blue); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 22px; font-size: .875rem; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-nav a { font-weight: 500; text-decoration: none; color: var(--ink-2); }
.foot-nav a:hover { color: var(--blue); }

/* ═══════════════════════════════════════════════════════════════════
   Pages de contenu (guides, comparatifs)
   ═══════════════════════════════════════════════════════════════════ */
.crumbs { font-size: .875rem; color: var(--muted); padding-top: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { font-weight: 600; text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

.page-head { padding: 28px 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -.045em; line-height: 1.02; margin-top: 22px; max-width: 17em; }
.page-head .lede { margin-top: 20px; font-size: 1.125rem; color: var(--ink-2); max-width: 36em; }
.page-meta { font-size: .875rem; color: var(--muted); margin-top: 18px; }

.article-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.toc { grid-column: span 3; position: sticky; top: 108px; align-self: start; }
.toc p { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 10px 0; font-weight: 600; font-size: .9375rem; line-height: 1.35; text-decoration: none; color: var(--ink-2); transition: color var(--ease); }
.toc a:hover { color: var(--blue); }
.prose { grid-column: 5 / span 8; max-width: 740px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 2.2em; scroll-margin-top: 104px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before { content: ''; position: absolute; left: -1.1em; top: .68em; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; }
.prose ol { list-style: decimal; }
.prose ol li::marker { font-weight: 800; color: var(--blue); }
.prose li + li { margin-top: .5em; }
.prose a:not(.btn):not(.work a) { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a:not(.btn):hover { color: var(--blue); }

.note { border-left: 3px solid var(--blue); background: var(--tint); padding: 16px 22px; border-radius: 0 10px 10px 0; }
.note p { color: var(--ink); }
.note-warn { border-left-color: var(--warn); background: #FBEDEB; }

.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 520px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.prose th { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose td:first-child { font-weight: 700; color: var(--ink); }
.prose td.us { font-weight: 700; color: var(--ink); }

.checklist-p li { padding-left: 4px; }
.sources, .sources li, .sources p { font-size: .875rem; }

.prose .calc { box-shadow: none; border: 1px solid var(--line); }
.prose .calc > * + *, .prose .calc-field > * + * { margin-top: 0; }
.prose .calc .calc-big { color: var(--blue); line-height: 1.05; margin-top: 4px; }
.prose .calc .calc-field { margin-top: 18px; }
.prose .calc .btn { margin-top: 18px; }
.prose .works { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
.prose .works li::before { display: none; }
.prose .works li + li { margin-top: 0; }
.prose .work-name { color: var(--ink); }

.cta-band { padding: clamp(40px, 5vw, 64px) 0; }
.cta-band-in { background: var(--tint); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); max-width: 17em; }
.cta-band p { color: var(--ink-2); margin-top: 10px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.related { padding: 0 0 clamp(64px, 8vw, 104px); }
.related h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.related-list a { display: block; height: 100%; text-decoration: none; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; transition: color var(--ease); }
.related-list a:hover { color: var(--blue); }
.related-list b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; line-height: 1.3; }
.related-list span { display: block; color: var(--ink-2); font-size: .9375rem; margin-top: 8px; }

/* ── Adaptation ───────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero h1 { font-size: clamp(2.8rem, 10.4vw, 6rem); }
  .float-card { position: relative; top: auto; right: auto; transform: none; width: min(460px, 100%); margin: -72px auto 0; }
  .stage-photo { min-height: 320px; }
  .stage-words { bottom: auto; top: clamp(18px, 4vw, 40px); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .facts-lead { grid-column: 1 / -1; }
  .facts > div + div { border-left: 0; padding-left: 0; margin-left: 0; }
  .facts > div:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 24px; }
  .facts > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .tool { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .blue-band { grid-template-columns: minmax(0, 1fr); }
  .faq-grid, .contact-band { grid-template-columns: minmax(0, 1fr); }
  .chap-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .toc { display: none; }
  .prose { grid-column: 1 / -1; }
  .related-list, .works, .steps { grid-template-columns: minmax(0, 1fr); }
  .works { max-width: 560px; }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0 var(--gutter) 14px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 2px; font-size: 1.0625rem; border-top: 1px solid var(--line); border-radius: 0; }
  .nav-pro { display: none; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .menu-live { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .menu-live-cap { justify-self: start; }
  .hero-top { flex-direction: column; }
  .hero-side { text-align: left; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-cta { justify-self: start; justify-items: start; text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .top-in { min-height: 70px; }
  .top-actions .btn { display: none; }
  .wm { font-size: 1.4rem; }
  .hero-cta .btn, .blue-band .btn-ghost { width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .slot { min-height: 48px; font-size: .9rem; }
  .star { width: 48px; height: 48px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
  .toolnav { gap: 4px; justify-content: space-between; }
  .toolnav a { font-size: .9rem; gap: 6px; padding-inline: 0; }
  .faq-list details p, .faq-inline details p { padding-right: 0; }
  .float-card { padding: 18px 16px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Scène d'intro au défilement ──────────────────────────────────── */
#intro-runway, .intro { display: none; }
.intro-on #intro-runway { display: block; height: 160vh; }
.intro-on .intro { display: grid; }
.intro {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  place-items: center;
  cursor: pointer;
}
/* Pas de will-change ici : il fige le rendu du texte en mémoire et produit
   des artefacts quand on redescend depuis les très grandes échelles. */
.intro-in {
  display: flex; align-items: center; gap: .3em;
  font-size: clamp(2.6rem, 10.5vw, 8.5rem);
  backface-visibility: hidden;
}
.intro-in img { height: .82em; width: auto; border-radius: .14em; flex: none; }
.intro-wm {
  font-family: var(--f-display); font-weight: 800;
  font-size: 1em;
  letter-spacing: -.05em; line-height: 1; color: var(--ink);
  position: relative; padding-bottom: .09em;
}
.intro-wm b { color: var(--blue); font-weight: 800; }
.intro-wm sup { font-size: .32em; font-weight: 700; color: var(--muted); position: relative; top: -1.1em; margin-left: .06em; }
.intro-wm::after { content: ''; position: absolute; left: 0; bottom: 0; width: 2.1em; height: .07em; background: var(--blue); }
.intro-hint {
  position: absolute; left: 50%; bottom: clamp(24px, 5vh, 48px); transform: translateX(-50%);
  font-weight: 600; font-size: .9375rem; color: var(--muted);
  display: grid; justify-items: center; gap: 10px; text-align: center;
  transition: opacity 200ms ease;
}
.intro-chevron { width: 12px; height: 12px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); animation: intro-bounce 1.6s ease-in-out infinite; }
@keyframes intro-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 7px; } }
.intro.is-done { visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  #intro-runway, .intro { display: none !important; }
}
