/* medicotour.com — charte graphique v2 (crème, vert profond, serif éditorial) */

:root {
  --creme: #fbf6ec;
  --creme-2: #f3eada;
  --blanc: #ffffff;
  --encre: #14231f;
  --encre-douce: #4c5b55;
  --vert: #0b4a40;
  --vert-fonce: #063730;
  --vert-clair: #e3efe9;
  --corail: #c8492f;
  --corail-clair: #fbe9e3;
  --bordure: #e3d9c9;
  --rayon: 18px;
  --rayon-petit: 10px;
  --largeur: 1160px;
  --espace: clamp(1rem, 2.5vw, 2.25rem);
  --police: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --police-titre: "Iowan Old Style", "Palatino Linotype", Palatino,
    "Book Antiqua", Georgia, serif;
  --ombre: 0 1px 2px rgba(20, 35, 31, 0.05), 0 10px 30px rgba(20, 35, 31, 0.06);
}

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

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

body {
  margin: 0;
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--creme);
}

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

a {
  color: var(--vert);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--vert-fonce); }

/* Focus visible unique et contrasté (RGAA 10.7) */
:focus-visible {
  outline: 3px solid var(--corail);
  outline-offset: 2px;
  border-radius: 4px;
}

.visuellement-cache {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lien-evitement {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--vert-fonce);
  color: #fff;
  padding: 0.85rem 1.1rem;
  z-index: 200;
  border-radius: 0 0 var(--rayon-petit) 0;
}
.lien-evitement:focus { left: 0; }

.conteneur {
  width: min(100% - 2.25rem, var(--largeur));
  margin-inline: auto;
}

/* ---------- En-tête ---------- */

.entete-site {
  border-bottom: 1px solid var(--bordure);
  background: rgba(251, 246, 236, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.entete-site__barre {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
  padding-block: 1.05rem;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.logo__marque { color: var(--encre); }
.logo__point { color: var(--vert); }

.menu-bouton {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 999px;
  cursor: pointer;
}
.menu-bouton__barre,
.menu-bouton__barre::before,
.menu-bouton__barre::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--encre);
  position: relative;
}
.menu-bouton__barre::before,
.menu-bouton__barre::after { content: ""; position: absolute; left: 0; }
.menu-bouton__barre::before { top: -6px; }
.menu-bouton__barre::after { top: 6px; }

.menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.menu__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.menu__liste a {
  color: var(--encre);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-block: 0.3rem;
  border-bottom: 1px solid transparent;
}
.menu__liste a:hover {
  border-bottom-color: var(--vert);
  color: var(--vert);
}

/* ---------- Menus déroulants accessibles, sans JavaScript ---------- */

.derive { position: relative; }
.derive > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  cursor: pointer;
  color: var(--encre);
  font-weight: 500;
  font-size: 0.95rem;
  padding-block: 0.3rem;
  border-bottom: 1px solid transparent;
}
.derive > summary::-webkit-details-marker { display: none; }
.derive > summary::marker { content: ""; }
.derive > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
.derive > summary:hover,
.derive[open] > summary {
  color: var(--vert);
  border-bottom-color: var(--vert);
}

.derive__panneau {
  padding: 1.15rem 1.25rem 1rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 18px;
  box-shadow: var(--ombre);
}
.derive__groupes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.25rem;
}
.derive__titre {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.derive__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem;
}
.derive__liste a {
  display: block;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 8px;
  color: var(--encre);
  text-decoration: none;
  font-size: 0.92rem;
}
.derive__liste a:hover {
  background: var(--creme);
  color: var(--vert);
  border: 0;
}
/* Deuxième ligne d'une entrée de menu : la ville ou le pays. */
.derive__lieu {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--encre-douce);
}
.derive__pied {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.7rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--bordure);
}
.derive__pied a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vert);
}
/* Marqueur des pages déjà produites : un point discret, explicité en pied de menu. */
.derive__liste a[data-publie="true"]::after,
.menu__liste > li > a[data-publie="true"]::after {
  content: "•";
  margin-left: 0.4em;
  color: var(--vert);
  font-weight: 700;
}
.derive__legende {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--encre-douce);
}
.derive__legende::before {
  content: "•";
  color: var(--vert);
  font-weight: 700;
}

