/* Mise en page : une question par écran ; la maison se dessine à côté au fil des réponses (colonne sur ordinateur, bandeau sur téléphone). */
body { min-height: 100%; }
html:not(.js) .scene { display: none; }
.haut {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(249, 251, 252, .86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--trait);
}
.haut-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.haut-droite { display: flex; align-items: center; gap: 6px; }
.compteur { font-size: .8125rem; color: var(--doux); font-weight: 600; }
.compteur, #recommencer { white-space: nowrap; }
@media (max-width: 480px) { .haut .marque small { display: none; } #recommencer { font-size: .9375rem; padding: 0 .2em; } }
/* Bouton d'appel toujours visible (audit final du 12 nov. 2026) ; sur petit écran, l'icône seule (nom donné par aria-label). */
.appel-haut { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--petrole); color: var(--petrole); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.appel-haut svg { width: 18px; height: 18px; flex: none; }
.appel-haut:hover { background: var(--petrole); color: #fff; }
.appel-haut:focus-visible { outline: 3px solid var(--petrole-2); outline-offset: 2px; }
@media (max-width: 400px) { .appel-haut { padding: 0; width: 44px; justify-content: center; } .appel-haut span { display: none; } }
.progres { height: 3px; background: transparent; position: relative; overflow: hidden; }
.progres i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--petrole), var(--petrole-2)); transition: width .6s var(--courbe); border-radius: 0 3px 3px 0; }
.progres i::after { content: ""; position: absolute; right: -2px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(232, 131, 58, .25); }

.scene { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 1000px) { .scene { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; } }

/* Maison illustrée */
.atelier { position: relative; }
@media (min-width: 1000px) { .atelier { position: sticky; top: 96px; order: 2; padding-block: 40px; } }
.toile { background: linear-gradient(180deg, var(--ciel-2) 0%, #fff 78%); border: 1px solid var(--trait); border-radius: var(--r-grand); overflow: hidden; }
.toile svg { display: block; width: 100%; height: auto; }
.legende { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 18px 14px; font-size: .8125rem; color: var(--doux); border-top: 1px solid var(--trait); background: #fff; }
.legende b { color: var(--encre); font-weight: 700; }
@media (max-width: 999px) {
  .atelier { margin-top: 14px; }
  .toile svg { max-height: 150px; }
  .legende { display: none; }
}
#maison .anime { transition: all .7s var(--courbe); }
#maison .apparait { transition: opacity .5s ease, transform .6s var(--courbe); transform-box: fill-box; transform-origin: 50% 100%; }
#maison .cache { opacity: 0; transform: scale(.6); }
#maison .panneau { transition: opacity .35s ease, transform .45s var(--courbe); transform-box: fill-box; transform-origin: 50% 50%; }
#maison .panneau.off { opacity: 0; transform: scale(.4); }
.rayons { transform-origin: center; transform-box: fill-box; animation: tourne 40s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* Étapes */
.etapes { padding-block: 28px 140px; min-width: 0; }
@media (min-width: 1000px) { .etapes { padding-block: 56px 80px; } }
.etape { display: none; }
.etape.active { display: block; animation: entre .55s var(--courbe) both; }
.etape.retour.active { animation-name: entreRetour; }
@keyframes entre { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes entreRetour { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.question { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.9rem); margin-bottom: 10px; }
.question:focus { outline: none; }
.aide { color: var(--doux); font-size: 1.0625rem; max-width: 52ch; margin-bottom: 26px; }

/* Grandes cartes de choix */
.choix { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.choix.deux { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.carte-choix {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  min-height: 92px; padding: 18px 18px 16px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--trait-net);
  cursor: pointer; transition: border-color .2s, box-shadow .3s var(--courbe), transform .3s var(--courbe), background-color .2s;
}
.carte-choix:hover { border-color: var(--petrole-3); box-shadow: var(--ombre); transform: translateY(-2px); }
.carte-choix[aria-pressed="true"], .carte-choix[aria-checked="true"] { border-color: var(--petrole); background: var(--ciel-2); box-shadow: 0 0 0 1.5px var(--petrole) inset; }
.carte-choix[aria-pressed="true"]::after, .carte-choix[aria-checked="true"]::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--petrole) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  animation: coche .35s var(--courbe);
}
@keyframes coche { from { transform: scale(0); } to { transform: scale(1); } }
.carte-choix .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--ciel); display: grid; place-items: center; color: var(--petrole); }
.carte-choix .ico svg { width: 26px; height: 26px; }
.carte-choix strong { color: var(--encre); font-size: 1.0625rem; line-height: 1.25; padding-right: 26px; }
.carte-choix span.s { color: var(--doux); font-size: .9375rem; line-height: 1.35; }

/* Champs */
.champ { display: grid; gap: 8px; }
.champ label { font-weight: 700; color: var(--encre); }
.saisie {
  width: 100%; min-height: 60px; padding: 0 18px; border-radius: var(--r-petit); border: 1.5px solid var(--trait-fort); background: #fff;
  font-size: 1.25rem; color: var(--encre); transition: border-color .2s, box-shadow .2s;
}
.saisie:focus { outline: none; border-color: var(--petrole); box-shadow: 0 0 0 4px rgba(22, 57, 74, .12); }
.suggestions { list-style: none; margin: 8px 0 0; padding: 6px; border-radius: var(--r); background: #fff; border: 1px solid var(--trait-net); box-shadow: var(--ombre); }
.suggestions li { padding: 12px 14px; border-radius: 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--ciel-2); }
.suggestions small { color: var(--doux); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--trait-net); background: #fff; cursor: pointer; font-weight: 600; color: var(--texte); transition: all .2s; }
.puce:hover { border-color: var(--petrole-3); }
.puce[aria-pressed="true"] { background: var(--petrole); border-color: var(--petrole); color: #fff; }

/* Curseurs */
.curseur { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.curseur::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--petrole) var(--p, 50%), var(--trait-net) var(--p, 50%)); }
.curseur::-moz-range-track { height: 8px; border-radius: 8px; background: var(--trait-net); }
.curseur::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--petrole); }
.curseur::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 2px solid var(--petrole); box-shadow: 0 4px 12px rgba(14, 36, 49, .25); transition: transform .2s; }
.curseur::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--petrole); box-shadow: 0 4px 12px rgba(14, 36, 49, .25); }
.curseur:active::-webkit-slider-thumb { transform: scale(1.12); }
.valeur-geante { font-size: clamp(2.6rem, 2rem + 3vw, 3.8rem); font-weight: 800; color: var(--encre); letter-spacing: -.03em; line-height: 1; }
.valeur-geante small { font-size: .42em; color: var(--doux); font-weight: 700; letter-spacing: 0; }
.bornes { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--doux); }

