/* Proof, site vitrine. DA de l'app : noir, blanc, gris parcimonieux. */

:root {
  --bg: #0a0a0b;
  --fg: #ffffff;
  --body: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.5);
  --hairline: rgba(255, 255, 255, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  letter-spacing: -0.01em;
}

.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--fg); }

@media (max-width: 430px) {
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 13.5px; }
  .brand-pin { width: 28px; height: 28px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-pin { width: 32px; height: 32px; border-radius: 8px; }

/* ── Pill mail ──────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.pill-mail { font-size: 16px; padding: 14px 24px; background: var(--fg); color: var(--bg); }

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

.hero {
  padding-top: clamp(96px, 14vw, 150px);
  text-align: center;
}

h1 {
  font-size: clamp(46px, 9.5vw, 100px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.01;
  max-width: 12ch;
  margin-inline: auto;
}

.tagline {
  font-size: clamp(20px, 3.2vw, 29px);
  font-weight: 700;
  letter-spacing: -0.014em;
  margin: 26px auto 34px;
  max-width: 24ch;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 8vw, 96px);
}

/* ── Mockup téléphone ───────────────────────────────────── */

.phone {
  width: min(320px, 80vw);
  padding: 11px;
  border-radius: 55px;
  background: #131315;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.phone img { border-radius: 44px; }

/* ── Rail de téléphones du hero ─────────────────────────── */

.hero-rail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(16px, 2.2vw, 30px);
  margin-top: clamp(40px, 6vw, 64px);
  padding-inline: 24px;
}

/* Halo discret pour détacher du fond les écrans sombres du rail.
   Desktop large seulement : dans le mode défilement, un pseudo-élément
   à débord négatif agrandirait la zone de scroll. */
@media (min-width: 1380px) {
  .hero-rail::before {
    content: "";
    position: absolute;
    inset: -6% 10%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.05), transparent 72%);
    pointer-events: none;
  }
}

.rail-item { position: relative; }

.rail-item { margin: 0; flex-shrink: 0; }

.rail-item .phone {
  width: min(225px, 62vw);
  padding: 8px;
  border-radius: 44px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.rail-item .phone img { border-radius: 36px; }

.rail-edge .phone { opacity: 0.88; }

.rail-center .phone {
  width: min(300px, 74vw);
  padding: 10px;
  border-radius: 52px;
}

.rail-center .phone img { border-radius: 42px; }

.rail-item figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail-center figcaption { color: var(--fg); }

@media (max-width: 1379px) {
  .hero-rail {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: max(24px, calc(50vw - 112px));
  }
  .hero-rail::-webkit-scrollbar { display: none; }
  .rail-item { scroll-snap-align: center; }
}

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

section { padding-block: clamp(90px, 13vw, 170px); }

/* Sur la home, le hero colle au bloc suivant : le padding bas vient de
   la section d'après. Sur merci / thanks / 404, le hero est le dernier
   bloc : sans ce padding, le filet du footer se colle au dernier texte. */
.hero { padding-bottom: 0; }

main > .hero:last-child {
  padding-bottom: clamp(72px, 14vw, 128px);
}

h2 {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.05;
}

.statement { text-align: center; }

.statement h2, .map-section h2, .steps h2, .final h2, .scenario h2, .privacy h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.lead {
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--body);
  max-width: 46ch;
  margin-top: 22px;
}

.statement .lead { margin-inline: auto; max-width: 38ch; }

.lead.strong {
  font-weight: 800;
  color: var(--fg);
  font-size: clamp(21px, 2.8vw, 26px);
  letter-spacing: -0.014em;
}

.lead strong { color: var(--fg); font-weight: 700; }

.centered { margin-inline: auto; text-align: center; }

/* ── Manifesto bicolore ─────────────────────────────────── */

.manifesto p {
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.16;
  max-width: 24ch;
}

.manifesto .mt-rest { color: var(--muted); }

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

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  vertical-align: middle;
  margin-right: 12px;
}

