/* =====================================================================
   Alic'ia — landing site · direction "River"
   Source palette : .claude/skills/alicia-design/colors_and_type.css
   ===================================================================== */

:root {
  --ink: #0E2A34;
  --ink-soft: #1B4D5C;
  --muted: #4A5A63;
  --line: #D9D2C3;
  --cream: #F4F1EA;
  --cream-deep: #EBE7DC;
  --paper: #FFFFFF;

  --petrol: #1B4D5C;
  --petrol-dk: #0E2A34;
  --coral: #C7613F;
  --coral-soft: #F4D9CA;
  --sage: #7A9B8E;
  --sage-dk: #4F7567;
  --sage-soft: #D8E2DC;
  --amber: #D8A04A;
  --amber-soft: #F2E3C1;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(14, 42, 52, 0.04), 0 2px 8px rgba(14, 42, 52, 0.04);
  --shadow-lg: 0 4px 16px rgba(14, 42, 52, 0.08), 0 8px 32px rgba(14, 42, 52, 0.06);

  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage-dk);
  font-weight: 500;
}

/* Justify is applied ONLY on paragraphs long enough and wide enough to
   benefit from it. Narrow card columns (step cards, plan features) and
   short notes stay left-aligned, because `text-align: justify` injects
   visible rivers of white space on narrow lines. */
.faq__item p,
.sg p,
.isnot__card p,
.pricing__credit p,
.modes__note p,
.constat__card p,
.pricing__boost-head p,
.how__fl p,
.mode__lead {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--petrol-dk);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 32ch;
}

.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 40px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}
.btn--primary { background: var(--petrol-dk); color: var(--cream); border-color: var(--petrol-dk); }
.btn--primary:hover { background: var(--petrol); border-color: var(--petrol); }
.btn--ghost { background: transparent; color: var(--petrol-dk); border-color: var(--line); }
.btn--ghost:hover { background: var(--cream-deep); border-color: var(--sage-dk); }
.btn--outline { background: transparent; color: var(--petrol-dk); border-color: var(--petrol-dk); }
.btn--outline:hover { background: var(--petrol-dk); color: var(--cream); }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--full { width: 100%; }

