/* Nathalie Mercier — Seule à la retraite
   Public : 70 ans et plus, souvent sur téléphone ou tablette. Chaque règle se
   tranche par : est-ce lisible sans lunettes, et touchable sans viser ? */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-italique.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --foret: #143A2B;
  --foret-2: #1F4D3B;
  --foret-3: #2C6250;
  --sauge: #799D85;
  --sauge-clair: #E4ECE6;
  --sauge-pale: #F1F5F1;
  --moutarde: #BE9B1F;
  --moutarde-fonce: #8C7210;
  --moutarde-clair: #F6EDCB;
  --creme: #FBF8F1;
  --papier: #FFFFFF;
  --encre: #1B2822;
  --gris: #4E5B55;
  --trait: #DCD6C6;
  --alerte: #9B3B1E;
  --alerte-clair: #FBEAE3;
  --rayon: 18px;
  --ombre: 0 1px 2px rgba(20, 58, 43, .06), 0 8px 24px rgba(20, 58, 43, .07);
  --titre: "Fraunces", Georgia, "Times New Roman", serif;
  --texte: "Atkinson", "Segoe UI", Arial, sans-serif;
  --large: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme); color: var(--encre);
  font-family: var(--texte); font-size: 19px; line-height: 1.6;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--foret); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--foret-3); }