/* ── Features en deux colonnes ──────────────────────────── */

.feature-grid {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

.feature .phone-stage, .flip .phone-stage { margin-top: 0; position: relative; }

/* Même halo derrière les téléphones des sections, pour les écrans sombres. */
.phone-stage::before, .map-stage::before {
  content: "";
  position: absolute;
  inset: -6% -10%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.05), transparent 72%);
  pointer-events: none;
}

.phone-stage .phone { position: relative; }

@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .flip .feature-txt { order: 2; }
  .flip .phone-stage { order: 1; }
}

/* ── Section carte ──────────────────────────────────────── */

.map-section { text-align: center; }

.map-section .eyebrow { text-align: center; }

.map-stage {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 8vw, 90px);
}

.phone-lg { width: min(360px, 84vw); position: relative; z-index: 2; }

.phone-back {
  display: none;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(16%) rotate(7deg) scale(0.94);
  opacity: 0.55;
  z-index: 1;
}

@media (min-width: 900px) {
  .phone-back { display: block; }
}

/* ── Étapes ─────────────────────────────────────────────── */

.steps h2 { text-align: center; }

.steps-grid {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: clamp(48px, 7vw, 72px);
}

@media (min-width: 760px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 36px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.step-ghost {
  position: absolute;
  top: -26px;
  right: 2px;
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-card h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-top: auto;
  padding-top: 56px;
}

.step-card p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--body);
  margin-top: 8px;
  max-width: 30ch;
}

/* ── Icônes de points ───────────────────────────────────── */

.pt-icon {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
  color: var(--fg);
}

.pt-icon svg { width: 100%; height: 100%; display: block; }

.privacy-points .pt-icon {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  flex-shrink: 0;
}

/* ── Scénario « Proof en vrai » ─────────────────────────── */

.scenario { text-align: center; }

.scenario-flow {
  list-style: none;
  max-width: 620px;
  margin: clamp(48px, 7vw, 72px) auto 0;
  text-align: left;
}

.scenario-flow li {
  position: relative;
  padding: 0 0 42px 48px;
}

.scenario-flow li:last-child { padding-bottom: 0; }

.scenario-flow li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 34px;
  bottom: 6px;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.scenario-flow li:last-child::before { display: none; }

.sc-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #131315;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.scenario-flow h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.012em;
}

.scenario-flow p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--body);
  margin-top: 6px;
  max-width: 48ch;
}

/* ── Équipe ─────────────────────────────────────────────── */

.team-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 60px);
  text-align: left;
}

@media (min-width: 720px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

.team-card {
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 34px);
  display: flex;
  align-items: center;
  gap: 18px;
}

.team-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #1b1b1e;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 800;
  flex-shrink: 0;
}

.team-card h3 { font-size: 19px; font-weight: 700; }

.team-card p { font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 3px; }

/* ── Manifesto « Pourquoi Proof » ───────────────────────── */

.manifesto-list {
  list-style: none;
  max-width: 800px;
  margin: clamp(48px, 7vw, 72px) auto 0;
  text-align: left;
}

.manifesto-list li {
  border-top: 1px solid var(--hairline);
  padding: clamp(28px, 4vw, 40px) 0;
}

.manifesto-list li:last-child { border-bottom: 1px solid var(--hairline); }

.manifesto-list h3 {
  font-size: clamp(23px, 3.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.018em;
}

.manifesto-list p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--body);
  margin-top: 10px;
  max-width: 58ch;
}

/* ── Cartes « tu te reconnais ? » ───────────────────────── */

.persona-grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(48px, 7vw, 72px);
}

@media (min-width: 720px) {
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
}

.persona {
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 36px);
  text-align: left;
  transition: transform 0.3s ease-out, border-color 0.3s ease-out;
}

.persona:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Pages essai : manifeste, presse ────────────────────── */

