/* Simulateur PAC DEPANEA — identité du site depanea.fr (bleu nuit, bleu vif, Rubik) */
@font-face {
  font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/rubik-latin.woff2") format("woff2");
}

:root {
  /* couleurs */
  --nuit: #0b2239;
  --nuit-2: #102a43;
  --nuit-3: #1d3a57;
  --texte: #1a2b3c;
  --gris: #5a6b7d;
  --gris-2: #8796a6;
  --bleu: #2680c2;
  --bleu-fonce: #1b6aa5;
  --bleu-clair: #e8f2fb;
  --ciel: #b6e0f8;
  --fond: #f4f7fa;
  --carte: #ffffff;
  --bord: #dde5ee;
  --bord-2: #c9d5e2;
  --vert: #157347;
  --vert-vif: #3fbf7f;
  --vert-fond: #e7f6ee;
  --orange: #e8833a;
  --rouge: #c0392b;
  /* espacements, rayons, ombres, mouvements */
  --e1: 4px; --e2: 8px; --e3: 12px; --e4: 16px; --e5: 24px; --e6: 32px; --e7: 48px;
  --r1: 10px; --r2: 14px; --r3: 20px;
  --ombre-1: 0 1px 2px rgba(11, 34, 57, .06), 0 2px 8px rgba(11, 34, 57, .05);
  --ombre-2: 0 2px 4px rgba(11, 34, 57, .05), 0 12px 32px rgba(11, 34, 57, .10);
  --courbe: cubic-bezier(.2, .8, .2, 1);
  --vite: 150ms; --moyen: 250ms;
  --police: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--police); color: var(--texte); background: var(--fond);
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100dvh; display: flex; flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu-fonce); }
button { font: inherit; color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; border-radius: 6px; }
h2[tabindex="-1"]:focus { outline: none; }
.nb { font-variant-numeric: tabular-nums; }
.contenu { width: 100%; max-width: 600px; margin: 0 auto; padding-left: var(--e4); padding-right: var(--e4); }

