/* ==========================================================================
   mairieferrieres17.fr, feuille de style
   Palette prune / terracotta / sable. Fraunces + Instrument Sans.
   Nomenclature : bloc__element, bloc--variante.
   ========================================================================== */

:root {
  /* --- Couleurs ------------------------------------------------------- */
  --sable:        #FAF6F1;   /* fond de page */
  --sable-2:      #F2E9E0;   /* surfaces alternees */
  --blanc:        #FFFFFF;
  --prune:        #4A2545;   /* couleur principale, titres, surfaces sombres */
  --prune-2:      #67386B;   /* survol */
  --prune-pale:   #EFE3EC;
  --terre:        #C0563A;   /* appels a l'action */
  --terre-2:      #A2452D;   /* survol */
  --terre-pale:   #F8E7E0;
  --ocre:         #D9A441;   /* pastilles offre */
  --ocre-pale:    #F7EAD0;
  --encre:        #24192B;   /* texte courant */
  --encre-mute:   #5F5061;   /* texte secondaire */
  --ligne:        #E6D9CE;   /* filets et bordures */
  --vert:         #2E7D5B;
  --rouge:        #B3402F;

  /* --- Typographie ---------------------------------------------------- */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* --- Rayons et ombres ----------------------------------------------- */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
  --ombre-s: 0 1px 2px rgba(36, 25, 43, .05), 0 2px 8px rgba(36, 25, 43, .05);
  --ombre-m: 0 4px 12px rgba(36, 25, 43, .06), 0 12px 30px rgba(36, 25, 43, .07);
  --ombre-l: 0 10px 24px rgba(36, 25, 43, .08), 0 28px 58px rgba(36, 25, 43, .11);

  /* --- Rythme ---------------------------------------------------------- */
  --shell: 1180px;
  --gouttiere: 24px;
}

/* ==========================================================================
   1. Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sable);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--terre-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--terre); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--prune);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(34px, 4.6vw, 54px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.25; }
h4 { font-size: 17px; }

p { margin: 0 0 18px; }

ul, ol { margin: 0 0 20px; padding-left: 22px; }
li { margin-bottom: 9px; }

strong { font-weight: 600; color: var(--prune); }

::selection { background: var(--ocre-pale); color: var(--prune); }

:focus-visible {
  outline: 3px solid var(--terre);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   2. Boutons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  border: 0;
  border-radius: var(--r-pill);
  padding: 15px 26px;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.btn--call {
  background: var(--terre);
  color: var(--blanc);
  box-shadow: 0 6px 18px rgba(192, 86, 58, .28);
}
.btn--call:hover {
  background: var(--terre-2);
  color: var(--blanc);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(192, 86, 58, .34);
}

.btn--lg { font-size: 18px; padding: 19px 34px; }

/* ==========================================================================
   3. Barre superieure
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 241, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--ligne);
}

.topbar__row {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px var(--gouttiere);
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__brand {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  color: var(--prune);
  text-decoration: none;
  letter-spacing: -.02em;
  flex: 0 0 auto;
}
.topbar__brand span { color: var(--terre); }

.topnav { margin-left: auto; }
.topnav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topnav li { margin: 0; }
.topnav a {
  color: var(--encre-mute);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .16s ease;
}
.topnav a:hover { color: var(--prune); }

/* Deux lignes : le numero, et le tarif juste en dessous. Toutes les
   incitations a l'appel du site portent leur prix. */
.topbar__phone {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: var(--prune);
  color: var(--blanc);
  text-decoration: none;
  padding: 8px 20px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color .16s ease;
}
.topnav + .topbar__phone { margin-left: 0; }
.topbar__phone:hover { background: var(--prune-2); color: var(--blanc); }
.topbar__num { font-weight: 700; font-size: 15px; line-height: 1.15; }
.topbar__rate {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.15;
  color: rgba(255, 255, 255, .74);
}

/* ==========================================================================
   4. Introduction (hero)
   ========================================================================== */

