@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ============================================================
   LogiDrink, Design System v3
   Typo : Space Grotesk (titres/nav) + Inter (corps)
   Palette : orange #ff5e2e · nuit #1a1a2e · fond clair
   ============================================================ */

:root {
  --ink: #0f0f1a;
  --ink-2: #1a1a2e;
  --ink-3: #52525f;
  --ink-4: #6b6b7a;
  --ink-5: #6b6b7a;
  --line: #e7e4dd;
  --line-2: #f0ede8;
  --bg: #ffffff;
  --bg-soft: #fafaf8;
  --bg-cream: #fafaf8;
  --bg-dark: #1a1a2e;
  --bg-dark-2: #0f0f1a;
  --accent: #ff5e2e;
  --accent-2: #ff7a52;
  --accent-soft: #fff3ef;
  --accent-deep: #e65529;
  --shadow-sm: 0 1px 2px rgba(15, 15, 26, 0.04);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(15, 15, 26, 0.1);
  --shadow-xl: 0 24px 60px rgba(15, 15, 26, 0.14);
  --max: 1280px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-height: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--accent); color: #fff; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; cursor: pointer; }

/* ─── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}

h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.005em; }

.italic-serif {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.accent { color: var(--accent); }
em.accent { font-style: normal; color: var(--accent); font-family: var(--font-heading); font-weight: 700; }

p { color: var(--ink-3); font-weight: 400; }
p.lead { font-size: 1.125rem; line-height: 1.7; color: var(--ink-3); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.eyebrow.muted { color: var(--ink-3); background: var(--bg-soft); }
.eyebrow.on-dark { color: var(--accent-2); background: rgba(255, 94, 46, 0.15); }

/* ─── Layout ─────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; position: relative; background: var(--bg); }
section.tight { padding: 64px 0; }
section.huge { padding: 120px 0; }
section.dark { background: var(--bg-dark); color: #f5f5f7; }
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark p { color: rgba(255, 255, 255, 0.72); }
section.soft { background: var(--bg-soft); }
section.cream { background: var(--bg-soft); }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  section.huge { padding: 80px 0; }
}

/* ─── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

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

.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

/* ─── Navigation ─────────────────────────────── */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo .dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-3);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ─── Hero ─────────────────────────────── */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 94, 46, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero h1 { margin-bottom: 24px; }
.hero p.lead { margin-bottom: 32px; }

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-tags span {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 20px;
}
.hero-tags span::before {
  content: '✓ ';
  font-weight: 700;
}

/* Dashboard mockup */
.hero-visual { position: relative; }

.dash-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.dash-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.dash-tile.warm {
  background: var(--accent-soft);
  border-color: rgba(255, 94, 46, 0.2);
  color: var(--ink);
}

.dash-tile .label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.dash-tile.warm .label { color: var(--accent-deep); }

.dash-tile .val {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.dash-tile .sub { font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }
.dash-tile.warm .sub { color: var(--ink-3); }

.dash-bars {
  margin-top: 14px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 28px;
}
.dash-bars span {
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
.dash-bars span.peak { background: var(--accent); }

/* ─── Bandeau clients (style ClubPlanner) ─────────────────────────────── */
.clients-trust {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}
.clients-trust .section-head { margin-bottom: 40px; }
.clients-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clientsScroll 40s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
.clients-slide {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
  flex-shrink: 0;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  min-width: 140px;
  height: 72px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.client-logo:hover {
  border-color: rgba(255, 94, 46, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.client-logo img {
  height: 44px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.88;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes clientsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .clients-track-wrap { mask-image: none; -webkit-mask-image: none; }
  .clients-slide:last-child { display: none; }
}

/* ─── CTA intermédiaire ─────────────────────────────── */
.sales-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow);
}
.sales-strip h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 8px 0 12px;
  max-width: 28ch;
}
.sales-strip h2::after { display: none; }
.sales-strip p {
  color: var(--ink-3);
  font-size: 1rem;
  max-width: 52ch;
  margin: 0;
}
.sales-strip-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .sales-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
  .sales-strip-actions { width: 100%; }
  .sales-strip-actions .btn { flex: 1; text-align: center; justify-content: center; }
}

/* ─── Marquee (legacy) ─────────────────────────────── */
.marquee {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}
.marquee-row {
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: space-around;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--ink-4);
  font-weight: 500;
  flex-wrap: wrap;
}
.marquee-row .label {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-5);
  background: none;
  padding: 0;
  border-radius: 0;
}

