/* Belles Endormies — feuille de style unique, écrite à la main, sans outil de build.

   Parti pris : la page raconte une nuit et un réveil. Elle s'ouvre sous les
   étoiles (les maisons dorment), passe au jour pour le contenu, et revient à la
   nuit pour la carte et pour finir. Le curseur avant/après de l'ouverture fait
   lever le jour : il pilote --reveil (0 = nuit noire, 1 = aube), dont dépendent
   les étoiles, la lueur à l'horizon et les fenêtres du village.

   Deux voix : le récit se lit en Bona Nova ; les faits — prix, lieux, chiffres,
   boutons — parlent la langue des panneaux routiers, en Barlow Semi Condensed.
   Le jaune est celui d'une fenêtre allumée : il est réservé à l'appel à
   l'action et à ce qui « s'éveille ». Le rouge ne sert qu'au liseré des
   panneaux d'entrée de village. */

@font-face { font-family: 'Bona Nova'; src: url('polices/bona-nova-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bona Nova'; src: url('polices/bona-nova-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bona Nova'; src: url('polices/bona-nova-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('polices/barlow-semi-condensed-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('polices/barlow-semi-condensed-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('polices/barlow-semi-condensed-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --nuit: #0b1326;         /* ciel de nuit sans lune */
  --nuit-haute: #14203f;   /* le même ciel, plus près de l'horizon */
  --terre-noire: #060b18;  /* le village en ombre chinoise, et le pied de page */
  --ardoise: #27345a;      /* traits et aplats sur fond de nuit */
  --brume: #a3b3d2;        /* texte secondaire de nuit */
  --jour: #f5f6f3;         /* mur chaulé au petit matin */
  --lait: #ffffff;
  --teinte: #e7ecf2;       /* le jour, un ton plus bleu */
  --pierre: #d9dee4;       /* traits de jour */
  --encre: #101728;        /* texte de jour : la nuit, en plus dense */
  --plomb: #55607a;        /* texte secondaire de jour */
  --fenetre: #ffc83d;      /* fenêtre allumée : l'appel, et ce qui s'éveille */
  --aube: #f0875a;         /* l'horizon qui s'éclaire */
  --panneau: #d4202a;      /* liseré des panneaux d'entrée de village, rien d'autre */

  --recit: 'Bona Nova', 'Iowan Old Style', Georgia, serif;
  --panneaux: 'Barlow Semi Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --gouttiere: clamp(18px, 4vw, 44px);
  --ombre: 0 1px 2px rgba(16, 23, 40, .08), 0 18px 40px -18px rgba(16, 23, 40, .35);
}

/* Chiffres alignés partout. Bona Nova dessine par défaut des chiffres elzéviriens,
   où « 50 000 » se lit « 5o ooo » ; et le raccourci `font` les rétablit à chaque
   emploi, d'où la règle générale. */
*, *::before, *::after { box-sizing: border-box; font-variant-numeric: lining-nums !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 86px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body { margin: 0; background: var(--jour); color: var(--encre); font: 400 1.125rem/1.58 var(--recit); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--fenetre); color: var(--encre); }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.nuit :focus-visible, .entete :focus-visible, .pied :focus-visible, .collant :focus-visible { outline-color: var(--fenetre); }
h1, h2, h3 { font-family: var(--recit); font-weight: 400; line-height: 1.06; letter-spacing: -.012em; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; }
p { margin: 0 0 1em; text-wrap: pretty; }
[hidden] { display: none !important; }

.largeur { width: min(1200px, 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.etroit { width: min(730px, 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -70px; background: var(--fenetre); color: var(--encre); padding: 10px 16px; z-index: 100; font: 700 1rem var(--panneaux); }
.evitement:focus { top: 12px; }

/* Un fait glissé dans le récit : il change de voix. */
.fait { font-family: var(--panneaux); font-weight: 700; letter-spacing: -.012em; white-space: nowrap; }

/* ——— Le panneau d'entrée d'agglomération : fond blanc, liseré rouge, capitales
   noires. Il nomme chaque village, et la marque elle-même. ——— */
.panneau { display: inline-block; background: #fff; color: #0a0a0a; font: 700 1em/1 var(--panneaux); text-transform: uppercase; letter-spacing: .035em; padding: .36em .64em .32em; border: .13em solid #fff; border-radius: .32em; box-shadow: inset 0 0 0 .14em var(--panneau); white-space: nowrap; text-decoration: none; filter: drop-shadow(0 1px 1.5px rgba(16, 23, 40, .3)); }
/* Le panneau de sortie : liseré noir, nom barré de rouge. */
.panneau--sortie { box-shadow: inset 0 0 0 .14em #0a0a0a; background-image: linear-gradient(to bottom right, transparent calc(50% - .1em), var(--panneau) calc(50% - .1em), var(--panneau) calc(50% + .1em), transparent calc(50% + .1em)); }
.lieu { display: flex; flex-wrap: wrap; align-items: center; gap: .5em .8em; margin: 0 0 16px; font: 500 .95rem/1.3 var(--panneaux); color: var(--plomb); }
.nuit .lieu { color: var(--brume); }

/* Le petit rectangle jaune devant chaque surtitre est une fenêtre allumée. */
.surtitre { display: flex; align-items: center; gap: .7em; font: 600 .84rem/1.25 var(--panneaux); letter-spacing: .09em; text-transform: uppercase; color: var(--plomb); margin: 0 0 18px; }
.surtitre::before { content: ''; flex: none; width: .62em; height: .86em; background: var(--fenetre); box-shadow: 0 0 0 1.5px var(--encre); }
.nuit .surtitre { color: var(--brume); }
.nuit .surtitre::before { box-shadow: 0 0 12px 2px rgba(255, 200, 61, .6); }

/* ——— En-tête ——— */
.entete { position: sticky; top: 0; z-index: 50; background: var(--nuit); color: var(--lait); border-bottom: 1px solid var(--ardoise); }
.entete__in { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.entete .panneau { font-size: 1.02rem; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { font: 500 1rem/1 var(--panneaux); text-decoration: none; color: var(--brume); }
.menu a:hover { color: var(--lait); }
@media (max-width: 920px) { .menu { display: none; } .entete__in { justify-content: space-between; } }
/* Très petits écrans : le panneau et le bouton tiennent côte à côte. */
@media (max-width: 380px) { .entete__in { gap: 10px; } .entete .panneau { font-size: .82rem; } .entete .bouton--petit { padding: 10px; font-size: .86rem; } }

/* ——— Boutons et liens ——— */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--fenetre); color: var(--encre); border: 0; border-radius: 3px; padding: 16px 26px; font: 700 1.08rem/1 var(--panneaux); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: box-shadow .2s, background .2s, transform .15s; }
.bouton:hover { background: #ffd564; box-shadow: 0 0 26px 2px rgba(255, 200, 61, .5); }
.bouton:active { transform: translateY(1px); }
.bouton--petit { padding: 11px 16px; font-size: .96rem; }
.bouton--sobre { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.bouton--sobre:hover { background: var(--encre); color: var(--lait); box-shadow: inset 0 0 0 2px var(--encre); }
.lien-fleche { font: 600 1rem/1.2 var(--panneaux); text-decoration: underline; text-decoration-color: var(--fenetre); text-decoration-thickness: 3px; text-underline-offset: .28em; }
.lien-fleche::after { content: ' →'; }
.lien-fleche:hover { text-decoration-thickness: 5px; }

/* ——— Formulaire d'abonnement ——— */
.abo { max-width: 540px; }
.abo__ligne { display: flex; gap: 6px; background: var(--lait); border-radius: 4px; padding: 6px; box-shadow: 0 0 0 1px var(--pierre), var(--ombre); }
.abo__champ { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px; font: 500 1.1rem/1.2 var(--panneaux); color: var(--encre); }
.abo__champ::placeholder { color: #8791a6; }
.abo__champ:focus { outline: none; }
.abo__ligne:focus-within { box-shadow: 0 0 0 3px var(--encre), var(--ombre); }
.nuit .abo__ligne { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 20px 50px -20px #000; }
.nuit .abo__ligne:focus-within { box-shadow: 0 0 0 3px var(--fenetre), 0 0 40px -4px rgba(255, 200, 61, .5); }
.abo__miel { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.abo__note { font: 500 .9rem/1.45 var(--panneaux); color: var(--plomb); margin: 12px 2px 0; }
.nuit .abo__note { color: var(--brume); }
.abo__retour { margin: 14px 0 0; padding: 14px 16px; background: var(--fenetre); color: var(--encre); font: 600 1.02rem/1.4 var(--panneaux); border-radius: 3px; }
.abo__retour[data-etat='erreur'] { background: var(--lait); box-shadow: inset 0 0 0 2px var(--panneau); }
.abo[data-envoye] .abo__ligne, .abo[data-envoye] .abo__note { display: none; }
@media (max-width: 520px) { .abo__ligne { flex-direction: column; } .abo__ligne .bouton { width: 100%; } }

/* ——— La nuit : toute section qui porte cette classe est un ciel. ——— */
.nuit { --reveil: 0; position: relative; isolation: isolate; overflow: hidden; color: var(--lait); background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-haute) 68%, #1c2b55 100%); }
/* L'aube : une lueur qui monte de l'horizon à mesure que --reveil grandit. */
.nuit::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: calc(.06 + var(--reveil) * .94); background: radial-gradient(115% 62% at 66% 100%, rgba(240, 135, 90, .92) 0%, rgba(206, 104, 132, .5) 36%, rgba(86, 78, 150, .22) 62%, transparent 78%); }
.ciel { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ciel__etoiles { position: absolute; inset: 0 0 auto 0; width: 100%; height: 76%; opacity: calc(1 - var(--reveil) * .88); }
.ciel__lune { position: absolute; top: clamp(20px, 5vw, 60px); right: clamp(20px, 6vw, 110px); width: clamp(30px, 3.6vw, 48px); opacity: calc(.95 - var(--reveil) * .6); }
.scintille { animation: scintille 4.2s ease-in-out infinite; }
.scintille:nth-child(3n) { animation-delay: -1.4s; }
.scintille:nth-child(3n + 1) { animation-delay: -2.9s; }
@keyframes scintille { 50% { opacity: .15; } }
.village { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: clamp(86px, 11.5vw, 156px); pointer-events: none; }
.village__murs { fill: var(--terre-noire); }
/* Chaque fenêtre s'allume quand le réveil dépasse son seuil. */
.lueur { fill: var(--fenetre); opacity: clamp(0, calc((var(--reveil) - var(--seuil)) * 9), 1); }
:root[data-abonne] .lueur { opacity: 1; transition: opacity 1.2s; }
.nuit h1, .nuit h2, .nuit h3 { color: var(--lait); }
.nuit h1 em, .nuit h2 em { color: var(--fenetre); }

/* ——— Ouverture ——— */
.ouverture { padding: clamp(40px, 6vw, 84px) 0 clamp(150px, 19vw, 250px); }
.ouverture__grille { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: center; }
.ouverture h1 { font-size: clamp(2.55rem, 5.5vw, 4.6rem); line-height: 1.03; margin-bottom: .42em; }
.ouverture h1 em { display: block; margin-top: .08em; }
.chapo { font-size: clamp(1.12rem, 1.55vw, 1.3rem); line-height: 1.5; color: #d6deee; max-width: 31em; margin-bottom: 1.5em; }
.ouverture__semaine { margin: 26px 0 0; font: 500 1rem/1.5 var(--panneaux); color: var(--brume); max-width: 34em; }
.ouverture__semaine b { color: var(--lait); font-weight: 700; }
.ouverture__legende { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 6px; font: 500 1rem/1.3 var(--panneaux); color: #d6deee; }
.ouverture__legende .panneau { font-size: .98rem; }
.ouverture__geste { margin-left: auto; color: var(--fenetre); font-weight: 600; }
@media (max-width: 920px) { .ouverture__grille { grid-template-columns: minmax(0, 1fr); } .ouverture__geste { margin-left: 0; } }
.credit { font: 500 .8rem/1.4 var(--panneaux); color: var(--plomb); margin: 0; }
.credit a { color: inherit; }
.nuit .credit { color: #7f90b3; }

/* ——— Curseur avant / après ——— */
.aa { position: relative; margin: 0; border-radius: 3px; overflow: hidden; background: var(--ardoise); box-shadow: var(--ombre); user-select: none; touch-action: pan-y; max-width: 100%; }
.nuit .aa { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 34px 70px -24px #000; }
.aa__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aa__img--avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.aa__etiquette { position: absolute; top: 12px; padding: 7px 10px 6px; border-radius: 2px; font: 700 .78rem/1 var(--panneaux); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.aa__etiquette--avant { left: 12px; background: rgba(11, 19, 38, .86); color: var(--lait); }
.aa__etiquette--apres { right: 12px; background: var(--fenetre); color: var(--encre); }
.aa__poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--lait); pointer-events: none; }
/* La poignée : moitié nuit, moitié fenêtre allumée. */
.aa__poignee::before { content: ''; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: linear-gradient(90deg, var(--nuit) 50%, var(--fenetre) 50%); border: 3px solid var(--lait); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
.aa__poignee::after { content: '‹\00a0\00a0›'; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; font: 700 1.35rem/45px var(--panneaux); text-align: center; white-space: nowrap; background: linear-gradient(90deg, var(--lait) 50%, var(--encre) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aa__reglage { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.aa { cursor: ew-resize; }
.aa[data-lien] { cursor: pointer; }
.aa__img { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }
/* La zone où l'on saisit la poignée : plus large que le rond, et entièrement à
   nous (touch-action: none) — un doigt posé là fait glisser, jamais défiler. */
.aa__prise { position: absolute; top: 50%; left: var(--pos); width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; touch-action: none; cursor: ew-resize; }
/* Tant qu'on n'a touché à aucun curseur, la poignée bat et dit le geste. */
.aa__poignee::before { animation: appel 2.2s ease-out infinite; }
@keyframes appel { 0% { box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 0 0 rgba(255, 200, 61, .75); } 70%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 0 16px rgba(255, 200, 61, 0); } }
.aa__geste { position: absolute; top: calc(50% + 34px); left: var(--pos); translate: -50% 0; padding: 5px 9px 4px; border-radius: 2px; background: var(--fenetre); color: var(--encre); font: 700 .74rem/1 var(--panneaux); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; opacity: 0; transition: opacity .3s; }
.aa[data-demo] .aa__geste, .nuit[data-reveil] .aa__geste { opacity: 1; }
.aa__geste::before { content: '‹ '; } .aa__geste::after { content: ' ›'; }
:root[data-aa-compris] .aa__poignee::before { animation: none; }
:root[data-aa-compris] .aa .aa__geste { opacity: 0; }
/* Le contour n'apparaît qu'au clavier : à la souris, la poignée suffit. */
.aa:has(.aa__reglage:focus-visible) { outline: 3px solid var(--fenetre); outline-offset: 3px; }

/* ——— Sections de jour ——— */
.section { padding: clamp(60px, 8.5vw, 116px) 0; }
.section--teinte { background: var(--teinte); }
.section--lait { background: var(--lait); }
.section__tete { max-width: 44em; margin-bottom: clamp(30px, 4.5vw, 60px); }
.section__tete h2 { font-size: clamp(2.05rem, 4.3vw, 3.3rem); margin-bottom: .42em; }
.section__tete h2 em { font-style: italic; display: block; }
.section__tete > p:not(.surtitre) { font-size: 1.2rem; line-height: 1.5; color: var(--plomb); margin: 0; max-width: 36em; }
.nuit .section__tete > p:not(.surtitre) { color: #d6deee; }

/* ——— Le tri : trois nombres vrais, de plus en plus petits. ——— */
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 5vw, 72px); padding: 0; margin: 0; list-style: none; }
.tri li { position: relative; }
.tri li + li::before { content: '→'; position: absolute; top: clamp(.9rem, 2.4vw, 2rem); left: calc(clamp(26px, 5vw, 72px) * -.72); font: 500 clamp(1.3rem, 2.4vw, 2rem)/1 var(--panneaux); color: var(--plomb); }
.tri__nombre { display: flex; align-items: center; width: fit-content; height: 1.06em; font: 700 clamp(3.6rem, 8.6vw, 6.8rem)/1 var(--panneaux); letter-spacing: -.025em; margin-bottom: .14em; font-variant-numeric: lining-nums tabular-nums !important; }
/* Le dernier est allumé : c'est celui qui arrive chez vous. */
.tri__final .tri__nombre { background: var(--fenetre); padding: .04em .26em 0; box-shadow: 0 0 46px rgba(255, 200, 61, .6); }
.tri h3 { font: 700 1.28rem/1.2 var(--panneaux); letter-spacing: 0; margin-bottom: .5em; }
.tri p { margin: 0; color: var(--plomb); font-size: 1.06rem; }
@media (max-width: 760px) { .tri { grid-template-columns: minmax(0, 1fr); gap: 34px; } .tri li + li::before { content: '↓'; position: static; display: block; margin-bottom: 12px; } }

/* ——— Projets avant / après ——— */
.projets { display: grid; gap: clamp(48px, 7vw, 100px); }
.projet { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 64px); align-items: center; }
.projet:nth-child(even) .projet__visuels { order: 2; }
.projet__visuels { display: grid; gap: 12px; min-width: 0; }
.projet__onglets { display: flex; gap: 6px; flex-wrap: wrap; }
.projet__onglets button { border: 0; background: transparent; color: var(--plomb); box-shadow: inset 0 0 0 1.5px var(--pierre); border-radius: 2px; padding: 8px 12px 7px; font: 600 .9rem/1 var(--panneaux); cursor: pointer; }
.projet__onglets button[aria-pressed='true'] { background: var(--encre); color: var(--lait); box-shadow: none; }
.projet h3 { font-size: clamp(1.75rem, 2.9vw, 2.35rem); margin-bottom: .34em; }
.projet__prix { font: 700 2.1rem/1 var(--panneaux); letter-spacing: -.015em; margin: 0 0 4px; }
.projet__chiffres { font: 500 1rem/1.4 var(--panneaux); color: var(--plomb); margin-bottom: 1.3em; }
.projet__idees { padding: 0; margin: 0 0 1.3em; list-style: none; display: grid; gap: 12px; font-size: 1.08rem; }
.projet__idees li { padding-left: 24px; position: relative; }
.projet__idees li::before { content: ''; position: absolute; left: 0; top: .5em; width: 9px; height: 12px; background: var(--fenetre); box-shadow: 0 0 0 1.5px var(--encre); }
.projet__budget { font: 500 1rem/1.4 var(--panneaux); color: var(--plomb); margin-bottom: 1.1em; }
.projet__budget b { color: var(--encre); font-weight: 700; font-size: 1.15rem; }
.projet__budget small { display: block; font-size: .88rem; margin-top: 3px; }

@media (max-width: 920px) { .projet { grid-template-columns: minmax(0, 1fr); } .projet:nth-child(even) .projet__visuels { order: 0; } }

/* Ce qu'il faut vérifier : annoncé par le triangle des panneaux de danger. */
.reserve { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font: 500 1rem/1.5 var(--panneaux); color: var(--encre); margin: 0 0 1.3em; }
.reserve b { font-weight: 700; }
.danger { width: 26px; height: auto; margin-top: 1px; }

/* ——— Cartes des biens ——— */
.biens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 980px) { .biens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .biens { grid-template-columns: minmax(0, 1fr); } }
.bien { background: var(--lait); display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--pierre); transition: box-shadow .2s, transform .2s; }
.bien:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--encre), var(--ombre); }
.bien__photo { position: relative; background: var(--teinte); }
.bien__photo .aa { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3 !important; }
.bien__photo .aa__img { object-position: 50% 100%; }
.bien__note { position: absolute; bottom: 46px; left: 12px; pointer-events: none; background: var(--nuit); color: var(--lait); padding: 7px 10px 6px; border-radius: 2px; font: 600 .82rem/1 var(--panneaux); letter-spacing: .03em; }
.bien__note b { color: var(--fenetre); font-weight: 700; font-size: 1.05em; }
/* Le panneau du village, planté à cheval sur la photo. */
.bien__panneau { position: absolute; left: 16px; bottom: -.82em; font-size: 1.02rem; z-index: 1; }
.bien__corps { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.bien__lieu { font: 500 .92rem/1.3 var(--panneaux); color: var(--plomb); margin-bottom: 10px; }
.bien__titre { font-size: 1.5rem; margin-bottom: 6px; }
.bien__titre a, .projet h3 a { text-decoration: none; }
.bien__titre a:hover, .projet h3 a:hover { text-decoration: underline; text-decoration-color: var(--fenetre); text-decoration-thickness: 3px; text-underline-offset: .16em; }
.bien .lieu { margin-bottom: 12px; font-size: .9rem; }
.bien .lieu .panneau { font-size: .92rem; }
.bien__prix { font: 700 1.9rem/1 var(--panneaux); letter-spacing: -.015em; margin: 0 0 8px; }
.bien__chiffres { font: 500 .98rem/1.35 var(--panneaux); margin-bottom: 12px; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0 0 18px; list-style: none; }
.etiquettes li { font: 500 .84rem/1 var(--panneaux); padding: 5px 8px 4px; box-shadow: inset 0 0 0 1px var(--pierre); border-radius: 2px; color: var(--plomb); }
.bien__budget { margin: auto 0 16px; padding-top: 14px; border-top: 1px solid var(--pierre); font: 500 .95rem/1.4 var(--panneaux); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; }
.bien__budget span { color: var(--plomb); }
.bien__budget b { font-weight: 700; }
.bien__budget small { flex-basis: 100%; color: var(--plomb); font-size: .84rem; }
.bien--appel { background: var(--nuit); color: var(--lait); padding: 30px 24px; justify-content: flex-end; box-shadow: none; background-image: radial-gradient(1.2px 1.2px at 18% 14%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 72% 9%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 88% 30%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 40% 28%, #fff 50%, transparent 52%), radial-gradient(1.3px 1.3px at 58% 44%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 12% 46%, #fff 50%, transparent 52%); }
.bien--appel:hover { transform: none; box-shadow: none; }
.bien--appel h3 { color: var(--lait); font-size: 1.9rem; margin-bottom: .45em; }
.bien--appel p { color: var(--brume); font-size: 1.05rem; }
.bien--appel .bouton { align-self: flex-start; }
.bien--appel .lien-fleche { margin-top: 18px; color: var(--lait); }
.biens--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
@media (max-width: 620px) { .biens--deux { grid-template-columns: minmax(0, 1fr); } }

/* ——— La carte, de nuit : chaque maison est une lumière. ——— */
.carte { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 76px); align-items: center; }
.carte svg { width: 100%; height: auto; overflow: visible; }
.carte__dep { fill: #1b2748; stroke: var(--nuit); stroke-width: .9; transition: fill .15s; }
.carte__dep[data-n] { fill: #223158; }
.carte__dep[data-n]:hover { fill: #35487c; }
.carte__points { fill: var(--fenetre); filter: drop-shadow(0 0 2.5px rgba(255, 200, 61, .95)); pointer-events: none; }
.carte__bulle { min-height: 3em; margin: 16px 0 0; font: 500 1rem/1.45 var(--panneaux); color: var(--brume); }
.carte__bulle b { color: var(--lait); }
.palmares { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; font: 500 1.02rem/1.2 var(--panneaux); }
.palmares li { display: grid; grid-template-columns: 9em 1fr 2ch; gap: 14px; align-items: center; }
.palmares i { display: block; height: 9px; background: var(--fenetre); min-width: 4px; }
.palmares span:last-child { color: var(--brume); font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 920px) { .carte { grid-template-columns: minmax(0, 1fr); } }

/* ——— L'itinéraire : cinq bornes le long d'une départementale. ——— */
.methode { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.methode .section__tete { margin-bottom: 0; position: sticky; top: 100px; }
.methode .section__tete .bouton { margin-top: 28px; }
.itineraire { list-style: none; padding: 0; margin: 0; position: relative; }
/* La ligne discontinue au milieu de la chaussée. */
.itineraire::before { content: ''; position: absolute; left: 22px; top: 30px; bottom: 60px; width: 0; border-left: 3px dashed #9aa6bb; }
.itineraire li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 24px; padding-bottom: 36px; position: relative; }
.itineraire li:last-child { padding-bottom: 0; }
/* Borne des routes départementales : calotte jaune, corps blanc. */
.borne { width: 46px; height: 58px; border-radius: 23px 23px 3px 3px; background: linear-gradient(var(--fenetre) 0 42%, var(--lait) 42%); box-shadow: inset 0 0 0 2px var(--encre); display: grid; place-items: end center; padding-bottom: 6px; font: 700 1.25rem/1 var(--panneaux); position: relative; z-index: 1; }
.itineraire h3 { font-size: 1.55rem; margin: 6px 0 .35em; }
.itineraire p { margin: 0; color: var(--plomb); font-size: 1.08rem; }
.itineraire strong { color: var(--encre); font-weight: 700; }
@media (max-width: 920px) { .methode { grid-template-columns: minmax(0, 1fr); } .methode .section__tete { position: static; } }

/* ——— Services : trois moments d'un achat, dans l'ordre. ——— */
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3.5vw, 52px); list-style: none; padding: 0; margin: 0 0 clamp(40px, 6vw, 72px); border-top: 2px solid var(--encre); }
.moments > li { padding-top: 26px; position: relative; }
.moments > li::before { content: ''; position: absolute; top: -9px; left: 0; width: 12px; height: 16px; background: var(--fenetre); box-shadow: 0 0 0 2px var(--encre); }
.moments__quand { font: 600 .86rem/1.2 var(--panneaux); letter-spacing: .09em; text-transform: uppercase; color: var(--plomb); margin: 0 0 10px; }
.moments h3 { font-size: 1.7rem; margin-bottom: .4em; }
.moments p { color: var(--plomb); font-size: 1.08rem; }
.moments ul { padding-left: 1.1em; margin: 0; font: 500 1rem/1.45 var(--panneaux); display: grid; gap: 6px; }
@media (max-width: 860px) { .moments { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--encre); padding-left: 26px; gap: 34px; } .moments > li { padding-top: 0; } .moments > li::before { top: 4px; left: -33px; } }

.demande { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 70px); background: var(--lait); box-shadow: 0 0 0 1px var(--pierre); padding: clamp(24px, 4vw, 48px); }
.demande h3 { font-size: 2rem; margin-bottom: .4em; }
.demande p { color: var(--plomb); }
.demande form { display: grid; gap: 16px; }
.champ { display: grid; gap: 6px; font: 600 .95rem/1.2 var(--panneaux); }
.champ input, .champ textarea { font: 500 1.05rem/1.4 var(--panneaux); padding: 12px 14px; border: 0; box-shadow: inset 0 0 0 1.5px var(--pierre); border-radius: 2px; background: var(--jour); color: var(--encre); width: 100%; }
.champ input:focus, .champ textarea:focus { outline: none; box-shadow: inset 0 0 0 2.5px var(--encre); background: var(--lait); }
.champ textarea { min-height: 124px; resize: vertical; }
.demande__duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.demande .bouton { justify-self: start; }
@media (max-width: 820px) { .demande { grid-template-columns: minmax(0, 1fr); } .demande__duo { grid-template-columns: minmax(0, 1fr); } }

/* ——— La lettre : une feuille, et le cachet de la poste. ——— */
.apercu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 88px); align-items: center; }
.apercu__feuille { position: relative; background: var(--lait); box-shadow: 0 0 0 1px var(--pierre), var(--ombre); transform: rotate(-1.4deg); }
.apercu__objet { padding: 14px 18px 12px; border-bottom: 1px solid var(--pierre); font: 500 .9rem/1.35 var(--panneaux); color: var(--plomb); padding-right: 120px; }
.apercu__objet b { display: block; color: var(--encre); font-weight: 700; font-size: 1.05rem; }
.apercu__page { height: 440px; overflow: hidden; position: relative; }
/* L'iframe fait 640 px de large et n'est réduite que par une transformation, qui
   ne change pas la place qu'elle occupe : hors du flux, pour qu'elle n'élargisse
   pas la page sur un écran étroit. */
.apercu__page iframe { position: absolute; top: 0; left: 0; width: 640px; height: 920px; border: 0; transform-origin: 0 0; pointer-events: none; }
.apercu__page::after { content: ''; position: absolute; inset: auto 0 0 0; height: 100px; background: linear-gradient(transparent, var(--lait)); }
.cachet { position: absolute; top: -34px; right: -22px; width: 124px; height: 124px; color: rgba(16, 23, 40, .78); transform: rotate(11deg); z-index: 2; }
.apercu h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .55em; }
.sommaire-lettre { padding: 0; margin: 0 0 1.7em; list-style: none; display: grid; gap: 16px; font-size: 1.1rem; }
.sommaire-lettre li { padding-left: 26px; position: relative; }
.sommaire-lettre li::before { content: ''; position: absolute; left: 0; top: .48em; width: 9px; height: 12px; background: var(--fenetre); box-shadow: 0 0 0 1.5px var(--encre); }
.sommaire-lettre b { font-weight: 700; }
.apercu__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
@media (max-width: 920px) { .apercu { grid-template-columns: minmax(0, 1fr); } .apercu__feuille { transform: none; margin-top: 30px; } .cachet { right: 0; } }

/* ——— Questions ——— */
.questions { border-top: 2px solid var(--encre); }
.questions details { border-bottom: 1px solid var(--pierre); }
.questions summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 400 1.4rem/1.25 var(--recit); }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -52%; font: 500 1.9rem/1 var(--panneaux); transition: rotate .2s; }
.questions details[open] summary::after { rotate: 45deg; }
.questions details p { color: var(--plomb); max-width: 40em; padding-bottom: 8px; }
.questions details a { text-decoration-color: var(--fenetre); text-decoration-thickness: 3px; }

/* ——— Fin : la nuit retombe. ——— */
.final { --reveil: .34; text-align: left; padding-bottom: clamp(170px, 20vw, 260px); }
.final h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin-bottom: .32em; }
.final__texte { color: #d6deee; font-size: 1.25rem; max-width: 30em; margin: 0 0 1.5em; }

/* ——— Pied de page : on quitte le village. ——— */
.pied { background: var(--terre-noire); color: var(--brume); padding: 50px 0 44px; font: 500 1rem/1.5 var(--panneaux); }
.pied__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px 56px; }
.pied .panneau { font-size: 1.25rem; margin-bottom: 16px; }
.pied nav { display: grid; gap: 9px; align-content: start; }
.pied nav a { color: var(--lait); text-decoration: none; }
.pied nav a:hover { text-decoration: underline; text-decoration-color: var(--fenetre); }
.pied__note { max-width: 32em; margin: 0; }
.pied__legal { grid-column: 1 / -1; max-width: none; font-size: .88rem; border-top: 1px solid var(--ardoise); padding-top: 22px; color: #7f90b3; }
@media (max-width: 700px) { .pied__in { grid-template-columns: minmax(0, 1fr); } }

/* ——— La page d'une maison ——— */
.maison-tete { padding: clamp(26px, 4vw, 48px) 0 clamp(48px, 7vw, 90px); }
.fil { font: 500 .95rem/1.3 var(--panneaux); margin: 0 0 clamp(22px, 3vw, 36px); }
.fil a { color: var(--brume); text-decoration: none; }
.fil a::before { content: '← '; }
.fil a:hover { color: var(--lait); }
.maison-tete__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 68px); align-items: center; }
.maison-tete h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); margin-bottom: .3em; }
.maison-tete__prix { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; margin: 0 0 .25em; }
.maison-tete__prix small { font: 500 1.05rem/1 var(--panneaux); color: var(--brume); margin-left: .3em; }
.maison-tete__budget { font: 500 1.1rem/1.4 var(--panneaux); color: var(--brume); margin-bottom: 1.3em; }
.maison-tete__budget b { color: var(--fenetre); font-weight: 700; font-size: 1.25em; white-space: nowrap; }
.maison-tete__liens, .annonce__liens { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 0; }
.maison-tete .lien-fleche { color: var(--lait); }
@media (max-width: 920px) { .maison-tete__grille { grid-template-columns: minmax(0, 1fr); } }

.projet-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.projet-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .6em; }
.projet-intro h2 em { font-style: italic; }
.projet-intro > div > p:not(.surtitre):not(.reserve) { font-size: 1.16rem; line-height: 1.62; max-width: 36em; }
.projet-intro .projet__idees { margin-top: 1.6em; max-width: 36em; }
.projet-intro .reserve { max-width: 40em; margin-top: 1.6em; }
@media (max-width: 920px) { .projet-intro { grid-template-columns: minmax(0, 1fr); } }
.situer { margin: 0 0 22px; padding: 18px 18px 14px; border-radius: 3px; }
.situer svg { width: 100%; height: auto; }
.situer .carte__dep { fill: #1b2748; stroke: var(--nuit); stroke-width: 1.2; }
.situer .carte__dep--ici { fill: #35487c; }
.situer__point { fill: var(--fenetre); }
.situer__halo { fill: rgba(255, 200, 61, .22); }
.situer figcaption { font: 500 .92rem/1.4 var(--panneaux); color: var(--brume); margin-top: 10px; }
.fiche { margin: 0; font: 500 1rem/1.3 var(--panneaux); border-top: 2px solid var(--encre); }
.fiche div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--pierre); }
.fiche dt { color: var(--plomb); }
.fiche dd { margin: 0; font-weight: 700; text-align: right; }

.vues { display: grid; gap: clamp(46px, 7vw, 96px); }
.vue { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(22px, 4.5vw, 64px); align-items: center; scroll-margin-top: 90px; }
.vue:nth-child(even) .vue__image { order: 2; }
.vue__image { display: grid; gap: 10px; min-width: 0; }
.vue__rang { font: 600 .84rem/1.2 var(--panneaux); letter-spacing: .09em; text-transform: uppercase; color: var(--plomb); margin: 0 0 10px; }
.vue h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: .45em; }
.vue__texte p { font-size: 1.12rem; }
.vue__intertitre { font: 600 .84rem/1.2 var(--panneaux) !important; letter-spacing: .09em; text-transform: uppercase; color: var(--plomb); margin: 1.5em 0 8px; }
.vue__montre { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--pierre); font: 500 1rem/1.35 var(--panneaux); }
.vue__montre li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--pierre); }
.vue__montre a { flex: none; font-size: .86rem; color: var(--plomb); text-decoration-color: var(--fenetre); text-decoration-thickness: 2px; white-space: nowrap; }
.vue__montre a:hover { color: var(--encre); }
@media (max-width: 920px) { .vue { grid-template-columns: minmax(0, 1fr); } .vue:nth-child(even) .vue__image { order: 0; } }

/* Le chiffrage : un tableau qu'on lit comme un devis. */
.chiffrage { overflow-x: auto; }
.chiffrage table { width: 100%; border-collapse: collapse; font: 500 1rem/1.35 var(--panneaux); }
.chiffrage thead th { text-align: left; font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--plomb); padding: 0 12px 10px 0; border-bottom: 2px solid var(--encre); }
.chiffrage thead th:last-child, .chiffrage .montant { text-align: right; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums !important; }
.chiffrage td, .chiffrage tbody th, .chiffrage tfoot th { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--pierre); vertical-align: top; text-align: left; }
.chiffrage td:last-child, .chiffrage thead th:last-child { padding-right: 0; }
.chiffrage .lot th { font: 400 1.3rem/1.2 var(--recit); padding-top: 26px; border-bottom-color: var(--encre); }
.chiffrage .lot .montant { font-weight: 700; padding-top: 26px; border-bottom-color: var(--encre); vertical-align: bottom; }
.chiffrage tbody tr:not(.lot) .montant { color: var(--plomb); }
.chiffrage tr:target td { background: #fff3cf; box-shadow: inset 4px 0 0 var(--fenetre); }
.chiffrage tr:target td.poste { padding-left: 12px; }
.chiffrage tr { scroll-margin-top: 90px; }
.poste i { font-style: normal; font-size: .84rem; padding: 2px 6px 1px; margin-left: 4px; box-shadow: inset 0 0 0 1px var(--pierre); border-radius: 2px; color: var(--plomb); white-space: nowrap; }
.poste small { display: block; font-size: .86rem; color: var(--plomb); margin-top: 2px; }
.poste__vu::before { content: ''; display: inline-block; width: 7px; height: 9px; margin-right: 6px; background: var(--fenetre); box-shadow: 0 0 0 1px var(--encre); }
.mesure { color: var(--plomb); white-space: nowrap; }
.mesure span { white-space: nowrap; }
.chiffrage tfoot th { font-weight: 600; }
.chiffrage tfoot .montant { font-weight: 700; }
.chiffrage tfoot tr:first-child th, .chiffrage tfoot tr:first-child td { border-top: 2px solid var(--encre); padding-top: 16px; }
.chiffrage tfoot .total th, .chiffrage tfoot .total td { background: var(--fenetre); font-size: 1.2rem; font-weight: 700; padding: 14px 12px; border-bottom: 0; }
@media (max-width: 700px) {
  .chiffrage thead { display: none; }
  .chiffrage tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; border-bottom: 1px solid var(--pierre); padding: 9px 0; }
  .chiffrage td, .chiffrage tbody th, .chiffrage tfoot th { border: 0; padding: 0; }
  .chiffrage .poste { grid-column: 1; grid-row: 1; }
  .chiffrage .mesure { grid-column: 1; grid-row: 2; font-size: .86rem; white-space: normal; }
  .chiffrage tbody tr:not(.lot) .montant { grid-column: 2; grid-row: 1; }
  .chiffrage .lot { border-bottom: 2px solid var(--encre); padding-top: 22px; }
  .chiffrage .lot th, .chiffrage .lot .montant { padding-top: 0; }
  .chiffrage tfoot .total { padding: 12px; background: var(--fenetre); }
  .chiffrage tfoot .total th, .chiffrage tfoot .total td { padding: 0; }
}
.chiffrage__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: clamp(30px, 4vw, 48px); }
.chiffrage__notes h3 { font: 700 1.15rem/1.25 var(--panneaux); letter-spacing: 0; margin-bottom: .6em; }
.chiffrage__notes ul { padding-left: 1.1em; margin: 0; display: grid; gap: 7px; font-size: 1.04rem; color: var(--plomb); }
.chiffrage__notes a { text-decoration-color: var(--fenetre); text-decoration-thickness: 2px; }
.chiffrage__alerte { margin: clamp(26px, 4vw, 40px) 0 0; padding: 16px 18px; box-shadow: inset 0 0 0 2px var(--encre); font: 500 1.02rem/1.5 var(--panneaux); max-width: 56em; }
@media (max-width: 760px) { .chiffrage__notes { grid-template-columns: minmax(0, 1fr); } }