@media (min-width: 1000px) {
  .derive__panneau {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(24rem, 88vw);
    z-index: 40;
  }
  .derive__panneau--large { width: min(46rem, 92vw); }
  /* Dernière entrée de la barre : le panneau s'aligne à droite pour ne pas sortir de l'écran. */
  .derive__panneau--fin {
    left: auto;
    right: 0;
    transform: none;
  }
}

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--police);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.bouton--principal {
  background: var(--vert);
  color: #fff;
  box-shadow: 0 1px 2px rgba(6, 55, 48, 0.18);
}
.bouton--principal:hover {
  background: var(--vert-fonce);
  color: #fff;
  transform: translateY(-1px);
}
.bouton--large { width: 100%; }

/* ---------- Fil d'Ariane ---------- */

.fil-ariane {
  font-size: 0.85rem;
  color: var(--encre-douce);
  padding-block: 1.25rem 0.25rem;
}
.fil-ariane a { color: var(--encre-douce); }
.fil-ariane span[aria-current] { color: var(--encre); }

/* ---------- Bandeau d'état ---------- */

.bandeau-statut {
  margin-block: 1.25rem 0;
  padding: 0.85rem 1.1rem;
  border: 1px solid #ebc9bd;
  border-left: 3px solid var(--corail);
  background: var(--corail-clair);
  color: #7a2a1c;
  font-size: 0.9rem;
  border-radius: 0 var(--rayon-petit) var(--rayon-petit) 0;
}

/* ---------- En-tête de page ---------- */

.entete-page {
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem);
  max-width: 60rem;
}

.surtitre {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert);
  font-weight: 600;
}
.surtitre::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--corail);
  flex: 0 0 auto;
}

h1 {
  font-family: var(--police-titre);
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.chapo {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  color: var(--encre-douce);
  max-width: 58ch;
  margin: 0 0 1rem;
}

.statut-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--vert-fonce);
  background: var(--vert-clair);
  border: 1px solid #cfe3d9;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.statut-editorial::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--vert);
}

/* ---------- Encadré prix ---------- */

.encart-prix {
  margin-block: 1.75rem;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--blanc);
  box-shadow: var(--ombre);
}

.encart-prix__entete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.15rem 1.35rem 0.35rem;
}

.encart-prix__titre {
  margin: 0;
  font-family: var(--police-titre);
  font-size: 1.2rem;
  font-weight: 400;
}

.encart-prix__date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--encre-douce);
}

.encart-prix__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.encart-prix__table caption {
  text-align: left;
  padding: 0 1.35rem 0.6rem;
  font-size: 0.8rem;
  color: var(--encre-douce);
}
.encart-prix__table th,
.encart-prix__table td {
  padding: 0.7rem 1.35rem;
  text-align: right;
  border-top: 1px solid var(--bordure);
}
.encart-prix__table th:first-child,
.encart-prix__table td:first-child { text-align: left; }
.encart-prix__table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--encre-douce);
  background: var(--creme);
  border-top: 0;
}
.encart-prix__table td.valeur-destination {
  font-weight: 700;
  color: var(--vert-fonce);
  background: var(--vert-clair);
}

.encart-prix__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.35rem;
  border-top: 1px solid var(--bordure);
  background: var(--creme);
  font-size: 0.85rem;
}
.encart-prix__pied p { margin: 0; flex: 1 1 260px; color: var(--encre-douce); }

.source-prix {
  margin-top: -0.85rem;
  margin-bottom: 1.75rem;
  font-size: 0.82rem;
  color: var(--encre-douce);
}

/* ---------- Tableau défilant accessible ---------- */

.tableau-defilant { max-width: 100%; }
.tableau-defilant:focus-visible { outline-offset: 4px; }

/* ---------- Sommaire ---------- */

.sommaire {
  margin-block: 1.75rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  background: var(--blanc);
}
.sommaire h2 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-family: var(--police);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--encre-douce);
}
.sommaire ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2.5rem;
}
.sommaire li { margin-block: 0.3rem; font-size: 0.95rem; }