/* ============================================================ NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo { width: 32px; height: 32px; }
.nav__wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--petrol-dk);
  letter-spacing: -0.01em;
}
.nav__apos { color: var(--coral); }
.nav__links { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 180ms ease;
}
.nav__links a:hover { color: var(--petrol-dk); }
.nav__cta { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================================================ HERO */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 90% 15%, var(--coral-soft) 0%, transparent 38%),
    radial-gradient(circle at 5% 90%, var(--sage-soft) 0%, transparent 44%),
    var(--cream);
}
.hero__inner { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.hero__badge-logo { width: 42px; height: 42px; flex-shrink: 0; }
.hero__badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.hero__badge-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.hero__badge-sub {
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  margin-top: 2px;
}
.hero__title {
  font-size: clamp(42px, 7.5vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  font-weight: 500;
  margin-bottom: 28px;
  color: var(--petrol-dk);
  text-align: left;
}
.hero__title em {
  font-style: italic;
  color: var(--coral);
  font-weight: 500;
}
.hero__lead {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  /* Mobile/tablette : 640px (~50-60 chars/ligne en serif).
     Desktop : on relâche pour viser 65-75 chars/ligne, plus
     confortable et evite l'effet 'colonne etroite' sur grand ecran. */
  max-width: 640px;
  margin-bottom: 36px;
  text-align: left;
}
.hero__lead em {
  font-style: italic;
  color: var(--sage-dk);
  font-family: var(--serif);
  font-weight: 500;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__note { font-size: 13px; color: var(--muted); font-weight: 500; }
/* Note de conformite RGPD article 8 — discrete, sans encart visible.
   Style 'note legale elegante' (filet sage a gauche), s'integre au
   flow de la hero sans creer un bloc qui domine visuellement. */
.hero__compliance {
  margin-top: 18px;
  padding: 4px 0 4px 14px;
  border-left: 2px solid var(--sage-dk, #5f8473);
  font-size: 13px;
  color: var(--ink-soft, #4a5a5d);
  line-height: 1.6;
  max-width: 720px;
}
.hero__compliance strong { color: var(--ink, #2c3e42); font-weight: 600; }

/* Play Store badge — section CTA finale */
.cta__store {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cta__store-label {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.cta__store-badge-status {
  font-size: 11px;
  font-style: italic;
  color: var(--ali-amber, #b8823a);
}
.cta__store-badge {
  display: inline-block;
  transition: opacity 0.15s ease;
}
.cta__store-badge:hover { opacity: 0.85; }
.cta__store-badge img {
  display: block;
  height: 56px;
  width: auto;
}
.hero__dot { color: var(--coral); margin: 0 2px; }

section { padding: clamp(64px, 9vw, 100px) 0; }

/* ============================================================ CONSTAT */
.constat {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.constat__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.constat__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 220ms ease, transform 220ms ease;
}
.constat__card:hover { border-color: var(--sage); transform: translateY(-2px); }
.constat__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--coral);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.constat__card h3 { font-size: 17px; margin-bottom: 10px; color: var(--petrol-dk); line-height: 1.3; }
.constat__card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ============================================================ FEATURES DETAIL — fiche produit */
.features-detail {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.feature-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -10px rgba(14, 42, 52, 0.18);
}
.feature-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.feature-card__head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--petrol-dk);
  line-height: 1.25;
  font-weight: 500;
}
.feature-card__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--coral);
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border: 1px solid var(--coral);
  border-radius: 4px;
  flex-shrink: 0;
}
.feature-card__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
}
.feature-card__badge--sage {
  background: var(--sage-soft, #E0EBE6);
  color: var(--sage-dk, #5F7F72);
}
.feature-card__badge--amber {
  background: var(--amber-soft, #F2E5C9);
  color: var(--amber-dk, #8A5E1F);
}
.feature-card__badge--ink {
  background: var(--petrol-dk);
  color: var(--paper);
}

/* Liste de feature rows : icône + titre/description en deux niveaux */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-list__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--sage-dk);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-list__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.feature-list li > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-list li strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--petrol-dk);
  line-height: 1.3;
}
.feature-list li span {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================ MODES */
.modes { background: var(--cream); }
.modes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0 32px;
}
.mode {
  padding: 32px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.mode--primary { border-color: var(--petrol); border-width: 1.5px; }
.mode--secondary { border-color: var(--coral-soft); }
.mode__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}
.mode--primary .mode__icon { background: var(--petrol-dk); }
.mode--secondary .mode__icon { background: var(--coral); }
.mode h3 { font-size: 24px; margin-bottom: 10px; }
.mode__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.4;
}
.mode__features { display: flex; flex-direction: column; gap: 12px; }
.mode__features li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: left;
}
.mode__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
}
.modes__note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--sage-soft);
  border-radius: var(--radius);
  margin-top: 8px;
}
.modes__note-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.modes__note p { font-size: 15px; line-height: 1.55; color: var(--ink); }

/* ============================================================ PREVIEW v2 — onglets internes + galerie premium */
.preview {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.preview-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.preview-tab {
  background: transparent;
  border: none;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}
.preview-tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--coral);
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.preview-tab.is-active { color: var(--ink); }
.preview-tab.is-active::after { opacity: 1; transform: scaleX(1); }
.preview-tab:hover { color: var(--ink); }

.preview-pane[hidden] { display: none; }
.preview-pane { animation: paneFade 0.3s ease; }
@keyframes paneFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.preview-pane__intro {
  max-width: 720px;
  margin: 0 auto 44px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  text-align: left;
}

