/* ==========================================================================
   OTT Premium — Design system
   Editorial broadcast: warm neutral ink, bone paper, one vermilion signal.
   Bricolage Grotesque for headings, Instrument Sans for text.
   Hairlines and numerals instead of glow.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Polices — auto-hebergees et sous-ensemblees
   Servies depuis notre domaine : aucune connexion vers fonts.gstatic.com,
   donc ni DNS ni TLS supplementaire avant le premier rendu du texte.
   Chaque fichier ne contient que les ~200 glyphes utiles au francais
   (voir tools/subset-fonts.py) ; latin et latin-ext sont fusionnes, il n'y
   a donc plus de unicode-range a maintenir.
   Les deux polices sont variables : un fichier chacune.
   Instrument Sans couvre 400 a 600, Bricolage Grotesque 500 a 800 (largeur
   et taille optique figees au sous-ensemble, voir tools/subset-fonts.py).
   Licence : assets/fonts/LICENSE.txt (SIL OFL 1.1).
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/instrument-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque.woff2') format('woff2');
}

/* Polices de repli calibrées. Sur un téléphone en 4G lente, le texte
   s'affiche d'abord en Arial ; sans réglage, l'arrivée de la vraie police
   élargit ou rétrécit chaque ligne et fait sauter la page (CLS, mesuré par
   Google chez les vrais visiteurs). Ces valeurs donnent à Arial exactement
   l'encombrement de nos polices. Calculées avec fontTools sur un échantillon
   de texte du site ; à recalculer si les polices changent. */
@font-face {
  font-family: 'Instrument Sans Fallback';
  src: local('Arial'), local('ArialMT');
  size-adjust: 101.5%;
  ascent-override: 95.57%;
  descent-override: 24.63%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Bricolage Grotesque Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT');
  font-weight: 700;
  size-adjust: 96.8%;
  ascent-override: 96.08%;
  descent-override: 27.89%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces — warm neutral, deliberately not blue */
  --ink:        #0b0b0c;
  --ink-2:      #131315;
  --ink-3:      #1a1a1d;
  --line:       #27272b;
  --line-soft:  #19191c;

  /* Inverted "paper" surface for breathing sections */
  --paper:      #f2efe9;
  --paper-2:    #e8e3da;
  --paper-ink:  #17161a;
  --paper-mut:  #5e5a55;
  --paper-line: #d8d2c7;

  /* Type colours — all AA or better on --ink */
  --text:       #edeae4;  /* 16.9:1 */
  --text-2:     #a8a39b;  /*  7.9:1 */
  --text-3:     #847f78;  /*  4.9:1 */

  /* One signal colour. Price, CTA and state — never decoration. */
  --signal:      #e4552f;  /* 5.3:1 on ink */
  --signal-lift: #ff6a3d;
  --signal-deep: #b83a17;  /* 5.0:1 on paper */
  --signal-ink:  #1a0600;  /* 5.3:1 on signal */
  --signal-wash: rgba(228, 85, 47, 0.09);

  --wa:      #25d366;
  --wa-ink:  #04240f;
  --danger:  #ff6b5e;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* Deux graisses de titre seulement : 700 pour les titres, 600 pour les
     titres de bloc et les chiffres. Bricolage n'a pas d'italique. */
  --display-weight:    700;
  --display-weight-sm: 600;
  --display-tracking:  -0.025em;
  --font-ui: 'Instrument Sans', 'Instrument Sans Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --step--2: clamp(0.75rem, 0.73rem + 0.08vw, 0.8125rem);   /* 12 px minimum sur mobile */
  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0:  clamp(1rem, 0.975rem + 0.13vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.07rem + 0.27vw, 1.3125rem);
  --step-2:  clamp(1.375rem, 1.26rem + 0.56vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.22vw, 2.5rem);
  --step-4:  clamp(2.25rem, 1.72rem + 2.6vw, 4rem);
  --step-5:  clamp(2.75rem, 1.66rem + 5.4vw, 5.5rem);

  /* Space — 4px base, named by intent */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --band: clamp(56px, 8vw, 112px);

  /* Layout */
  --shell:   1180px;
  --measure: 68ch;
  --gutter:  clamp(16px, 4vw, 40px);

  /* Radii — small and consistent. Nothing pill-shaped except true tags. */
  --r-1: 2px;
  --r-2: 4px;
  --r-3: 10px;
  --r-tag: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast: 140ms;
  --mid:  220ms;

  --lift: 0 18px 48px -24px rgba(0, 0, 0, 0.9);

  /* Stacking scale */
  --z-sticky: 20;
  --z-float:  30;
  --z-drawer: 40;
  --z-skip:   50;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-wrap: break-word;              /* une URL longue ne déborde jamais */
  -webkit-tap-highlight-color: rgba(228, 85, 47, 0.18);
  background: var(--ink);
  color: var(--text-2);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
table { border-collapse: collapse; }
strong, b { color: var(--text); font-weight: 600; }
::selection { background: var(--signal); color: var(--signal-ink); }

a {
  color: var(--text);
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--signal-lift);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

/* Numerals line up in tables and prices */
.compare td, .compare th,
.price-year, .price-eq, .stat-val, .step-index, .quote-meta {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  /* iPhone en paysage : le contenu reste hors de l'encoche. */
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.container-narrow { max-width: calc(780px + var(--gutter) * 2); }

.section { padding-block: var(--band) 0; }

/* Pas de content-visibility ici, volontairement : sur une page de cette
   taille le gain est négligeable, la hauteur estimée fait sauter la barre
   de défilement pendant le scroll sur mobile, et le rendu sauté fausse les
   contrôles de contraste de Lighthouse / PageSpeed. */

/* Sentinelle observée par main.js pour l'en-tête collant. */
.top-sentinel {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 8px;
  pointer-events: none;
}


.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: var(--z-skip);
  padding: 10px 18px;
  background: var(--paper); color: var(--paper-ink);
  border-radius: var(--r-2);
  font-size: var(--step--1); font-weight: 600;
}
.skip-link:focus { top: var(--s-3); }

/* --------------------------------------------------------------------------
   4. Type components
   -------------------------------------------------------------------------- */

.hero-title,
.section-title,
.plan-name,
.quote-text,
.closer-title,
.page-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  color: var(--text);
  letter-spacing: var(--display-tracking);
  line-height: 1.04;
}
/* Les citations restent lisibles en texte long : graisse moyenne. */
.quote-text { font-weight: 500; letter-spacing: -0.01em; }