:focus-visible { outline: 3px solid var(--moutarde); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 650; line-height: 1.15; letter-spacing: -.01em; color: var(--foret); margin: 0 0 .5em; font-variation-settings: "SOFT" 60, "WONK" 0; }
h1 { font-size: clamp(34px, 5.2vw, 54px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: clamp(22px, 2.4vw, 26px); }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.court { max-width: 46em; }
.centre { text-align: center; }
.centre .court { margin-left: auto; margin-right: auto; }
.mince { font-weight: 400; }
.petit { font-size: 16px; color: var(--gris); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section.serre { padding: 48px 0; }
.section.blanc { background: var(--papier); }
.section.sauge { background: var(--sauge-pale); }
.section.foret { background: var(--foret); color: #F2F5F1; }
.section.foret h2, .section.foret h3 { color: #fff; }
.surtitre { font-family: var(--texte); font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--moutarde-fonce); margin: 0 0 12px; }
.section.foret .surtitre { color: #E3C65A; }
.surligne { background: linear-gradient(transparent 58%, var(--moutarde-clair) 58%); padding: 0 .08em; }

/* ------------------------------------------------------------ en-tête */
.entete { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 241, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--trait); }
.entete .conteneur { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--foret); margin-right: auto; }
.marque img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--moutarde); }
.marque b { display: block; font-family: var(--titre); font-size: 22px; font-weight: 650; line-height: 1.05; }
.marque span { display: block; font-size: 14px; color: var(--gris); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--encre); font-size: 17px; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.nav a:hover { background: var(--sauge-clair); }
.nav a[aria-current="page"] { color: var(--foret); box-shadow: inset 0 -3px 0 var(--moutarde); border-radius: 0; }
.nav .bouton { margin-left: 8px; }
@media (max-width: 1180px) { .nav a:not(.bouton) { display: none; } }
@media (max-width: 560px) { .entete .conteneur { min-height: 60px; gap: 10px; } .marque img { width: 40px; height: 40px; } .marque b { font-size: 18px; white-space: nowrap; } .marque span { font-size: 13px; } .nav .bouton { min-height: 46px; padding: 10px 14px; font-size: 15.5px; box-shadow: 0 2px 0 #7A6209; } }
@media (max-width: 400px) { .marque span { display: none; } }

/* ------------------------------------------------------------ boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 15px 26px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--foret); color: #fff; text-decoration: none; text-align: center;
  font-family: var(--texte); font-size: 19px; font-weight: 700; line-height: 1.2;
  box-shadow: 0 3px 0 #0A2219, 0 8px 20px rgba(20, 58, 43, .18);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.bouton:hover { background: var(--foret-2); color: #fff; transform: translateY(-1px); }
.bouton:active { transform: translateY(2px); box-shadow: 0 1px 0 #0A2219; }
.bouton.or { background: var(--moutarde); color: #1A1500; box-shadow: 0 3px 0 #7A6209, 0 8px 20px rgba(140, 114, 16, .22); }
.bouton.or:hover { background: #CCA827; color: #1A1500; }
.bouton.clair { background: var(--papier); color: var(--foret); box-shadow: inset 0 0 0 2px var(--foret); }
.bouton.clair:hover { background: var(--sauge-pale); }
.bouton.grand { min-height: 66px; font-size: 21px; padding: 18px 32px; }
.bouton.plein { width: 100%; }
.bouton[disabled], .bouton.attente { opacity: .65; cursor: wait; transform: none; }
.bouton svg { width: 22px; height: 22px; flex: none; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.sous-bouton { font-size: 16px; color: var(--gris); margin-top: 10px; }

/* --------------------------------------------------------------- héros */
.heros { padding: 56px 0 64px; background: radial-gradient(1200px 500px at 85% 0%, var(--sauge-clair), transparent 70%); }
.heros-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.heros h1 { margin-bottom: 18px; }
.heros .chapo { font-size: 22px; line-height: 1.5; color: var(--encre); max-width: 34em; }
.heros .chapo strong { color: var(--foret); }
.portrait { position: relative; }
.portrait picture img { border-radius: 26px; box-shadow: var(--ombre); aspect-ratio: 520 / 594; object-fit: cover; width: 100%; }
.portrait figcaption { position: absolute; left: -22px; bottom: 26px; max-width: 290px; background: var(--papier); border-radius: 16px; padding: 16px 18px; box-shadow: var(--ombre); font-size: 16px; line-height: 1.45; border-left: 4px solid var(--moutarde); }
.portrait figcaption b { display: block; font-family: var(--titre); color: var(--foret); font-size: 19px; margin-bottom: 2px; }
.preuves { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 16.5px; color: var(--gris); }
.preuves li { display: flex; align-items: center; gap: 8px; }
.preuves svg { width: 22px; height: 22px; color: var(--sauge); flex: none; }
@media (max-width: 900px) {
  .heros { padding: 18px 0 40px; }
  .heros-grille { grid-template-columns: 1fr; gap: 18px; }
  .heros h1 { font-size: 31px; margin-bottom: 12px; }
  .heros .surtitre { margin-bottom: 8px; font-size: 14px; }
  .heros .bouton.grand { width: 100%; }
  .portrait { order: -1; margin: 0; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
  .portrait picture img { width: 64px; height: 64px; aspect-ratio: 1; border-radius: 50%; object-position: 50% 12%; border: 3px solid var(--moutarde); }
  .portrait figcaption { position: static; box-shadow: none; padding: 0; background: none; border: 0; max-width: none; font-size: 15px; line-height: 1.4; }
  .portrait figcaption b { font-size: 17px; }
  .heros .chapo { font-size: 19px; }
}

/* ------------------------------------------------------------- cartes */
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grille-3, .grille-2 { grid-template-columns: 1fr; } }
.carte { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); }
.carte h3 { margin-bottom: 10px; }
.carte.vedette { border: 2px solid var(--moutarde); position: relative; }
.etiquette { display: inline-block; background: var(--moutarde-clair); color: var(--moutarde-fonce); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; margin-bottom: 14px; }
.etiquette.verte { background: var(--sauge-clair); color: var(--foret); }
.prix { font-family: var(--titre); font-size: 40px; font-weight: 700; color: var(--foret); line-height: 1; margin: 6px 0 4px; }
.prix small { font-family: var(--texte); font-size: 16px; font-weight: 600; color: var(--gris); }
.offre { display: flex; flex-direction: column; }
.offre ul { margin: 6px 0 22px; }
.offre .bouton { margin-top: 0; }
.offre .prix { margin-top: auto; padding-top: 6px; margin-bottom: 14px; }
.volume { display: inline-block; background: var(--moutarde-clair); color: var(--moutarde-fonce); border-radius: 10px; padding: 6px 12px; font-size: 16.5px; margin-bottom: 12px; }
.volume b { color: var(--foret); }

.coches { list-style: none; padding: 0; margin: 0 0 1em; }
.coches li { position: relative; padding-left: 36px; margin: 0 0 12px; }
.coches li::before { content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: var(--sauge-clair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.8 12.5l-1.4 1.4 5.1 5.1L20 8.5l-1.4-1.4z' fill='%23143A2B'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* ------------------------------------------------------- calendrier */
.frise { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 36px; position: relative; }
.frise::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 3px; background: linear-gradient(90deg, var(--moutarde), var(--sauge)); }
.etape { text-align: center; padding: 0 10px; position: relative; }
.etape .pastille { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--foret); color: #fff; display: grid; place-items: center; font-family: var(--titre); font-weight: 700; font-size: 17px; box-shadow: 0 0 0 6px var(--creme); position: relative; }
.section.blanc .etape .pastille { box-shadow: 0 0 0 6px var(--papier); }
.etape h3 { font-size: 21px; margin-bottom: 6px; }
.etape p { font-size: 16.5px; color: var(--gris); margin: 0; }
@media (max-width: 900px) {
  .frise { grid-template-columns: 1fr; gap: 22px; }
  .frise::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--moutarde), var(--sauge)); }
  .etape { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; padding: 0; }
  .etape .pastille { margin: 0; }
}