.preview-grid {
  display: grid;
  gap: 32px;
  align-items: start;
  justify-content: center;
}
.preview-grid--phones {
  grid-template-columns: repeat(3, minmax(0, 260px));
  max-width: 900px;
  margin: 0 auto;
}
.preview-grid--desktops {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Layout côté ado : 1 phone vrai à gauche + 2 captures écran empilées à droite */
.preview-split {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.preview-split__stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 860px) {
  .preview-split {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.capture-card {
  margin: 0;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease;
}
.capture-card:hover { transform: translateY(-4px); }
.capture-card:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 6px;
  border-radius: 36px;
}

.capture-card__frame {
  background: #0E2A34;
  position: relative;
}
.capture-card--phone .capture-card__frame {
  border-radius: 36px;
  padding: 14px 12px 22px;
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 24px 60px rgba(14, 42, 52, 0.30),
    0 6px 14px rgba(14, 42, 52, 0.18);
}
.capture-card--phone .capture-card__frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 20px;
  background: #040E12;
  border-radius: 11px;
  z-index: 2;
}
.capture-card--phone .capture-card__frame img {
  flex: 1;
  width: 100%;
  min-height: 0;
  /* contain au lieu de cover pour ne JAMAIS recadrer le contenu :
     mieux vaut une bande crème en haut/bas si la capture n'est pas
     en 9/19 que de couper du texte de la conversation. */
  object-fit: contain;
  object-position: top center;
  border-radius: 24px;
  display: block;
  background: var(--cream);
}

.capture-card--desktop .capture-card__frame {
  border-radius: 14px;
  padding: 10px;
  box-shadow:
    0 24px 60px rgba(14, 42, 52, 0.22),
    0 6px 14px rgba(14, 42, 52, 0.14);
}
.capture-card--desktop .capture-card__frame::before {
  content: "";
  display: block;
  height: 18px;
  margin: -2px -2px 8px;
  padding: 0 12px;
  background:
    radial-gradient(circle at 14px 9px, #3A4E57 4px, transparent 4px),
    radial-gradient(circle at 32px 9px, #3A4E57 4px, transparent 4px),
    radial-gradient(circle at 50px 9px, #3A4E57 4px, transparent 4px);
  background-repeat: no-repeat;
}
.capture-card--desktop .capture-card__frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  background: var(--cream);
  /* Pas d'aspect-ratio forcé : on respecte la taille native du
     screenshot. Cohabitation OK car on n'a que 2 captures desktop
     côte à côte, leurs hauteurs équivalentes en pratique. */
}

.capture-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 0 4px;
}
.capture-card figcaption strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.capture-card figcaption span {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.preview-zoom-hint {
  text-align: center;
  margin-top: 36px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .preview-grid--phones {
    grid-template-columns: repeat(2, minmax(0, 240px));
    max-width: 560px;
  }
  .preview-grid--desktops { grid-template-columns: 1fr; max-width: 600px; }
}
@media (max-width: 540px) {
  .preview-grid--phones { grid-template-columns: minmax(0, 280px); max-width: 320px; }
  .preview-tab { padding: 12px 22px; font-size: 14px; }
}

/* ============================================================ LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 32, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 32px;
  cursor: zoom-out;
  animation: lbFade 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  background: var(--cream);
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.12);
  color: var(--cream);
  border: none;
  font-size: 26px;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.lightbox__close:hover {
  background: rgba(244, 241, 234, 0.25);
  transform: scale(1.05);
}

/* ============================================================ HOW */
.how {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 36px 0 32px;
}
.how__step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.how__step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how__step-body h3 { font-size: 17px; margin-bottom: 6px; }
.how__step-body p { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.how__more {
  margin: 18px 0 0;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}
.how__fl {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--sage-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(122, 155, 142, 0.3);
}
.how__fl-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how__fl h4 { font-size: 16px; margin-bottom: 6px; color: var(--petrol-dk); }
.how__fl p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* ============================================================ PRICING */
.pricing { background: var(--cream); }
.pricing__credit {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--sage-soft);
  border-left: 3px solid var(--sage);
  padding: 22px 26px;
  border-radius: var(--radius);
  margin: 36px 0 40px;
}
.pricing__credit-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage-dk);
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.pricing__credit h4 { font-size: 17px; margin-bottom: 6px; }
.pricing__credit p { font-size: 14.5px; line-height: 1.6; color: var(--ink); }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.plan:hover { border-color: var(--sage); transform: translateY(-2px); }
.plan--featured {
  border-color: var(--petrol-dk);
  border-width: 1.5px;
  box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan h3 { font-size: 24px; color: var(--petrol-dk); }
.plan__tag {
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.plan__amount {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--petrol-dk);
  line-height: 1;
}
.plan__cents { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan__features { display: flex; flex-direction: column; gap: 9px; flex-grow: 1; }
.plan__features li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: left;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
}
.pricing__extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 50px;
}
.extra {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.extra strong { display: block; color: var(--petrol-dk); font-size: 14.5px; margin-bottom: 3px; }
.extra span { font-size: 13.5px; color: var(--muted); }

.pricing__boost {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px clamp(24px, 4vw, 44px);
  margin-top: 20px;
}
.pricing__boost-head { margin-bottom: 24px; }
.pricing__boost-head h3 { font-size: 28px; margin: 8px 0 12px; }
.pricing__boost-head p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: none;
  text-align: left;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.pricing__boost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.boost-pack {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 220ms ease;
}
.boost-pack:hover { border-color: var(--amber); }
.boost-pack__price {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--amber);
  min-width: 48px;
}
.boost-pack__body { font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.boost-pack__body strong { color: var(--petrol-dk); font-size: 14.5px; }
.pricing__boost-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
}

/* ============================================================ SAFEGUARDS */
.safeguards {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.safeguards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.sg {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.sg__num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.85;
}
.sg h3 { font-size: 17px; margin-bottom: 10px; color: var(--petrol-dk); line-height: 1.3; }
.sg p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ============================================================ ISNOT */
.isnot { background: var(--cream); }
.isnot__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.isnot__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 220ms ease;
}
.isnot__card:hover { border-color: var(--coral); }
.isnot__body { flex: 1; min-width: 0; }
.isnot__mark {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  line-height: 1;
}
.isnot__card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--petrol-dk);
}
.isnot__card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
/* ─────────────────────────────────────────────────────────────
   Typographie grand écran — relâcher les max-width des paragraphes
   pour viser 65-75 chars/ligne au lieu de 40-50 chars/ligne.
   Sans ça, sur écran 1920px les paragraphes courts cassent en 4-6
   lignes et donnent un effet 'colonne étroite' désagréable.
   Activé à partir de 1024px (tablette landscape + desktop).
   Ajouté 2026-05-01 après remontée user.
   ─────────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  /* Approche 'D' choisie par le user 2026-05-01 : layout fluid moderne
     facon Stripe/Linear/Vercel.
     - Container global passe a 1280px (de 1160) : la page respire sur
       grand ecran, les blocs visuels (badges, captures, grilles, footer)
       s'etalent davantage.
     - Le fond hero (.hero__bg) etait deja en position: absolute inset: 0,
       donc full-width par construction — aucun changement necessaire.
     - Les paragraphes de texte restent contraints a ~75 chars/ligne
       (regle typo) via leurs propres max-width.
     Cohere visuellement avec le design system River. */
  .container           { max-width: 1280px; }
  .nav__inner          { max-width: 1280px; }
  .hero__inner         { max-width: 1280px; }
  /* Pousse a la limite haute du confort de lecture (~85 chars/ligne)
     pour exploiter la largeur disponible du container 1280px. Au-dela
     ca devient inconfortable, en-dessous l'effet 'colonne etroite'
     dans le vide reapparait. */
  .hero__lead          { max-width: 1040px; }    /* ~85 chars/ligne en serif 23px */
  .hero__compliance    { max-width: 1080px; }    /* note discrete, suit le container */
  .section-lead        { max-width: 85ch; }       /* ~85 chars/ligne en sans 17px */
  .preview-pane__intro { max-width: 1080px; }    /* ~85 chars/ligne en serif 17px */
}

