/* =========================================================
   Ryvka — Site vitrine — Design system
   ========================================================= */

:root {
  /* Palette — sombre, blanc = couleur d'action */
  --ink: #f5f5f4;
  --ink-soft: #c7c5c2;
  --paper: #0a0a0a;
  --paper-raised: #161616;
  --line: #2a2a29;
  --rust: #ffffff;
  --rust-dark: #d9d9d9;
  --rust-tint: rgba(255, 255, 255, 0.08);
  --sage: #c7c5c2;
  --sage-tint: rgba(255, 255, 255, 0.06);
  --gold: #ffffff;
  --muted: #8f8c88;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-brand: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  --shadow-lift: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Grain — casse le plat du fond sombre, donne du grain de peau à la page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Bandeaux inversés (clairs sur fond sombre) : grain plus doux en multiply */
.dark-section::before {
  mix-blend-mode: multiply;
  opacity: 0.04;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

/* Accent italique — le petit mot qui donne le ton, à la main dans les titres */
.accent {
  font-style: italic;
  font-weight: 500;
}

/* Soulignement encre — trait tiré à la main sous un mot clé */
.ink-mark {
  position: relative;
  white-space: nowrap;
}

.ink-mark::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.02em;
  height: 0.22em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M2 15 C 60 22, 110 5, 150 12 S 250 20, 298 9' fill='none' stroke='%23ffffff' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
  opacity: 0.9;
}

/* Dans les blocs inversés (clairs sur fond sombre), le trait redevient noir */
.dark-section .ink-mark::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M2 15 C 60 22, 110 5, 150 12 S 250 20, 298 9' fill='none' stroke='%23111111' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--rust);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--rust);
  color: var(--paper);
  box-shadow: 0 10px 24px -8px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--rust-dark);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 16px 34px -10px rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--paper-raised);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.btn-light:hover {
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* Monogramme — logo Ryvka (fichier réel, assets/logo-mark.png) */
.brand-mark {
  display: inline-block;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 1px solid rgba(220, 220, 216, 0.4);
  border-radius: 7px;
  padding: 1.5px;
  background-image: url("assets/logo-mark.png");
  background-size: 78%;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: content-box;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brand:hover .brand-mark {
  border-color: rgba(245, 245, 244, 0.7);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--paper-raised);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.nav-toggle .bar {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile nav panel ---------- */
.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  z-index: 39;
  padding: 8px 24px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mnav-section-label {
  padding: 18px 4px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mnav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mnav-link .ico {
  display: inline-flex;
  color: var(--muted);
  flex-shrink: 0;
}

.mnav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Dropdown ---------- */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 10px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.dropdown a:hover {
  background: var(--paper);
  color: var(--ink);
}

.dropdown .ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--rust-tint);
  color: var(--rust-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

/* ---------- Sections ---------- */
section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-head {
  max-width: 620px;
  margin: 0 0 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}

/* Espacement badge → titre, quel que soit le conteneur (section-head, split-text, etc.) */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3,
.eyebrow + h4 {
  margin-top: 16px;
}

.split-text h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}

.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
}

.dark {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin-top: 20px;
}

.hero .lede {
  margin-top: 22px;
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-meta span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.hero-visual {
  position: relative;
}

.mock-card {
  background: var(--paper-raised);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  gap: 6px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.mock-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.mock-body {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
}

.mock-row strong {
  font-size: 14.5px;
}

.mock-row span {
  font-size: 13px;
  color: var(--muted);
}

.mock-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rust-dark);
}

.float-chip {
  position: absolute;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-chip .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.chip-a {
  top: -18px;
  right: -18px;
}

.chip-a .ico {
  background: var(--sage-tint);
  color: var(--sage);
}

.chip-b {
  bottom: -16px;
  left: -24px;
}

.chip-b .ico {
  background: var(--rust-tint);
  color: var(--rust-dark);
}

/* ---------- Logo strip ---------- */
.trust-strip {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.trust-strip .label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--muted);
  opacity: 0.75;
}

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-lift);
}

.feature-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}

.feature-card:hover .ico {
  transform: rotate(-6deg) scale(1.05);
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-card a.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rust-dark);
  transition: gap 0.2s ease;
}

.feature-card a.more:hover {
  gap: 10px;
}

.tone-rust .ico { background: var(--ink); color: var(--paper); }
.tone-sage .ico { background: var(--sage-tint); color: var(--ink); }
.tone-gold .ico { background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 6px;
}

.step .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--line);
  -webkit-text-stroke: 1.5px var(--rust);
  color: transparent;
  margin-bottom: 14px;
  display: block;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 26px 14px;
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

.stat .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--rust-dark);
}

.stat .lbl {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 44px;
}

.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
}

.pricing-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}

.pricing-toggle .save {
  color: var(--sage);
  margin-left: 4px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}

.plan {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
}

.plan.featured {
  border-color: var(--rust);
  box-shadow: var(--shadow-lift);
}

