/* ============================================================
   LogiDrink — Stylesheet v2
   Typo : Century Gothic stack (avec fallback Google Questrial)
   Style : light premium + accents orange, animations dynamiques
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Questrial&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --ink: #0b1220;
  --ink-2: #1f2937;
  --ink-3: #4b5563;
  --ink-4: #6b7280;
  --ink-5: #9ca3af;
  --line: #e5e7eb;
  --line-2: #f3f4f6;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-cream: #fef8f3;
  --bg-dark: #0b1220;
  --bg-dark-2: #14213d;
  --accent: #fd7020;
  --accent-2: #ff8b46;
  --accent-soft: #fff1e6;
  --accent-deep: #d35715;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow: 0 4px 24px -8px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px -20px rgba(11, 18, 32, 0.18);
  --shadow-xl: 0 40px 100px -30px rgba(11, 18, 32, 0.25);
  --max: 1280px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --gothic: 'Century Gothic', 'CenturyGothic', 'Questrial', 'URW Gothic L', 'Avant Garde', Avenir, Futura, system-ui, sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
}

* { 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(--gothic);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  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(--gothic);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.005em; }

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

.accent { color: var(--accent); }
em.accent { font-style: italic; color: var(--accent); font-family: var(--serif); font-weight: 500; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow.muted { color: var(--ink-4); }
.eyebrow.on-dark { color: var(--accent-2); }

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

.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: 14px 26px;
  border-radius: 10px;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(253, 112, 32, 0.6);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(253, 112, 32, 0.75);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: rgba(255,255,255,0.2);
}
.btn-light:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

/* ─── Navigation ─────────────────────────────── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  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;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.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: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(253,112,32,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  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: 12px 24px;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.hero-tags span::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

/* Dashboard mockup card */
.hero-visual {
  position: relative;
}
.dash-card {
  background: var(--ink);
  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: 12px;
  padding: 18px;
}
.dash-tile.warm { background: var(--accent-soft); border-color: rgba(253,112,32,0.2); color: var(--ink); }
.dash-tile .label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.dash-tile.warm .label { color: var(--accent-deep); }
.dash-tile .val {
  font-size: 1.7rem;
  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); }

/* ─── Marquee logos ─────────────────────────────── */
.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(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-4);
  font-weight: 500;
  flex-wrap: wrap;
}
.marquee-row .label {
  font-family: var(--gothic);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-5);
}

/* ─── Section header ─────────────────────────────── */
.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; max-width: 60ch; margin: 0 auto; }
.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: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.feat-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1;
}
.feat-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feat-card p { font-size: 0.95rem; line-height: 1.6; }
.feat-card ul {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feat-card ul li {
  font-size: 0.88rem;
  color: var(--ink-3);
  padding-left: 18px;
  position: relative;
}
.feat-card ul li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── Stat ring ─────────────────────────────── */
.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-size: clamp(2rem, 4vw, 3.4rem);
  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.86rem;
  color: var(--ink-4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Comparatif teaser/table ─────────────────────────────── */
.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(253,112,32,0.18) 0%, transparent 60%);
  border-radius: 50%;
}
.versus h2 { color: #fff; margin-bottom: 24px; max-width: 26ch; }
.versus p { color: #cbd5e1; 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: 14px;
  padding: 24px;
}
.versus-card.win {
  background: linear-gradient(135deg, rgba(253,112,32,0.22), rgba(253,112,32,0.06));
  border-color: rgba(253,112,32,0.4);
}
.versus-card .who {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.versus-card.win .who { color: var(--accent-2); }
.versus-card .title { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; color: #fff; }
.versus-card ul { list-style: none; }
.versus-card ul li {
  font-size: 0.88rem;
  color: #cbd5e1;
  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; }

/* Full 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(--ink);
  color: #fff;
}
.cmp-table th, .cmp-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.cmp-table th { font-weight: 700; letter-spacing: 0.01em; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.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 ─────────────────────────────── */
.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(--serif);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.step h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.step .meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-5);
  font-weight: 700;
  margin-top: 12px;
}
.step p { font-size: 0.94rem; }

/* ─── Quote ─────────────────────────────── */
.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;
}
.quote::before {
  content: '"';
  font-family: var(--serif);
  font-size: 3.6rem;
  font-style: italic;
  color: var(--accent);
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}
.quote p {
  font-size: 0.98rem;
  color: var(--ink-2);
  margin-bottom: 20px;
  line-height: 1.6;
}
.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-weight: 700;
  font-size: 0.92rem;
}
.quote .who .meta { font-size: 0.85rem; }
.quote .who .meta strong { color: var(--ink); font-weight: 700; display: block; }
.quote .who .meta small { color: var(--ink-4); }

