/* ============================================================
   REFONTE MOVING DEMESTAR — feuille de style unique
   Pages : Accueil, Formules, Devis
   Palette : jaune #FCEE21 + gris chauds (pas de noir pur)
   Typo : polices système uniquement (0 requête réseau)
   ============================================================ */

:root {
  /* Marque */
  --jaune: #FCEE21;
  --jaune-encre: #5A5320;
  /* Bande assombrie vs maquette (#8D8D8C) : blanc à 5,5:1 et jaune #FCEE21 à 4,55:1 (RGAA/AA ≥ 4,5:1) */
  --gris-bande: #696967;
  --gris-bande-bord: #767570;
  /* Header seul, legerement eclairci vs --gris-bande : blanc reste a 4,75:1 (>= 4,5:1 RGAA/AA) */
  --gris-header: #737371;
  --gris-header-bord: #807F7A;
  --bande-sep: rgba(255, 255, 255, .28);

  /* Encre / texte */
  --encre-900: #1F1F1D;
  --encre-800: #2E2E2B;
  --encre-700: #33322E;
  --encre-600: #55534D;
  --encre-500: #6B6960;
  --dore: #7A6100;

  /* Surfaces */
  --blanc: #FFFFFF;
  --surface-200: #F6F5F0;
  --surface-300: #EFEDE7;
  --sombre: #3E3C38;
  --sombre-bord: #565349;
  --barre-copyright: #2E2E2B;

  /* Lignes */
  --bord-doux: #E7E5DD;
  --bord-fort: #CFCCC3;

  /* Sémantique */
  --vert-coche: #1F8A3B;
  --texte-sur-sombre: #E4E2DA;
  --texte-sombre-doux: #CFCCC3;

  --pad-x: 48px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--encre-600);
  background: var(--blanc);
}

h1, h2, h3 {
  margin: 0;
  color: var(--encre-800);
  letter-spacing: -.01em;
  line-height: 1.15;
  text-wrap: balance;
}

p { margin: 0; }

img { max-width: 100%; height: auto; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.menu-toggle:focus-visible + .menu-btn {
  outline: 3px solid var(--encre-800);
  outline-offset: 2px;
  border-radius: 4px;
}

.bande-sombre a:focus-visible,
.bande-defis a:focus-visible {
  outline-color: var(--jaune);
}

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

.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dore);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(31, 31, 29, .18);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(31, 31, 29, .15);
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:focus-visible, .btn:active { transform: none; }
}

.btn-jaune { background: var(--jaune); color: var(--encre-800); }

.btn-jaune:hover, .btn-jaune:focus-visible { background: #F2E416; }

.btn-sombre { background: var(--sombre); color: var(--jaune); }

.btn-sombre:hover, .btn-sombre:focus-visible { background: var(--encre-900); }

.btn-contour {
  color: var(--encre-800);
  border: 2px solid var(--bord-fort);
  padding: 13px 22px;
  font-weight: 700;
  background: transparent;
}

.btn-contour:hover, .btn-contour:focus-visible { background: rgba(31, 31, 29, .06); }

.btn-contour-fort { border-color: var(--encre-800); }

/* ---------- En-tête ---------- */
.site-header {
  background: var(--gris-header);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .4);
  position: relative;
  z-index: 20;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 92px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.brand { display: flex; align-items: center; }

.brand img { width: auto; height: 66px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--blanc);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 2px;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover { border-bottom-color: var(--blanc); }

.nav-links a.active { border-bottom-color: var(--jaune); }

.nav-cta { white-space: nowrap; padding: 11px 20px; font-size: 15px; }

/* Menu mobile (case à cocher, sans JavaScript) */
.menu-toggle {
  display: none;
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 44px;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  cursor: pointer;
}

.menu-btn span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 3px;
  margin-inline: auto;
  background: var(--blanc);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1023px) {
  .header-inner { min-height: 64px; gap: 16px; }

  .brand img { height: 48px; }

  .menu-toggle { display: block; }

  .menu-btn { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--gris-header);
    border-bottom: 1px solid var(--gris-header-bord);
    padding: 10px var(--pad-x) 18px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .18);
  }

  .menu-toggle:checked ~ .site-nav { display: flex; }

  .menu-toggle:checked ~ .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--bande-sep);
  }

  .nav-links a.active { border-bottom: 1px solid var(--bande-sep); color: var(--blanc); box-shadow: inset 4px 0 0 var(--jaune); padding-left: 12px; }

  .nav-cta { margin-top: 16px; padding: 14px 20px; font-size: 16px; }
}