.hero-title    { font-size: var(--step-5); }
.section-title { font-size: var(--step-4); line-height: 1.06; }
.page-title    { font-size: var(--step-4); }

.section-sub {
  max-width: 58ch;
  margin-top: var(--s-4);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

/* Eyebrow: index numeral + label + trailing rule. Replaces the badge pill. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}
.eyebrow-num {
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.section-head { margin-bottom: var(--s-7); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s-5) var(--s-8);
  align-items: end;
}
.section-head--split .eyebrow { grid-column: 1 / -1; }
.section-head--split .section-sub { margin-top: 0; }

.fine-print {
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--text-3);
}
.fine-print + .fine-print { margin-top: var(--s-2); }

.note {
  margin-top: var(--s-5);
  font-size: var(--step--1);
  color: var(--text-3);
  text-wrap: pretty;
}
.note a { color: var(--text); text-decoration: underline; }
.note-center { text-align: center; max-width: 62ch; margin-inline: auto; }

.signal { color: var(--signal); }
.on-ink { color: var(--text); }

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-2);
  font-family: var(--font-ui);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              color var(--fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 17px; height: 17px; }

.btn-signal { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: var(--signal-lift); border-color: var(--signal-lift); }

.btn-line { background: transparent; border-color: var(--line); color: var(--text); }
.btn-line:hover { background: var(--ink-2); border-color: var(--text-3); }


.btn-wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #3ee07a; border-color: #3ee07a; }

.btn-sm { min-height: 38px; padding: 8px 16px; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-group--center { justify-content: center; }

/* Text link with a persistent rule — a designed affordance, not a bare link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding-block: var(--s-1) 5px;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.link-arrow:hover { color: var(--signal); border-bottom-color: var(--signal); text-decoration: none; }
.link-arrow::after {
  content: '';
  width: 0.85em;
  height: 0.85em;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--fast) var(--ease);
}
.link-arrow:hover::after { transform: translateX(3px); }

.icon { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------------------------
   6. Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* Un seul palier de décalage est utilisé. En rajouter un ici sans l'employer
   dans un gabarit fait réapparaître la règle en « unused » à l'audit. */
.reveal-1 { transition-delay: 60ms; }
html.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   7. Masthead
   -------------------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color var(--mid) var(--ease), background-color var(--mid) var(--ease);
}
.masthead.is-stuck {
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.34ch;
  padding-block: var(--s-2);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 22px;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo em {
  font-style: normal;
  color: var(--signal);
}

.nav { display: flex; gap: var(--s-1); margin-right: auto; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--s-3);
  border-radius: var(--r-2);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.nav a:hover { color: var(--text); background: var(--ink-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::before {
  content: '';
  width: 4px; height: 4px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.masthead-cta { display: inline-flex; }

/* Mobile drawer trigger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--ink-2); }
.nav-toggle-bar {
  display: block;
  width: 17px; height: 1.5px;
  background: currentColor;
  transition: transform var(--mid) var(--ease), opacity var(--fast) var(--ease);
}
.nav-toggle-bar + .nav-toggle-bar { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 68px 0 0;
  z-index: var(--z-drawer);
  display: none;
  flex-direction: column;
  padding: var(--s-5) var(--gutter) calc(var(--s-8) + env(safe-area-inset-bottom));
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  background: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer[data-open="true"] { display: flex; }
.drawer a {
  display: block;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: var(--display-weight-sm);
  font-size: var(--step-2);
  color: var(--text);
}
.drawer a:hover { color: var(--signal); text-decoration: none; }
.drawer .btn {
  margin-top: var(--s-6);
  font-family: var(--font-ui);
  font-size: var(--step--1);
  border-bottom: 0;
}
body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 104px) clamp(48px, 7vw, 88px);
  overflow: hidden;
}
/* A single slow wash anchored off-canvas. No neon, no vignette stack. */
.hero::before {
  content: '';
  position: absolute;
  inset: auto auto 0 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, 42%);
  background: radial-gradient(closest-side, var(--signal-wash), transparent 72%);
  pointer-events: none;
}
.hero > .container { position: relative; }

.hero-grid {

  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero-kicker-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--wa);
}

.hero-title .soft {
  display: block;
  font-style: normal;
  color: var(--text-2);
}

.hero-lede {
  max-width: 46ch;
  margin-top: var(--s-5);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.hero-actions { margin-top: var(--s-7); }

.hero-meta {
  margin-top: var(--s-5);
  font-size: var(--step--1);
  color: var(--text-3);
}

/* Price panel — the hero's second column, built from rules not cards */
.price-panel {
  padding: var(--s-6);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}
.price-panel-label {
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.price-figure {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-top: var(--s-3);
  font-family: var(--font-display);
  color: var(--text);
}
.price-figure b {
  font-size: clamp(3.25rem, 6vw, 4.25rem);
  font-weight: var(--display-weight);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}
.price-figure span {
  font-family: var(--font-ui);
  font-size: var(--step--1);
  color: var(--text-3);
}
.price-panel-note {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--text-2);
}
.price-panel .btn { margin-top: var(--s-5); }

/* --------------------------------------------------------------------------
   9. Trust strip
   -------------------------------------------------------------------------- */

.trust-strip {
  border-block: 1px solid var(--line);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-5) var(--s-5) 0;
  font-size: var(--step--1);
  color: var(--text-2);
}
.trust-list li + li { border-left: 1px solid var(--line); padding-left: var(--s-5); }
.trust-list .icon { width: 17px; height: 17px; color: var(--signal); }

/* --------------------------------------------------------------------------
   10. Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.step {
  padding: var(--s-6) var(--s-5) var(--s-7);
  background: var(--ink);
}
.step-index {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--signal);
}
.step-title {
  margin-top: var(--s-4);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--text);
}
.step-body { margin-top: var(--s-2); font-size: var(--step--1); line-height: 1.65; }

/* --------------------------------------------------------------------------
   11. Devices and apps
   -------------------------------------------------------------------------- */

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.device {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--ink);
  transition: background-color var(--fast) var(--ease);
}
.device:hover { background: var(--ink-2); }
.device .icon { width: 22px; height: 22px; color: var(--signal); margin-top: 2px; }
.device-name { font-size: var(--step-0); font-weight: 600; color: var(--text); }
.device-desc { margin-top: 2px; font-size: var(--step--1); color: var(--text-3); line-height: 1.5; }

.apps-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.app-pill {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-tag);
  font-size: var(--step--1);
  color: var(--text-2);
}
a.app-pill:hover { border-color: var(--text-3); color: var(--text); text-decoration: none; }