/* ------------------------------------------------- idées reçues */
.recue { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--trait); margin-bottom: 16px; background: var(--papier); }
.recue > div { padding: 22px 24px; }
.recue .faux { background: var(--alerte-clair); }
.recue .vrai { background: var(--papier); }
.recue b { display: block; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.recue .faux b { color: var(--alerte); }
.recue .vrai b { color: var(--foret-3); }
.recue p { margin: 0; }
@media (max-width: 760px) {
  .recue { grid-template-columns: 1fr; margin-bottom: 12px; }
  .recue > div { padding: 14px 16px; }
  .recue .faux p { font-style: italic; }
}

/* ----------------------------------------------------------- citation */
.mot { display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: start; }
.mot img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--moutarde); }
.mot blockquote { margin: 0; font-family: var(--titre); font-size: clamp(21px, 2.3vw, 25px); line-height: 1.5; font-weight: 450; color: var(--foret); }
.mot blockquote p { margin-bottom: .8em; }
.mot cite { display: block; font-style: normal; font-family: var(--texte); font-size: 17px; color: var(--gris); margin-top: 6px; }
@media (max-width: 700px) { .mot { grid-template-columns: 1fr; gap: 16px; } .mot img { width: 96px; height: 96px; } }

/* ---------------------------------------------------------------- FAQ */
.faq details { background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 19px; position: relative; color: var(--foret); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--moutarde-fonce); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; }