/* ---------- Héro Accueil ---------- */
.hero-accueil { background: var(--surface-300); }

.hero-accueil .hero-grille {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 52px;
  align-items: center;
  padding-block: 66px 60px;
}

.hero-texte {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-texte h1 {
  font-size: 50px;
  line-height: 1.06;
  letter-spacing: -.02em;
}

.surligne { background: linear-gradient(transparent 62%, var(--jaune) 62%); }

.hero-texte h2 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.28;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--encre-500);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-reassurance li { white-space: nowrap; }

.coche::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background-color: var(--vert-coche);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.hero-photo {
  padding: 4px;
  background: var(--jaune);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------- Bandeau 3 millions ---------- */
.bande-sombre { background: var(--sombre); }

.bande-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-block: 44px;
}

.stat-chiffre {
  font-size: 52px;
  font-weight: 800;
  color: var(--jaune);
  line-height: 1;
  white-space: nowrap;
}

.stat-sep {
  width: 1px;
  height: 58px;
  background: var(--sombre-bord);
  flex: none;
}

.stat-texte {
  font-size: 16px;
  line-height: 1.55;
  color: var(--texte-sur-sombre);
  max-width: 62ch;
}

.stat-texte strong { color: var(--blanc); font-style: italic; }

/* ---------- Sections génériques ---------- */
.section { padding-block: 64px; }

