/* Guides et zones de radar-estate.com (06/12/2026). Servi en /guides/guides.css. Aucun JavaScript.
   Classes à utiliser dans le corps d'un contenu (guide ou zone) :
     p.chapo                      phrase d'ouverture (une seule, en tête)
     h2 (avec id), h3, p, ul, ol, table, blockquote
     aside.encadre                encadré « À retenir » (un seul)
     aside.sources                sources officielles (h2 + ul de liens)
   Réservées aux pages de zones :
     <div class="chiffres">
       <div class="chiffre"><b>1 234</b><span>dossiers suivis</span></div> ...
     </div>                       grille de cartes de chiffres ; <small> facultatif dans .chiffre pour la source ou
                                  la date (ex. <small>DVF 2025</small>)
     <ul class="pastilles"><li>Cannes</li>...</ul>   communes sous forme de pastilles
     p.mention                    petite note grise (méthode, limites)
   Capture d'écran (images de /guides/img/, floutées) :
     <figure class="capture"><img src="/guides/img/nom.jpg" alt="…" width="1600" height="…" loading="lazy" decoding="async"><figcaption>…</figcaption></figure>
*/
:root {
  --fond: #f4f3ef; --papier: #fbfaf7; --blanc: #fff; --encre: #0d1b16; --doux: #4a5a52; --pale: #7d8a83;
  --ligne: rgba(13, 27, 22, .12); --vert: #1d7a4f; --vert-fonce: #0f3d2a; --or: #ffcd3c; --or-fonce: #e0a400;
  --marge: clamp(18px, 5vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--vert); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--vert-fonce); }
img { max-width: 100%; }

