/* Orbitrace — site de vente. Même identité que l'app : graphite + orange signal. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'JB Mono';
  src: url('/fonts/jbmono-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0e0f12;
  --surface: #15171c;
  --surface-2: #1c1f26;
  --elevated: #242833;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #eceef2;
  --text-2: #a3a9b6;
  --text-3: #6b7280;
  --accent: #ff6a2b;
  --accent-2: #ff8551;
  --accent-dim: rgba(255, 106, 43, 0.14);
  --data-1: #3dd6f5;
  --data-2: #b8f25b;
  --data-3: #9b8cff;
  --data-4: #ffc24b;
  --r: 14px;
  --r-lg: 22px;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
.mono {
  font-family: 'JB Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.accent {
  color: var(--accent);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 15, 18, 0.78);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  color: var(--text-2);
}
.nav-links a:hover {
  color: var(--text);
}
.lang {
  font-size: 13px;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px 11px;
}
.lang:hover {
  color: var(--text);
}

/* ── Boutons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 15px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--elevated);
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0a03;
  box-shadow: 0 8px 30px rgba(255, 106, 43, 0.35);
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 12px 40px rgba(255, 106, 43, 0.5);
}
.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 150px 0 60px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(600px 380px at 50% 18%, rgba(255, 106, 43, 0.22), transparent 70%),
    radial-gradient(500px 300px at 15% 40%, rgba(61, 214, 245, 0.08), transparent 70%),
    radial-gradient(500px 300px at 85% 45%, rgba(155, 140, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(28, 31, 38, 0.6);
  font-size: 13px;
  color: var(--text-2);
}
.pill b {
  color: var(--accent);
  font-weight: 650;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
  animation: pulse 2s infinite;
}
h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 22px auto 0;
  max-width: 900px;
}
h1 .grad {
  background: linear-gradient(90deg, var(--accent), #ffb27a 60%, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-2);
  max-width: 640px;
  margin: 22px auto 0;
}
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.trust {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-3);
}

/* Fenêtre d'app */
.stage {
  position: relative;
  margin: 64px auto 0;
  max-width: 1120px;
  perspective: 1800px;
}
.window {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 -20px 80px rgba(255, 106, 43, 0.12);
  transform: rotateX(14deg) scale(0.96);
  transform-origin: 50% 0;
  transition: transform 1.2s var(--ease);
}
.stage.in .window {
  transform: rotateX(0) scale(1);
}
.chrome {
  display: flex;
  gap: 7px;
  padding: 11px 14px;
  background: #121318;
  border-bottom: 1px solid var(--line);
}
.chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3d45;
}
.chrome i:nth-child(1) {
  background: #ff5f57;
}
.chrome i:nth-child(2) {
  background: #febc2e;
}
.chrome i:nth-child(3) {
  background: #28c840;
}

/* Puces flottantes autour de la fenêtre */
.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(21, 23, 28, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  color: var(--text-2);
  text-align: left;
  animation: bob 6s ease-in-out infinite;
}
.float strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}
.float .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
}
.f1 {
  left: -36px;
  top: 30%;
}
.f2 {
  right: -30px;
  top: 14%;
  animation-delay: -2s;
}
.f3 {
  right: -20px;
  bottom: 12%;
  animation-delay: -4s;
}