.section-entete {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.section h2 { font-size: 34px; }

.tiret-jaune::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  background: var(--jaune);
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ---------- Cartes services ---------- */
.grille-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.carte-service {
  background: var(--surface-200);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.carte-service img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

/* Variante produit (cartons) : la photo est affichée contenue sur fond
   blanc, à ~sa taille d'origine — le fichier servi fait 2x (480-500px),
   donc net partout, y compris écrans denses. Jamais d'étirement. */
.carte-produit picture {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 215px;
  padding: 14px;
  background: var(--blanc);
}

.carte-produit img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Cartes partenaires : logos à taille contenue, portrait en médaillon
   rond (photo personnelle 240px d'origine — jamais étirée pleine carte). */
.carte-partenaire .media-texte img {
  max-height: 64px;
  width: auto;
  margin: 0;
}

.carte-partenaire .partenaire-avatar { margin: 0; }

.carte-partenaire .partenaire-avatar img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.carte-service .carte-corps {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.carte-service h3 { font-size: 19px; font-weight: 800; }

.carte-service p { font-size: 15px; line-height: 1.55; }

.lien-suite {
  margin-top: auto;
  padding-block: 10px 4px;   /* cible tactile confortable */
  display: inline-block;
  color: var(--encre-800);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.lien-suite:hover { text-decoration: underline; }

/* ---------- Pourquoi nous ---------- */
.section-pourquoi {
  background: var(--surface-200);
  border-top: 1px solid var(--bord-doux);
  border-bottom: 1px solid var(--bord-doux);
}

.pourquoi-grille {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  padding-block: 64px;
}

.pourquoi-texte {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pourquoi-texte h2 { font-size: 32px; }

.pourquoi-texte p { font-size: 15.5px; line-height: 1.6; }

.citation-jaune {
  margin-top: 4px;
  padding: 18px 20px;
  background: var(--jaune);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--encre-800);
}

.citation-jaune .guillemet {
  font-size: 20px;
  font-weight: 800;
}

.pourquoi-cartes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: start;
}

.carte-atout {
  background: var(--blanc);
  border: 1px solid var(--bord-doux);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* Vignette conseil : photo pleine largeur en tête de carte
   (même esprit que les cartes services de l'accueil). */
.carte-conseil { padding: 0; overflow: hidden; }

.carte-conseil picture { display: block; }

.carte-conseil img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.carte-conseil p { padding: 14px 20px 20px; }

.carte-atout h3 { font-size: 17px; font-weight: 800; }

.carte-atout p { font-size: 14.5px; line-height: 1.55; }

.carte-atout a,
.lien-dore {
  color: var(--dore);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Défis Paris ---------- */
.bande-defis {
  background: var(--sombre);
  padding-block: 64px;
}

.bande-defis h2 {
  color: var(--blanc);
  font-size: 32px;
  margin-bottom: 30px;
}

.bande-defis h2 span { color: var(--jaune); }

.carte-defi {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--sombre-bord);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.carte-defi .defi-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--encre-800);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.carte-defi h3 { font-size: 17px; font-weight: 800; color: var(--blanc); }

.carte-defi p { font-size: 14.5px; line-height: 1.55; color: var(--texte-sombre-doux); }

.ico-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 2px;
}

/* ---------- Prix ---------- */
.figure-prix {
  margin: 0 0 28px;
}

.figure-prix img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-inline: auto;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.section-prix .section-entete {
  align-items: center;
  text-align: center;
}

.section-prix .intro-prix {
  font-size: 16px;
  line-height: 1.6;
  max-width: 80ch;
  margin-inline: auto;
  margin-bottom: 26px;
  text-align: center;
}

.carte-prix {
  background: var(--surface-200);
  border: 1px solid var(--bord-doux);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.carte-prix h3 { font-size: 17px; font-weight: 800; }

.prix-note {
  margin-top: 30px;
  font-size: 15px;
  color: var(--encre-600);
}

.carte-prix p { font-size: 14.5px; line-height: 1.55; }

/* ---------- Témoignages ---------- */
.temoignages-entete {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.temoignages-entete h2 { font-size: 32px; }

.temoignages-lien {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: auto;
}

.temoignages-lien .icone-avis { color: var(--dore); }

.temoignages-entete .lien-avis {
  color: var(--encre-800);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.temoignages-entete .lien-avis:hover { text-decoration: underline; }

.carte-avis {
  border-top: 3px solid var(--jaune);
  background: var(--surface-200);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avis-etoiles {
  color: var(--encre-800);
  font-size: 14px;
  letter-spacing: .2em;
}

.carte-avis blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--encre-700);
}

.avis-auteur {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--encre-500);
}

.avis-auteur strong { color: var(--encre-800); }

/* ---------- Bande CTA jaune ---------- */
/* Carte encadrée arrondie (direction maquette), identique sur toutes
   les pages : le titre passe à la ligne plutôt que d'empiler les boutons. */
.bande-cta {
  width: calc(100% - 2 * var(--pad-x));
  max-width: calc(1280px - 2 * var(--pad-x));
  margin-inline: auto;
  margin-block: 10px 34px;
  background: var(--jaune);
  border-radius: 18px;
}

/* Enchaine directement sur une section-pourquoi juste au-dessus : pas de
   bordure de fin (le gris continue) et un fond gris derriere la bulle
   jaune pour eviter un retour au blanc entre les deux blocs. */
.section-pourquoi-suite { border-bottom: 0; }

/* padding-bottom : petit espace gris avant le footer (au lieu du blanc
   de la page, qui apparaîtrait si on utilisait une marge sur .bande-cta) */
.bande-cta-fond { background: var(--surface-200); padding-bottom: 16px; }

/* Variante sans marge haut/bas, utilisée uniquement sur demenagement-particulier.php */
.bande-cta-tight { margin-block: 0; }

.cta-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 48px;
  padding-inline: clamp(24px, 4vw, 46px);
}

.cta-texte {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-texte .cta-titre {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--encre-800);
  line-height: 1.15;
  text-wrap: balance;
}

/* Bandeau devis "conseil" (page formules) : texte plus long, donc police
   plus petite et graisse plus douce que le titre CTA standard. */
.bande-cta-conseil .cta-titre {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.cta-texte .cta-sous {
  font-size: 16px;
  color: #3A3A34;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14.5px;
  color: #3A3A34;
  font-weight: 600;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-points .coche::before { background-color: var(--encre-800); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

.cta-actions .btn { white-space: nowrap; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--gris-bande); }

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding-block: 48px 40px;
}

/* Jaune : autorisé RGAA sur la bande assombrie pour le « gros texte »
   (20px/800 -> seuil 3:1, jaune = 4,2:1) et les icônes décoratives.
   Le slogan (15px) reste blanc : en texte courant le seuil est 4,5:1. */
.footer-nom {
  font-size: 20px;
  font-weight: 800;
  color: var(--jaune);
  letter-spacing: .02em;
}

.footer-logo img { display: block; height: 76px; width: auto; }

.footer-slogan {
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  color: var(--blanc);
}

.footer-infos {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
  color: var(--blanc);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 19px = « gros texte » : le jaune (4,2:1) passe le seuil 3:1 (RGAA/axe) */
.footer-infos .ico { color: var(--jaune); font-size: 19px; }

.ico-tel {
  display: inline-flex;
  align-items: center;
  vertical-align: -3px;
  margin-right: 2px;
}

.ico-tel svg { display: block; }

.footer-infos a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
}

.footer-infos a:hover { text-decoration: underline; }

.footer-sep {
  width: 100%;
  max-width: 1080px;
  height: 1px;
  background: var(--bande-sep);
  margin-block: 12px;
}

.footer-liens {
  display: flex;
  gap: 90px;
  justify-content: center;
}

.footer-liens ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  text-align: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-liens a {
  display: inline-block;
  color: var(--blanc);
  text-decoration: none;
  padding: 4px 0;   /* cible tactile confortable */
}

.footer-liens a::before { content: "\25AA\00A0\00A0"; }

.footer-liens a:hover { text-decoration: underline; }

.footer-bar {
  background: var(--barre-copyright);
  padding: 18px var(--pad-x);
  text-align: center;
  color: var(--blanc);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Mobile : le CTA devis et la réassurance passent avant les paragraphes
   de présentation — l'action reste visible sans faire défiler 1,5 écran. */
@media (max-width: 900px) {
  .hero-texte { display: flex; flex-direction: column; }
  .hero-texte .hero-intro { order: 7; }
}

/* ---------- Bouton retour en haut ---------- */
.retour-haut {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--encre-800);
  color: var(--jaune);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.retour-haut.est-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.retour-haut:hover,
.retour-haut:focus-visible { background: var(--encre-900); }

/* ---------- Héro de page (pages intérieures) ----------
   La hauteur est dictée par le contenu (min 300px) : l'image,
   en absolu, couvre sans jamais gonfler ni déborder. */
.hero-page {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(300px, 23vw, 440px);
  background: var(--sombre);
}

.hero-page > img,
.hero-page > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Cadrage ancré en haut : bandeaux dont le sujet (visage) touche le bord
   supérieur de l'image — on ne coupe jamais une tête, le rognage se fait
   entièrement en bas. */
.hero-cadre-haut > img,
.hero-cadre-haut > picture > img { object-position: center top; }

/* Sujet calé à droite : quand un écran étroit force un rognage
   horizontal, on garde le sujet (situé à droite de l'image) visible. */
.hero-sujet-droit > img,
.hero-sujet-droit > picture > img { object-position: right top; }

/* Cadre glissé vers le bas : tête affleurant le bord haut et sujet
   d'intérêt (logo t-shirt du héro particulier) visible en bas. */
.hero-cadre-milieu > img,
.hero-cadre-milieu > picture > img { object-position: center 55%; }
.hero-page .hero-voile {
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 29, .45);
}

/* Photos plus claires : voile renforce pour rester au-dessus du seuil RGAA 3:1 */
.hero-page .hero-voile.hero-voile-fort {
  background: rgba(31, 31, 29, .55);
}

/* Voile allege : la photo reste bien visible, la lisibilite du texte
   est assuree par le fond translucide de .hero-contenu-fond */
.hero-page .hero-voile.hero-voile-leger {
  background: rgba(31, 31, 29, .1);
}

.hero-page .hero-contenu {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-block: 40px;
  padding-inline: var(--pad-x);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8), 0 2px 16px rgba(0, 0, 0, .65);
}

/* A utiliser avec un voile allege (.hero-voile-leger) : panneau translucide
   ajuste au texte (pas pleine largeur) pour garantir sa lisibilite malgre
   la photo plus visible */
.hero-page .hero-panel {
  align-self: flex-start;
  display: inline-block;
  max-width: 100%;
  background: rgba(31, 31, 29, .5);
  border-radius: 12px;
  padding: 16px 22px;
}

.hero-page .hero-panel .eyebrow {
  margin-bottom: 10px;
}

/* Le titre reste sur sa ligne naturelle : le panneau (inline-block)
   epouse alors la largeur reelle du texte, quel que soit le titre,
   sans reglage par page. */
.hero-page .hero-panel h1 {
  max-width: none;
}

/* Sous-titre / paragraphe inclus dans le panneau : espacement propre.
   Le paragraphe est borne pour rester une colonne lisible. */
.hero-page .hero-panel h2 {
  margin-top: 8px;
}

.hero-page .hero-panel .hero-sous {
  margin-top: 10px;
  max-width: 46ch;
}

/* Modificateur : titre borne a 15ch (retour a la ligne force -> panneau
   compact sur 2 lignes). Utilise la ou un titre trop long serait etale. */
.hero-page .hero-panel-etroit h1 {
  max-width: 15ch;
}

.hero-page .eyebrow { color: var(--jaune); letter-spacing: .18em; font-size: 19px; }

.hero-page h1 {
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--blanc);
  max-width: 24ch;
}

.hero-page h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--blanc);
}

.hero-page .hero-sous {
  font-size: 19px;
  font-weight: 700;
  color: var(--surface-300);
  max-width: 60ch;
}

/* ---------- Bandeau formules (intro + cartes) ---------- */
.section-formules {
  background: var(--surface-200);
  border-top: 1px solid var(--bord-doux);
}

/* ---------- Intro formules (sous le héro) ---------- */
.intro-formules {
  text-align: center;
  max-width: 680px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intro-formules h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--encre-800);
}

.intro-formules p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--encre-600);
}

