/* =========================================================
   Sendelly, site vitrine
   Les jetons reprennent le thème du dashboard (apps/front/src/styles.css) :
   gris neutres, primaire noir, cartes blanches sur un canevas gris clair,
   rayon 0.45rem, DM Sans. La page est une colonne cadrée de 72rem : ses
   bords sont tracés à partir des tablettes, les sections s'empilent avec un
   filet entre elles et une petite croix là où les filets se croisent.
   ========================================================= */
:root {
  --background: oklch(0.975 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --border: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --cross: oklch(0.708 0 0);

  /* Statuts, les teintes des badges du dashboard (emerald, blue, amber). */
  --success: oklch(0.596 0.145 163.225);
  --success-text: oklch(0.508 0.118 165.612);
  --success-tint: oklch(0.95 0.052 163.051);
  --info-text: oklch(0.488 0.243 264.376);
  --info-tint: oklch(0.97 0.014 254.604);
  --warning-text: oklch(0.555 0.163 48.998);
  --warning-tint: oklch(0.987 0.022 95.277);

  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --radius: 0.45rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);

  --rail: 72rem;
  --gutter: 20px;
  --header-h: 56px;
  --lift: 0 1px 2px rgb(0 0 0 / 0.04), 0 14px 32px -18px rgb(0 0 0 / 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 40rem) {
  :root { --gutter: 32px; }
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body, h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

body {
  min-height: 100dvh;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
  /* La coupe du dashboard à toutes les tailles : la coupe « display » que la
     police variable choisirait pour les grands titres resserre trop les
     lettres avec l'interlettrage négatif. */
  font-optical-sizing: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-weight: 600; }

:focus-visible { outline: 2px solid color-mix(in oklch, var(--ring) 70%, transparent); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 14px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Les icônes : le tracé des icônes lucide du dashboard, en SVG dans la page. */
.i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.muted { color: var(--muted-foreground); }

/* =========================================================
   Cadre : la colonne, ses bords, les filets et leurs croix
   ========================================================= */
.wrap {
  position: relative;
  max-width: var(--rail);
  margin-inline: auto;
}
@media (min-width: 64rem) {
  .wrap { border-inline: 1px solid var(--border); }
}
.band { border-top: 1px solid var(--border); }
.cross::before,
.cross::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -5px;
  display: none;
  width: 9px;
  height: 9px;
  background:
    linear-gradient(var(--cross), var(--cross)) center / 100% 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) center / 1px 100% no-repeat;
}
.cross::before { left: -5px; }
.cross::after { right: -5px; }
/* seulement là où la colonne laisse la place des deux côtés */
@media (min-width: 73rem) {
  .cross::before, .cross::after { display: block; }
}

/* Une trame de points discrète, sous les écrans du produit. */
.dots {
  background-image: radial-gradient(color-mix(in oklch, var(--foreground) 16%, transparent) 1px, transparent 1.2px);
  background-size: 14px 14px;
}

/* Des cellules séparées par des filets d'un pixel : l'écart laisse voir la
   couleur de bordure du conteneur. */
.cells {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--border);
  background: var(--border);
}
.cell { background: var(--background); padding: 24px var(--gutter); }
@media (min-width: 40rem) {
  .cell { padding: 32px; }
}
.cell-card { background: var(--card); }
.cell h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; }
.cell-text {
  margin-top: 8px;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* =========================================================
   Composants : bouton, carte, lien, badge, sur-titre
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding-inline: 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.btn:active { translate: 0 1px; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in oklch, var(--primary) 82%, transparent); }
.btn-outline { border-color: var(--border); background: var(--card); }
.btn-outline:hover { background: var(--muted); }
.btn-ghost { color: var(--muted-foreground); }
.btn-ghost:hover { color: var(--foreground); }
.btn-lg { height: 44px; padding-inline: 20px; font-size: 15px; }

.card {
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--foreground) 10%, transparent);
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--foreground) 30%, transparent);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s;
}
.text-link:hover { text-decoration-color: var(--foreground); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding-inline: 8px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.badge-success { background: var(--success-tint); color: var(--success-text); }
.badge-info { background: var(--info-tint); color: var(--info-text); }
.pill-success {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-inline: 10px;
  border-radius: 9999px;
  background: var(--success-tint);
  color: var(--success-text);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--foreground) 45%, transparent);
}

/* Un écran du produit posé sur la trame : une capture ou un mini écran
   redessiné, décollé du canevas par une ombre courte. */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: color-mix(in oklch, var(--muted) 40%, transparent);
  user-select: none;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in oklch, var(--foreground) 16%, transparent) 1px, transparent 1.2px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.stage > * { position: relative; }