/* ---------- en-tête / pied ---------- */
.entete {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: var(--e3);
  padding: max(10px, env(safe-area-inset-top)) var(--e4) 10px;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(11, 34, 57, .06);
}
.logo img { width: 132px; }
.tel {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-weight: 600; font-size: 15px; text-decoration: none; color: var(--nuit);
  padding: 8px 12px; border-radius: 999px; background: var(--bleu-clair);
  transition: background var(--vite);
}
.tel:active { background: #d6e8f7; }
.pied { margin-top: auto; padding: var(--e6) var(--e4) calc(var(--e5) + env(safe-area-inset-bottom)); color: var(--gris); font-size: 14px; text-align: center; }
.pied p { margin: 4px 0; }
.lien { background: none; border: 0; padding: 0; color: var(--bleu-fonce); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: inherit; }
body.avec-barre .pied { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ---------- accueil ---------- */
.heros-accueil {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(38, 128, 194, .45) 0%, rgba(38, 128, 194, 0) 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(182, 224, 248, .14) 0%, rgba(182, 224, 248, 0) 60%),
    var(--nuit);
  padding: var(--e6) 0 var(--e7);
}
.heros-accueil::after { /* lignes de chaleur discrètes */
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 220px; height: 220px; opacity: .12; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M30 85c0-10 8-10 8-20s-8-10-8-20 8-10 8-20'/%3E%3Cpath d='M50 85c0-10 8-10 8-20s-8-10-8-20 8-10 8-20'/%3E%3Cpath d='M70 85c0-10 8-10 8-20s-8-10-8-20 8-10 8-20'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pastille-zone {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--e4);
  font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--ciel);
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
}
.pastille-zone .point { width: 7px; height: 7px; border-radius: 50%; background: var(--vert-vif); box-shadow: 0 0 0 4px rgba(63, 191, 127, .2); }
h1 { margin: 0 0 var(--e3); font-size: clamp(32px, 9vw, 46px); line-height: 1.06; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--ciel); }
.chapo { margin: 0 0 var(--e5); color: #c6d4e2; font-size: 17px; max-width: 34em; }
.adresse { background: var(--carte); color: var(--texte); border-radius: var(--r3); padding: var(--e4); box-shadow: 0 20px 50px rgba(0, 0, 0, .28); }
.adresse label { display: block; font-weight: 600; font-size: 15px; margin-bottom: var(--e2); color: var(--nuit); }
.champ-adresse { position: relative; }
.champ-adresse .loupe { position: absolute; left: 14px; top: 16px; color: var(--gris-2); pointer-events: none; }
.champ-adresse input[type=text] { padding-left: 44px; }
.aide-champ { margin: var(--e2) 0 0; font-size: 13.5px; color: var(--gris); line-height: 1.45; }
.aide-champ:empty, .aide-champ:has(> [hidden]:only-child) { display: none; }
.suggestions {
  list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; z-index: 5; left: 0; right: 0;
  background: #fff; border: 1px solid var(--bord); border-radius: var(--r2); box-shadow: var(--ombre-2);
  animation: monte var(--moyen) var(--courbe);
}
.suggestions li { padding: 12px 12px; border-radius: var(--r1); cursor: pointer; font-weight: 500; }
.suggestions li[aria-selected=true], .suggestions li:hover { background: var(--bleu-clair); }
.suggestions small { display: block; color: var(--gris); font-weight: 400; font-size: 14px; }
.etapes-accueil { list-style: none; padding: 0; margin: var(--e6) 0 var(--e5); display: grid; gap: var(--e3); counter-reset: none; }
.etapes-accueil li { display: flex; gap: var(--e3); align-items: flex-start; background: var(--carte); border-radius: var(--r2); padding: var(--e4); box-shadow: var(--ombre-1); }
.etapes-accueil b {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px;
  background: var(--bleu-clair); color: var(--bleu-fonce); font-weight: 700; font-size: 15px;
}
.etapes-accueil span { color: var(--gris); font-size: 15px; line-height: 1.4; }
.etapes-accueil strong { display: block; color: var(--nuit); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.atouts { list-style: none; padding: 0; margin: 0 0 var(--e5); display: flex; flex-wrap: wrap; gap: var(--e2); }
.atouts li { font-size: 14px; color: var(--gris); background: var(--carte); border: 1px solid var(--bord); border-radius: 999px; padding: 6px 12px; }
.atouts strong { color: var(--nuit); font-weight: 600; }

/* ---------- champs ---------- */
input[type=text], input[type=tel], input[type=email], input[type=number], select {
  width: 100%; font: inherit; font-size: 17px; color: var(--texte); background: #fff;
  border: 1.5px solid var(--bord-2); border-radius: var(--r1); padding: 13px 14px; min-height: 52px;
  appearance: none; -webkit-appearance: none; transition: border-color var(--vite), box-shadow var(--vite);
}
select {
  padding-right: 34px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b7d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center/18px no-repeat;
}
input::placeholder { color: var(--gris-2); }
input:focus, select:focus { border-color: var(--bleu); outline: none; box-shadow: 0 0 0 4px rgba(38, 128, 194, .16); }

/* ---------- étapes ---------- */
.etape { padding-top: var(--e4); padding-bottom: var(--e4); }
.vue { animation: entre var(--moyen) var(--courbe); }
@keyframes entre { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes monte { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.progression { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); margin-bottom: var(--e2); }
.compteur { font-size: 13px; font-weight: 500; color: var(--gris); }
.barre { height: 4px; background: var(--bord); border-radius: 99px; overflow: hidden; margin-bottom: var(--e5); }
.barre span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bleu), #4aa3e0); border-radius: 99px; transition: width .4s var(--courbe); }
.retour {
  display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 8px 8px 8px 0; margin-left: -2px;
  color: var(--gris); cursor: pointer; font-size: 15px; font-weight: 500;
}
.retour:active { color: var(--nuit); }
.etape h2 { margin: 0 0 var(--e2); font-size: clamp(24px, 6.6vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--nuit); text-wrap: balance; }
.etape .precision { margin: 0 0 var(--e5); color: var(--gris); font-size: 16px; }

.choix { display: grid; gap: var(--e3); }
.choix.grille { grid-template-columns: 1fr 1fr; }
.choix.nombres { grid-template-columns: repeat(3, 1fr); }
.option {
  position: relative; display: flex; align-items: center; gap: var(--e3); width: 100%; text-align: left; cursor: pointer;
  background: var(--carte); border: 1.5px solid var(--bord); border-radius: var(--r2); padding: var(--e4); min-height: 64px;
  font-size: 17px; font-weight: 500; color: var(--nuit); box-shadow: var(--ombre-1);
  transition: border-color var(--vite), background var(--vite), transform var(--vite) var(--courbe), box-shadow var(--vite);
}
.option:hover { border-color: var(--bord-2); }
.option:active { transform: scale(.985); background: #fafcfe; }
.option .ico {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: var(--bleu-clair); color: var(--bleu-fonce);
}
.option .txt { min-width: 0; }
.option small { display: block; font-weight: 400; color: var(--gris); font-size: 14px; line-height: 1.35; margin-top: 2px; }
.choix.grille .option { flex-direction: column; align-items: flex-start; min-height: 132px; padding: var(--e4); gap: var(--e3); }
.choix.nombres .option { justify-content: center; font-size: 22px; font-weight: 600; min-height: 68px; }
.option.suggere { border-color: var(--bleu); background: #f6fafe; box-shadow: 0 0 0 3px rgba(38, 128, 194, .12); }
.option .pastille {
  position: absolute; top: 10px; right: 10px;
  font-size: 11.5px; font-weight: 600; color: var(--bleu-fonce); background: var(--bleu-clair); padding: 3px 8px; border-radius: 99px;
}

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px;
  border: 0; border-radius: var(--r2); padding: 14px 20px; cursor: pointer; text-decoration: none;
  background: var(--bleu); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .005em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 6px 16px rgba(38, 128, 194, .28);
  transition: background var(--vite), transform var(--vite) var(--courbe), box-shadow var(--vite);
}
.bouton:hover { background: var(--bleu-fonce); }
.bouton:active { transform: scale(.985); }
.bouton[disabled] { opacity: .65; cursor: progress; transform: none; }
.bouton.secondaire { background: var(--carte); color: var(--nuit); border: 1.5px solid var(--bord-2); box-shadow: none; }
.bouton.secondaire:hover { border-color: var(--bleu); }
.groupe { display: grid; gap: var(--e4); margin: var(--e4) 0 var(--e5); }
.groupe label, .legende { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--nuit); }
.ligne-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); }
.note { font-size: 14px; color: var(--gris); margin: var(--e3) 0 0; }
.erreur { color: var(--rouge); font-size: 15px; margin: var(--e2) 0 0; }
.actions { display: grid; gap: var(--e3); margin: var(--e5) 0; }