/* --------------------------------------------------------------------------
   12. Pitch (benefits) — editorial list, hanging numerals, no cards
   -------------------------------------------------------------------------- */

.pitch { border-top: 1px solid var(--line); }
.pitch-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--s-5) var(--s-7);
  align-items: start;
  padding-block: var(--s-7);
  border-bottom: 1px solid var(--line);
}
.pitch-num {
  font-family: var(--font-display);
  font-weight: var(--display-weight-sm);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--text-3);
  padding-top: 2px;
}
.pitch-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step-3);
  line-height: 1.1;
  color: var(--text);
  letter-spacing: var(--display-tracking);
}
.pitch-ask {
  margin-top: var(--s-3);
  font-size: var(--step--1);
  color: var(--signal);
}
.pitch-body { line-height: 1.7; text-wrap: pretty; }

/* --------------------------------------------------------------------------
   13. Plans
   -------------------------------------------------------------------------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}
.plan-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  transition: border-color var(--fast) var(--ease);
}
.plan-card:hover { border-color: var(--text-3); }

/* The recommended plan inverts to paper — the strongest signal on the page */
.plan-card.is-featured {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--paper-mut);
}
.plan-card.is-featured .plan-name,
.plan-card.is-featured .price-year { color: var(--paper-ink); }
.plan-card.is-featured .price-eq,
.plan-card.is-featured .plan-blurb { color: var(--paper-mut); }
.plan-card.is-featured:hover { border-color: var(--paper-2); }

