/* Educ Elec, V3 du 28/11/2026.
   Famille de style : les grandes marques de l'énergie et du matériel électrique (Enedis, EDF, Megger).
   Fond blanc, un bleu de marque, Public Sans, de vraies photos de Jean-Marc, aplats sans halo.
   Signature : les trois couleurs des fils (phase rouge, neutre bleu, terre vert et jaune) en filet.
   Règle des formes : panneaux 24 px, cartes 16 px, petits blocs 10 px, boutons en pilule. */

@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --encre: #0b1633;
  --texte-2: #4b5675;
  --texte-3: #5a6480;
  --marine: #0b1e4f;
  --bleu: #1f4fe0;
  --bleu-fonce: #173db8;
  --bleu-clair: #eaf0fd;
  --bleu-trait: #c9d6fa;
  --fond: #f4f6fa;
  --trait: #dfe4ec;
  --jaune: #ffc21a;
  --phase: #c8372d;
  --rayon-panneau: 24px;
  --rayon: 16px;
  --rayon-s: 10px;
  --ombre: 0 1px 2px rgba(11, 30, 79, .05), 0 10px 30px rgba(11, 30, 79, .07);
  --ombre-forte: 0 2px 4px rgba(11, 30, 79, .06), 0 24px 48px rgba(11, 30, 79, .12);
  --largeur: 1280px;
  --marge: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--bleu); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; color: var(--encre); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }

.conteneur { width: min(var(--largeur), 100% - 2 * var(--marge)); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn-petit { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-bleu { background: var(--bleu); color: #fff; }
.btn-bleu:hover { background: var(--bleu-fonce); }
.btn-contour { border-color: var(--bleu-trait); color: var(--bleu); background: #fff; }
.btn-contour:hover { border-color: var(--bleu); background: var(--bleu-clair); }
.btn-blanc { background: #fff; color: var(--marine); }
.btn-blanc:hover { background: var(--bleu-clair); }
.btn-contour-clair { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-contour-clair:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Bandeau et en-tête ---------- */
.bandeau { background: var(--marine); color: rgba(255, 255, 255, .78); font-size: 14px; }
.bandeau .conteneur { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; }
.bandeau span, .bandeau a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.bandeau a { color: #fff; font-weight: 500; }
.bandeau a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bandeau svg { width: 17px; height: 17px; }

.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--trait);
}
.entete .conteneur { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 800; letter-spacing: -.035em; color: var(--marine); white-space: nowrap; }
.logo svg { width: 32px; height: 32px; }
.logo b { font-weight: 800; color: var(--bleu); }
.logo-clair, .logo-clair b { color: #fff; }
.logo-clair b { opacity: .7; }
.menu { display: flex; gap: 30px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--encre); padding: 8px 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--bleu); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.menu a:hover { color: var(--bleu); }
.menu a:hover::after { transform: scaleX(1); }
.menu-tel { display: none; }

/* ---------- Haut de page ---------- */
.accueil { padding-top: 24px; }
.panneau-haut {
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: stretch;
  background: var(--marine); border-radius: var(--rayon-panneau); overflow: hidden; min-height: 500px;
}
.accueil-texte { padding: 52px 48px 116px 64px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.puce {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .9);
}
.puce::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jaune); }
.accueil h1 { color: #fff; font-size: clamp(2.6rem, 3.75vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; margin-top: 22px; max-width: 640px; }
.sous-titre { margin-top: 18px; font-size: 18.5px; line-height: 1.55; color: rgba(255, 255, 255, .8); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.garanties { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.garanties li { display: flex; align-items: center; gap: 8px; }
.garanties svg { width: 17px; height: 17px; color: var(--jaune); }
.accueil-photo { position: relative; }
.accueil-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.carte-jm {
  position: absolute; right: 24px; top: 24px; z-index: 1;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  background: rgba(255, 255, 255, .97); border-radius: 999px; box-shadow: var(--ombre);
  font-size: 14px; color: var(--texte-2); line-height: 1.3;
}
.carte-jm img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.carte-jm strong { display: block; color: var(--encre); font-size: 15px; font-weight: 650; }

.projets { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -84px 32px 0; }
.projet {
  display: flex; flex-direction: column; padding: 22px 24px 20px; background: #fff; border-radius: var(--rayon);
  border: 1px solid var(--trait); box-shadow: var(--ombre-forte); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.projet:hover { transform: translateY(-3px); border-color: var(--bleu-trait); }
.projet strong { font-size: 18px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.projet-txt { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--texte-2); min-height: 2.9em; }
.projet-pied { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--trait); font-size: 15px; font-weight: 600; color: var(--bleu); }
.projet-pied svg { width: 18px; height: 18px; transition: transform .2s ease; }
.projet:hover .projet-pied svg { transform: translateX(3px); }
.projet-wa .projet-pied { color: #128c4a; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.accueil + .section { padding-top: 96px; }
.fond { background: var(--fond); }
.tete { max-width: 760px; }
.tete h2, .appel h2 { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.022em; }
.tete p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--texte-2); }
.ico { width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--bleu); display: grid; place-items: center; flex: none; }
.ico svg { width: 21px; height: 21px; }

/* ---------- Étapes : les trois fils ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 52px; position: relative; }
.etapes::before {
  content: ""; position: absolute; top: 19px; left: 24px; right: calc(25% - 8px); height: 10px;
  background:
    linear-gradient(var(--phase), var(--phase)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--bleu), var(--bleu)) 0 4px / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, #2e9e4f 0 12px, #e8b800 12px 24px) 0 8px / 100% 2px no-repeat;
}
.etape { position: relative; }
.noeud {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 2px solid var(--marine); color: var(--marine); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 8px #fff;
}
.etape h3 { margin-top: 26px; font-size: 20px; letter-spacing: -.015em; line-height: 1.3; }
.etape p { margin-top: 10px; font-size: 16px; color: var(--texte-2); }
.bande-wa { display: flex; align-items: center; gap: 20px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--trait); }
.bande-wa-ico { width: 48px; height: 48px; border-radius: 50%; background: #e7f8ee; color: #128c4a; display: grid; place-items: center; flex: none; }
.bande-wa-ico svg { width: 26px; height: 26px; }
.bande-wa p { flex: 1; font-size: 16px; color: var(--texte-2); max-width: 80ch; }
.bande-wa strong { color: var(--encre); font-weight: 650; }

/* ---------- Ce que vous recevez ---------- */
.recevez .conteneur { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.livrables { margin-top: 32px; border-top: 1px solid var(--trait); }
.livrables li { padding: 18px 0; border-bottom: 1px solid var(--trait); }
.livrables h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.35; }
.livrables p { margin-top: 4px; font-size: 16px; color: var(--texte-2); }
.plan { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-forte); overflow: hidden; }
.plan-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--trait); }
.plan-titre { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.plan-titre svg { width: 22px; height: 22px; color: var(--bleu); }
.plan-titre strong { font-weight: 650; }
.plan-corps { padding: 22px; display: grid; gap: 18px; }
.groupe { border: 1px solid var(--trait); border-radius: var(--rayon-s); overflow: hidden; }
.groupe-tete { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--bleu-clair); font-size: 15px; font-weight: 650; color: var(--marine); }
.groupe-tete span { font-weight: 500; color: var(--texte-2); }
.groupe table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.groupe th { text-align: left; font-size: 13px; font-weight: 600; color: var(--texte-3); padding: 10px 16px 6px; }
.groupe td { padding: 10px 16px; border-top: 1px solid var(--trait); }
.groupe td:nth-child(2), .groupe td:nth-child(3), .groupe th:nth-child(2), .groupe th:nth-child(3) { text-align: right; white-space: nowrap; }
.groupe td:nth-child(2) { font-weight: 650; color: var(--marine); }

/* ---------- Économies ---------- */
.economies .conteneur { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.droit { margin-top: 28px; padding-left: 20px; border-left: 3px solid var(--bleu); }
.droit p { font-size: 16px; color: var(--texte-2); }
.droit strong { color: var(--encre); font-weight: 650; }
.comparatif { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; }
.comparatif table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.comparatif caption { caption-side: bottom; text-align: left; padding: 14px 26px; font-size: 14px; color: var(--texte-2); border-top: 1px solid var(--trait); background: var(--fond); }
.comparatif th, .comparatif td { padding: 22px 26px; text-align: left; }
.comparatif thead th { font-size: 14px; font-weight: 600; color: var(--texte-2); background: var(--fond); border-bottom: 1px solid var(--trait); }
.comparatif thead th:last-child { color: var(--bleu); background: var(--bleu-clair); }
.comparatif .court { display: none; }
.comparatif tbody tr + tr th, .comparatif tbody tr + tr td { border-top: 1px solid var(--trait); }
.comparatif tbody th { font-size: 17px; font-weight: 600; }
.comparatif .cout { font-size: 17px; color: var(--texte-2); white-space: nowrap; }
.comparatif .nous { font-size: 22px; font-weight: 700; color: var(--bleu); background: #f6f8fe; white-space: nowrap; letter-spacing: -.01em; }
.comparatif .nous small { font-size: 13px; font-weight: 600; color: var(--texte-3); letter-spacing: 0; }

/* ---------- Programme ---------- */
.apercu { margin-top: 48px; display: grid; grid-template-columns: 1.35fr .65fr; background: var(--marine); border-radius: var(--rayon-panneau); overflow: hidden; }
.apercu-video { position: relative; background: #000; }
.apercu-video img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.apercu-badge { position: absolute; left: 20px; top: 20px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--marine); font-size: 13.5px; font-weight: 650; }
.apercu-video .lire { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--bleu); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.apercu-video .lire svg { width: 30px; height: 30px; margin-left: 4px; }
.apercu-duree { position: absolute; right: 16px; bottom: 16px; padding: 4px 10px; border-radius: 6px; background: rgba(5, 12, 32, .82); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.apercu-texte { padding: 40px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.apercu-module { font-size: 14px; font-weight: 600; color: #a9bdff; }
.apercu-texte h3 { margin-top: 8px; color: #fff; font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.15; letter-spacing: -.02em; }
.apercu-texte p { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 16px; }
.apercu-infos { margin-top: 24px; display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.apercu-infos li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.apercu-infos svg { width: 18px; height: 18px; color: #a9bdff; }

.programme { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.module { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 22px 22px 20px; display: flex; flex-direction: column; }
.module-ico { width: 60px; height: 60px; filter: drop-shadow(0 6px 12px rgba(31, 79, 224, .22)); }
.module-num { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--bleu); }
.module-num-bonus { color: #8a6100; }
.module h3 { margin-top: 4px; font-size: 19px; letter-spacing: -.015em; line-height: 1.3; }
.lecons { margin-top: 14px; display: grid; border-top: 1px solid var(--trait); }
.lecons li { display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; font-size: 14.5px; line-height: 1.4; color: var(--texte-2); border-bottom: 1px solid var(--trait); }
.lecons svg { width: 15px; height: 15px; margin-top: 2px; color: #9aa3b8; }
.lecons .ouverte { color: var(--encre); font-weight: 600; }
.lecons .ouverte svg { color: var(--bleu); }
.lecons em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 650; color: var(--bleu); background: var(--bleu-clair); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.lecons-plus { margin-top: 10px; font-size: 13.5px; color: var(--texte-3); }

/* ---------- Jean-Marc ---------- */
.jm { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.jm-photo { position: sticky; top: 108px; border-radius: var(--rayon); overflow: hidden; background: var(--marine); }
.jm-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.audience { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.audience li + li { border-left: 1px solid var(--trait); }
.audience a { display: block; padding: 20px 22px; text-decoration: none; }
.audience li:first-child a { padding-left: 0; }
.audience b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--marine); font-variant-numeric: tabular-nums; }
.audience span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--texte-2); }
.audience a:hover b { color: var(--bleu); }
.video { margin-top: 32px; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-bouton { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; font: inherit; text-align: left; }
.video-bouton img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s ease; }
.video-bouton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 12, 32, .85)); }
.video-bouton:hover img { opacity: 1; }
.video-bouton .lire { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 1; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--bleu); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s ease; }
.video-bouton:hover .lire { transform: translate(-50%, -50%) scale(1.06); }
.video-bouton .lire svg { width: 30px; height: 30px; margin-left: 4px; }
.legende-video { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; color: #fff; }
.legende-video strong { display: block; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.legende-video span { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.legende-video svg { width: 18px; height: 18px; }

/* ---------- Offres ---------- */
.offres-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; align-items: stretch; }
.offre { position: relative; display: flex; flex-direction: column; padding: 34px 32px 26px; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); }
.offre.phare { border: 2px solid var(--bleu); box-shadow: var(--ombre-forte); padding-top: 33px; }
.etiquette { position: absolute; top: -15px; left: 32px; padding: 6px 14px; border-radius: 999px; background: var(--bleu); color: #fff; font-size: 13px; font-weight: 600; }
.offre h3 { font-size: 22px; letter-spacing: -.02em; }
.pour { margin-top: 8px; font-size: 15.5px; color: var(--texte-2); min-height: 3.2em; }
.prix { display: flex; align-items: baseline; gap: 8px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--trait); }
.prix b { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--marine); font-variant-numeric: tabular-nums; }
.prix span { font-size: 15px; font-weight: 600; color: var(--texte-3); }
.prix-2x { margin-top: 8px; font-size: 15px; color: var(--texte-2); }
.inclus { margin: 22px 0 28px; display: grid; gap: 12px; align-content: start; flex: 1; }
.inclus li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.inclus svg { width: 20px; height: 20px; color: var(--bleu); margin-top: 1px; }
.offre .btn { width: 100%; }
.lien-2x, .lien-question { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--bleu); }
.lien-2x { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lien-2x:hover { text-decoration-thickness: 2px; }
.lien-question { text-decoration: none; color: #128c4a; }
.lien-question svg { width: 18px; height: 18px; }
.lien-question:hover { text-decoration: underline; text-underline-offset: 4px; }
.rassurance { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); }
.rassurance li { display: flex; gap: 14px; padding: 22px 24px; font-size: 14.5px; line-height: 1.45; color: var(--texte-2); }
.rassurance li + li { border-left: 1px solid var(--trait); }
.rassurance .ico { background: var(--bleu-clair); }
.rassurance strong { display: block; color: var(--encre); font-weight: 650; font-size: 15px; }

/* ---------- Avis (à remplir) ---------- */
.avis-attente { margin-top: 32px; display: grid; gap: 6px; padding: 40px; border: 2px dashed #e0b400; border-radius: var(--rayon); background: #fffbea; color: #6b5300; text-align: center; }
.avis-attente strong { font-size: 18px; }

/* ---------- Questions et appel ---------- */
.faq > * { max-width: 860px; }
.questions { margin-top: 36px; display: grid; gap: 10px; }
.questions details { background: #fff; border: 1px solid var(--trait); border-radius: 14px; transition: border-color .2s ease; }
.questions details[open] { border-color: var(--bleu-trait); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary svg { width: 22px; height: 22px; color: var(--bleu); transition: transform .2s ease; }
.questions details[open] summary svg { transform: rotate(45deg); }
.questions summary:hover { color: var(--bleu); }
.reponse { padding: 0 24px 22px; display: grid; gap: 10px; font-size: 16px; color: var(--texte-2); max-width: 68ch; }
.appel { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; align-items: center; padding: 32px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--trait); }
.appel > img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.appel h2 { font-size: 24px; letter-spacing: -.02em; }
.appel p { margin-top: 6px; font-size: 16px; color: var(--texte-2); }
.appel-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding-top: 20px; border-top: 1px solid var(--trait); }
.appel-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--marine); font-weight: 600; font-size: 16px; text-decoration: none; font-variant-numeric: tabular-nums; min-height: 44px; }
.appel-tel svg { width: 18px; height: 18px; color: var(--bleu); }
.appel-tel:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--marine); color: rgba(255, 255, 255, .72); font-size: 15px; }
.fil-pied { display: grid; gap: 2px; background: #fff; }
.fil-pied i { display: block; height: 2px; }
.fil-pied i:nth-child(1) { background: var(--phase); }
.fil-pied i:nth-child(2) { background: var(--bleu); }
.fil-pied i:nth-child(3) { background: repeating-linear-gradient(90deg, #2e9e4f 0 12px, #e8b800 12px 24px); }
.pied-haut { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; padding: 64px 0 52px; }
.pied-marque p { margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.pied-col { display: flex; flex-direction: column; gap: 4px; }
.pied-col strong { color: #fff; font-weight: 650; margin-bottom: 8px; }
.pied-col a, .pied-col span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; }
.pied-col a:hover { color: #fff; }
.pied-col svg { width: 17px; height: 17px; opacity: .8; }
.reseaux { display: flex; gap: 10px; margin-top: 24px; }
.reseaux a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background-color .2s ease; }
.reseaux a:hover { background: rgba(255, 255, 255, .1); }
.reseaux svg { width: 20px; height: 20px; }
.pied-bas { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .55); }

/* ---------- Barre d'action sur téléphone ---------- */
.barre-mobile { display: none; }

/* ---------- Pages de texte (mentions, CGV, merci) ---------- */
.texte { padding: 72px 0 112px; }
.texte .conteneur { max-width: 760px; }
.texte h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -.025em; line-height: 1.1; }
.texte h2 { margin-top: 44px; font-size: 22px; letter-spacing: -.015em; }
.texte p, .texte li { margin-top: 12px; color: var(--texte-2); }
.texte ul { list-style: disc; padding-left: 22px; }
.texte a { color: var(--bleu); }
.texte .btn { margin-top: 28px; color: #fff; }
.a-completer { display: inline; padding: 2px 8px; border-radius: 6px; background: #fff3c4; border: 1px dashed #d9a800; color: #6b5300; font-size: .9em; font-weight: 600; white-space: nowrap; }

/* ---------- Apparition (seulement les étapes) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .apparait { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .apparait.vu { opacity: 1; transform: none; }
}

/* ---------- Écrans moyens ---------- */
@media (max-width: 1180px) {
  .menu { gap: 22px; }
  .menu a:nth-child(5) { display: none; }
  .accueil-texte { padding: 48px 40px 112px 48px; }
  .projets { margin-inline: 20px; gap: 12px; }
  .projet { padding: 20px; }
  .programme { grid-template-columns: repeat(2, 1fr); }
  .apercu { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --marge: 24px; }
  .bandeau span { display: none; }
  .bandeau .conteneur { justify-content: center; }
  .menu { display: none; }
  .entete .conteneur { justify-content: space-between; min-height: 62px; }
  .menu-tel { display: flex; gap: 22px; overflow-x: auto; white-space: nowrap; padding: 0 var(--marge); border-top: 1px solid var(--trait); scrollbar-width: none; }
  .menu-tel::-webkit-scrollbar { display: none; }
  .menu-tel a { padding: 11px 0; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--texte-2); }
  .panneau-haut { grid-template-columns: 1fr; min-height: 0; }
  .accueil-texte { padding: 44px 32px 36px; }
  .accueil-photo { aspect-ratio: 4 / 3; }
  .projets { margin: 16px 0 0; grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .accueil + .section { padding-top: 72px; }
  .etapes { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .etapes::before { display: none; }
  .recevez .conteneur, .economies .conteneur, .jm { grid-template-columns: 1fr; gap: 44px; }
  .jm-photo { position: static; max-width: 420px; }
  .jm-photo img { aspect-ratio: 1; }
  .offres-grille { grid-template-columns: 1fr; max-width: 560px; }
  .offre.phare { order: -1; }
  .pour { min-height: 0; }
  .rassurance { grid-template-columns: 1fr; }
  .rassurance li + li { border-left: 0; border-top: 1px solid var(--trait); }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
  :root { --marge: 18px; }
  body { font-size: 16px; }
  .bandeau { font-size: 13px; }
  .entete .btn-petit { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .entete-btn { transition: opacity .2s ease; }
  .barre-active .entete-btn { opacity: 0; pointer-events: none; }
  .logo { font-size: 20px; }
  .logo svg { width: 28px; height: 28px; }
  .accueil { padding-top: 12px; }
  .panneau-haut { border-radius: 20px; }
  .accueil-texte { padding: 32px 22px 30px; }
  .accueil h1 { font-size: 2.1rem; margin-top: 18px; }
  .sous-titre { font-size: 16.5px; }
  .actions { width: 100%; flex-direction: column; }
  .actions .btn { width: 100%; }
  .garanties { margin-top: 24px; flex-direction: column; }
  .accueil-photo { aspect-ratio: 1 / 1; }
  .carte-jm { top: auto; bottom: 14px; right: 14px; left: 14px; border-radius: 14px; }
  .projets { grid-template-columns: 1fr; gap: 10px; }
  .projet { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 16px 18px; }
  .projet strong { font-size: 16.5px; }
  .projet-txt { margin: 0; font-size: 14px; min-height: 0; }
  .projet-pied { grid-row: 1 / span 2; grid-column: 2; margin: 0; padding: 0; border: 0; font-size: 0; gap: 0; }
  .projet-pied svg { width: 20px; height: 20px; }
  .section { padding: 60px 0; }
  .accueil + .section { padding-top: 60px; }
  .tete h2 { font-size: 1.85rem; }
  .tete p { font-size: 17px; }
  .etapes { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .etape { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding-bottom: 28px; }
  .etape::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--trait); }
  .etape:last-child::before { display: none; }
  .etape:last-child { padding-bottom: 0; }
  .noeud { grid-row: span 2; }
  .etape h3 { margin-top: 10px; font-size: 18px; }
  .etape p { margin-top: 6px; font-size: 15.5px; }
  .bande-wa { flex-direction: column; align-items: flex-start; margin-top: 36px; }
  .bande-wa .btn { width: 100%; }
  .plan-tete { flex-direction: column; align-items: flex-start; gap: 8px; }
  .plan-corps { padding: 14px; }
  .groupe-tete { flex-direction: column; gap: 2px; }
  .groupe th, .groupe td { padding-inline: 12px; }
  .comparatif th, .comparatif td { padding: 16px 14px; }
  .comparatif caption { padding: 12px 14px; }
  .comparatif .long { display: none; }
  .comparatif .court { display: inline; }
  .comparatif thead th { font-size: 13px; }
  .comparatif tbody th, .comparatif .cout { font-size: 15px; }
  .comparatif .cout { white-space: normal; }
  .comparatif .nous { font-size: 18px; }
  .apercu { margin-top: 36px; border-radius: 20px; }
  .apercu-texte { padding: 24px 20px 26px; }
  .apercu-video .lire { width: 60px; height: 60px; }
  .apercu-badge { left: 12px; top: 12px; font-size: 12.5px; }
  .programme { grid-template-columns: 1fr; gap: 12px; }
  .module { padding: 18px; }
  .module-ico { width: 52px; height: 52px; }
  .audience a { padding: 16px 12px; }
  .audience b { font-size: 22px; }
  .audience span { font-size: 13px; }
  .legende-video { left: 16px; right: 16px; bottom: 12px; }
  .legende-video strong { font-size: 14.5px; line-height: 1.35; }
  .legende-video span { font-size: 13px; }
  .video-bouton .lire { width: 56px; height: 56px; top: 34%; }
  .video-bouton .lire svg { width: 22px; height: 22px; }
  .offre { padding: 30px 22px 22px; }
  .offre.phare { padding-top: 32px; }
  .prix b { font-size: 46px; }
  .avis-attente { padding: 28px 20px; }
  .questions summary { padding: 18px; font-size: 16px; }
  .reponse { padding: 0 18px 18px; font-size: 15.5px; }
  .appel { padding: 22px; }
  .appel > img { width: 56px; height: 56px; }
  .appel h2 { font-size: 20px; }
  .appel-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .appel-actions .btn { width: 100%; }
  .appel-tel { justify-content: center; }
  .pied-haut { grid-template-columns: 1fr; gap: 28px; padding: 52px 0 36px; }
  .pied-bas { flex-direction: column; gap: 6px; padding-bottom: 96px; }

  .barre-mobile {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--trait);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .barre-mobile.visible { transform: none; }
  .barre-mobile .btn-bleu { flex: 1; }
  .barre-mobile .btn-contour { width: 52px; padding: 0; }
}