.intro { padding: 34px 0 8px; }

.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
  background: linear-gradient(140deg, var(--sable-2) 0%, #F9EFE6 48%, var(--terre-pale) 100%);
  border: 1px solid var(--ligne);
  border-radius: var(--r-xl);
  padding: 56px 54px;
}

.intro__kicker {
  display: inline-block;
  background: var(--prune-pale);
  color: var(--prune);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.intro__col { min-width: 0; }
.intro__col h1 { margin: 0 0 18px; }
.intro__col h1 em {
  font-style: italic;
  color: var(--terre);
}

.intro__lead {
  font-size: 17px;
  color: var(--encre-mute);
  max-width: 34em;
  margin: 0 0 26px;
}
.intro__lead strong { color: var(--encre); font-weight: 600; }

.intro__offer {
  display: block;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-left: 4px solid var(--terre);
  border-radius: var(--r-m);
  padding: 15px 20px;
  margin: 22px 0 16px;
  max-width: 30em;
  box-shadow: var(--ombre-s);
}
.intro__offer strong {
  display: block;
  font-size: 16px;
  color: var(--prune);
  margin-bottom: 3px;
}
.intro__offer span {
  display: block;
  font-size: 14px;
  color: var(--encre-mute);
}

.intro__note {
  font-size: 13.5px;
  color: var(--encre-mute);
  margin: 0;
}

.intro__media { position: relative; }

.intro__photo {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--ombre-l);
}

.intro__badge {
  position: absolute;
  left: -22px;
  bottom: 32px;
  background: var(--blanc);
  border-radius: var(--r-l);
  padding: 16px 22px;
  box-shadow: var(--ombre-m);
  border: 1px solid var(--ligne);
  text-align: center;
}
.intro__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--terre);
  line-height: 1;
  margin-bottom: 4px;
}
.intro__badge span {
  display: block;
  font-size: 12.5px;
  color: var(--encre-mute);
  line-height: 1.35;
}

/* ==========================================================================
   5. Titres de section
   ========================================================================== */

.block-head { max-width: 46em; margin: 74px 0 30px; }
.block-head h2 { margin-bottom: 10px; scroll-margin-top: 90px; }
.block-head p {
  color: var(--encre-mute);
  font-size: 17px;
  margin: 0;
}

/* ==========================================================================
   6. Annuaire des praticiens
   ========================================================================== */

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 20px;
}

.pro {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--ombre-s);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pro:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-m);
}

/* Cadre photo en 4/5 : assez haut pour garder le visage entier.
   Chaque image regle son point focal via --focus (defini dans le HTML). */
.pro__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sable-2);
}
.pro__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 26%);
}
.pro__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
              rgba(36, 25, 43, .34) 0%,
              rgba(36, 25, 43, 0) 30%,
              rgba(36, 25, 43, 0) 60%,
              rgba(36, 25, 43, .45) 100%);
  pointer-events: none;
}

.pro__status {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--prune);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.pro__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--prune);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: var(--r-pill);
}

.pro__body {
  flex: 1 1 auto;
  padding: 22px 22px 18px;
}

.pro__name { font-size: 24px; margin: 0 0 4px; }

.pro__meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--terre-2);
  margin: 0 0 12px;
}

.pro__text {
  font-size: 15.5px;
  color: var(--encre-mute);
  line-height: 1.6;
  margin: 0;
}

/* Pied de carte : une seule rangee alignee, sur fond distinct.
   margin-top:auto le colle en bas quelle que soit la longueur du texte. */
.pro__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  background: var(--sable);
  border-top: 1px solid var(--ligne);
}

.pro__deal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.pro__free {
  background: var(--ocre-pale);
  color: #7A5A12;
  border: 1px solid #E9D3A4;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.pro__rate {
  font-size: 12.5px;
  color: var(--encre-mute);
  padding-left: 2px;
  line-height: 1.2;
}