/* ---------- Cartes formules ---------- */
.grille-formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
  padding-block: 64px 44px;
}

.carte-formule {
  border: 1px solid var(--bord-doux);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}

.carte-formule::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--bord-fort);
}

.carte-formule:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .10);
}

.formule-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--encre-700);
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.formule-icone svg { display: block; width: 22px; height: 22px; }

.formule-populaire .formule-icone { color: var(--jaune-encre); }

.formule-prestige .formule-icone { color: var(--blanc); }

.formule-tete {
  padding: 30px 26px 22px;
  background: var(--surface-200);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  border-bottom: 1px solid var(--bord-doux);
}

.formule-tete h3 { font-size: 23px; font-weight: 800; letter-spacing: -.01em; }

.formule-sous { font-size: 14px; color: var(--encre-500); }

.formule-liste {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  list-style: none;
  flex-grow: 1;
}

.formule-liste li {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--encre-700);
  padding-left: 30px;
  position: relative;
}

.formule-liste li.coche { padding-left: 30px; }

.formule-liste li.coche::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--vert-coche);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.formule-liste li.option {
  color: var(--encre-500);
}

.formule-liste li.option::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--bord-fort);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%236B6960%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14%22/%3E%3Cpath%20d%3D%22M12%205v14%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.carte-formule .btn {
  margin: auto 26px 26px;
  font-size: 15px;
  padding: 13px;
  font-weight: 800;
}