/* ---------- Article ---------- */

.article { max-width: 70ch; }

.article h2 {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 3rem 0 1rem;
  scroll-margin-top: 7rem;
}

.article h3 {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 1.28rem;
  margin: 1.8rem 0 0.5rem;
}
.article p { margin: 0 0 1.1rem; }
.article ul, .article ol { margin: 0 0 1.3rem; padding-left: 1.35rem; }
.article li { margin-block: 0.4rem; }
.article strong { color: var(--encre); }

.article blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--vert);
  background: var(--vert-clair);
  border-radius: 0 var(--rayon-petit) var(--rayon-petit) 0;
}

/* ---------- Tableau de prix ---------- */

.tableau-prix-figure { margin: 1.75rem 0; }

.tableau-prix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: 0.92rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
}
.tableau-prix caption {
  caption-side: top;
  text-align: left;
  font-size: 0.8rem;
  color: var(--encre-douce);
  padding: 0 1rem 0.6rem;
}
.tableau-prix th, .tableau-prix td {
  border-bottom: 1px solid var(--bordure);
  padding: 0.75rem 0.9rem;
  text-align: right;
}
.tableau-prix tr:last-child th,
.tableau-prix tr:last-child td { border-bottom: 0; }
.tableau-prix th:first-child,
.tableau-prix td:first-child { text-align: left; }
.tableau-prix thead th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--creme);
  background: var(--vert);
  border-bottom: 0;
}
.tableau-prix tbody th {
  font-weight: 500;
  color: var(--encre);
}
.tableau-prix td:last-child {
  font-weight: 700;
  color: var(--vert-fonce);
  background: var(--vert-clair);
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0.6rem; }

.faq details {
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-petit);
  background: var(--blanc);
  padding: 0.2rem 1.1rem;
  transition: background 0.15s ease;
}
.faq details[open] { background: #fffdf8; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  padding-block: 0.9rem;
  padding-right: 2rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.75rem;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--vert);
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--vert-fonce); }
.faq .reponse { padding-bottom: 1rem; }
.faq .reponse p:last-child { margin-bottom: 0; }

/* ---------- Maillage ---------- */

.maillage {
  margin-block: 2.5rem;
  padding: 1.5rem;
  background: var(--creme-2);
  border-radius: var(--rayon);
}
.maillage h2 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-family: var(--police);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--encre-douce);
}
.maillage ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem 2rem;
}
.maillage a { font-weight: 500; }

/* ---------- CTA ---------- */

.cta {
  margin-block: 3.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 24px;
  background: var(--vert-fonce);
  color: var(--creme);
}
.cta h2 {
  margin: 0 0 0.6rem;
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: #fff;
}
.cta__texte {
  margin: 0 0 1.5rem;
  color: #cfe0d9;
  max-width: 58ch;
}

/* CTA contextuels : bandeau court, inséré dans le flux de lecture */
.cta--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  margin-block: 1.75rem;
  padding: 1rem 1.35rem;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  background: var(--creme-2);
  color: var(--encre);
}
.cta--compact .cta__accroche {
  margin: 0;
  flex: 1 1 320px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--encre);
}
.cta--compact .bouton { flex: 0 0 auto; }
.cta--prix { background: var(--blanc); box-shadow: var(--ombre); }

/* Formulaire */
.devis { display: grid; gap: 1rem; }

.devis__etape {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--rayon);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.1rem;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.devis__etape > legend {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cfe0d9;
  padding-inline: 0.45rem;
}

.champ { display: grid; gap: 0.3rem; }
.champ label { font-size: 0.88rem; font-weight: 500; color: #e7f0ec; }
.facultatif,
.obligatoire { font-weight: 400; color: #b9cdc5; }
.obligatoire { font-size: 0.82rem; }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #c6d2d5;
  border-radius: var(--rayon-petit);
  font: inherit;
  font-size: 0.95rem;
  background: var(--blanc);
  color: var(--encre);
}
.champ textarea { min-height: 7rem; resize: vertical; }
.champ input:focus-visible,
.champ select:focus-visible,
.champ textarea:focus-visible {
  outline: 3px solid var(--corail);
  outline-offset: 1px;
}

/* Cases à cocher, fichier, aide */
.champ input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  accent-color: var(--vert);
  flex: 0 0 auto;
}
.champ input[type="file"] {
  padding: 0.55rem 0.6rem;
  font-size: 0.88rem;
}
.champ__aide {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #b9cdc5;
}
.champ--case {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 0.6rem;
}
.champ--case label { font-weight: 400; font-size: 0.85rem; line-height: 1.5; }

