:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f1ec;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --text-soft: #7a7670;
  --accent: #1f4d4a;
  --accent-hover: #163836;
  --border: #e5e2dc;
  --serif: "Lora", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --radius: 4px;
  --max-prose: 680px;
  --max-wide: 1100px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}
a:hover { border-bottom-color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.site-header .lang-switcher { margin-left: auto; }

/* Menu en tiroir (téléphone) — voir nav.js.
   Au-dessus de 720 px, `display: contents` rend le conteneur transparent : les
   liens et le bouton de compte restent des enfants directs de l'en-tête et la
   mise en page ne bouge pas. */
.site-menu { display: contents; }
.nav-burger { display: none; }
.nav-scrim { display: none; }

@media (max-width: 719px) {
  .site-header {
    padding: 18px 20px;
    gap: 12px 16px;
    flex-wrap: nowrap;
  }
  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    background: none;
    border: none;
    padding: 8px;
    margin-left: -8px;
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
    line-height: 0;
  }
  .nav-burger svg { width: 24px; height: 24px; }

  .site-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(78vw, 300px);
    padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
    background: var(--bg-alt);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 200ms ease;
    z-index: 60;
  }
  body.nav-open .site-menu {
    transform: none;
    box-shadow: 18px 0 40px rgba(26, 26, 26, 0.16);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(26, 26, 26, 0.38);
  }

  .site-menu .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-menu .site-nav a {
    font-size: 16px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--border);
  }
  .site-menu .site-nav a.active {
    border-bottom-color: var(--border);
  }
  .site-menu .site-account {
    margin-top: 18px;
    justify-content: center;
    padding: 11px 16px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-menu { transition: none; }
}

/* Bouton « Se connecter » → portail de comptes (beta.lutramusic.com). */
.site-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: background-color 120ms ease, border-color 120ms ease;
}
.site-account:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg);
  border-bottom: 1px solid var(--accent-hover);
}

/* Badge « bêta » (ajouté par script.js uniquement sur le site beta). */
.site-beta-badge {
  margin-left: 8px;
  padding: 1px 7px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--accent);
  background: rgba(31, 77, 74, 0.12);
  border-radius: 999px;
  vertical-align: middle;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  border-bottom: none;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}
.brand:hover { border-bottom: none; }

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}
.lang-switcher button {
  appearance: none;
  background: none;
  border: none;
  padding: 4px 6px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: var(--radius);
}
.lang-switcher button:hover { color: var(--text); }
.lang-switcher button.active { color: var(--text); font-weight: 600; }

/* Hero */
.hero {
  max-width: var(--max-wide);
  margin: 24px auto 0;
  padding: 80px 32px 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    padding: 120px 32px 140px;
  }
}

.hero-text h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  max-width: 18ch;
}

.hero-status {
  font-style: italic;
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: 17px;
  margin: 0;
}

/* Hero screenshot */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-screenshot {
  width: 100%;
  max-width: 540px;
  background: #1d1d1d;
  border-radius: 14px;
  padding: 10px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 30px 60px -22px rgba(31, 77, 74, 0.22),
    0 18px 30px -18px rgba(0,0,0,0.16);
}
.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Prose sections */
.prose {
  padding: 80px 32px;
}
.prose.alt { background: var(--bg-alt); }
.prose > * {
  max-width: var(--max-prose);
  margin-left: auto;
  margin-right: auto;
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.005em;
  margin: 0 auto 32px;
  color: var(--text);
}
.prose h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-top: 14px;
  border-radius: 2px;
}

/* Vision section: 2-col with phone mockup on desktop */
.vision-section > .vision-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.vision-text { max-width: var(--max-prose); }
.vision-text > * { margin-left: 0; margin-right: 0; }
.phone-mockup {
  display: flex;
  justify-content: center;
  align-self: center;
}
.phone-bezel {
  position: relative;
  width: 220px;
  background: #0b0b0b;
  border: 1px solid #1d1d1d;
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 1.5px #2a2a2a,
    0 1px 2px rgba(0,0,0,0.05),
    0 30px 50px -22px rgba(31, 77, 74, 0.22),
    0 16px 28px -16px rgba(0,0,0,0.18);
}
.phone-bezel::before,
.phone-bezel::after {
  content: "";
  position: absolute;
  background: #2a2a2a;
  border-radius: 2px;
}
/* side button sliver (silent switch) */
.phone-bezel::before {
  top: 60px;
  left: -2px;
  width: 2px;
  height: 18px;
}
/* volume / power composite */
.phone-bezel::after {
  top: 100px;
  right: -2px;
  width: 2px;
  height: 36px;
}
.phone-bezel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 32px;
}
@media (min-width: 900px) {
  .vision-section > .vision-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 64px;
  }
}