/* ─── CTA banner ─────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 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(253,112,32,0.22) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; max-width: 22ch; }
.cta-banner p { color: #cbd5e1; 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-size: 1.05rem;
  font-weight: 700;
  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.6rem;
  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.96rem;
  color: var(--ink-3);
  line-height: 1.65;
}

/* ─── Footer ─────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  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 {
  color: #f9fafb;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a {
  font-size: 0.92rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}
footer ul a:hover { color: var(--accent-2); }
footer .ft-brand p { font-size: 0.92rem; color: #94a3b8; 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: #6b7280;
  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 float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Reveal-on-scroll classes (toggled by JS) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s 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%; }

/* Animated counter style */
.counter { display: inline-block; }

/* Subtle marquee for logos */
@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Sub-page breadcrumb ─────────────────────────────── */
.crumb {
  font-size: 0.88rem;
  color: var(--ink-4);
  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: 36px;
  transition: all 0.3s ease;
  position: relative;
}
.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.02);
}
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured p { color: #cbd5e1; }
.price-card .badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.price-card .plan {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.price-card .price {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.price-card .price small { font-size: 0.9rem; color: var(--ink-4); font-weight: 400; }
.price-card.featured .price small { color: #94a3b8; }
.price-card .sub { font-size: 0.92rem; 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.92rem; 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: #e5e7eb; }
.price-card.featured ul li::before { color: var(--accent-2); }

/* ─── Utility ─────────────────────────────── */
.text-center { text-align: center; }
.muted { color: var(--ink-4); }
.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: 28px; }
  .price-card.featured { transform: none; }
}

/* ============================================================
   COMPAT — aliases pour anciennes sous-pages /fonctionnalites/*
   ============================================================ */

/* Container aliases */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Nav legacy */
.brand {
  display: flex; align-items: center; gap: 8px;
  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(--gothic); }
.accent-dot { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px;
  background: var(--accent); color: #fff !important;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px -8px rgba(253, 112, 32, 0.6);
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-2px); }
.arrow { display: inline-block; transition: transform 0.2s ease; }
.nav-cta:hover .arrow { transform: translateX(3px); }

/* Breadcrumb */
.crumb .here { color: var(--ink-4); font-weight: 500; }

/* Hero feature page */
.fpage-hero {
  padding: 100px 0 60px;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.fpage-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 16px;
  max-width: 24ch;
}
.fpage-hero .lead { margin-bottom: 28px; max-width: 60ch; }
.cat-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Quick bar (badges sous le hero) */
.quick-bar {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 24px;
}
.quick-bar span {
  background: var(--accent-soft);
  color: var(--ink-2);
  border: 1px solid rgba(253, 112, 32, 0.18);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Sections legacy */
section { padding: 80px 0; }
.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; }
.compact { padding: 48px 0; }

/* Categories block / steps */
.cat-block { padding: 64px 0; }
.cat-header {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 32px;
}
.cat-header .num {
  font-family: var(--serif);
  font-style: italic; font-weight: 500;
  font-size: 2.4rem; color: var(--accent);
  line-height: 1;
}
.cat-header h2 { margin: 0; }

/* Numeric small */
.b-num, .n {
  display: inline-block;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--accent); font-size: 1.4rem;
  margin-right: 8px;
}

/* Bullet grid (key benefits) */
.bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.bullet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
}
.bullet:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bullet h3 { font-size: 1.05rem; margin-bottom: 10px; }
.bullet p { font-size: 0.92rem; line-height: 1.6; }