/* Destinations : pastilles à cocher */
.champ--groupe {
  border: 0;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}
.champ--groupe legend {
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #e7f0ec;
}
.pays-grille {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pays-choix { position: relative; }
.pays-choix input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
}
.pays-choix label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.88rem;
  color: #e7f0ec;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pays-choix label:hover { border-color: var(--creme); }
.pays-choix input:checked + label {
  background: var(--creme);
  border-color: var(--creme);
  color: var(--vert-fonce);
  font-weight: 600;
}
.pays-choix input:focus-visible + label {
  outline: 3px solid var(--corail);
  outline-offset: 2px;
}

.cta[data-cta="final"] .bouton--principal {
  background: var(--creme);
  color: var(--vert-fonce);
}
.cta[data-cta="final"] .bouton--principal:hover {
  background: #fff;
  color: var(--vert-fonce);
}

.bandeau-confiance {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  font-size: 0.82rem;
  color: #cfe0d9;
}
.bandeau-confiance li { display: flex; align-items: center; gap: 0.45rem; }
.bandeau-confiance li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--corail);
}

/* ---------- Pied ---------- */

.pied-site {
  margin-top: 4rem;
  background: var(--creme-2);
  border-top: 1px solid var(--bordure);
  color: var(--encre);
  padding-block: 3rem 1.5rem;
  font-size: 0.92rem;
}
.pied-site a { color: var(--encre-douce); text-decoration: none; }
.pied-site a:hover { color: var(--vert); text-decoration: underline; }
.pied-site .logo__marque { color: var(--encre); }
.pied-site .logo__point { color: var(--vert); }
.pied-site__grille { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.pied-site nav h2 {
  font-size: 0.76rem;
  font-family: var(--police);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vert);
  margin: 0 0 0.7rem;
}
.pied-site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.pied-site__statut { color: var(--encre); font-weight: 600; margin: 0.35rem 0 0.5rem; }
.pied-site__note { max-width: 34ch; color: var(--encre-douce); font-size: 0.84rem; }
.pied-site__bas {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bordure);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--encre-douce);
}
.pied-site__avertissement { max-width: 62ch; }

/* ---------- Emplacement image ---------- */

.emplacement-image {
  margin: 1.75rem 0;
  padding: 0.6rem;
  border: 1px dashed #cfc3ae;
  border-radius: var(--rayon);
  background: var(--blanc);
  text-align: center;
  color: var(--encre-douce);
  font-size: 0.82rem;
}

.emplacement-image__cadre {
  display: grid;
  place-items: center;
  background: var(--vert-clair);
  border-radius: calc(var(--rayon) - 4px);
  color: var(--vert-fonce);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.emplacement-image figcaption {
  margin-top: 0.65rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--encre);
}

.emplacement-image__meta {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.74rem;
  color: var(--encre-douce);
}

/* ---------- Barre mobile ---------- */

.barre-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(251, 246, 236, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--bordure);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: 0 -6px 18px rgba(20, 35, 31, 0.08);
}

/* ---------- Responsive ---------- */