@media (min-width: 40rem) {
  .stage { padding: 20px; }
}
.shot {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--foreground) 10%, transparent), var(--lift);
}
.shot img { width: 100%; height: auto; }

/* =========================================================
   En-tête
   Ordre du DOM : marque, navigation, actions, bouton menu. La navigation
   prend l'espace du milieu ; sous 1024px elle passe dans le menu.
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 80%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--header-h);
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: var(--radius-md); }
.brand img { width: auto; height: 22px; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; font-size: 14px; color: var(--muted-foreground); }
.main-nav a { padding: 6px 12px; border-radius: var(--radius-md); transition: background-color 0.15s, color 0.15s; }
.main-nav a:hover { background: var(--muted); color: var(--foreground); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { height: 32px; padding-inline: 12px; }

/* Libellés courts, réservés aux en-têtes étroits. */
.label-short { display: none; }

/* Le bouton menu : un bouton outline carré, trois traits qui se croisent à
   l'ouverture. */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.hamburger span {
  display: block;
  width: 14px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--foreground);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* Le menu mobile : une carte fixée sous l'en-tête. */
.mobile-nav {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  right: 12px;
  left: 12px;
  display: none;
  flex-direction: column;
  max-height: calc(100dvh - var(--header-h) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--foreground) 10%, transparent), 0 24px 60px -24px rgb(0 0 0 / 0.35);
  font-size: 15px;
}
.mobile-nav > a { padding: 10px 12px; border-radius: var(--radius-md); }
.mobile-nav > a:hover { background: var(--muted); }
.mobile-nav-actions { margin-top: 6px; padding: 8px 6px 6px; border-top: 1px solid var(--border); }
.mobile-nav-actions .auth-group { flex-direction: column; align-items: stretch; gap: 8px; }
.mobile-nav-actions .btn { width: 100%; height: 40px; }
.site-header.nav-open .mobile-nav { display: flex; }

/* Header visiteur ou connecté : les deux variantes sont dans le HTML et le
   CSS en choisit une, donc rien ne clignote. Sans JS ni cookie, c'est la
   variante visiteur qui reste. .is-authed est posée sur <html> par script.js
   à partir d'un cookie sans jeton écrit par le dashboard. */
.auth-group { display: flex; align-items: center; gap: 8px; }
[data-auth="authed"] { display: none; }
.is-authed .auth-group[data-auth="anon"] { display: none; }
.is-authed .auth-group[data-auth="authed"] { display: flex; }

@media (max-width: 63.99rem) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hamburger { display: flex; }
}
@media (max-width: 39.99rem) {
  .header-actions .btn-ghost { display: none; }
  .header-actions .label-full { display: none; }
  .header-actions .label-short { display: inline; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero-inner {
  overflow: hidden;
  padding: 64px var(--gutter) 0;
}
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 100%);
}
.hero-copy { position: relative; max-width: 56rem; margin-inline: auto; text-align: center; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--card);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  font-size: 13px;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.hero-pill:hover { color: var(--foreground); }
.hero-pill strong {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--foreground);
  font-weight: 500;
}
.hero-pill > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero-pill .i { width: 14px; height: 14px; transition: translate 0.15s; }
.hero-pill:hover .i { translate: 2px 0; }
.hero h1 {
  margin-top: 28px;
  font-size: 2.6rem;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 .muted { color: var(--muted-foreground); }
.hero-lead {
  max-width: 42rem;
  margin: 24px auto 0;
  font-size: 18px;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.proofs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted-foreground);
}
.proofs li { display: inline-flex; align-items: center; gap: 6px; }
.proofs .i { color: var(--foreground); }

.hero-shot { position: relative; margin-top: 56px; }
.bezel {
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 12px);
  background: color-mix(in oklch, var(--muted) 60%, transparent);
}
/* Sur un téléphone, réduite à la largeur de l'écran la liste serait
   illisible : la capture garde une largeur minimale, son début reste lu. */
.bezel .shot img { min-width: 720px; }
.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--background));
}
@media (min-width: 40rem) {
  .hero-inner { padding-top: 96px; }
  .hero h1 { font-size: 3.75rem; }
  .hero-lead { font-size: 20px; }
  .hero-shot { margin-top: 80px; }
  .bezel { padding: 8px; }
}
@media (min-width: 64rem) {
  .hero-copy { max-width: 64rem; }
  .hero h1 { font-size: 4.25rem; }
  /* La promesse sur sa propre ligne. */
  .hero h1 .muted { display: block; }
}