/* --------------------------------------------------------- garanties */
.garanties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.garanties li { display: flex; gap: 12px; align-items: center; font-size: 16.5px; font-weight: 600; color: var(--foret); }
.garanties .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--sauge-clair); display: grid; place-items: center; flex: none; }
.garanties .ico svg { width: 22px; height: 22px; color: var(--foret); }
@media (max-width: 700px) { .garanties { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- pied */
.pied { background: var(--foret); color: #CFDDD3; padding: 48px 0 110px; font-size: 16px; }
.pied a { color: #fff; }
.pied .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pied b { color: #fff; font-family: var(--titre); font-size: 20px; display: block; margin-bottom: 8px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied .avert { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 32px; padding-top: 20px; font-size: 14.5px; color: #A9BDB0; }
@media (max-width: 760px) { .pied .colonnes { grid-template-columns: 1fr; } }

/* ---------------------------------- barre d'action (téléphone) */
.barre-tel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--papier); border-top: 1px solid var(--trait); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(20, 58, 43, .1); transform: translateY(110%); transition: transform .25s ease; display: none; }
.barre-tel.visible { transform: none; }
.barre-tel .bouton { width: 100%; min-height: 56px; }
@media (max-width: 900px) { .barre-tel { display: block; } }

/* ============================================================ QUESTIONNAIRE */
.quiz { max-width: 760px; margin: 0 auto; }
.quiz-carte { background: var(--papier); border-radius: 24px; box-shadow: var(--ombre); border: 1px solid var(--trait); padding: 34px; }
@media (max-width: 560px) { .quiz-carte { padding: 22px 18px; border-radius: 18px; } }
.progression { height: 10px; background: var(--sauge-clair); border-radius: 99px; overflow: hidden; margin: 0 0 10px; }
.progression span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sauge), var(--foret)); border-radius: 99px; transition: width .3s ease; }
.quiz-etape { font-size: 15px; color: var(--gris); font-weight: 600; margin-bottom: 18px; }
.quiz h2 { font-size: clamp(25px, 3vw, 31px); margin-bottom: 8px; }
.quiz .aide { color: var(--gris); font-size: 17px; margin-bottom: 18px; }
.choix { display: grid; gap: 12px; margin-top: 18px; }
.choix button {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 66px; padding: 14px 18px;
  background: var(--papier); border: 2px solid var(--trait); border-radius: 16px; cursor: pointer;
  font-family: var(--texte); font-size: 19px; font-weight: 600; color: var(--encre); text-align: left; line-height: 1.35;
  transition: border-color .12s, background .12s;
}
.choix button:hover { border-color: var(--sauge); background: var(--sauge-pale); }
.choix button .rond { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 2px solid var(--sauge); display: grid; place-items: center; }
.choix.multi button .rond { border-radius: 8px; }
.choix button[aria-pressed="true"] { background: var(--foret); border-color: var(--foret); color: #fff; }
.choix button[aria-pressed="true"] .rond { background: var(--moutarde); border-color: var(--moutarde); }
.choix button[aria-pressed="true"] .rond::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--foret); }
.choix.multi button[aria-pressed="true"] .rond::after { width: 14px; height: 8px; border-radius: 0; background: none; border-left: 3px solid var(--foret); border-bottom: 3px solid var(--foret); transform: rotate(-45deg) translate(1px, -1px); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 24px; }
.lien-retour { background: none; border: 0; font: inherit; font-size: 17px; color: var(--gris); text-decoration: underline; cursor: pointer; padding: 12px 4px; min-height: 48px; }
.confiance-quiz { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 16px; font-size: 15.5px; color: var(--gris); text-align: center; }
.confiance-quiz svg { width: 20px; height: 20px; color: var(--sauge); flex: none; }