/* Mise en avant Standard */
.formule-populaire {
  border: 2px solid var(--jaune);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .14);
  transform: translateY(-14px);
  z-index: 1;
}

.formule-populaire::before { background: var(--jaune); }

.formule-populaire:hover { transform: translateY(-18px); }

.formule-populaire .formule-tete { background: var(--jaune); border-bottom-color: rgba(0, 0, 0, .08); }

.formule-populaire .formule-icone { background: rgba(255, 255, 255, .6); }

.formule-populaire .formule-sous { color: var(--jaune-encre); }

.badge-populaire {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--encre-800);
  color: var(--jaune);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
}

/* Prestige */
.formule-prestige::before { background: var(--sombre); }

.formule-prestige .formule-tete { background: var(--sombre); border-bottom-color: var(--sombre-bord); }

.formule-prestige .formule-tete h3 { color: var(--blanc); }

.formule-prestige .formule-sous { color: var(--texte-sombre-doux); }

.formule-prestige .formule-icone { background: rgba(255, 255, 255, .14); }

/* ---------- Bénéfices formules ---------- */
.section-benefices {
  background: var(--bord-fort);
  border-top: 1px solid var(--bord-doux);
  padding-block: 56px;
}

.section-benefices h2 {
  font-size: 30px;
  margin-bottom: 28px;
}