.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 26px;
}
.plan-name { font-size: var(--step-2); }
.plan-badge {
  padding: 4px 10px;
  border-radius: var(--r-tag);
  background: var(--signal);
  color: var(--signal-ink);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-year {
  display: block;
  margin-top: var(--s-5);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.price-eq { display: block; margin-top: var(--s-2); font-size: var(--step--1); color: var(--text-3); }
.plan-blurb {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  line-height: 1.6;
  flex: 1 1 auto;
}
.plan-card.is-featured .plan-blurb { border-top-color: var(--paper-line); }
.plan-card .btn { margin-top: var(--s-5); }
.plan-card.is-featured .btn-line { border-color: var(--paper-ink); color: var(--paper-ink); }
.plan-card.is-featured .btn-line:hover { background: var(--paper-ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   14. Comparison table
   -------------------------------------------------------------------------- */

/* position: relative est indispensable : sans lui, les libelles .sr-only
   (position absolue) places dans les cellules echappent au rognage du
   conteneur et elargissent toute la page sur mobile. */
.compare-wrap { position: relative; overflow-x: auto; margin-top: var(--s-7); }
.table-scroll { position: relative; overflow-x: auto; margin-top: var(--s-5); }
.table-scroll table { margin-top: 0; }
.compare { width: 100%; min-width: 580px; }
.compare caption { text-align: left; }
.compare th, .compare td {
  padding: var(--s-4) var(--s-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
}
.compare thead th {
  padding-top: 0;
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}
.compare thead th.is-featured { color: var(--signal); }
.compare tbody th { text-align: left; font-weight: 400; color: var(--text-2); }
.compare td { text-align: center; color: var(--text-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .icon { width: 16px; height: 16px; margin-inline: auto; color: var(--signal); }
.compare .icon-off .icon { color: var(--line); }

/* --------------------------------------------------------------------------
   15. Quotes — paper band, editorial pull-quotes
   -------------------------------------------------------------------------- */

.band-paper {
  background: var(--paper);
  color: var(--paper-mut);
  padding-block: var(--band);
}
.band-paper .section-title,
.band-paper strong { color: var(--paper-ink); }
.band-paper .section-sub { color: var(--paper-mut); }
.band-paper .eyebrow { color: var(--paper-mut); }
.band-paper .eyebrow::after { background: var(--paper-line); }
.band-paper .eyebrow-num { color: var(--signal-deep); }
.band-paper a { color: var(--paper-ink); }
.band-paper .link-arrow { border-bottom-color: var(--paper-line); }
.band-paper .link-arrow:hover { color: var(--signal-deep); border-bottom-color: var(--signal-deep); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--paper-line);
  border-block: 1px solid var(--paper-line);
}
.quote {
  display: flex;
  flex-direction: column;
  padding: var(--s-6) var(--s-6) var(--s-7);
  background: var(--paper);
}
.quote-stars { display: flex; gap: 2px; margin-bottom: var(--s-4); }
.quote-stars .icon { width: 14px; height: 14px; fill: var(--signal-deep); stroke: none; }
.quote-text {
  flex: 1 1 auto;
  font-size: var(--step-2);
  line-height: 1.32;
  color: var(--paper-ink);
  text-wrap: pretty;
}
.quote-meta {
  margin-top: var(--s-5);
  font-size: var(--step--1);
  color: var(--paper-mut);
}
/* .quote paints its own paper background, so it needs paper type colours
   even when the surrounding section is dark. */
.quote strong, .quote b { color: var(--paper-ink); }
.quote em { color: var(--paper-mut); font-style: italic; }

/* --------------------------------------------------------------------------
   16. Support / WhatsApp band
   -------------------------------------------------------------------------- */

.support-band {
  padding-block: var(--band);
  border-block: 1px solid var(--line);
  background: var(--ink-2);
}
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: var(--s-7) clamp(32px, 6vw, 80px);
  align-items: end;
}
.support-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.support-actions .btn { width: 100%; }
.stat-row {
  display: flex;
  gap: var(--s-7);
  flex-wrap: wrap;
  margin-top: var(--s-6);
}
.stat-val {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--text);
}
.stat-label { margin-top: var(--s-2); font-size: var(--step--1); color: var(--text-3); }

/* --------------------------------------------------------------------------
   17. Guarantees
   -------------------------------------------------------------------------- */

.guarantees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.guarantee {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-5);
  background: var(--ink);
}
.guarantee .icon { width: 20px; height: 20px; color: var(--signal); margin-top: 3px; }
.guarantee-title { font-size: var(--step-0); font-weight: 600; color: var(--text); margin-bottom: var(--s-2); }
.guarantee p { font-size: var(--step--1); line-height: 1.65; }

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */

.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: var(--display-weight-sm);
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--text);
  transition: color var(--fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--signal); }
.faq-mark {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
  align-self: center;
}
.faq-mark::before, .faq-mark::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--mid) var(--ease);
}
.faq-mark::after { transform: rotate(90deg); }
.faq[open] .faq-mark::after { transform: rotate(0deg); }
.faq[open] summary { color: var(--signal); }
/* Tout ce qui suit le <summary> est le corps de la réponse. */
.faq > :not(summary) {
  padding-right: var(--s-8);
  max-width: var(--measure);
  line-height: 1.75;
}
.faq > :not(summary):last-child { padding-bottom: var(--s-6); }
.faq > p + p { margin-top: var(--s-3); }
.faq a { color: var(--text); text-decoration: underline; text-decoration-color: var(--signal); }
.faq a:hover { color: var(--signal); }
.faq ul { margin-top: var(--s-3); }
.faq ul li { position: relative; padding-left: var(--s-5); margin-top: var(--s-2); }
.faq ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.8em;
  width: 7px; height: 1px;
  background: var(--signal);
}
.faq .btn-group { margin-top: var(--s-4); }
.faq .btn-group .btn { text-decoration: none; }