/* ---------- en-tête et pied ---------- */
.haut { position: sticky; top: 0; z-index: 20; background: rgba(251,250,247,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne); }
.haut-in { max-width: 1040px; margin: 0 auto; padding: 0 var(--marge); height: 60px; display: flex; align-items: center; gap: 8px; }
.logo { display: block; flex: none; margin-right: auto; }
.logo img { height: 28px; width: auto; display: block; }
.haut nav { display: flex; align-items: center; gap: 2px; }
.haut nav a { text-decoration: none; color: var(--doux); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.haut nav a:hover { color: var(--encre); background: rgba(13,27,22,.06); }
.haut nav a.cta { background: var(--encre); color: #fff; font-weight: 600; margin-left: 4px; }
.haut nav a.cta:hover { background: var(--vert-fonce); color: #fff; }
.bas { margin-top: 72px; padding: 32px var(--marge) calc(32px + env(safe-area-inset-bottom)); background: var(--papier); border-top: 1px solid var(--ligne);
  color: var(--doux); font-size: 14px; }
.bas-in { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.bas b { color: var(--encre); font-weight: 800; font-size: 17px; margin-right: auto; }
.bas a { color: inherit; }

/* ---------- colonne de lecture ---------- */
main { padding: 0 var(--marge); }
.col { max-width: 680px; margin: 0 auto; }
.ariane { padding-top: 28px; font-size: 14px; color: var(--pale); }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; overflow: hidden; }
.ariane li { flex: none; white-space: nowrap; }
.ariane li[aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ariane li + li::before { content: "›"; margin: 0 8px; color: var(--pale); }
.ariane a { color: var(--doux); text-decoration: none; }
.ariane a:hover { text-decoration: underline; }
.ariane li[aria-current] { color: var(--pale); }
.rubrique { display: inline-block; margin: 26px 0 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: var(--doux); border-bottom: 2px solid var(--or); padding-bottom: 5px; text-decoration: none; }
h1 { margin: 0 0 14px; font-size: clamp(32px, 6vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.infos { margin: 0 0 26px; font-size: 14px; color: var(--pale); }
.chapo { font-size: clamp(20px, 3.2vw, 23px); line-height: 1.5; color: var(--encre); font-weight: 400; margin: 0 0 28px; }
.chapo::first-line { font-weight: 500; }

.sommaire { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; padding: 18px 22px; margin: 0 0 36px; }
.sommaire h2 { margin: 0 0 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pale); font-weight: 600; }
.sommaire ol { margin: 0; padding-left: 22px; font-size: 16px; line-height: 1.5; }
.sommaire li { margin: 7px 0; padding-left: 2px; }
.sommaire a { text-decoration: none; color: var(--encre); }
.sommaire a:hover { color: var(--vert); text-decoration: underline; }

.corps h2 { margin: 52px 0 14px; font-size: clamp(25px, 4.2vw, 31px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; scroll-margin-top: 80px; text-wrap: balance; }
.corps h3 { margin: 32px 0 8px; font-size: 21px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
.corps p { margin: 0 0 1.05em; }
.corps ul, .corps ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.corps li { margin: .4em 0; padding-left: .2em; }
.corps li::marker { color: var(--vert); }
.corps strong { font-weight: 700; }
.corps blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--or); color: var(--doux); font-size: 19px; }
.corps blockquote p:last-child { margin-bottom: 0; }
.corps hr { border: 0; border-top: 1px solid var(--ligne); margin: 2em 0; }
.corps .tableau, .corps table { font-size: 15.5px; }
.corps table { width: 100%; border-collapse: collapse; margin: 1.4em 0; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.corps th, .corps td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--ligne); line-height: 1.45; }
.corps th { background: var(--papier); font-weight: 700; font-size: 14px; white-space: nowrap; }
.corps tr:last-child td { border-bottom: 0; }

aside.encadre { margin: 1.8em 0; padding: 20px 22px; background: #fff8dc; border: 1px solid #f0d56a; border-left: 5px solid var(--or-fonce); border-radius: 12px; font-size: 17px; }
aside.encadre > :first-child { margin-top: 0; } aside.encadre > :last-child { margin-bottom: 0; }
aside.encadre h2, aside.encadre h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #7a5a00; }
aside.sources { margin: 2.4em 0 0; padding: 20px 22px; background: var(--papier); border: 1px solid var(--ligne); border-radius: 12px; font-size: 15px; line-height: 1.5; }
aside.sources h2 { margin: 0 0 8px !important; font-size: 12px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--pale); font-weight: 600 !important; }
aside.sources ul { margin: 0; padding-left: 1.1em; } aside.sources li { margin: .5em 0; overflow-wrap: anywhere; }
.mention { font-size: 13.5px; color: var(--pale); line-height: 1.5; }

/* ---------- cartes de chiffres (zones) ---------- */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.6em 0 2em; }
.chiffre { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.chiffre b { font-size: clamp(28px, 6vw, 36px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--vert-fonce); font-variant-numeric: tabular-nums; }
.chiffre span { font-size: 14.5px; color: var(--doux); line-height: 1.35; }
.chiffre small { font-size: 12px; color: var(--pale); }
ul.pastilles { list-style: none; padding: 0 !important; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 8px; }
ul.pastilles li { margin: 0; padding: 5px 13px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px; font-size: 14.5px; }
ul.pastilles li::marker { content: ""; }

/* ---------- FAQ ---------- */
.faq { margin-top: 52px; }
.faq h2 { margin: 0 0 16px; font-size: clamp(25px, 4.2vw, 31px); letter-spacing: -.025em; font-weight: 800; scroll-margin-top: 80px; }
.faq details { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 12px; margin: 0 0 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; font-size: 17px; line-height: 1.4; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--vert); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { padding-bottom: 8px; }
.faq details p { margin: 0; padding: 0 18px 18px; font-size: 17px; color: var(--doux); }

/* ---------- à lire aussi ---------- */
.aussi { margin-top: 52px; }
.aussi h2 { margin: 0 0 16px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--pale); font-weight: 600; }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.carte { display: flex; flex-direction: column; gap: 6px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: var(--encre);
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.carte:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,27,22,.09); border-color: rgba(29,122,79,.4); color: var(--encre); }
.carte b { font-size: 18px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.carte span { font-size: 14.5px; color: var(--doux); line-height: 1.45; }
.carte em { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 13px; color: var(--vert); font-weight: 600; }
.aussi .cartes { grid-template-columns: 1fr; }
@media (min-width: 700px) { .aussi .cartes { grid-template-columns: 1fr 1fr; } }

/* ---------- bloc d'appel ---------- */
.appel { margin-top: 56px; padding: 30px 26px; border-radius: 18px; background: var(--vert-fonce); color: #fff; position: relative; overflow: hidden; }
.appel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%; border: 2px solid rgba(255,205,60,.35); box-shadow: 0 0 0 28px rgba(255,205,60,.07); pointer-events: none; }
.appel h2 { margin: 0 0 10px; font-size: clamp(23px, 4.5vw, 28px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; position: relative; }
.appel p { margin: 0 0 20px; color: rgba(255,255,255,.82); font-size: 17px; position: relative; max-width: 30em; }
.appel .boutons { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.appel a { display: inline-block; text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 13px 22px; border-radius: 999px; }
.appel a.plein { background: var(--or); color: var(--encre); }
.appel a.plein:hover { background: #ffd966; color: var(--encre); }
.appel a.vide { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.appel a.vide:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- pages d'accueil /guides/ et /zones/ ---------- */
.large { max-width: 1040px; margin: 0 auto; }
.accueil-tete { padding: 44px 0 8px; max-width: 720px; }
.accueil-tete h1 { margin-bottom: 14px; }
.accueil-tete p { margin: 0; font-size: 20px; color: var(--doux); line-height: 1.5; }
.rayon { margin-top: 48px; }
.rayon > h2 { margin: 0 0 6px; font-size: clamp(24px, 4vw, 30px); letter-spacing: -.025em; font-weight: 800; }
.rayon > p { margin: 0 0 18px; color: var(--doux); font-size: 16.5px; }
.rayon .cartes { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.vide-msg { margin: 40px 0; padding: 28px; background: var(--blanc); border: 1px dashed var(--ligne); border-radius: 14px; color: var(--doux); }

/* ---------- téléphone ---------- */
@media (max-width: 560px) {
  body { font-size: 17.5px; }
  .haut-in { height: 56px; }
  .haut-in { gap: 4px; }
  .haut nav a { padding: 7px 8px; font-size: 14px; }
  .haut nav a.cta { margin-left: 0; }
  .logo img { height: 20px; }
  .appel { padding: 26px 20px; border-radius: 16px; }
  .appel a { flex: 1 1 100%; text-align: center; }
  .sommaire { padding: 16px 18px; }
  .accueil-tete { padding-top: 32px; }
  .accueil-tete p { font-size: 18px; }
  .bas b { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .carte { transition: none; } }
@media print { .haut, .appel, .bas { display: none; } body { background: #fff; } }

/* Captures de l'application (floutées) */
.corps figure.capture { margin: 2.2em 0; padding: 0; }
.corps figure.capture img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--ligne);
  background: var(--papier); box-shadow: 0 1px 2px rgba(13, 27, 22, .06), 0 14px 38px rgba(13, 27, 22, .12); }
.corps figure.capture figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--pale); text-wrap: balance; }
@media (min-width: 1000px) {
  .corps figure.capture { margin-left: -90px; margin-right: -90px; }
  .corps figure.capture figcaption { padding-left: 90px; padding-right: 90px; }
}