/* ─── Section header ─────────────────────────────── */
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 16px; }
.section-head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-head.left h2::after { margin-left: 0; margin-right: auto; }
.section-head p { font-size: 1.0625rem; max-width: 60ch; margin: 0 auto; line-height: 1.7; }
.section-head.left p { margin: 0; }

/* ─── Feature cards ─────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 94, 46, 0.35);
  box-shadow: var(--shadow-lg);
}

.feat-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feat-card .icon svg { stroke: var(--accent); }

.feat-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.feat-card p { font-size: 0.9375rem; line-height: 1.7; }

.feat-card ul {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feat-card ul li {
  font-size: 0.875rem;
  color: var(--ink-3);
  padding-left: 18px;
  position: relative;
}
.feat-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ─── Stats ─────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

.stat .num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.stat .num .accent { color: var(--accent); }
.stat .lbl {
  font-size: 0.8125rem;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Comparatif ─────────────────────────────── */
.versus {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.versus::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 94, 46, 0.16) 0%, transparent 60%);
  border-radius: 50%;
}
.versus h2 {
  color: #fff;
  margin-bottom: 24px;
  max-width: 26ch;
}
.versus h2::after { display: none; }
.versus p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-bottom: 32px; }

.versus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 900px) { .versus-grid { grid-template-columns: 1fr; } }