/* résultat */
.bilan-tete { text-align: center; margin-bottom: 26px; }
.compteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 8px; }
.compteur { background: var(--sauge-pale); border-radius: 16px; padding: 16px 10px; text-align: center; }
.compteur b { display: block; font-family: var(--titre); font-size: 40px; line-height: 1; color: var(--foret); }
.compteur span { font-size: 15.5px; color: var(--gris); line-height: 1.3; display: block; margin-top: 6px; }
.compteur.urgent { background: var(--alerte-clair); }
.compteur.urgent b { color: var(--alerte); }
.groupe-titre { display: flex; align-items: center; gap: 10px; font-family: var(--titre); font-size: 24px; color: var(--foret); margin: 30px 0 12px; }
.groupe-titre .puce { width: 12px; height: 12px; border-radius: 50%; background: var(--moutarde); }
.item { border: 1px solid var(--trait); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; background: var(--papier); }
.item.urgent { border: 2px solid var(--alerte); background: #FFFBF9; }
.item h3 { font-family: var(--texte); font-size: 20px; font-weight: 700; margin: 0 0 6px; color: var(--foret); }
.item .badge { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--alerte); color: #fff; padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; }
.item .badge.argent { background: var(--moutarde-clair); color: var(--moutarde-fonce); }
.item p { margin: 0 0 6px; font-size: 17.5px; }
.item .meta { font-size: 16px; color: var(--gris); margin: 6px 0 0; }
.item .meta b { color: var(--encre); }
.suite { margin-top: 30px; border-radius: 22px; background: var(--foret); color: #EDF2EE; padding: 30px; }
.suite h2 { color: #fff; }
.suite .bouton.or { margin-top: 6px; }
.suite .ou { margin: 18px 0 0; font-size: 17px; }
.suite .ou a { color: #F0D776; font-weight: 700; }
.envoi { margin-top: 22px; background: var(--sauge-pale); border-radius: 18px; padding: 22px; }
.envoi form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.envoi input[type=email] { flex: 1 1 260px; }
.outils-bilan { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0 0; }

/* ============================================================ VENTE */
.vente-grille { display: grid; grid-template-columns: 1fr 440px; grid-template-areas: "haut caisse" "bas caisse"; gap: 32px 48px; align-items: start; }
.vente-haut { grid-area: haut; } .vente-bas { grid-area: bas; } .vente-grille > .caisse { grid-area: caisse; }
@media (max-width: 980px) { .vente-grille { grid-template-columns: 1fr; grid-template-areas: "haut" "caisse" "bas"; gap: 28px; } }
.caisse { position: sticky; top: 96px; background: var(--papier); border: 2px solid var(--foret); border-radius: 24px; box-shadow: var(--ombre); overflow: hidden; }
@media (max-width: 980px) {
  .caisse { position: static; }
  /* Sur téléphone, le prix n'ouvre pas le bloc : il est dans le bouton
     « Recevoir mon classeur — 39 € » et au total, là où l'on clique. */
  .caisse-tete .prix { display: none; }
  .caisse-tete { padding: 16px 20px; }
}
.caisse-tete { background: var(--foret); color: #fff; padding: 20px 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.caisse-tete b { font-family: var(--titre); font-size: 22px; font-weight: 600; }
.caisse-tete .prix { color: #fff; font-size: 38px; margin: 0; }
.caisse-corps { padding: 22px 24px 26px; }
.caisse .coches li { font-size: 17.5px; margin-bottom: 10px; }
.option { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px dashed var(--moutarde); background: #FFFCF0; border-radius: 14px; margin: 14px 0; cursor: pointer; }
.option input { width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--foret); flex: none; }
.option b { color: var(--foret); }
.option .px { font-weight: 700; color: var(--moutarde-fonce); white-space: nowrap; }
.option p { margin: 4px 0 0; font-size: 16px; color: var(--gris); }
.option.cochee { border-style: solid; background: var(--moutarde-clair); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--trait); padding-top: 14px; margin: 16px 0 14px; font-weight: 700; }
.total .montant { font-family: var(--titre); font-size: 32px; color: var(--foret); }
.champ { display: block; font-weight: 700; margin: 14px 0 6px; font-size: 17.5px; }
input[type=email], input[type=text], textarea {
  width: 100%; font: inherit; font-size: 19px; padding: 14px 16px; min-height: 58px; border: 2px solid var(--trait); border-radius: 12px; background: var(--papier); color: var(--encre);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--foret); box-shadow: 0 0 0 4px var(--sauge-clair); }
.erreur { background: var(--alerte-clair); color: var(--alerte); border-radius: 12px; padding: 12px 14px; font-weight: 600; margin: 12px 0 0; display: none; }
.erreur.visible { display: block; }
.paiement-ligne { display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 12px; font-size: 15px; color: var(--gris); flex-wrap: wrap; }
.paiement-ligne svg { width: 18px; height: 18px; vertical-align: -3px; }
.marche { counter-reset: m; list-style: none; padding: 0; margin: 4px 0 18px; }
.marche li { counter-increment: m; position: relative; padding-left: 44px; margin-bottom: 12px; font-size: 17px; }
.marche li::before { content: counter(m); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sauge-clair); color: var(--foret); font-weight: 700; display: grid; place-items: center; font-size: 16px; }
.cases { display: grid; gap: 8px; margin: 8px 0 4px; }
.cases label { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 12px; cursor: pointer; background: var(--papier); }
.cases input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--foret); flex: none; }
.depot { border: 2px dashed var(--sauge); border-radius: 16px; padding: 18px; text-align: center; background: var(--sauge-pale); cursor: pointer; display: block; }
.depot b { color: var(--foret); display: block; font-size: 18px; }
.depot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.liste-fichiers { list-style: none; padding: 0; margin: 10px 0 0; font-size: 16px; }
.liste-fichiers li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--papier); border: 1px solid var(--trait); border-radius: 10px; margin-bottom: 6px; }
.liste-fichiers button { background: none; border: 0; color: var(--alerte); font: inherit; font-size: 15px; cursor: pointer; text-decoration: underline; }
.encadre { background: var(--moutarde-clair); border-left: 5px solid var(--moutarde); border-radius: 0 16px 16px 0; padding: 20px 24px; margin: 24px 0; }
.encadre.vert { background: var(--sauge-pale); border-left-color: var(--sauge); }
.encadre p:last-child { margin-bottom: 0; }