@media (min-width: 760px) {
  .pied-site__grille { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .devis { grid-template-columns: 1fr 1fr; }
  .maillage ul { grid-template-columns: 1fr 1fr; }
  .barre-mobile { display: none; }
}

/* La barre complète (7 entrées + bouton) mesure ~754 px : on bascule en menu
   accordéon sous 1000 px pour éviter tout débordement. */
@media (max-width: 999px) {
  /* Sans JS, le menu reste visible : aucun contenu n'est masqué. */
  .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
    padding-top: 1rem;
    order: 3;
  }
  .menu__liste {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .menu__liste a {
    display: block;
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--bordure);
    font-size: 1rem;
  }
  .derive { width: 100%; }
  .derive > summary {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--bordure);
    font-size: 1rem;
  }
  .derive__panneau {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0.4rem 0 0.9rem 0.5rem;
  }
  .derive__liste { grid-template-columns: 1fr; }
  .derive__groupes { grid-template-columns: 1fr; gap: 0.9rem; }
  .derive__liste a {
    padding: 0.55rem 0.5rem;
    font-size: 0.95rem;
    border-radius: 0;
  }
  .derive__pied a { border-radius: 0; }
  .menu .bouton { width: 100%; }
  .entete-site__barre { flex-wrap: wrap; }

  /* Avec JS, le menu est replié et le bouton apparaît. */
  .js .menu { display: none; }
  .js .menu.est-ouvert { display: flex; }
  .js .menu-bouton { display: inline-flex; }
}

@media (max-width: 759px) {
  .sommaire ol { columns: 1; }
  .tableau-defilant { overflow-x: auto; }
  .tableau-prix { white-space: nowrap; }
  body { padding-bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ================================================================ */
/* Mise en page v3 — hero scindé, bandeau de chiffres, cartes        */
/* ================================================================ */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(4.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(120% 90% at 85% 10%, #f7efe1 0%, rgba(247, 239, 225, 0) 60%),
    var(--creme);
}

.hero__grille {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__texte { max-width: 34rem; }
.hero--page .hero__texte { max-width: 48rem; }

.hero h1 {
  max-width: 20ch;
  margin-bottom: 1.1rem;
}

.hero .chapo { max-width: 46ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.75rem;
  margin-top: 1.75rem;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--vert);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.lien-fleche::after { content: "→"; }
.lien-fleche:hover { color: var(--vert-fonce); }

.hero__preuves {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  font-size: 0.82rem;
  color: var(--encre-douce);
}
.hero__preuves li { display: flex; align-items: center; gap: 0.45rem; }
.hero__preuves li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--vert);
  flex: 0 0 auto;
}

/* ---------- Carte de comparaison (hero de l'accueil) ---------- */

.hero--accueil .hero__texte { max-width: 38rem; }

.carte-comparaison {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
}

.carte-comparaison__surtitre {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

.carte-comparaison__titre {
  margin: 0 0 1.1rem;
  font-family: var(--police-titre);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.25;
  color: var(--vert-fonce);
}

.carte-comparaison__lignes {
  margin: 0;
  border-top: 1px solid var(--bordure);
}

.carte-comparaison__ligne {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--bordure);
}

.carte-comparaison__ligne dt {
  font-size: 0.92rem;
  color: var(--encre-douce);
}

.carte-comparaison__ligne dd {
  margin: 0;
  font-family: var(--police-titre);
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  color: var(--encre);
  white-space: nowrap;
}

.carte-comparaison__ligne:first-child dd { color: var(--vert); }

.carte-comparaison__ecart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin: 0.95rem 0 0;
  font-size: 0.86rem;
  color: var(--encre-douce);
}

.carte-comparaison__badge {
  display: inline-block;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: var(--vert-clair);
  color: var(--vert-fonce);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.carte-comparaison__lien {
  display: inline-block;
  margin-top: 1.05rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--vert);
}

.carte-comparaison__note {
  margin: 0.85rem 0 0;
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--encre-douce);
}

@media (max-width: 759px) {
  .carte-comparaison { margin-top: 0.5rem; }
}

.hero__visuel { position: relative; }
.hero__visuel::before {
  content: "";
  position: absolute;
  top: -4%;
  right: -6%;
  width: 62%;
  aspect-ratio: 1;
  border: 1.5px solid #ddcfb8;
  border-radius: 50%;
  z-index: 0;
}

.emplacement-image--hero {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.5rem;
  background: var(--blanc);
  box-shadow: var(--ombre);
}

.emplacement-image--hero .emplacement-image__cadre {
  min-height: 18rem;
}

/* ---------- Bandeau de chiffres ---------- */

.chiffres {
  position: relative;
  z-index: 2;
  margin-top: clamp(-3rem, -4vw, -2rem);
  margin-bottom: 2.25rem;
}