/* Boussole */
.boussole-zone { display: grid; gap: 20px; justify-items: center; }
@media (min-width: 640px) { .boussole-zone { grid-template-columns: 300px 1fr; justify-items: start; align-items: center; } }
.boussole { width: min(300px, 82vw); aspect-ratio: 1; max-width: 100%; touch-action: none; user-select: none; cursor: grab; }
.boussole:active { cursor: grabbing; }
.boussole:focus { outline: none; }
.boussole:focus-visible { outline: 3px solid var(--petrole-3); outline-offset: 4px; border-radius: 50%; }
.boussole .aiguille { transition: transform .6s var(--courbe); transform-origin: 150px 150px; }
.boussole.glisse .aiguille { transition: none; }
.boussole text { font-weight: 800; fill: var(--encre); font-family: var(--police); }
.boussole .dir { cursor: pointer; }
.boussole .dir circle { fill: transparent; transition: fill .2s; }
.boussole .dir:hover circle { fill: var(--ciel-2); }
.jauge { width: 100%; display: grid; gap: 8px; }
.jauge-barre { height: 12px; border-radius: 12px; background: var(--carte); overflow: hidden; border: 1px solid var(--trait); }
.jauge-barre i { display: block; height: 100%; width: 0; border-radius: 12px; background: linear-gradient(90deg, var(--petrole-2), var(--petrole)); transition: width .7s var(--courbe); }
.jauge-texte { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.jauge-texte b { font-size: 1.5rem; color: var(--encre); }
.dir-nom { font-size: 1.5rem; font-weight: 800; color: var(--encre); letter-spacing: -.02em; }

/* Profil d'inclinaison */
.pente { width: 100%; max-width: 460px; }
.pente svg { width: 100%; height: auto; display: block; }
.pente .toit { transition: d .5s var(--courbe); }

/* Grille de panneaux (surface) */
.grille-p { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; max-width: 380px; padding: 14px; border-radius: var(--r); background: #B9705166; background: linear-gradient(180deg, #C98B6A, #B5754F); }
.grille-p i { aspect-ratio: 1.7; border-radius: 4px; background: rgba(255, 255, 255, .18); border: 1px dashed rgba(255, 255, 255, .45); transition: background-color .3s, transform .4s var(--courbe); }
.grille-p i.on { background: linear-gradient(160deg, #26475A, #10283A); border: 1px solid #39627A; transform: scale(1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* Stepper */
.stepper { display: inline-flex; align-items: center; gap: 18px; padding: 10px; border-radius: 999px; background: #fff; border: 1.5px solid var(--trait-net); }
.stepper button { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--carte); font-size: 1.5rem; font-weight: 700; color: var(--petrole); cursor: pointer; }
.stepper button:hover { background: var(--ciel); }
.stepper output { min-width: 3ch; text-align: center; font-size: 2.2rem; font-weight: 800; color: var(--encre); }
.foyer-points { display: flex; gap: 8px; margin-top: 18px; min-height: 40px; flex-wrap: wrap; }
.foyer-points i { width: 34px; height: 40px; display: block; animation: pop .4s var(--courbe) both; }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Navigation des étapes */
.nav-etapes {
  position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 10px; justify-content: space-between; align-items: center;
  padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: rgba(249, 251, 252, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--trait);
}
@media (min-width: 1000px) { .nav-etapes { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding: 36px 0 0; justify-content: flex-start; } }
.nav-etapes .btn-plein { min-width: 160px; }
.nav-etapes[hidden] { display: none !important; }

/* Accueil du simulateur */
.intro h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4rem); margin-bottom: 18px; }
.intro .aide { font-size: 1.25rem; }
.promesses { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 30px; color: var(--texte); font-weight: 600; font-size: .9375rem; }
.promesses span { display: inline-flex; align-items: center; gap: 8px; }
.promesses svg { width: 18px; height: 18px; color: var(--vert); }
.demos { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--trait); }
.demos h2 { font-size: 1.0625rem; margin-bottom: 4px; }
.demos p { color: var(--doux); font-size: .9375rem; margin-bottom: 14px; }
.demo-liste { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.demo { text-align: left; padding: 14px 16px; border-radius: var(--r-petit); border: 1.5px solid var(--trait-net); background: #fff; cursor: pointer; transition: all .2s; }
.demo:hover { border-color: var(--petrole-3); box-shadow: var(--ombre); }
.demo b { display: block; color: var(--encre); }
.demo span { font-size: .8125rem; color: var(--doux); }
.reprise { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding: 14px 18px; border-radius: var(--r); background: var(--orange-pale); border: 1px solid var(--orange-doux); margin-bottom: 24px; }
.reprise p { flex: 1 1 220px; color: var(--encre); font-weight: 600; }

/* Calcul */
.calcul { text-align: center; padding-block: 40px; }
.calcul svg { width: 220px; height: auto; margin: 0 auto 18px; display: block; }
.calcul .arc-soleil { offset-path: path("M20 110 A 90 90 0 0 1 200 110"); animation: course 1.6s var(--courbe) forwards; }
@keyframes course { from { offset-distance: 0%; } to { offset-distance: 50%; } }

/* Résultat : pleine largeur, la maison laisse la place */
.scene.fin { grid-template-columns: minmax(0, 1fr); }
.scene.fin .atelier { display: none; }
.scene.fin .etapes { max-width: 1080px; width: 100%; margin: 0 auto; }
@media (min-width: 900px) { .scene.fin .tuiles { grid-template-columns: repeat(3, 1fr); } }
/* Résultat */
.resultat { padding-block: 26px 40px; }
.resultat .entete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.res-hero { display: grid; gap: 22px; padding: 28px; border-radius: var(--r-grand); background: var(--nuit); color: #DCEAF1; position: relative; overflow: hidden; }
.res-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 131, 58, .28), rgba(232, 131, 58, 0) 65%); pointer-events: none; }
@media (min-width: 640px) { .res-hero { grid-template-columns: 1fr auto; align-items: center; } }
.res-hero .etiquette { color: #9FC0D0; }
.res-kwc { font-size: clamp(3.2rem, 2.2rem + 5vw, 5.4rem); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: .95; margin: 6px 0 8px; }
.res-kwc small { font-size: .38em; letter-spacing: -.01em; color: #CFE6F2; }
.res-hero p { color: #BFD6E1; }
.res-hero .rangee { display: flex; gap: 5px; margin-top: 16px; flex-wrap: wrap; max-width: 330px; }
.res-hero .rangee i { width: 26px; height: 16px; border-radius: 3px; background: linear-gradient(160deg, #3C6F8A, #173A4D); border: 1px solid #5C8DA6; animation: pop .45s var(--courbe) both; }
.anneau { width: 170px; height: 170px; position: relative; justify-self: center; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.anneau .val b { font-size: 2.3rem; color: #fff; line-height: 1; }
.anneau .val > span { font-size: .8125rem; color: #9FC0D0; max-width: 12ch; margin: 4px auto 0; line-height: 1.25; }
.anneau circle.p { transition: stroke-dashoffset 1.4s var(--courbe); }

.tuiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-top: 14px; }
.tuile { background: #fff; border: 1px solid var(--trait); border-radius: var(--r); padding: 18px 18px 16px; display: grid; gap: 4px; align-content: start; }
.tuile .etiquette { font-size: .8125rem; }
.tuile b { font-size: 2rem; color: var(--encre); letter-spacing: -.02em; line-height: 1.15; }
.tuile .f { font-size: .8125rem; color: var(--doux); }
.tuile.vert b { color: var(--vert); }

.bloc { margin-top: 26px; background: #fff; border: 1px solid var(--trait); border-radius: var(--r-grand); padding: 22px; }
.bloc h2 { font-size: 1.5rem; margin-bottom: 4px; }
.bloc .sous { color: var(--doux); font-size: .9375rem; margin-bottom: 14px; }
.graphe { width: 100%; overflow-x: auto; }
.graphe svg { display: block; width: 100%; min-width: 520px; height: auto; }
.graphe text { font-family: var(--police); font-size: 12px; fill: var(--doux); }
.leg { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--texte); margin-top: 10px; }
.leg i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.barre-anim { transform-box: fill-box; transform-origin: 50% 100%; animation: monte .9s var(--courbe) both; }
@keyframes monte { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.trace { stroke-dasharray: var(--l); stroke-dashoffset: var(--l); animation: trace 1.6s var(--courbe) .2s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }

.verdict { display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--r); background: var(--carte); margin-top: 14px; }
.verdict.non { background: var(--orange-pale); }
.verdict b { color: var(--encre); }
.tableau-tailles { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 560px; }
.tableau-tailles th, .tableau-tailles td { white-space: nowrap; padding: 11px 10px; text-align: right; border-bottom: 1px solid var(--trait); font-size: .9375rem; }
.tableau-tailles th:first-child, .tableau-tailles td:first-child { text-align: left; }
.tableau-tailles thead th { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); font-weight: 700; }
.tableau-tailles tr.conseil td { background: var(--ciel-2); font-weight: 700; color: var(--encre); }
.tableau-tailles tr.conseil td:first-child { border-radius: 12px 0 0 12px; }
.tableau-tailles tr.conseil td:last-child { border-radius: 0 12px 12px 0; }
.defile { overflow-x: auto; }
.alertes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.alertes li { padding: 12px 16px; border-radius: var(--r-petit); background: var(--orange-pale); border: 1px solid var(--orange-doux); color: var(--encre); font-size: .9375rem; }
details.hyp { margin-top: 26px; border-radius: var(--r); background: var(--carte); border: 1px solid var(--trait); }
details.hyp summary { cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--encre); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.hyp summary::-webkit-details-marker { display: none; }
details.hyp summary::after { content: "+"; font-size: 1.5rem; color: var(--petrole); transition: transform .3s var(--courbe); }
details.hyp[open] summary::after { transform: rotate(45deg); }
details.hyp ul { margin: 0; padding: 0 22px 20px 40px; display: grid; gap: 8px; font-size: .9375rem; }
.mention { margin-top: 16px; font-size: .8125rem; color: var(--doux); }

.contact { margin-top: 26px; border-radius: var(--r-grand); background: linear-gradient(160deg, var(--petrole) 0%, #0F2C3A 100%); color: #DCEAF1; padding: 28px; display: grid; gap: 20px; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem); }
.contact p { color: #BFD6E1; }
.contact .num { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.01em; user-select: all; }
.contact form { display: grid; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 18px; }
.contact label { font-weight: 700; color: #fff; font-size: .9375rem; }
.contact input, .contact textarea { width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .96); color: var(--encre); padding: 10px 14px; }
.contact textarea { min-height: 84px; resize: vertical; }
.contact .note { font-size: .8125rem; color: #9FC0D0; }
.contact .erreur { color: #FFD2C2; font-weight: 600; font-size: .8125rem; }
.pret { display: grid; gap: 10px; }
.pret pre { white-space: pre-wrap; background: #fff; color: var(--encre); border-radius: 12px; padding: 14px; font-family: var(--police); font-size: .8125rem; max-height: 220px; overflow: auto; margin: 0; }
.actions-fin { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pied { padding-block: 26px 120px; font-size: .8125rem; color: var(--doux); border-top: 1px solid var(--trait); margin-top: 30px; }
@media (min-width: 1000px) { .pied { padding-bottom: 30px; } }

@media print {
  .haut, .nav-etapes, .atelier, .contact form, .actions-fin, .demos, .btn, body::before { display: none !important; }
  body { background: #fff; }
  .scene { display: block; }
  .res-hero { background: #fff; color: var(--encre); border: 1px solid var(--trait-net); }
  .res-hero *, .res-kwc, .res-kwc small, .anneau .val b { color: var(--encre) !important; }
  details.hyp { display: block; } details.hyp ul { display: grid !important; }
  .bloc, .tuile { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* ===== Revue DA du site Opus (11 nov. 2026) : correctif propre à la page du simulateur, à fusionner dans css/simulateur.css ===== */

/* S-13 À 390 px, avec le mouvement normal, le document passe à 402 px (12 px de défilement latéral, page un peu « dézoomée » sur téléphone) à l'introduction et à la première
   question ; avec « réduire les animations » il reste à 390 px. Aucun élément ne dépasse au repos : c'est un débordement passager au chargement.
   Testé : avec la règle ci-dessous le document fait 390 px à chaque étape, mouvement normal ou réduit.
   (Réservé à cette page : sur les autres pages ce serait cacher de vrais débordements au lieu de les faire voir.) */
html:has(.atelier), html:has(.atelier) body { overflow-x: clip; }

/* Revue DA du site (B10) : une action de contact dès les chiffres clés, à contour (un seul bouton plein : « Préparer ma demande ») */
.raccourci-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 0; }
.raccourci-contact span { color: var(--doux); font-size: .9375rem; }

/* ===== Revue de la Direction artistique du 11 nov. 2026 (13 h 40) : correctifs O-1 à O-15 et règle « vitrine » ===== */
:root { --vert: #1B6B2F; --rouge: #B3261E; --r: 22px; }

/* O-1 En-tête de 980 à 1 019 px : le téléphone s'efface */
@media (min-width: 980px) and (max-width: 1079px) { .entete .tel { display: none; } }
/* O-2 Un seul bouton plein par écran sur téléphone : l'en-tête passe à contour */
@media (max-width: 979px) {
  .entete .btn { background: transparent; color: var(--petrole); border-color: var(--trait-fort); box-shadow: none; }
  .entete .btn:hover { background: var(--carte); }
}
.entete .btn { min-height: 48px; }
/* O-3 Anneau de focus lisible partout */
:focus-visible { outline-color: var(--petrole-2); }
.journee :focus-visible, .estim-r :focus-visible, .res-hero :focus-visible, .contact :focus-visible, .bandeau :focus-visible, .rdv .fermer:focus-visible { outline-color: var(--ciel); }
/* O-4 Ce qui prend le focus ne passe pas sous l'en-tête ni sous la barre du bas */
html { scroll-padding-bottom: 96px; scroll-padding-top: 84px; }
/* O-5 Titre du héros */
.heros h1 .doux { color: #628BA0; }
/* O-6 Aucun texte sous 13 px */
.carte-prod .etiquette, .carte-prod small, .carte-avis span, .badge, .etiquette { font-size: .8125rem; }
/* O-7 Contours de choix à 4,7:1 */
.carte-choix, .puce, .demo, .rail-nav button, .segments { border-color: var(--trait-fort); }
/* O-8 Barre du bas à texte agrandi */
.barre-bas { flex-wrap: wrap; }
.barre-bas .btn { flex: 1 1 140px; min-width: 0; }
/* O-9 et O-13 Simulateur à texte agrandi */
.haut-in { flex-wrap: wrap; }
.haut-droite { flex-wrap: wrap; min-width: 0; }
.nav-etapes { flex-wrap: wrap; }
.nav-etapes .btn, .nav-etapes .btn-plein { min-width: 0; flex: 1 1 130px; }
@media (min-width: 1000px) { .nav-etapes .btn, .nav-etapes .btn-plein { flex: 0 0 auto; } }
/* O-10 Héros étroit */
@media (max-width: 959px) { .heros-grille { grid-template-columns: minmax(0, 1fr); } .heros-grille > * { min-width: 0; } }
/* O-11 Liens du pied : cibles de 44 px */
.pied ul a { display: inline-flex; align-items: center; min-height: 44px; }
.pied ul { gap: 0; }
/* O-12 Vague de la carte : trois passages puis arrêt */
.carte-gard .onde { animation-iteration-count: 3; }
/* O-14 Estimation express étroite */
@media (max-width: 899px) {
  .estim-boite, .estim-q { grid-template-columns: minmax(0, 1fr); }
  .estim-q, .estim-r { min-width: 0; }
  .segments button { min-width: 0; overflow-wrap: anywhere; }
  .facture-ligne { flex-wrap: wrap; gap: 4px 12px; }
}
/* O-15 Textes des graphiques lisibles sur téléphone */
@media (max-width: 600px) { #res svg text { font-size: 16px !important; } }
.graphe svg { min-width: 0 !important; }

/* C1 Étoiles : plus d'orange en texte clair */
.etoiles { color: #A85A10; }
/* C2 Plus de rotation sans fin */
.rayons { animation: none !important; }

/* Règle « vitrine » : ombre douce seulement sur la photo du héros, les cartes de verre et la fenêtre de rendez-vous */
.btn-plein, .btn-plein:hover { box-shadow: none; }
.service:hover, .carte-choix:hover, a.carte:hover, .article-carte:hover, .demo:hover { transform: none; box-shadow: none; }
.service:hover { border-color: var(--trait-net); }
.carte-choix:hover { border-color: var(--petrole-3); }
.pastille-lieu i { box-shadow: none; }
.final::before, .estim-r::before, .res-hero::before, .bandeau::before, .contact::before { display: none; }
.estim { background: var(--fond); }
.mini-barres i { background: var(--orange); opacity: .85; }
.ciel .heure { text-shadow: none; }
.carte-prix.vedette { box-shadow: 0 0 0 1px var(--petrole) inset; }
.faq details[open] { box-shadow: none; border-color: var(--trait-net); }
.page-photo, .duo-photo, .portrait .photo { box-shadow: none; }
.service .photo img { transition: none; }
.service:hover .photo img { transform: none; }

/* C8 Sections sombres limitées : l'appel final devient clair */
.final { background: var(--ciel-2); color: var(--texte); }
.final h2 { color: var(--encre); }
.final p { color: var(--texte); }
.final .num { color: var(--encre); }
.final .mail { color: var(--petrole-2); }
.final .btn-clair { background: var(--petrole); color: #fff; }
.final .btn-contour { color: var(--petrole) !important; border-color: var(--trait-fort) !important; }

/* Journée de pose sur téléphone : un rail de cartes au lieu de six blocs empilés (page plus courte) */
@media (max-width: 959px) {
  .moments { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: -4px; padding-inline: 4px; }
  .moment { scroll-snap-align: start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; }
  .moment figure { order: -1; margin: 0 0 14px; aspect-ratio: 4 / 3; border-radius: 14px; }
  .moment h3 { font-size: 1.5rem; }
  .moment p { font-size: .9375rem; }
  .garanties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garantie { padding: 18px 16px; }
  .garantie b { font-size: 2rem; }
  .garantie svg { width: 40px; height: 40px; }
}
.indice-rail { display: none; font-size: .8125rem; color: #9FC0D0; margin-top: 4px; }
@media (max-width: 959px) { .indice-rail { display: block; } }

/* Lien d'évitement */
.sr:focus { position: fixed !important; left: 12px; top: calc(12px + env(safe-area-inset-top, 0px)); width: auto; height: auto; clip: auto; z-index: 100; background: #fff; color: var(--encre); padding: 12px 16px; border-radius: 12px; font-weight: 700; box-shadow: var(--ombre); }

/* Simulateur : pied légal seulement à l'accueil du simulateur et au résultat ; « Continuer » toujours visible */
.scene:not(.debut):not(.fin) .pied { display: none; }
@media (min-width: 1000px) {
  .nav-etapes { position: sticky; bottom: 0; z-index: 5; background: rgba(249, 251, 252, .94); padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); margin-top: 20px; }
}
.contact .btn-clair.second { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
@media (max-width: 420px) { .entete-in { gap: 8px 8px; } .entete .btn { padding-inline: .8em; font-size: .875rem; } .marque img.logo { height: 28px; } .burger { margin-left: 0; } }
@media (max-width: 340px) { .entete .btn { display: none; } }