/* L'addition : trois lignes, puis le total allumé. */
.addition { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); }
.addition li { border-top: 2px solid var(--encre); padding-top: 14px; position: relative; }
.addition li + li::before { content: '+'; position: absolute; top: 14px; left: calc(clamp(18px, 3vw, 44px) * -.72); font: 500 1.6rem/1.5 var(--panneaux); color: var(--plomb); }
.addition li.addition__total::before { content: '='; }
.addition b { display: block; font: 700 clamp(1.7rem, 3.2vw, 2.7rem)/1.05 var(--panneaux); letter-spacing: -.02em; margin-bottom: .2em; white-space: nowrap; }
.addition span { color: var(--plomb); font-size: 1.04rem; }
.addition__total b { width: fit-content; background: var(--fenetre); padding: .1em .3em .04em; margin-bottom: .3em; box-shadow: 0 0 40px rgba(255, 200, 61, .55); }
@media (max-width: 860px) { .addition { grid-template-columns: minmax(0, 1fr); gap: 20px; } .addition li + li::before { position: static; display: block; line-height: 1; margin-bottom: 4px; } }

.annonce { max-width: 46em; }
.annonce h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .5em; }
.annonce p:not(.surtitre) { color: var(--plomb); font-size: 1.12rem; }
.titre-page { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: .4em; }
.titre-page em { font-style: italic; display: block; }