/* --------------------------------------------------------------------------
   19. Closer
   -------------------------------------------------------------------------- */

.closer {
  padding-block: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.closer-title { font-size: var(--step-4); }
.closer .section-sub { margin-inline: auto; text-align: center; }
.closer .btn-group { margin-top: var(--s-7); }

/* --------------------------------------------------------------------------
   20. Inner pages
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.page-hero .section-sub { margin-top: var(--s-4); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  font-size: var(--step--1);
  color: var(--text-3);
}
.breadcrumb a { display: inline-block; padding-block: 4px; color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--text-3); }

.prose {
  max-width: var(--measure);
  line-height: 1.75;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step-3);
  line-height: 1.15;
  letter-spacing: var(--display-tracking);
  color: var(--text);
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--text);
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
}
.prose p + p { margin-top: var(--s-4); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--signal); }
.prose a:hover { color: var(--signal); }
.prose ul { list-style: none; margin-top: var(--s-4); }
.prose ul li { position: relative; padding-left: var(--s-5); margin-top: var(--s-2); }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 7px; height: 1px;
  background: var(--signal);
}
.prose ol { counter-reset: li; margin-top: var(--s-4); }
.prose ol li { counter-increment: li; position: relative; padding-left: var(--s-6); margin-top: var(--s-3); }
.prose ol li::before {
  content: counter(li) '.';
  position: absolute; left: 0; top: 0;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}
.prose table { width: 100%; margin-top: var(--s-5); font-size: var(--step--1); }
.prose th, .prose td { padding: var(--s-3) var(--s-2); border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--text); font-weight: 600; }
.prose-wide { max-width: none; }

.callout {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 2px solid var(--signal);
  background: var(--signal-wash);
  border-radius: 0 var(--r-2) var(--r-2) 0;
  font-size: var(--step--1);
  line-height: 1.7;
}
.callout strong { color: var(--text); }

.panel {
  padding: var(--s-6);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}
.panel + .panel { margin-top: var(--s-4); }
.panel-spaced { margin-top: var(--s-7); }
.panel-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step-2);
  color: var(--text);
  letter-spacing: var(--display-tracking);
  margin-bottom: var(--s-4);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.panel-head .icon { color: var(--signal); }
.panel-head .panel-title, .panel-head h2 { margin-bottom: 0; }
.panel-head h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step-2);
  letter-spacing: var(--display-tracking);
  color: var(--text);
  margin-top: 0;
}

.panel-center { margin-top: var(--s-7); text-align: center; }
.panel-center .panel-title { margin-bottom: var(--s-5); }
.panel-center .note { margin-inline: auto; }
.panel--signal { border-color: var(--signal); background: var(--signal-wash); }
.panel--signal .panel-title { color: var(--signal); }

.subsection-title {
  margin-top: var(--band);
  margin-bottom: var(--s-6);
  text-align: center;
  font-size: var(--step-3);
}

.info-card {
  margin-top: var(--s-7);
  padding: var(--s-7) var(--s-6);
  text-align: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}
.info-card h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step-3);
  letter-spacing: var(--display-tracking);
  color: var(--text);
  margin-bottom: var(--s-3);
}
.info-card p { max-width: 58ch; margin-inline: auto; }
.info-card p + p { margin-top: var(--s-3); }
.info-card .btn-group { margin-top: var(--s-5); justify-content: center; }

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
}

/* Spec cards — compatibility grid */
.card-grid {
  margin-bottom: var(--s-7);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--s-4);
}
.spec-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  transition: border-color var(--fast) var(--ease);
}
.spec-card:hover { border-color: var(--text-3); }
.spec-card > .icon { color: var(--signal); margin-bottom: var(--s-4); }
.spec-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight-sm);
  font-size: var(--step-2);
  letter-spacing: var(--display-tracking);
  color: var(--text);
}
.spec-desc { margin-top: var(--s-2); font-size: var(--step--1); color: var(--text-3); line-height: 1.55; }
.spec-list {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: 5px;
}
.spec-list b { color: var(--text-3); font-weight: 400; }
.spec-list span { color: var(--text); text-align: right; }
.spec-note { margin-top: var(--s-4); font-size: var(--step--1); color: var(--signal); }
.spec-card .link-arrow { margin-top: auto; padding-top: var(--s-5); align-self: flex-start; }