.pro__call {
  flex: 0 0 auto;
  background: var(--terre);
  color: var(--blanc);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color .16s ease, transform .16s ease;
}
.pro__call:hover {
  background: var(--terre-2);
  color: var(--blanc);
  transform: translateY(-1px);
}

.roster-note {
  font-size: 14px;
  color: var(--encre-mute);
  margin: 4px 0 0;
}

/* ==========================================================================
   7. Contenu editorial
   ========================================================================== */

.guide {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0 10px;
}

.guide h2 {
  margin-top: 62px;
  scroll-margin-top: 90px;
}
.guide h3 {
  margin-top: 34px;
  color: var(--prune-2);
}

.guide p, .guide li { font-size: 17px; }

.guide ul { list-style: none; padding-left: 0; }
.guide ul > li {
  position: relative;
  padding-left: 26px;
}
.guide ul > li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terre);
}
.guide ol { padding-left: 24px; }
.guide ol li::marker { color: var(--terre); font-weight: 700; }

/* Signature de redaction */
.byline {
  background: var(--sable-2);
  border: 1px solid var(--ligne);
  border-radius: var(--r-l);
  padding: 24px 26px;
  margin-bottom: 12px;
}
.byline__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--prune);
  margin: 0 0 2px;
}
.byline__role {
  font-size: 13px;
  color: var(--terre-2);
  font-weight: 600;
  margin: 0 0 10px;
}
.byline__bio {
  font-size: 15px;
  color: var(--encre-mute);
  margin: 0;
  line-height: 1.6;
}

/* Sommaire */
.toc {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-l);
  padding: 22px 26px;
  margin: 26px 0 10px;
  box-shadow: var(--ombre-s);
}
.toc__title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--encre-mute);
  margin: 0 0 14px;
}
.toc ol {
  columns: 2;
  column-gap: 34px;
  margin: 0;
  padding-left: 20px;
  font-size: 15.5px;
}
.toc li { margin-bottom: 7px; break-inside: avoid; }
.toc a { color: var(--prune); text-decoration: none; }
.toc a:hover { color: var(--terre); text-decoration: underline; }

/* Tableaux */
.table-wrap {
  overflow-x: auto;
  margin: 26px 0 28px;
  border: 1px solid var(--ligne);
  border-radius: var(--r-m);
  background: var(--blanc);
  box-shadow: var(--ombre-s);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  min-width: 560px;
}
.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ligne);
}
.data-table thead th {
  background: var(--prune);
  color: var(--blanc);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  border-bottom: 0;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: #FCF9F5; }
.data-table td strong { color: var(--prune); }

/* Deux colonnes : ce qui rassure / ce qui alerte */
.verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 26px 0 28px;
}
.verdict__col {
  border-radius: var(--r-m);
  padding: 22px 24px;
  border: 1px solid;
}
.verdict__col h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-family: var(--sans);
  font-weight: 700;
}
.verdict__col ul { margin: 0; }
.verdict__col li { font-size: 15.5px; line-height: 1.55; }

.verdict--yes { background: #F0F7F3; border-color: #CBE4D8; }
.verdict--yes h3 { color: var(--vert); }

.verdict--no { background: #FCF0EE; border-color: #F0D2CC; }
.verdict--no h3 { color: var(--rouge); }

/* Selecteurs alignes sur .guide ul > li::before, sinon la puce terracotta
   l'emporte en specificite et les deux colonnes sortent de la meme couleur. */
.guide .verdict--yes ul > li::before { background: var(--vert); }
.guide .verdict--no  ul > li::before { background: var(--rouge); }

/* Listes qui portent leur propre marqueur : la puce ferait doublon. */
.guide ul.list-marked > li { padding-left: 0; }
.guide ul.list-marked > li::before,
.guide ul.picks > li::before { content: none; }

/* Encadres */
.note {
  border-radius: var(--r-m);
  padding: 20px 24px;
  margin: 26px 0 28px;
  border-left: 4px solid var(--terre);
  background: var(--terre-pale);
}
.note p:last-child { margin-bottom: 0; }
.note ul:last-child { margin-bottom: 0; }
.note__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terre-2);
  margin-bottom: 7px;
}