/* ——— Pages de texte (guide, mentions, confirmations) ——— */
.article { padding: clamp(44px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }
.article__tete { margin-bottom: clamp(30px, 4vw, 52px); }
.article h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); margin-bottom: .36em; }
.article h1 em { font-style: italic; }
.article__chapo { font-size: clamp(1.2rem, 1.9vw, 1.42rem); line-height: 1.48; color: var(--plomb); }
.article h2 { font-size: clamp(1.7rem, 3.1vw, 2.3rem); margin: 2em 0 .55em; }
.article h3 { font: 700 1.3rem/1.25 var(--panneaux); letter-spacing: 0; margin: 1.6em 0 .4em; }
.article p, .article li { font-size: 1.16rem; line-height: 1.64; }
/* Les éléments d'interface gardent leur taille dans un article. */
.article .surtitre { font-size: .84rem; line-height: 1.25; }
.article .abo__note { font-size: .9rem; line-height: 1.45; }
.article .abo__retour { font-size: 1.02rem; line-height: 1.4; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: .5em; }
.article strong { font-weight: 700; }
.article a { text-decoration-color: var(--fenetre); text-decoration-thickness: 3px; }
.sommaire { background: var(--lait); box-shadow: 0 0 0 1px var(--pierre); padding: 24px 28px; margin: 0 0 2em; }
.sommaire p { font: 600 .84rem/1.25 var(--panneaux); letter-spacing: .09em; text-transform: uppercase; color: var(--plomb); margin-bottom: 12px; }
.sommaire ol { margin: 0; gap: .3em; font: 500 1.08rem/1.4 var(--panneaux); }
.sommaire li { font-size: inherit; line-height: inherit; }
.encart { background: var(--teinte); padding: 22px 26px; margin: 1.6em 0; }
.encart > :last-child { margin-bottom: 0; }
.encart--alerte { background: var(--lait); box-shadow: inset 0 0 0 2px var(--encre); }
/* Un tableau trop large défile dans son cadre, jamais la page. */
.defile { overflow-x: auto; margin: 1.2em 0 1.6em; }
.defile .tableau { margin: 0; }
.tableau { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font: 500 1.08rem/1.4 var(--panneaux); }
.tableau th, .tableau td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--pierre); vertical-align: top; }
.tableau th { font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--plomb); }
.tableau td:last-child, .tableau th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums !important; }
.tableau--bareme td:last-child { white-space: normal; min-width: 9.5em; }
.tableau--bareme small { display: block; color: var(--plomb); font-size: .84rem; }
.tableau--bareme .lot th { font: 400 1.25rem/1.2 var(--recit); letter-spacing: 0; text-transform: none; color: var(--encre); padding-top: 22px; border-bottom: 2px solid var(--encre); }
.tableau tr.total td { font-weight: 700; border-top: 2px solid var(--encre); border-bottom: 0; background: var(--fenetre); }
.appel-encart { --reveil: .3; border-radius: 3px; padding: clamp(26px, 4vw, 44px); padding-bottom: clamp(110px, 14vw, 150px); margin: 2.6em 0 0; }
.appel-encart h2 { margin: 0 0 .4em; }
.appel-encart p { color: #d6deee; }
.appel-encart .village { height: clamp(70px, 9vw, 100px); }
.message { text-align: left; padding: clamp(64px, 11vw, 140px) 0; }
.message h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); margin-bottom: .42em; }
.message p:not(.surtitre) { font-size: 1.22rem; color: var(--plomb); max-width: 32em; }
.message .bouton { margin-top: 14px; }
.archives { padding: 0; margin: 0; list-style: none; border-top: 2px solid var(--encre); }
.archives li { border-bottom: 1px solid var(--pierre); font-size: inherit; }
.archives a { display: grid; grid-template-columns: 4.6em 1fr auto; gap: 18px; align-items: baseline; padding: 22px 0; text-decoration: none; }
.archives a:hover h2 { text-decoration: underline; text-decoration-color: var(--fenetre); text-decoration-thickness: 3px; text-underline-offset: .18em; }
.archives h2 { font-size: 1.6rem; margin: 0; }
.archives span { font: 500 .98rem/1.3 var(--panneaux); color: var(--plomb); }
.archives span:first-child { font-weight: 700; color: var(--encre); }
@media (max-width: 620px) { .archives a { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ——— Barre d'appel collante (mobile) ——— */
.collant { position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--nuit); color: var(--lait); border-top: 1px solid var(--ardoise); padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px; font: 600 1rem/1.2 var(--panneaux); transform: translateY(110%); transition: transform .25s; }
.collant[data-visible] { transform: none; }
@media (max-width: 760px) { .collant { display: flex; } }