/* squelette de chargement */
.squelette .compteur { display: block; margin-bottom: var(--e4); }
.sq { border-radius: var(--r1); background: linear-gradient(90deg, #e6ecf2 0%, #f1f5f9 50%, #e6ecf2 100%); background-size: 200% 100%; animation: brille 1.2s linear infinite; margin-bottom: var(--e3); }
.sq.titre { height: 30px; width: 55%; }
.sq.photo { height: 200px; border-radius: var(--r2); }
.sq.ligne { height: 52px; }
.sq.ligne.courte { width: 60%; }
@keyframes brille { to { background-position: -200% 0; } }

/* ---------- maison ---------- */
.photo { position: relative; margin: 0 0 var(--e3); border-radius: var(--r2); overflow: hidden; background: var(--bord); aspect-ratio: 5 / 3; box-shadow: var(--ombre-1); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 3px solid #fff; background: var(--bleu); box-shadow: 0 0 0 6px rgba(38, 128, 194, .35), 0 2px 6px rgba(0, 0, 0, .3); }
.photo figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, .45); padding: 2px 6px; border-radius: 6px; }
.adresse-choisie { margin: 0 0 var(--e4); font-weight: 600; color: var(--nuit); }
.fiche { background: var(--carte); border-radius: var(--r2); padding: 2px var(--e4); margin: 0 0 var(--e4); box-shadow: var(--ombre-1); }
.fiche .champ { display: grid; grid-template-columns: minmax(0, 1fr) 148px; align-items: center; gap: var(--e3); padding: var(--e3) 0; border-bottom: 1px solid #edf1f5; }
.fiche .champ:last-child { border-bottom: 0; }
.fiche .champ label, .fiche .champ > span:first-child { font-weight: 500; margin: 0; color: var(--nuit); font-size: 16px; }
.fiche .champ small { display: block; color: var(--gris); font-size: 13px; font-weight: 400; line-height: 1.35; margin-top: 2px; }
/* valeurs modifiables : fond bleu clair, bordure bleue, crayon */
.consigne { display: flex; align-items: center; gap: var(--e2); margin: 0 0 var(--e3); padding: 10px 12px; border-radius: var(--r1); background: var(--bleu-clair); color: var(--bleu-fonce); font-size: 14.5px; line-height: 1.35; }
.consigne svg { flex: none; }
.consigne b { font-weight: 600; }
.modifiable { position: relative; display: block; }
.fiche .modifiable input, .fiche .modifiable select {
  min-height: 48px; font-size: 17px; font-weight: 600; color: var(--bleu-fonce);
  background-color: #f2f8fd; border: 1.5px solid #9cc8ea; border-radius: var(--r1); cursor: pointer;
}
.fiche .modifiable input { text-align: right; padding: 8px 52px 8px 10px; }
.fiche .modifiable select {
  padding: 8px 30px 8px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b6aa5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 8px center; background-size: 18px; background-repeat: no-repeat;
}
.fiche .modifiable input:focus, .fiche .modifiable select:focus { background-color: #fff; border-color: var(--bleu); }
.modifiable.unite-m2::before { content: "m²"; position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--bleu-fonce); pointer-events: none; font-size: 15px; }
.modifiable.unite-m2::after { /* crayon */
  content: ""; position: absolute; right: 9px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b6aa5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='m13.5 6.5 4 4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fiche input[type=number]::-webkit-inner-spin-button, .fiche input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fiche input[type=number] { -moz-appearance: textfield; }
.a-verifier { font-style: normal; display: inline-block; margin-left: 6px; vertical-align: 2px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #9a4b00; background: #fff1e0; border: 1px solid #f6cf9f; padding: 1px 7px; border-radius: 99px; }
.etiquette-dpe { justify-self: end; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #fff; font-weight: 700; }

/* ---------- résultat ---------- */
.resultat .sur-titre { margin: var(--e2) 0 2px; font-size: 13.5px; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resultat h2 { margin-bottom: var(--e4); }
.carte { background: var(--carte); border-radius: var(--r3); box-shadow: var(--ombre-1); padding: var(--e5) var(--e4); margin: 0 0 var(--e4); }
.carte h3, .carte .titre-carte { margin: 0 0 var(--e3); font-size: 13px; color: var(--gris); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.heros {
  color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(110% 80% at 100% 0%, rgba(38, 128, 194, .5) 0%, rgba(38, 128, 194, 0) 55%), var(--nuit);
  box-shadow: var(--ombre-2);
}
.heros h3 { color: var(--ciel); }
.heros .montant { font-size: clamp(38px, 11vw, 50px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 var(--e5); }
.heros .unite { font-size: 18px; font-weight: 500; letter-spacing: 0; color: #c6d4e2; }
.comparaison { display: grid; gap: var(--e3); margin: 0 0 var(--e5); }
.barre-f { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: var(--e3); font-size: 14px; }
.barre-f .lib { color: #c6d4e2; }
.barre-f .piste { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.barre-f i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .9s var(--courbe); }
.barre-f i.avant { background: linear-gradient(90deg, #f0a35e, var(--orange)); }
.barre-f i.apres { background: linear-gradient(90deg, #6fd3a0, var(--vert-vif)); transition-delay: .15s; }
.barre-f .val { font-weight: 600; text-align: right; min-width: 74px; }
.barre-f .val small { font-weight: 400; color: #9fb3c8; font-size: 12px; margin-left: 1px; }
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); }
.chiffre { border-radius: var(--r2); padding: var(--e3) var(--e3) var(--e4); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.chiffre b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.chiffre span { display: block; font-size: 13.5px; color: #c6d4e2; line-height: 1.35; margin-top: 2px; }
.chiffre.accent { background: rgba(63, 191, 127, .14); border-color: rgba(63, 191, 127, .3); }
.chiffre.accent b { color: #8ee6b6; }
.heros .phrase { margin: var(--e4) 0 0; font-size: 15.5px; color: #e3ebf3; line-height: 1.45; }
.heros .petit { margin: var(--e3) 0 0; font-size: 12.5px; color: #8fa3b8; }

.decompo { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--nuit-3); margin: var(--e1) 0 var(--e2); }
.decompo .part-aides { display: block; width: 0; background: linear-gradient(90deg, #3fbf7f, #2fa86b); transition: width .9s var(--courbe); }
.decompo .part-reste { flex: 1; background: var(--nuit-2); }
.legende-decompo { display: flex; gap: var(--e4); font-size: 13px; color: var(--gris); margin-bottom: var(--e3); }
.legende-decompo span { display: inline-flex; align-items: center; gap: 6px; }
.pt { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.pt.aides { background: #2fa86b; }
.pt.reste { background: var(--nuit-2); }
.ligne { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--e3); padding: 10px 0; border-bottom: 1px solid #edf1f5; }
.ligne span:first-child { font-weight: 500; color: var(--nuit); }
.ligne span:last-child { font-weight: 600; white-space: nowrap; text-align: right; color: var(--nuit); }
.ligne.aide span:last-child { color: var(--vert); }
.ligne small { display: block; color: var(--gris); font-size: 13px; font-weight: 400; margin-top: 1px; }
.total-reste { padding: var(--e4) 0 var(--e1); }
.total-reste span { display: block; font-size: 14px; font-weight: 500; color: var(--gris); margin-bottom: 2px; }
.total-reste b { display: block; font-size: clamp(26px, 7.6vw, 32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; color: var(--nuit); }
.materiel p { margin: 0 0 var(--e3); color: var(--texte); font-size: 15.5px; line-height: 1.5; }
.materiel .marque { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--nuit); margin-bottom: var(--e2); }
.materiel .marque span { color: var(--bleu); font-weight: 600; }
.points-mat { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e2); font-size: 15px; color: var(--nuit); }
.points-mat li { display: flex; align-items: center; gap: var(--e2); }
.points-mat svg { width: 20px; height: 20px; color: var(--vert); flex: none; }
.note-etude { background: #fff7ed; box-shadow: none; border: 1px solid #f5d9b8; }
.note-etude p { margin: 0; font-size: 15px; }
.curseur { display: grid; gap: var(--e3); margin: 0 0 var(--e1); }
.curseur label { font-weight: 500; color: var(--nuit); }
.curseur input[type=range] { width: 100%; accent-color: var(--bleu); height: 28px; }
.couvre { display: flex; align-items: center; gap: var(--e2); margin: var(--e3) 0 0; padding: var(--e3) var(--e3); border-radius: var(--r1); background: var(--vert-fond); color: var(--vert); font-weight: 600; font-size: 15px; }
.couvre svg { flex: none; width: 20px; height: 20px; }
.mentions { font-size: 12.5px; color: var(--gris); line-height: 1.5; margin: var(--e3) 0 0; }
.reassurance { list-style: none; margin: var(--e5) 0 var(--e4); padding: 0; display: grid; gap: var(--e2); color: var(--nuit); font-size: 15px; font-weight: 500; }
.reassurance li { display: flex; align-items: center; gap: var(--e2); }
.reassurance svg { width: 20px; height: 20px; color: var(--vert); flex: none; }
.resultat > .bouton.secondaire { margin: 0 0 var(--e2); }

/* barre d'action collante */
.barre-action {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  padding: var(--e3) var(--e4) calc(var(--e3) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-top: 1px solid rgba(11, 34, 57, .08); box-shadow: 0 -8px 24px rgba(11, 34, 57, .06);
  animation: entreBas .35s var(--courbe);
}
@keyframes entreBas { from { transform: translateY(100%); } to { transform: none; } }
.barre-action-in { max-width: 568px; margin: 0 auto; display: flex; align-items: center; gap: var(--e3); }
.ba-txt { flex: 1; min-width: 0; font-size: 12.5px; color: var(--gris); line-height: 1.2; }
.ba-txt b { display: block; font-size: 18px; color: var(--nuit); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.barre-action .bouton { width: auto; flex: none; padding: 14px 22px; min-height: 52px; }

/* ---------- formulaires de contact ---------- */
.contact { margin-top: var(--e2); }
.case, .groupe label.case { display: flex; gap: var(--e3); align-items: flex-start; font-size: 14.5px; font-weight: 400; color: var(--gris); margin: 0; line-height: 1.45; }
.case input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--bleu); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.merci { text-align: center; padding: var(--e6) var(--e2); }
.merci .coche { width: 64px; height: 64px; margin: 0 auto var(--e4); border-radius: 50%; background: var(--vert-fond); display: grid; place-items: center; color: var(--vert); animation: pop .45s var(--courbe); }
.merci .coche svg { width: 32px; height: 32px; stroke-width: 2.5; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- bandeau cookies ---------- */
.cookies {
  position: fixed; left: var(--e3); right: var(--e3); bottom: calc(var(--e3) + env(safe-area-inset-bottom)); z-index: 20; max-width: 560px; margin: 0 auto;
  background: #fff; border-radius: var(--r3); box-shadow: 0 16px 48px rgba(11, 34, 57, .25); padding: var(--e4); font-size: 15px;
  animation: monte var(--moyen) var(--courbe);
}
.cookies p { margin: 0 0 var(--e3); color: var(--gris); }
.cookies .boutons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); }
.cookies .bouton { min-height: 48px; font-size: 16px; }

/* ---------- pages légales ---------- */
.texte-legal { max-width: 640px; margin: 0 auto; padding: var(--e5) var(--e4); }
.texte-legal h1 { font-size: 28px; color: var(--nuit); margin-top: var(--e2); }
.texte-legal h2 { font-size: 18px; color: var(--nuit); margin: var(--e5) 0 6px; }
.texte-legal p { color: var(--texte); font-size: 16px; }

@media (min-width: 700px) {
  .logo img { width: 160px; }
  .heros-accueil { padding: var(--e7) 0 72px; }
  .etapes-accueil { grid-template-columns: repeat(3, 1fr); }
  .etapes-accueil li { flex-direction: column; }
  .etape { padding-top: var(--e6); }
}
@media (hover: none) { .option:hover, .bouton.secondaire:hover { border-color: var(--bord); } .bouton:not(.secondaire):hover { background: var(--bleu); } .option.suggere:hover { border-color: var(--bleu); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Avis clients et présentation */
.confiance { margin: var(--e5) 0 0; }
.carte h3 + p { margin-top: 0; }
.note-google { display: flex; align-items: center; gap: var(--e3); margin: 0 0 var(--e4); }
.note-google > b { font-size: 40px; font-weight: 700; line-height: 1; color: var(--nuit); letter-spacing: -.02em; }
.note-google > span { display: grid; gap: 2px; font-size: 14px; color: var(--gris); }
.etoiles { color: #e8a317; letter-spacing: 1px; font-size: 16px; }
.liste-avis { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e3); }
.liste-avis li { background: var(--fond); border-radius: var(--r2); padding: var(--e4); }
.liste-avis blockquote { margin: 0 0 var(--e2); font-size: 15.5px; line-height: 1.5; color: var(--texte); }
.liste-avis p { margin: 0; display: flex; align-items: center; gap: var(--e2); font-size: 14px; font-weight: 600; color: var(--nuit); }
.liste-avis p .etoiles { font-size: 13px; }
.lien-avis { display: inline-block; margin-top: var(--e4); color: var(--bleu-fonce); font-weight: 600; font-size: 15px; text-underline-offset: 3px; }
.entreprise p { margin: 0 0 var(--e4); color: var(--texte); font-size: 15.5px; line-height: 1.5; }
.entreprise .titre-carte { margin-top: 0; }

/* Projection 10 ans */
.dix-ans svg { display: block; width: 100%; height: auto; margin: var(--e2) 0 var(--e3); overflow: visible; }
.dix-ans .axe { stroke: var(--bord); stroke-width: 1.5; }
.dix-ans polyline { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dix-ans .c-actuel { stroke: var(--orange); }
.dix-ans .c-pac { stroke: var(--vert-vif); }
.dix-ans .p-actuel { fill: var(--orange); }
.dix-ans .p-pac { fill: var(--vert-vif); }
.dix-ans .t-axe { font-size: 11px; fill: var(--gris); font-family: var(--police); }
.gain-10 { margin: 0; font-size: 17px; color: var(--nuit); line-height: 1.4; }
.gain-10 b { color: var(--vert); font-size: 22px; font-weight: 700; }
.legende-10 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); margin-bottom: var(--e3); }
.legende-10 span { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--e2); font-size: 13px; color: var(--gris); }
.legende-10 b { grid-column: 2; font-size: 17px; color: var(--nuit); font-weight: 600; }
.pt.actuel { background: var(--orange); }
.pt.pac { background: var(--vert-vif); }