/* Moyens de paiement */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}
.pay-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  transition: border-color var(--fast) var(--ease);
}
.pay-card:hover { border-color: var(--text-3); }
.pay-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--signal);
}
.pay-mark .icon { width: 20px; height: 20px; }
.pay-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight-sm);
  font-size: var(--step-2);
  letter-spacing: var(--display-tracking);
  color: var(--text);
}
.pay-desc {
  flex: 1 1 auto;
  margin-top: var(--s-2);
  font-size: var(--step--1);
  line-height: 1.6;
}
.pay-delay {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--step--2);
  color: var(--text-3);
}
.pay-delay .icon { width: 14px; height: 14px; color: var(--signal); }

.pay-actions { margin-top: var(--s-6); }

/* Page de commande */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: var(--s-7) clamp(24px, 4vw, 56px);
  align-items: start;
}
.checkout-summary { position: sticky; top: 92px; }
.checkout-summary .summary { margin: 0 0 var(--s-5); }
.checkout-summary .btn { margin-top: var(--s-5); }

/* Empilement des moyens de paiement sur la page de commande */
.pay-grid--stack { grid-template-columns: minmax(0, 1fr); }
.pay-grid--stack .pay-card { flex-direction: column; }
.pay-grid--stack .btn { margin-top: var(--s-5); }

/* PayPal en plusieurs fois : une ligne par versement */
.installments {
  margin-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.installment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "no amount action" "when amount action";
  align-items: center;
  gap: 2px var(--s-4);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.installment-no { grid-area: no; color: var(--text); font-size: var(--step--1); font-weight: 600; }
.installment-when { grid-area: when; color: var(--text-3); font-size: var(--step--2); }
.installment-amount {
  grid-area: amount;
  font-family: var(--font-display);
  font-weight: var(--display-weight-sm);
  font-size: var(--step-2);
  font-variant-numeric: tabular-nums;
}
.installment .btn { grid-area: action; }
.pay-grid--stack .installment .btn { margin-top: 0; }

/* « ou 2 × 37,50 € avec PayPal » sous le prix d'une formule */
.price-split {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-2);
  font-size: var(--step--1);
  color: var(--text-2);
}
.price-split .icon { width: 14px; height: 14px; color: var(--text-3); }
.plan-card.is-featured .price-split { color: var(--paper-ink); }
.plan-card.is-featured .price-split .icon { color: var(--paper-mut); }

/* Le virement demande un contact prealable : on le distingue sans le degrader. */
.pay-card--contact { border-style: dashed; }
.pay-card--contact .pay-mark { border-color: var(--signal); }

/* Rangee compacte, sous les formules de la page d'accueil */
.pay-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--text-3);
}
.pay-strip li { display: flex; align-items: center; gap: var(--s-2); }
.pay-strip .icon { width: 16px; height: 16px; color: var(--text-2); }
.pay-strip .pay-strip-label { color: var(--text-3); }

/* L'icone cadenas dans une note courante */
.note .icon { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; color: var(--signal); }

/* Rating summary */
.rating {
  max-width: 420px;
  margin: 0 auto var(--s-7);
  padding: var(--s-7) var(--s-6);
  text-align: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}