/* ── Bandeau caméras ────────────────────────────────────────── */
.marquee {
  margin-top: 70px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee .track {
  display: flex;
  gap: 56px;
  width: max-content;
  padding: 20px 0;
  animation: scroll 40s linear infinite;
  color: var(--text-3);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.marquee span {
  white-space: nowrap;
}

/* ── Sections ───────────────────────────────────────────────── */
section {
  padding: 110px 0;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 780;
  margin-top: 12px;
}
.sub {
  color: var(--text-2);
  font-size: 18px;
  max-width: 620px;
  margin-top: 14px;
}
.center {
  text-align: center;
}
.center .sub {
  margin-inline: auto;
}

/* ── Bento ──────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 16px;
  margin-top: 54px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tile:hover {
  border-color: rgba(255, 106, 43, 0.35);
  transform: translateY(-3px);
}
.tile h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  font-weight: 720;
  position: relative;
  z-index: 2;
}
.tile p {
  color: var(--text-2);
  font-size: 15px;
  margin-top: 6px;
  max-width: 420px;
  position: relative;
  z-index: 2;
}
.tile .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.tile .media {
  position: absolute;
  inset: auto 0 0 0;
}
.tile .media img {
  width: 100%;
}
.fade-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--surface) 0%, transparent 38%);
  pointer-events: none;
}
.t-hud {
  grid-column: span 4;
  grid-row: span 4;
}
.t-hud .media {
  inset: 120px 0 0 0;
}
.t-hud .media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.t-map {
  grid-column: span 2;
  grid-row: span 4;
}
.t-map .media {
  inset: auto 20px 20px 20px;
}
.t-map .media img {
  border-radius: 50%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  animation: spin-slow 40s linear infinite;
}
.t-moments {
  grid-column: span 2;
  grid-row: span 4;
}
.t-moments .media {
  inset: auto 0 0 0;
  padding: 0 14px;
}
.t-moments .media img {
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--line-2);
  border-bottom: 0;
}
.t-lean {
  grid-column: span 2;
  grid-row: span 4;
}
.t-vertical {
  grid-column: span 2;
  grid-row: span 4;
}
.phones {
  position: absolute;
  inset: 150px 0 0 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.phone {
  width: 46%;
  border-radius: 22px;
  border: 5px solid #2a2d35;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  align-self: flex-start;
}
.phone:nth-child(2) {
  margin-top: 40px;
}
.phone img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.t-lean .phones .phone {
  width: 62%;
}
.t-local {
  grid-column: span 2;
  grid-row: span 2;
}
.t-os {
  grid-column: span 2;
  grid-row: span 2;
}
.t-export {
  grid-column: span 2;
  grid-row: span 2;
}
.big-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}
.chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--text-2);
}

/* ── Écran plein (vitrines) ─────────────────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: center;
}
.showcase.rev {
  grid-template-columns: 1.35fr 1fr;
}
.showcase.rev .copy {
  order: 2;
}
.checks {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
}
.checks li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-dim)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23FF6A2B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3.5'/%3E%3C/svg%3E")
    center no-repeat;
}
.checks b {
  color: var(--text);
  font-weight: 650;
}
.shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

/* Comparateur plan / satellite */
.compare {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  margin-top: 50px;
  aspect-ratio: 2560 / 1774;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare .top {
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.compare .bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}
.compare .knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #1a0a03;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.compare .lbl {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  background: rgba(14, 15, 18, 0.75);
  backdrop-filter: blur(8px);
}
.compare .lbl.l {
  left: 16px;
}
.compare .lbl.r {
  right: 16px;
}

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
}
.step {
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step .n {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 800;
}
.step h3 {
  margin-top: 18px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--text-2);
  margin-top: 6px;
  font-size: 15px;
}

/* Appareils */
.devices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.device {
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.device h3 {
  font-size: 20px;
}
.device .models {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 4px;
}
.device .file {
  font-family: 'JB Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 14px;
}
.badges {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.badge {
  font-size: 11px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: 6px;
}
.b-gps {
  color: var(--accent);
  background: var(--accent-dim);
}
.b-imu {
  color: var(--data-1);
  background: rgba(61, 214, 245, 0.12);
}
.device .note {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 10px;
}

/* Prix */
.price-card {
  max-width: 560px;
  margin: 50px auto 0;
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(255, 106, 43, 0.18), transparent 70%),
    var(--surface);
  border: 1px solid rgba(255, 106, 43, 0.35);
  box-shadow: 0 40px 120px rgba(255, 106, 43, 0.12);
  text-align: center;
}
.price {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 16px;
}
.price small {
  font-size: 20px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0;
}
.price-card .checks {
  text-align: left;
  max-width: 380px;
  margin: 28px auto 30px;
}
.price-card .btn {
  width: 100%;
  justify-content: center;
  height: 54px;
  font-size: 17px;
}
.fine {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 46px auto 0;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 4px;
}
summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  color: var(--text-2);
  margin-top: 10px;
}

/* Bas de page */
.final {
  text-align: center;
  padding: 120px 0;
  background: radial-gradient(700px 300px at 50% 100%, rgba(255, 106, 43, 0.18), transparent 70%);
}
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--text-3);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
footer nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
}
footer a:hover {
  color: var(--text);
}

/* ── Animations ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(255, 106, 43, 0);
  }
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}
@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }
  .t-hud {
    grid-column: span 2;
    grid-row: span 4;
  }
  .t-map,
  .t-moments,
  .t-lean,
  .t-vertical {
    grid-column: span 2;
    grid-row: span 5;
  }
  .t-local,
  .t-os,
  .t-export {
    grid-column: span 2;
    grid-row: span 2;
  }
  .showcase,
  .showcase.rev {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .showcase.rev .copy {
    order: 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .devices {
    grid-template-columns: 1fr 1fr;
  }
  .float {
    display: none;
  }
}
@media (max-width: 560px) {
  .devices {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding: 0 16px;
  }
  section {
    padding: 80px 0;
  }
  .price-card {
    padding: 28px 22px;
  }
}

/* Aperçu sans animation (captures, robots) */
.no-anim *,
.no-anim *::before,
.no-anim *::after {
  transition: none !important;
  animation: none !important;
}
.no-anim .window {
  transform: none;
}