@media (max-width: 720px) {
  .isnot__grid { grid-template-columns: 1fr; }
}

/* ============================================================ FAQ */
.faq {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
}
.faq__list {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease;
}
.faq__item[open] { border-color: var(--sage); }
.faq__item summary {
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  position: relative;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--petrol-dk);
  list-style: none;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--sage-dk);
  font-weight: 300;
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  padding: 16px 22px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* ============================================================ CTA FINAL */
.cta { background: var(--petrol-dk); color: var(--cream); text-align: center; }
.cta__inner { max-width: 700px; padding-top: 20px; padding-bottom: 20px; }
.cta h2 {
  color: var(--cream);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: none;
}
.cta h2 em { color: var(--amber); }
.cta p {
  color: var(--cream);
  opacity: 0.82;
  font-size: 16px;
  margin-bottom: 28px;
}
.cta .btn--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--petrol-dk);
}
.cta .btn--primary:hover { background: #E9B86A; border-color: #E9B86A; }
.cta__note { margin-top: 24px; font-size: 13px; opacity: 0.72; }
.cta__note span { color: var(--amber); margin: 0 6px; }

/* ============================================================ FOOTER */
.footer { background: #07181E; color: var(--cream); padding: 60px 0 24px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__logo { width: 46px; height: 46px; flex-shrink: 0; }
.footer__wordmark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 4px;
}
.footer__apos { color: var(--amber); }
.footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--sage-soft);
  margin-bottom: 10px;
}
.footer__meta { font-size: 12.5px; color: var(--sage); line-height: 1.5; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__col h4 {
  color: var(--amber);
  font-size: 11px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a {
  font-size: 14px;
  color: var(--cream);
  opacity: 0.78;
  transition: opacity 180ms ease, color 180ms ease;
}
.footer__col a:hover { opacity: 1; color: var(--amber); }
.footer__bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px 0;
  border-top: 1px solid rgba(122, 155, 142, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--sage);
  flex-wrap: wrap;
  gap: 10px;
}
.footer__version { font-family: var(--mono); font-size: 11px; opacity: 0.7; }

/* ============================================================ RESPONSIVE */
@media (max-width: 960px) {
  .nav__inner { gap: 20px; }
  .nav__links { display: none; }
  .modes__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .nav__cta .btn--ghost { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .pricing__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  section { padding: 56px 0; }
  .hero { padding: 72px 0 80px; }
}

@media (max-width: 420px) {
  .footer__cols { grid-template-columns: 1fr; }
  .hero__note { line-height: 1.9; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Keep level markers like "2de", "1re", "6e" glued together so `text-align:
   justify` doesn't inject space between the digit and its superscript. */
.nowrap { white-space: nowrap; }
.nowrap sup { margin-left: 0.05em; }

::selection { background: var(--amber-soft); color: var(--petrol-dk); }
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 2px solid var(--sage-dk);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================ PAGES (routing single-HTML) */
.page { display: none; }
.page.page--active {
  display: block;
  animation: pageFade 0.25s ease;
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* État actif du lien dans la nav top */
.nav__links a.is-active {
  color: var(--coral);
  font-weight: 600;
  position: relative;
}
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

/* ============================================================ BURGER + DRAWER MOBILE */
.nav__burger {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: drawerSlide 0.22s ease;
  overflow-y: auto;
}
.nav-drawer[hidden] { display: none; }
@keyframes drawerSlide {
  from { transform: translateY(-12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer__links a {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s ease;
}
.nav-drawer__links a:hover,
.nav-drawer__links a.is-active {
  color: var(--coral);
}
.nav-drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.nav-drawer__cta .btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================ CAPTURE TEASER (carte cliquable, alternative à la screenshot) */
.capture-card--teaser {
  margin: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.capture-card--teaser:hover {
  transform: translateY(-4px);
}
.capture-card--teaser:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
  border-radius: 16px;
}

.capture-card__teaser {
  background:
    radial-gradient(circle at 0% 0%, rgba(122, 155, 142, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(199, 97, 63, 0.08) 0%, transparent 50%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    0 12px 32px rgba(14, 42, 52, 0.10),
    0 2px 6px rgba(14, 42, 52, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 280px;
}
.capture-card--teaser:hover .capture-card__teaser {
  border-color: var(--sage-dk);
  box-shadow:
    0 18px 42px rgba(14, 42, 52, 0.16),
    0 4px 10px rgba(14, 42, 52, 0.08);
}

.capture-card__teaser-mode {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-soft);
  padding: 5px 12px 4px;
  border-radius: var(--radius-pill);
}
.capture-card__teaser-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.capture-card__teaser-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 8px;
}
.capture-card__teaser-bubble {
  margin: 0;
  padding: 9px 13px;
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 92%;
}
.capture-card__teaser-bubble--user {
  align-self: flex-end;
  background: var(--ink);
  color: var(--cream);
  border-bottom-right-radius: 5px;
}
.capture-card__teaser-bubble--ai {
  align-self: flex-start;
  background: var(--cream-deep);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.capture-card__teaser-bubble--ai strong { color: var(--petrol-dk); font-weight: 600; }
.capture-card__teaser-bubble--ai em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--sage-dk);
}

.capture-card__teaser-cta {
  align-self: center;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.18s ease;
}
.capture-card--teaser:hover .capture-card__teaser-cta {
  background: var(--coral);
}
.capture-card__teaser-cta--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.capture-card--teaser:hover .capture-card__teaser-cta--ghost {
  background: var(--cream-deep);
  color: var(--ink);
  border-color: var(--sage-dk);
}
.capture-card__teaser-cta svg { flex-shrink: 0; }

/* ============================================================ REPLAY MODALE */
.replay {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 32, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  animation: lbFade 0.18s ease;
}
.replay[hidden] { display: none; }
.replay__panel {
  background: var(--cream);
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.replay__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--cream-deep);
}
.replay__title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.replay__mode-badge {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.replay__subtitle {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
.replay__close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0 4px;
}
.replay__close:hover { color: var(--coral); }

.replay__chat {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.replay__bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  animation: bubbleIn 0.25s ease;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.replay__bubble--user {
  align-self: flex-end;
  background: var(--ink);
  color: var(--cream);
  border-bottom-right-radius: 6px;
}
.replay__bubble--assistant {
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}
.replay__bubble--assistant p { margin: 0 0 8px; color: inherit; }
.replay__bubble--assistant p:last-child { margin-bottom: 0; }
.replay__bubble--assistant ul { margin: 4px 0 8px; padding-left: 20px; }
.replay__bubble--assistant ul:last-child { margin-bottom: 0; }
.replay__bubble--assistant li { margin: 3px 0; }
.replay__bubble--assistant strong { color: var(--petrol-dk); }
.replay__bubble--assistant em {
  font-style: italic;
  color: var(--ink-soft);
  font-family: var(--serif);
}

.replay__bubble--typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 14px 18px;
}
.replay__bubble--typing span {
  width: 7px;
  height: 7px;
  background: var(--ink-soft);
  border-radius: 50%;
  opacity: 0.4;
  animation: typingDot 1.2s ease-in-out infinite;
}
.replay__bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.replay__bubble--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.replay__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--cream-deep);
}
.replay__hint {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  font-style: italic;
}
.replay__restart {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}
.replay__restart:hover { background: var(--petrol); }

@media (max-width: 600px) {
  .replay { padding: 0; }
  .replay__panel {
    max-height: 100vh;
    border-radius: 0;
  }
  .replay__bubble { max-width: 88%; font-size: 14.5px; }
  .replay__hint { display: none; }
}

/* ============================================================ DASHBOARD MOCKS (côté parent — recréés en HTML natif) */
.preview-grid--dashboards {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .preview-grid--dashboards { grid-template-columns: 1fr; max-width: 640px; }
}

.dashboard-mock {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dashboard-mock figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 0 4px;
}
.dashboard-mock figcaption strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.dashboard-mock figcaption span {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.dashboard-mock__frame {
  background: #0E2A34;
  border-radius: 14px;
  padding: 10px;
  box-shadow:
    0 24px 60px rgba(14, 42, 52, 0.22),
    0 6px 14px rgba(14, 42, 52, 0.14);
}
.dashboard-mock__chrome {
  display: flex;
  gap: 6px;
  padding: 4px 6px 8px;
}
.dashboard-mock__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3A4E57;
}
.dashboard-mock__body {
  background: var(--cream);
  border-radius: 8px;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--sans);
}

.dashboard-mock__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.dashboard-mock__role {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dk);
  margin-bottom: 2px;
}
.dashboard-mock__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.dashboard-mock__tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dashboard-mock__tabs span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
}
.dashboard-mock__tabs span.is-active {
  background: var(--ink);
  color: var(--cream);
}

.dashboard-mock__filter {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.dashboard-mock__filter-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dk);
  margin-right: 4px;
}
.dashboard-mock__pill {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
}
.dashboard-mock__pill.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  font-weight: 600;
}
.dashboard-mock__pill--soft.is-active {
  background: var(--sage);
  color: var(--cream);
  border-color: var(--sage);
}

.dashboard-mock__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 4px 0 -4px;
}