.rating .quote-stars { justify-content: center; }
.rating .quote-stars .icon { width: 18px; height: 18px; fill: var(--signal); }
.rating-score {
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.rating-count { margin-top: var(--s-3); font-size: var(--step--1); }
.rating-source { margin-top: var(--s-2); font-size: var(--step--2); color: var(--text-3); }

/* Marked list — a check or caution glyph per row */
.prose .marked-list li { padding-left: 0; margin-top: 0; }
.prose .marked-list li::before { content: none; }
.marked-list li {
  display: flex;
  gap: var(--s-3);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  line-height: 1.65;
}
.marked-list li:last-child { border-bottom: 0; }
.marked-list .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--signal); }
.marked-list--caution .icon { color: var(--text-3); }

/* Numbered install steps */
.step-list { counter-reset: instep; }
.step-list li {
  counter-increment: instep;
  position: relative;
  padding: 0 0 var(--s-5) var(--s-7);
  line-height: 1.7;
}
.step-list li:last-child { padding-bottom: 0; }
.step-list li::before {
  content: counter(instep);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  color: var(--signal);
}
.step-list li strong { color: var(--text); }

/* Troubleshooting cards */
.fix-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  transition: border-color var(--fast) var(--ease);
}
.fix-card + .fix-card { margin-top: var(--s-4); }
.fix-card:hover { border-color: var(--text-3); }
.fix-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: var(--display-weight-sm);
  font-size: var(--step-1);
  color: var(--signal);
}
.fix-body h3 { font-size: var(--step-1); font-weight: 600; color: var(--text); margin-bottom: var(--s-2); }
.fix-body ul { list-style: none; }
.fix-body ul li { position: relative; padding-left: var(--s-5); margin-top: var(--s-2); font-size: var(--step--1); }
.fix-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 1px; background: var(--signal);
}

/* Order confirmation */
.confirm { padding-block: var(--band); }
.confirm-inner { text-align: center; }
.confirm-note { margin-top: var(--s-4); font-size: var(--step--1); }
.confirm-note a { color: var(--text); text-decoration: underline; text-decoration-color: var(--signal); }
.confirm-inner .summary { text-align: left; }
.summary { max-width: 480px; margin: var(--s-7) auto; border-top: 1px solid var(--line); }
.summary div {
  display: flex; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.summary dt { color: var(--text-3); font-size: var(--step--1); }
.summary dd { color: var(--text); font-weight: 600; text-align: right; }
.summary dd.signal { color: var(--signal); }
.confirm-errors { color: var(--danger); margin-block: var(--s-5) var(--s-7); }

/* Numéro de téléphone révélé au clic (voir phone_reveal() / main.js). */
.phone-reveal {
  padding: 3px 10px;
  border: 1px dashed var(--line);
  border-radius: var(--r-2);
  background: transparent;
  color: var(--text-2);
  font-size: var(--step--1);
  cursor: pointer;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.phone-reveal:hover { border-color: var(--signal); color: var(--signal); }
.phone-number { color: var(--text); font-variant-numeric: tabular-nums; }
.band-paper .phone-reveal { border-color: var(--paper-line); color: var(--paper-mut); }

/* Page passerelle : le formulaire ne doit pas ajouter de marge parasite. */
.go-form { margin-top: var(--s-7); }

/* Mention légale non encore renseignée. */
.todo {
  padding: 1px 7px;
  border: 1px dashed var(--signal);
  border-radius: var(--r-1);
  background: transparent;
  color: var(--signal);
  font-size: 0.9em;
}

/* Build-time content slot. Hidden unless DEV_MODE is on. */
.slot {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px;
  margin-top: var(--s-4);
  padding: var(--s-4);
  border: 1px dashed var(--signal);
  border-radius: var(--r-2);
  color: var(--signal);
  font-size: var(--step--1);
  text-align: center;
}

/* --------------------------------------------------------------------------
   21. Floating WhatsApp
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: calc(clamp(16px, 3vw, 28px) + env(safe-area-inset-right));
  bottom: calc(clamp(16px, 3vw, 28px) + env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: var(--wa);
  color: var(--wa-ink);
  border-radius: 50%;
  box-shadow: var(--lift);
  transition: background-color var(--fast) var(--ease);
}
.wa-float:hover { background: #3ee07a; text-decoration: none; }
.wa-float .icon { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */

/* Le closer se termine déjà sur une grande respiration : pas de marge en plus. */
main > .closer + .site-footer,
.closer + .site-footer { margin-top: 0; }

.site-footer {
  margin-top: var(--band);
  padding-block: var(--s-8) var(--s-6);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--text-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--s-7) var(--s-6);
  padding-bottom: var(--s-8);
}
.footer-brand .logo { margin-bottom: var(--s-4); }
.footer-tagline { max-width: 34ch; line-height: 1.65; }
.footer-social { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.footer-social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--text-2);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.footer-social a:hover { border-color: var(--text-3); color: var(--text); text-decoration: none; }
.footer-social .icon { width: 17px; height: 17px; }

.footer-title {
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--s-4);
}
.footer-links { display: flex; flex-direction: column; }
.footer-links a {
  padding-block: 7px;
  color: var(--text-3);
  transition: color var(--fast) var(--ease);
}
.footer-links a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-bottom-links a { padding-block: 5px; font-size: var(--step--2); color: var(--text-3); }
.footer-bottom-links a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .price-panel { max-width: 420px; }
  .pitch-item { grid-template-columns: 48px minmax(0, 1fr); }
  .pitch-body { grid-column: 2; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav, .masthead-cta { display: none; }
  .nav-toggle { display: flex; flex-direction: column; }
  .masthead-inner { gap: var(--s-4); }
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list li { padding: var(--s-4) var(--s-4) var(--s-4) 0; }
  .trust-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust-list li:nth-child(even) { border-left: 1px solid var(--line); padding-left: var(--s-4); }
  .trust-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps, .device-grid, .plan-grid, .guarantees, .quote-grid, .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { position: static; }
  .installment {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "no amount" "when amount" "action action";
  }
  .installment .btn { width: 100%; margin-top: var(--s-2); }
  .plan-grid { gap: var(--s-3); }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .faq > :not(summary) { padding-right: 0; }
}

