:root {
  --primary: #0f2038;
  --primary-light: #1e3a63;
  --primary-dark: #071120;
  --accent: #cca43b;
  --accent-dark: #a3801f;
  /* Or assez sombre pour du PETIT texte sur fond clair : 5,09 sur le bleu ciel,
     5,85 sur blanc — au-dessus du seuil AA (4,5). --accent-dark, lui, plafonne à
     3,23 et n'est utilisable qu'en grande taille. */
  --accent-deep: #7d6114;
  --bg: #f4f9fd;
  --text: #1b1f27;
  --muted: #626c78;
  --card: #ffffff;
  --border: #d8e6f1;
  --band-bg: #e4f1fb;
  --band-border: #c6ddf0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, "Times New Roman", serif; letter-spacing: -0.01em; }
p { max-width: 62ch; }

/* Les paragraphes de contenu sont en gris --muted. Un <strong> y hériterait de ce
   gris : le gras seul se remarque à peine. On le fonce à --text, si bien que
   l'emphase joue sur DEUX signaux (graisse + contraste) et accroche vraiment l'œil
   d'un lecteur qui parcourt la page en diagonale. */
.why-card p strong,
.reviews-text p strong,
.portfolio-section .intro strong,
.human-section .intro strong,
.about-us .intro strong,
section.form-section p.intro strong { color: var(--text); }

header.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(204, 164, 59, 0.16), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(165deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 88px 20px 64px;
  text-align: center;
}
/* Le logo remplace l'ancien sur-titre texte « DIGITALE SOLUTION ». Il est fourni
   détouré (fond transparent) : il se pose directement sur le dégradé navy. */
.hero-logo {
  width: clamp(190px, 26vw, 250px);
  height: auto;
  display: block;
  margin: 0 auto 26px;
}

/* Retour vers la page de vente depuis les pages secondaires (CGV, mentions,
   confidentialité, rétractation, désinscription). Trois chemins volontairement
   redondants : ce bouton, les deux logos, et le lien en bas de page. Un visiteur
   qui arrive sur les CGV depuis un moteur de recherche n'a pas d'historique de
   navigation à remonter — sans ça, la page est un cul-de-sac et il repart. */
.hero-retour {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.hero-retour:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent);
  color: var(--accent);
}
/* Sur téléphone, le coin haut-gauche est trop à l'étroit à côté du logo centré :
   le bouton passe au centre, au-dessus de tout le reste. */
@media (max-width: 560px) {
  header.hero { padding-top: 78px; }
  .hero-retour { left: 50%; transform: translateX(-50%); top: 18px; }
}

/* Les deux logos ramènent à l'accueil : c'est le réflexe le plus répandu, et il
   ne coûte rien de le respecter. Le lien n'a pas de style propre — c'est l'image
   qui reste l'élément visible, on ne fait que la rendre cliquable. */
.logo-lien { display: block; text-decoration: none; }
.logo-lien img { transition: opacity 0.18s ease; }
.logo-lien:hover img { opacity: 0.82; }
.logo-lien:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
  border-radius: 10px;
}
header.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
}
header.hero p {
  color: #cdd7e3;
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.steps {
  max-width: 1000px;
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(204, 164, 59, 0.15);
  border: 1px solid rgba(204, 164, 59, 0.5);
  color: var(--accent);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
}
.step strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 5px; font-weight: 600; }
.step p { color: #a9b7c6; font-size: 0.87rem; margin: 0; max-width: none; line-height: 1.55; }

/* Aligné sur la largeur des sites d'aperçu (.wrap--wide = 1280px). À 1040px, la
   page formait une colonne étroite au milieu des grands écrans alors que les sites
   d'aperçu, eux, remplissaient la largeur. Les paragraphes restent bridés à 62ch
   par la règle globale sur <p> : élargir le cadre n'allonge pas les lignes de texte. */
main { max-width: 1280px; margin: 0 auto; padding: 56px 24px 100px; }

.why-section { margin-top: 0; }
.why-section h2 {
  text-align: center;
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 auto 40px;
  max-width: 560px;
}
/* 5 cartes dans une grille de 4 colonnes laissaient la dernière seule sur sa ligne.
   Grille de 6 colonnes, chaque carte en occupant 2 : on obtient 3 + 2, et la
   deuxième ligne est CENTRÉE en décalant la 4e carte d'une colonne. */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.why-grid > * { grid-column: span 2; }
.why-grid > *:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid > *:nth-child(4) { grid-column: span 2; }
  /* En 2 colonnes, c'est la 5e qui reste seule : on la centre à son tour. */
  .why-grid > *:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-grid > *, .why-grid > *:nth-child(4), .why-grid > *:nth-child(5) { grid-column: 1; }
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(15, 32, 56, 0.05);
}
.why-card:nth-child(even) { background: var(--band-bg); border-color: var(--band-border); }
/* Dans une section déjà teintée (fond bleu ciel), une carte "paire" bleue devient invisible :
   on la garde blanche avec un cadre doré, comme le cadre de la formule Standard. */