/* Status section with engraving illustration */
.status-section { text-align: center; }
.status-section h2 { display: inline-block; text-align: left; }
.status-section p { text-align: left; }
.status-illustration {
  display: block;
  margin: 0 auto 28px;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 19px;
  color: var(--text);
  margin: 36px auto 8px;
}
.prose h3:first-of-type { margin-top: 8px; }

.prose p {
  margin: 0 auto 18px;
  color: var(--text);
}
.prose p:last-child { margin-bottom: 0; }

.prose strong { font-weight: 600; color: var(--text); }

@media (min-width: 720px) {
  .prose { padding: 110px 32px; }
}

/* Signup */
.signup .signup-form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.signup input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 77, 74, 0.12);
}
.signup button {
  appearance: none;
  padding: 12px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.signup button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.signup-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}
.signup-note.error { color: #a8412e; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
}
.site-footer p { margin: 0; }
.site-footer .sep {
  margin: 0 8px;
  color: var(--border);
}
.site-footer a {
  color: var(--text-soft);
}
.site-footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Selection */
::selection {
  background: rgba(31, 77, 74, 0.18);
  color: var(--text);
}

/* Privacy policy page */
.prose.policy {
  padding-top: 56px;
  padding-bottom: 96px;
  max-width: calc(var(--max-prose) + 64px);
  margin: 0 auto;
}
.prose.policy > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.prose.policy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.prose.policy .policy-meta {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
}
.prose.policy h2 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 20px;
}
.prose.policy h2::after { display: none; }
.prose.policy h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  margin: 28px 0 8px;
  color: var(--text);
}
.prose.policy p,
.prose.policy ul {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
.prose.policy ul {
  padding-left: 22px;
  margin: 12px 0 16px;
}
.prose.policy li { margin: 6px 0; }
.prose.policy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 3px;
}
.prose.policy a {
  color: var(--accent);
  border-bottom: 1px solid rgba(31, 77, 74, 0.3);
}
.prose.policy a:hover { border-bottom-color: var(--accent); }
.policy-tldr {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0 8px;
}
.policy-tldr h2 {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: 18px !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.policy-tldr ul { margin: 0; padding-left: 18px; }
.policy-tldr li { margin: 8px 0; }
.policy-cats { columns: 1; }
@media (min-width: 720px) {
  .policy-cats { columns: 2; column-gap: 36px; }
  .policy-cats li { break-inside: avoid; }
}

/* Roadmap page */
.roadmap { color: var(--text); }
.roadmap-hero {
  padding: 64px 32px 40px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.roadmap-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.roadmap-hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}
.legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  background: var(--bg-alt);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rm-section {
  padding: 64px 32px;
  border-top: 1px solid var(--border);
}
.rm-section:first-of-type { border-top: 0; }
.rm-inner {
  max-width: 920px;
  margin: 0 auto;
}
.rm-section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
  color: var(--text);
}
.rm-section h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-top: 10px;
  border-radius: 2px;
}
.rm-tagline {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 28px;
}
.rm-product-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.feature {
  margin: 24px 0;
}
.feature h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
  line-height: 1;
  border: 1px solid transparent;
}
.badge.done    { background: rgba(31, 77, 74, 0.12);  color: var(--accent);     border-color: rgba(31, 77, 74, 0.25); }
.badge.wip     { background: rgba(196, 132, 38, 0.14); color: #a86a1a;          border-color: rgba(196, 132, 38, 0.32); }
.badge.planned { background: rgba(0, 0, 0, 0.04);     color: var(--text-soft);  border-color: var(--border); }

/* Two-column audience layout */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 880px) {
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.audience-col h2 { margin-bottom: 18px; }

/* Stage gets a distinct treatment */
.rm-stage { background: var(--bg-alt); }
.rm-stage .rm-inner { max-width: 760px; }
.rm-stage p { font-size: 16px; line-height: 1.7; color: var(--text); }
.rm-stage .rm-tagline {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

/* Tools section: slightly tighter */
.rm-tools .rm-inner { max-width: 760px; }


/* ============================================================
   Product pages (Lutra Display, etc.) + global product nav
   ============================================================ */

/* Global product navigation (inline in the header row) */
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.site-nav a {
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); border-bottom-color: transparent; }
.site-nav a.active {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: var(--accent);
}
.site-nav a .nav-soon {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-left: 5px;
  vertical-align: 1px;
}

/* Product hero */
.product-hero {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 64px 32px 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .product-hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    padding: 96px 32px 80px;
  }
}
.product-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
}
.product-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.product-hero .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 38ch;
}