.dashboard-mock__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.stat__icon {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 2px;
}
.stat__value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.stat__label {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.dashboard-mock__alerts-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.alert-bucket {
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
}
.alert-bucket__count {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
.alert-bucket__label {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}
.alert-bucket--critical {
  background: rgba(199, 97, 63, 0.10);
  border-color: rgba(199, 97, 63, 0.25);
}
.alert-bucket--critical .alert-bucket__count { color: var(--coral); }
.alert-bucket--critical .alert-bucket__label { color: var(--coral); }
.alert-bucket--warning {
  background: rgba(216, 160, 74, 0.14);
  border-color: rgba(216, 160, 74, 0.30);
}
.alert-bucket--warning .alert-bucket__count { color: #B07F32; }
.alert-bucket--warning .alert-bucket__label { color: #8B5E1F; }
.alert-bucket--info {
  background: rgba(122, 155, 142, 0.14);
  border-color: rgba(122, 155, 142, 0.28);
}
.alert-bucket--info .alert-bucket__count { color: var(--sage-dk); }
.alert-bucket--info .alert-bucket__label { color: var(--sage-dk); }

.dashboard-mock__chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  align-items: end;
  height: 88px;
  padding: 6px 4px 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.bar-day {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  position: relative;
  height: 100%;
  padding-bottom: 14px;
}
.bar {
  width: 7px;
  height: var(--h);
  border-radius: 3px 3px 0 0;
}
.bar--prof { background: var(--sage-dk); }
.bar--libre { background: var(--amber); }
.bar-day__label {
  position: absolute;
  bottom: 0;
  font-size: 9px;
  color: var(--ink-soft);
  font-weight: 500;
}
.dashboard-mock__legend {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: -4px;
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.legend-dot--prof { background: var(--sage-dk); }
.legend-dot--libre { background: var(--amber); }

/* --- Alertes en lignes --- */
.alert-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  border-left-width: 4px;
  border-left-style: solid;
}
.alert-row--critical { border-left-color: var(--coral); }
.alert-row--warning { border-left-color: var(--amber); }
.alert-row--info { border-left-color: var(--sage); }

.alert-row__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-row__icon { font-size: 14px; line-height: 1; }
.alert-row__title {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}
.alert-row__time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.alert-row__body {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 2px 0 0;
}
.alert-row__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.alert-row__child {
  font-size: 11px;
  color: var(--sage-dk);
  letter-spacing: 0.02em;
}
.alert-row__action {
  font-size: 11px;
  font-weight: 600;
  color: var(--sage-dk);
  background: var(--sage-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 540px) {
  .dashboard-mock__body { padding: 14px 14px 16px; }
  .dashboard-mock__stats { grid-template-columns: 1fr 1fr; }
  .stat__value { font-size: 18px; }
  .dashboard-mock__chart { height: 72px; }
}