/* sommaire du classeur */
.sommaire { counter-reset: ch; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.sommaire li { counter-increment: ch; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.sommaire li::before { content: counter(ch, decimal-leading-zero); font-family: var(--titre); font-size: 22px; font-weight: 700; color: var(--moutarde); }
.sommaire b { display: block; color: var(--foret); }
.sommaire span { font-size: 16.5px; color: var(--gris); }
@media (max-width: 760px) { .sommaire { grid-template-columns: 1fr; } }
.couverture { width: 100%; max-width: 360px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(20, 58, 43, .25)); }
.lettres { columns: 2; column-gap: 32px; padding-left: 1.2em; font-size: 17px; }
.lettres li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 700px) { .lettres { columns: 1; } }

/* comparaison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; font-size: 17px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }
.compare thead th { background: var(--sauge-pale); color: var(--foret); font-family: var(--titre); font-size: 19px; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.oui { color: var(--foret-3); font-weight: 700; }
.non { color: #A39C8B; }
@media (max-width: 640px) { .compare { font-size: 15.5px; } .compare th, .compare td { padding: 10px 8px; } }

/* page de commande reçue */
.recu { max-width: 720px; margin: 0 auto; }
.attente-paiement { display: flex; gap: 14px; align-items: center; justify-content: center; color: var(--gris); }
.roue { width: 26px; height: 26px; border: 3px solid var(--sauge-clair); border-top-color: var(--foret); border-radius: 50%; animation: tourne 1s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.offre-suite { border: 2px solid var(--moutarde); background: var(--papier); border-radius: 24px; padding: 28px; margin-top: 30px; box-shadow: var(--ombre); }

/* textes légaux */
.legal { max-width: 820px; }
.legal h2 { font-size: 28px; margin-top: 1.6em; }
.legal h3 { font-size: 21px; margin-top: 1.2em; }

@media print {
  .entete, .pied, .barre-tel, .suite, .envoi, .outils-bilan, .quiz-nav, .progression, .ne-pas-imprimer { display: none !important; }
  body { background: #fff; font-size: 13pt; }
  .quiz-carte { box-shadow: none; border: 0; padding: 0; }
  .item { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.espace { margin-top: 30px; }
.au-centre { justify-content: center; }
.apercu { width: 100%; height: auto; }

.apercu-fig { margin: 8px 0 22px; }
@media (max-width: 560px) { .apercu-fig { margin: 4px -14px 18px; } }
