@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --noir: #000; --encre: #111; --gris: #545454; --ligne: #e2e2e2; --fond-2: #f3f3f3; --fond: #fff;
  --vert: #0e7a41; --vert-fond: #e6f4ec; --orange: #8a4500; --orange-fond: #fdf1e2; --rouge: #b3261e; --rouge-fond: #fcebeb;
  --cA: #00845a; --cB: #52b153; --cC: #a5cc74; --cD: #f4e70f; --cE: #f0b50f; --cF: #eb8235; --cG: #d7221f;
  --rayon: 12px; --max: 1080px; --gouttiere: 20px; color-scheme: light;
}
@media (min-width: 768px) { :root { --gouttiere: 32px; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } html { scroll-behavior: auto !important; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 16px; }
body { margin: 0; font-family: "Figtree", system-ui, sans-serif; font-size: 17px; line-height: 1.55; color: var(--encre); background: var(--fond); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid #276ef1; outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: static; width: auto; height: auto; clip: auto; padding: 12px; display: inline-block; }
.conteneur { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 12px; }

.entete { background: var(--noir); color: #fff; }
.entete .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; min-height: 44px; }
.marque svg { width: 30px; height: 30px; }
.entete nav { display: flex; gap: 4px; flex-wrap: wrap; }
.entete nav a { text-decoration: none; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.entete nav a:hover, .entete nav a[aria-current] { background: #333; }
@media (max-width: 620px) { .entete .conteneur { padding-top: 6px; padding-bottom: 6px; gap: 0; } .entete nav { width: 100%; justify-content: space-between; margin: 0 -8px; } .entete nav a { padding: 10px 8px; font-size: 15px; } }

.section { padding: 48px 0; }
.noir { background: var(--noir); color: #fff; }
.gris { background: var(--fond-2); }
.chapeau { font-size: 19px; max-width: 680px; color: inherit; opacity: .92; }
.offre-accueil { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 14px 0 4px; max-width: 760px; padding-top: 14px; border-top: 1px solid #333; }
.offre-accueil p { margin: 0; flex: 1 1 260px; font-size: 16px; opacity: .92; }
.offre-accueil .bouton { min-height: 48px; }
@media (max-width: 560px) { .heros-accueil { padding-top: 24px; } .heros-accueil h1 { margin-top: 0; } .heros-accueil .chapeau { font-size: 17px; margin: 8px 0 0; } .heros-accueil .recherche { margin-top: 14px; } .offre-accueil .bouton { width: 100%; } }
.etiquette { display: inline-block; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; opacity: .8; }

.recherche { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 8px; max-width: 760px; }
.recherche label { flex-basis: 100%; font-weight: 700; }
.recherche input { flex: 1 1 280px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 10px; border: 2px solid #fff; background: #fff; color: #000; min-height: 52px; }
.bouton { font: inherit; font-weight: 700; font-size: 17px; background: #fff; color: #000; border: 2px solid #000; border-radius: 10px; padding: 12px 20px; min-height: 52px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.noir .bouton { border-color: #fff; }
.bouton.plein, .bloc .bouton { background: #000; color: #fff; }
.bouton.clair { background: transparent; color: inherit; border-color: currentColor; }
.bouton[disabled] { background: #d9d9d9; color: #444; border-color: #d9d9d9; cursor: not-allowed; }
.exemples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 15px; }
.exemples span { opacity: .85; align-self: center; }
.exemples button { font: inherit; font-size: 15px; background: #222; color: #fff; border: 1px solid #555; border-radius: 999px; padding: 8px 14px; min-height: 44px; cursor: pointer; }

#resultats { padding: 32px 0 8px; }
.attente { color: var(--gris); }
.bloc { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px; margin: 0 0 16px; background: #fff; }
.note { color: var(--gris); font-size: 15px; }
.choix { display: flex; flex-direction: column; gap: 8px; }
.choix .bouton { color: #000; justify-content: flex-start; text-align: left; }

.classe { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-weight: 800; font-size: 20px; color: #000; flex: none; }
.classe.grand { width: 88px; height: 88px; font-size: 52px; border-radius: 16px; }
.c-A { background: var(--cA); color: #fff; } .c-B { background: var(--cB); } .c-C { background: var(--cC); } .c-D { background: var(--cD); }
.c-E { background: var(--cE); } .c-F { background: var(--cF); } .c-G { background: var(--cG); color: #fff; } .c-N { background: #bbb; }

.liste-dpe { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.ligne-dpe { width: 100%; display: flex; gap: 14px; align-items: center; text-align: left; font: inherit; background: #fff; border: 1px solid var(--ligne); border-radius: 10px; padding: 12px; cursor: pointer; min-height: 60px; color: inherit; }
.ligne-dpe:hover { border-color: #000; }
.ligne-dpe small { display: block; color: var(--gris); font-size: 14px; }

.tete-resultat { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: var(--rayon); margin-bottom: 16px; background: var(--fond-2); }
.tete-resultat.statut-interdit, .tete-resultat.statut-vierge { background: var(--rouge-fond); }
.tete-resultat.statut-echeance { background: var(--orange-fond); }
.tete-resultat.statut-ok { background: var(--vert-fond); }
.tete-resultat h2 { margin-bottom: 8px; }
.sur { font-weight: 700; margin-bottom: 4px; }
.meta { font-size: 14px; color: var(--gris); margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .tete-resultat { flex-direction: column; padding: 18px; } }

.frise { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.frise li { border: 1px solid var(--ligne); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.frise li span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.frise .an { font-weight: 800; font-size: 22px; }
.frise li.touche { border: 2px solid #000; }
.frise li.passee .an::after { content: " (en vigueur)"; font-size: 13px; font-weight: 600; color: var(--gris); }

.alerte { border-radius: 10px; padding: 14px 16px; margin: 0 0 12px; border-left: 5px solid; }
.alerte-fort { background: var(--rouge-fond); border-color: var(--rouge); }
.alerte-moyen { background: var(--orange-fond); border-color: var(--orange); }
.alerte-bon { background: var(--vert-fond); border-color: var(--vert); }
.bloc.alerte-fort { border-left: 5px solid var(--rouge); }

.barres { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.barres li { display: grid; grid-template-columns: minmax(110px, 180px) 1fr 44px; gap: 10px; align-items: center; font-size: 15px; }
.barre { height: 12px; background: var(--fond-2); border-radius: 6px; overflow: hidden; }
.barre span { display: block; height: 100%; background: #000; }
.travaux, .aides { padding-left: 20px; margin: 0 0 8px; }
.travaux li, .aides > li { margin-bottom: 12px; }
.aides li.non { opacity: .6; }
.aides a { font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.pastille { display: inline-block; font-size: 13px; font-weight: 700; background: #000; color: #fff; border-radius: 999px; padding: 2px 10px; }
.rge { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rge li { border: 1px solid var(--ligne); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.rge small { color: var(--gris); }
.rge a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

.offre { border: 2px solid #000; }
.prix { font-size: 24px; font-weight: 800; margin: 8px 0 12px; }
.prix small { display: block; font-size: 14px; font-weight: 500; color: var(--gris); }
.renonce { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin-bottom: 14px; cursor: pointer; }
.renonce input { width: 22px; height: 22px; margin-top: 2px; flex: none; }

table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.calendrier td:first-child { width: 56px; }
.defile { overflow-x: auto; }
.grille-2 { display: grid; gap: 24px; }
@media (min-width: 860px) { .grille-2 { grid-template-columns: 1fr 1fr; } }
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.chiffres div { background: #fff; border: 1px solid var(--ligne); border-radius: 10px; padding: 16px; }
.chiffres strong { display: block; font-size: 30px; font-weight: 800; }
.repartition { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.repartition li { display: grid; grid-template-columns: 36px 1fr 110px; gap: 10px; align-items: center; font-size: 15px; }
.repartition .barre { height: 18px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--ligne); padding: 6px 0; }
.faq summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }

.rapport section { margin: 24px 0; }
.r-tete { display: flex; gap: 20px; align-items: flex-start; border-bottom: 2px solid #000; padding-bottom: 16px; }
.t-travaux small { color: var(--gris); }
.revenus { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.revenus label { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; flex: 1 1 220px; }
.revenus input { font: inherit; font-size: 17px; padding: 10px 12px; border: 1px solid #999; border-radius: 8px; min-height: 48px; margin-top: 4px; }
@media (max-width: 700px) { .t-travaux thead { display: none; } .t-travaux tr { display: block; border-bottom: 2px solid var(--ligne); padding: 8px 0; } .t-travaux td { display: block; border: 0; padding: 4px 0; } }

.pied { background: var(--noir); color: #ddd; padding: 32px 0; font-size: 15px; margin-top: 48px; }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.pied nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pied a { min-height: 44px; display: inline-flex; align-items: center; }

@media print {
  .entete, .pied, #recherche, .offre, .exemples, .revenus { display: none !important; }
  body { font-size: 12pt; }
  .bloc, .rapport section { break-inside: avoid; }
  a[href^="http"]::after { content: ""; }
}
