/* getdeloc.com — mêmes jetons que l'app (apps/desktop/src/styles/app.css), polices du système : aucune ressource externe. */
:root {
  color-scheme: dark;
  --bg: #0d0f14;
  --bg-tint: #10131a;
  --surface: #151821;
  --surface-2: #1a1e29;
  --surface-3: #212635;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.15);

  --text: #f3f4f8;
  --text-2: rgba(232, 235, 243, 0.74);
  --text-3: rgba(232, 235, 243, 0.6);

  --accent: #8c7cff;
  --accent-hover: #a094ff;
  --accent-text: #a99dff;
  --accent-soft: rgba(140, 124, 255, 0.14);
  --accent-line: rgba(140, 124, 255, 0.45);
  --on-accent: #0f0d1f;
  --ok: #3ddc97;
  --warn: #ffb547;

  --radius: 18px;
  --radius-s: 11px;
  --gutter: 24px;
  --max: 1120px;
  --header: 64px;
  --space-section: clamp(72px, 10vw, 128px);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1;
}

body > * {
  min-width: 0;
  width: 100%;
}

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

picture,
picture img {
  display: block;
  width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--text);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow {
  max-width: calc(780px + 2 * var(--gutter));
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 12px;
  background: var(--surface-2);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-s);
  z-index: 30;
}

/* ---------- Boutons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-s);
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s, border-color 0.18s, transform 0.18s var(--ease), box-shadow 0.18s;
}

.button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text);
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  background: linear-gradient(180deg, #9a8bff, var(--accent));
  border-color: transparent;
  color: var(--on-accent);
  box-shadow: 0 8px 24px rgba(140, 124, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button--primary:hover {
  background: linear-gradient(180deg, #ab9eff, var(--accent-hover));
  border-color: transparent;
  color: var(--on-accent);
  box-shadow: 0 10px 30px rgba(140, 124, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button--large {
  min-height: 54px;
  padding: 0 26px;
  font-size: 17px;
  border-radius: 13px;
}

.button--small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 14.5px;
  box-shadow: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- En-tête fixe ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}

.site-header.is-open {
  background: #0d0f14;
}

.site-header.is-stuck {
  background: rgba(13, 15, 20, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--hairline);
}

.site-header.is-open {
  background: #0d0f14;
}

.site-header__in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.1em;
}

.brand img {
  width: 28px;
  height: 28px;
  display: block;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  font-size: 15px;
}

.site-nav a {
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 9px;
  transition: color 0.15s, background-color 0.15s;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- 1. Accroche ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 var(--space-section);
  margin-top: calc(-1 * var(--header));
  padding-top: calc(var(--header) + clamp(48px, 8vw, 96px));
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(140, 124, 255, 0.24), transparent 70%),
    radial-gradient(40% 40% at 82% 22%, rgba(88, 132, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.hero__text {
  max-width: 820px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 28px;
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.16);
}

.hero h1 {
  font-size: clamp(42px, 7.4vw, 78px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #b3a8ff 10%, var(--accent) 60%, #7c9bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  text-wrap: balance;
  margin: 24px auto 0;
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 34em;
}

.hero .actions {
  justify-content: center;
  margin-top: 36px;
}

.hero__meta {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--text-3);
}

.stage {
  position: relative;
  max-width: 1040px;
  margin: clamp(48px, 7vw, 80px) auto 0;
}

.stage::before {
  content: '';
  position: absolute;
  inset: 12% 6% -6%;
  background: radial-gradient(closest-side, rgba(140, 124, 255, 0.3), transparent);
  filter: blur(40px);
  pointer-events: none;
}

.window {
  position: relative;
  margin: 0;
  border-radius: 14px;
  background: #151821;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  background: #1b1f2b;
  border-bottom: 1px solid var(--hairline);
}

.window__bar i,
.term__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a4052;
}

.window__body {
  position: relative;
  aspect-ratio: 2400 / 1560;
  background: #0d0f14;
}

/* Halo qui bat sur la position simulée (au centre de la capture). */
.pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.2%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%);
  animation: pulse 2.6s var(--ease) infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(5.5);
    opacity: 0;
  }
}