/* Solo hero (no visual): single column, left-aligned */
.product-hero.solo { grid-template-columns: 1fr; max-width: 860px; }

/* On product pages, body prose shares the hero's width so left edges align */
.product-page .prose > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.product-page .prose.signup-cta > * { max-width: var(--max-prose); }

/* Platform glyph strip (hero) — aligned glyph+label pairs */
.plat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 26px;
  margin-top: 12px;
}
.plat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 56px;
  max-width: 92px;
  text-align: center;
}
.plat-item .glyph {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plat-item .glyph img { max-height: 26px; width: auto; display: block; }
.plat-item span {
  font-size: 12px;
  line-height: 1.25;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

/* Platform groups (Desktop/Mobile vs TV/Console) */
.plat-group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-soft);
  margin: 0 0 12px;
}
.plat-groups {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
}
.plat-groups .plat-strip { margin-top: 0; }
.plat-blocks { max-width: 920px; margin: 0 auto; }
.plat-block + .plat-block { margin-top: 36px; }
.plat-block .plat-grid { margin-top: 12px; }

/* "Already built / ships with Lutra" status pill */
.ships-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
}
.ships-note .dot { color: var(--accent); font-size: 12px; }

/* Generic device mockup frame (placeholder-friendly) */
.device-frame {
  width: 100%;
  background: #1d1d1d;
  border-radius: 14px;
  padding: 10px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 30px 60px -22px rgba(31, 77, 74, 0.22),
    0 18px 30px -18px rgba(0,0,0,0.16);
}
.device-frame img { display: block; width: 100%; height: auto; border-radius: 6px; }
.device-frame.placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6f6f6f;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 24px;
}

/* Three-up point row */
.point-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .point-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
}
.point h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 6px;
}
.point p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.65; }

/* Use-case cards */
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .usecase-grid { grid-template-columns: 1fr 1fr; }
}
.usecase {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 24px;
}
.prose.alt .usecase { background: var(--bg); }
.usecase h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 6px;
}
.usecase p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* Platform availability grid (the differentiator) */
.plat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 28px auto 0;
}
@media (min-width: 640px) { .plat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .plat-grid { grid-template-columns: repeat(3, 1fr); } }
.plat-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  background: var(--bg);
}
.plat-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.plat-card-head img { height: 26px; width: auto; display: block; flex: 0 0 auto; }
.plat-card-head h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}
.plat-card ul { list-style: none; margin: 0; padding: 0; }
.plat-card li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-muted);
  padding: 3px 0;
}
.plat-card li .dot {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1.4;
}
.plat-card li .dot.done    { color: var(--accent); }
.plat-card li .dot.wip     { color: #a86a1a; }
.plat-card li .dot.planned { color: var(--text-soft); }

/* Download / store CTA row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  align-items: center;
}
.btn-primary,
.btn-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-soon {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border);
  cursor: default;
}
.btn-soon .nav-soon {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Strong "free" callout */
.free-callout {
  max-width: 760px;
  margin: 0 auto;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  padding: 32px 36px;
  text-align: center;
}
.free-callout h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--bg);
}
.free-callout h2::after { display: none; }
.free-callout p { margin: 0; color: rgba(251, 250, 247, 0.85); font-size: 16px; }