.chiffres__grille {
  display: grid;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  overflow: hidden;
}

.chiffres__item {
  padding: 1.35rem 1.25rem;
  text-align: center;
}
.chiffres__item + .chiffres__item { border-top: 1px solid var(--bordure); }

.chiffres__valeur {
  margin: 0;
  font-family: var(--police-titre);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.1;
  color: var(--vert-fonce);
}
.chiffres__label {
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  color: var(--encre-douce);
}

/* ---------- Article : pleine largeur du conteneur ---------- */

.article { max-width: none; }

/* Aucune colonne latérale : chaque section occupe toute la largeur. */
.bloc { max-width: none; }

.bloc--large {
  margin-block: 2.5rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 22px;
  box-shadow: var(--ombre);
}
.bloc--large h2 { margin-top: 0; }
.bloc--large .tableau-prix-figure { margin-bottom: 0.5rem; }

/* ---------- Frise des étapes ---------- */

.frise {
  margin: 2.5rem 0;
  padding: 1.5rem 1.25rem 1rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 18px;
}
.frise svg { display: block; width: 100%; height: auto; }
.frise__svg { display: none; }
.frise__liste {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}
.frise figcaption {
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: var(--encre-douce);
  text-align: center;
}

@media (min-width: 760px) {
  .frise__svg { display: block; }
  .frise__liste { display: none; }
}

/* ---------- Maillage en cartes ---------- */

.maillage {
  margin-block: 3rem;
  padding: 0;
  background: none;
  border-radius: 0;
}

.maillage ul {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.maillage li {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.maillage li:hover {
  border-color: var(--vert);
  transform: translateY(-1px);
}

.maillage a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.95rem 1.15rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--encre);
}
.maillage a::after {
  content: "→";
  color: var(--vert);
  font-weight: 600;
  flex: 0 0 auto;
}

/* ---------- Avis ---------- */

.avis-chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1px;
  margin: 1.5rem 0 2rem;
  background: var(--bordure);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
}
.avis-chiffres > div {
  background: var(--blanc);
  padding: 1rem 1.15rem;
}
.avis-chiffres dt {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.avis-chiffres dd {
  margin: 0.2rem 0 0;
  font-family: var(--police-titre);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--vert);
}

.avis-liste {
  display: grid;
  gap: 1.15rem;
  margin: 1.75rem 0;
}

.avis {
  margin: 0;
  padding: 1.35rem 1.5rem 1.2rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-left: 4px solid var(--vert);
  border-radius: 0 var(--rayon) var(--rayon) 0;
}
.avis__texte {
  margin: 0;
  font-family: var(--police-titre);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--encre);
}
.avis__texte p { margin: 0; }
.avis__traduction {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--encre-douce);
}
.avis__etiq {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--vert-clair);
  color: var(--vert);
  font-family: var(--police);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.avis__signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--bordure);
  font-size: 0.88rem;
  color: var(--encre-douce);
}
.avis__signature strong {
  font-family: var(--police);
  font-size: 0.95rem;
  color: var(--encre);
}
.avis__signature a {
  margin-left: auto;
  color: var(--vert);
  text-underline-offset: 3px;
}

@media (min-width: 760px) {
  .avis-chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Nombre impair de chiffres en mobile : le dernier occupe la ligne entière
   au lieu de laisser une case vide. */
@media (max-width: 759px) {
  .avis-chiffres {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .avis-chiffres > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Ajustements ---------- */

.sommaire { margin-top: 0; }
.encart-prix { margin-top: 0; }

@media (min-width: 760px) {
  .chiffres__grille { grid-template-columns: repeat(3, 1fr); }
  .chiffres__item + .chiffres__item {
    border-top: 0;
    border-left: 1px solid var(--bordure);
  }
  .maillage ul { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .hero__grille { grid-template-columns: 1.04fr 0.96fr; }
}

@media (max-width: 759px) {
  .hero { padding-bottom: 4.5rem; }
  .emplacement-image--hero .emplacement-image__cadre { min-height: 13rem; }
  .bloc--large { margin-inline: 0; padding: 1.15rem; border-radius: 16px; }
}