/* Use cases */
.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-size: 1.1rem; margin-bottom: 10px; }
.use-case p { font-size: 0.94rem; }

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, var(--ink) 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: #cbd5e1; max-width: 56ch; margin-bottom: 24px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Related pages */
.related { padding: 72px 0; background: var(--bg-soft); }
.related .r-lbl {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
  display: 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-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-2);
  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 legacy */
.footer-brand p { font-size: 0.92rem; color: #94a3b8; 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: #6b7280;
  flex-wrap: wrap; gap: 12px;
}

/* Reveal-on-scroll inherits from main */

/* ============================================================
   FIX 2 — visibilité contenu + layout des sous-pages
   ============================================================ */

/* Désactive opacity:0 du .reveal sur les sous-pages (pas de JS) */
section .reveal { opacity: 1 !important; transform: none !important; }

/* Bullet en flex : numéro à gauche, contenu à droite */
.bullet {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
}
.bullet:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bullet .b-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 30px;
}
.bullet > div:last-child { flex: 1; }
.bullet h3, .bullet h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.bullet p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* Steps en colonne avec numéro à gauche */
.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(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 36px;
}
.step > div:last-child {
  flex: 1;
  font-size: 0.96rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.step h3 { margin: 0 0 4px; font-size: 1.05rem; }


/* ============================================================
   FEATURE SUB-PAGES — explore list
   ============================================================ */
.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-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-2);
  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); }

/* Slightly larger numbered icons in benefit cards */
.feat-card .icon { font-family: var(--gothic); }

/* ============================================================
   TABS & SCROLL-TOP — v3
   ============================================================ */
.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(--gothic);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-4);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  border-radius: 8px 8px 0 0;
}
.tab-btn:hover { color: var(--ink-2); background: rgba(0,0,0,0.02); }
.tab-btn.active { color: var(--accent); }
.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-size: 1.15rem; margin-bottom: 12px; }
.tab-pane p { font-size: 0.96rem; line-height: 1.65; 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.92rem;
  color: var(--ink-2);
  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: 700;
  display: inline-block;
  margin-right: 6px;
}

/* Scroll-to-top button */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  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; }
}
.brand-logo { height: 48px; width: auto; display: block; }
header.nav .logo { gap: 0; }
footer .logo { gap: 0; }
footer .brand-logo { height: 64px; }
.brand-logo { height: 48px; width: auto; display: block; }
header.nav .logo { gap: 0; }
footer .logo { gap: 0; }
footer .brand-logo { height: 64px; }
.brand-logo { height: 48px; width: auto; display: block; }
header.nav .logo { gap: 0; }
footer .logo { gap: 0; }
footer .brand-logo { height: 64px; }
header.nav .nav-inner { align-items: center; min-height: 88px; }
header.nav .logo .brand-logo { height: 64px; }
header.nav .logo { display: flex; align-items: center; }
@media (max-width: 600px) { header.nav .logo .brand-logo { height: 44px; } header.nav .nav-inner { min-height: 68px; } }
header.nav .logo .brand-logo { height: 78px; margin-top: -8px; margin-bottom: -8px; }
@media (max-width: 600px) { header.nav .logo .brand-logo { height: 52px; margin-top: -4px; margin-bottom: -4px; } }

/* ============================================================
   LEGAL MODALS (CGV, Mentions, Privacy, CGU, RGPD)
   ============================================================ */