/* Ce qui se passe derrière la liste : une étiquette achetée, une réclamation
   réglée. Deux cartes du produit posées sur la capture, à partir de 1024px. */
.float {
  position: absolute;
  z-index: 10;
  display: none;
  width: 288px;
  padding: 16px;
  font-size: 13px;
  text-align: left;
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--foreground) 10%, transparent), 0 1px 2px rgb(0 0 0 / 0.05), 0 24px 60px -24px rgb(0 0 0 / 0.35);
}
@media (min-width: 64rem) {
  .float { display: block; }
}
/* Au-dessus du tableau : la carte ne cache aucun prix d'expédition. */
.float-label { top: -16px; right: -12px; }
.float-claim { bottom: 72px; left: -12px; }
.float-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-foreground); }
.float-kicker .i { width: 14px; height: 14px; }
.float-row { display: flex; align-items: center; gap: 12px; }
.float-row img { width: 32px; height: 32px; border-radius: var(--radius-md); }
.float-row > div { flex: 1; min-width: 0; }
.float-kicker + .float-row { margin-top: 10px; }
.float-title { font-weight: 500; line-height: 1.25; }
.float-sub { font-size: 12px; color: var(--muted-foreground); }
.float dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.float dt { font-size: 11px; color: var(--muted-foreground); }
.float dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.float-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-foreground);
}
.float-foot .i { width: 14px; height: 14px; color: var(--success); }

/* =========================================================
   Bandeau des transporteurs
   ========================================================= */