.human-section .why-card { background: var(--card); border-color: var(--border); }
.human-section .why-card:nth-child(even) { background: var(--card); border: 2px solid var(--accent); }
.why-icon { font-size: 1.5rem; margin-bottom: 14px; }

.human-section {
  margin-top: 96px;
  text-align: center;
  background: var(--band-bg);
  border: 1px solid var(--band-border);
  border-radius: 20px;
  padding: 48px;
}
@media (max-width: 560px) { .human-section { padding: 32px 24px; } }
.human-section h2 {
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.human-section .intro { color: var(--muted); margin: 0 auto 36px; max-width: 560px; line-height: 1.65; }
.human-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
@media (max-width: 900px) { .human-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .human-grid { grid-template-columns: 1fr; } }
/* Titres de cartes en doré, dans les trois sections qui utilisent ces cartes.
   ⚠️ C'est --accent-dark (#a3801f) et pas --accent (#cca43b) : l'or clair ne donne
   que 2,35 de contraste sur blanc, illisible. L'or foncé monte à 3,71 — sous le
   seuil AA du texte courant (4,5), mais au-dessus de celui du GRAND texte (3,0),
   d'où la taille portée à 1,22rem en 600. Ne pas réduire cette taille sans repasser
   la couleur au bleu marine, sinon les titres deviennent non conformes. */
.why-card h3 {
  color: var(--accent-dark);
  font-size: 1.22rem;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.why-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; max-width: none; }

.reviews-section {
  margin-top: 96px;
  background: var(--band-bg);
  border: 1px solid var(--band-border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 10px 28px rgba(15, 32, 56, 0.05);
}
@media (max-width: 760px) { .reviews-section { grid-template-columns: 1fr; padding: 30px; } }
.reviews-text h2 { color: var(--primary); font-size: 1.5rem; font-weight: 600; margin-bottom: 18px; line-height: 1.25; }
.reviews-text p { color: var(--muted); font-size: 0.96rem; margin-bottom: 14px; line-height: 1.7; }
.reviews-demo {
  background: linear-gradient(165deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
}
.rating-badge-demo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(204, 164, 59, 0.35);
  color: #fff;
  padding: 18px 30px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
}
.rating-badge-demo-top { font-weight: 700; }
.rating-badge-demo .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.15rem; text-shadow: 0 0 14px rgba(204,164,59,0.35); }
.rating-badge-demo .count { font-weight: 400; color: #a9b7c6; font-size: 0.85rem; }
.reviews-demo-caption { color: #8fa0b3; font-size: 0.8rem; margin-top: 16px; font-family: "Inter", sans-serif; }

/* --- Carte Google NFC (vidéo portrait + argumentaire) -------------------- */
.nfc-section {
  margin-top: 96px;
  background: linear-gradient(165deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 14px 34px rgba(15, 32, 56, 0.12);
}
@media (max-width: 760px) { .nfc-section { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; justify-items: center; } }

.nfc-media { display: flex; justify-content: center; }
/* Cadre de la vidéo de démonstration, au format carré 720x720.
   C'était un mockup de téléphone tant que la vidéo était verticale ; elle montre
   maintenant une scène filmée, pas un écran, d'où le cadre neutre et le nom de
   classe changé — un « .nfc-phone » sans téléphone induirait en erreur. */
.nfc-frame {
  position: relative;
  width: 340px;
  max-width: 78vw;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}
.nfc-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Au-delà de 1080px la section a largement la place : 460px pour la vidéo laisse
   encore ~630px au texte, qui n'en demande pas plus (ses paragraphes sont bridés
   à 52ch). En dessous, on garde 340px — la colonne de texte deviendrait étroite. */
@media (min-width: 1080px) { .nfc-frame { width: 460px; } }
/* Bouton de lecture, centré sur l'image d'attente. Il remplace l'ancien bouton
   « Activer le son » : celui-ci se posait en bas et masquait les sous-titres
   incrustés dans la vidéo. Ici le bouton disparaît dès que ça joue, donc plus
   rien ne recouvre l'image pendant la lecture. */
.nfc-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(15, 32, 56, 0.5);
  border: 0;
  cursor: pointer;
  color: #fff;
  font: 600 0.95rem "Inter", sans-serif;
  transition: background 0.2s ease;
}
.nfc-play[hidden] { display: none; }
.nfc-play:hover { background: rgba(10, 21, 38, 0.3); }
/* Or sur bleu, comme les boutons d'action du site : un rond blanc se confondait
   avec les images claires de la vidéo. Mêmes variables que .btn-primary, pour
   qu'un changement de charte se propage ici aussi. */
.nfc-play__rond {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #1f1706;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Triangle en SVG et non le caractère ▶ : iOS le traitait comme un emoji et
     affichait sa propre image — flèche blanche sur pastille grise — en ignorant
     la couleur CSS. Le SVG hérite de currentColor et rend pareil partout.
     Le décalage optique est intégré au tracé (base à x=8 dans une boîte de 24),
     d'où l'absence de padding de compensation. */
  box-shadow: 0 8px 24px rgba(204, 164, 59, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}
.nfc-play:hover .nfc-play__rond { transform: scale(1.06); background: var(--accent-dark); }
.nfc-play__mot { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }

.nfc-text { color: #fff; }

/* Photo de la carte, au-dessus du bloc prix. Le visuel est clair et le fond de
   section navy : le contraste suffit, inutile de l'encadrer. width/height sont
   servis dans le HTML pour reserver la place et eviter que le prix ne saute
   pendant le chargement. */
.nfc-card-photo {
  margin: 0 0 24px;
  width: 200px;
  max-width: 100%;
}
.nfc-card-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}
.nfc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
}
.nfc-text h2 { font-size: 1.6rem; font-weight: 600; line-height: 1.2; margin-bottom: 16px; color: #fff; }
.nfc-text > p { color: #cdd7e3; font-size: 0.98rem; line-height: 1.7; margin-bottom: 22px; max-width: 52ch; }
.nfc-perks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.nfc-perks li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: #e4ebf3;
  line-height: 1.5;
}
.nfc-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
/* Badge de note Google : montre que la carte fait grimper étoiles et nombre d'avis. */
.nfc-rating {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(204, 164, 59, 0.4);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 12px;
}
.nfc-rating .stars {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 1.4rem;
  text-shadow: 0 0 16px rgba(204, 164, 59, 0.45);
}
.nfc-rating-num { display: flex; align-items: baseline; gap: 5px; }
.nfc-rating-num strong { font-family: "Fraunces", serif; font-size: 1.7rem; font-weight: 600; color: #fff; }
.nfc-rating-num span { font-size: 0.8rem; color: #a9b7c6; }
.nfc-rating-meta { display: flex; flex-direction: column; line-height: 1.35; }
.nfc-rating-count { font-size: 0.85rem; color: #cdd7e3; font-family: "Inter", sans-serif; }
.nfc-rating-trend { font-size: 0.82rem; font-weight: 600; color: #4ecb7d; }
.nfc-rating-note { color: #a9b7c6 !important; font-size: 0.85rem !important; line-height: 1.55 !important; margin-bottom: 22px !important; max-width: 46ch !important; }

.nfc-buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.nfc-price { display: flex; flex-direction: column; line-height: 1.2; }
.nfc-price strong { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 600; color: #fff; }
.nfc-price span { font-size: 0.82rem; color: #a9b7c6; }
.nfc-offered {
  font-size: 0.92rem;
  color: #e4f1fb;
  background: rgba(204, 164, 59, 0.14);
  border: 1px solid rgba(204, 164, 59, 0.4);
  border-radius: 10px;
  padding: 12px 16px;
  max-width: none;
  margin: 0;
}
.nfc-offered strong { color: var(--accent); }
#card-status { margin-top: 12px; font-size: 0.88rem; color: #cdd7e3; }

/* Ligne "cadeau" dans les cartes de formule et l'espace de commande. */
.plan-gift {
  color: var(--accent-dark);
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.plan-gift span { font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.formule-gift { color: var(--accent-dark); font-weight: 600; font-size: 0.82rem; }

.portfolio-section { margin-top: 96px; text-align: center; }
.portfolio-section h2 { color: var(--primary); font-size: 1.7rem; font-weight: 600; margin-bottom: 12px; }
.portfolio-section .intro { color: var(--muted); margin: 0 auto 36px; line-height: 1.6; }

/* --- Carrousel d'exemples (1 par métier) --------------------------------- */
.pf-carousel { position: relative; }

.pf-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Marge pour que les ombres des cartes ne soient pas rognées par overflow. */
  padding: 6px 4px 18px;
  text-align: left;
  scrollbar-width: thin;
}
.pf-rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 16px; }
.pf-card { flex: 0 0 clamp(268px, 76vw, 384px); scroll-snap-align: center; }
@media (min-width: 820px) { .pf-card { scroll-snap-align: start; } }

.pf-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 0 2px;
}
.pf-sector { font-weight: 600; font-size: 0.92rem; color: var(--primary); }
.pf-open { font-size: 0.85rem; font-weight: 600; color: var(--accent-dark); text-decoration: none; white-space: nowrap; }
.pf-open:hover { text-decoration: underline; }

.pf-nav {
  position: absolute;
  top: 190px;                 /* centré sur la hauteur de l'aperçu, pas de la carte */
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--band-border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 32, 56, 0.16);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.pf-nav:hover { background: #fff; }
.pf-nav--prev { left: -14px; }
.pf-nav--next { right: -14px; }
.pf-nav[hidden] { display: none; }
/* Sur petit écran on scrolle au doigt : les flèches encombrent plus qu'elles n'aident. */
@media (max-width: 820px) { .pf-nav { display: none; } }

.pf-hint { font-size: 0.84rem; color: var(--muted); margin: 4px auto 0; }
@media (min-width: 821px) { .pf-hint { display: none; } }

.browser-mockup {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 32, 56, 0.1);
}
.browser-bar { display: flex; gap: 6px; padding: 10px 14px; background: #eef0f3; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3d7dd; }
.iframe-crop { position: relative; width: 100%; height: 380px; overflow: hidden; }
.iframe-crop iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 250%;
  height: 950px;
  border: none;
  transform: scale(0.4);
  transform-origin: top left;
  pointer-events: none;
}

/* --- Panneau des formules ------------------------------------------------- */
/* Fond navy identique au bandeau et au pied de page : les 3 cartes blanches et
   leurs prix ressortent nettement, alors que tout le reste de la section était
   blanc sur blanc cassé. */
.plans-section {
  margin-top: 96px;
  border-radius: 20px;
  padding: 48px 40px 52px;
  background:
    radial-gradient(circle at 12% 15%, rgba(204, 164, 59, 0.16), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(165deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 34px rgba(15, 32, 56, 0.12);
}
@media (max-width: 560px) { .plans-section { padding: 32px 20px 36px; } }

/* Le titre est maintenant sur navy : il passe en blanc. La marge haute est portée
   par le panneau, plus par le titre. */
.plans-heading { text-align: center; color: #fff; font-size: 1.7rem; font-weight: 600; margin: 0 0 36px; scroll-margin-top: 24px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 8px; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

.plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: 0 8px 24px rgba(15, 32, 56, 0.06); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); transform: translateY(-8px); }
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #241a05;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
}
.plan h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 8px; font-weight: 600; }
.plan .price { font-size: 2.1rem; font-weight: 600; margin: 12px 0; font-family: "Fraunces", serif; }
.plan .price span { font-size: 0.92rem; font-weight: 400; color: var(--muted); font-family: "Inter", sans-serif; }
.plan ul { list-style: none; margin: 18px 0 26px; flex: 1; }
.plan li { padding: 8px 0; font-size: 0.92rem; border-bottom: 1px solid var(--border); color: var(--text); }
.plan li:last-child { border-bottom: none; }
.plan .btn { text-align: center; }

/* Tous les boutons à la même taille, quel que soit leur libellé.
   - inline-flex + min-height : le texte est centré et la hauteur ne dépend plus
     de la longueur du libellé ni du nombre de lignes ;
   - bordure transparente sur .btn : sans elle, seules les variantes `outline` et
     `secondary` en avaient une, et faisaient 2 px de plus que `primary` ;
   - min-width: min(245px, 100%) : 245 px là où la place existe, la largeur du
     conteneur sinon. Une largeur fixe déborderait des cartes de formule, dont
     l'intérieur ne fait que 219 px sur mobile. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 52px;
  /* `width` et non `min-width` : dans les cartes de formule (flex colonne), un
     simple minimum laissait le bouton s'étirer à toute la largeur de la carte,
     soit 300 px contre 245 ailleurs. Une largeur explicite neutralise cet
     étirement. min(...) garde la sécurité : sur mobile, l'intérieur d'une carte
     ne fait que 219 px, et c'est cette valeur qui s'applique alors. */
  width: min(245px, 100%);
  margin-inline: auto;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.25;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--accent); color: #1f1706; box-shadow: 0 8px 20px rgba(204, 164, 59, 0.28); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-secondary:hover { background: rgba(255,255,255,0.14); }

/* --- Qui sommes-nous ------------------------------------------------------ */
.about-us { margin-top: 96px; text-align: center; }
.about-us h2 { color: var(--primary); font-size: 1.7rem; font-weight: 600; margin-bottom: 12px; }
.about-us .intro { color: var(--muted); margin: 0 auto 36px; line-height: 1.7; max-width: 62ch; }


/* --- FAQ ------------------------------------------------------------------ */
.faq { margin-top: 96px; max-width: 940px; margin-left: auto; margin-right: auto; }
.faq h2 { color: var(--primary); font-size: 1.7rem; font-weight: 600; margin-bottom: 12px; text-align: center; }
.faq .intro { color: var(--muted); margin: 0 auto 40px; line-height: 1.7; text-align: center; }

.faq__group {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.faq__group:first-of-type { margin-top: 0; }

.faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--accent); }

.faq__item summary {
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--primary);
  position: relative;
  list-style: none;         /* retire la puce par défaut */
  line-height: 1.5;
}
.faq__item summary::-webkit-details-marker { display: none; }  /* idem, Safari */
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-dark);
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { background: var(--band-bg); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.faq__answer { padding: 0 22px 20px; }
.faq__answer p { color: var(--muted); font-size: 0.93rem; line-height: 1.7; margin-bottom: 12px; max-width: 66ch; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer strong { color: var(--text); }
.faq__answer a { color: var(--accent-dark); font-weight: 600; }
.faq__answer ol { margin: 0 0 14px 20px; }
.faq__answer li { color: var(--muted); font-size: 0.93rem; line-height: 1.7; margin-bottom: 6px; }

/* --- Rappel compact de la carte NFC sous les formules --------------------- */
/* Cadre doré comme la formule Standard : il se lit comme une 4e option, pas
   comme un encart publicitaire de plus. */
.nfc-recap {
  margin-top: 28px;
  background:
    radial-gradient(circle at 12% 15%, rgba(204, 164, 59, 0.16), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(165deg, var(--primary), var(--primary-dark));
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(15, 32, 56, 0.06);
}
@media (max-width: 700px) { .nfc-recap { padding: 24px; gap: 20px; } }

.nfc-recap__text { flex: 1 1 320px; }

/* Vignette de la carte, a gauche du titre. flex: 0 0 auto pour qu'elle ne soit
   ni etiree ni comprimee quand l'encart passe sur plusieurs lignes. */
.nfc-recap__photo {
  flex: 0 0 auto;
  width: 108px;
}
.nfc-recap__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 700px) { .nfc-recap__photo { width: 84px; } }
.nfc-recap__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 10px;
}
.nfc-recap__note .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.15rem; line-height: 1; }
.nfc-recap__note span:last-child { font-size: 0.88rem; font-weight: 700; color: #fff; }
.nfc-recap h3 { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.nfc-recap p { color: #fff; font-weight: 600; font-size: 0.92rem; line-height: 1.6; margin: 0; max-width: 46ch; }
/* ⚠️ Piège de spécificité : `.nfc-recap p` (0,1,1) écrase `.nfc-recap__gift`
   (0,1,0), d'où le sélecteur combiné. La couleur passait grâce au !important,
   pas la graisse — le même piège que `.hero__trust span` sur les sites d'aperçu. */
.nfc-recap p.nfc-recap__gift { margin-top: 10px; color: #fff; font-weight: 700; }

.nfc-recap__buy {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nfc-recap__price { display: flex; flex-direction: column; line-height: 1.2; }
.nfc-recap__price strong { font-family: "Fraunces", serif; font-size: 1.9rem; font-weight: 600; color: #fff; }
.nfc-recap__price span { font-size: 0.78rem; color: #e4ebf3; font-weight: 600; }
.nfc-recap__demo { font-size: 0.86rem; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.nfc-recap__demo:hover { color: var(--accent); }
/* Même raison que le bouton de lecture : le caractère ▶ devenait un emoji
   sur iOS. Le SVG suit la couleur du lien, y compris au survol. */
.nfc-recap__demo svg { vertical-align: -1px; margin-right: 4px; }
.nfc-recap__status { flex-basis: 100%; font-size: 0.88rem; font-weight: 600; color: #fff; }

section.form-section { margin-top: 96px; background: var(--band-bg); border: 1px solid var(--band-border); border-radius: 16px; padding: 40px; }
section.form-section h2 { color: var(--primary); margin-bottom: 8px; font-size: 1.5rem; font-weight: 600; }
section.form-section p.intro { color: var(--muted); margin-bottom: 30px; line-height: 1.65; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fbfdff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { min-height: 90px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

.formule-choice { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.formule-choice label { border: 1px solid var(--border); border-radius: 10px; padding: 11px 18px; cursor: pointer; font-size: 0.9rem; }
.formule-choice input { margin-right: 8px; accent-color: var(--accent-dark); }

.consent { font-size: 0.82rem; color: var(--muted); margin: 20px 0; line-height: 1.6; max-width: none; }
.consent a { color: var(--accent-dark); font-weight: 600; }

/* Case obligatoire d'exécution anticipée : encadrée en or pour qu'on ne puisse
   pas la survoler sans la voir — c'est elle qui protège le travail déjà fait. */
.consent-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 24px 0 4px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text);
  cursor: pointer;
}
.consent-box input { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--accent-dark); }
.consent-box a { color: var(--accent-dark); font-weight: 600; white-space: nowrap; }

#submit-status { margin-top: 14px; font-size: 0.9rem; }

/* --- Pages légales (mentions, CGV, confidentialité) ----------------------- */
.legal { max-width: 780px; }
.legal__maj { font-size: 0.85rem; color: var(--muted); font-style: italic; margin-bottom: 32px; }
.legal h2 {
  color: var(--primary);
  font-size: 1.32rem;
  font-weight: 600;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal h3 { color: var(--accent-dark); font-size: 1.05rem; font-weight: 600; margin: 26px 0 10px; }
.legal p { color: var(--text); font-size: 0.95rem; line-height: 1.75; margin-bottom: 14px; max-width: none; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { color: var(--text); font-size: 0.95rem; line-height: 1.75; margin-bottom: 8px; }
.legal a { color: var(--accent-dark); font-weight: 600; }

.legal__table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 0.9rem; }
.legal__table th, .legal__table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.legal__table th { background: var(--band-bg); color: var(--primary); font-weight: 600; }
/* Le tableau des formules déborde sur téléphone : il défile dans son cadre
   plutôt que d'élargir toute la page. */
@media (max-width: 620px) {
  .legal__table { display: block; overflow-x: auto; white-space: nowrap; }
}

.legal__retour { margin-top: 44px; font-weight: 600; }
/* Bouton plutôt que simple lien : après trois écrans de texte juridique, un lien
   souligné de la même couleur que le reste passe inaperçu.
   Sélecteur préfixé par `.legal` : sans ça, la règle `.legal a` plus bas (couleur
   dorée des liens de texte) l'emporte et le bouton sort en doré sur bordure navy. */
.legal .btn-retour {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.legal .btn-retour:hover { background: var(--primary); color: #fff; }
.legal .btn-retour:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Modele reglementaire de retractation : presente comme un document a recopier,
   pas comme du texte de page — d'ou le fond distinct et la police a chasse fixe. */
.legal__modele {
  background: var(--band-bg);
  border: 1px solid var(--band-border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 24px 26px;
  margin: 18px 0;
}
.legal__modele p { font-size: 0.92rem; line-height: 1.9; margin-bottom: 14px; }
.legal__modele p:last-child { margin-bottom: 0; }

/* Le pied de page reprend exactement le fond du bandeau : la page s'ouvre et se
   ferme sur le même navy, et le logo détouré y ressort sans retouche. */
footer {
  text-align: center;
  font-size: 0.82rem;
  color: #cdd7e3;
  padding: 44px 20px 52px;
  background:
    radial-gradient(circle at 12% 15%, rgba(204, 164, 59, 0.16), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(165deg, var(--primary), var(--primary-dark));
}
.footer-legal { margin-top: 18px; display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; }
.footer-legal a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.28); padding-bottom: 2px; }
.footer-legal a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-logo { width: 132px; height: auto; display: block; margin: 0 auto 14px; opacity: 0.9; }