/* Cross-sell strip */
.cross-sell {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cross-sell p { margin: 0; font-size: 16px; color: var(--text); max-width: 46ch; }
.cross-sell a.btn-primary { color: var(--bg); }

/* Centered call-to-action section (e.g. beta signup link) */
.signup-cta { text-align: center; }
.signup-cta h2 { text-align: center; }
.signup-cta h2::after { margin-left: auto; margin-right: auto; }
.signup-cta .btn-primary { color: var(--bg); margin-top: 8px; }

/* Suite hub (home) */
.suite { padding: 72px 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.suite-inner { max-width: var(--max-wide); margin: 0 auto; }
.suite-inner > h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 6px; color: var(--text); }
.suite-lead { color: var(--text-muted); margin: 0 0 28px; font-size: 17px; }
.suite-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 680px) {
  .suite-grid { grid-template-columns: 1fr 1fr; }
  /* L'app principale occupe la première ligne, ses compagnons vont par deux. */
  .suite-grid > .suite-card:first-child { grid-column: 1 / -1; }
}
a.suite-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 24px 26px; background: var(--bg); color: inherit;
  border-bottom: 1px solid var(--border);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
a.suite-card:hover { border-color: var(--accent); box-shadow: 0 14px 32px -20px rgba(31,77,74,0.32); transform: translateY(-1px); }
.suite-card .suite-eyebrow { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; margin: 0 0 8px; }
.suite-card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; margin: 0 0 8px; color: var(--text); }
.suite-card p { margin: 0 0 16px; color: var(--text-muted); font-size: 15.5px; line-height: 1.6; flex: 1; }
.suite-card .suite-more { font-size: 14px; font-weight: 600; color: var(--accent); }
/* Page Lutra : ses deux compagnons, côte à côte (pas de carte pleine largeur). */
@media (min-width: 680px) {
  .suite-grid.compagnons > .suite-card:first-child { grid-column: auto; }
}
.prose .suite-grid.compagnons { margin-top: 20px; }
.prose a.suite-card { background: #fff; }

/* True roadmap: product tag chips on items */
.rm-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; background: rgba(31,77,74,0.10); color: var(--accent); }
.rm-tag.muted { background: rgba(0,0,0,0.05); color: var(--text-soft); }
.rm-horizon-lead { color: var(--text-muted); margin: 0 0 24px; font-size: 15.5px; }


/* ============================================================
   Download page (hidden / direct-link only)
   Reuses the site's existing components: .plat-card, .plat-grid,
   .plat-card-head, .plat-group-label, .btn-primary, .eyebrow tokens.
   ============================================================ */

/* Beta disclaimer banner */
.beta-banner {
  background: var(--accent);
  color: var(--bg);
  font-size: 14.5px;
  line-height: 1.5;
  text-align: center;
  padding: 11px 32px;
}
.beta-banner strong { color: var(--bg); font-weight: 600; }
.beta-banner .beta-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(251, 250, 247, 0.18);
  border-radius: 999px;
  padding: 2px 9px;
  margin-right: 8px;
  vertical-align: 1px;
}

/* Hero — same proportions as the product pages */
.dl-hero {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 72px 32px 8px;
  text-align: center;
}
.dl-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
}
.dl-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.dl-hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 28px;
}

button.btn-primary { font: inherit; cursor: pointer; }

/* Recommendation result (revealed after detect) */
.dl-reco {
  max-width: 600px;
  margin: 24px auto 0;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.dl-reco[hidden] { display: none; }
.dl-reco .dl-reco-glyph {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(31, 77, 74, 0.09);
  display: flex; align-items: center; justify-content: center;
}
.dl-reco .dl-reco-glyph img { width: 24px; height: 24px; }
.dl-reco-text { flex: 1 1 auto; min-width: 0; }
.dl-reco-text .dl-reco-eyebrow {
  font-size: 13px; font-weight: 500; color: var(--text-soft); margin: 0 0 2px;
}
.dl-reco-text .dl-reco-os { font-size: 16px; font-weight: 600; margin: 0; color: var(--text); }
.dl-reco-text .dl-reco-os span { color: var(--text-soft); font-weight: 400; }
.dl-reco-text .dl-reco-hint { margin: 3px 0 0; font-size: 13px; color: var(--text-muted); }
.dl-reco .dl-reco-cta { flex: 0 0 auto; }
@media (max-width: 560px) {
  .dl-reco { flex-direction: column; align-items: flex-start; }
  .dl-reco .dl-reco-cta { width: 100%; justify-content: center; }
}

/* App tabs — same underline treatment as .site-nav */
.dl-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 24px;
  max-width: var(--max-wide);
  margin: 40px auto 0;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
}
.dl-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 14px 2px;
  font: inherit;
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 120ms ease, border-color 120ms ease;
}
.dl-tab:hover { color: var(--text); }
.dl-tab.active { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }
.dl-tab[disabled] { color: var(--text-soft); cursor: default; }
.dl-tab[disabled]:hover { color: var(--text-soft); }
.dl-tab .dl-tab-mark { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; }
.dl-tab .dl-tab-mark img { width: 18px; height: 18px; display: block; }
.dl-tab .dl-tab-soon {
  font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-soft); border: 1px solid var(--border); border-radius: 999px; padding: 1px 7px;
}