.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(10, 22, 40, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.legal-dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.32);
  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, #e5e7eb);
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.legal-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink, #0a1628);
  line-height: 1.2;
}
.legal-version {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--ink-4, #6b7280);
  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-2, #1f2937);
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.legal-btn:hover { background: #f3f4f6; border-color: #d1d5db; }
.legal-btn-print:hover { color: var(--accent, #fd7020); border-color: var(--accent, #fd7020); }
.legal-btn-close { padding: 8px; }

.legal-body {
  flex: 1;
  overflow-y: auto;
  padding: 26px 32px 32px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-2, #1f2937);
}
.legal-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink, #0a1628);
  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: #fff8f3;
  border-left: 3px solid var(--accent, #fd7020);
  padding: 16px 18px;
  margin-bottom: 24px;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
}
.legal-body strong { color: var(--ink, #0a1628); font-weight: 700; }
.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, #fd7020);
  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, #e5e7eb);
  background: #fafafa;
  font-size: 0.82rem;
  color: var(--ink-4, #6b7280);
  flex-wrap: wrap;
}
.legal-permalink {
  color: var(--ink-4, #6b7280);
  text-decoration: none;
  cursor: pointer;
}
.legal-permalink:hover { color: var(--accent, #fd7020); }
.legal-permalink span { font-family: monospace; font-size: 0.78rem; }
.legal-btn-close-2 {
  background: var(--ink, #0a1628);
  color: #fff;
  border-color: var(--ink, #0a1628);
}
.legal-btn-close-2:hover { background: var(--accent, #fd7020); border-color: var(--accent, #fd7020); 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; }
}

/* ============================================================
   LEGAL MODALS (CGV, Mentions, Privacy, CGU, RGPD)
   ============================================================ */
.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(10, 22, 40, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.legal-dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.32);
  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, #e5e7eb);
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.legal-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink, #0a1628);
  line-height: 1.2;
}
.legal-version {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--ink-4, #6b7280);
  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-2, #1f2937);
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.legal-btn:hover { background: #f3f4f6; border-color: #d1d5db; }
.legal-btn-print:hover { color: var(--accent, #fd7020); border-color: var(--accent, #fd7020); }
.legal-btn-close { padding: 8px; }

.legal-body {
  flex: 1;
  overflow-y: auto;
  padding: 26px 32px 32px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-2, #1f2937);
}
.legal-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink, #0a1628);
  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: #fff8f3;
  border-left: 3px solid var(--accent, #fd7020);
  padding: 16px 18px;
  margin-bottom: 24px;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
}
.legal-body strong { color: var(--ink, #0a1628); font-weight: 700; }
.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, #fd7020);
  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, #e5e7eb);
  background: #fafafa;
  font-size: 0.82rem;
  color: var(--ink-4, #6b7280);
  flex-wrap: wrap;
}
.legal-permalink {
  color: var(--ink-4, #6b7280);
  text-decoration: none;
  cursor: pointer;
}
.legal-permalink:hover { color: var(--accent, #fd7020); }
.legal-permalink span { font-family: monospace; font-size: 0.78rem; }
.legal-btn-close-2 {
  background: var(--ink, #0a1628);
  color: #fff;
  border-color: var(--ink, #0a1628);
}
.legal-btn-close-2:hover { background: var(--accent, #fd7020); border-color: var(--accent, #fd7020); 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; }
}
/* De-AI patch */
.btn, .btn-primary, .btn-light, .btn-ghost { border-radius: 6px !important; letter-spacing: 0 !important; font-weight: 600 !important; }
.btn-primary { background: var(--accent, #fd7020) !important; background-image: none !important; box-shadow: 0 1px 2px rgba(0,0,0,0.08) !important; }
.btn-primary:hover { background: #e35d10 !important; transform: none !important; box-shadow: 0 2px 6px rgba(253,112,32,0.25) !important; }
.btn-light:hover, .btn-ghost:hover { transform: none !important; }
em.accent, .accent { font-family: inherit !important; font-style: normal !important; font-weight: 700 !important; color: inherit !important; }
.eyebrow { letter-spacing: 0.04em !important; font-size: 0.78rem !important; font-weight: 700 !important; }
.cta-banner, .versus, .dash-card, .feat-card, .price-card, .quote, .step, .faq-item { border-radius: 8px !important; }
.feat-card .icon { border-radius: 6px !important; }
.tag, .hero-tags span { border-radius: 4px !important; }
.dot { color: var(--accent, #fd7020) !important; }
/* Cookie consent modal */
.cookie-consent{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .25s ease;pointer-events:none}
.cookie-consent.open{opacity:1;pointer-events:auto}
.cc-backdrop{position:absolute;inset:0;background:rgba(10,22,40,.6);backdrop-filter:blur(3px)}
.cc-card{position:relative;background:#fff;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.28);max-width:520px;width:100%;padding:32px;transform:translateY(10px) scale(.98);transition:transform .25s cubic-bezier(.16,1,.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:#fff8f3;color:var(--accent,#fd7020);margin:0 0 16px}
.cc-title{font-size:1.18rem;font-weight:700;margin:0 0 10px;color:var(--ink,#0a1628)}
.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 #e5e7eb;width:32px;height:32px;border-radius:6px;cursor:pointer;font-size:16px;color:var(--ink,#0a1628);display:flex;align-items:center;justify-content:center}
.cc-back:hover{background:#f5f5f5}
.cc-text{font-size:.9rem;line-height:1.6;color:#4b5563;margin:0 0 22px}
.cc-text-sm{font-size:.85rem;margin-bottom:18px}
.cc-rows{display:flex;flex-direction:column;gap:16px;margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid #e5e7eb}
.cc-row{display:flex;align-items:flex-start;gap:16px}
.cc-row-text{flex:1}
.cc-row-title{font-weight:600;font-size:.92rem;color:var(--ink,#0a1628);margin-bottom:4px}
.cc-row-desc{font-size:.82rem;color:#6b7280;line-height:1.55}
.cc-lock{display:inline-block;font-size:.68rem;font-weight:600;color:var(--accent,#fd7020);background:#fff8f3;padding:2px 8px;border-radius:4px;margin-left:6px;vertical-align:middle;text-transform:uppercase;letter-spacing:.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:#d1d5db;border-radius:24px;cursor:pointer;transition:background .2s ease}
.cc-slider:before{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .2s ease;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.cc-switch input:checked + .cc-slider{background:var(--accent,#fd7020)}
.cc-switch input:checked + .cc-slider:before{transform:translateX(20px)}
.cc-switch.locked .cc-slider{opacity:.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:.88rem;font-weight:600;border-radius:6px;cursor:pointer;border:1px solid #e5e7eb;transition:all .15s ease;line-height:1.2}
.cc-btn-ghost{background:#fff;color:#1f2937}
.cc-btn-ghost:hover{background:#f5f5f5;border-color:#d1d5db}
.cc-btn-primary{background:var(--accent,#fd7020);color:#fff;border-color:var(--accent,#fd7020)}
.cc-btn-primary:hover{background:#e35d10;border-color:#e35d10}
.cc-foot{margin:16px 0 0;font-size:.78rem;color:#6b7280;text-align:center}
.cc-foot a{color:#6b7280;text-decoration:underline}
.cc-foot a:hover{color:var(--accent,#fd7020)}
@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 - Language selector & IP redirect popup
   ============================================================ */
.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 #e5e7eb; border-radius: 6px; font-family: inherit; font-size: 0.84rem; font-weight: 600; color: var(--ink-2, #1f2937); cursor: pointer; transition: all 0.15s ease; }
.lang-btn:hover { background: #f5f5f5; border-color: #d1d5db; }
.lang-btn svg { flex-shrink: 0; }
.lang-list { position: absolute; top: calc(100% + 6px); right: 0; min-width: 200px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); 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: 4px; font: inherit; cursor: pointer; color: var(--ink-2, #1f2937); text-align: left; }
.lang-list button:hover { background: #f5f5f5; }
.lang-list button.active { background: #fff8f3; color: var(--accent, #fd7020); }
.lang-list .lang-code { font-weight: 700; font-size: 0.74rem; background: #f3f4f6; padding: 3px 6px; border-radius: 3px; min-width: 28px; text-align: center; letter-spacing: 0.04em; }
.lang-list button.active .lang-code { background: var(--accent, #fd7020); 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(10,22,40,0.6); backdrop-filter: blur(3px); }
.ip-card { position: relative; background: #fff; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.28); 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: #fff8f3; color: var(--accent, #fd7020); margin: 0 0 16px; }
.ip-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; color: var(--ink, #0a1628); }
.ip-text { font-size: 0.9rem; line-height: 1.55; color: #4b5563; 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: 6px; cursor: pointer; border: 1px solid #e5e7eb; transition: all 0.15s ease; }
.ip-btn-ghost { background: #fff; color: #1f2937; }
.ip-btn-ghost:hover { background: #f5f5f5; }
.ip-btn-primary { background: var(--accent, #fd7020); color: #fff; border-color: var(--accent, #fd7020); }
.ip-btn-primary:hover { background: #e35d10; }
.ip-dont-ask { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #6b7280; 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; }
}