.grille-benefices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.carte-benefice {
  background: var(--blanc);
  border: 1px solid var(--bord-doux);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.carte-benefice h3 { font-size: 16px; font-weight: 800; }

.carte-benefice h3::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background-color: var(--vert-coche);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.carte-benefice p { font-size: 14.5px; line-height: 1.55; }

.slogan-formules {
  padding-block: 44px;
  text-align: center;
}

.slogan-formules p {
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.65;
  max-width: 74ch;
}

/* ---------- Options modulables (page formules) ---------- */
.bloc-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding-block: 4px 56px;
}

.bloc-options-intro {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--encre-700);
}

.options-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.options-chips li {
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--encre-800);
  background: var(--blanc);
  border: 1px solid var(--bord-doux);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

.options-chips li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--jaune);
  flex: none;
}

/* ---------- Page Devis ---------- */
.fond-creme { background: var(--surface-200); }

.devis-grille {
  display: grid;
  grid-template-columns: 1.4fr .85fr;
  gap: 44px;
  padding-block: 56px;
}

.devis-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.form-bloc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-bloc-titre {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--dore);
  text-transform: uppercase;
}

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.champ label {
  font-size: 14px;
  font-weight: 600;
  color: #3A3A34;
}

.champ input,
.champ textarea {
  width: 100%;
  border: 1px solid var(--gris-bande-bord);
  border-radius: 9px;
  padding: 13px 14px;
  font-size: 16px;   /* >= 16px : évite le zoom automatique iOS au focus */
  font-family: inherit;
  color: var(--encre-800);
  background: var(--blanc);
}

.champ input::placeholder,
.champ textarea::placeholder { color: var(--encre-500); opacity: 1; }

.champ textarea { resize: vertical; min-height: 96px; }

.devis-form .btn { align-self: flex-start; padding: 15px 34px; border-radius: 9px; }

.champ-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-erreur {
  background: #FDECEC;
  border: 1px solid #E8B4B4;
  color: #9A2F2F;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 600;
}

/* Validation cote client : champ en erreur + message inline (visible sur
   mobile, contrairement a la bulle native du navigateur). */
.champ-invalide input,
.champ-invalide textarea {
  border-color: #C0392B;
  background: #FEF7F7;
}

.champ-erreur {
  color: #9A2F2F;
  font-size: 13.5px;
  font-weight: 600;
}

.champ-erreur:empty { display: none; }

.devis-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-sombre {
  background: var(--sombre);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside-sombre h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--blanc);
}