/* Panels */
.dl-panel { max-width: var(--max-wide); margin: 0 auto; padding: 48px 32px 8px; }
.dl-panel[hidden] { display: none; }
.dl-panel-intro { max-width: 640px; margin: 0 auto; text-align: center; }
.dl-panel-intro h2 {
  font-family: var(--serif); font-weight: 500; font-size: 26px;
  margin: 0 0 8px; color: var(--text);
}
.dl-panel-intro p { color: var(--text-muted); font-size: 16px; margin: 0; }
.dl-status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: 13.5px; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.dl-status .dot { font-size: 11px; }
.dl-status .dot.live { color: var(--accent); }
.dl-status .dot.soon { color: #a86a1a; }

/* A platform group inside a panel */
.dl-group { margin-top: 36px; }
.dl-group > .plat-group-label { max-width: var(--max-wide); margin: 0 auto 14px; }
/* Identical card width across every group: a fixed 4-column track. Groups
   with fewer platforms (e.g. mobile = 2) leave the trailing columns empty,
   so a mobile card is exactly as wide as a desktop card. */
.dl-group .plat-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) { .dl-group .plat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .dl-group .plat-grid { grid-template-columns: repeat(4, 1fr); } }

/* Download actions inside the reused .plat-card */
.plat-card { position: relative; }
/* Uniform card size: every card in a row matches the tallest one */
.dl-group .plat-grid { align-items: stretch; }
.dl-group .plat-card { height: 100%; display: flex; flex-direction: column; }
.dl-group .plat-card .dl-dls { margin-top: 14px; }
.plat-card.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.plat-card .dl-reco-ribbon {
  display: none;
  position: absolute; top: -10px; left: 20px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--accent); color: var(--bg); padding: 3px 10px; border-radius: 999px;
}
.plat-card.recommended .dl-reco-ribbon { display: inline-block; }

