/* Notre pigeon voyageur : page de présentation
   Même univers que l'app : encre marine, papier froid, liseré par avion. */

:root {
  --ink: #1c2a4a;
  --paper: #f3f5f8;
  --sheet: #ffffff;
  --muted: #58647a;
  --line: #d5dbe5;
  --red: #c63b3b;
  --blue: #2d5da8;
  --pale: #e8eef6;

  /* Teintes nommees a partir des valeurs deja utilisees dans la feuille.
     Aucune n'a change de valeur : seul leur nom est nouveau, pour qu'une
     retouche de palette tienne desormais dans ce bloc. */
  --ink-fonce: #0f1a33;       /* contour du telephone sombre */
  --bleu-lien: #204a8c;       /* liens des pages juridiques */
  --bleu-gris: #8fa3c0;       /* bouton de retour en haut */
  --rouge-clair: #f3a8a8;     /* survol des liens du pied marine */
  --sur-marine: #dfe5ef;      /* texte courant sur fond marine */
  --sur-marine-doux: #c9d2e3; /* texte secondaire sur fond marine */
  --erreur: #a62f32;          /* bordure d'un champ invalide */
  --erreur-texte: #a72424;    /* message d'erreur Brevo */
  --liseret-blanc: #fff;      /* bande blanche du lisere par avion */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-200%);
  padding: 0.65rem 1rem;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
}
.skip-link:focus { transform: none; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 40rem; }
.section { padding: 5rem 0; }
.wrap.section { padding-left: 1.5rem; padding-right: 1.5rem; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); max-width: 20ch; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 26ch; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* Liseré par avion */
.stripe {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--liseret-blanc) 14px 21px, var(--blue) 21px 35px, var(--liseret-blanc) 35px 42px);
}

/* Navigation commune : accueil, pages juridiques et Ressources. */
.npv-global-header {
  position: relative;
  z-index: 10;
  border-top: 10px solid transparent;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.npv-global-header::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--liseret-blanc) 14px 21px, var(--blue) 21px 35px, var(--liseret-blanc) 35px 42px);
}
.npv-global-header-inner {
  width: 100%;
  max-width: 76rem;
  min-height: 5.5rem;
  margin-inline: auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.npv-global-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}
