/* smavee.com — direction A « Orbe » : sombre, l'anneau d'allocation au centre.
   Couleurs : docs/brand du dépôt de l'app (thème sombre = référence). */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c1c16;
  --bg-deep: #070f0c;
  --card: #142a21;
  --card-soft: rgba(20, 42, 33, 0.6);
  --brand: #00c4a7;
  --on-brand: #06231c;
  --text: #e8f4f1;
  --text-2: #a0c9bf;
  --line: rgba(160, 201, 191, 0.14);
  --line-strong: rgba(160, 201, 191, 0.26);
  --p1: #5fe6a3;
  --p2: #42fff6;
  --p3: #34ffdd;
  --p4: #ffae4a;

  --font-display: "Outfit", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(88px, 11vw, 160px);
  --radius-l: 28px;
  --radius-m: 20px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--p1); text-underline-offset: 3px; }
a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--p2);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* Texte à compléter avant la mise en ligne : visible exprès. */
.todo {
  background: rgba(255, 174, 74, 0.14);
  color: var(--p4);
  border: 1px dashed rgba(255, 174, 74, 0.6);
  border-radius: 6px;
  padding: 0 4px;
}

/* ─── En-tête ─────────────────────────────────────────── */

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 11;
  background: var(--bg);
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: rgba(12, 28, 22, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand svg { width: 32px; height: 32px; }
.brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.site-nav a:not(.btn) {
  color: var(--text-2);
  text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--text); }

/* ─── Boutons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--p3); color: var(--on-brand); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(232, 244, 241, 0.06); color: var(--text); }

.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 26px; border-radius: 18px; }

/* Badges officiels Apple et Google, à la même hauteur (48 px). */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.store-badges img { height: 48px; width: auto; }

/* ─── Hero ────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 88px);
}

.hero-glow {
  position: absolute;
  top: -360px;
  left: -280px;
  width: 920px;
  height: 920px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 196, 167, 0.26) 0%, rgba(0, 196, 167, 0) 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 620px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-note {
  color: var(--text-2);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1 / 1;
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

/* L'anneau reste un décor : atténué, rotation à peine perceptible. */
.orbe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.orbe-ring {
  opacity: 0.3;
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: orbe-spin 240s linear infinite;
}

@keyframes orbe-spin { to { transform: rotate(360deg); } }

/* Téléphone : cadre fidèle, contenu = emplacement de capture. */
.phone {
  position: relative;
  width: min(60%, 300px);
  aspect-ratio: 300 / 620;
  margin-top: 11%;
  padding: 10px;
  border-radius: 48px;
  background: var(--bg-deep);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line-strong);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, #17382c 0%, var(--bg) 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 48px 20px 24px;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 26px;
  margin-left: -46px;
  border-radius: 13px;
  background: #000;
}
.phone-screen svg { width: 52%; }
.hero-visual .phone-screen { justify-content: flex-start; padding-top: 30%; }

.shot-label {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(160, 201, 191, 0.45);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* Carte « versement » : montre le calcul, posée sur le téléphone. */
.split-card {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 10%;
  width: 290px;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 22px;
  background: rgba(12, 28, 22, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  text-align: left;
  font-size: 15px;
}
.split-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-2);
}
.split-head strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.split-tag {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.split-bar {
  display: flex;
  gap: 3px;
  height: 8px;
}
.split-bar span { border-radius: 4px; }
.split-bar .c1 { flex: 34; }
.split-bar .c2 { flex: 27; }
.split-bar .c3 { flex: 24; }
.split-bar .c4 { flex: 15; }
.split-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.split-rows li { display: flex; align-items: center; gap: 10px; }
.split-rows b {
  margin-left: auto;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.c1 { background: var(--p1); }
.c2 { background: var(--p2); }
.c3 { background: var(--p3); }
.c4 { background: var(--p4); }

.notice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(20, 42, 33, 0.82);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
  text-align: left;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--p1); }

/* ─── Sections ────────────────────────────────────────── */

.section { padding-top: var(--section); }

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.section-lead {
  max-width: 620px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 18px;
}

/* Pour qui : trois situations de lecteur */
.audience {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
}
.audience article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.audience .dot { width: 10px; height: 10px; }
.audience h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.audience p { color: var(--text-2); }

/* Étapes : une vraie séquence, d'où la numérotation. */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: var(--radius-l);
  background: var(--card-soft);
  border: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.step:nth-child(1)::before { color: var(--p1); }
.step:nth-child(2)::before { color: var(--p2); }
.step:nth-child(3)::before { color: var(--p4); }
.step h3 { font-size: 24px; letter-spacing: -0.01em; line-height: 1.2; }
.step p { color: var(--text-2); }

/* Blocs texte + visuel */
.feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.feature-reverse { flex-wrap: wrap-reverse; }
.feature-text {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-text h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.feature-text > p { color: var(--text-2); font-size: 18px; }
.feature-media {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.media-panel {
  margin: 0;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 30% 20%, rgba(0, 196, 167, 0.24), rgba(20, 42, 33, 0.92) 60%);
}
.media-panel.warm {
  background: radial-gradient(circle at 70% 80%, rgba(255, 174, 74, 0.16), rgba(20, 42, 33, 0.92) 60%);
}
.media-panel .phone {
  width: 58%;
  margin-top: 0;
  border-radius: 36px;
  padding: 8px;
}
.media-panel .phone-screen {
  border-radius: 28px;
  background: var(--card);
  border: 1px dashed rgba(160, 201, 191, 0.3);
  padding: 16px;
}
.media-panel .phone-screen::before { display: none; }

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--brand); }