.strip-text {
  padding: 24px var(--gutter);
  font-size: 14px;
  text-align: center;
  color: var(--muted-foreground);
}
.strip-text span { color: var(--foreground); }
.strip-cells {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-top: 1px solid var(--border);
  background: var(--border);
}
.strip-cells li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 8px;
  background: var(--background);
  font-size: 14px;
  color: var(--muted-foreground);
}
.strip-cells img { width: 20px; height: 20px; border-radius: 5px; }
@media (min-width: 48rem) {
  .strip-cells { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   Titre de section : son nom, le titre, et son propos à côté sur grand écran
   ========================================================= */
.section-head {
  display: grid;
  gap: 20px;
  padding: 80px var(--gutter) 48px;
}
.section-head h2,
.faq-aside h2,
.closing h2 {
  margin-top: 16px;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-head p {
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}
@media (min-width: 40rem) {
  .section-head { padding: 112px var(--gutter) 64px; }
  .section-head h2, .faq-aside h2 { font-size: 2.6rem; }
}
@media (min-width: 64rem) {
  .section-head { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 64px; }
}

/* =========================================================
   Tarifs : le tableau, ses notes, le simulateur
   ========================================================= */
.rates { border-top: 1px solid var(--border); font-size: 15px; background: var(--background); }
.rates th {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.rates td { padding: 16px 24px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rates th:first-child, .rates td:first-child { padding-left: var(--gutter); }
.rates th:last-child, .rates td:last-child { padding-right: var(--gutter); }
.rates tbody tr:last-child td { border-bottom: 0; }
.rates sup { font-size: 0.7em; margin-left: 1px; }
.rates .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rates td.muted small { display: block; font-size: 12px; }
/* La colonne Sendelly, blanche de haut en bas : c'est elle qu'on compare. */
.rates .ours { background: var(--card); }
.rates th.ours { color: var(--foreground); font-weight: 600; }
.rates th.ours > span { display: inline-flex; align-items: center; gap: 8px; }
.rates th.ours img { width: 20px; height: 20px; border-radius: 5px; }
.rates td.ours { font-weight: 600; font-size: 16px; }
.carrier { display: flex; align-items: center; gap: 12px; }
.carrier img { width: 28px; height: 28px; border-radius: var(--radius-md); }
.carrier strong { display: block; font-weight: 500; }
.carrier span span { font-size: 13px; color: var(--muted-foreground); }

/* Sous 1024px (le tableau en demande 860), chaque ligne devient un bloc :
   l'offre en tête, puis ses valeurs sous leur intitulé. Les `role` explicites
   du HTML gardent la sémantique du tableau que le `display` fait perdre. */
@media (max-width: 63.99rem) {
  .rates thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .rates tr { display: grid; padding: 16px var(--gutter); border-bottom: 1px solid var(--border); }
  .rates tbody tr:last-child { border-bottom: 0; }
  .rates td,
  .rates td:first-child,
  .rates td:last-child { display: block; padding: 3px 0; border: 0; text-align: right; }
  .rates td:first-child { padding-bottom: 10px; text-align: left; }
  .rates td[data-label]::before { content: attr(data-label); float: left; margin-right: 16px; color: var(--muted-foreground); font-weight: 400; font-size: 14px; }
  .rates td.ours { background: none; }
}

.notes {
  padding: 16px var(--gutter);
  border-top: 1px solid var(--border);
  list-style: decimal inside;
  font-size: 12px;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.notes a, .footnote a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.footnote {
  padding: 16px var(--gutter);
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* Le simulateur : les réglages à gauche, le résultat sur carte à droite. */
.sim-fields { display: grid; gap: 24px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field label, .field-row label { font-size: 14px; font-weight: 500; }
.field-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-row output { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hint { font-size: 13px; color: var(--muted-foreground); }

/* Le Slider du dashboard : piste fine, partie parcourue en primaire, pouce
   blanc cerclé. `--fill` est posé par script.js. */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 9999px;
  background: linear-gradient(var(--primary), var(--primary)) 0 / var(--fill, 29%) 100% no-repeat, var(--muted);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--foreground) 6%, transparent);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 9999px; background: var(--muted); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 9999px; background: var(--primary); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border: 1px solid var(--primary);
  border-radius: 9999px;
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.1);
}
input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 1px solid var(--primary);
  border-radius: 9999px;
  background: var(--card);
}

/* SelectTrigger et Input du dashboard : h-9, bordure, ombre courte. */
.select, .input-suffix { position: relative; }
.select select,
.input-suffix input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  font: inherit;
  font-size: 15px;
  color: var(--foreground);
}
.select select { -webkit-appearance: none; appearance: none; padding-right: 36px; text-overflow: ellipsis; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 1.5px solid var(--muted-foreground);
  border-bottom: 1.5px solid var(--muted-foreground);
  transform: rotate(45deg);
  pointer-events: none;
}
.input-suffix input { padding-right: 32px; font-variant-numeric: tabular-nums; }
.input-suffix span { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--muted-foreground); pointer-events: none; }
.select select:focus-visible,
.input-suffix input:focus-visible { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 50%, transparent); }

.sim-result { display: flex; flex-direction: column; }
.sim-label { font-size: 14px; color: var(--muted-foreground); }
.sim-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 12px;
}
.sim-amount { font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sim-per { font-size: 14px; color: var(--muted-foreground); }
.sim-detail { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; color: var(--muted-foreground); }
.sim-detail strong { color: var(--foreground); font-weight: 600; font-variant-numeric: tabular-nums; }
/* Deux barres proportionnelles : le montant seul ne dit pas d'où vient
   l'économie. */
.compare { display: grid; gap: 16px; margin-top: auto; padding-top: 32px; }
.compare-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 14px; color: var(--muted-foreground); }
.compare-amount { color: var(--foreground); font-weight: 500; font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 9999px; background: var(--muted); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--ring); transition: width 0.3s var(--ease); }
.compare-row.is-sendelly .bar span { background: var(--primary); }
@media (min-width: 64rem) {
  .sim { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Plans
   ========================================================= */
.billing { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; color: var(--muted-foreground); }
/* SegmentedControl du dashboard : fond muted, option active blanche. */
.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--foreground) 6%, transparent);
}
.segmented button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.15s, color 0.15s;
}
.segmented button.is-active { background: var(--card); color: var(--foreground); box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); }
.segmented .gain { color: var(--success-text); font-size: 12px; }