.phone {
  position: absolute;
  right: -3.5%;
  bottom: -9%;
  width: 17%;
  min-width: 96px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

.phone__body {
  fill: #1c202c;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 2;
}

.phone__screen {
  fill: #0d0f14;
}

.phone__map path {
  fill: none;
  stroke: #252a3a;
  stroke-width: 7;
  stroke-linecap: round;
}

.phone__map .phone__river {
  stroke: #17233f;
  stroke-width: 16;
}

.phone__trail {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 3 7;
  stroke-linecap: round;
  opacity: 0.6;
}

.phone__from {
  fill: none;
  stroke: var(--text-3);
  stroke-width: 2;
}

.phone__island {
  fill: #000;
}

.phone__dot {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2.5;
}

.phone__halo {
  fill: rgba(140, 124, 255, 0.28);
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 2.6s ease-in-out infinite;
}

.phone__pin {
  transform: translate(118px, 122px);
  animation: travel 7s var(--ease) infinite;
}

@keyframes travel {
  0%,
  12% {
    transform: translate(52px, 262px);
  }
  34%,
  88% {
    transform: translate(118px, 122px);
  }
  100% {
    transform: translate(52px, 262px);
  }
}

@keyframes halo {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.35;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--hairline);
}

.section--tint {
  background: var(--bg-tint);
}

.section__head {
  max-width: 44em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

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

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

.section h2,
.final h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section__head > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(17px, 1.8vw, 19px);
}

.card,
.versus__card,
.feature,
.step,
.need,
.trust__card,
.offer,
.trial,
.banner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%), var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

/* ---------- 2. Avant / après ---------- */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.versus__card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.versus__card--after {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(140, 124, 255, 0.1), transparent 55%), var(--surface-2);
  box-shadow: 0 0 0 1px rgba(140, 124, 255, 0.12), var(--shadow);
}

.versus__label {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.versus__card--before .versus__label {
  color: var(--text-2);
}

.terms {
  display: grid;
  gap: 10px;
  flex: 1;
  align-content: start;
}

.term {
  border-radius: 10px;
  background: #0b0d12;
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.term__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #171a23;
  font-size: 11.5px;
  color: var(--text-3);
}

.term__bar i {
  width: 8px;
  height: 8px;
}

.term__bar span {
  margin-left: 6px;
}

.term pre {
  margin: 0;
  padding: 10px 12px 12px;
  font: 12.5px/1.55 var(--mono);
  color: #9aa3b8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.versus__shot picture,
.versus__shot img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
}

.versus__shot {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background: #0d0f14;
  aspect-ratio: 3 / 2;
}

.versus__list {
  display: grid;
  gap: 10px;
  font-size: 15.5px;
  color: var(--text-2);
}

.versus__list li {
  position: relative;
  padding-left: 28px;
}

.versus__list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-3);
}

.versus__list--ok {
  color: var(--text);
}

.versus__list--ok li::before {
  left: 3px;
  top: 0.38em;
  width: 13px;
  height: 7px;
  background: none;
  border-radius: 0;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

/* ---------- 3. Fonctionnalités ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.3s var(--ease);
}

.feature:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid rgba(140, 124, 255, 0.22);
  color: var(--accent-text);
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 19px;
  font-weight: 650;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  color: var(--text-2);
}

.tag--sub {
  color: #c4bcff;
  border-color: rgba(140, 124, 255, 0.5);
  background: var(--accent-soft);
}

.tag--pass {
  color: #ffd08a;
  border-color: rgba(255, 181, 71, 0.4);
  background: rgba(255, 181, 71, 0.09);
}

/* ---------- 4. Comment ça marche ---------- */
.steps {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  background: none;
  border: 0;
  border-radius: 0;
}

.step:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.step:nth-child(even) .step__shot {
  order: 2;
}

.step__shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background: #0d0f14;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow);
}

.step__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 18px;
}

.step h3 {
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.step__text > p:last-child {
  color: var(--text-2);
  font-size: clamp(17px, 1.7vw, 18.5px);
  max-width: 26em;
}

/* ---------- 5. Prérequis ---------- */
.needs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.need {
  padding: 24px;
}

.need svg {
  color: var(--accent-text);
  display: block;
  margin-bottom: 18px;
}

.need h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.need p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}

.banner {
  margin-top: 16px;
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  border-color: var(--accent-line);
  background: linear-gradient(100deg, rgba(140, 124, 255, 0.14), transparent 60%), var(--surface);
}