.essay-hero {
  text-align: left;
  padding-bottom: 0;
}

.essay-hero h1 {
  margin-inline: 0;
  max-width: 14ch;
}

.essay-hero .wrap, .essay .wrap { max-width: 760px; }

.essay { padding-top: clamp(48px, 7vw, 72px); }

.essay h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: clamp(52px, 8vw, 84px);
}

.essay h2:first-child { margin-top: 0; }

.essay p {
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--body);
  margin-top: 18px;
}

.essay .refus {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.essay .refus li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 600;
  color: var(--fg);
}

.essay .refus .mark { font-size: 13px; color: var(--muted); }

.essay .fiche {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.essay .fiche li {
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--body);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.essay .fiche strong { color: var(--fg); }

.essay .signature {
  margin-top: 64px;
  font-weight: 700;
  color: var(--fg);
}

.essay-cta { margin-top: 40px; }

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

/* ── Sommaire des guides ────────────────────────────────── */

.guide-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.guide-list a {
  display: block;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 36px);
  transition: transform 0.3s ease-out, border-color 0.3s ease-out;
}

.guide-list a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}

.guide-list h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin-top: 0;
}

.guide-list p {
  font-size: 17px;
  margin-top: 10px;
  max-width: 54ch;
}

/* ── Bloc partage de la page merci ──────────────────────── */

.share-after { margin-top: clamp(48px, 7vw, 64px); }

.share-after .lead { margin-inline: auto; }

.share-after .pill { margin-top: 18px; }

.next-steps { text-align: left; }

.persona h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.persona p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--body);
  margin-top: 10px;
}

/* ── Double colonne est / n'est pas ─────────────────────── */

.versus-grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(48px, 7vw, 72px);
  text-align: left;
}

@media (min-width: 760px) {
  .versus-grid { grid-template-columns: 1fr 1fr; }
}

.versus {
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 40px);
}

.versus.is { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.versus h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.versus ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 13px;
}

.versus li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.versus .mark { font-weight: 800; flex-shrink: 0; }

.versus.isnot .mark { color: var(--muted); }

.versus.isnot li { color: var(--body); }

/* ── Vie privée ─────────────────────────────────────────── */

.privacy { text-align: center; }

.privacy-points {
  list-style: none;
  display: grid;
  gap: 14px 28px;
  margin-top: clamp(40px, 6vw, 60px);
  text-align: left;
  max-width: 760px;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .privacy-points { grid-template-columns: 1fr 1fr; }
}

.privacy-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.privacy-points .mark { font-weight: 800; flex-shrink: 0; }

/* ── FAQ ────────────────────────────────────────────────── */

.faq-list {
  max-width: 760px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  text-align: left;
}

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

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 500;
  color: var(--muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  padding: 0 4px 24px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--body);
  max-width: 60ch;
}

.faq-list details p strong { color: var(--fg); }

/* ── Pages fonctionnalités ──────────────────────────────── */

.page-hero {
  padding-top: clamp(130px, 18vw, 190px);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(40px, 7.5vw, 78px);
  max-width: 16ch;
}

.page-hero .lead { margin-inline: auto; text-align: center; }

.point-grid {
  list-style: none;
  display: grid;
  gap: clamp(36px, 5vw, 52px);
  margin-top: clamp(50px, 7vw, 72px);
  text-align: left;
}

@media (min-width: 760px) {
  .point-grid { grid-template-columns: repeat(3, 1fr); }
}

.point-grid h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.point-grid p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--body);
  margin-top: 8px;
}

.cross-sell h2 { text-align: center; max-width: 18ch; margin-inline: auto; }

.cross-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 60px);
}

@media (min-width: 720px) {
  .cross-grid { grid-template-columns: repeat(2, 1fr); }
}

.cross-grid a {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease;
}

.cross-grid a::after { content: "→"; color: var(--muted); font-weight: 500; }

.cross-grid a:hover, .cross-grid a:focus-visible { border-color: rgba(255, 255, 255, 0.4); }

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

