/* style.css : le style partagé du tunnel. Cible 50-65 ans, mobile d'abord :
   gros texte, gros boutons, contrastes nets, aucune esthétique administrative
   (pas de bleu-blanc-rouge, pas de Marianne). Zéro tiret cadratin. */

:root {
  --ink: #232323;
  --mut: #6b6257;
  --paper: #faf7f2;
  --card: #ffffff;
  --line: #e3dcd2;
  --accent: #3e5c76;
  --accent-fonce: #324a5f;
  --vert: #3d6b4f;
  --vert-clair: #eef3ee;
  --rouge: #a63d2f;
  --or: #8a6d1a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 19px/1.6 Georgia, "Times New Roman", serif;
}
main { max-width: 760px; margin: 0 auto; padding: 0 18px 60px; }

/* Header et mention obligatoire */
.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 10px 18px;
  text-align: center;
}
.topbar .marque { font-weight: 700; color: var(--accent); font-size: 18px; }
.mention-sp {
  display: block;
  font-size: 13.5px;
  color: var(--mut);
  margin-top: 2px;
}

h1 { font-size: 30px; line-height: 1.22; margin: 26px 0 12px; }
h2 { font-size: 24px; line-height: 1.3; margin: 34px 0 10px; }
h3 { font-size: 19.5px; margin: 18px 0 8px; }
p { margin: 12px 0; }
.mut { color: var(--mut); }
.small { font-size: 15.5px; }
.centre { text-align: center; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 16px 0;
}
.encadre-vert {
  background: var(--vert-clair);
  border-left: 6px solid var(--vert);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin: 16px 0;
}

/* Boutons : larges, hauts, pouce-compatibles */
.btn {
  display: block;
  width: 100%;
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #fff;
  font: 700 21px Georgia, serif;
  padding: 18px 24px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .15s;
}
.btn:hover { background: var(--accent-fonce); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.vert { background: var(--vert); }
.btn.vert:hover { background: #315a41; }
.btn.discret {
  background: transparent;
  color: var(--mut);
  font-size: 16.5px;
  font-weight: 400;
  text-decoration: underline;
  padding: 12px;
}
.btn.discret:hover { background: transparent; color: var(--ink); }

/* Options du quiz */
.opt {
  display: block;
  width: 100%;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 10px 0;
  font: 19px Georgia, serif;
  text-align: left;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.opt:hover { border-color: var(--accent); }
.opt.choisi { border-color: var(--accent); background: #eef2f6; font-weight: 700; }

input[type=text], input[type=email], input[type=date], input[type=number], select {
  width: 100%;
  font: 19px Georgia, serif;
  padding: 14px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
label { display: block; margin: 12px 0 6px; font-weight: 700; font-size: 17px; }

/* Barre de progression du quiz */
.progress { height: 10px; background: var(--line); border-radius: 999px; margin: 18px 0 6px; overflow: hidden; }
.progress > div { height: 100%; background: var(--vert); border-radius: 999px; transition: width .25s; }
.progress-txt { font-size: 14.5px; color: var(--mut); text-align: right; }

/* Listes à coches */
ul.coches { list-style: none; padding: 0; margin: 10px 0; }
ul.coches li { padding-left: 34px; position: relative; margin: 12px 0; }
ul.coches li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--vert); font-weight: 700; font-size: 22px;
}

/* Tableau des montants */
table.montants { border-collapse: collapse; width: 100%; font-size: 16.5px; background: var(--card); }
table.montants th, table.montants td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
table.montants th { background: #f0ebe2; }
.scroll { overflow-x: auto; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 26px 18px 40px;
  text-align: center;
  color: var(--mut);
  font-size: 14.5px;
  background: var(--card);
}
footer a { color: var(--mut); }
footer .liens { margin: 8px 0; }
footer .liens a { margin: 0 8px; }

/* Éléments de réassurance */
.reassurance {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  justify-content: center;
  font-size: 15px; color: var(--mut);
  margin: 14px 0;
}
.reassurance span { white-space: nowrap; }

.badge-garantie {
  display: inline-block;
  background: var(--vert-clair);
  color: var(--vert);
  border: 1px solid #c9d8c9;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 15.5px;
}

/* Le bump au checkout. Pas de cursor:pointer sur la boîte entière : seule la
   case et son titre basculent l'option (le reste est du texte à lire). */
.bump {
  border: 2px dashed var(--or);
  background: #fdf9ee;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}
.bump input { width: 22px; height: 22px; margin-right: 10px; vertical-align: -3px; accent-color: var(--vert); }

.prix-ligne { display: flex; justify-content: space-between; gap: 14px; margin: 8px 0; font-size: 18px; }
.prix-total { display: flex; justify-content: space-between; gap: 14px; font-weight: 700; font-size: 22px; border-top: 2px solid var(--line); padding-top: 10px; margin-top: 10px; }
/* Un prix ne se coupe jamais : le sigle € reste collé à son montant */
.prix-ligne b, .prix-total span:last-child { white-space: nowrap; }

/* Le prix dès le premier écran : la peur n° 1 du secteur est l'abonnement caché */
.prix-hero {
  background: var(--vert-clair);
  border: 1px solid #c9d8c9;
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  font-size: 18px;
  margin: 18px 0 14px;
}

/* Comment ça marche : 3 étapes numérotées */
ol.etapes { list-style: none; counter-reset: etape; padding: 0; margin: 16px 0; }
ol.etapes li {
  counter-increment: etape;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px 18px 68px;
  margin: 12px 0;
}
ol.etapes li::before {
  content: counter(etape);
  position: absolute; left: 18px; top: 18px;
  width: 34px; height: 34px; line-height: 34px;
  border-radius: 999px;
  background: var(--vert); color: #fff;
  font: 700 19px Georgia, serif; text-align: center;
}
ol.etapes b { display: block; margin-bottom: 4px; }

/* Bloc incarné : un visage vaut plus que dix arguments sur un site sans avis */
.perso { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.perso img.avatar {
  flex: 0 0 auto;
  width: 110px; height: 110px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid var(--line);
}
@media (max-width: 520px) {
  .perso { flex-direction: column; align-items: center; text-align: center; }
}

@media (min-width: 700px) {
  h1 { font-size: 38px; }
  .btn.auto { width: auto; display: inline-block; padding-left: 44px; padding-right: 44px; }
}