.note--warn { background: #FDF6E3; border-left-color: var(--ocre); }
.note--warn .note__label { color: #8A6410; }

.note--plum { background: var(--prune-pale); border-left-color: var(--prune); }
.note--plum .note__label { color: var(--prune); }

/* Etapes numerotees */
.flow {
  list-style: none;
  padding: 0;
  margin: 26px 0 28px;
  display: grid;
  gap: 16px;
}
.flow__step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-m);
  padding: 20px 22px;
  margin: 0;
  box-shadow: var(--ombre-s);
}
.flow__step::before { display: none; }
.flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--prune);
  color: var(--blanc);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}
.flow__step h3 { margin: 4px 0 6px; font-size: 19px; }
.flow__step p { margin: 0; font-size: 15.5px; color: var(--encre-mute); }
.flow__step p + p { margin-top: 8px; }

/* Raccourci situation vers praticien */
.picks {
  margin: 22px 0 30px;
  border: 1px solid var(--ligne);
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--blanc);
  box-shadow: var(--ombre-s);
}
.guide ul.picks > li,
.picks > li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 13px 18px;
  border-bottom: 1px solid var(--ligne);
  font-size: 15.5px;
  color: var(--encre-mute);
}
.picks > li:last-child { border-bottom: 0; }
.picks > li:nth-child(even) { background: #FCF9F5; }
.picks__then {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--prune);
}

/* Test d'orientation */
.quiz {
  background: linear-gradient(160deg, var(--sable-2) 0%, var(--terre-pale) 100%);
  border: 1px solid var(--ligne);
  border-radius: var(--r-xl);
  padding: 30px 32px 32px;
  margin: 34px 0 12px;
}
.quiz__eyebrow {
  display: inline-block;
  background: var(--prune);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
/* Le quiz vit dans .guide : ses paragraphes doivent porter deux classes
   pour passer devant la regle .guide p, sinon tout retombe a 17px. */
.quiz h3 { margin: 0 0 8px; font-size: 26px; color: var(--prune); }
.quiz .quiz__lead { font-size: 15px; color: var(--encre-mute); margin: 0 0 22px; }

.quiz__stage {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-l);
  padding: 24px 26px;
  box-shadow: var(--ombre-s);
}
.quiz__stage p:last-child { margin-bottom: 0; }

.quiz .quiz__step {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--terre-2);
  margin: 0 0 7px;
}
.quiz__bar {
  height: 4px;
  border-radius: 2px;
  background: var(--sable-2);
  overflow: hidden;
  margin: 0 0 20px;
}
.quiz__bar i {
  display: block;
  height: 100%;
  background: var(--terre);
  transition: width .25s ease;
}
.quiz .quiz__q {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--prune);
  line-height: 1.25;
  margin: 0 0 16px;
}
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 15.5px;
  color: var(--encre);
  background: var(--sable);
  border: 1px solid var(--ligne);
  border-radius: var(--r-m);
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.quiz__opt:hover {
  border-color: var(--terre);
  background: var(--terre-pale);
  transform: translateX(3px);
}

.quiz__back {
  font: inherit;
  font-size: 14px;
  color: var(--encre-mute);
  background: none;
  border: 0;
  padding: 0;
  margin-top: 16px;
  cursor: pointer;
  text-decoration: underline;
}
.quiz__back:hover { color: var(--terre); }

.quiz .quiz__found {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--terre-2);
  margin: 0 0 14px;
}
.quiz__card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: start;
}
.quiz__photo {
  width: 130px;
  height: 163px;
  object-fit: cover;
  border-radius: var(--r-m);
  border: 1px solid var(--ligne);
}
.quiz .quiz__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--prune);
  line-height: 1.15;
  margin: 0 0 3px;
}
.quiz .quiz__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--terre-2);
  margin: 0 0 10px;
}
.quiz .quiz__why { font-size: 15.5px; color: var(--encre-mute); margin: 0 0 16px; }
.quiz .quiz__deal { font-size: 13px; color: var(--encre-mute); margin: 12px 0 0; }
.quiz .quiz__alt {
  font-size: 14.5px;
  color: var(--encre-mute);
  border-top: 1px solid var(--ligne);
  margin: 20px 0 0;
  padding-top: 16px;
}
.quiz .quiz__restart { margin: 12px 0 0; }