.plat-card .dl-plat-sub { font-size: 12.5px; color: var(--text-soft); margin: 8px 0 0; line-height: 1.4; }
.dl-dls { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
/* Bouton d'architecture qui déroule ses paquets (carte Linux). */
.dl-pick { position: relative; }
.dl-pick > summary { list-style: none; }
.dl-pick > summary::-webkit-details-marker { display: none; }
.dl-pick-btn { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.dl-pick-btn .dl-btn-sub { color: rgba(251, 250, 247, 0.8); }
.dl-pick-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.dl-pick > summary .dl-btn-arrow { font-size: 15px; line-height: 1; transition: transform 0.15s ease; }
.dl-pick[open] > summary .dl-btn-arrow { transform: rotate(180deg); }
.dl-pick-menu {
  list-style: none; margin: 0; padding: 6px; position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
  display: flex; flex-direction: column; gap: 6px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* Each download variant is one full-size button. Available = accent/clickable,
   unavailable = greyed out. No file extension — the label says enough. */
.dl-btn {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.dl-btn-row { display: flex; align-items: baseline; gap: 8px; }
.dl-btn-main { flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: 13px; line-height: 1.3; }
.dl-btn-sub { font-size: 11px; line-height: 1.3; color: var(--text-soft); }
.dl-btn-arrow { flex: 0 0 auto; font-size: 12px; font-weight: 600; }

/* Available: solid accent, clickable */
a.dl-btn { background: var(--accent); border-color: var(--accent); color: var(--bg); }
a.dl-btn .dl-btn-sub { color: rgba(251, 250, 247, 0.8); }
a.dl-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }

/* Unavailable: greyed out, not clickable */
.dl-btn.soon { background: var(--bg-alt); border-color: var(--border); color: var(--text-muted); cursor: default; }
.dl-btn.soon .dl-btn-sub { color: var(--text-soft); }

.dl-card-note {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
}
.dl-card-note:hover { color: var(--accent); border-bottom-color: transparent; }

/* Stage placeholder */
.dl-stage-soon {
  max-width: 620px; margin: 8px auto 0; text-align: center;
  border: 1px dashed var(--border); border-radius: 8px;
  padding: 48px 32px; background: var(--bg-alt);
}
.dl-stage-soon h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 10px; }
.dl-stage-soon p { color: var(--text-muted); margin: 0 auto; max-width: 44ch; }

/* Help note */
.dl-help {
  max-width: 700px; margin: 0 auto; padding: 40px 32px 72px;
  text-align: center; color: var(--text-muted); font-size: 14.5px; line-height: 1.7;
}
.dl-help a { border-bottom: 1px solid rgba(31, 77, 74, 0.3); }

/* FAQ — une question par <details>, ouverte d'un clic */
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: var(--text-soft);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-answer {
  padding: 0 0 18px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0 0 10px; padding-left: 20px; }
.faq-answer li { margin: 4px 0; }

/* ── Page Fonctionnalités (/features) ─────────────────────────────────────
   Une table par domaine. Les colonnes « produit » (aujourd'hui Lutra seul)
   ont une largeur fixe : une colonne de plus (forfait, comparaison) s'ajoute
   sans rien recalculer. */
.features-hero { padding-bottom: 36px; }
@media (min-width: 900px) { .features-hero { padding-bottom: 44px; } }
.features-hero .lede { max-width: 54ch; margin-bottom: 0; }

/* Onglets des domaines : du texte souligné en vert, comme le menu du site.
   La rangée défile à l'horizontale sur un téléphone. */
/* Sur un écran étroit, la barre défile de côté : un fondu et un chevron
   disent qu'il reste des onglets à gauche ou à droite (classes posées par le
   script de la page). */
.features-tabs-cadre {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.features-tabs-cadre::before,
.features-tabs-cadre::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 1px;
  width: 56px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
  background-repeat: no-repeat;
  background-size: 9px 14px, 100% 100%;
}
.features-tabs-cadre::before {
  left: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath d='M7.5 1.5L2 7l5.5 5.5' fill='none' stroke='%231f4d4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(to right, var(--bg) 45%, rgba(251, 250, 247, 0));
  background-position: 10px 50%, 0 0;
}
.features-tabs-cadre::after {
  right: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath d='M1.5 1.5L7 7l-5.5 5.5' fill='none' stroke='%231f4d4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(to left, var(--bg) 45%, rgba(251, 250, 247, 0));
  background-position: calc(100% - 10px) 50%, 0 0;
}
.features-tabs-cadre.a-gauche::before,
.features-tabs-cadre.a-droite::after { opacity: 1; }

.features-tabs {
  padding: 0 32px;
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.features-tabs::-webkit-scrollbar { display: none; }
.features-tabs[hidden] { display: none; }
.features-tabs button {
  flex: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 0 11px;
  font: 500 15px/1.4 var(--sans);
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color 120ms ease, border-color 120ms ease;
}
.features-tabs button:hover { color: var(--text); }
.features-tabs button[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.features-tabs button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.features-group[hidden] { display: none; }

.features {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.features-group { scroll-margin-top: 24px; }
.features-group header { margin-bottom: 16px; }
.features-group h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 4px;
}
.features-group header p { margin: 0; color: var(--text-muted); font-size: 16px; }

.features-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.features-table td {
  text-align: left;
  padding: 14px 20px;
  vertical-align: top;
}
.features-table tbody tr + tr > * { border-top: 1px solid var(--border); }
.features-table tbody tr:hover { background: #fcfbf8; }
.f-nom { display: block; font-weight: 600; line-height: 1.4; }
.f-desc { display: block; font-size: 15px; line-height: 1.55; color: var(--text-muted); margin-top: 2px; }
/* Une fonction qui a son GIF : un repère discret, l'image au clic, dans une
   fenêtre presque plein écran. La table garde son apparence. */
.features-table tr[data-gif] { cursor: pointer; }
.f-gif { font-size: 10px; color: var(--accent); margin-left: 6px; vertical-align: 2px; opacity: .75; }
.features-table tr[data-gif]:hover .f-gif, .features-table tr[data-gif]:focus .f-gif { opacity: 1; }
.gif-fenetre { position: fixed; inset: 0; z-index: 60; background: rgba(20,20,20,.72);
  display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.gif-fenetre[hidden] { display: none; }
.gif-cadre { padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.gif-cadre img { display: block; max-width: calc(100vw - 44px); max-height: calc(100vh - 44px);
  border-radius: 8px; }
.gif-fermer { position: fixed; top: 14px; right: 16px; width: 40px; height: 40px; border: 0;
  border-radius: 50%; background: rgba(255,255,255,.92); color: #222; font-size: 18px;
  line-height: 40px; cursor: pointer; }
.gif-fermer:hover, .gif-fermer:focus-visible { background: #fff; }
html.gif-ouvert { overflow: hidden; }
.limite {
  display: inline-block;
  margin-left: 8px;
  padding: 0 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  vertical-align: 1px;
}
.features-table tr.signature > td { box-shadow: inset 3px 0 0 var(--accent); }
.badge-signature {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.features-note {
  margin: 12px 4px 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-soft);
}
@media (max-width: 600px) {
  .features { padding: 28px 16px 32px; gap: 44px; }
  .features-tabs { padding: 0 16px; gap: 22px; }
  .features-table td { padding: 12px 14px; }
}

/* ============================================================
   Nouvelles (/blog) — pages générées par tools/blog/generer.py
   ============================================================ */
.blog-hero { padding-bottom: 28px; }
.blog-hero .lede { max-width: 50ch; margin-bottom: 0; }

.blog-liste {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px 88px;
}
.blog-vide { color: var(--text-muted); }
.blog-entree {
  position: relative;
  padding: 28px 0 30px;
  border-top: 1px solid var(--border);
}
.blog-entree:last-child { border-bottom: 1px solid var(--border); }
.blog-entree h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  margin: 10px 0 8px;
  max-width: 34ch;
}
.blog-entree h2 a { color: var(--text); border-bottom: 0; }
/* Toute l'entrée est cliquable : le lien du titre s'étend sur elle. */
.blog-entree h2 a::after { content: ""; position: absolute; inset: 0; }
.blog-entree h2 a:focus-visible { outline: none; }
.blog-entree h2 a:focus-visible::after {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.blog-entree:hover h2 a { color: var(--accent); }
.blog-resume {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}
.blog-lire { font-size: 14px; font-weight: 600; color: var(--accent); }
.blog-entree.une { padding-top: 8px; border-top: 0; }
.blog-entree.une h2 { font-size: clamp(28px, 3.4vw, 34px); max-width: 28ch; }
.blog-entree.une .blog-resume { font-size: 18px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}
.article-etiquette {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-provisoire {
  padding: 1px 8px;
  border: 1px dashed var(--text-soft);
  border-radius: 999px;
  font-size: 11.5px;
}

.article {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 40px 32px 88px;
}
.article-retour { margin: 0 0 36px; font-size: 14px; }
.article-retour a { color: var(--text-muted); border-bottom: 0; }
.article-retour a:hover { color: var(--accent); }
.article-tete { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-tete h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 14px 0 16px;
}
.article-resume { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-muted); }
.article-note {
  margin: 0 0 24px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.article-corps { font-size: 17px; line-height: 1.75; }
.article-corps > * { margin: 0 0 1.1em; }
.article-corps h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  margin: 1.8em 0 0.5em;
}
.article-corps h3 { font-size: 18px; font-weight: 600; margin: 1.6em 0 0.4em; }
.article-corps ul, .article-corps ol { padding-left: 1.3em; }
.article-corps li + li { margin-top: 0.35em; }
.article-corps blockquote {
  margin: 1.6em 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--text);
}
.article-corps blockquote p { margin: 0; }
.article-corps code {
  font-size: 0.9em;
  padding: 1px 5px;
  background: var(--bg-alt);
  border-radius: 4px;
}
.article-corps figure { margin: 1.8em 0; }
.article-corps figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.article-corps figcaption { margin-top: 8px; font-size: 14px; color: var(--text-soft); }

.article-suite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.article-suite a {
  display: block;
  color: var(--text);
  border-bottom: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
}
.article-suite a:hover { color: var(--accent); }
.article-suite a span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.article-suite .ancien { grid-column: 2; text-align: right; }

@media (max-width: 600px) {
  .blog-liste { padding: 0 16px 64px; }
  .article { padding: 28px 16px 64px; }
  .article-suite { grid-template-columns: 1fr; }
  .article-suite .ancien { grid-column: 1; text-align: left; }
}