.versus-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px;
}
.versus-card.win {
  background: linear-gradient(135deg, rgba(255, 94, 46, 0.2), rgba(255, 94, 46, 0.06));
  border-color: rgba(255, 94, 46, 0.35);
}
.versus-card .who {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.versus-card.win .who { color: var(--accent-2); }
.versus-card .title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.versus-card ul { list-style: none; }
.versus-card ul li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 0 6px 22px;
  position: relative;
}
.versus-card ul li::before {
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 0.9rem;
}
.versus-card ul li.no::before { content: '✕'; color: #ef4444; }
.versus-card ul li.warn::before { content: '!'; color: #f59e0b; font-weight: 700; }
.versus-card ul li.yes::before { content: '✓'; color: #22c55e; font-weight: 700; }
.versus-card.win ul li { color: #fff; }

/* Comparison table */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cmp-table thead { background: var(--bg-dark); color: #fff; }
.cmp-table th, .cmp-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.cmp-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cmp-table th.win { background: var(--accent); }
.cmp-table td.win { background: var(--accent-soft); font-weight: 600; }
.cmp-table td.feat-col { font-weight: 600; color: var(--ink); }
.cmp-table .ok { color: #16a34a; font-weight: 700; }
.cmp-table .ko { color: #dc2626; font-weight: 700; }
.cmp-table .wn { color: #ca8a04; font-weight: 700; }
.cmp-table tr:last-child td { border-bottom: none; }
@media (max-width: 800px) {
  .cmp-wrap { overflow-x: auto; }
  .cmp-table { min-width: 720px; }
}

/* ─── Process / steps (homepage grid) ─────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding-top: 32px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.step h3 {
  font-family: var(--font-heading);
  margin: 12px 0 8px;
  font-size: 1.1rem;
}
.step .meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-5);
  font-weight: 600;
  margin-top: 12px;
}
.step p { font-size: 0.9375rem; line-height: 1.7; }

/* ─── Quotes ─────────────────────────────── */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

.quote {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
}
.quote-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.quote-stars span {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.quote p {
  font-size: 0.96875rem;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.7;
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote .who .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
}
.quote .who .meta { font-size: 0.85rem; }
.quote .who .meta strong { color: var(--ink); font-weight: 600; display: block; }
.quote .who .meta small { color: var(--ink-3); }

/* ─── CTA banner ─────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 94, 46, 0.2) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 16px;
  max-width: 22ch;
}
.cta-banner h2::after { display: none; }
.cta-banner p { color: rgba(255, 255, 255, 0.72); max-width: 50ch; }
.cta-banner .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}
@media (max-width: 900px) {
  .cta-banner { grid-template-columns: 1fr; padding: 40px; }
}

/* ─── FAQ ─────────────────────────────── */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 12px;
  font-size: 0.96875rem;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ─── Footer ─────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 32px;
}
footer .container { padding: 0 24px; }
footer .ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  footer .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
footer h5 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
footer ul a:hover { color: var(--accent-2); }
footer .ft-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36ch;
  margin-top: 12px;
}
footer .ft-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}
footer .ft-bottom .accent { color: var(--accent-2); }

/* ─── Animations ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

.hero-visual { animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.hero h1, .hero p.lead, .hero-cta, .hero-tags { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero p.lead { animation-delay: 0.1s; }
.hero-cta { animation-delay: 0.2s; }
.hero-tags { animation-delay: 0.3s; }

.dash-bars span {
  transform-origin: bottom;
  animation: barGrow 0.8s ease-out both;
}
.dash-bars span:nth-child(1) { animation-delay: 0.5s; height: 40%; }
.dash-bars span:nth-child(2) { animation-delay: 0.6s; height: 60%; }
.dash-bars span:nth-child(3) { animation-delay: 0.7s; height: 50%; }
.dash-bars span:nth-child(4) { animation-delay: 0.8s; height: 70%; }
.dash-bars span:nth-child(5) { animation-delay: 0.9s; height: 85%; }
.dash-bars span:nth-child(6) { animation-delay: 1.0s; height: 95%; }
.dash-bars span:nth-child(7) { animation-delay: 1.1s; height: 100%; }

.counter { display: inline-block; }

/* ─── Breadcrumb ─────────────────────────────── */
.crumb {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.crumb a:hover { color: var(--accent); }
.crumb span.sep { margin: 0 8px; color: var(--ink-5); }

/* ─── Pricing ─────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.price-card.featured {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured p { color: rgba(255, 255, 255, 0.72); }
.price-card .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.price-card .plan {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.price-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.price-card .price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.price-card .price small { font-size: 0.9rem; color: var(--ink-3); font-weight: 400; }
.price-card.featured .price small { color: rgba(255, 255, 255, 0.55); }
.price-card .sub { font-size: 0.9375rem; margin-bottom: 24px; }
.price-card ul {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card ul li {
  font-size: 0.9375rem;
  padding-left: 22px;
  position: relative;
}
.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-card.featured ul li { color: rgba(255, 255, 255, 0.85); }
.price-card.featured ul li::before { color: var(--accent-2); }

/* ─── Utility ─────────────────────────────── */
.text-center { text-align: center; }
.muted { color: var(--ink-3); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .versus, .cta-banner { padding: 32px 24px; }
  .price-card { padding: 24px; }
}

/* ============================================================
   COMPAT, sous-pages /fonctionnalites/*
   ============================================================ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-family: var(--font-heading); }
.accent-dot { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--accent-deep); }
.arrow { display: inline-block; transition: transform 0.2s ease; }
.nav-cta:hover .arrow { transform: translateX(3px); }

.crumb .here { color: var(--ink-3); font-weight: 500; }

.fpage-hero {
  padding: 120px 0 60px;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.fpage-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 16px;
  max-width: 24ch;
}
.fpage-hero .lead { margin-bottom: 28px; max-width: 60ch; }

.cat-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.quick-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.quick-bar span {
  background: var(--accent-soft);
  color: var(--accent);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.bg-soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
}
.sec-head.left h2::after { margin-left: 0; }
.compact { padding: 48px 0; }

.cat-block { padding: 64px 0; }
.cat-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}
.cat-header .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.cat-header h2 { margin: 0; }

.b-num, .n {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.3rem;
  margin-right: 8px;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.bullet {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.bullet:hover {
  border-color: rgba(255, 94, 46, 0.35);
  box-shadow: var(--shadow);
}
.bullet .b-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 30px;
}
.bullet > div:last-child { flex: 1; }
.bullet h3, .bullet h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.bullet p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-3);
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.use-case {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.use-case h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.use-case p { font-size: 0.9375rem; }

.cta-block {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  margin: 64px auto;
  max-width: calc(var(--max) - 48px);
  position: relative;
  overflow: hidden;
}
.cta-block h2 {
  color: #fff;
  margin-bottom: 14px;
  max-width: 26ch;
}
.cta-block p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  margin-bottom: 24px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.related { padding: 72px 0; background: var(--bg-soft); }
.related .r-lbl {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  display: inline-block;
}
.related h2 { margin-bottom: 28px; }
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.related-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.related-grid a:hover {
  color: var(--accent);
  padding-left: 8px;
}
.related-grid a::after {
  content: '→';
  color: var(--accent);
  transition: transform 0.2s ease;
}
.related-grid a:hover::after { transform: translateX(4px); }
.related-grid a:last-child { border-bottom: none; }
.more { color: var(--accent); font-weight: 600; }

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36ch;
  margin-top: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* Sous-pages : reveal visible sans JS */
section .reveal { opacity: 1 !important; transform: none !important; }

/* Steps en colonne (sous-pages) */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: none;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step::before { content: none; }
.step .n {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 36px;
}
.step > div:last-child {
  flex: 1;
  font-size: 0.96875rem;
  color: var(--ink);
  line-height: 1.7;
}
.step h3 { margin: 0 0 4px; font-size: 1.05rem; }

/* Explore list (feature index) */
.explore-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.explore-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.explore-row:hover {
  color: var(--accent);
  padding-left: 12px;
}
.explore-row span {
  color: var(--accent);
  font-weight: 400;
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}
.explore-row:hover span { transform: translateX(6px); }

/* ─── Tabs ─────────────────────────────── */
.tabs { margin-top: 16px; }
.tab-list {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none;
  border: none;
  padding: 14px 22px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover { color: var(--ink); background: rgba(0, 0, 0, 0.02); }
.tab-btn.active { color: var(--accent); font-weight: 600; }
.tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}
.tab-pane { display: none; }
.tab-pane.active {
  display: block;
  animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-pane h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.tab-pane p { font-size: 0.96875rem; line-height: 1.7; margin-bottom: 14px; }
.tab-pane ul.tech-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 24px;
  margin-top: 12px;
}
.tab-pane ul.tech-list li {
  padding: 10px 0 10px 22px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.tab-pane ul.tech-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.tab-pane ul.tech-list li strong {
  color: var(--ink);
  font-weight: 600;
  display: inline-block;
  margin-right: 6px;
}

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 99;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--accent); }
.scroll-top svg { width: 20px; height: 20px; }

@media (max-width: 600px) {
  .scroll-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

/* Logo sizing */
.brand-logo { height: 48px; width: auto; display: block; }
header.nav .logo { gap: 0; display: flex; align-items: center; }
footer .logo { gap: 0; }
footer .brand-logo { height: 56px; }
header.nav .logo .brand-logo {
  height: 52px;
  margin-top: -4px;
  margin-bottom: -4px;
}
@media (max-width: 600px) {
  header.nav .logo .brand-logo { height: 40px; margin-top: 0; margin-bottom: 0; }
}

/* ─── Legal modals ─────────────────────────────── */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.legal-modal.open { opacity: 1; }
.legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 26, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.legal-dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.legal-modal.open .legal-dialog { transform: translateY(0); }
.legal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.legal-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.legal-version {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--ink-3);
  font-style: italic;
}
.legal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.legal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.legal-btn:hover { background: var(--bg-soft); border-color: var(--line); }
.legal-btn-print:hover { color: var(--accent); border-color: var(--accent); }
.legal-btn-close { padding: 8px; }
.legal-body {
  flex: 1;
  overflow-y: auto;
  padding: 26px 32px 32px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink);
}
.legal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
  padding-top: 8px;
}
.legal-body h3:first-of-type { margin-top: 8px; }
.legal-body p { margin: 0 0 14px; text-align: justify; hyphens: auto; }
.legal-body p.legal-intro {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 16px 18px;
  margin-bottom: 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
}
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-list { margin: 12px 0 18px; padding-left: 0; list-style: none; }
.legal-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  margin-bottom: 6px;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.82rem;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.legal-permalink {
  color: var(--ink-3);
  text-decoration: none;
  cursor: pointer;
}
.legal-permalink:hover { color: var(--accent); }
.legal-permalink span { font-family: monospace; font-size: 0.78rem; }
.legal-btn-close-2 {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.legal-btn-close-2:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 600px) {
  .legal-modal { padding: 0; }
  .legal-dialog { border-radius: 0; max-height: 100vh; height: 100vh; }
  .legal-header { padding: 16px 18px 14px; }
  .legal-title { font-size: 1.15rem; }
  .legal-body { padding: 18px 18px 24px; font-size: 0.9rem; }
  .legal-btn-print span, .legal-btn-print { font-size: 0; padding: 8px; }
  .legal-btn-print svg { margin: 0; }
  .legal-footer { padding: 12px 18px; }
  .legal-permalink { display: none; }
}

@media print {
  body.legal-printing > *:not(.legal-modal) { display: none !important; }
  body.legal-printing .scroll-top { display: none !important; }
  body.legal-printing .legal-modal {
    position: static !important;
    opacity: 1 !important;
    padding: 0 !important;
  }
  body.legal-printing .legal-backdrop { display: none !important; }
  body.legal-printing .legal-actions,
  body.legal-printing .legal-footer { display: none !important; }
  body.legal-printing .legal-dialog {
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
    transform: none !important;
  }
  body.legal-printing .legal-body {
    overflow: visible !important;
    max-height: none !important;
    padding: 0 !important;
    font-size: 10pt !important;
  }
  body.legal-printing .legal-header {
    padding: 0 0 12pt !important;
    border-bottom: 2px solid #000 !important;
    margin-bottom: 16pt !important;
    background: none !important;
  }
  body.legal-printing .legal-title { font-size: 16pt !important; }
  body.legal-printing .legal-body h3 { font-size: 12pt !important; margin-top: 14pt !important; }
  @page { margin: 18mm 15mm; }
}

/* ─── Cookie consent ─────────────────────────────── */
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.cookie-consent.open { opacity: 1; pointer-events: auto; }
.cc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 26, 0.6);
  backdrop-filter: blur(3px);
}
.cc-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-consent.open .cc-card { transform: none; }
.cc-card-wide { max-width: 580px; }
.cc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin: 0 0 16px;
}
.cc-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cc-head .cc-title { margin: 0; }
.cc-back {
  background: none;
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-back:hover { background: var(--bg-soft); }
.cc-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0 0 22px;
}
.cc-text-sm { font-size: 0.85rem; margin-bottom: 18px; }
.cc-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.cc-row { display: flex; align-items: flex-start; gap: 16px; }
.cc-row-text { flex: 1; }
.cc-row-title { font-weight: 600; font-size: 0.92rem; color: var(--ink); margin-bottom: 4px; }
.cc-row-desc { font-size: 0.82rem; color: var(--ink-3); line-height: 1.55; }
.cc-lock {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cc-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cc-slider:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cc-switch input:checked + .cc-slider { background: var(--accent); }
.cc-switch input:checked + .cc-slider:before { transform: translateX(20px); }
.cc-switch.locked .cc-slider { opacity: 0.55; cursor: not-allowed; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn {
  flex: 1;
  min-width: 130px;
  padding: 11px 16px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--line);
  transition: all 0.15s ease;
  line-height: 1.2;
}
.cc-btn-ghost { background: #fff; color: var(--ink); }
.cc-btn-ghost:hover { background: var(--bg-soft); border-color: var(--line); }
.cc-btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.cc-btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.cc-foot { margin: 16px 0 0; font-size: 0.78rem; color: var(--ink-3); text-align: center; }
.cc-foot a { color: var(--ink-3); text-decoration: underline; }
.cc-foot a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .cookie-consent { padding: 0; align-items: flex-end; }
  .cc-card { padding: 22px 20px 28px; border-radius: 14px 14px 0 0; max-width: none; }
  .cc-actions { flex-direction: column; }
  .cc-btn { width: 100%; min-width: 0; }
}

/* ─── I18N ─────────────────────────────── */
.lang-selector { position: relative; display: inline-flex; align-items: center; margin: 0 12px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-btn:hover { background: var(--bg-soft); border-color: var(--line); }
.lang-btn svg { flex-shrink: 0; }
.lang-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 200;
}
.lang-selector.open .lang-list { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-list li { margin: 0; }
.lang-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
}
.lang-list button:hover { background: var(--bg-soft); }
.lang-list button.active { background: var(--accent-soft); color: var(--accent); }
.lang-list .lang-code {
  font-weight: 700;
  font-size: 0.74rem;
  background: var(--bg-soft);
  padding: 3px 6px;
  border-radius: 4px;
  min-width: 28px;
  text-align: center;
  letter-spacing: 0.04em;
}
.lang-list button.active .lang-code { background: var(--accent); color: #fff; }
.lang-list .lang-name { font-size: 0.88rem; }

.ip-redirect {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.ip-redirect.open { opacity: 1; pointer-events: auto; }
.ip-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 26, 0.6);
  backdrop-filter: blur(3px);
}
.ip-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  width: 100%;
  padding: 28px;
  transform: translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ip-redirect.open .ip-card { transform: none; }
.ip-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin: 0 0 16px;
}
.ip-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.ip-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0 0 20px;
}
.ip-actions { display: flex; gap: 8px; margin-bottom: 14px; }
.ip-btn {
  flex: 1;
  padding: 11px 16px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--line);
  transition: all 0.15s ease;
}
.ip-btn-ghost { background: #fff; color: var(--ink); }
.ip-btn-ghost:hover { background: var(--bg-soft); }
.ip-btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.ip-btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.ip-dont-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-3);
  cursor: pointer;
}
.ip-dont-ask input { margin: 0; }

@media (max-width: 760px) {
  .lang-btn .lang-current { display: none; }
  .lang-btn { padding: 7px 9px; }
  .lang-selector { margin: 0 8px; }
}

/* ─── Menu mobile ─────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
  margin: 0 auto;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-burger { display: flex; order: 5; margin-left: 8px; }
  .logo { order: 1; margin-right: auto; }
  .lang-selector { order: 2; }
  .nav-inner > a.btn-primary {
    order: 3;
    padding: 8px 14px;
    font-size: 0.8rem;
    box-shadow: none;
  }
  .nav-inner { gap: 8px; flex-wrap: nowrap; }
  header.nav { height: auto; min-height: var(--nav-height); }
  .nav-inner { min-height: var(--nav-height); }
  .nav-links {
    order: 6;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }
  .nav-links.open { max-height: 70vh; }
  .nav-links { display: flex !important; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links li a { display: block; padding: 15px 24px; font-size: 1rem; }
}

/* SEO text block inline styles fallback */
.seo-textblock {
  color: var(--ink-3) !important;
}
.seo-textblock h2 {
  color: var(--ink) !important;
}