.banner h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.banner p {
  color: var(--text-2);
  font-size: 16px;
}

/* ---------- 6. Sécurité ---------- */
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust__card {
  padding: 28px;
}

.trust__card--wide {
  grid-column: 1 / -1;
}

.trust__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(140, 124, 255, 0.22);
  color: var(--accent-text);
  margin-bottom: 18px;
}

.trust__card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.trust__card p {
  color: var(--text-2);
  font-size: 16px;
}

.out {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.out li {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}

.out strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}

.caution {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--warn);
  color: var(--text-2);
  font-size: 15.5px;
  max-width: 46em;
}

/* ---------- 7. Tarifs ---------- */
.trial {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 28px;
  margin-bottom: 16px;
  scroll-margin-top: calc(var(--header) + 24px);
}

.trial h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.trial p {
  color: var(--text-2);
  font-size: 15.5px;
}

.soon-pill {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
}

.offer--featured {
  background: linear-gradient(180deg, rgba(140, 124, 255, 0.16), transparent 55%), var(--surface-2);
  border-color: rgba(140, 124, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(140, 124, 255, 0.3), 0 30px 70px rgba(64, 48, 160, 0.35);
}

.offer__flag {
  position: absolute;
  top: 0;
  left: 26px;
  transform: translateY(-50%);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
}

.offer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}

.offer h3 {
  font-size: 19px;
}

.badge {
  font-size: 12.5px;
  font-weight: 600;
  color: #c4bcff;
  border: 1px solid rgba(140, 124, 255, 0.5);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.offer__price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.amount {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.period {
  color: var(--text-2);
  font-size: 17px;
}

.offer__note {
  color: var(--text-3);
  font-size: 14.5px;
  margin-top: 8px;
}

.offer__list {
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 12px;
  font-size: 15.5px;
  color: var(--text-2);
  flex: 1;
  align-content: start;
}

.offer__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tick {
  color: var(--ok);
  flex: none;
  margin-top: 3px;
}

.compare-wrap {
  margin-top: clamp(48px, 6vw, 72px);
}

.compare-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.compare-hint {
  display: none;
  color: var(--text-3);
  font-size: 14.5px;
  margin: -8px 0 16px;
}

.compare-scroll {
  /* position : garde dans la zone défilante les textes réservés aux lecteurs d'écran (sinon ils élargissent la page). */
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare {
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-2);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text);
  padding-top: 18px;
  padding-bottom: 18px;
}

.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  position: sticky;
  left: 0;
  background: var(--surface);
}

.compare thead td {
  width: 32%;
}

.compare .is-featured {
  background: rgba(140, 124, 255, 0.08);
  color: var(--text);
}

.compare strong {
  color: var(--text);
}

.compare .tick {
  margin: 0;
  vertical-align: middle;
}

.compare .dash {
  color: var(--text-3);
}

/* ---------- 8. FAQ ---------- */
.faq {
  border-top: 1px solid var(--hairline);
}