.npv-global-header .npv-global-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.npv-global-header .npv-global-nav a:hover { color: var(--red); text-decoration: none; }
.npv-global-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -.7rem;
  height: 3px;
  background: var(--red);
}
.npv-global-header .npv-header-cta,
.npv-global-header .npv-mobile-cta {
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
}
.npv-global-header .npv-header-cta { display: inline-flex; padding: .9rem 1.4rem; }
.npv-global-header .npv-mobile-cta { display: none; }
.npv-global-header .npv-header-cta:hover,
.npv-global-header .npv-global-nav .npv-mobile-cta:hover { color: #fff; background: var(--red); text-decoration: none; }
.npv-global-header a:focus-visible,
.npv-global-header button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.npv-nav-toggle { display: none; }
@media (max-width: 55rem) {
  .npv-global-header-inner { min-height: 0; padding: 0; flex-wrap: wrap; gap: 0; }
  .npv-global-header .npv-nav-toggle {
    display: inline-flex;
    order: 1;
    align-items: center;
    gap: .65rem;
    min-height: 4.5rem;
    margin-left: 1.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 1rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    cursor: pointer;
  }
  .npv-nav-icon { display: flex; width: 1.25rem; flex-direction: column; gap: 4px; }
  .npv-nav-icon span { display: block; width: 1.25rem; height: 2px; background: var(--ink); }
  .npv-global-header .npv-header-cta { display: none; }
  .npv-global-nav {
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    width: 100%;
    padding: .55rem 1.5rem 1.3rem;
    border-top: 1px solid var(--line);
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .npv-global-header.is-enhanced:not(.is-open) .npv-global-nav { display: none; }
  .npv-global-header .npv-global-nav a {
    display: flex;
    align-items: center;
    min-height: 3.25rem;
    border-bottom: 1px solid var(--line);
  }
  .npv-global-nav a[aria-current="page"]::after { left: 0; right: auto; bottom: -2px; width: 3.6rem; }
  .npv-global-nav a[href="/ressources/"][aria-current="page"]::after { width: 6.25rem; }
  .npv-global-header .npv-global-nav .npv-mobile-cta {
    display: inline-flex;
    align-self: flex-start;
    min-height: 3.5rem;
    margin-top: 1.3rem;
    padding: .9rem 1.4rem;
    border: 0;
    color: #fff;
  }
  /* La croix ne paraît qu'une fois le menu ouvert, à l'opposé du bouton Menu. */
  .npv-global-header.is-enhanced.is-open .npv-nav-close {
    display: inline-flex;
    order: 1;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    width: 4.5rem;
    margin-left: auto;
    margin-right: .75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .npv-nav-close svg { width: 1.5rem; height: 1.5rem; display: block; }
}
.npv-nav-close { display: none; }

/* ---------- En-tête ---------- */
.hero-inner {
  /* Hauteur de l'écran moins le header (liseré compris) et la bande basse. */
  min-height: calc(100svh - 6.425rem - 12px);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .wrap { max-width: 76rem; }
.hero-copy { min-width: 0; }
.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.65rem, 4.5vw, 4.5rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.hero .anchor,
.hero .essai {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  line-height: 1.5;
}
.hero .anchor {
  max-width: 43ch;
  margin-bottom: 2rem;
}
.desktop-break { display: none; }

/* Une seule colonne de texte évite les grands espaces entre les éléments. */
@media (min-width: 52rem) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
    column-gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .hero-inner .stamp {
    order: 0;
    width: min(330px, 100%);
    justify-self: center;
    margin: 0;
  }
  .hero .eyebrow { font-size: 1.625rem; }
  .hero .anchor { max-width: none; }
  .anchor-letters { white-space: nowrap; }
  .desktop-break { display: initial; }
}
@media (max-width: 35rem) {
  /* Le hero a gagné une ligne : elle est reprise sur les respirations du haut
     et du bas, pour que le bouton reste au-dessus de la ligne de flottaison. */
  .hero-inner { padding-top: 0.5rem; padding-bottom: 2.25rem; }
  .hero .stamp { width: 125px; margin-bottom: 0.65rem; }
  .hero h1 { font-size: clamp(2.2rem, 9.4vw, 2.65rem); margin-bottom: 1.4rem; }
  .hero .anchor,
  .hero .essai { font-size: 1.05rem; }
  .hero .anchor { margin-bottom: 1.5rem; }
  .hero .essai { margin-bottom: 1.1rem; }
}

/* Petits écrans anciens, de type iPhone SE : le timbre cède quelques pixels de
   plus, sinon le bouton tombe sous la ligne de flottaison. */
@media (max-width: 35rem) and (max-height: 700px) {
  .hero .stamp { width: 102px; margin-bottom: 0.5rem; }
  .hero h1 { margin-bottom: 1.1rem; }
}
@media (max-width: 55rem) {
  /* Menu compact : 4.5rem, liseré supérieur : 10px, bande basse : 12px. */
  .hero-inner { min-height: calc(100svh - 4.5rem - 22px); }
}
.stamp {
  display: block;
  width: 150px;
  height: auto;
  order: -1;
  margin: 0 0 2.25rem;
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.anchor {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  max-width: 34ch;
  margin-bottom: 2rem;
}
.anchor strong { color: var(--red); }

/* L'essai gratuit se pose sur la dernière ligne de l'accroche, sans respiration.
   Sa taille est réglée avec celle de l'accroche, plus bas, pour qu'elles ne
   puissent pas diverger. */
.anchor:has(+ .essai) { margin-bottom: 0; }
.essai {
  font-family: var(--sans);
  color: var(--red);
  margin: 0 0 1.4rem;
}

/* Le ruban et son cœur flottent au vent, depuis le bec du pigeon. */
.ribbon {
  transform-box: view-box;
  transform-origin: 52px -14px;
  animation: sway 3.4s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: rotate(-9deg); }
  50% { transform: rotate(11deg); }
}
@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-6px); }
}

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: 0.9rem 1.4rem;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}
/* Le rouge au survol, comme le bouton de la liste d'attente plus bas. */
.btn { transition: background-color .18s ease; }
.btn:hover { background: var(--red); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.navy :focus-visible { outline-color: #fff; }

/* ---------- Constat ---------- */
.constat { overflow: hidden; scroll-margin-top: 5rem; }
.constat-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.constat-copy { order: 2; }
.constat .lead { max-width: 52ch; }
.constat .lead:first-child { margin-bottom: 1.75rem; }
.constat .lead.strong {
  font-family: var(--serif);
  max-width: 32ch;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.25vw, 1.875rem);
  line-height: 1.35;
}
.constat-illustration { display: block; order: 1; width: 100%; max-width: 440px; justify-self: center; }
.constat.is-visible .constat-letter { animation: letter-rise 5.5s ease-in-out infinite; }
@keyframes letter-rise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 52rem) {
  .constat-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .constat-copy, .constat-illustration { order: 0; }
  .constat-illustration { width: min(100%, 340px); }
}
.lead { font-family: var(--sans); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.65; max-width: 56ch; }
.lead.strong { color: var(--red); font-style: italic; }