/* Vitrine drone : téléphone seul */
.phone-solo {
  display: flex;
  justify-content: center;
}
.phone-solo .phone {
  width: min(380px, 80%);
  transform: rotate(-3deg);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 106, 43, 0.12);
}
/* Prix de lancement */
.launch {
  margin-top: 10px;
  font-size: 14px;
  color: var(--data-4);
  font-weight: 600;
}

/* Le résultat : vidéo exportée en boucle */
.result {
  padding-top: 90px;
}
.result-video {
  position: relative;
  margin: 46px auto 0;
  max-width: 1040px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 90px rgba(255, 106, 43, 0.12);
  background: #000;
  aspect-ratio: 16 / 9;
}
.result-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-video figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip-hl {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(14, 15, 18, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  color: var(--text-2);
}
.chip-hl b {
  color: var(--accent);
}
@media (max-width: 560px) {
  .result-video figcaption {
    display: none;
  }
}

/* ── Pied de page riche (accueil + pages de contenu) ─────────── */
footer .wrap.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}
.footer-grid h4 {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-grid > div:not(.foot-brand) > a {
  display: block;
  padding: 4px 0;
  color: var(--text-2);
}
.foot-brand p {
  margin: 12px 0 14px;
  max-width: 300px;
  color: var(--text-3);
}
.foot-brand .brand {
  color: var(--text);
  font-size: 17px;
}
@media (max-width: 980px) {
  footer .wrap.footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

/* ── Pages de contenu (caméras, sports, blog) ────────────────── */
body.page .nav-links {
  margin-left: auto;
}
.page-hero {
  padding: 120px 0 40px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  max-width: 900px;
  margin: 10px 0 0;
}
.page-hero .lead {
  max-width: 760px;
  margin: 18px 0 0;
  text-align: left;
}
.page-hero .cta {
  justify-content: flex-start;
  margin-top: 26px;
}
.page-media {
  margin-top: 46px;
}
.page-media.phone-solo .phone {
  width: min(320px, 70%);
}
.crumbs {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crumbs a {
  color: var(--text-2);
}
.crumbs a:hover {
  color: var(--text);
}
.post-meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-3);
}
.page-body {
  padding: 30px 0 60px;
}
.wrap.narrow {
  max-width: 820px;
}
.toc {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 18px 22px;
  margin-bottom: 40px;
  background: var(--surface);
  font-size: 15px;
}
.toc ol {
  margin: 8px 0 0 20px;
  color: var(--text-2);
}
.toc a:hover {
  color: var(--accent-2);
}
.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
}
.prose h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--text);
  margin: 52px 0 14px;
  letter-spacing: -0.02em;
  scroll-margin-top: 90px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  color: var(--text);
  font-size: 20px;
  margin: 30px 0 10px;
}
.prose p,
.prose ul,
.prose ol,
.prose table {
  margin: 0 0 18px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose strong {
  color: var(--text);
}
.prose a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
.prose th {
  color: var(--text);
  font-weight: 650;
  background: var(--surface);
}
.cta-box-wrap {
  padding: 40px 0;
}
.cta-box {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 44px;
  text-align: center;
}
.cta-box h2 {
  margin-top: 0;
  font-size: clamp(26px, 3vw, 36px);
}
.cta-box p {
  color: var(--text-2);
  margin: 12px auto 24px;
  max-width: 620px;
}
.cta-box .cta {
  justify-content: center;
}
.page-faq {
  padding: 60px 0;
}
.related {
  padding: 60px 0 100px;
}
.related h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 26px;
}
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.rel-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  padding: 22px;
  transition: border-color 0.2s;
}
.rel-card:hover,
.rel-card:focus-visible {
  border-color: var(--accent);
}
.rel-card .tag {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}
.rel-card h3 {
  font-size: 18px;
  line-height: 1.3;
}
.rel-card p {
  color: var(--text-2);
  font-size: 14px;
  flex: 1;
}
.rel-card .more {
  font-size: 14px;
  font-weight: 650;
}
.prose .rel-grid {
  margin-top: 10px;
}
@media (max-width: 560px) {
  .cta-box {
    padding: 30px 20px;
  }
  .page-hero {
    padding-top: 100px;
  }
}
.prose a.rel-card {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 560px) {
  .prose table {
    font-size: 14px;
  }
  .prose th,
  .prose td {
    padding: 8px 8px;
  }
}