.faq details {
  border-bottom: 1px solid var(--hairline);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq summary:hover {
  color: var(--accent-text);
}

.faq details p {
  padding: 0 44px 24px 4px;
  color: var(--text-2);
}

/* ---------- 9. Contact et appel final ---------- */
.contact {
  text-align: center;
}

.contact .mail {
  display: inline-block;
  margin: 28px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 5.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
}

.contact .mail:hover {
  color: var(--accent-text);
}

.contact p:last-child {
  color: var(--text-2);
}

.final {
  position: relative;
  padding: var(--space-section) 0;
  text-align: center;
  border-top: 1px solid var(--hairline);
  overflow: hidden;
}

.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 50% 100%, rgba(140, 124, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.final .wrap {
  position: relative;
}

.final img {
  display: block;
  margin: 0 auto 28px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.final .actions {
  justify-content: center;
  margin-top: 32px;
}

/* ---------- Pages simples (mentions légales, bientôt disponible) ---------- */
.page {
  padding: 64px 0 96px;
}

.page .wrap {
  max-width: calc(760px + 2 * var(--gutter));
}

.page h1,
.soon h1 {
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page .intro {
  color: var(--text-2);
  font-size: 18px;
}

.page h2 {
  font-size: 21px;
  margin: 48px 0 16px;
}

.page p + p {
  margin-top: 12px;
}

.page p {
  color: var(--text-2);
}

.legal {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.legal dt {
  color: var(--text-3);
  font-size: 15px;
  padding-top: 1px;
}

.legal dd {
  margin: 0;
  color: var(--text);
}

.soon {
  text-align: center;
}

main.soon {
  padding: 104px 0 128px;
}

main.soon .wrap {
  max-width: calc(600px + 2 * var(--gutter));
}

main.soon .mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

main.soon p {
  color: var(--text-2);
  margin-top: 14px;
}

main.soon .chosen {
  display: inline-block;
  margin-top: 22px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 15.5px;
}

main.soon .chosen[hidden] {
  display: none;
}

main.soon .actions {
  justify-content: center;
  margin-top: 32px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: #0a0c10;
  padding: 56px 0 40px;
  font-size: 15px;
  color: var(--text-3);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 32px;
}

.site-footer__brand p {
  margin-top: 14px;
  max-width: 22em;
  color: var(--text-3);
}

.site-footer h2 {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.site-footer ul {
  display: grid;
  gap: 4px;
}

.site-footer li a {
  display: inline-block;
  padding: 5px 0;
  color: var(--text-2);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer li a:hover {
  color: var(--text);
}

.site-footer__bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.site-footer .publisher {
  color: var(--text-2);
}

/* ---------- Apparition au défilement (posée par site.js, jamais sans lui) ---------- */
.will-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.will-reveal.is-in {
  opacity: 1;
  transform: none;
}

.features .will-reveal:nth-child(3n + 2),
.offers .will-reveal:nth-child(2),
.needs .will-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.features .will-reveal:nth-child(3n),
.offers .will-reveal:nth-child(3),
.needs .will-reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.needs .will-reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* ---------- Tablette ---------- */
@media (max-width: 1160px) {
  .phone {
    right: -1%;
  }
}

@media (max-width: 1000px) {
  .needs,
  .out {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .js .menu-toggle {
    display: inline-flex;
  }

  .site-header__cta {
    margin-left: auto;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: #0d0f14;
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    font-size: 17px;
  }

  .js .is-open .site-nav {
    display: flex;
  }

  .js .site-nav a {
    padding: 12px 10px;
  }

  /* Sans script : la navigation passe sur une seconde ligne, toujours visible. */
  html:not(.js) .site-header__in {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  html:not(.js) .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
  }

  .versus,
  .offers,
  .trust {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step:nth-child(even) .step__shot {
    order: 0;
  }

  .offers {
    gap: 24px;
    max-width: 520px;
    margin: 0 auto;
  }

}

/* ---------- Téléphone ---------- */
@media (max-width: 600px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 16.5px;
  }

  .features,
  .needs,
  .out {
    grid-template-columns: 1fr;
  }

  .hero .actions .button,
  .final .actions .button,
  .banner .button {
    width: 100%;
  }

  .phone {
    right: -2%;
    bottom: -16%;
    width: 24%;
  }

  /* Recadrage de la capture pour le téléphone : la position simulée y est plus haut. */
  .window__body {
    aspect-ratio: 3 / 2;
  }

  .pulse {
    top: 25%;
    width: 3.4%;
  }

  .window__bar {
    height: 28px;
  }

  .window__bar i {
    width: 9px;
    height: 9px;
  }

  .compare-hint {
    display: block;
  }

  .compare {
    min-width: 600px;
    font-size: 14.5px;
  }

  .compare th,
  .compare td {
    padding: 13px 10px;
  }

  .compare thead td {
    width: 150px;
  }

  .compare tbody th {
    padding-left: 14px;
    box-shadow: 1px 0 0 var(--hairline);
  }

  .stage {
    margin-bottom: 8%;
  }

  .versus__card,
  .trust__card {
    padding: 22px 20px;
  }

  .trial,
  .banner {
    padding: 22px 20px;
  }

  .faq summary {
    font-size: 17px;
    padding: 18px 2px;
  }

  .faq details p {
    padding: 0 8px 20px 2px;
  }

  .legal {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 20px;
  }

  .legal dd {
    margin-bottom: 12px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 380px) {
  .site-header__cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .pulse {
    display: none;
  }
}