.plan { display: flex; flex-direction: column; }
.plan-tagline { margin-top: 4px; font-size: 15px; color: var(--muted-foreground); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; }
.plan-amount { font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-per { font-size: 14px; color: var(--muted-foreground); }
.plan-note { margin-top: 8px; font-size: 13px; color: var(--muted-foreground); }
.plan-list { display: grid; gap: 12px; margin-top: 28px; font-size: 15px; }
.plan-list li { display: flex; align-items: center; gap: 10px; }
.plan .btn { height: 40px; margin-top: auto; }
.plan-list + .btn { margin-top: 36px; }
.included h3 { font-size: 16px; }
.included ul {
  display: grid;
  gap: 12px 24px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted-foreground);
}
.included li { display: flex; align-items: flex-start; gap: 10px; }
.included li .i { margin-top: 3px; color: var(--success); }
.included small { display: block; font-size: 13px; }
.plans-foot { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--muted-foreground); }
.plans-foot .text-link { margin-top: 0; flex-shrink: 0; color: var(--foreground); }
@media (min-width: 40rem) {
  .included ul { grid-template-columns: 1fr 1fr; }
  .plans-foot { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 48rem) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plans .span-all { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .included ul { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   Fonctionnalités
   ========================================================= */
/* Les deux parcours montrés avec le produit : le texte, puis l'écran en
   pleine largeur, assez grand pour se lire. */
.feature-wide { display: grid; }
.feature-wide > .text-link { justify-self: start; }
.feature-wide .stage { margin-top: 32px; }
.feature-wide .shot { width: 100%; }
@media (min-width: 64rem) {
  .features { grid-template-columns: repeat(6, 1fr); }
  .features .feature-wide { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: end; column-gap: 64px; }
  .feature-wide > .text-link { margin: 0 0 4px; }
  .feature-wide .stage { grid-column: 1 / -1; padding: 40px; }
  .feature-wide .shot-prep { max-width: 940px; }
  .feature-wide .shot-map { max-width: 780px; }
  .features .more { grid-column: span 2; }
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .features { grid-template-columns: 1fr 1fr; }
  .features .feature-wide { grid-column: 1 / -1; }
}
.icon-box {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--muted-foreground);
}
.more h3 { margin-top: 16px; font-size: 16px; }
.more .cell-text { margin-top: 6px; }
.more .text-link { margin-top: 12px; font-size: 14px; }

/* =========================================================
   Réclamations : trois étapes, chacune avec son écran
   ========================================================= */
.step-num { font-family: var(--mono); font-size: 12px; color: var(--muted-foreground); }
.steps .cell { display: flex; flex-direction: column; }
.steps h3 { margin-top: 12px; }
.steps .stage { height: 288px; margin-top: 32px; }
@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* Les mini écrans : des morceaux du dashboard redessinés, données d'exemple. */
.mini {
  width: 100%;
  max-width: 300px;
  padding: 16px;
  font-size: 13px;
  text-align: left;
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--foreground) 10%, transparent), var(--lift);
}
.mini-title { font-weight: 500; }
.mini-label { display: block; margin-top: 12px; margin-bottom: 6px; font-size: 12px; font-weight: 500; }
.mini-input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding-inline: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.mini-input img { width: 16px; height: 16px; border-radius: 4px; }
.mini-input .i { width: 14px; height: 14px; margin-left: auto; color: var(--muted-foreground); }
.mini-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.mini-btn { display: inline-flex; align-items: center; height: 28px; padding-inline: 12px; border-radius: var(--radius-md); background: var(--primary); color: var(--primary-foreground); font-size: 12px; font-weight: 500; }
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-head .float-sub { margin-top: 1px; }
.mini-head > p { min-width: 0; }
.mini-head img { width: 28px; height: 28px; border-radius: var(--radius-md); }
.mini-head > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mini-system {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.mini-system::before, .mini-system::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.mini-msg { display: flex; gap: 10px; margin-top: 14px; }
.mini-avatar { width: 24px; height: 24px; flex-shrink: 0; border-radius: 9999px; }
.mini-bubble { padding: 8px 10px; border-radius: var(--radius-lg); background: var(--muted); line-height: 1.45; }
.mini-author { margin-bottom: 4px; font-size: 12px; font-weight: 500; }
.timeline { margin-top: 14px; }
.timeline li { position: relative; display: grid; gap: 1px; padding: 0 0 12px 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--border);
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 1px;
  left: 3px;
  width: 1px;
  background: var(--border);
}
.timeline li.is-current::before { background: var(--success); box-shadow: 0 0 0 3px var(--success-tint); }
.timeline strong { font-weight: 500; }
.timeline span { font-size: 12px; color: var(--muted-foreground); }

/* =========================================================
   FAQ : le titre reste en vue, les réponses s'ouvrent sans JS
   ========================================================= */
.faq-aside { padding: 80px var(--gutter) 40px; }
.faq-aside p { max-width: 24rem; margin-top: 16px; font-size: 15px; line-height: 1.625; color: var(--muted-foreground); }
.faq-aside a { color: var(--foreground); text-decoration: underline; text-underline-offset: 4px; }
.faq { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq details + details { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: color-mix(in oklch, var(--muted) 50%, transparent); }
.faq summary .i { color: var(--muted-foreground); transition: rotate 0.2s; }
.faq details[open] summary .i { rotate: 45deg; }
.faq details p { max-width: 42rem; padding: 0 var(--gutter) 24px; font-size: 15px; line-height: 1.625; color: var(--muted-foreground); }
.faq details p a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
/* La hauteur s'anime là où le navigateur sait le faire. */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.25s ease, content-visibility 0.25s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@media (min-width: 40rem) {
  .faq-aside { padding-top: 112px; }
}
@media (min-width: 64rem) {
  .faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; }
  .faq-aside { padding-bottom: 112px; border-right: 1px solid var(--border); }
  .faq-sticky { position: sticky; top: 96px; }
  .faq-list { padding-block: 112px; }
}