.plan-badge {
  position: absolute;
  top: -13px;
  right: 28px;
  background: var(--rust);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.plan h3 {
  font-size: 20px;
}

.plan .tagline {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.plan .price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  margin-top: 22px;
}

.price-num {
  display: inline-block;
}

@keyframes priceSwap {
  0% { transform: translateY(-10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.price-num.swap {
  animation: priceSwap 0.32s ease;
}

.plan .price sup {
  font-size: 16px;
  font-weight: 600;
  margin-left: 3px;
}

.plan .billing {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.plan .btn {
  margin-top: 22px;
}

.plan ul {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.plan li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  align-items: flex-start;
}

.plan li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}

.fee-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Comparison table ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-raised);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.compare th {
  font-family: var(--font-display);
  font-size: 16px;
  background: var(--paper);
}

.compare tr:last-child td {
  border-bottom: none;
}

.compare td.yes {
  color: var(--sage);
  font-weight: 700;
}

.compare td.no {
  color: var(--muted);
}

/* ---------- Legal content (CGV, Confidentialité) ---------- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content .updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 46px;
  margin-bottom: 14px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-content li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content .intro {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--rust);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .a {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Related pages ---------- */
.related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related a {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.related a span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 6px;
}

.related a:hover {
  border-color: var(--rust);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.07), transparent 70%);
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--paper);
}

.cta-band p {
  margin-top: 14px;
  color: #55534f;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Le bandeau est clair (couleurs inversées) : le bouton redevient sombre pour rester lisible */
.cta-band .btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
}

.cta-band .btn-primary:hover {
  background: #1e1e1c;
}

.cta-band .hero-cta {
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 11px;
}

/* Le lien logo du footer doit rester flex (icône + texte alignés), pas block */
.footer-col a.brand {
  display: flex;
  margin-bottom: 14px;
}

.footer-col a:hover {
  color: var(--rust-dark);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-badge svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Badges / soon ---------- */
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sage-tint);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.notice {
  background: var(--paper-raised);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.notice strong {
  color: var(--ink);
}

/* ---------- Bullet list with check ---------- */
.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  align-items: flex-start;
}

.check-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rust-tint);
  color: var(--rust-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

/* ---------- Two-col feature block ---------- */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-block.reverse .split-text {
  order: 2;
}

.split-block.reverse .split-visual {
  order: 1;
}

.split-visual .card {
  padding: 0;
  overflow: hidden;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-64 { margin-top: 64px; }
.dark-section {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 64px;
}
.dark-section .section-head p { color: #55534f; }
.dark-section .section-head h2 { color: var(--paper); }

/* ---------- Simulateur de rotation de tables ---------- */
.sim-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.sim-inputs {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sim-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.sim-field-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sim-val {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  min-width: 58px;
  text-align: right;
  flex-shrink: 0;
}

.sim-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  outline: none;
}

.sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rust);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}

.sim-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rust);
  border: none;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}

/* Le panneau résultat est clair (couleurs inversées) : le bouton redevient sombre pour rester lisible */
.sim-result {
  background: var(--ink);
  color: var(--paper);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sim-result-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b6965;
}

.sim-result-num {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  margin: 8px 0 6px;
}

.sim-result-num .sim-unit {
  font-size: 17px;
  font-weight: 600;
  color: #6b6965;
}

.sim-result-rev {
  font-size: 14.5px;
  color: #55534f;
  margin-bottom: 24px;
}

.sim-result-rev strong {
  color: var(--paper);
}

.sim-result .btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
}

.sim-result .btn-primary:hover {
  background: #1e1e1c;
}

.sim-note {
  max-width: 720px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split-block { grid-template-columns: 1fr; }
  .split-block.reverse .split-text { order: 1; }
  .split-block.reverse .split-visual { order: 2; }
  .grid-3, .grid-4, .steps, .stat-row, .related, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .sim-card { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .dark-section { padding: 40px 26px; }
  .hero { padding-top: 48px; }
  .hero-visual { margin-top: 8px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .site-header .container { height: 68px; }
  .mobile-nav { top: 68px; }
  .brand-mark { width: 23px; height: 23px; border-radius: 6px; }
  /* header allégé : Se connecter + CTA texte restent accessibles dans le panneau mobile */
  .nav-actions .nav-link { display: none; }
  .nav-actions .btn-primary.btn-sm { display: none; }
  section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .grid-3, .grid-4, .steps, .stat-row, .related, .footer-grid, .grid-2 { grid-template-columns: 1fr; }
  .compare { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare th, .compare td { white-space: nowrap; }
  .hero-cta, .cta-band .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-meta { flex-direction: column; gap: 10px; }
  .cta-band { padding: 40px 22px; }
  .cta-band h2 { font-size: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-chip { font-size: 12px; padding: 9px 12px; }
  .chip-a { top: -12px; right: -8px; }
  .chip-b { bottom: -12px; left: -8px; }
  .mock-body { padding: 20px; }
  .plan { padding: 26px 22px; }
  .plan .price { font-size: 36px; }
  .sim-inputs, .sim-result { padding: 30px 24px; }
  .sim-result-num { font-size: 40px; }
  .cta-band .btn-primary, .cta-band .btn-ghost { width: 100%; }
  .dropdown { width: min(320px, calc(100vw - 48px)); }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .brand { font-size: 16px; }
  .btn-sm { padding: 9px 14px; font-size: 12.5px; }
}