/* Questions frequentes */
.qa {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-m);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--ombre-s);
}
.qa h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--prune);
}
.qa p { margin: 0; font-size: 16px; color: var(--encre-mute); }
.qa p + p { margin-top: 12px; }

/* Grille de reperes chiffres */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 16px;
  margin: 26px 0 28px;
}
.facts__item {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-m);
  padding: 18px 20px;
  box-shadow: var(--ombre-s);
}
.facts__value {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  color: var(--terre);
  line-height: 1.1;
  margin-bottom: 5px;
}
.facts__label {
  display: block;
  font-size: 13.5px;
  color: var(--encre-mute);
  line-height: 1.4;
}

/* ==========================================================================
   8. Bloc d'appel final
   ========================================================================== */

.closer {
  background: linear-gradient(150deg, var(--prune) 0%, #351930 100%);
  border-radius: var(--r-xl);
  padding: 58px 40px;
  text-align: center;
  margin: 70px 0 90px;
  color: rgba(255, 255, 255, .82);
}
.closer h2 { color: var(--blanc); margin-bottom: 12px; }
.closer p { max-width: 34em; margin: 0 auto 26px; font-size: 17px; }
.closer__badge {
  display: inline-block;
  background: var(--ocre);
  color: #3A2606;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.closer__rate {
  font-size: 14px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .68);
}

/* ==========================================================================
   9. Barre d'appel collante (mobile)
   ========================================================================== */

.dock {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--blanc);
  border-top: 1px solid var(--ligne);
  box-shadow: 0 -6px 20px rgba(36, 25, 43, .12);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.dock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

/* Colonne de gauche : compte a rebours au-dessus, tarif en dessous.
   flex:0 1 auto pour qu'elle cede avant le bouton d'appel. */
.dock__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: 0 1 auto;
  min-width: 0;
}
.dock__timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ocre-pale);
  border: 1px solid #E9D3A4;
  color: #7A5A12;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
/* Sans cette ligne l'attribut hidden reste sans effet : une regle d'auteur
   sur display l'emporte toujours sur le [hidden]{display:none} du navigateur. */
.dock__timer[hidden] { display: none; }
.dock__timer svg { flex: 0 0 auto; }
.dock__timer b { font-variant-numeric: tabular-nums; }
/* L'offre porte le message, le tarif reste une mention. */
.dock__rate {
  font-size: 11px;
  line-height: 1.3;
  color: var(--encre-mute);
}
.dock__rate b {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--prune);
}

/* flex:1 pour que le bouton mange l'espace libre et s'etende vers la
   gauche, au lieu de rester tasse contre le bord droit. */
.dock__btn {
  flex: 1 1 auto;
  min-width: 138px;
  text-align: center;
  background: var(--terre);
  color: var(--blanc);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.dock__btn:hover { background: var(--terre-2); color: var(--blanc); }

/* ==========================================================================
   10. Pied de page
   ========================================================================== */

.pagefoot {
  background: var(--prune);
  color: rgba(255, 255, 255, .72);
  padding: 56px 0 30px;
  font-size: 15px;
}
.pagefoot a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.pagefoot a:hover { color: var(--blanc); text-decoration: underline; }

.pagefoot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.pagefoot__title {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--blanc);
  margin: 0 0 14px;
}
.pagefoot__links { list-style: none; margin: 0; padding: 0; }
.pagefoot__links li { margin-bottom: 9px; }
.pagefoot p { margin: 0 0 14px; line-height: 1.6; }
.pagefoot strong { color: var(--blanc); }