/* =========================================================
   Appel final
   ========================================================= */
.closing-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 20%, transparent 100%);
}
.closing-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 42rem;
  margin-inline: auto;
  padding: 96px var(--gutter);
  text-align: center;
}
.closing-copy > img { width: 44px; height: 44px; }
.closing h2 { margin-top: 28px; }
.closing-copy p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--muted-foreground); text-wrap: pretty; }
.closing .hero-actions { margin-top: 36px; }
@media (min-width: 40rem) {
  .closing-copy { padding-block: 128px; }
  .closing h2 { font-size: 3rem; }
}

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer { border-top: 1px solid var(--border); }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  padding: 56px var(--gutter);
}
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { max-width: 20rem; margin-top: 12px; font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }
.footer-col-title { font-size: 14px; font-weight: 500; }
.footer-col ul { display: grid; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--muted-foreground); }
.footer-col a { transition: color 0.15s; }
.footer-col a:hover { color: var(--foreground); }
.footer-bottom-band { border-top: 1px solid var(--border); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px var(--gutter);
  font-size: 14px;
  color: var(--muted-foreground);
}
.footer-bottom a:hover { color: var(--foreground); }
@media (min-width: 40rem) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64rem) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* =========================================================
   Mouvement : le hero entre une fois, les sections montent à leur arrivée
   dans l'écran là où le navigateur sait lier une animation au défilement
   (sans script). Rien ne bouge pour qui demande moins d'animations.
   ========================================================= */
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes float-in { from { opacity: 0; translate: 0 10px; scale: 0.98; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
  .float-in { animation: float-in 0.8s var(--ease) both; animation-delay: calc(500ms + var(--i, 0) * 150ms); }
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Sur écran tactile, les cibles gagnent la hauteur recommandée. */
@media (pointer: coarse) {
  .mobile-nav > a { padding-block: 13px; }
  .faq summary { min-height: 56px; }
}

/* =========================================================
   Pages légales (mentions-legales, confidentialite, cgv)
   Prose longue dans la colonne : une mesure étroite au centre, des titres
   numérotés par les documents eux-mêmes, un sommaire discret en tête.
   ========================================================= */
.legal-main .wrap-narrow { padding: 48px max(var(--gutter), calc((100% - 46rem) / 2)) 96px; }
.legal-main h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; letter-spacing: -0.035em; margin: 0 0 8px; }
.legal-updated { margin: 0 0 32px; font-size: 14px; color: var(--muted-foreground); }
.legal-main h2 { margin: 40px 0 10px; font-size: 1.25rem; letter-spacing: -0.015em; }
.legal-main h3 { margin: 24px 0 8px; font-size: 1.05rem; font-weight: 500; }
.legal-main p, .legal-main li { font-size: 15px; line-height: 1.65; color: color-mix(in oklch, var(--foreground) 82%, transparent); }
.legal-main p + p { margin-top: 10px; }
.legal-main ul, .legal-main ol { margin: 10px 0 16px; padding-left: 22px; }
.legal-main ul { list-style: disc; }
.legal-main ol { list-style: decimal; }
.legal-main li { margin: 6px 0; }
.legal-main a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.legal-toc { margin: 0 0 8px; padding: 18px 22px; border-radius: var(--radius-xl); background: var(--card); box-shadow: 0 0 0 1px color-mix(in oklch, var(--foreground) 10%, transparent); }
.legal-toc p { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.legal-toc ol { margin: 0; padding-left: 20px; list-style: decimal; }
.legal-toc li { margin: 3px 0; font-size: 14px; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-table { width: 100%; margin: 12px 0 18px; border-collapse: collapse; background: var(--card); font-size: 14px; }
.legal-table th, .legal-table td { padding: 9px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal-table th { background: var(--muted); font-weight: 600; }
.legal-note { padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); font-size: 14px; color: var(--muted-foreground); }
@media (max-width: 40rem) { .legal-table { display: block; overflow-x: auto; } }
