:root {
  --encre: #1d2a33; --doux: #56656f; --fond: #f6f4ef; --carte: #ffffff;
  --accent: #3d6b35; --accent-fonce: #2e5228; --vert: #2e7d32; --rouge: #c0392b;
  --ligne: #e2ddd3; --sec: #efe9dd;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--encre); background: var(--fond); line-height: 1.55; }
a { color: var(--accent-fonce); }
.contenu { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.contenu-large { max-width: 1240px; margin: 0 auto; padding: 0 12px; }
.bloc { padding: 28px 20px; }
.entete { background: var(--encre); color: #fff; }
.entete-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.logo { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.entete nav a { color: #e6ebe4; margin-left: 18px; text-decoration: none; font-size: .95rem; }
.entete nav a:hover { text-decoration: underline; }
.heros { background: linear-gradient(160deg, #24333d, #3b4a52); color: #fff; padding: 56px 0 48px; }
.heros h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 14px; max-width: 760px; }
.chapeau { font-size: 1.12rem; color: inherit; opacity: .92; max-width: 720px; }
.bouton { display: inline-block; background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.bouton:hover { background: var(--accent-fonce); }
h1 { font-size: 1.8rem; line-height: 1.25; }
h2 { font-size: 1.35rem; margin-top: 0; }
.grille3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grille3 li { background: var(--carte); border: 1px solid var(--ligne); border-radius: 10px; padding: 16px 18px; }
.grille3 h3 { margin: 0 0 6px; font-size: 1.05rem; }
.grille3 p { margin: 0; color: var(--doux); }
.citation p { font-size: 1.1rem; border-left: 4px solid var(--accent); padding-left: 14px; }
details { background: var(--carte); border: 1px solid var(--ligne); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
.pied { background: var(--encre); color: #d9dee2; padding: 24px 0; margin-top: 40px; font-size: .92rem; }
.pied a { color: #cfe0c8; }
.petit { font-size: .85rem; color: var(--doux); }
.pied .petit { color: #aab3b9; }
.avis { background: #fff4e0; border: 1px solid #f0c98a; border-radius: 8px; padding: 10px 14px; }
.outils button, .lien-bouton { font: inherit; font-size: .9rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: 6px; padding: 7px 12px; cursor: pointer; color: var(--encre); text-decoration: none; display: inline-block; margin: 0 6px 6px 0; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Tableau du calculateur */
.tableau-defile { overflow-x: auto; background: var(--carte); border: 1px solid var(--ligne); border-radius: 10px; }
table.calc { border-collapse: collapse; width: 100%; min-width: 900px; font-size: .9rem; }
.calc thead th { position: sticky; top: 0; background: var(--encre); color: #fff; text-align: left; padding: 9px 8px; font-weight: 600; z-index: 1; }
.calc td { border-top: 1px solid var(--ligne); padding: 6px 8px; vertical-align: top; }
.titre-section th { background: var(--sec); text-align: left; padding: 9px 8px; font-size: .98rem; }
.sous-total { float: right; font-weight: 600; }
.desc { min-width: 280px; }
.nom { display: block; font-weight: 500; }
.copie .nom { border-bottom: 1px dashed var(--doux); }
.badge { display: inline-block; font-size: .74rem; border-radius: 10px; padding: 1px 8px; margin-top: 3px; }
.badge.oui { background: #e3f1e4; color: #1f5f23; }
.badge.non { background: #fbe4e1; color: #8e2a1f; }
.badge.verif { background: #eef3ec; color: #2e5228; }
.badge.so { background: #eef0f2; color: #4d5a63; }
.licence { display: block; font-size: .74rem; color: var(--doux); }
.calc input, .calc select { font: inherit; width: 100%; min-width: 92px; padding: 5px 6px; border: 1px solid #cfc8bb; border-radius: 5px; background: #fff; }
.calc select { min-width: 150px; }
.num { text-align: right; white-space: nowrap; }
.plus { color: var(--rouge); font-weight: 600; }
.moins { color: var(--vert); font-weight: 600; }
.act button { font: inherit; font-size: .78rem; padding: 4px 8px; border: 1px solid var(--ligne); background: #fff; border-radius: 5px; cursor: pointer; }

/* Résumé */
.resume { background: var(--carte); border: 1px solid var(--ligne); border-radius: 10px; margin-top: 20px; }
.totaux { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; margin: 0; }
.totaux dt { color: var(--doux); }
.totaux dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totaux .fort { font-weight: 700; color: var(--encre); font-size: 1.12rem; }
.totaux input[type=number] { width: 140px; font: inherit; padding: 5px 6px; text-align: right; border: 2px solid var(--accent); border-radius: 6px; }
.totaux input[type=range] { width: 180px; vertical-align: middle; accent-color: var(--accent); }
.article .reponse { font-size: 1.1rem; background: var(--carte); border-left: 4px solid var(--vert); padding: 12px 16px; }
.fil { font-size: .85rem; color: var(--doux); }
@media (max-width: 640px) {
  html { font-size: 16px; }
  .heros h1 { font-size: 1.6rem; }
  .entete nav a { margin: 0 12px 0 0; }
  .totaux { grid-template-columns: 1fr; }
  .totaux dd { text-align: left; margin-bottom: 6px; }
}
.bouton-sec { font: inherit; background: #fff; color: var(--accent-fonce); border: 2px solid var(--accent); border-radius: 8px; padding: 8px 14px; cursor: pointer; font-weight: 600; }
.totaux select { font: inherit; padding: 5px 6px; border: 2px solid var(--accent); border-radius: 6px; max-width: 100%; }
#h-mise-p { color: var(--doux); margin-left: 6px; }

/* ---------- Accueil : la maison en coupe à cliquer (21 novembre 2026)
   VOICE : direct, chantier, chiffres d'abord.
   IDEA : un plan de coupe d'architecte, dessiné en blanc sur bleu.
   PICTURE : la maison en coupe, chaque partie cliquable, celle choisie en orange.
   COLOUR : bleu de plan #2b2b2b dominant, blanc, orange bois d'œuvre #3d6b35 en accent.
   TYPE : Archivo 800 pour les titres et les montants, Inter pour le texte.
   LAYOUT : jauge, piste horizontale, puis la fiche de l'étape et le résultat côte à côte. */
:root { color-scheme: light; --plan: #2b2b2b; --plan-fonce: #1c1c1c; --bois: #3d6b35; --bois-fonce: #2e5228; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2, .logo, .e-m, .fiche-total, .r-chiffres strong, #b-montant { font-family: Archivo, Inter, system-ui, sans-serif; }
.entete { background: var(--plan-fonce); }
.entete-in { padding-left: max(4vw, 16px); padding-right: max(4vw, 16px); }
.bouton { background: var(--bois); color: #fff; }
.bouton:hover { background: var(--bois-fonce); color: #fff; }
.bouton.plein { display: block; text-align: center; margin-top: 16px; }
.chantier { background: var(--plan); color: #fff; padding: clamp(22px, 3vw, 40px) 0 clamp(26px, 3vw, 44px);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px; }
.fiche, .resultats { background: #fff; color: var(--encre); border-radius: 14px; padding: 20px 22px; box-shadow: 0 14px 32px rgba(0,0,0,.25); }
.fiche-num { margin: 0; font-size: .85rem; color: var(--doux); }
.fiche h2 { margin: 2px 0 4px; font-size: clamp(20px, 2.2vw, 26px); color: var(--plan); }
.fiche-total { margin: 0 0 12px; font-size: 1.5rem; font-weight: 800; }
.fiche ul { list-style: none; padding: 0; margin: 0; }
.fiche li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid #e6eaee; }
.fiche li strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fiche-plus { margin: 8px 0 0; font-size: .88rem; color: var(--doux); }
.r-ligne { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: .95rem; }
.r-ligne output { font-weight: 700; white-space: nowrap; }
.resultats input[type=range] { width: 100%; height: 32px; accent-color: var(--bois); }
.r-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.r-chiffres div { background: #f1f5f9; border-radius: 10px; padding: 10px 12px; }
.r-chiffres span { display: block; font-size: .82rem; color: var(--doux); }
.r-chiffres strong { font-size: clamp(20px, 2.2vw, 27px); white-space: nowrap; }
.demo-eq { background: #e7f4ea !important; }
.demo-eq strong { color: var(--vert); }
.demo-eq.negatif { background: #fbe4e1 !important; }
.demo-eq.negatif strong { color: var(--rouge); }
.r-note { font-size: .8rem; color: var(--doux); margin: 8px 0 0; }
.ruban { background: var(--bois); color: #fff; }
.ruban-in { max-width: 1240px; margin: 0 auto; padding: 18px max(4vw, 16px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; }
.ruban-phrase { margin: 0; font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: clamp(18px, 2vw, 24px); }
.ruban-prix { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.ruban-prix a { color: #fff; font-weight: 600; }

.accueil-maison { background: var(--plan); color: #fff; padding: clamp(18px, 3vw, 36px) 0 clamp(18px, 2vw, 28px);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px; }
.am-grille { max-width: 1320px; margin: 0 auto; padding: 0 max(3vw, 12px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: start; }
.maison { width: 100%; height: auto; display: block; }
.am-aide { margin: 4px 0 0; font-size: .88rem; color: #c7d5e2; text-align: center; }
.am-panneau h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; margin: 0 0 6px; font-weight: 800; }
.am-sous { margin: 0 0 14px; color: #dbe6ef; }
.am-panneau .fiche { margin-bottom: 14px; }
.fiche h2 { margin: 0 0 2px; }
.am-puces { max-width: 1320px; margin: 14px auto 0; padding: 0 max(3vw, 12px); }
.am-puces ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.puce { font: inherit; font-size: .86rem; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 12px; cursor: pointer; min-height: 36px; }
.puce span { font-weight: 700; margin-left: 4px; white-space: nowrap; }
.puce.actif, .puce:hover { background: var(--bois); color: #fff; border-color: var(--bois); }
/* Dessin : traits blancs sur bleu, la partie choisie en orange */
.maison .zone { cursor: pointer; }
.maison .zone * { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.75); stroke-width: 1.6; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.maison .sol { fill: rgba(140,100,60,.22); stroke: none; }
.maison .herbe { stroke: #8fd18e; stroke-width: 4; fill: none; }
.maison .trou { fill: rgba(190,150,100,.20); stroke-dasharray: 6 5; }
.maison .gypse { fill: rgba(255,255,255,.04); }
.maison .combles { fill: rgba(255,255,255,.03); }
.maison .bois, .maison .trait { fill: none; }
.maison .tuyau, .maison .fil, .maison .conduit { fill: none; stroke-width: 3.5; }
.maison .tuyau { stroke: #7cc4ff; }
.maison .fil { stroke: #ffe27a; stroke-dasharray: 2 4; }
.maison .isol { fill: rgba(255,160,180,.25); }
.maison .vitre { fill: rgba(150,210,255,.35); }
.maison .feuille { fill: rgba(143,209,142,.35); }
.maison .zone:hover * { stroke: #fff; fill: rgba(255,255,255,.18); }
.maison .zone.actif * { fill: rgba(232,137,43,.55); stroke: var(--bois); }
.maison .zone.actif .herbe, .maison .zone.actif .tuyau, .maison .zone.actif .fil, .maison .zone.actif .conduit, .maison .zone.actif .bois, .maison .zone.actif .trait { fill: none; stroke: var(--bois); }
.maison .epingle { cursor: pointer; }
.maison .epingle circle { fill: #fff; stroke: var(--plan); stroke-width: 2; }
.maison .epingle path { stroke: var(--plan); stroke-width: 2.6; stroke-linecap: round; }
.maison .epingle.actif circle { fill: var(--bois); stroke: #fff; }
.maison .epingle:focus-visible circle { stroke: var(--bois); stroke-width: 4; }
@media (prefers-reduced-motion: no-preference) {
  .maison .epingle:not(.actif) circle { animation: pouls 2.4s ease-in-out infinite; }
  @keyframes pouls { 50% { r: 15; } }
}
@media (max-width: 900px) { .am-grille { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Graphique du budget par étape */
.graphe-bloc { background: var(--carte); border: 1px solid var(--ligne); border-radius: 10px; padding: 18px 20px; margin: 0 auto 20px; max-width: 1216px; }
.graphe-bloc h2 { margin: 0 0 6px; font-size: 1.15rem; }
.graphe-legende { margin: 0 0 12px; font-size: .85rem; color: var(--doux); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.lg { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-left: 6px; }
.lg-budget { background: #d7e0e8; } .lg-ok { background: var(--vert); } .lg-plus { background: var(--rouge); }
.graphe { display: grid; gap: 5px; }
.g-ligne { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) minmax(0, 15em); gap: 10px; align-items: center; font-size: .85rem; }
.g-nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-barres { position: relative; height: 16px; }
.g-budget, .g-reel { position: absolute; left: 0; border-radius: 3px; }
.g-budget { top: 0; height: 16px; background: #d7e0e8; }
.g-reel { top: 4px; height: 8px; background: var(--vert); }
.g-depasse .g-reel { background: var(--rouge); }
.g-depasse .g-m { color: var(--rouge); font-weight: 600; }
.g-m { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--doux); }
@media (prefers-reduced-motion: no-preference) { .g-budget, .g-reel { transition: width .3s ease; } }
@media (max-width: 640px) {
  .g-ligne { grid-template-columns: minmax(0, 1fr) auto; }
  .g-barres { grid-column: 1 / -1; order: 3; }
}

/* ---------- Suivi du budget en haut de la calculatrice */
.suivi { position: sticky; top: 0; z-index: 5; background: var(--plan); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.suivi-in { max-width: 1240px; margin: 0 auto; padding: 12px max(4vw, 16px) 14px; }
.suivi-haut { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.suivi h2 { margin: 0; font-size: 1.1rem; }
.s-msg { margin: 0; font-size: .92rem; font-weight: 600; }
.s-neutre { color: #d9e4ee; font-weight: 400; }
.s-ok { color: #9be3a6; }
.s-attention { color: #ffd08a; }
.s-danger { color: #ffb0a6; }
.s-jauge { position: relative; height: 14px; border-radius: 7px; background: rgba(255,255,255,.18); margin: 10px 0 8px; }
.s-payee { height: 100%; width: 0; border-radius: 7px; background: #9be3a6; }
.s-jauge.s-attention .s-payee { background: #f5b04a; }
.s-jauge.s-danger .s-payee { background: #ff6f5e; }
.s-repere { position: absolute; top: -4px; width: 3px; height: 22px; background: #fff; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) { .s-payee { transition: width .35s ease, background .35s; } }
.s-chiffres { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; font-size: .86rem; }
.s-chiffres div { display: flex; gap: 6px; }
.s-chiffres dt { color: #c7d5e2; }
.s-chiffres dd { margin: 0; font-weight: 700; white-space: nowrap; }

@media (max-width: 640px) {
  .suivi-in { padding-top: 8px; padding-bottom: 8px; }
  .suivi h2 { font-size: .98rem; }
  .s-msg.s-neutre { display: none; }
  .s-msg { font-size: .84rem; }
  .s-jauge { margin: 6px 0 6px; }
  .s-chiffres div:nth-child(2), .s-chiffres div:nth-child(3), .s-chiffres div:nth-child(5) { display: none; }
}

/* ---------- Cases à remplir : toujours texte foncé sur fond blanc, même en mode sombre */
:root, :root[data-theme=dark], :root[data-theme=light] { color-scheme: light; }
input, select, textarea, button { color: #1d2a33; }
input[type=number], input[type=text], select, textarea { background-color: #fff; color: #1d2a33; -webkit-text-fill-color: #1d2a33; }
input::placeholder { color: #8a96a0; -webkit-text-fill-color: #8a96a0; }
.bouton { color: #fff; }
.suivi button, .entete button { color: inherit; }
.calc input.nombre, .totaux input.nombre { text-align: right; font-variant-numeric: tabular-nums; }
.badge { white-space: normal; border-radius: 8px; line-height: 1.35; padding: 2px 8px; }

/* ---------- Commencer mon projet : questionnaire, connexion, paiement */
.nav-commencer { white-space: nowrap; display: inline-block; background: var(--bois); color: #fff !important; padding: 4px 12px; border-radius: 6px; font-weight: 600; }
.nom-projet { font-weight: 700; color: var(--plan); font-size: 1.1rem; margin-top: -6px; }
.etapes { display: flex; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; flex-wrap: wrap; }
.etapes li { padding: 6px 14px; border-radius: 20px; background: #e9eef2; color: #55636e; font-weight: 600; font-size: .92rem; }
.etapes li.actif { background: var(--plan); color: #fff; }
.etapes li.fait { background: #d6f0db; color: #1d6b2e; }
#questionnaire fieldset { border: 1px solid #d5dde3; border-radius: 10px; padding: 14px 18px 8px; margin: 0 0 18px; }
#questionnaire legend { font-family: Archivo, sans-serif; font-weight: 700; color: var(--plan); padding: 0 6px; }
.champ { display: block; margin: 0 0 14px; font-weight: 600; }
.champ input[type=text], .champ input[type=email] { display: block; width: 100%; max-width: 380px; margin-top: 4px; padding: 8px 10px; border: 1px solid #b9c4cc; border-radius: 6px; font: inherit; font-weight: 400; }
.champ input[type=range] { display: block; width: 100%; max-width: 380px; }
.groupe { margin: 0 0 14px; }
.groupe .etiq { display: block; font-weight: 600; margin-bottom: 4px; }
.choix { display: inline-flex; align-items: center; gap: 6px; margin: 0 14px 6px 0; padding: 6px 12px; border: 1px solid #c9d2d9; border-radius: 6px; cursor: pointer; background: #fff; }
.choix:has(input:checked) { border-color: var(--plan); background: #f1ebe3; }
.erreur { color: #b3261e; font-weight: 600; }
.bouton-google { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid #b9c4cc; border-radius: 6px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.ou { color: #55636e; margin: 4px 0; }

/* ---------- Haut de la calculatrice : vraie photo d'une maison contemporaine noire en forêt, pâle, dans le brouillard
   Photo créée par Gabriel Dubois avec ChatGPT (29 novembre 2026), remplace la photo trouvée sur Google. */
.vedette { position: relative; overflow: hidden; background: #ece4d8; border-bottom: 4px solid var(--bois); }
.vedette::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: 34%; z-index: 0;
  background: url("maison-foret.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  filter: saturate(.9) brightness(1.04); }
.vedette::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(236,228,216,.9) 0%, rgba(236,228,216,.75) 40%, rgba(236,228,216,.25) 62%, rgba(236,228,216,.15) 100%); }
.vedette > section { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 44px; }
.vedette .credit-photo { position: absolute; z-index: 2; right: 10px; bottom: 6px; font-size: .7rem; color: #56656f; }
.vedette .credit-photo a { color: inherit; }
.vedette h1 { color: var(--plan-fonce); font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 0; }
.vedette .chapeau { color: #1d2a33; opacity: 1; font-weight: 500; }
.vedette .bouton { background: #3d6b35; color: #fff; font-size: 1.05rem; padding: 14px 26px; box-shadow: 0 6px 18px rgba(46,82,40,.3); }
.vedette .bouton:hover { background: #2e5228; }
.vedette .avis { background: rgba(255,255,255,.88); border-color: #3d6b35; border-left-width: 5px; }
.vedette .outils button, .vedette .lien-bouton { background: #fff; border: 2px solid var(--plan); color: var(--plan); font-weight: 600; }
.vedette .outils button:hover, .vedette .lien-bouton:hover { background: var(--plan); color: #fff; }
@media (max-width: 760px) { .vedette::before { background: rgba(236,228,216,.85); } }

/* ---------- Suivi du budget : carte blanche sous le titre (plus de bandeau bleu collé en haut) */
.suivi { position: static; background: #fff; color: var(--encre); box-shadow: 0 2px 10px rgba(51,36,26,.08); border: 1px solid #dfe5ea; border-radius: 12px; margin: 24px auto 0; padding: 0; }
.suivi-in { padding: 16px 20px; }
.suivi h2 { color: var(--plan-fonce); }
.s-neutre { color: #56656f; }
.s-ok { color: #1f7a33; }
.s-attention { color: #b0600a; }
.s-danger { color: #c0392b; }
.s-jauge { background: #e6e1d6; }
.s-payee { background: #2e9e47; }
.s-jauge.s-attention .s-payee { background: #f08a12; }
.s-jauge.s-danger .s-payee { background: #d63b2b; }
.s-repere { background: var(--plan-fonce); }
.s-chiffres dt { color: #56656f; }
.s-chiffres dd { color: var(--encre); }

/* ---------- Palette vert forêt et brun bois (décision de Gabriel, 21 novembre 2026) ; texte du haut collé à gauche */
.entete { background: #1c1c1c; }
.nav-commencer { color: #fff !important; }
.bouton, .vedette .bouton { color: #fff; }
.vedette > section { max-width: 760px; margin-left: max(4vw, 20px); margin-right: auto; }
.vedette h1 { color: #1c1c1c; }

/* ---------- Entête simple; bouton « Il manque » en haut du tableau; mise à zéro en bas avec confirmation */
.outils-haut { margin: 18px 0 10px; }
.outils-haut .lien-bouton { border: 2px solid var(--plan); color: var(--plan); font-weight: 600; background: #fff; }
.zone-zero { margin: 18px 0 8px; }
.bouton-danger-leger { font: inherit; font-size: .9rem; background: #fff; color: #a33a2b; border: 1px solid #d9a79e; border-radius: 6px; padding: 7px 12px; cursor: pointer; }
.confirm-zero { background: #fdf1ef; border: 1px solid #e3a99f; border-left: 5px solid #c0392b; border-radius: 8px; padding: 12px 16px; max-width: 640px; }
.confirm-zero p { margin: 0 0 10px; }
.bouton-danger { font: inherit; font-weight: 600; background: #c0392b; color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; cursor: pointer; }
.vedette .chapeau { font-size: 1.2rem; max-width: 620px; }
.graphe-bloc { margin-top: 28px; }

/* ---------- Trio naturel : brun, beige, gris roche (décision de Gabriel, 21 novembre 2026) */
:root { --roche: #6e7173; --roche-pale: #dcdad6; --beige: #ece4d8; --brun-fonce: #1c1c1c; }
body { background: #f5f1ea; }
.pied { background: var(--brun-fonce); color: #e9e1d6; }
.pied a { color: #f0d9bd; }
.vedette .outils button, .vedette .lien-bouton, .outils-haut .lien-bouton { border-color: var(--roche); color: #3f4244; }
.bouton-sec-lien { display: inline-block; margin-left: 10px; padding: 12px 22px; border: 2px solid var(--roche); border-radius: 8px; color: #3f4244; font-weight: 600; text-decoration: none; background: rgba(255,255,255,.75); }
.bouton-sec-lien:hover { background: var(--roche); color: #fff; }
.tete-calc { padding-bottom: 0; }
.tete-calc h1 { color: var(--brun-fonce); margin: 4px 0 0; }
/* Accueil */
.parcours { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.parcours li { background: var(--brun-fonce); color: #f1e9dd; border-radius: 10px; padding: 14px 16px; }
.parcours strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.grille-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.carte-res { background: #fff; border: 1px solid var(--roche-pale); border-top: 4px solid var(--bois); border-radius: 10px; padding: 14px 16px; }
.carte-res h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--brun-fonce); }
.carte-res p { margin: 0; color: #4b4f52; font-size: .95rem; }
.video-place { aspect-ratio: 16 / 9; max-width: 860px; border-radius: 12px; background: linear-gradient(135deg, #5a5d5f, #3d3f41); display: flex; align-items: center; justify-content: center; color: #e8e6e2; font-weight: 600; font-size: 1.1rem; }
.boite-connexion { background: #fff; border: 1px solid var(--roche-pale); border-left: 5px solid var(--roche); border-radius: 12px; padding: 18px 22px; max-width: 520px; }
.boite-connexion h2 { margin-top: 0; color: var(--brun-fonce); }
h2 { color: var(--brun-fonce); }

/* ---------- Construction d'hiver et échéancier pour le créancier */
.case-hiver { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.ech-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .ech-grille { grid-template-columns: 1fr; } }
.ech-etapes, .ech-mois { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--roche-pale); }
.ech-etapes th, .ech-etapes td, .ech-mois th, .ech-mois td { padding: 6px 10px; border-bottom: 1px solid #eee8de; text-align: left; font-size: .93rem; }
.ech-etapes .num, .ech-mois .num { text-align: right; font-variant-numeric: tabular-nums; }
.ech-etapes thead, .ech-mois thead { background: var(--beige); }
.ech-mois tr:last-child td { font-weight: 700; }
.champ input[type=month] { display: block; margin-top: 4px; padding: 7px 10px; border: 1px solid #b9c4cc; border-radius: 6px; font: inherit; background: #fff; color: #1d2a33; }

/* ---------- Accueil : résumé épuré (3 étapes en ligne, points sur une ligne chacun) */
.etapes-acc { list-style: none; padding: 0; margin: 8px 0 30px; display: flex; gap: 0; max-width: 900px; }
.etapes-acc li { flex: 1; position: relative; text-align: center; padding: 0 10px; }
.etapes-acc li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: calc(50% + 30px); right: calc(-50% + 30px); height: 2px; background: var(--roche-pale); }
.num-rond { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--bois); color: #fff; font-weight: 700; font-size: 1.15rem; align-items: center; justify-content: center; margin-bottom: 8px; }
.etapes-acc strong { display: block; font-size: 1.08rem; color: var(--brun-fonce); }
.etapes-acc span:not(.num-rond) { display: block; color: var(--roche); font-size: .93rem; }
.points-res { list-style: none; padding: 0; margin: 0; max-width: 900px; columns: 2; column-gap: 48px; }
.points-res li { break-inside: avoid; padding: 10px 0 10px 28px; border-bottom: 1px solid #e6dfd3; position: relative; }
.points-res li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--bois); border-bottom: 2px solid var(--bois); transform: rotate(-45deg); }
.points-res strong { color: var(--brun-fonce); }
.points-res span { color: #5b5f62; }
@media (max-width: 700px) { .points-res { columns: 1; } .etapes-acc { flex-direction: column; gap: 14px; } .etapes-acc li::after { display: none; } }

/* ---------- Projets en onglets, verrouillage et note en rouge avant le paiement (23 novembre 2026) */
.onglets { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 0; border-bottom: 3px solid var(--plan); }
.onglet { padding: 9px 16px; border: 1px solid var(--ligne); border-bottom: none; border-radius: 8px 8px 0 0; background: var(--sec); color: var(--encre); text-decoration: none; font-weight: 600; font-size: .95rem; }
.onglet:hover { background: #e4dccb; }
.onglet.actif { background: var(--plan); color: #fff; border-color: var(--plan); }
.onglet-nouveau { background: #fff; color: var(--plan); border-style: dashed; }
.projet-infos { margin: 12px 0 0; }
.projet-infos .nom-projet { margin: 0 0 4px; }
.verrou { font-size: .9rem; color: var(--doux); background: #fff; border: 1px solid var(--ligne); border-radius: 8px; padding: 8px 12px; margin: 0 0 8px; }
input.verrouille, select.verrouille { background: #eceae4 !important; color: #55636e; cursor: not-allowed; border-style: dashed !important; }
.rapport-achete { color: var(--vert); font-weight: 700; }
.resume-reponses { background: #fff; border: 1px solid var(--ligne); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.note-rouge { border: 3px solid var(--rouge); background: #fdecea; color: var(--rouge); border-radius: 10px; padding: 12px 16px; margin: 18px 0 12px; }
.note-rouge p { margin: 0 0 8px; }
.case-accepte { display: block; font-weight: 700; color: var(--rouge); margin-top: 6px; cursor: pointer; }
.case-accepte input { width: 20px; height: 20px; vertical-align: middle; margin-right: 6px; accent-color: var(--rouge); }
button.bouton { border: none; font: inherit; font-weight: 600; cursor: pointer; }
button.bouton:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Comparaison des trois façons (accueil et page de détail) : palette forêt, bois, beige et roche de la photo d'entête (23 novembre 2026) */
:root { --foret: #3d5a3a; --foret-pale: #e9eee4; --bois-pale: #c49a6c; --sable: #f5f1ea; }
.esc { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--roche-pale); border-top: 4px solid var(--bois); border-radius: 12px; padding: 22px 22px 20px; box-shadow: 0 4px 18px rgba(51,36,26,.07); transition: box-shadow .15s, transform .15s; }
.esc:hover, .esc:focus-visible { box-shadow: 0 10px 28px rgba(51,36,26,.16); transform: translateY(-2px); }
.esc-titre { text-align: center; margin: 0 0 .2rem; font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--brun-fonce); }
.esc-sous { text-align: center; margin: 0 0 1.4rem; color: var(--roche); }
.esc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; }
.esc-col { text-align: center; display: flex; flex-direction: column; justify-content: flex-end; }
.esc-montant { font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1.1; }
.esc-equite { display: block; font-size: .9rem; color: var(--roche); margin-bottom: .45rem; }
.esc-barre { border-radius: 6px 6px 0 0; margin: 0 auto; width: 70%; max-width: 120px; }
.esc-1 .esc-barre { height: 6px; background: #d6d2cb; }
.esc-2 .esc-barre { height: 89px; background: var(--bois-pale); }
.esc-3 .esc-barre { height: 160px; background: var(--foret); }
.esc-1 .esc-montant { color: var(--roche); }
.esc-2 .esc-montant { color: var(--bois); }
.esc-3 .esc-montant { color: var(--foret); }
.esc-sol { border-top: 3px solid var(--brun-fonce); margin: 0 0 .7rem; }
.esc-noms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; font-weight: 600; line-height: 1.3; color: var(--brun-fonce); }
.esc-noms small { display: block; font-weight: 400; color: var(--roche); margin-top: .2rem; }
.esc-gagnant, .etiquette-gagnant { display: inline-block; background: var(--foret); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em; border-radius: 20px; padding: .18rem .7rem; margin-bottom: .45rem; }
.esc-note { text-align: center; font-size: .85rem; color: var(--roche); margin: 1.2rem 0 0; }
.esc-pied { text-align: center; margin: .9rem 0 0; }
.esc-pied span { display: inline-block; background: var(--bois); color: #fff; font-weight: 600; border-radius: 8px; padding: 10px 20px; box-shadow: 0 4px 12px rgba(46,82,40,.25); }
.esc:hover .esc-pied span { background: var(--bois-fonce); }
@media (max-width: 540px) { .esc { padding: 18px 12px; } .esc-montant { font-size: 1.15rem; } .esc-cols, .esc-noms { gap: .5rem; } .esc-noms { font-size: .85rem; } .esc-equite { font-size: .75rem; } }

/* Page de détail */
.vedette .fil, .vedette .fil a { color: var(--brun-fonce); }
.vedette .exemple-vedette { display: inline-block; background: rgba(255,255,255,.88); border-left: 5px solid var(--bois); border-radius: 8px; padding: 12px 16px; margin: 6px 0 0; color: var(--encre); }
.vedette .exemple-vedette strong { font-family: Archivo, sans-serif; font-size: 1.3rem; color: var(--brun-fonce); }
.scenario { background: #fff; border: 1px solid var(--roche-pale); border-top: 4px solid var(--bois); border-radius: 12px; padding: 24px 26px; margin: 0 0 30px; box-shadow: 0 4px 18px rgba(51,36,26,.06); }
.scenario.sc-1 { border-top-color: var(--roche); }
.scenario.sc-3 { border-top-color: var(--foret); background: linear-gradient(180deg, var(--foret-pale) 0, #fff 140px); }
.sc-tete { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.sc-num { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.35rem; color: #fff; background: var(--bois); }
.sc-1 .sc-num { background: var(--roche); }
.sc-3 .sc-num { background: var(--foret); }
.sc-tete h2 { margin: 0; font-size: clamp(1.2rem, 2.6vw, 1.5rem); color: var(--brun-fonce); }
.sc-tete .etiquette-gagnant { margin: 0 0 0 8px; vertical-align: middle; }
.scenario p { margin: 0 0 12px; }
.scenario strong { color: var(--brun-fonce); }
.calcul { width: 100%; max-width: 560px; border-collapse: collapse; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.calcul td { padding: 8px 4px; border-bottom: 1px solid #e6dfd3; }
.calcul td:last-child { text-align: right; white-space: nowrap; }
.calcul .moins td { color: #b3261e; }
.calcul .total td { font-weight: 700; color: var(--brun-fonce); border-top: 2px solid var(--brun-fonce); }
.resultat { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--sable); border: 1px solid #e6dfd3; border-radius: 10px; padding: 14px 18px; margin: 0 0 16px; }
.resultat .chiffre { font-family: Archivo, sans-serif; font-weight: 800; font-size: 2.1rem; line-height: 1; min-width: 7ch; }
.resultat .legende { display: block; font-size: .85rem; color: var(--roche); font-weight: 500; }
.sc-1 .chiffre { color: var(--roche); }
.sc-2 .chiffre { color: var(--bois); }
.sc-3 .chiffre { color: var(--foret); }
.jauge { flex: 1 1 160px; height: 14px; background: #e6dfd3; border-radius: 7px; overflow: hidden; }
.jauge span { display: block; height: 100%; border-radius: 7px; }
.sc-1 .jauge span { width: 1.5%; background: var(--roche); }
.sc-2 .jauge span { width: 56%; background: var(--bois-pale); }
.sc-3 .jauge span { width: 100%; background: var(--foret); }
.scenario ul { margin: 0; padding-left: 20px; }
.scenario li { margin: 0 0 8px; }
.scenario li::marker { color: var(--bois); }
.attention { background: #fbf3e4; border-left: 5px solid #2e5228; padding: 14px 18px; border-radius: 8px; margin: 16px 0 0; }
.attention p { margin: 0; }
.tableau-resume { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-variant-numeric: tabular-nums; background: #fff; border: 1px solid var(--roche-pale); border-radius: 10px; overflow: hidden; }
.tableau-resume th { background: var(--brun-fonce); color: #f1e9dd; font-weight: 600; }
.tableau-resume td, .tableau-resume th { padding: 11px 14px; border-bottom: 1px solid #e6dfd3; text-align: left; }
.tableau-resume td:last-child, .tableau-resume th:last-child { text-align: right; white-space: nowrap; }
.tableau-resume tr.meilleur td { font-weight: 700; color: var(--foret); background: var(--foret-pale); }
@media (max-width: 540px) { .scenario { padding: 18px 16px; } .resultat .chiffre { font-size: 1.7rem; } }

/* ---------- Pages d'information : photo d'entête, cartes à bordure de couleur et appel à l'action (24 novembre 2026) */
.vedette .reponse-vedette { display: flex; gap: 18px; align-items: flex-start; background: rgba(255,255,255,.9); border-left: 5px solid var(--foret); border-radius: 10px; padding: 16px 20px; margin: 10px 0 0; max-width: 680px; box-shadow: 0 6px 20px rgba(51,36,26,.12); }
.vedette .reponse-vedette p { margin: 0; color: var(--encre); font-size: 1.05rem; line-height: 1.55; }
.gros-non { font-family: Archivo, sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--foret); }
.carte-page { background: #fff; border: 1px solid var(--roche-pale); border-top: 4px solid var(--bois); border-radius: 12px; padding: 22px 26px; margin: 0 0 26px; box-shadow: 0 4px 18px rgba(51,36,26,.06); }
.carte-page h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: clamp(1.2rem, 2.6vw, 1.45rem); color: var(--brun-fonce); }
.pastille { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--bois); }
.carte-attention { border-top-color: #2e5228; }
.carte-attention .pastille { background: #2e5228; color: #fff; }
.carte-foret { border-top-color: var(--foret); }
.carte-foret .pastille { background: var(--foret); }
.carte-roche { border-top-color: var(--roche); }
.carte-roche .pastille { background: var(--roche); }
.liste-page { list-style: none; padding: 0; margin: 0; }
.liste-page li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid #ece6dc; }
.liste-page li:last-child { border-bottom: 0; }
.liste-page li::before { content: ""; position: absolute; left: 6px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: #2e5228; color: #fff; }
.liste-coche li::before { left: 4px; top: 17px; width: 10px; height: 6px; border-radius: 0; background: none; border-left: 2px solid var(--foret); border-bottom: 2px solid var(--foret); transform: rotate(-45deg); }
.liste-liens li::before { background: var(--roche); }
.liste-page strong { color: var(--brun-fonce); }
.carte-page .petit { margin: 14px 0 0; }
.appel-action { background: var(--brun-fonce); color: #f1e9dd; border-radius: 12px; padding: 22px 26px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 6px 0 10px; }
.appel-action p { margin: 0; flex: 1 1 320px; font-size: 1.05rem; }
.appel-action strong { color: #fff; }
.appel-action .bouton { background: var(--bois); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.appel-action .bouton:hover { background: #a06a35; }
@media (max-width: 540px) { .carte-page { padding: 18px 16px; } .vedette .reponse-vedette { flex-direction: column; gap: 6px; } }

/* ---------- Calculatrice hypothécaire : vos chiffres à gauche, votre paiement à droite (24 novembre 2026) */
.visuel-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hypo-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; align-items: start; max-width: 1000px; margin: 0 auto; }
.hypo-entrees h3 { margin: 0 0 14px; font-size: 1.25rem; color: var(--brun-fonce); }
.hypo-champ { margin: 0 0 18px; }
.hypo-champ label { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--brun-fonce); margin: 0 0 6px; }
.hypo-champ output { font-weight: 500; color: var(--bois); }
.hypo-case { display: flex; align-items: center; border: 1px solid #d3cbbf; border-radius: 8px; background: #fff; overflow: hidden; }
.hypo-case:focus-within { border-color: var(--bois); box-shadow: 0 0 0 3px rgba(139,90,43,.18); }
.hypo-case input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 1.15rem; text-align: right; background: transparent; outline: none; }
.hypo-case span { padding: 0 14px; color: var(--roche); font-weight: 600; background: var(--sable); align-self: stretch; display: grid; place-items: center; border-left: 1px solid #e6dfd3; }
.hypo-champ input[type=range] { width: 100%; accent-color: var(--bois); }
.hypo-champ select { width: 100%; padding: 11px 12px; font: inherit; border: 1px solid #d3cbbf; border-radius: 8px; background: #fff; }
.hypo-resultat { position: sticky; top: 16px; background: var(--brun-fonce); color: #e9e1d6; border-radius: 12px; padding: 24px 26px; box-shadow: 0 10px 28px rgba(51,36,26,.22); }
.hypo-etiquette { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #cdbfae; }
.hypo-paie { margin: 4px 0 18px; font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; color: #fff; }
.hypo-resultat dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0 0 20px; }
.hypo-resultat dt, .hypo-resultat dd { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); margin: 0; }
.hypo-resultat dd { text-align: right; white-space: nowrap; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.hypo-resultat .bouton { display: block; text-align: center; background: var(--bois); }
.hypo-resultat .bouton:hover { background: #a06a35; }
.hypo-note { max-width: 1000px; margin: 18px auto 0; }
@media (max-width: 760px) { .hypo-grille { grid-template-columns: minmax(0, 1fr); } .hypo-resultat { position: static; } }

/* ---------- Colonne « Taxes ? » : Oui ou Non seulement (24 novembre 2026) */
.note-taxes { background: #fff; border: 1px solid var(--roche-pale); border-left: 5px solid var(--bois); border-radius: 8px; padding: 12px 16px; margin: 0 0 14px; max-width: 900px; }

/* ---------- Bouton « + » au bas de chaque poste : ajoute une ligne sur mesure juste en dessous (24 novembre 2026) */
td.desc .ajout { display: block; width: fit-content; margin: 5px 0 0; padding: 0 6px; border: 1px solid rgba(139,90,43,.45); border-radius: 4px; background: transparent; color: var(--bois); font: 500 .66rem/1.5 Inter, sans-serif; cursor: pointer; opacity: .8; }
td.desc .ajout:hover, td.desc .ajout:focus-visible { background: var(--bois); color: #fff; border-color: var(--bois); opacity: 1; }
tr.mesure td { background: #fbf8f2; }
tr.mesure .nom { display: inline-block; min-width: 14em; padding: 6px 10px; border: 1px solid #d3cbbf; border-bottom: 1px solid #d3cbbf; border-radius: 6px; background: #fff; outline: none; }
tr.mesure .nom:focus { border-color: var(--bois); box-shadow: 0 0 0 3px rgba(139,90,43,.18); }
tr.mesure .nom:empty::before { content: attr(data-indice); color: #9a9a9a; }
.act .sup { color: #a33a2b; border-color: #e3b5ad; }

/* ---------- Style « chantier » : noir et jaune de chantier (décision de Gabriel Dubois, 24 novembre 2026) */
:root { --bois: #3d6b35; --bois-fonce: #d18f00; --brun-fonce: #1c1c1c; --plan: #1c1c1c; --plan-fonce: #1c1c1c; --encre: #1c1c1c;
  --accent: #2e5228; --accent-fonce: #2e5228; --bois-pale: #b7cfae; --sable: #f6f6f3; --roche-pale: #e3e3e0; --beige: #f6f6f3;
  --foret: #1f7a4d; --foret-pale: #e6f2ea; --texte-or: #2e5228; }
body { background: #ffffff; }
.entete { background: #1c1c1c; }
.pied { background: #1c1c1c; color: #e6e6e6; }
.pied a { color: #9fc490; }
/* Texte blanc sur le vert, pour qu'il se lise bien (avant : noir sur jaune) */
.bouton, .vedette .bouton, .bouton:hover, .nav-commencer, .num-rond, .esc-pied span, .sc-num, .pastille, .ruban, .puce.actif, .puce:hover,
td.desc .ajout:hover, td.desc .ajout:focus-visible, .hypo-resultat .bouton, .appel-action .bouton { color: #fff !important; }
.nav-commencer { background: #3d6b35; color: #fff; }
.bouton:hover, .vedette .bouton:hover, .hypo-resultat .bouton:hover, .appel-action .bouton:hover, .esc:hover .esc-pied span { background: #5b8a4f; color: #fff; }
.vedette .bouton, .esc-pied span, .appel-action .bouton { box-shadow: 0 6px 18px rgba(61, 107, 53,.28); }
/* Texte doré foncé quand il est sur du blanc */
.esc-2 .esc-montant, .sc-2 .chiffre, .hypo-champ output, td.desc .ajout { color: var(--texte-or); }
td.desc .ajout { border-color: rgba(154,107,0,.45); }
.sc-1 .sc-num, .carte-roche .pastille, .carte-foret .pastille, .sc-3 .sc-num { color: #fff !important; }
/* Haut de page : noir, photo à droite, titre blanc */
.vedette { background: #1c1c1c; border-bottom: 6px solid #3d6b35; }
.vedette::before { background: linear-gradient(90deg, rgba(28,28,28,.96) 0%, rgba(28,28,28,.84) 40%, rgba(28,28,28,.25) 64%, rgba(28,28,28,0) 100%); }
.vedette::after { filter: saturate(1.1) contrast(1.05); }
.vedette h1 { color: #ffffff; }
.vedette .chapeau { color: #e8e8e8; }
.vedette .fil, .vedette .fil a { color: #cfcfcf; }
.vedette .bouton-sec-lien { background: transparent; color: #fff; border-color: #fff; }
.vedette .bouton-sec-lien:hover { background: #fff; color: #1c1c1c; }
@media (max-width: 760px) { .vedette::before { background: rgba(28,28,28,.86); } }
h1, h2 { color: #1c1c1c; }
.vedette h1 { color: #fff; }
.vedette .bouton { background: #3d6b35; color: #fff; }
.vedette .avis { border-color: #3d6b35; }
:root { --sec: #f1f1ee; }

/* ---------- Page « Commencer mon projet » : photo en haut, étapes, sections en cartes (24 novembre 2026) */
.vedette-commencer .avis { background: rgba(255,255,255,.1); color: #f1f1f1; border: 1px solid rgba(61, 107, 53,.6); border-left: 5px solid #3d6b35; border-radius: 8px; max-width: 720px; }
.vedette .etapes { margin: 22px 0 0; gap: 10px; }
.vedette .etapes li { background: rgba(255,255,255,.12); color: #e6e6e6; padding: 9px 16px; font-size: .95rem; border: 1px solid rgba(255,255,255,.2); }
.vedette .etapes li.actif { background: #3d6b35; color: #fff; border-color: #3d6b35; }
.vedette .etapes li.fait { background: #1f7a4d; color: #fff; border-color: #1f7a4d; }
.etape-zone { max-width: 860px; }
#questionnaire fieldset { background: #fff; border: 1px solid var(--roche-pale); border-top: 4px solid #3d6b35; border-radius: 12px; padding: 20px 24px 10px; margin: 0 0 22px; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
#questionnaire legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 1.25rem; color: #1c1c1c; }
#questionnaire legend + * { clear: both; }
.champ { color: #1c1c1c; }
.champ input[type=text], .champ input[type=email], .champ input[type=month] { max-width: 420px; padding: 11px 12px; border: 1px solid #d3d3cf; border-radius: 8px; font-size: 1.02rem; }
.champ input:focus { outline: none; border-color: #3d6b35; box-shadow: 0 0 0 3px rgba(61, 107, 53,.25); }
.champ input[type=range] { accent-color: #3d6b35; max-width: 420px; margin-top: 8px; }
.groupe .etiq { color: #1c1c1c; }
.choix { border-color: #d3d3cf; border-radius: 8px; padding: 8px 14px; transition: border-color .15s, background .15s; }
.choix:hover { border-color: #3d6b35; }
.choix:has(input:checked) { border-color: #3d6b35; background: #eef3ec; font-weight: 600; }
.choix input { accent-color: #1c1c1c; }
#questionnaire .bouton, .etape-carte .bouton { font-size: 1.05rem; padding: 14px 30px; box-shadow: 0 6px 18px rgba(61, 107, 53,.28); border: 0; cursor: pointer; }
.etape-carte { background: #fff; border: 1px solid var(--roche-pale); border-top: 4px solid #3d6b35; border-radius: 12px; padding: 24px 26px; margin-top: 26px; margin-bottom: 26px; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.etape-carte h2 { margin-top: 0; }
.etape-carte h2 + * { margin-top: 0; }
.bouton-sec { font: inherit; font-weight: 600; background: #fff; color: #1c1c1c; border: 2px solid #1c1c1c; border-radius: 8px; padding: 9px 18px; cursor: pointer; }
.bouton-sec:hover { background: #1c1c1c; color: #fff; }
@media (max-width: 540px) { #questionnaire fieldset, .etape-carte { padding: 16px 14px 8px; } }

/* ---------- Page de la calculatrice : style « bandes jaunes » (choix de Gabriel Dubois, 24 novembre 2026) */
.tete-calc h1 { font-size: 2.3rem; }
.graphe-bloc { border: 0; border-top: 6px solid #1c1c1c; border-radius: 0 0 12px 12px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.g-budget { background: #e3e3df; }
.g-reel { background: #1f7a4d; }
.calc thead th { background: #1c1c1c; color: #fff; }
.titre-section th { background: #3d6b35; color: #fff; font-size: 1.05rem; font-weight: 800; padding: 12px 10px; font-family: Archivo, sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.sous-total { background: none; color: #fff; padding: 2px 10px; font-family: Archivo, sans-serif; }
.calc td { border-top: 1px solid #ececec; }
.resume { border: 0; border-left: 8px solid #3d6b35; border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.08); padding: 24px 28px; }
.totaux dt.fort, .totaux dd.fort { background: #1c1c1c; color: #3d6b35; padding: 12px 14px; font-size: 1.35rem; font-family: Archivo, sans-serif; margin: 6px 0; }
.totaux dt.fort { border-radius: 8px 0 0 8px; color: #fff; }
.totaux dd.fort { border-radius: 0 8px 8px 0; }
@media (max-width: 700px) { .totaux dt.fort { border-radius: 8px 8px 0 0; margin-bottom: 0; } .totaux dd.fort { border-radius: 0 0 8px 8px; margin-top: -8px; text-align: left; } }

/* ---------- Calculatrice hypothécaire : graphique intérêts et capital, comparaison des amortissements (24 novembre 2026) */
.hypo-plus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; max-width: 1000px; margin: 26px auto 0; align-items: start; }
.hypo-plus .carte-page { margin: 0; border-top-color: #3d6b35; }
.hypo-plus h3 { margin: 0 0 6px; font-size: 1.2rem; color: #1c1c1c; }
.pt { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; }
.pt-cap { background: #1f7a4d; } .pt-int { background: #3d6b35; color: #fff; }
.hypo-graphe { display: flex; align-items: flex-end; gap: 2px; height: 200px; padding: 8px 0 22px; border-bottom: 2px solid #1c1c1c; margin: 12px 0 10px; }
.hb { position: relative; flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; min-width: 3px; }
.hb-cap { background: #1f7a4d; border-radius: 0; }
.hb-int { background: #3d6b35; border-radius: 3px 3px 0 0; color: #fff; }
.hb-an { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: .72rem; color: #6e7173; }
.hypo-tableau { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.hypo-tableau th { background: #1c1c1c; color: #fff; text-align: left; padding: 8px 10px; font-weight: 600; }
.hypo-tableau td { padding: 8px 10px; border-bottom: 1px solid #ececec; }
.hypo-tableau td:not(:first-child), .hypo-tableau th:not(:first-child) { text-align: right; white-space: nowrap; }
.hypo-options tbody tr { cursor: pointer; }
.hypo-options tbody tr:hover td { background: #eef3ec; }
.hypo-options tr.actif td { background: #eef3ec; font-weight: 700; }
.eco { color: #1f7a4d; font-weight: 600; } .perte { color: #a33a2b; }
.hypo-details summary { cursor: pointer; font-weight: 600; margin: 6px 0 10px; }
.hypo-details .tableau-defile { max-height: 320px; overflow: auto; }
@media (max-width: 860px) { .hypo-plus { grid-template-columns: minmax(0, 1fr); } }
.hypo-plus { grid-template-columns: minmax(0, 1fr); }
.hb-cap, .hb-int { display: block; width: 100%; }
.hypo-graphe { height: 240px; gap: 3px; }

/* Graphique hypothécaire : intérêts en rouge, bulle de chiffres */
.pt-int, .hb-int { background: #c0392b; }
.hypo-graphe { position: relative; }
.hb { cursor: pointer; }
.hb:hover .hb-cap { background: #2a9a62; } .hb:hover .hb-int { background: #d9503f; }
.hb-bulle { position: absolute; top: 0; z-index: 3; width: 230px; background: #1c1c1c; color: #fff; border-radius: 8px; padding: 10px 12px; font-size: .85rem; line-height: 1.5; box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none; }
.hb-bulle strong { display: block; color: #3d6b35; margin-bottom: 2px; }
.hb-bulle span { display: block; white-space: nowrap; }
.hb-bulle .pt { margin-right: 4px; }

/* Graphique hypothécaire horizontal : une barre par année, chiffres en blanc dans les couleurs (24 novembre 2026) */
.hypo-graphe { display: block; height: auto; padding: 0; border-bottom: 0; margin: 14px 0 12px; }
.hypo-graphe .hb { display: flex; flex-direction: row; align-items: center; gap: 10px; height: auto; margin: 0 0 3px; position: static; }
.hypo-graphe .hb-an { position: static; transform: none; flex: none; width: 66px; font-size: .78rem; color: #55595c; text-align: right; }
.hb-piste { flex: 1; display: flex; align-items: stretch; height: 22px; position: relative; }
.hypo-graphe .hb-cap, .hypo-graphe .hb-int { display: flex; align-items: center; height: 100%; overflow: hidden; white-space: nowrap; }
.hypo-graphe .hb-int { border-radius: 0 4px 4px 0; }
.hypo-graphe .hb-cap { border-radius: 4px 0 0 4px; }
.hypo-graphe .hb-cap b, .hypo-graphe .hb-int b { color: #fff; font-weight: 600; font-size: .72rem; padding: 0 7px; letter-spacing: .01em; }
.hb-dehors { display: flex; align-items: center; gap: 6px; padding-left: 6px; font-size: .72rem; white-space: nowrap; }
.hb-dehors i { font-style: normal; font-weight: 600; } .hb-dehors .d-c { color: #1f7a4d; } .hb-dehors .d-i { color: #c0392b; }
.hypo-graphe .hb:hover .hb-an { color: #1c1c1c; font-weight: 700; }
@media (max-width: 540px) { .hypo-graphe .hb-an { width: 54px; font-size: .7rem; } .hb-piste { height: 20px; } .hypo-graphe .hb-cap b, .hypo-graphe .hb-int b { font-size: .66rem; padding: 0 4px; } }

/* ---------- Avancement des travaux pour les déboursés (24 novembre 2026) */
.avancement { background: #fff; border: 0; border-top: 6px solid #1c1c1c; border-radius: 0 0 12px 12px; box-shadow: 0 4px 18px rgba(0,0,0,.06); padding: 22px 26px; margin-top: 24px; margin-bottom: 24px; }
.avancement h2 { margin-top: 0; }
.av-total { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #1c1c1c; color: #fff; border-radius: 10px; padding: 14px 18px; margin: 12px 0 16px; }
.av-chiffre { font-family: Archivo, sans-serif; font-weight: 800; font-size: 2rem; color: #3d6b35; line-height: 1; }
.av-texte { font-weight: 600; }
.av-jauge { flex: 1 1 200px; height: 14px; background: #3a3a3a; border-radius: 7px; overflow: hidden; }
.av-jauge span { display: block; height: 100%; width: 0; background: #3d6b35; transition: width .2s; color: #fff; }
.av-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.av-liste label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #ececec; border-radius: 8px; cursor: pointer; }
.av-liste label:hover { border-color: #3d6b35; }
.av-liste input { width: 18px; height: 18px; accent-color: #1f7a4d; flex: none; }
.av-nom { flex: 1; }
.av-p { font-weight: 700; font-variant-numeric: tabular-nums; color: #55595c; }
.av-liste li.fait label { background: #e6f2ea; border-color: #1f7a4d; }
.av-liste li.fait .av-p { color: #1f7a4d; }
@media (max-width: 760px) { .av-liste { grid-template-columns: minmax(0, 1fr); } .avancement { padding: 18px 14px; } }
.hypo-autocons { max-width: 1000px; margin: 22px auto 0; background: #eef3ec; border-left: 5px solid #3d6b35; border-radius: 8px; padding: 14px 18px; }

/* ---------- Date de début des travaux : bouton calendrier et date écrite en lettres (24 novembre 2026) */
.champ-date { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px; row-gap: 4px; }
.champ-date-titre { font-weight: 600; color: #1c1c1c; }
.cal-zone { position: relative; display: inline-flex; }
.btn-cal { display: inline-flex; align-items: center; justify-content: center; padding: 4px; border: 0; background: transparent; cursor: pointer; border-radius: 6px; }
.date-cachee { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer; }
.date-cachee::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.cal-zone:hover .btn-cal, .cal-zone:focus-within .btn-cal { background: #eef3ec; }
.date-cachee:disabled { cursor: not-allowed; }
.date-choisie { grid-column: 1 / -1; font-weight: 700; font-size: 1.05rem; color: #1c1c1c; }
.date-choisie.vide { font-weight: 400; font-size: .92rem; color: #6e7173; }
.btn-cal.bloque { opacity: .5; }
.ech-dates { display: block; font-size: .8rem; color: #6e7173; margin-top: 2px; }
.ech-note { display: block; font-size: .82rem; color: #7a5600; background: #eef3ec; border-radius: 6px; padding: 4px 8px; margin: 4px 0; }
.ech-aucun { font-size: .88rem; color: #6e7173; font-style: italic; }
.ech-titre { font-size: 1.05rem; margin: 0 0 8px; }
.ech-prep { margin-bottom: 22px; }
.ech-fin { background: #eef3ec; border-left: 5px solid #3d6b35; border-radius: 8px; padding: 10px 14px; margin: 12px 0; }

/* Dossier pour le prêteur */
.dossier-nom { display: flex; flex-direction: column; gap: 4px; max-width: 360px; margin: 10px 0 16px; }
.dossier-nom label { font-weight: 600; }
.dossier-nom input { padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; font: inherit; }
.doc-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.doc-liste label, .doc-auto { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #ececec; border-radius: 8px; }
.doc-liste label { cursor: pointer; }
.doc-liste label:hover { border-color: #3d6b35; }
.doc-liste input { width: 18px; height: 18px; accent-color: #1f7a4d; flex: none; }
.doc-auto { background: #f3f8f5; color: #1f7a4d; font-weight: 600; }
.doc-ok { width: 18px; text-align: center; flex: none; }
@media (max-width: 700px) { .doc-liste { grid-template-columns: 1fr; } }

/* Deux vues de la même page : la calculatrice et le dossier avec le prêteur */
body:not(.vue-dossier) .vue-dos { display: none !important; }
body.vue-dossier .vue-calc { display: none !important; }
.intro-dossier { max-width: 760px; }
.lien-dossier { margin: 6px 0 0; }
.entete nav a { white-space: nowrap; }
/* Cases à cocher : contour noir seulement, crochet vert une fois cochée (même rendu dans tous les navigateurs) */
.doc-liste input[type=checkbox], .av-liste input[type=checkbox] {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; flex: none; margin: 0;
  border: 2px solid #1c1c1c; border-radius: 4px; background: #fff; cursor: pointer; display: inline-grid; place-content: center;
}
.doc-liste input[type=checkbox]::after, .av-liste input[type=checkbox]::after {
  content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0;
}
.doc-liste input[type=checkbox]:checked, .av-liste input[type=checkbox]:checked { background: #1f7a4d; border-color: #1f7a4d; }
.doc-liste input[type=checkbox]:checked::after, .av-liste input[type=checkbox]:checked::after { opacity: 1; }
.doc-liste input[type=checkbox]:focus-visible, .av-liste input[type=checkbox]:focus-visible { outline: 3px solid #3d6b35; outline-offset: 2px; }

/* Questionnaire : avertissements Hydro-Québec et budget */
.note-hydro { background: #eef3ec; border-left: 5px solid #3d6b35; padding: 10px 14px; border-radius: 6px; margin: 0 0 14px; }
.verif-budget { border-left: 6px solid; border-radius: 8px; padding: 12px 16px; margin: 4px 0 16px; line-height: 1.45; }
.verif-budget strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.verif-budget .petit { display: block; margin-top: 6px; color: #555; }
.vb-ok { background: #eaf5ef; border-color: #1f7a4d; } .vb-ok strong { color: #1f7a4d; }
.vb-serre { background: #eef3ec; border-color: #3d6b35; } .vb-serre strong { color: #8a5a00; }
.vb-irrealiste { background: #fdecea; border-color: #b3261e; } .vb-irrealiste strong { color: #b3261e; }

/* Services dans la calculatrice (24 novembre 2026) */
.services .sous-q { margin: -4px 0 14px 18px; padding-left: 14px; border-left: 3px solid #3d6b35; }
.services .sous-q .groupe { margin-bottom: 6px; }
.services .ech-note { display: block; margin-top: 4px; }
/* Questions de services dans le tableau (24 novembre 2026) */
table.calc tr.sv-ligne td.services { background: #eef3ec; border-top: 2px solid #3d6b35; border-bottom: 2px solid #3d6b35; padding: 14px 16px; text-align: left; white-space: normal; }
table.calc tr.sv-ligne .sv-titre { font-weight: 700; font-size: 1rem; margin: 0 0 4px; }
table.calc tr.sv-ligne .sv-aide { font-size: .85rem; color: #555; margin: 0 0 10px; max-width: 70em; }
table.calc tr.sv-ligne input[type="radio"] { width: auto; }
table.calc tr.sv-ligne .choix input[type="radio"] { width: auto !important; min-width: 0 !important; border: none; flex: none; margin: 0; padding: 0; height: auto; }
table.calc tr.sv-ligne .sv-boite { position: sticky; left: 16px; max-width: min(1150px, calc(100vw - 72px)); }
@media (max-width: 700px) { table.calc tr.sv-ligne .sv-boite { max-width: calc(100vw - 56px); } table.calc tr.sv-ligne .choix { padding: 6px 10px; margin-right: 8px; } }

/* Déboursés progressifs (24 novembre 2026) */
.deb-mise input { max-width: 260px; }
.deb-table td.num { text-align: right; white-space: nowrap; }
.deb-table tr.deb-retenue td { color: #555; font-style: italic; }
.deb-verdict { margin: 14px 0 8px; padding: 12px 16px; border-radius: 8px; border-left: 5px solid; }
.deb-verdict.deb-ok { background: #eaf6ef; border-color: #1f7a4d; }
.deb-verdict.deb-manque { background: #fdecea; border-color: #b3261e; }
.deb-verdict strong { display: block; margin-bottom: 4px; }

.deb-champs { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-end; }
.deb-champs select { min-width: 280px; }
.deb-methode { background: #f5f6f8; border-radius: 8px; padding: 10px 14px; font-size: .92rem; }
.deb-champs label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.deb-champs select { padding: 12px 10px; font-size: 1rem; border: 1px solid #cfcfcf; border-radius: 8px; background: #fff; font-family: inherit; }

/* Boutons ronds : contour noir vide quand non choisi, point noir entouré d'un cercle quand choisi (25 novembre 2026) */
.choix input[type="radio"] { -webkit-appearance: none; appearance: none; width: 18px !important; height: 18px !important; min-width: 18px !important; margin: 0; padding: 0; border: 2px solid #1c1c1c !important; border-radius: 50%; background: #fff; flex: none; cursor: pointer; }
.choix input[type="radio"]:checked { background: #1c1c1c; box-shadow: inset 0 0 0 3px #fff; }
.choix input[type="radio"]:focus-visible { outline: 2px solid #3d6b35; outline-offset: 2px; }
table.calc tr.sv-ligne .choix input[type="radio"] { width: 18px !important; height: 18px !important; min-width: 18px !important; border: 2px solid #1c1c1c !important; border-radius: 50%; }

/* Deux notes dans le même encadré jaune, avec une puce chacune (25 novembre 2026) */
.badge.badge-liste span { display: block; padding-left: .8em; text-indent: -.8em; }
.badge.badge-liste span + span { margin-top: 2px; }

/* Page Choisir son prêteur (25 novembre 2026) */
.fiche-preteur { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0; }
.fiche-preteur dt { font-weight: 700; color: var(--brun-fonce); }
.fiche-preteur dd { margin: 0; }
@media (max-width: 700px) { .fiche-preteur { grid-template-columns: 1fr; gap: 2px; } .fiche-preteur dd { margin-bottom: 10px; } }
.table-preteurs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-preteurs th, .table-preteurs td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid #e6e2dc; }
.table-preteurs thead th { background: #1c1c1c; color: #fff; font-weight: 600; }
.table-preteurs tbody th { font-weight: 700; white-space: nowrap; }
.table-preteurs { min-width: 680px; }
/* Menu du haut : défile de côté sur téléphone au lieu d'élargir la page (25 novembre 2026) */
.entete-in { min-width: 0; }
.entete nav { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.entete nav::-webkit-scrollbar { display: none; }
/* « Vous construisez vous-même ? » : sans boîte ni couleur, texte simple avec un point devant (décision de Gabriel, 25 novembre 2026) */
.vedette .exemple-vedette { display: block; background: none; border: 0; box-shadow: none; padding: 0; margin: 10px 0 0; text-shadow: none; }
.vedette .exemple-vedette::before { content: "• "; font-weight: 700; }
.vedette .exemple-vedette a { color: inherit; font-weight: 600; text-decoration: underline; }

/* Case pour activer ou désactiver une ligne (25 novembre 2026) */
table.calc .actif-l { display: inline-flex; vertical-align: -3px; margin-right: 8px; cursor: pointer; }
table.calc input.actif { -webkit-appearance: none; appearance: none; width: 18px !important; height: 18px !important; min-width: 18px !important; margin: 0; padding: 0; border: 2px solid #1c1c1c !important; border-radius: 3px; background: #fff; cursor: pointer; position: relative; flex: none; }
table.calc input.actif:checked { background: #1f7a4d; border-color: #1f7a4d !important; }
table.calc input.actif:checked::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
table.calc tr.poste.inactif td { opacity: .45; }
table.calc tr.poste.inactif td.desc .actif-l { opacity: 1; }
table.calc tr.poste.inactif .nom { text-decoration: line-through; }
table.calc tr.poste.inactif td.desc { opacity: 1; }
table.calc tr.poste.inactif td.desc .nom, table.calc tr.poste.inactif td.desc .badge, table.calc tr.poste.inactif td.desc .licence { opacity: .5; }
.note-usinee { display: block; font-weight: 400; font-size: .85rem; margin-top: 4px; white-space: normal; }

table.calc td.desc .actif-l { float: left; margin: 2px 8px 0 0; }
.note-usinee { text-transform: none; letter-spacing: 0; }

/* ---------- Questions sur les services : sobres, sans couleur (demande de Gabriel Dubois, 25 novembre 2026 : « beaucoup trop de couleur ») */
table.calc tr.sv-ligne td.services { background: #fff; border-top: 1px solid #d3d3cf; border-bottom: 1px solid #d3d3cf; padding: 10px 16px; }
table.calc tr.sv-ligne .groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
table.calc tr.sv-ligne .etiq { font-weight: 700; margin-right: 6px; }
table.calc tr.sv-ligne .choix { margin: 0; padding: 4px 10px; border: 1px solid #d3d3cf; background: #fff; font-weight: 400; }
table.calc tr.sv-ligne .choix:hover { border-color: #1c1c1c; }
table.calc tr.sv-ligne .choix:has(input:checked) { border-color: #1c1c1c; background: #fff; font-weight: 600; }
table.calc tr.sv-ligne .sv-aide { font-size: .82rem; color: #666; margin: 6px 0 0; }
table.calc tr.sv-ligne .sous-q { margin: 6px 0 0; padding: 0; border: none; }
table.calc tr.sv-ligne .sv-note { font-size: .85rem; color: #333; margin: 0; background: none; border: none; padding: 0; }

/* ---------- Correction 25 novembre 2026 : la case d'une ligne décochée restait cachée sous le nom grisé; on la remet par-dessus pour pouvoir la recocher */
table.calc td.desc .actif-l { position: relative; z-index: 2; }

/* ---------- Notes des lignes sans couleur, avec un petit point devant (demande de Gabriel Dubois, 25 novembre 2026) */
table.calc .badge, table.calc .badge.oui, table.calc .badge.non, table.calc .badge.verif, table.calc .badge.so { display: block; background: none; color: #4a4a4a; border: none; border-radius: 0; padding: 0; margin-top: 3px; font-size: .78rem; line-height: 1.4; }
table.calc .badge:not(.badge-liste) { padding-left: .8em; text-indent: -.8em; }
table.calc .badge:not(.badge-liste)::before { content: "• "; }
table.calc td.desc .ajout, table.calc td.desc .ajout:hover, table.calc td.desc .ajout:focus-visible { color: #555 !important; border-color: #c8c8c4; background: #fff; }
table.calc td.desc .ajout:hover { border-color: #1c1c1c; }

/* ---------- Lignes du tableau plus faciles à suivre : séparation plus épaisse (demande de Gabriel Dubois, 25 novembre 2026) */
table.calc tr.poste td { border-top: 2px solid #cfcfca; }

/* ---------- Échéancier : aucune couleur jaune, notes avec un petit point (demande de Gabriel Dubois, 25 novembre 2026) */
.ech-note, .vue-dossier .ech-note { display: block; font-size: .82rem; color: #4a4a4a; background: none; border: none; border-radius: 0; padding: 0 0 0 .8em; text-indent: -.8em; margin: 3px 0; }
.ech-etapes .ech-note::before { content: "• "; }
.ech-prep th, .ech-mois th { white-space: nowrap; }

/* ---------- Documents pour le prêteur classés par sujet (25 novembre 2026) */
.doc-titre { font-size: 1rem; margin: 18px 0 8px; }
#doc-groupes .doc-titre:first-child { margin-top: 4px; }
.doc-liste label:hover { border-color: #1c1c1c; }
.doc-auto { background: none; color: #1c1c1c; font-weight: 600; }
.doc-imprimer { margin-top: 16px; }

/* ---------- Aperçu gratuit de la calculatrice, sans projet (25 novembre 2026) */
.apercu-bandeau { border: 2px solid #1c1c1c; border-radius: 10px; padding: 14px 18px; margin: 14px 0 0; background: #fff; }
.apercu-bandeau p { margin: 0 0 10px; }
.apercu-bandeau p:last-child { margin: 0; }
body.apercu table.calc input:disabled, body.apercu table.calc select:disabled { background: #f6f6f4; cursor: not-allowed; }

/* ---------- Sans projet payé : la calculatrice est fermée (décision de Gabriel Dubois, 25 novembre 2026, 21 h) */
body.sans-projet main > section:not(.tete-calc), body.sans-projet .lien-dossier, body.sans-projet .intro-dossier { display: none !important; }
.ferme-bandeau { border: 2px solid #1c1c1c; border-radius: 10px; padding: 18px 22px; margin: 16px 0 0; background: #fff; }
.ferme-bandeau h2 { margin: 0 0 8px; font-size: 1.3rem; }
.ferme-bandeau ul { margin: 6px 0 14px; padding-left: 0; list-style: none; }
.ferme-bandeau li { padding-left: .9em; text-indent: -.9em; margin: 4px 0; }
.ferme-bandeau li::before { content: "• "; }
.ferme-bandeau p:last-child { margin: 0; }
.video-a-venir { aspect-ratio: 16 / 9; max-width: 640px; margin: 10px 0 16px; background: #1c1c1c; color: #fff; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; font-weight: 600; }
.video-jouer { width: 64px; height: 64px; border-radius: 50%; background: #3d6b35; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; padding-left: 4px; }

/* ---------- Menu du haut : titres sur deux lignes pour qu'ils ne soient pas tassés (demande de Gabriel Dubois, 25 novembre 2026) */
.entete nav { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px 0; }
.entete nav a:not(.nav-commencer) { white-space: normal; display: inline-block; max-width: 7.6em; line-height: 1.15; text-align: center; margin-left: 16px; flex: none; }
.entete nav .nav-commencer { white-space: normal; max-width: 8em; line-height: 1.15; text-align: center; padding: 6px 12px; flex: none; }
@media (max-width: 700px) { .entete nav a:not(.nav-commencer) { margin: 0 12px 0 0; } }
.carte-hypo { border: 2px solid #3d6b35; border-radius: 10px; padding: 18px 22px; margin-top: 22px; max-width: 640px; }
.carte-hypo h2 { margin-top: 0; }

/* ---------- Fiches des prêteurs : plus d'espace entre les paragraphes (demande de Gabriel Dubois, 25 novembre 2026) */
.fiche-preteur { gap: 0 20px; }
.fiche-preteur dt, .fiche-preteur dd { padding: 14px 0; border-top: 1px solid #e4e4e0; }
.fiche-preteur dt:first-of-type, .fiche-preteur dd:first-of-type { border-top: none; padding-top: 4px; }
@media (max-width: 700px) {
  .fiche-preteur dt { padding: 14px 0 4px; }
  .fiche-preteur dd { border-top: none; padding: 0 0 14px; margin-bottom: 0; }
}
.acces-demo { margin-top: 18px !important; padding-top: 12px; border-top: 1px dashed #c8c8c4; }

/* ---------- Liste des documents : case et texte alignés en haut, pareil à gauche et à droite (demande de Gabriel Dubois, 25 novembre 2026) */
.doc-liste label, .doc-auto { align-items: flex-start; }
.doc-liste input[type=checkbox] { margin-top: 2px; }
.doc-liste .doc-ok { margin-top: 1px; }
.calc-dabord { border: 2px solid #1c1c1c; border-radius: 10px; padding: 10px 16px; margin: 12px 0; }

/* ---------- Onglet « + Nouveau projet (19,99 $) » en jaune (demande de Gabriel Dubois, 25 novembre 2026) */
.onglet.onglet-nouveau { background: #3d6b35; color: #fff; border: 1px solid #3d6b35; border-bottom: none; }
.onglet.onglet-nouveau:hover { background: #5b8a4f; color: #fff; }

/* ---------- Compte : deux choix côte à côte (26 novembre 2026) */
.choix-compte { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0; }
.carte-compte { border: 1px solid #d3d3cf; border-radius: 10px; padding: 16px 18px; background: #fff; }
.carte-compte h2, .carte-compte h3 { margin: 0 0 10px; font-size: 1.1rem; }
@media (max-width: 700px) { .choix-compte { grid-template-columns: 1fr; } }
.vedette .retrouver { color: #e8e8e4; margin-top: 10px; }

/* Accueil : deux accès empilés, chacun avec sa phrase */
.vedette .acces-vedette { margin-top: 22px; }
.vedette .acces-bouton { margin: 0; }
.vedette .acces-bouton .bouton-sec-lien { margin-left: 0; }
.vedette .acces-second { margin-top: 30px; }
.vedette .acces-note { color: #e8e8e4; margin: 10px 0 0; font-size: .95rem; }
.vedette .acces-note::before { content: "• "; font-weight: 700; }

/* Onglet jaune « Calculatrice autoconstruction » : assez large pour le mot entier */
.entete nav .nav-commencer { max-width: none; width: min-content; padding: 6px 14px; }

/* Accueil : « Comment ça fonctionne » sous la liste de ce qu'on obtient */
.titre-etapes { margin: 34px 0 6px; font-size: 1.15rem; }

/* Accueil : liste de ce qu'on obtient sur une seule colonne; étape 4 facultative */
.points-res { columns: 1; max-width: 640px; }
.etapes-acc { max-width: 920px; }

/* Votre dossier avec le prêteur : une seule colonne partout, étapes numérotées (Gabriel, 26 novembre 2026) */
.doc-liste, .av-liste { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.ech-grille { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.deb-champs { flex-direction: column; align-items: flex-start; }
.etapes-dossier { max-width: 860px; margin: 8px 0 18px; }
.etapes-dossier ol { margin: 6px 0 0; padding-left: 24px; }
.etapes-dossier li { margin: 4px 0; }
.calc-vide { border: 2px solid #3d6b35; border-radius: 8px; padding: 12px 16px; margin-top: 14px; }
.consignes { padding-left: 24px; max-width: 860px; }
.consignes li { margin: 6px 0; }
.aide-champ { color: #3f4244; max-width: 760px; }
.aide-champ::before { content: "• "; font-weight: 700; }
.rapport-manque { border: 2px solid #3d6b35; border-radius: 8px; padding: 10px 16px; max-width: 760px; margin: 10px 0; }
.rapport-manque p { margin: 6px 0; }
.rapport-manque ul { margin: 4px 0; padding-left: 22px; }
#rapport .dossier-nom { max-width: 420px; }

/* Documents pour le prêteur : trait jaune à gauche de chaque groupe (Gabriel, 26 novembre 2026) */
.doc-groupe { border-left: 4px solid #3d6b35; padding-left: 14px; margin: 0 0 44px; max-width: 778px; }
.doc-groupe:last-child { margin-bottom: 20px; }
.doc-groupe .doc-titre { margin-top: 0; padding-top: 2px; }

/* Déboursés : argent qui manque en rouge */
.deb-table .deb-moins { color: #b3261e; font-weight: 700; }
.deb-table .deb-plus { color: #1f7a4d; }
.deb-table .deb-depart td { background: #f7f7f4; }
.deb-table tr.deb-retenue td.deb-plus { color: #1f7a4d; }
.deb-table tr.deb-retenue td.deb-moins { color: #b3261e; }
.deb-table tr.deb-refi td { border-top: 2px solid #cfcfca; }
/* Tableau des déboursés : en-têtes centrés (Gabriel, 26 novembre 2026) */
.deb-table thead th { text-align: center; vertical-align: middle; }

/* Texte aéré : un sujet par paragraphe, espace entre chaque (Gabriel, 26 novembre 2026) */
.texte-aere { max-width: 860px; }
.texte-aere p { margin: 0 0 14px; line-height: 1.55; }
#deb-base { line-height: 1.7; font-size: .95rem; color: #3f4244; }
.note-deb { border-left: 4px solid #3d6b35; padding: 8px 14px; background: #fffaf0; }

.note-inconnu{display:block;margin:12px 0;padding:10px 14px;border-left:4px solid #3d6b35;background:#eef3ec;}

.bloc-aere{margin:0 0 30px;padding:0 0 0 14px;border-left:3px solid #e6e1d3;}
.bloc-aere h4{margin:0 0 10px;font-size:1.05rem;}
.bloc-aere ul{margin:0 0 10px;padding-left:20px;}
.bloc-aere li{margin:0 0 8px;line-height:1.55;}
.bloc-aere p{margin:0 0 10px;line-height:1.55;}
.texte-aere .note-deb{margin-bottom:30px;}

.debut-carte { margin: 18px 0 26px; }
.debut-carte .champ-date { padding: 16px 20px; border: 2px solid #3d6b35; background: #eef3ec; border-radius: 10px; row-gap: 10px; }
.debut-carte .champ-date-titre { font-size: 1.15rem; }
.debut-carte .btn-cal { gap: 8px; padding: 8px 14px; background: #3d6b35; border-radius: 8px; font-weight: 700; color: #fff; }
.debut-carte .cal-zone:hover .btn-cal, .debut-carte .cal-zone:focus-within .btn-cal { background: #2e5228; color: #fff; }
.debut-carte .date-choisie.vide { color: #b3261e; font-weight: 600; }
.deb-manque-txt { color: #b3261e; }

.deb-table tr.deb-ligne { cursor: pointer; }
.deb-table tr.deb-ligne:hover td { background: #eef3ec; }
.deb-fleche { display: inline-block; transition: transform .15s; }
.deb-table tr.ouvert .deb-fleche { transform: rotate(90deg); }
.deb-voir { font-size: .8rem; color: #2e5228; text-decoration: underline; }
.deb-table tr.deb-detail td { background: #f7f9f6; padding: 18px 22px; white-space: normal; }
.deb-explique h5 { margin: 14px 0 6px; font-size: .98rem; }
.deb-explique h5:first-child { margin-top: 0; }
.deb-explique p, .deb-explique li { margin: 0 0 6px; line-height: 1.55; }
.deb-explique ul { margin: 0 0 8px; padding-left: 20px; columns: 2; column-gap: 32px; }

.deb-verdict.deb-conseil { background: #eef3ec; border-left: 4px solid #3d6b35; padding: 12px 16px; border-radius: 8px; }
.deb-verdict.deb-conseil strong { display: block; margin-bottom: 6px; }

.deb-trente { display: block; margin: 14px 0; padding: 12px 16px; border: 2px solid #3d6b35; background: #eef3ec; border-radius: 10px; cursor: pointer; }
.deb-trente input { width: 20px; height: 20px; vertical-align: middle; margin-right: 6px; }

.trente-l { display: block; margin-top: 4px; font-size: .8rem; color: #2e5228; cursor: pointer; }
.trente-l input { margin-right: 4px; vertical-align: middle; }
.desc .trente-l { display: flex; align-items: center; gap: 6px; }
.desc .trente-l input.trente { display: inline-block; width: 16px; height: 16px; margin: 0; flex: none; }
.desc .trente-l input.trente { width: 16px !important; min-width: 0 !important; max-width: 16px !important; padding: 0 !important; }

/* Titres des étapes du dossier : bandeau jaune pleine largeur, comme les sections de la calculatrice (Gabriel Dubois, 27 novembre 2026) */
section.vue-dos > h2 { background: #3d6b35; color: #fff; font-family: Archivo, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.15rem; padding: 12px 16px; border-radius: 8px; margin: 0 0 18px; }
.chiffre { display: inline-block; background: #dfe8db; color: #1c1c1c; font-weight: 800; padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.chiffre-gros { font-size: 1.15em; background: #3d6b35; color: #fff; }
#deb-base { font-size: .95rem; color: #2a2a2a; }
.deb-bandeau { margin: 16px 0 14px; padding: 14px 18px; background: #eef3ec; border: 2px solid #3d6b35; border-radius: 10px; }
.deb-bandeau-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; }
.deb-bandeau-ligne + .deb-bandeau-ligne { border-top: 1px solid #dfe8db; }
.deb-bandeau-titre { font-weight: 700; }
.deb-bandeau-calc select, .deb-bandeau-calc input { padding: 4px 6px; }
.deb-bandeau-calc input { width: 130px; text-align: right; }
/* Pastilles de chiffres : une seule apparence partout, jaune du site, même taille (Gabriel Dubois, 27 novembre 2026) */
.chiffre, .chiffre-gros { background: #3d6b35; color: #fff; font-size: 1em; font-weight: 800; padding: 1px 8px; border-radius: 6px; }
.deb-bandeau-calc input { width: 175px; }

.deb-scenarios { margin-top: 10px; }
.deb-scenarios summary { cursor: pointer; font-weight: 700; color: #2e5228; }
.deb-scen { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: .92rem; }
.deb-scen th, .deb-scen td { padding: 6px 8px; border-bottom: 1px solid #dfe8db; text-align: left; }
.deb-scen td.num { text-align: right; }
.deb-scen tr.meilleur td { background: #3d6b35; color: #fff; }

.deb-quand { font-size: .85rem; color: #666; }
.deb-table td:nth-child(2) { min-width: 190px; }
.deb-refi-txt { margin: 16px 0; line-height: 1.8; }
/* Dossier : une seule palette (blanc, jaune du site, un seul gris pâle) — trop de tons pastel (Gabriel Dubois, 27 novembre 2026) */
section.vue-dos .champ-date, section.vue-dos .deb-bandeau, section.vue-dos .ech-fin, section.vue-dos .note-deb,
section.vue-dos .deb-methode, section.vue-dos .deb-verdict, section.vue-dos .deb-verdict.deb-ok, section.vue-dos .deb-verdict.deb-conseil,
section.vue-dos .deb-verdict.deb-manque, section.vue-dos .doc-groupe, section.vue-dos .note-inconnu {
  background: #fff !important; border: 1px solid #e5e1d6 !important; border-left: 5px solid #3d6b35 !important; border-radius: 8px; color: #1c1c1c;
}
section.vue-dos .deb-bandeau-ligne + .deb-bandeau-ligne { border-top: 1px solid #e5e1d6; }
section.vue-dos thead th, section.vue-dos tr.deb-depart td, section.vue-dos tr.deb-retenue td, section.vue-dos .deb-table tr.deb-detail td, section.vue-dos .deb-table tr.deb-ligne:hover td { background: #f6f6f3 !important; }
section.vue-dos .deb-scen tr.meilleur td { background: #f6f6f3 !important; font-weight: 700; }
section.vue-dos .bloc-aere { border-left-color: #3d6b35; }

/* Texte blanc sur le vert (palette noir, vert et gris; Gabriel Dubois, 27 novembre 2026) */
.appel-action .bouton:hover,
.bouton:hover,
.carte-attention .pastille,
.chiffre,
.chiffre-gros,
.deb-scen tr.meilleur td,
.debut-carte .btn-cal,
.debut-carte .cal-zone:focus-within .btn-cal,
.debut-carte .cal-zone:hover .btn-cal,
.esc:hover .esc-pied span,
.hb-int,
.hypo-resultat .bouton:hover,
.nav-commencer,
.onglet.onglet-nouveau,
.onglet.onglet-nouveau:hover,
.pt-int,
.titre-section th,
.vedette .bouton,
.vedette .bouton:hover,
.vedette .etapes li.actif,
.video-jouer,
section.vue-dos > h2 { color: #fff !important; }
.bouton, a.bouton, button.bouton, .num-rond, .sc-num, .pastille, .esc-pied span { color: #fff !important; }
.bouton.secondaire, a.bouton.secondaire { color: inherit !important; }
/* Menu : la page où l'on est est en vert (Gabriel Dubois, 27 novembre 2026) */
.entete nav a { padding: 6px 12px; border-radius: 6px; }
.entete nav a.nav-commencer:not(.nav-actif) { background: transparent !important; border: 2px solid #3d6b35; }
.entete nav a.nav-actif { background: #3d6b35 !important; color: #fff !important; text-decoration: none; }
/* Dossier : plus d'espace entre deux sujets */
section.vue-dos { margin-bottom: 56px !important; padding-bottom: 8px; }
section.vue-dos .bloc-aere { margin-bottom: 36px; }
section.vue-dos .texte-aere > * + * { margin-top: 28px; }
section.vue-dos .deb-bandeau, section.vue-dos #deb-base, section.vue-dos .deb-refi-txt, section.vue-dos .deb-verdict, section.vue-dos .tableau-defile, section.vue-dos .deb-methode { margin-top: 28px; margin-bottom: 28px; }
section.vue-dos .doc-groupe { margin-bottom: 32px; }
/* Dossier : le geste d'abord, explications repliées, deux colonnes, progression (27 novembre 2026) */
.geste { font-size: 1.15rem; font-weight: 700; color: #1c1c1c; margin: 0 0 18px; line-height: 1.45; }
.progression { list-style: none; display: flex; gap: 8px; padding: 10px 0; margin: 0 0 8px; flex-wrap: wrap; z-index: 50; background: #fff; border-bottom: 1px solid #dfe8db; }
.progression li { flex: 1 1 140px; }
.progression a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 2px solid #dfe8db; border-radius: 8px; text-decoration: none; color: #1c1c1c; font-weight: 600; font-size: .95rem; background: #fff; }
.progression a:hover { border-color: #3d6b35; }
.pr-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #f6f6f3; border: 2px solid #5b8a4f; color: #1c1c1c; flex: none; font-weight: 700; }
.progression li.fait .pr-num { background: #3d6b35; border-color: #3d6b35; color: #fff !important; font-size: 0; }
.progression li.fait .pr-num::after { content: "✓"; font-size: 1rem; color: #fff; }
.progression li.ici a { border-color: #3d6b35; background: #eef3ec; }
details.pourquoi { border-left: 4px solid #5b8a4f; background: #fff; border-radius: 0 8px 8px 0; padding: 0; margin: 0 0 12px; box-shadow: 0 0 0 1px #dfe8db inset; }
details.pourquoi > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; list-style: none; color: #2e5228; }
details.pourquoi > summary::-webkit-details-marker { display: none; }
details.pourquoi > summary::before { content: "▸ "; color: #3d6b35; }
details.pourquoi[open] > summary::before { content: "▾ "; }
details.pourquoi > *:not(summary) { margin: 0 16px 14px; }
details.pourquoi ul { padding-left: 20px; }
.deux-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 28px; }
.bon-a-savoir { background: #f6f6f3; border-radius: 10px; padding: 16px 18px 6px; }
.bon-a-savoir h3 { margin: 0 0 12px; font-size: 1.05rem; color: #2e5228; }
@media (max-width: 900px) { .deux-col { grid-template-columns: 1fr; gap: 20px; } .progression li { flex: 1 1 45%; } }
@media (min-width: 1000px) { #doc-groupes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; } }
section.vue-dos .col-action .deb-bandeau { margin-top: 20px; }
.progression.fixe { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: min(1216px, calc(100% - 24px)); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.etapes-dossier { max-width: none !important; }
.progression li { flex: 1 1 0; min-width: 0; }
section.vue-dos { scroll-margin-top: 90px; }
@media (max-width: 900px) { .deux-col { grid-template-columns: minmax(0, 1fr); } .progression { flex-wrap: wrap; } .progression li { flex: 1 1 30%; } }
@media (max-width: 700px) { .progression.fixe { flex-wrap: nowrap; } .progression.fixe li { flex: 1 1 0; } .progression.fixe .pr-nom { display: none; } .progression.fixe a { justify-content: center; padding: 6px 4px; } section.vue-dos { scroll-margin-top: 70px; } }
.deb-champs select, .deb-champs input { max-width: 100%; box-sizing: border-box; }
@media (max-width: 700px) { .progression.fixe { width: calc(100% - 16px); gap: 4px; } }
/* Site un peu plus petit pour voir plus d'informations à l'écran (Gabriel Dubois, 27 novembre 2026) */
html { font-size: 15px; }
@media (max-width: 640px) { html { font-size: 15px; } }
body { line-height: 1.45; }
section.vue-dos { margin-bottom: 44px !important; }
.bloc { padding-top: 18px; padding-bottom: 18px; }
.entete nav a:not(.nav-commencer) { max-width: none; width: 8.6em; box-sizing: content-box; padding-left: 8px; padding-right: 8px; margin-left: 8px; }
.progression { padding-left: 0 !important; }
@media (max-width: 700px) { .entete nav a:not(.nav-commencer) { width: auto; } }
.deb-optimal { border-left: 4px solid #3d6b35; background: #eef3ec; padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 24px 0 14px; }
/* Encadré « meilleur scénario » et tableau des déboursés plus clair (27 novembre 2026) */
.deb-optimal { display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, #2e5228, #3d6b35); color: #fff; border: 0; border-radius: 12px; padding: 22px 26px; margin: 28px 0 16px; box-shadow: 0 6px 18px rgba(46, 82, 40, .25); }
.deb-optimal:empty { display: none; }
.deb-optimal * { color: #fff !important; }
.opt-icone { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #3d6b35 !important; font-size: 2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.opt-texte { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.opt-sur { text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; opacity: .85; font-weight: 700; }
.opt-titre { font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.opt-sous { font-size: 1.05rem; }
.opt-chiffre { flex: none; text-align: center; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.5); border-radius: 10px; padding: 10px 18px; display: flex; flex-direction: column; }
.opt-montant { font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.opt-legende { font-size: .85rem; }
@media (max-width: 700px) { .deb-optimal { flex-direction: column; align-items: flex-start; } }
table.deb-table th, table.deb-table td, table.deb-table td.num { text-align: center !important; vertical-align: middle; }
table.deb-table td.deb-demande { text-align: left !important; min-width: 15em; }
table.deb-table td.deb-depart-txt { text-align: center !important; font-weight: 700; font-size: 1.02rem; }
table.deb-table tr.deb-detail td { text-align: left !important; }
.deb-refi-txt { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.refi-gauche { flex: 1 1 380px; line-height: 2; }
.refi-bravo { flex: 0 1 300px; background: #eef3ec; border: 2px solid #3d6b35; border-radius: 12px; padding: 16px 20px; text-align: center; font-size: 1.02rem; }
.bravo-titre { display: block; font-size: 1.5rem; font-weight: 800; color: #2e5228; margin-bottom: 4px; }
/* Entête des déboursés : le verdict et la note des prêteurs sont dans le bloc vert (27 novembre 2026) */
.deb-entete { background: linear-gradient(135deg, #2e5228, #3d6b35); border-radius: 12px; box-shadow: 0 6px 18px rgba(46, 82, 40, .25); margin: 28px 0 16px; padding-bottom: 14px; }
.deb-entete .deb-optimal { background: none; box-shadow: none; margin: 0; padding-bottom: 12px; }
section.vue-dos .deb-entete .deb-verdict { margin: 0 26px 0 102px !important; padding: 12px 16px !important; background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.4) !important; border-left: 4px solid #fff !important; border-radius: 8px; color: #fff !important; }
section.vue-dos .deb-entete .deb-verdict * { color: #fff !important; }
section.vue-dos .deb-entete .deb-verdict strong { display: block; }
section.vue-dos .deb-entete .deb-verdict.deb-conseil { background: #fff !important; border-left-color: #b3261e !important; }
section.vue-dos .deb-entete .deb-verdict.deb-conseil, section.vue-dos .deb-entete .deb-verdict.deb-conseil * { color: #1c1c1c !important; }
section.vue-dos .deb-entete .deb-verdict:empty { display: none; }
.deb-entete .opt-note { margin: 10px 26px 0 102px; font-size: .8rem; color: rgba(255,255,255,.85); }
@media (max-width: 700px) { section.vue-dos .deb-entete .deb-verdict, .deb-entete .opt-note { margin-left: 20px !important; margin-right: 20px !important; } }
section.vue-dos .deb-entete .deb-optimal:empty ~ .deb-verdict, .deb-entete .deb-optimal:empty ~ .opt-note { margin-left: 26px !important; }
.deb-entete:has(.deb-optimal:empty) { padding-top: 16px; }
/* Refinancement retravaillé (27 novembre 2026) */
section.vue-dos .deb-refi-txt { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: stretch; margin: 28px 0; }
.refi-calc { background: #fff; border: 1px solid #dfe8db; border-radius: 12px; padding: 18px 22px; }
.refi-calc h4 { margin: 0 0 10px; font-size: 1.1rem; color: #2e5228; }
.refi-table { width: 100%; border-collapse: collapse; }
.refi-table td { padding: 9px 0; border-bottom: 1px solid #eef3ec; }
.refi-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 16px; }
.refi-table tr.refi-total td { border-bottom: 0; border-top: 2px solid #3d6b35; font-weight: 800; font-size: 1.1rem; color: #2e5228; padding-top: 12px; }
section.vue-dos .refi-bravo { background: linear-gradient(135deg, #2e5228, #3d6b35); color: #fff; border: 0; border-radius: 12px; padding: 20px 22px; text-align: center; box-shadow: 0 6px 18px rgba(46, 82, 40, .25); display: flex; flex-direction: column; justify-content: center; }
section.vue-dos .refi-bravo * { color: #fff !important; }
.refi-bravo .bravo-titre { font-size: 1.6rem; margin: 0; }
.bravo-sous { display: block; margin: 2px 0 14px; font-size: 1.02rem; }
.bravo-chiffres { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bravo-chiffres > div { flex: 1 1 140px; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.5); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.b-mont { font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.b-leg { font-size: .85rem; }
.b-note { display: block; margin-top: 12px; font-size: .78rem; opacity: .85; }
@media (max-width: 800px) { section.vue-dos .deb-refi-txt { grid-template-columns: minmax(0, 1fr); } }
/* Dossier plus compact : étape 2 (documents) et étape 3 (échéancier) (27 novembre 2026) */
section.vue-dos #doc-groupes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1100px) { section.vue-dos #doc-groupes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { section.vue-dos #doc-groupes { grid-template-columns: minmax(0, 1fr); } }
section.vue-dos .doc-groupe { margin: 0 !important; padding: 10px 14px !important; max-width: none; }
section.vue-dos .doc-groupe .doc-titre { font-size: .98rem; margin: 0 0 6px; }
section.vue-dos .doc-liste { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; max-width: none; }
section.vue-dos .doc-liste label, section.vue-dos .doc-auto { border: 0 !important; padding: 4px 0 !important; font-size: .9rem; line-height: 1.35; gap: 8px; }
section.vue-dos .doc-liste li + li { border-top: 1px solid #f0f0ec; }
section.vue-dos .doc-imprimer { margin-top: 16px; }
section.vue-dos .ech-grille.ech-deux { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); max-width: none; gap: 24px; }
@media (max-width: 900px) { section.vue-dos .ech-grille.ech-deux { grid-template-columns: minmax(0, 1fr); } }
section.vue-dos .ech-deux .ech-titre { margin: 0 0 6px; font-size: 1rem; }
section.vue-dos .ech-deux .ech-prep { margin-bottom: 0; }
section.vue-dos .ech-deux .ech-etapes th, section.vue-dos .ech-deux .ech-etapes td { padding: 4px 8px; font-size: .86rem; line-height: 1.3; }
section.vue-dos .ech-deux .ech-etapes select { font-size: .85rem; padding: 1px 2px; }
section.vue-dos .ech-deux .ech-note { display: block; font-size: .76rem; color: #6b6b6b; }
section.vue-dos .ech-deux .ech-dates { font-size: .76rem; }
section.vue-dos .ech-bas { margin-top: 14px; }
section.vue-dos .debut-carte { margin: 6px 0 14px; }
section.vue-dos .ech-deux .ech-dates { display: inline !important; margin-left: 8px; color: #6b6b6b; }
section.vue-dos .ech-deux .ech-dates::before { content: "· "; }
section.vue-dos .ech-deux .ech-dates:empty { display: none !important; }
section.vue-dos .ech-deux .ech-etapes th { white-space: normal; }
section.vue-dos .debut-carte .champ-date { padding: 8px 14px; }
@media (max-width: 700px) { section.vue-dos .deb-champs label.champ, section.vue-dos .deb-champs select, section.vue-dos .deb-champs input { max-width: 100% !important; min-width: 0 !important; width: 100% !important; box-sizing: border-box; } section.vue-dos .deb-champs { display: block; } }
/* Étape 4 : formulaire en trois cases et tuiles de résumé (27 novembre 2026) */
.deb-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; }
.deb-case { position: relative; background: #fff; border: 1px solid #dfe8db; border-top: 4px solid #3d6b35; border-radius: 10px; padding: 16px 16px 14px 56px; display: flex; flex-direction: column; gap: 6px; }
.deb-num { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #3d6b35; color: #fff !important; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.deb-case > label { font-weight: 700; font-size: 1rem; }
.deb-case select, .deb-case input { width: 100%; box-sizing: border-box; padding: 8px 10px; font-size: .95rem; border: 1px solid #c9d3c5; border-radius: 6px; background: #fff; }
.deb-aide { font-size: .8rem; color: #5f6360; line-height: 1.35; }
.deb-facultatif { font-weight: 400; color: #5f6360; font-size: .85rem; }
.deb-marge-ligne { font-size: .85rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.deb-marge-ligne select { width: auto !important; padding: 3px 6px !important; font-size: .85rem !important; }
.deb-tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.deb-tuile { background: #f6f6f3; border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.tu-titre { font-size: .82rem; font-weight: 700; color: #2e5228; text-transform: uppercase; letter-spacing: .03em; }
.tu-montant { font-size: 1.6rem; font-weight: 800; color: #1c1c1c; line-height: 1.15; font-variant-numeric: tabular-nums; background: none !important; padding: 0 !important; }
.tu-sous { font-size: .8rem; color: #5f6360; line-height: 1.35; }
.deb-tuile.tu-cle { background: #3d6b35; }
.deb-tuile.tu-cle * { color: #fff !important; }
.deb-savoir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin-bottom: 8px; }
.deb-savoir details.pourquoi { margin-bottom: 10px; }
.deb-savoir .deb-methode { border: 0 !important; background: none !important; padding: 0 !important; margin: 0 0 8px !important; }
@media (max-width: 1000px) { .deb-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .deb-form, .deb-savoir { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .deb-tuiles { grid-template-columns: minmax(0, 1fr); } }
/* Étape 1 : bouton bien visible; étape 4 : plan de financement en deux cartes (27 novembre 2026) */
.ouvrir-calc { display: flex; align-items: center; gap: 14px; margin: 8px 0 0 24px; }
.fleche-calc { font-size: 2.4rem; color: #3d6b35; line-height: 1; animation: pousse 1.4s ease-in-out infinite; }
@keyframes pousse { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .fleche-calc { animation: none; } }
a.bouton.bouton-fort { background: #1c1c1c !important; color: #fff !important; font-size: 1.1rem; padding: 14px 28px; border-radius: 10px; box-shadow: 0 4px 0 #3d6b35; border: 2px solid #1c1c1c; }
a.bouton.bouton-fort:hover { background: #3d6b35 !important; border-color: #3d6b35; }
.plan-fin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 10px; }
.plan-carte { background: #fff; border: 1px solid #dfe8db; border-radius: 12px; padding: 16px 20px; }
.plan-carte h3 { margin: 0 0 8px; font-size: 1.05rem; color: #2e5228; display: flex; align-items: center; gap: 10px; }
.plan-num { width: 26px; height: 26px; border-radius: 50%; background: #3d6b35; color: #fff !important; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pf-sous { display: block; font-size: .78rem; color: #5f6360; font-weight: 400; }
.plan-carte .refi-table tr.pf-cle td { color: #fff; background: #3d6b35; padding: 10px 12px; border-top: 0; }
.plan-carte .refi-table tr.pf-cle .pf-sous { color: #e6efe3; }
.plan-carte .refi-table tr.pf-cle td:first-child { border-radius: 8px 0 0 8px; }
.plan-carte .refi-table tr.pf-cle td:last-child { border-radius: 0 8px 8px 0; font-size: 1.3rem; }
.pf-alerte { margin: 10px 0 0; padding: 8px 12px; background: #fff; border-left: 4px solid #b3261e; font-size: .85rem; }
.pf-total { margin: 4px 0 18px; font-size: 1rem; }
@media (max-width: 800px) { .plan-fin { grid-template-columns: minmax(0, 1fr); } .ouvrir-calc { margin-left: 0; } }
/* Barre du mode conception (Gabriel Dubois seulement, à enlever avant la mise en ligne) */
.barre-conception { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #1c1c1c; color: #fff; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; font-size: .85rem; box-shadow: 0 -2px 8px rgba(0,0,0,.25); }
.barre-conception .bc-titre { background: #3d6b35; padding: 3px 10px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; }
.barre-conception .bc-vue { margin-right: auto; }
.barre-conception button { background: #fff; color: #1c1c1c; border: 0; border-radius: 6px; padding: 6px 12px; font-weight: 700; cursor: pointer; font-size: .85rem; }
.barre-conception button.bc-ici { background: #3d6b35; color: #fff; }
.barre-conception button.bc-quitter { background: transparent; color: #fff; border: 1px solid #777; }
body.avec-conception { padding-bottom: 60px; }
/* Accueil : texte à gauche, vidéo du tutoriel à droite (27 novembre 2026) */
.vedette-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.vedette-video .video-a-venir.video-accueil { max-width: none; width: 100%; margin: 0; border: 2px solid #3d6b35; box-shadow: 0 10px 30px rgba(0,0,0,.4); background: #000; }
.video-legende { font-size: .85rem; margin: 10px 0 0; opacity: .85; }
@media (max-width: 900px) { .vedette-deux { grid-template-columns: minmax(0, 1fr); gap: 24px; } .vedette-video { order: -1; } }
.vedette .contenu.vedette-deux { max-width: 1240px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.vedette-deux .video-legende { color: #fff !important; display: block; }
.vedette-deux .vedette-video { align-self: start; margin-top: 12px; }
/* Accueil : le contenu sous la vidéo occupe toute la largeur, sur deux colonnes (27 novembre 2026) */
.acc-grille { max-width: 1240px; margin: 0 auto; padding: 0 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.acc-grille .contenu { max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
.acc-grille .carte-hypo { max-width: none; }
@media (max-width: 900px) { .acc-grille { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.vedette .contenu.vedette-deux { margin-left: auto; margin-right: auto; }
.acc-grille { padding: 0 20px; }
.acc-tuto .video-a-venir.video-accueil { max-width: none; width: 100%; margin: 0; border: 2px solid #3d6b35; box-shadow: 0 6px 18px rgba(0,0,0,.18); background: #000; }
.acc-tuto .video-legende { color: #5f6360 !important; font-size: .85rem; margin: 10px 0 0; }
.acc-tuto { padding-top: 18px; }
/* Accueil repensé : une seule largeur pour tout, sections bien distinctes (27 novembre 2026) */
.acc-c { max-width: 1100px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.acc-bloc { padding-top: 36px; padding-bottom: 8px; }
.acc-rangee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.acc-rangee .carte-hypo { max-width: none; margin: 0; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.acc-rangee .acc-tuto { padding: 0; display: flex; flex-direction: column; }
.acc-rangee .acc-tuto .video-a-venir.video-accueil { max-width: none; width: 100%; margin: 0; border: 2px solid #3d6b35; box-shadow: 0 6px 18px rgba(0,0,0,.18); background: #000; }
.acc-rangee .video-legende { color: #5f6360 !important; font-size: .85rem; margin: 8px 0 0; }
.acc-carte { background: #fff; border: 1px solid #dfe8db; border-top: 4px solid #3d6b35; border-radius: 12px; padding: 22px 26px; }
.acc-carte h2 { margin: 0 0 12px; }
.acc-carte .points-res { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.acc-bande { background: #f6f6f3; margin-top: 36px; padding: 32px 0 36px; border-top: 1px solid #e6e6e0; border-bottom: 1px solid #e6e6e0; }
.acc-bande h2 { text-align: center; margin: 0 0 22px; }
.acc-bande .etapes-acc { max-width: 900px; margin: 0 auto; }
section.acc-c[aria-labelledby="t-comp"] { padding-top: 36px; padding-bottom: 40px; }
section.acc-c[aria-labelledby="t-comp"] > * { margin-left: 0; margin-right: 0; max-width: none; }
@media (max-width: 860px) { .acc-rangee, .acc-carte .points-res { grid-template-columns: minmax(0, 1fr); } .acc-c { padding: 0 16px; } }
.vedette > section.acc-c { max-width: 1100px; margin-left: auto; margin-right: auto; }
.vedette > section.acc-c > * { max-width: 640px; }
.acc-carte .points-res { max-width: none !important; width: 100%; }
/* Site uniforme : même largeur (1 100 pixels) pour le contenu et le bas de page de toutes les pages (Gabriel Dubois, 27 novembre 2026) */
.contenu { max-width: 1100px; padding: 0 24px; box-sizing: border-box; }
.pied .contenu { max-width: 1100px; }
@media (max-width: 860px) { .contenu { padding: 0 16px; } }
.vedette > section.contenu { max-width: 1100px; margin-left: auto; margin-right: auto; }
.vedette > section.contenu > * { max-width: 760px; }
/* Message « Inscrivez vos montants… » : du texte, pas un champ à remplir (27 novembre 2026) */
section.vue-dos .deb-entete .deb-verdict:not(.deb-ok):not(.deb-conseil) { background: none !important; border: 0 !important; padding: 0 !important; font-size: 1.05rem; font-weight: 600; }
.deb-entete .deb-verdict a { color: #fff !important; text-decoration: underline; }
/* Accueil : le texte d'aide est dans les boutons (27 novembre 2026) */
.acces-deux { display: flex; gap: 14px; flex-wrap: wrap; align-items: stretch; margin-top: 24px; }
a.bouton-double { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 12px 24px !important; text-decoration: none; border-radius: 8px; min-width: 220px; box-sizing: border-box; }
a.bouton-double .bd-titre { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
a.bouton-double .bd-sous { font-size: .85rem; font-weight: 500; opacity: .9; }
.vedette a.bouton-sec-lien.bouton-double { border: 2px solid #fff; color: #fff; background: transparent; }
.vedette a.bouton-sec-lien.bouton-double:hover { background: #fff; color: #1c1c1c; }
.acces-deux a.bouton-double { margin: 0 !important; }
/* Commencer mon projet : seulement la création de compte (27 novembre 2026) */
.carte-compte.carte-seule { max-width: 520px; }
.carte-seule .ou { margin: 6px 0; color: #5f6360; font-size: .9rem; }
.pf-int .pf-taux { width: 60px; padding: 2px 6px; font-size: .85rem; border: 1px solid #c9d3c5; border-radius: 4px; }
.pf-int td:last-child { color: #2e5228; font-weight: 700; }
input.auto-int { background: #eef3ec !important; color: #2e5228; font-weight: 700; cursor: not-allowed; }
.deb-marge-aide { font-size: .82rem; margin-top: 4px; }
.deb-marge-aide summary { cursor: pointer; color: #2e5228; font-weight: 700; }
.deb-marge-aide p, .deb-marge-aide ul { margin: 6px 0; line-height: 1.4; color: #3a3d3b; }
.deb-marge-aide ul { padding-left: 18px; }
.deb-case > label .deb-facultatif { display: block; font-size: .8rem; margin-top: 2px; }
.deb-case input.deb-calcule { background: #eef3ec; color: #2e5228; font-weight: 800; font-size: 1.1rem; border-color: #c9d3c5; cursor: default; }

/* ---------- Durée et conseil de chaque ligne (feuille des durées de Gabriel Dubois, 28 novembre 2026) : sobres, comme les notes */
table.calc td.desc .note-duree { display: block; font-size: .74rem; color: #444; margin-top: 3px; }
table.calc td.desc details.conseil-ligne { margin-top: 3px; font-size: .78rem; }
table.calc td.desc details.conseil-ligne summary { cursor: pointer; color: #2e5228; font-weight: 600; }
table.calc td.desc details.conseil-ligne p { margin: 4px 0 2px; max-width: 52ch; line-height: 1.4; color: #333; white-space: normal; }
.note-usinee.note-conseil { margin-top: 6px; }
.totaux .types-titre { font-weight: 700; }
.totaux .type-l { padding-left: 12px; }
table.calc td.desc details.conseil-ligne { border: none; background: none; padding: 0; box-shadow: none; border-radius: 0; }
table.calc td.desc details.conseil-ligne summary { padding: 0; list-style-position: inside; }
/* Calculateur de pierre 3/4 nette (29 novembre 2026) */
.calc-mat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cm-bloc { background: #f6f6f3; border-radius: 10px; padding: 14px 18px; }
.cm-bloc h3 { margin: 0 0 10px; font-size: 1.05rem; color: #2e5228; }
.calc-mat .champ, .cm-surplus { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-weight: 600; }
.calc-mat input, .cm-surplus input { max-width: 220px; padding: 8px 10px; border: 1px solid #c9d3c5; border-radius: 6px; font-size: 1rem; }
.cm-surplus { margin-top: 16px; }
.cm-table td:last-child { text-align: right; }
.cm-tonnes { font-size: 1.1rem; margin: 14px 0 6px; }
@media (max-width: 760px) { .calc-mat { grid-template-columns: minmax(0, 1fr); } }
.cm-db { border-left: 4px solid #3d6b35; background: #eef3ec; padding: 10px 14px; border-radius: 0 8px 8px 0; }

/* Rapport d'avancement pour un prêteur privé (étape 5) */
.rav { margin-top: 26px; padding: 18px; border: 1px solid #dfe8db; border-left: 4px solid #3d6b35; border-radius: 10px; background: #fff; }
.rav h3 { margin: 0 0 8px; font-size: 1.15em; }
.rav-intro { margin: 0 0 12px; }
.rav-consigne { margin: 0 0 8px; }
.rav-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rav-case { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.rav-case input, .rav-autres input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.rav-vue { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border: 2px dashed #b9c8b3; border-radius: 8px; background: #f6f6f3 center / cover no-repeat; color: #3d6b35; font-weight: 600; }
.rav-case:hover .rav-vue, .rav-case:focus-within .rav-vue { border-color: #3d6b35; }
.rav-case.a-photo .rav-vue { border: 2px solid #3d6b35; color: transparent; }
.rav-nom { font-size: .92em; font-weight: 600; }
.rav-case.a-photo .rav-nom::before { content: "✓ "; color: #3d6b35; }
.rav-autres { display: inline-block; margin: 14px 0 6px; color: #2e5228; font-weight: 600; cursor: pointer; text-decoration: underline; }
.rav-autres-liste { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rav-autres-liste span { position: relative; width: 84px; height: 63px; border-radius: 6px; background: center / cover no-repeat; border: 1px solid #ccc; }
.rav-autres-liste button { position: absolute; top: 2px; right: 2px; border: 0; border-radius: 50%; width: 20px; height: 20px; line-height: 18px; padding: 0; background: #1c1c1c; color: #fff; cursor: pointer; }
.rav-note-l { display: block; font-weight: 600; margin: 10px 0 4px; }
#rav-note { width: 100%; box-sizing: border-box; font: inherit; padding: 8px; border: 1px solid #ccc; border-radius: 6px; }
.rav-btn { margin-top: 10px; background: #3d6b35; color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.rav-btn:hover { background: #2e5228; }
.rav-msg { margin-top: 10px; padding: 10px 12px; border: 1px solid #ececec; border-left: 4px solid #b42318; border-radius: 6px; }
.rav-msg ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 760px) { .rav-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rav-prix { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 10px 0 2px; }
.rav-prix .rav-btn { margin-top: 0; }
.rav-ex-lien { color: #2e5228; font-weight: 600; }
.rav-msg.rav-payer { border-left-color: #3d6b35; background: #eef3ec; }
.rav-annuler { background: none; border: 1px solid #999; border-radius: 8px; padding: 11px 16px; font: inherit; cursor: pointer; margin-top: 10px; }
.cm-titre { margin: 34px 0 14px; font-size: 1.5em; }
.cm-titre:first-child { margin-top: 0; }
.cm-sauts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cm-sauts a { border: 1px solid #fff; color: #fff; border-radius: 20px; padding: 6px 14px; text-decoration: none; font-weight: 600; }
.cm-sauts a:hover { background: #3d6b35; border-color: #3d6b35; }
.calc-mat.cm-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .calc-mat.cm-trois { grid-template-columns: minmax(0, 1fr); } }
.cm-perim-b { max-width: 360px; margin-bottom: 14px; }
.cm-table td { white-space: normal; }
.cm-avec { font-size: .88em; color: #555; font-weight: 400; }
/* Page Bientôt disponible : liste d'attente */
.attente-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 6px 0 10px; }
.attente-form .champ { flex: 1 1 260px; margin: 0; }
.attente-form .bouton { white-space: nowrap; }
