/* Eco-Roy — feuille de style unique (mobile d'abord) */
/* Polices auto-hébergées (licence SIL OFL, voir /fonts) : aucune requête vers Google */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("./fraunces-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("./fraunces-latin-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("./figtree-latin-wght-normal.woff2") format("woff2"); }
:root {
  --vert: #14532d;
  --vert-2: #1d6b3d;
  --vert-clair: #e5efe6;
  --miel: #e9a23b;
  --miel-clair: #fbecd2;
  --terre: #a8461f;
  --creme: #fbf8f1;
  --papier: #ffffff;
  --encre: #1c2620;
  --encre-2: #4a564e;
  --trait: #dcd5c6;
  --focus: #1d4ed8;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(20, 40, 28, .06), 0 8px 24px rgba(20, 40, 28, .07);
  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font: 400 1.0625rem/1.65 var(--f-texte);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--vert); text-underline-offset: 3px; }
a:hover { color: var(--terre); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 600; line-height: 1.15; color: var(--vert); letter-spacing: -.01em; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 650; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 8px; top: -60px; background: var(--vert); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.lien-evitement:focus { top: 8px; color: #fff; }

.conteneur { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .conteneur { padding: 0 28px; } }
.etroit { max-width: 780px; }

/* ---------- En-tête ---------- */
.entete { background: var(--creme); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 50; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vert); font-family: var(--f-titre); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.logo span small { display: block; font-family: var(--f-texte); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); margin-top: -2px; }
.nav-bouton { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--trait); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .95rem; color: var(--vert); cursor: pointer; }
.nav-bouton svg { width: 20px; height: 20px; }
.nav { display: none; }
.nav.ouvert { display: block; position: absolute; top: 64px; left: 0; right: 0; background: var(--creme); border-bottom: 1px solid var(--trait); box-shadow: var(--ombre); padding: 8px 16px 20px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: block; padding: 12px 4px; text-decoration: none; color: var(--encre); font-weight: 500; border-bottom: 1px solid var(--trait); }
.nav a[aria-current="page"] { color: var(--vert); font-weight: 700; }
.nav .btn { margin-top: 14px; border-bottom: 0; }
.entete-tel { display: none; }
@media (min-width: 960px) {
  .nav-bouton { display: none; }
  .nav, .nav.ouvert { display: flex; position: static; box-shadow: none; padding: 0; border: 0; background: none; align-items: center; gap: 6px; }
  .nav ul { display: flex; gap: 2px; align-items: center; }
  .nav a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .97rem; }
  .nav a:hover { background: var(--vert-clair); color: var(--vert); }
  .nav .btn { margin: 0 0 0 8px; }
  .entete-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--vert); padding: 8px 10px; white-space: nowrap; }
  .entete-tel svg { width: 18px; height: 18px; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 1rem/1.2 var(--f-texte); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-principal { background: var(--miel); color: #2a1a05; border-color: #d48c22; }
.btn-principal:hover { background: #f0b257; color: #2a1a05; }
.btn-vert { background: var(--vert); color: #fff; }
.btn-vert:hover { background: var(--vert-2); color: #fff; }
.btn-contour { background: transparent; color: var(--vert); border-color: var(--vert); }
.btn-contour:hover { background: var(--vert-clair); color: var(--vert); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-claire { background: var(--papier); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.section-verte { background: var(--vert); color: #e9f2ea; }
.section-verte h2, .section-verte h3 { color: #fff; }
.section-verte a { color: #ffe1b0; }
.surtitre { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terre); margin-bottom: 12px; }
.section-verte .surtitre { color: #f0b55a; }
.chapo { font-size: 1.15rem; color: var(--encre-2); max-width: 62ch; }
.section-verte .chapo { color: #cfe2d3; }

/* ---------- Héros ---------- */
.heros { padding: 32px 0 48px; position: relative; overflow: hidden; }
.heros .conteneur { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .heros { padding: 64px 0 80px; } .heros .conteneur { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.heros h1 em { font-style: italic; color: var(--terre); font-weight: 500; }
.heros .chapo { margin-bottom: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.heros-garanties { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.heros-garanties li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .98rem; }
.heros-garanties svg { width: 22px; height: 22px; flex: none; color: var(--vert-2); margin-top: 2px; }
.illustration { background: var(--miel-clair); border-radius: 28px 28px 28px 4px; padding: 20px; position: relative; }
.illustration-legende { font-size: .85rem; color: var(--encre-2); margin-top: 10px; }

.fil-ariane { font-size: .9rem; color: var(--encre-2); padding: 16px 0 0; }
.fil-ariane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fil-ariane li { margin: 0; }
.fil-ariane li + li::before { content: "/"; margin-right: 6px; color: var(--trait); }

/* ---------- Étapes ---------- */
.etapes { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; counter-reset: etape; }
@media (min-width: 760px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etapes li { counter-increment: etape; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 22px 20px 20px; margin: 0; position: relative; }
.etapes li::before { content: counter(etape, decimal-leading-zero); font-family: var(--f-titre); font-size: 2.4rem; font-weight: 300; color: var(--miel); line-height: 1; display: block; margin-bottom: 10px; }
.etapes p { margin: 0; color: var(--encre-2); font-size: .98rem; }

/* ---------- Grilles / cartes ---------- */
.grille { display: grid; gap: 18px; }
@media (min-width: 760px) { .grille-2 { grid-template-columns: repeat(2, 1fr); } .grille-3 { grid-template-columns: repeat(3, 1fr); } }
.carte { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 24px; }
.carte p:last-child { margin-bottom: 0; }
.carte .icone { width: 44px; height: 44px; border-radius: 12px; background: var(--vert-clair); color: var(--vert); display: grid; place-items: center; margin-bottom: 14px; }
.carte .icone svg { width: 24px; height: 24px; }
.section-verte .carte { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #e9f2ea; }
.section-verte .carte .icone { background: rgba(233,162,59,.18); color: var(--miel); }
.deux-colonnes { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 1fr 1fr; gap: 56px; } .deux-colonnes.decale { grid-template-columns: .85fr 1.15fr; } }

.encadre { background: var(--miel-clair); border-left: 5px solid var(--miel); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 18px 20px; margin: 24px 0; }
.encadre p:last-child { margin-bottom: 0; }
.encadre-vert { background: var(--vert-clair); border-left-color: var(--vert); }
.mention { font-size: .88rem; color: var(--encre-2); }

/* Réassurance */
.reassurance { display: grid; gap: 14px; }
@media (min-width: 760px) { .reassurance { grid-template-columns: repeat(3, 1fr); } }
.badge-texte { display: flex; gap: 14px; align-items: flex-start; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px; }
.badge-texte svg { width: 30px; height: 30px; color: var(--vert); flex: none; }
.badge-texte strong { display: block; color: var(--vert); }
.badge-texte span { font-size: .95rem; color: var(--encre-2); }

/* Tableaux */
.tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--papier); margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
caption { text-align: left; padding: 14px 16px 6px; font-weight: 700; color: var(--vert); }
th, td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--trait); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--creme); font-weight: 650; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.pastille { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.2); }
.p-bleu { background: #1e5aa8; } .p-jaune { background: #f2c230; } .p-violet { background: #7b3fa0; } .p-rose { background: #e58fb2; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: var(--papier); border: 1px solid var(--trait); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--vert); border-bottom: 2px solid var(--vert); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 18px 16px; color: var(--encre-2); }
.faq details > div p:last-child { margin: 0; }

/* Avis (vide) */
.avis-vide { border: 1px dashed var(--trait); border-radius: var(--rayon); padding: 24px; background: var(--papier); }

/* Bandeau CTA */
.bandeau-cta { background: var(--vert); color: #fff; border-radius: 24px; padding: 32px 24px; display: grid; gap: 18px; align-items: center; }
.bandeau-cta h2 { color: #fff; margin: 0 0 6px; }
.bandeau-cta p { color: #cfe2d3; margin: 0; }
@media (min-width: 860px) { .bandeau-cta { grid-template-columns: 1fr auto; padding: 40px 48px; } }

/* Contenu éditorial */
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; color: var(--encre); }
.prose > :first-child { margin-top: 0; }
.prose ul li::marker { color: var(--terre); }
.sommaire { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px 20px; margin-bottom: 32px; }
.sommaire p { font-weight: 700; margin-bottom: .4em; color: var(--vert); }
.sommaire ol { margin: 0; }
.mise-en-page-article { display: grid; gap: 32px; }
@media (min-width: 1000px) { .mise-en-page-article { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } .colonne-laterale { position: sticky; top: 88px; align-self: start; } }
.carte-cta { background: var(--vert); color: #e9f2ea; border-radius: var(--rayon); padding: 22px; }
.carte-cta h2, .carte-cta h3 { color: #fff; font-size: 1.3rem; }
.carte-cta .btn { width: 100%; margin-top: 8px; }
.carte-cta a.tel { color: #ffe1b0; font-weight: 700; }

/* Emplacement photo (illustration de remplacement) */
.photo-emplacement { border-radius: var(--rayon); overflow: hidden; background: var(--vert-clair); }

/* ---------- Pied de page ---------- */
.pied { background: #0f3d22; color: #cfe2d3; padding: 48px 0 110px; margin-top: 0; font-size: .95rem; }
@media (min-width: 900px) { .pied { padding-bottom: 40px; } }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; color: #ffe1b0; }
.pied h2 { color: #fff; font-size: 1.05rem; font-family: var(--f-texte); font-weight: 700; letter-spacing: .02em; margin-bottom: 12px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied-grille { display: grid; gap: 32px; }
@media (min-width: 760px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.pied .logo { color: #fff; }
.pied .logo span small { color: #a9c6b0; }
.pied-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 20px; font-size: .85rem; color: #a9c6b0; }

/* ---------- Barre mobile flottante ---------- */
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 248, 241, .97); border-top: 1px solid var(--trait); box-shadow: 0 -6px 20px rgba(20,40,28,.08); }
.barre-mobile .btn { min-height: 50px; padding: 10px 12px; font-size: .98rem; }
@media (min-width: 900px) { .barre-mobile { display: none; } }
.page-simulateur .barre-mobile { grid-template-columns: 1fr; }
.page-simulateur .barre-mobile .btn-principal { display: none; }

/* ---------- Formulaires ---------- */
.champ { margin-bottom: 16px; }
.champ label, .etiquette { display: block; font-weight: 600; margin-bottom: 6px; }
.champ .aide { display: block; font-size: .9rem; color: var(--encre-2); margin-top: 4px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--encre);
  background: #fff; border: 1.5px solid #b9b2a3; border-radius: 10px; appearance: none;
}
textarea { min-height: 110px; resize: vertical; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--vert) 50%), linear-gradient(135deg, var(--vert) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { border-color: var(--vert); outline: 3px solid rgba(29, 78, 216, .35); outline-offset: 1px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b42318; }
.erreur { color: #b42318; font-size: .92rem; font-weight: 600; margin-top: 6px; }
.erreur:empty { display: none; }
.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--encre-2); background: var(--creme); border: 1px solid var(--trait); border-radius: 10px; padding: 12px; }
.consentement input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--vert); }
.piege { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ligne-2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .ligne-2 { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.desactive { background: #f3efe6; }
.desactive input, .desactive .btn { opacity: .55; }

/* ---------- Simulateur ---------- */
.sim-zone { padding: 20px 0 64px; }
.sim { background: var(--papier); border: 1px solid var(--trait); border-radius: 22px; box-shadow: var(--ombre); max-width: 680px; margin: 0 auto; overflow: hidden; }
.sim-haut { padding: 18px 20px 0; }
@media (min-width: 640px) { .sim-haut { padding: 26px 34px 0; } }
.sim-progression-texte { display: flex; justify-content: space-between; font-size: .88rem; color: var(--encre-2); margin-bottom: 8px; }
.sim-barre { height: 8px; background: var(--vert-clair); border-radius: 99px; overflow: hidden; }
.sim-barre span { display: block; height: 100%; width: 0; background: var(--vert); border-radius: 99px; transition: width .3s ease; }
.sim-corps { padding: 22px 20px 26px; }
@media (min-width: 640px) { .sim-corps { padding: 28px 34px 34px; } }
.etape-sim[hidden] { display: none; }
.etape-sim h2, .etape-sim legend { font-family: var(--f-titre); font-size: clamp(1.35rem, 4.5vw, 1.75rem); color: var(--vert); font-weight: 600; line-height: 1.2; margin: 0 0 8px; padding: 0; }
.etape-sim h2:focus, .etape-sim legend:focus { outline: none; }
.etape-sim .sous { color: var(--encre-2); margin-bottom: 18px; }
.choix { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 560px) { .choix.choix-2 { grid-template-columns: 1fr 1fr; } }
.choix label { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 16px; border: 1.5px solid #c9c2b2; border-radius: 12px; cursor: pointer; font-weight: 600; background: #fff; transition: border-color .15s, background-color .15s; }
.choix label:hover { border-color: var(--vert); background: #f6faf6; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix label .rond { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9a9383; flex: none; display: grid; place-items: center; }
.choix input:checked + label { border-color: var(--vert); background: var(--vert-clair); }
.choix input:checked + label .rond { border-color: var(--vert); }
.choix input:checked + label .rond::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vert); }
.choix input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.choix label small { display: block; font-weight: 400; color: var(--encre-2); font-size: .9rem; }
.sim-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.sim-retour { background: none; border: 0; font: inherit; font-weight: 600; color: var(--vert); padding: 10px 4px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.sim-retour[hidden] { display: none; }
.sim-retour svg { width: 18px; height: 18px; }
.sim-nav .btn { margin-left: auto; }
.compteur { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.compteur button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--vert); background: #fff; color: var(--vert); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.compteur input { width: 100px; text-align: center; font-size: 1.3rem; font-weight: 700; }
.resultat-couleur { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 14px; margin: 18px 0; border: 1px solid var(--trait); }
.resultat-couleur .disque { width: 54px; height: 54px; border-radius: 50%; flex: none; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--trait); }
.resultat-couleur strong { display: block; font-family: var(--f-titre); font-size: 1.35rem; color: var(--encre); }
.c-bleu { background: #e8f0fb; } .c-bleu .disque { background: #1e5aa8; }
.c-jaune { background: #fdf5d8; } .c-jaune .disque { background: #f2c230; }
.c-violet { background: #f3eaf8; } .c-violet .disque { background: #7b3fa0; }
.c-rose { background: #fcecf2; } .c-rose .disque { background: #e58fb2; }
.montant { font-family: var(--f-titre); font-size: clamp(2rem, 7vw, 2.8rem); color: var(--vert); font-weight: 600; line-height: 1.1; }
.alerte { border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.alerte-erreur { background: #fdecea; border: 1px solid #f3b8b1; color: #7a1a12; }
.alerte-info { background: var(--vert-clair); border: 1px solid #b9d3bf; }
.recap-confiance { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--encre-2); justify-content: center; margin-top: 18px; }
.recap-confiance span { display: inline-flex; gap: 6px; align-items: center; }
.recap-confiance svg { width: 16px; height: 16px; color: var(--vert-2); }

/* Utilitaires */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.texte-centre { text-align: center; }
.liste-villes { columns: 2; column-gap: 24px; padding-left: 1.1em; }
@media (min-width: 760px) { .liste-villes { columns: 3; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .entete, .barre-mobile, .pied { display: none; } }
a.carte { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.carte:hover { border-color: var(--vert); color: inherit; transform: translateY(-2px); }
a.carte h3 { color: var(--vert); }
.nav a.btn { display: flex; padding: 12px 20px; color: #2a1a05; }
@media (min-width: 960px) {
  .nav a.btn { display: inline-flex; padding: 10px 18px; min-height: 44px; }
  .nav a.btn:hover { background: #f0b257; color: #2a1a05; }
  .nav a.entete-tel { display: inline-flex; }
}
@media (min-width: 760px) { .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grille-4 { grid-template-columns: repeat(4, 1fr); } }
/* Correctifs : l'attribut hidden l'emporte toujours ; les grilles ne débordent jamais sur mobile */
[hidden] { display: none !important; }
.mise-en-page-article, .deux-colonnes, .heros .conteneur, .grille { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .heros .conteneur { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .deux-colonnes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .deux-colonnes.decale { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
@media (min-width: 1000px) { .mise-en-page-article { grid-template-columns: minmax(0, 1fr) 300px; } }

/* ---------- Tunnel après simulation : aides, dimensionnement, photos ---------- */
@media (min-width: 560px) { .choix.choix-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choix label .rond.carre { border-radius: 6px; }
.choix input:checked + label .rond.carre::after { width: 6px; height: 11px; border-radius: 0; background: none; border: solid var(--vert); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.bloc-aides { border: 1px solid var(--trait); border-radius: 14px; padding: 18px; margin: 18px 0; background: var(--creme); }
.bloc-aides h3 { font-size: 1.15rem; margin-bottom: 4px; }
.bloc-aides > p { font-size: .95rem; }
.devis { margin: 12px 0 0; padding: 0; }
.devis > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.devis > div:last-child { border-bottom: 0; }
.devis dt { margin: 0; min-width: 0; font-size: .97rem; }
.devis dt small { display: block; color: var(--encre-2); font-size: .85rem; }
.devis dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.devis .moins dd { color: var(--vert-2); }
.devis .total { background: var(--vert-clair); border-radius: 10px; padding: 12px; margin: 6px 0; border-bottom: 0; }
.devis .total dt { font-weight: 700; color: var(--vert); }
.devis .total dd { font-family: var(--f-titre); font-size: 1.35rem; color: var(--vert); }
.devis .total.final { background: var(--vert); }
.devis .total.final dt, .devis .total.final dd, .devis .total.final dt small { color: #fff; }
.cta-tunnel { background: var(--miel-clair); border: 1px solid #f0cf96; border-radius: 14px; padding: 18px; margin: 18px 0; }
.cta-tunnel h3 { font-size: 1.15rem; }
.cta-tunnel .btn { width: 100%; }
@media (min-width: 560px) { .cta-tunnel .btn { width: auto; } }
.note-recap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 12px 0 0; font-size: .95rem; }
.note-recap > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--trait); }
.note-recap dt { color: var(--encre-2); margin: 0; }
.note-recap dd { margin: 0; font-weight: 600; text-align: right; }
@media (min-width: 640px) { .note-recap { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
.preco { display: grid; gap: 10px; margin: 16px 0; }
@media (min-width: 560px) { .preco { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.preco > div { background: var(--vert-clair); border-radius: 12px; padding: 14px; }
.preco span { display: block; font-size: .85rem; color: var(--encre-2); }
.preco strong { display: block; font-family: var(--f-titre); font-size: 1.4rem; color: var(--vert); line-height: 1.2; }
.alerte-attention { background: var(--miel-clair); border: 1px solid #f0cf96; color: #5a3505; }
.photo-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.photo-item { border: 1.5px solid #c9c2b2; border-radius: 12px; padding: 14px 16px; margin: 0; background: #fff; }
.photo-item.fait { border-color: var(--vert); background: #f6faf6; }
.photo-item h3 { font-family: var(--f-texte); font-size: 1rem; font-weight: 700; color: var(--encre); margin: 0 0 2px; }
.photo-item h3 small { font-weight: 500; color: var(--encre-2); }
.photo-item p { font-size: .9rem; color: var(--encre-2); margin: 0 0 10px; }
.photo-item input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-item label.btn { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.photo-item input[type="file"]:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.photo-item input[type="file"]:disabled + label { opacity: .55; cursor: not-allowed; }
.vignettes { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vignettes li { margin: 0; position: relative; }
.vignettes img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--trait); }
.vignettes button { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--terre); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.vignettes .statut { position: absolute; left: 4px; bottom: 4px; background: var(--vert); color: #fff; font-size: .7rem; font-weight: 700; padding: 1px 6px; border-radius: 99px; }
.envoi-progression { margin: 16px 0; display: grid; gap: 8px; }
.actions-photos { margin-top: 20px; }
.actions-photos .btn { width: 100%; }
@media (min-width: 560px) { .actions-photos .btn { width: auto; } }
.pied-legal a, .prose a, .mention a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 960px) {
  .nav a, .nav .btn { white-space: nowrap; }
  .nav a { padding: 8px 9px; }
}
@media (min-width: 960px) and (max-width: 1199px) { .entete-tel { display: none; } }
@media (min-width: 960px) and (max-width: 1149px) {
  .nav a { padding: 8px 6px; font-size: .88rem; }
  .nav a.btn { padding: 8px 12px; font-size: .88rem; }
  .logo small { display: none; }
}