.aside-sombre ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-sombre li {
  font-size: 14.5px;
  color: var(--texte-sur-sombre);
}

.aside-sombre li.coche::before { background-color: var(--jaune); }

.aside-visite {
  background: var(--blanc);
  border: 1px solid var(--bord-doux);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-visite h2 { font-size: 16px; font-weight: 800; }

.aside-visite p { font-size: 14.5px; line-height: 1.55; }

.aside-tel {
  background: var(--jaune);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-tel .tel-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--jaune-encre);
}

.aside-tel a {
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  color: var(--encre-800);
  white-space: nowrap;
}

/* ---------- Contenu éditorial (pages intérieures) ---------- */
.prose {
  max-width: 76ch;   /* mesure de lecture ; centrée quand la colonne est seule */
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.65;
}

.prose h3 {
  font-size: 21px;
  font-weight: 800;
  margin-top: 14px;
}

.prose ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose li::marker { color: var(--dore); }

.prose a,
.prose .lien-dore {
  color: var(--dore);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Image + texte côte à côte */
.media-texte {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.media-texte > figure {
  margin: 0;
}

/* Taille naturelle plafonnée : les images portrait (collage témoignages,
   emballage kraft) ne s'étirent plus sur toute la colonne. */
.media-texte img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  margin-inline: auto;
  border-radius: 12px;
}

.media-texte figcaption {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--encre-500);
}

.media-inverse > figure { order: 2; }

/* Encart de mise en avant */
.encart {
  background: var(--surface-200);
  border: 1px solid var(--bord-doux);
  border-left: 4px solid var(--jaune);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 15.5px;
  line-height: 1.6;
}

/* Tableau (défilable sur mobile) */
.tableau-scroll { overflow-x: auto; }

.tableau {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.tableau th {
  background: var(--sombre);
  color: var(--blanc);
  font-weight: 800;
  text-align: left;
  padding: 13px 16px;
}

.tableau td {
  border: 1px solid var(--bord-doux);
  padding: 12px 16px;
  color: var(--encre-700);
}

.tableau tbody tr:nth-child(even) { background: var(--surface-200); }

/* ---------- Cartes tarifaires (formule eco, page prix) ---------- */
.prix-eco { margin-block: 30px; }

.prix-eco-entete { text-align: center; margin-bottom: 26px; }

.prix-eco-entete .eyebrow { color: var(--dore); }

.prix-eco-entete h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--encre-800);
  margin-top: 4px;
}

.grille-prix-eco {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.carte-prix-eco {
  position: relative;
  overflow: hidden;
  background: var(--blanc);
  border: 1px solid var(--bord-doux);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.carte-prix-eco::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--jaune);
}

.carte-prix-eco:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .10);
}

.prix-eco-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-200);
  color: var(--encre-700);
}

.prix-eco-icone svg { width: 22px; height: 22px; display: block; }

.carte-prix-eco h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--encre-700);
  line-height: 1.35;
}

.prix-eco-montant {
  margin-top: auto;
  font-size: 27px;
  font-weight: 800;
  color: var(--encre-800);
  line-height: 1.1;
}

.prix-eco-montant .devise { font-size: 18px; font-weight: 700; }

.prix-eco-montant .ttc {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--encre-500);
  margin-top: 5px;
}

/* Grille deux colonnes */
.grille-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* Message de confirmation (pages de remerciement) */
.page-message {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  padding-block: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.page-message .message-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--encre-800);
  font-size: 30px;
  font-weight: 800;
}

.page-message h1 {
  font-size: 32px;
}