/* Très petits écrans (Galaxy Fold plié, iPhone SE 1re génération). */
@media (max-width: 360px) {
  .panel, .info-card, .price-panel, .plan-card, .spec-card, .pay-card,
  .fix-card, .rating, .quote { padding-inline: var(--s-4); }
  .compare th, .compare td { padding-inline: 2px; }
}

/* Écrans tactiles (téléphones et tablettes, dans les deux sens) :
   toute cible fait au moins 44 px, la recommandation Apple et Google.
   Les liens au fil du texte gardent leur taille visuelle : leur zone de
   toucher est élargie par un pseudo-élément invisible. */
@media (pointer: coarse), (max-width: 620px) {
  .btn, .btn-sm, .nav a, .logo, .skip-link, .phone-reveal, a.app-pill {
    min-height: 44px;
  }
  .logo { align-items: center; }
  a.app-pill, .phone-reveal { display: inline-flex; align-items: center; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; padding-block: 0; }
  .footer-social a { width: 44px; height: 44px; }
  .footer-bottom-links { gap: var(--s-2) var(--s-6); }

  .link-arrow, .breadcrumb a, .footer-bottom-links a { position: relative; }
  .link-arrow::before, .breadcrumb a::before, .footer-bottom-links a::before {
    content: '';
    position: absolute;
    inset: -12px -10px;
  }
}

/* Le bouton WhatsApp flottant ne doit masquer ni la dernière ligne du pied
   de page ni la barre d'accueil de l'iPhone. */
@media (max-width: 900px) {
  .site-footer { padding-bottom: calc(var(--s-6) + 76px + env(safe-area-inset-bottom)); }
}

/* Filet de sécurité : au-dessus du point de rupture, le tiroir ne peut jamais
   rester ouvert ni bloquer le défilement, même si le JS échoue. */
@media (min-width: 901px) {
  .drawer { display: none !important; }
  body.is-locked { overflow: visible; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 76px; }

  /* Sur téléphone, les blocs encadrés rendent de la largeur au texte. */
  .panel, .info-card, .price-panel, .plan-card, .spec-card, .pay-card,
  .fix-card, .rating, .quote { padding-inline: var(--s-5); }

  /* Tableau comparatif : sur téléphone, chaque ligne devient une rangée
     empilée (libellé puis trois valeurs) au lieu de défiler de côté.
     Les rôles ARIA du HTML préservent la lecture en tableau. */
  .compare-wrap { overflow-x: visible; }
  .compare, .compare thead, .compare tbody { display: block; min-width: 0; }
  .compare tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border-bottom: 0; padding: var(--s-1) var(--s-1) var(--s-3); }
  .compare thead th:first-child { display: none; }
  .compare thead th { padding-top: 0; font-size: var(--step--1); white-space: normal; }
  .compare tbody th {
    grid-column: 1 / -1;
    padding: var(--s-3) 0 var(--s-1);
    color: var(--text);
    font-weight: 500;
  }
  .steps, .device-grid, .plan-grid, .guarantees, .quote-grid, .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .pitch-item { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding-block: var(--s-6); }
  .pitch-num { display: none; }
  .pitch-body { grid-column: 1; }
  .fix-card { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .btn { width: 100%; }
  .btn-group .btn { width: auto; flex: 1 1 200px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .footer-bottom { flex-direction: column; }
  .step { padding: var(--s-5) 0 var(--s-6); }
  .steps { background: transparent; gap: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   24. Preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .masthead, .wa-float, .drawer, .site-footer, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}