@media (min-width: 760px) {
  .cross-grid.thumbs { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

.cross-grid.thumbs a {
  flex-direction: column;
  align-items: stretch;
  padding: 12px 12px 16px;
  gap: 12px;
  font-size: 16px;
}

.cross-grid.thumbs a::after { display: none; }

.cross-grid.thumbs img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top;
  border-radius: 11px;
  display: block;
}

.cross-grid.thumbs span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.cross-grid.thumbs span::after { content: "→"; color: var(--muted); font-weight: 500; }

.feature-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.feature-link:hover, .feature-link:focus-visible { border-color: var(--fg); }

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

.legal { padding-top: clamp(120px, 16vw, 170px); }

.legal-content { max-width: 780px; }

.legal-content h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: none;
  margin: 0 0 28px;
}

.legal-content h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 56px;
}

.legal-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 34px;
}

.legal-content p, .legal-content li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body);
  margin-top: 14px;
}

.legal-content ul, .legal-content ol { padding-left: 22px; }

.legal-content li { margin-top: 8px; }

.legal-content strong { color: var(--fg); font-weight: 700; }

.legal-content a { text-decoration: underline; text-underline-offset: 3px; }

.legal-content hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 44px 0;
}

.legal-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 1px 6px;
}

.legal-content blockquote {
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  padding-left: 18px;
  margin-top: 14px;
}

.table-wrap { overflow-x: auto; margin-top: 18px; }

.legal-content table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

.legal-content th, .legal-content td {
  border: 1px solid var(--hairline);
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  color: var(--fg);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
}

.todo {
  color: var(--muted);
  font-style: italic;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.draft-banner {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 34px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Final + footer ─────────────────────────────────────── */

.final { text-align: center; }

.final .store-row { margin-top: 36px; }

.final .pill { margin-top: 26px; }

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding-block: clamp(56px, 8vw, 88px) clamp(32px, 5vw, 48px);
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }

.footer-brand p {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
}

.footer-col a:hover, .footer-col a:focus-visible { color: var(--fg); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(48px, 7vw, 72px);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.footer-bottom p { margin: 0; }

.footer-bottom a { color: var(--muted); }

.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--fg); }

a:focus-visible, .pill:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Reveal au scroll ───────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in { opacity: 1; transform: none; }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
}

/* ── Liste d'attente ────────────────────────────────────── */

.waitlist {
  margin: 34px auto 0;
  max-width: 460px;
  text-align: left;
}

.waitlist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.waitlist-row:focus-within {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--fg);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
}

.waitlist input[type="email"]::placeholder { color: var(--muted); }
.waitlist input[type="email"]:focus { outline: none; }

.waitlist button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  white-space: nowrap;
  transition: opacity 160ms ease-out;
}

.waitlist button:hover { opacity: 0.82; }
.waitlist button:disabled { opacity: 0.45; cursor: default; }

/* Pot de miel : hors écran plutôt que display:none, que certains robots
   savent détecter, et retiré du parcours clavier comme du lecteur d'écran. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.waitlist-note a { color: var(--body); text-decoration: underline; text-underline-offset: 2px; }

/* Le message de retour prend la place du formulaire une fois l'envoi passé :
   pas de superposition, pas de saut de mise en page. */
.waitlist-status {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
}