.page-message p {
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  :root { --pad-x: 28px; }

  .hero-texte h1 { font-size: 42px; }

  .grille-3,
  .grille-benefices { grid-template-columns: 1fr 1fr; }

  .media-texte { grid-template-columns: 1fr; gap: 22px; }

  .media-inverse > figure { order: 0; }

  .grille-formules { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }

  .formule-populaire,
  .formule-populaire:hover { transform: none; }

  .pourquoi-grille { grid-template-columns: 1fr; gap: 32px; }

  .devis-grille { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* Héro accueil : ordre maquette mobile = intro → photo → CTA → tél → coches */
  .hero-accueil .hero-grille {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-block: 34px 38px;
  }

  .hero-texte { display: contents; }

  .hero-texte > .eyebrow { order: 1; }
  .hero-texte > h1 { order: 2; }
  .hero-texte > h2 { order: 3; }
  .hero-intro { order: 4; }
  .hero-photo { order: 5; }
  .hero-actions { order: 6; }
  .hero-reassurance { order: 7; }

  .hero-texte h1 { font-size: 32px; line-height: 1.1; }

  .hero-texte h2 { font-size: 17px; }

  .hero-intro { font-size: 15px; line-height: 1.55; max-width: none; }

  .hero-photo img { height: 240px; object-position: center 25%; }

  .hero-actions .btn { flex: 1 1 100%; }

  .bande-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 26px;
  }

  .stat-chiffre { font-size: 36px; }

  .stat-sep { display: none; }

  .stat-texte { font-size: 14.5px; }

  .section { padding-block: 40px; }

  .section h2 { font-size: 25px; }

  .pourquoi-grille { padding-block: 40px; }

  .pourquoi-texte h2 { font-size: 25px; }

  .bande-defis { padding-block: 40px; }

  .bande-defis h2 { font-size: 24px; }

  .temoignages-entete h2 { font-size: 25px; }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-block: 36px;
  }

  .cta-texte .cta-titre { font-size: 24px; }

  .cta-actions { margin-left: 0; width: 100%; flex-direction: column; }

  .cta-actions .btn { white-space: normal; }

  .hero-page { min-height: 230px; }

  .hero-page .hero-contenu { padding-block: 30px; }

  .hero-page h1 { font-size: 30px; }

  .hero-page h2 { font-size: 17px; }

  .intro-formules { margin-top: 32px; padding-inline: var(--pad-x); }

  .intro-formules h2 { font-size: 24px; }

  .grille-formules { padding-block: 36px; }

  .section-benefices { padding-block: 40px; }

  .section-benefices h2 { font-size: 25px; }

  .slogan-formules { padding-block: 32px; }

  .devis-grille { padding-block: 36px; gap: 32px; }

  .devis-form .btn { align-self: stretch; }
}

@media (max-width: 680px) {
  :root { --pad-x: 18px; }

  .grille-3,
  .grille-benefices,
  .pourquoi-cartes { grid-template-columns: 1fr; }

  .form-2col,
  .grille-2 { grid-template-columns: 1fr; }

  .devis-grille { padding-block: 24px; }

  .page-message { padding-block: 44px; }

  .page-message h1 { font-size: 26px; }

  .footer-liens {
    display: grid;
    grid-template-columns: max-content;
    justify-content: center;
    gap: 6px;
  }

  .temoignages-lien { margin-left: 0; align-items: flex-start; }

  .badge-populaire {
    position: static;
    align-self: flex-start;
    margin-bottom: 2px;
  }
}

/* ===== FAQ (accordéon natif, sans JS) — bulles claires, clairement cliquables ===== */
.section-faq .faq-liste { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--bord-fort);
  border-radius: 12px;
  background: var(--blanc);
  margin-bottom: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover,
.faq-item[open] { border-color: var(--jaune); box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--encre-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-radius: 12px;
  transition: background-color .2s ease, color .2s ease;
}
/* Surlignage jaune pâle au survol/ouverture : montre clairement l'interaction */
.faq-item summary:hover,
.faq-item[open] summary { background: #FEFCE3; color: var(--dore); }
.faq-item summary::-webkit-details-marker { display: none; }
/* Bouton rond jaune : indique clairement que la question est cliquable */
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--encre-900);
  background: var(--jaune);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover::after { transform: scale(1.12); }
.faq-reponse { padding: 0 24px 20px; color: var(--encre-600); }
.faq-reponse a { color: var(--dore); text-decoration: underline; }