/* ---------- Comment ça marche ---------- */
.tinted { background: var(--pale); }
.steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 3rem;
}
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps h3 { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; }
@media (max-width: 51.999rem) {
  .steps li { text-align: center; }
  .steps .phone { margin-inline: auto; }
  .steps h3 { justify-content: center; }
  .steps li > p { max-width: 38ch; margin-inline: auto; }
}
.num {
  display: inline-grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
}

/* Téléphones redessinés */
.phone {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 9 / 17;
  border: 8px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  padding: 22px 12px;
  box-shadow: 0 18px 40px -22px rgba(28, 42, 74, 0.5);
}
.phone.dark { background: var(--ink); border-color: var(--ink-fonce); }
@media (min-width: 64rem) {
  .steps .phone {
    transform: translate3d(0, var(--phone-parallax, 0px), 0);
    will-change: transform;
  }
}
.screen { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.card {
  background: #fff;
  border-radius: 6px;
  padding: 14px;
  border: 5px solid transparent;
  background-image: linear-gradient(#fff, #fff), repeating-linear-gradient(-45deg, var(--red) 0 8px, var(--liseret-blanc) 8px 12px, var(--blue) 12px 20px, var(--liseret-blanc) 20px 24px);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.card .label { font-size: 0.7rem; color: var(--muted); margin: 0 0 4px; }
.card .q { font-family: var(--serif); font-size: 1rem; line-height: 1.3; margin: 0 0 10px; }
.card .q.small { font-size: 0.9rem; }
.card .muted { font-size: 0.72rem; color: var(--muted); margin: 0; }
.field { height: 46px; border: 1px solid var(--line); border-radius: 5px; margin-bottom: 10px; }
.mini-btn { display: inline-block; font-size: 0.7rem; font-weight: 600; background: var(--ink); color: #fff; border-radius: 5px; padding: 6px 9px; }
.sealed { text-align: center; }
.seal { width: 44px; height: 44px; display: block; margin: 0 auto 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.68rem; color: #fff; border: 1.5px solid #fff; border-radius: 999px; padding: 4px 8px; }
.chip.on { background: #fff; color: var(--ink); font-weight: 600; }

/* ---------- Exemples de questions ---------- */
.intro { color: var(--ink); max-width: 46ch; }
.tag { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--red); margin-bottom: 0.9rem; }
.fact:nth-child(2) .tag { color: var(--blue); }
.qex { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; margin: 0; }
.after { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); margin-top: 2rem; max-width: 56ch; }
/* Les chiffres de la banque de questions, en rouge, et jamais coupés
   en fin de ligne. */
.count { color: var(--red); font-weight: 700; white-space: nowrap; }
/* Les pastilles les plus longues disparaissent sur petit écran : la
   liste y tient alors en quatre rangées au lieu de six. */
@media (max-width: 35rem) { .pills .pill-large { display: none; } }
.nohistory { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--sur-marine); max-width: 56ch; margin: 0 0 1.5rem; }
.personal-question { max-width: 40rem; margin-top: 3rem; background: var(--sheet); border-radius: 10px; padding: 1.75rem; border-left: 5px solid var(--red); }
.personal-question p { margin: 0; color: var(--muted); }

/* ---------- Science (non utilisé pour l'instant) ---------- */
.facts { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 52rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact {
  background: var(--sheet);
  border-radius: 10px;
  padding: 1.75rem;
  border-top: 5px solid var(--red);
}
.fact:nth-child(2) { border-top-color: var(--blue); }
.big { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--red); margin-bottom: 1rem; }
.big span { font-size: 1.1rem; color: var(--muted); }
.fact:nth-child(2) .big { color: var(--blue); }
.source { font-size: 0.875rem; color: var(--muted); }

/* ---------- Confidentialité ---------- */
.navy { background: var(--ink); color: #fff; }
.navy h2 { max-width: 22ch; }
.privacy-illustration { display: none; }
@media (min-width: 64rem) {
  .privacy-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.75fr);
    align-items: center;
    gap: clamp(2.5rem, 4vw, 4rem);
  }
  .privacy-copy { min-width: 0; }
  .privacy-illustration { display: block; width: 100%; max-width: 360px; }
  .navy.is-visible .privacy-envelope { animation: envelope-float 6.5s ease-in-out infinite; }
  .navy.is-visible .privacy-seal {
    transform-box: view-box;
    transform-origin: 180px 185px;
    animation: seal-settle 6.5s ease-in-out infinite;
  }
}
@keyframes envelope-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes seal-settle {
  0%, 18%, 42%, 100% { transform: scale(1); }
  25% { transform: scale(0.92); }
  32% { transform: scale(1.06); }
}
.checks { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; max-width: 46rem; }
.checks li { position: relative; padding-left: 2rem; font-size: 1.125rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 1rem; height: 0.55rem;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}
.tech { max-width: 46rem; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 1rem; }
.tech summary { cursor: pointer; font-weight: 600; color: var(--sur-marine-doux); }
.tech p { margin-top: 1rem; color: var(--sur-marine); }

/* ---------- Durée ---------- */
.pills { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pills li { background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; font-family: var(--serif); }

/* ---------- Liste d'attente ---------- */
#liste { padding-top: 5rem; padding-bottom: 5rem; }
.waitlist { margin-top: 1.5rem; }
.waitlist > label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.row input {
  flex: 1 1 16rem;
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.row input::placeholder { color: var(--muted); opacity: 1; }
.waitlist [aria-invalid="true"] { border-color: var(--erreur); }
.waitlist input[type="checkbox"][aria-invalid="true"] { outline: 2px solid var(--erreur); outline-offset: 2px; }
.waitlist > .consent { font-weight: 400; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); }
.consent input { margin-top: 0.3rem; }
.status { margin-top: 1rem; font-weight: 600; min-height: 1.6em; }
.status:empty { min-height: 0; margin: 0; }
.status.ok { color: var(--blue); }
.status.err { color: var(--erreur); }

/* Formulaire Brevo de la liste d'attente. */
#liste .npv-brevo { margin-top: 1.5rem; padding: 0; background: transparent; text-align: left; font-family: var(--sans); }
#liste .sib-form-container { margin: 0; }
#liste #sib-container { max-width: none; padding: 0; background: transparent; border: 0; text-align: left; }
#liste #sib-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .75rem; }
#liste #sib-form > div { min-width: 0; padding: 0; }
#liste #sib-form > div:nth-of-type(3) { grid-column: 1 / -1; }
#liste #sib-form .sib-form-block { padding: 0; }
#liste #sib-form .entry__label { display: block; margin: 0 0 .4rem; color: var(--ink); font: 600 1rem/1.4 var(--sans); }
#liste #sib-form .entry__field { border: 0; background: transparent; }
#liste #sib-form input[type="email"] { display: block; width: 100%; min-height: 3.35rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
#liste #sib-form input[type="email"]:focus-visible,
#liste #sib-form input[type="checkbox"]:focus-visible,
#liste #sib-form button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
#liste #sib-form .sib-form-block__button { min-height: 3.35rem; padding: .8rem 1.2rem; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: 600 1rem/1.4 var(--sans); cursor: pointer; }
#liste #sib-form .sib-form-block__button:hover { background: var(--red); }
#liste #sib-form .entry__choice { padding: 0; }
#liste #sib-form .entry__choice label { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink); font: 400 .9375rem/1.5 var(--sans); cursor: pointer; }
#liste #sib-form .entry__choice label p { margin: 0; }
#liste #sib-form .entry__choice input[type="checkbox"] { appearance: auto; position: static; display: block; flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; margin: .13rem 0 0; opacity: 1; accent-color: var(--ink); }
#liste #sib-form .entry__choice .checkbox,
#liste #sib-form .entry__label_optin { display: none; }
#liste .sib-form-message-panel { max-width: none; margin: 0 0 1rem; }
#liste .entry__error { color: var(--erreur-texte); }
@media (max-width: 40rem) {
  #liste #sib-form { grid-template-columns: minmax(0, 1fr); }
  #liste #sib-form > div:nth-of-type(3) { grid-column: auto; }
  #liste #sib-form .sib-form-block__button { width: 100%; }
}

#liste .sib-form-message-panel { display: none; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
#liste .sib-form-message-panel--active { display: block; }
#liste .sib-form-message-panel__text { display: flex; align-items: center; gap: .75rem; }
#liste .sib-notification__icon { width: 1.25rem; height: 1.25rem; flex: none; fill: currentColor; }
#liste .sib-hide-loader-icon { display: none; }
#liste #sib-form .input--hidden { position: absolute; left: -9999px; width: 1px; height: 1px; }
#liste #sib-form .entry__error:not(:empty) { display: block; margin-top: .35rem; font-size: .875rem; }
#liste #sib-form .entry__choice label > span:last-child { flex: 1; }
#liste #sib-form button:disabled { opacity: .65; cursor: wait; }

/* ---------- FAQ ---------- */
#faq + details, .section details { max-width: 46rem; }
.section > details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.section > details summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; }
.section > details p { margin: 0.75rem 0 0; color: var(--muted); }

/* ---------- Pied de page ---------- */
.foot { margin-top: 0; }
.signature { display: flex; align-items: center; gap: 0.45rem; padding-top: 1.5rem; padding-bottom: 2.5rem; font-family: var(--serif); font-style: italic; color: var(--muted); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; padding-bottom: 2.5rem; }
@media (min-width: 55.001rem) { .foot-inner { max-width: 76rem; } }
.foot-inner .signature { margin: 0; padding: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot-links a { color: var(--ink); font-size: .9375rem; text-underline-offset: .2em; }
.foot-links a:hover { color: var(--blue); }
/* ---------- Pied de page bleu commun (identique à /ressources) ---------- */
.npv-footer { position: relative; padding: 2.75rem 1.5rem 2.5rem; background: var(--ink); color: #fff; font: 400 1rem/1.6 var(--sans); }
.npv-footer::after { content: ""; position: absolute; inset: auto 0 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--liseret-blanc) 14px 21px, var(--blue) 21px 35px, var(--liseret-blanc) 35px 42px); }
.npv-footer-inner { width: min(100%, 68rem); margin: 0 auto; }
.npv-footer-copy p { margin: 0 0 1rem; }
.npv-footer-kicker { margin: 0 0 .35rem !important; color: #fff; font: 700 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .045em; }
.npv-footer-copy > p:last-child { margin: 0; color: var(--pale); }
.npv-footer a { color: #fff; text-underline-offset: .2em; }
.npv-footer a:hover { color: var(--rouge-clair); }
.npv-footer a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.npv-footer-bottom { width: min(100%, 68rem); margin: 1.75rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; }
.npv-footer-social { display: flex; align-items: center; gap: .6rem; }
.npv-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .4rem; }
.npv-footer-social svg { display: block; width: 1.45rem; height: 1.45rem; }
.npv-footer-legal { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .4rem 1.5rem; margin-left: auto; font-size: .875rem; }
@media (max-width: 48rem) { .npv-footer-legal { justify-content: flex-start; margin-left: 0; } }


.npv-back-to-top {
  position: fixed;
  z-index: 9;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: var(--bleu-gris) url('/back-to-top.svg') center / contain no-repeat;
  box-shadow: 0 3px 12px rgb(28 42 74 / 18%);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.npv-back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.npv-back-to-top:hover { filter: brightness(.93); }
.npv-back-to-top:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .npv-back-to-top { transition: none; } }

/* Ces règles concernent uniquement les pages juridiques. */
.legal-page { min-height: 100svh; display: flex; flex-direction: column; }
.legal-page main { flex: 1; width: 100%; }
.legal-content { max-width: 50rem; padding-top: 3rem; padding-bottom: 5rem; overflow-wrap: anywhere; }
.legal-content h1 { max-width: none; font-size: clamp(2.3rem, 5vw, 3.4rem); }
.legal-content h2 { max-width: none; margin-top: 2.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.legal-content h3 { margin-top: 1.5rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-content li { margin-bottom: .5rem; }
.legal-intro { color: var(--muted); }
.legal-content a { color: var(--bleu-lien); text-underline-offset: .2em; }
.legal-content a:hover { color: var(--ink); }
.legal-todo { padding: .15em .3em; background: #fff3cc; color: #493611; }
.legal-table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9375rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: .6rem .7rem; text-align: left; vertical-align: top; }
.legal-table th { background: var(--pale); font-weight: 600; }
.analytics-choice { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.analytics-choice h3 { margin: 0 0 .25rem; font-family: var(--sans); font-size: 1rem; }
.analytics-choice p { margin: 0 0 .5rem; font-size: .9375rem; }
#matomo-opt-out { color: var(--ink); font-size: .9375rem; }
#matomo-opt-out input[type="checkbox"] { accent-color: var(--ink); }
#matomo-opt-out input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .ribbon, .stamp, .constat-letter, .privacy-envelope, .privacy-seal { animation: none; }
  .steps .phone { transform: none; will-change: auto; }
  html { scroll-behavior: auto; }
}

/* Page « Partager le concept ». */
.share-quote {
  margin: 1.5rem 0; padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--red);
  background: var(--sheet); border-radius: 4px;
  font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6;
}
.share-list {
  list-style: none; padding-left: 0; margin: 1rem 0 0;
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem;
  font-size: .9375rem; color: var(--muted);
}
.share-list li { margin-bottom: 0; }
.share-list a { color: var(--bleu-lien); text-underline-offset: .2em; }
.share-list a:hover { color: var(--ink); }
.share-status { margin: .9rem 0 0; font-size: .9375rem; color: var(--ink); }
.share-confirm {
  margin: 0 0 1.5rem; padding: .9rem 1.1rem;
  background: var(--pale); border-left: 3px solid var(--blue);
  border-radius: 4px; font-size: 1rem; line-height: 1.5;
}

/* Les quatre thèmes de contexte : même forme que les autres, mais sans
   fond, pour qu'on voie d'un coup d'œil qu'ils ne sont pas actifs. */
.after-tight { margin-top: 1.25rem; }
.pills-contexte { margin-top: 1rem; }
.pills-contexte li { background: transparent; border-style: dashed; color: var(--muted); }


/* ------------------------------------------------------------------
   Retour de paiement (app/merci.php), quatre états.
   Rien n'est en ligne dans la page : la CSP de /app/ refuse les
   balises <style> et <script> inline, tout vit donc ici.
   ------------------------------------------------------------------ */
.retour main { flex: 1; width: 100%; display: flex; align-items: center; }
.retour-inner { max-width: 38rem; padding-top: 3rem; padding-bottom: 4rem; text-align: center; }
.retour .stamp { width: 108px; margin: 0 auto 1.5rem; transform: rotate(-4deg); }
.retour h1 { max-width: none; margin-bottom: .75rem; font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.retour .lead { margin: 0 auto 1.5rem; max-width: 34ch; }
.retour .btn { margin-top: .5rem; }
.retour .eyebrow { margin-bottom: .5rem; }
.retour-rate .eyebrow { color: var(--muted); }
.retour-note { font-size: .9rem; color: var(--muted); max-width: 40ch; margin: 1.5rem auto 0; }
.retour-note a { color: var(--bleu-lien); }

/* Le code cadeau : un billet à détacher, bordé du liseré par avion. */
.billet {
  margin: 2rem auto;
  max-width: 26rem;
  background: var(--sheet);
  border-radius: 8px;
  padding: 1.5rem 1.25rem 1.25rem;
  border: 6px solid transparent;
  background-image: linear-gradient(var(--sheet), var(--sheet)),
    repeating-linear-gradient(-45deg, var(--red) 0 8px, var(--liseret-blanc) 8px 12px, var(--blue) 12px 20px, var(--liseret-blanc) 20px 24px);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.billet-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.billet-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  margin: 0;
  user-select: all;
  word-break: break-word;
}
.billet-timbres { font-size: .9rem; color: var(--muted); margin: .55rem 0 0; }
.mini-copie {
  margin-top: 1rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  background: var(--pale);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .5rem .9rem;
  cursor: pointer;
}
.mini-copie:hover { background: var(--sheet); border-color: var(--blue); }
.mini-copie[hidden] { display: none; }

/* Attente : le webhook n'est pas encore passé. */
.patience { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .95rem; margin-top: .5rem; }
.patience span { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); opacity: .3; }
.patience span:nth-child(2) { opacity: .6; }
.patience span:nth-child(3) { opacity: 1; }

/* ---------- Témoignages des couples testeurs ---------- */
.temoignages-tete { display: flex; flex-direction: column; gap: 1.25rem; }
.temoignages-tete h2 { margin: 0; }

.temoignages-fleches { display: flex; gap: 0.5rem; }
.temoignages-fleches[hidden] { display: none; }
.temoignages-fleche { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); font-family: var(--sans); font-size: 1.5rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.temoignages-fleche:hover { background: var(--pale); border-color: var(--ink); }
.temoignages-fleche:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.temoignages-fleche[disabled] { opacity: 0.35; cursor: default; }
.temoignages-fleche[disabled]:hover { background: var(--sheet); border-color: var(--line); }

.temoignages { list-style: none; margin: 2rem 0 0; padding: 0 0 1rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.temoignages::-webkit-scrollbar { display: none; }
.temoignages:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 0.5rem; }

.temoignage { flex: 0 0 85%; scroll-snap-align: start; background: var(--sheet); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.5rem; display: flex; flex-direction: column; }
.temoignage:last-child { scroll-snap-align: end; }
.temoignage blockquote { margin: 0; flex: 1; }
.temoignage blockquote::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 0.7; color: var(--red); }
.temoignage blockquote p { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); margin: 0.9rem 0 1.25rem; }
.temoignage cite { display: block; font-style: normal; border-top: 1px solid var(--line); padding-top: 0.875rem; }
.temoignage-nom { display: block; font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.temoignage-duree { display: block; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.5; color: var(--muted); margin-top: 0.15rem; }
.temoignage-modifie { display: block; font-family: var(--sans); font-size: 0.875rem; line-height: 1.5; color: var(--muted); margin-top: 0.15rem; }

@media (min-width: 48rem) {
  .temoignage { flex-basis: calc((100% - 1rem) / 2); }
}
@media (min-width: 64rem) {
  .temoignages-tete { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
  .temoignages-fleches { flex: 0 0 auto; }
  .temoignage { flex-basis: calc((100% - 2rem) / 3); }
}

/* ---------- Page tarifs (fusion du 30 octobre 2026) ---------- */
.promise { color: var(--muted); font-size: 1.125rem; margin-bottom: 2rem; }
.tarifs-hero-inner { display: grid; gap: 1.5rem; align-items: start; }
.tarifs-hero-texte { min-width: 0; }
.tarifs-hero-texte .lead { margin-bottom: 1.5rem; }
.planche { display: block; width: 100%; max-width: 330px; height: auto; margin-inline: auto; }
#carnets { scroll-margin-top: 1rem; }
@media (max-width: 51.999rem) {
  
  .tarifs-hero { padding-top: 1.75rem; }
  .tarifs-hero-inner { gap: 1.5rem; }
  .planche { max-width: 300px; }
}
@media (max-width: 51.999rem) and (max-height: 790px) {
  .planche { max-width: 275px; }
}
@media (max-width: 35rem) and (max-height: 700px) {
  .tarifs-hero { padding-top: 1rem; }
  .tarifs-hero-inner { gap: 1rem; }
  .planche { max-width: 225px; }
}
@media (min-width: 52rem) {
  .tarifs-hero-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas: "titre planche" "texte planche";
    align-content: start;
    column-gap: clamp(2.5rem, 6vw, 5rem);
    row-gap: 0;
  }
  .tarifs-hero h1 { grid-area: titre; }
  .tarifs-hero-texte { grid-area: texte; }
  .tarifs-hero .planche { grid-area: planche; align-self: start; }
  
  .planche { margin-inline: 0 auto; }
}
.achat { margin: 1.25rem 0 0; }
@media (min-width: 52rem) {
  #carnets > .wrap > .intro,
  #carnets > .wrap > .after,
  #carnets > .wrap > h2 { max-width: none; }
}
#carnets .fact { display: flex; flex-direction: column; }
#carnets .fact .achat { margin-top: auto; }
.btn-achat { background: var(--red); }
.btn-achat:hover { background: var(--ink); }

/* Page tarifs : même titre que l'accueil et la page contact. */
.tarifs-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.65rem, 4.5vw, 4.5rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
@media (max-width: 35rem) {
  .tarifs-hero h1 { font-size: clamp(2.2rem, 9.4vw, 2.65rem); margin-bottom: 1.1rem; }
}

/* Bloc « 7 timbres offerts » : bouton clair sur fond marine, texte aligné à gauche
   sur toute la largeur des cartes. */
.navy .btn { background: #fff; color: var(--ink); }
.navy .btn:hover { background: var(--red); color: #fff; }
.essai-tarifs h2,
.essai-tarifs p { max-width: none; text-align: left; }

/* Planche de timbres : le timbre détaché se soulève de temps en temps, puis se repose.
   Seul transform est animé (pas de recalcul de mise en page), et rien ne bouge
   si le visiteur a demandé moins d'animations. */
.timbre-detache {
  transform-box: view-box;
  transform-origin: 175px 175px;
  animation: timbre-souleve 7s ease-in-out infinite;
}
@keyframes timbre-souleve {
  0%, 62%, 100% { transform: translate(0, 0) rotate(0deg); }
  72% { transform: translate(3px, -5px) rotate(3deg); }
  82% { transform: translate(-1px, 1px) rotate(-1.5deg); }
  90% { transform: translate(0, 0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .timbre-detache { animation: none; }
}

/* Header : actions de droite */
.npv-header-actions { display: flex; align-items: center; gap: .75rem; }
.header-compte .npv-header-cta { background: var(--red); }
.header-compte .npv-header-cta:hover { background: var(--ink); color: #fff; }
.npv-header-login { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.4rem; border-radius: 8px; color: var(--ink); font-size: 1.0625rem; font-weight: 600; line-height: 1.6; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 2px var(--ink); transition: background-color .18s ease, color .18s ease; }
.npv-header-login:hover { background: var(--ink); color: #fff; }
.npv-global-header .npv-mobile-login { display: none; }
@media (max-width: 55rem) { .npv-header-actions { display: none; } .npv-global-header .npv-global-nav .npv-mobile-login { display: flex; } }

/* FAQ sur fond bleu clair : les questions sont dans un .wrap */
.section > .wrap > details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.section > .wrap > details summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; }
.section > .wrap > details p { margin: 0.75rem 0 0; color: var(--muted); }

/* Thèmes sur demande, dans la même liste que les autres */
.pills .ctx { background: transparent; border-style: dashed; color: var(--muted); }