.waitlist-status[hidden] { display: none; }
.waitlist-status.is-error { color: #ff9e9e; border-color: rgba(255, 158, 158, 0.35); }

.waitlist[data-state="done"] .waitlist-row,
.waitlist[data-state="done"] .waitlist-note { display: none; }

/* ── Barre CTA collée (mobile) ──────────────────────────── */

/* Elle n'existe qu'en dessous de 720px : au-delà, le formulaire du hero
   reste visible assez longtemps pour qu'une seconde barre soit du bruit. */
.sticky-cta { display: none; }

@media (max-width: 720px) {
  .sticky-cta {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 20;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(10, 10, 11, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--hairline);
    transform: translateY(110%);
    transition: transform 260ms ease-out;
  }

  .sticky-cta.is-visible { transform: translateY(0); }

  .sticky-cta a {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 24px;
    border-radius: 999px;
    background: var(--fg);
    color: var(--bg);
  }

  /* Sans cette réserve, la barre recouvre la dernière ligne du pied de page. */
  body.has-sticky-cta .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

.waitlist-alt {
  font-size: 15px;
  color: var(--muted);
  margin-top: 22px;
  text-align: center;
}

/* Dernière ligne avant le footer : air au-dessus du filet, mobile → desktop. */
section > .waitlist-alt:last-child {
  margin-bottom: clamp(28px, 6vw, 48px);
}

.waitlist-alt a { color: var(--body); text-decoration: underline; text-underline-offset: 3px; }

/* ── CTA d'en-tête ──────────────────────────────────────── */

/* Sous 720px, la barre collée en bas porte déjà l'appel : le pill
   d'en-tête disparaît pour ne pas doubler ni écraser la nav. */
/* .site-nav a (plus spécifique) écrasait la couleur du texte : blanc sur
   blanc, bouton fantôme en production. Le sélecteur porte donc la même
   ancre de spécificité que la règle qu'il doit battre. */
.site-nav a.header-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  background: var(--fg);
  color: var(--bg);
}

.site-nav a.header-cta:hover, .site-nav a.header-cta:focus-visible { opacity: 0.85; color: var(--bg); }

@media (max-width: 720px) {
  .header-cta { display: none; }
}

/* Sous 420px, quatre entrées ne tiennent pas : mesuré à 367px de large, la
   barre touche le logo (3px d'écart). On garde les deux entrées produit et
   la langue ; FAQ et Pourquoi Proof restent dans le pied de page, présent
   sur chaque page. Les références font le même arbitrage : Strava range sa
   FAQ sous « More », BeReal ne porte aucune entrée produit dans sa barre. */
@media (max-width: 420px) {
  .site-nav a[href$="/faq"],
  .site-nav a[href$="pourquoi-proof"],
  .site-nav a[href$="why-proof"],
  .site-nav a[href$="por-que-proof"] { display: none; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 13px; }
  .header-inner { padding-inline: 18px; }
}

/* ── Sélecteur de langue (drapeau) ──────────────────────── */

/* Déclencheur : drapeau courant + chevron. Panneau : les deux langues,
   coche sur l'active — le pattern Selfridges/AWS, réduit à deux entrées. */
.lang-menu { position: relative; }

.lang-menu .lang-btn {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 19px;
  line-height: 1;
  padding: 6px 4px;
  color: var(--muted);
}

.lang-menu .lang-btn::-webkit-details-marker { display: none; }
.lang-menu .lang-btn:hover, .lang-menu .lang-btn:focus-visible { color: var(--fg); }

.lang-chevron { width: 11px; height: 11px; transition: transform 160ms ease-out; }
.lang-menu[open] .lang-chevron { transform: rotate(180deg); }

.lang-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  background: #17171a;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 30;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  padding: 9px 11px;
  border-radius: 9px;
  white-space: nowrap;
}

a.lang-item:hover, a.lang-item:focus-visible { background: rgba(255, 255, 255, 0.08); color: var(--fg); }

.lang-item.is-current { color: var(--fg); font-weight: 650; }

.lang-check { width: 13px; height: 13px; margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  .lang-chevron { transition: none; }
}

/* ── Sommaire ancré des pages légales ───────────────────── */

.sommaire {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 26px 0 34px;
}

.sommaire ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.sommaire a { color: var(--muted); font-size: 14.5px; text-decoration: none; }
.sommaire a:hover, .sommaire a:focus-visible { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* Légendes des vignettes du sommaire Fonctionnalités. */
.cross-grid small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}