/* Illustration du réglage (pas une capture) */
.tuner {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(12, 28, 22, 0.92);
  border: 1px solid var(--line);
  font-size: 15px;
}
.tuner-label {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tuner-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--p3), var(--p1) 50%, var(--p4));
}
.tuner-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 62%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.tuner-ends {
  display: flex;
  justify-content: space-between;
  color: var(--text-2);
  font-size: 13px;
}
.tuner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tri {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(232, 244, 241, 0.06);
}
.tri span {
  width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 600;
}
.tri .on { background: rgba(232, 244, 241, 0.14); color: var(--text); }
.tri .on.up { background: rgba(95, 230, 163, 0.2); color: var(--p1); }
.tri .on.down { background: rgba(255, 174, 74, 0.18); color: var(--p4); }

/* Confidentialité en quatre points */
.trust-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius-m);
  background: var(--card-soft);
  border: 1px solid var(--line);
}
.trust-item svg { width: 26px; height: 26px; color: var(--p1); margin-bottom: 6px; }
.trust-item h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.trust-item p { color: var(--text-2); font-size: 16px; }

/* Ce que Smavee est / n'est pas */
.scope {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(23, 56, 44, 0.9), rgba(12, 28, 22, 0.9));
  border: 1px solid var(--line);
}
.scope h2 {
  max-width: 760px;
  margin-bottom: 40px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.scope-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
}
.scope h3 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.scope ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scope li { display: flex; gap: 12px; }
.scope li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.scope .is svg { color: var(--p1); }
.scope .isnt { color: var(--text-2); }
.scope .isnt svg { color: var(--p4); }
.scope-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
}

/* FAQ */
.faq { max-width: 860px; }
.faq h2 { text-align: center; }
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  border-radius: var(--radius-m);
  background: var(--card-soft);
  border: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div {
  padding: 0 24px 22px;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Appel final */
.cta {
  padding-block: var(--section);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta svg.mini-orbe { width: 88px; height: 88px; }
.cta h2 {
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.cta p { max-width: 520px; color: var(--text-2); }

/* ─── Pied de page ────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  padding-block: 56px 40px;
}
.footer-about {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-about p { max-width: 320px; color: var(--text-2); font-size: 14px; }
.footer-nav {
  flex: 0 1 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.footer-nav h2 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav a {
  display: inline-block;
  padding-block: 6px;
  color: var(--text-2);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 32px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
}

/* ─── Pages légales ───────────────────────────────────── */

.legal {
  max-width: 760px;
  padding-block: clamp(40px, 6vw, 80px) var(--section);
}
.legal-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.legal h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.legal-meta { color: var(--text-2); font-size: 15px; }

.toc {
  margin: 32px 0 8px;
  padding: 22px 24px;
  border-radius: var(--radius-m);
  background: var(--card-soft);
  border: 1px solid var(--line);
}
.prose .toc h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.toc ol {
  margin: 12px 0 0;
  padding-left: 22px;
  columns: 2 260px;
  column-gap: 32px;
}
.toc li { padding-block: 3px; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--p1); text-decoration: underline; }

.prose { color: var(--text-2); }
.prose h2 {
  margin: 56px 0 16px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.prose h3 {
  margin: 32px 0 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
}
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); font-weight: 600; }
.prose address { font-style: normal; margin-bottom: 16px; }

.summary-box {
  margin: 32px 0 0;
  padding: 24px 28px;
  border-radius: var(--radius-m);
  background: rgba(0, 196, 167, 0.08);
  border: 1px solid rgba(0, 196, 167, 0.28);
}
.summary-box h2 { margin-top: 0; font-size: 22px; }
.summary-box > :last-child { margin-bottom: 0; }

.table-wrap {
  margin: 0 0 20px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th, .prose td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose th { color: var(--text); font-weight: 600; background: var(--card-soft); }
.prose tr:last-child td { border-bottom: 0; }

.callout {
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 174, 74, 0.08);
  border: 1px solid rgba(255, 174, 74, 0.3);
  color: var(--text);
}

/* Page 404 */
.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding-block: 80px;
}
.not-found svg { width: 96px; height: 96px; }
.not-found h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.03em; }
.not-found p { color: var(--text-2); max-width: 440px; }

/* ─── Petits écrans ───────────────────────────────────── */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-nav { gap: 16px; }
  .site-nav .nav-link { display: none; }
  .brand span { font-size: 22px; }

  /* Sur téléphone, le visuel passe en premier, recadré et fondu en bas. */
  .hero { padding-top: 12px; }
  .hero-inner { gap: 20px; }
  .hero-visual {
    order: -1;
    aspect-ratio: auto;
    height: 440px;
    max-width: 400px;
    margin-top: 0;
    overflow: hidden;
  }
  .hero-visual .orbe,
  .hero-visual .phone {
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 94%);
    mask-image: linear-gradient(to bottom, #000 62%, transparent 94%);
  }
  .hero-visual .orbe { height: 380px; top: 16px; }
  .hero-visual .phone {
    width: 210px;
    margin-top: 20px;
    margin-right: 70px;
    box-shadow: 0 0 0 1px var(--line-strong);
  }
  .hero-visual .shot-label { display: none; }
  .split-head > span:first-child { white-space: nowrap; }
  .split-head strong { font-size: 18px; }
  .split-card {
    right: 0;
    bottom: 28px;
    width: min(268px, 78%);
    padding: 14px;
    gap: 9px;
    font-size: 13px;
  }
  .phone { width: min(64%, 260px); border-radius: 40px; }
  .phone-screen { border-radius: 31px; }
  .step, .trust-item { padding: 24px; }
  .notice { font-size: 14px; }
  .faq summary { padding: 16px 20px; font-size: 16px; }
  .faq details > div { padding: 0 20px 20px; }
  .footer-main { gap: 32px; }
  .footer-nav { flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbe-ring { animation: none; }
  .btn { transition: none; }
}