.pagefoot__bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 22px;
}
.legal-note {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .58);
  line-height: 1.6;
  margin: 0 0 8px;
}
.legal-note a { color: rgba(255, 255, 255, .8); text-decoration: underline; }

/* ==========================================================================
   11. Pages secondaires (mentions, confidentialite, conditions)
   ========================================================================== */

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 54px 0 80px;
}
.page h1 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 26px; }
.page h2 {
  font-size: 22px;
  margin-top: 38px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ligne);
}
.page p, .page li { font-size: 16.5px; color: var(--encre-mute); }
.page strong { color: var(--prune); }
.page-back { display: inline-block; margin-top: 32px; font-weight: 600; }

/* Variante claire du pied de page, utilisee sur les pages secondaires. */
.pagefoot--light {
  background: var(--sable-2);
  color: var(--encre-mute);
  border-top: 1px solid var(--ligne);
  padding: 34px 0;
}
.pagefoot--light a { color: var(--terre-2); text-decoration: underline; }
.pagefoot--light a:hover { color: var(--terre); }
.pagefoot--light strong { color: var(--prune); }
.pagefoot--light .legal-note { color: var(--encre-mute); }

/* ==========================================================================
   12. Adaptations ecran
   ========================================================================== */

@media (max-width: 1000px) {
  .intro__grid { padding: 44px 38px; gap: 38px; }
  .pagefoot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 34px 26px;
  }
  .intro__media { order: -1; max-width: 440px; margin: 0 auto; width: 100%; }
  .intro__badge { left: auto; right: 14px; bottom: 14px; }
  .topnav { display: none; }
  .verdict { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --gouttiere: 18px; }

  .intro { padding: 22px 0 0; }
  .intro__grid { border-radius: var(--r-l); }

  /* Carre plutot que paysage : sur une photo en 2/3, un cadre 3/2 coupe
     systematiquement le front ou le menton. */
  .roster { grid-template-columns: 1fr; gap: 22px; }
  .pro__media { aspect-ratio: 1 / 1; }

  .block-head { margin: 52px 0 24px; }
  .guide { padding-top: 26px; }
  .guide h2 { margin-top: 48px; }
  .guide p, .guide li { font-size: 16px; }

  .byline { padding: 20px; }

  .quiz { padding: 22px 18px 24px; border-radius: var(--r-l); }
  .quiz h3 { font-size: 22px; }
  .quiz__stage { padding: 20px 18px; }
  .quiz__q { font-size: 19px; }
  .quiz__opt { padding: 13px 15px; font-size: 15px; }
  .quiz__card { grid-template-columns: 1fr; gap: 16px; }
  .quiz__photo { width: 120px; height: 150px; }

  .picks > li { flex-direction: column; gap: 3px; align-items: flex-start; }

  .closer { padding: 42px 24px; margin: 52px 0 96px; border-radius: var(--r-l); }

  .flow__step { grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; }
  .flow__num { width: 40px; height: 40px; font-size: 18px; }

  .pagefoot__grid { grid-template-columns: 1fr; gap: 30px; }
  .pagefoot { padding-bottom: 92px; }
  .page { padding-bottom: 96px; }

  .dock { display: block; }
}

@media (max-width: 420px) {
  .pro__foot { padding: 14px 18px; gap: 10px; }
  .pro__call { padding: 11px 18px; font-size: 14.5px; }

  /* Le tarif ne disparait jamais : on retrecit, on ne masque pas. */
  .dock { padding-left: 12px; padding-right: 12px; }
  .dock__row { gap: 9px; }
  .dock__timer { font-size: 11px; padding: 3px 8px; }
  .dock__rate { font-size: 11px; }
  .dock__btn { font-size: 15px; padding: 12px 15px; }
  .topbar__row { gap: 12px; }
  .topbar__rate { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media print {
  .topbar, .dock, .closer, .intro__media { display: none; }
  body { background: #fff; }
}
