/* Les pages « prix au m² ». Même langue visuelle que le site : fond crème,
   Fraunces pour les titres, Bricolage pour le texte, laiton pour l'accent.
   Une seule feuille pour les 99 pages : le visiteur ne la télécharge qu'une
   fois, et une correction se fait à un seul endroit. */
:root{
  --ink:#0d0f14;
  --laiton:#b08d57;
  --creme:#faf8f5;
  --trait:rgba(13,15,20,.13);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Bricolage Grotesque',system-ui,sans-serif;
  background:var(--creme);color:var(--ink);line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}

/* ── La barre du haut ── */
.barre{
  position:sticky;top:0;z-index:10;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px clamp(18px,5vw,56px);
  background:rgba(250,248,245,.92);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--trait);
}
.marque{font-size:.78rem;font-weight:600;letter-spacing:.17em;text-decoration:none}
.cta{
  display:inline-flex;align-items:center;min-height:44px;
  font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  text-decoration:none;color:#fff;background:var(--ink);
  border-radius:2px;padding:0 24px;transition:background .18s ease;
}
.cta:hover{background:#000}
.cta.mini{min-height:42px;padding:0 16px;font-size:.66rem}  /* l'action principale ne descend pas sous 42 */

main{max-width:880px;margin:0 auto;padding:clamp(28px,6vw,64px) clamp(18px,5vw,40px) 80px}

.fil{font-size:.76rem;color:rgba(13,15,20,.5);margin-bottom:26px}
.fil a{text-decoration:none}
.fil a:hover{color:var(--ink)}
.fil span{margin:0 8px;color:var(--laiton)}

h1{
  font-family:'Fraunces',Georgia,serif;font-weight:350;
  font-size:clamp(2.3rem,7vw,3.6rem);line-height:1.08;letter-spacing:.005em;
}
h1 em{font-style:italic;font-weight:400}
h2{
  font-family:'Fraunces',Georgia,serif;font-weight:350;
  font-size:clamp(1.45rem,3.4vw,1.95rem);line-height:1.2;
  margin-bottom:16px;max-width:24ch;
}
h2 em{font-style:italic}

/* ── Le chiffre d'en-tête ── */
.phare{margin:30px 0 0;padding:28px 0 32px;border-top:1px solid var(--trait);border-bottom:1px solid var(--trait)}
.gros{
  font-family:'Fraunces',Georgia,serif;font-weight:300;
  font-size:clamp(3rem,10vw,4.6rem);line-height:1;letter-spacing:-.015em;
}
.gros small{font-size:.32em;letter-spacing:.02em;margin-left:.1em;color:rgba(13,15,20,.55)}
.phare p{margin-top:14px;font-size:1rem;color:rgba(13,15,20,.7);max-width:52ch}

section{margin-top:clamp(42px,7vw,66px)}
section .intro,section .dit{font-size:.97rem;color:rgba(13,15,20,.72);max-width:58ch}
section .intro{margin-bottom:22px}
section .dit{margin-top:20px}
.dit b{font-weight:600;color:var(--ink)}

/* ── L'évolution sur trois ans ── */
.evo{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:end;margin-top:8px}
.evo .an{text-align:center}
.evo .col{height:132px;display:flex;align-items:flex-end;justify-content:center}
.evo .rem{display:block;width:100%;border-radius:2px 2px 0 0;background:linear-gradient(180deg,var(--laiton),#d8b26b)}
.evo b{display:block;margin-top:12px;font-size:1.02rem;font-weight:600;font-variant-numeric:tabular-nums}
.evo i{display:block;font-style:normal;font-size:.76rem;font-weight:600;letter-spacing:.14em;color:var(--laiton);margin-top:3px}
.evo s{display:block;text-decoration:none;font-size:.74rem;color:rgba(13,15,20,.45);margin-top:5px}

/* ── La fourchette ── */
.ecart{display:flex;align-items:center;gap:14px;margin-bottom:4px;font-variant-numeric:tabular-nums}
.ecart span{font-family:'Fraunces',Georgia,serif;font-size:clamp(1.3rem,4vw,1.8rem);font-weight:350}
.ecart i{flex:1;height:3px;border-radius:2px;background:linear-gradient(90deg,#d8b26b,#a4762f,#4a3113)}

/* ── Les deux rues qui s'opposent ── */
.fort{padding:30px 0;border-top:1px solid var(--trait);border-bottom:1px solid var(--trait)}
.duel{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--trait);margin-top:6px}
.duel>div{background:var(--creme);padding:20px 22px 22px}
.duel span{font-size:.7rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--laiton)}
.duel b{display:block;margin-top:10px;font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.2rem;line-height:1.25}
.duel i{display:block;margin-top:7px;font-style:normal;font-size:1.3rem;font-weight:600;font-variant-numeric:tabular-nums}

/* ── Les tableaux ── */
table{width:100%;border-collapse:collapse;font-size:.94rem}
th{text-align:left;font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:rgba(13,15,20,.45);padding-bottom:10px;border-bottom:1px solid var(--trait)}
td{padding:12px 0;border-bottom:1px solid rgba(13,15,20,.07)}
td.n,th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
td.p{font-weight:600;color:var(--laiton)}

/* ── L'appel ── */
.appel{background:var(--ink);color:#fff;border-radius:3px;padding:clamp(30px,6vw,46px);text-align:center}
.appel h2{color:#fff;margin:0 auto 14px;max-width:18ch}
.appel p{color:rgba(255,255,255,.72);max-width:46ch;margin:0 auto 26px;font-size:.97rem}
.appel .cta{background:var(--laiton);color:var(--ink)}
.appel .cta:hover{background:#c9a56b}

/* ── Le maillage ── */
.liens{display:flex;flex-wrap:wrap;gap:8px}
.liens a{
  text-decoration:none;font-size:.88rem;
  border:1px solid var(--trait);border-radius:2px;
  padding:10px 15px;min-height:44px;display:inline-flex;align-items:center;
  transition:border-color .15s ease,background .15s ease;
}
.liens a:hover{border-color:var(--laiton);background:#fff}
.gros-liens{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.gros-liens a{flex-direction:column;align-items:flex-start;gap:4px;padding:15px 17px}
.gros-liens b{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.02rem}
.gros-liens i{font-style:normal;font-size:.84rem;color:var(--laiton);font-variant-numeric:tabular-nums}

.chapo{margin-top:22px;font-size:1.05rem;color:rgba(13,15,20,.7);max-width:56ch}

footer{border-top:1px solid var(--trait);padding:30px clamp(18px,5vw,56px) 40px;font-size:.8rem;color:rgba(13,15,20,.5)}
footer .liens-bas{display:flex;flex-wrap:wrap;gap:18px;margin-top:12px}
footer a{text-decoration:none}
footer a:hover{color:var(--ink)}

/* Par défaut — grand écran — le mois s'écrit en toutes lettres.
   ⚠️ Ces deux lignes doivent rester AVANT la requête média : une requête
      média n'ajoute AUCUN poids au sélecteur, c'est l'ordre d'écriture
      qui tranche. Placées après, elles écrasaient la version téléphone. */
table.ventes .mois-court{display:none}
table.ventes .mois-long{display:inline}

@media (max-width:560px){
  .duel{grid-template-columns:1fr}
  .evo .col{height:96px}
  table{font-size:.88rem}
  /* La colonne secondaire se sacrifie quand la place manque — sauf la
     DATE d'une vente. Cette règle avait été écrite à l'époque où le
     tableau des ventes avait cinq colonnes (il portait encore l'adresse).
     Il n'en a plus que quatre, et sans la date il ne reste qu'une surface
     et un prix suspendus dans le vide : « 32 m², 270 000 € » — quand ?
     On la garde donc, en abrégeant le mois pour tenir la largeur. */
  td.d,th.d{display:none}
  table.ventes td.d,table.ventes th.d{display:table-cell}
  table.ventes td.d{white-space:nowrap}
  table.ventes .mois-long{display:none}
  table.ventes .mois-court{display:inline}
}

/* ── Les repères : stations, gares, parcs ──
   Une liste en colonnes, pas des phrases : on cherche un nom du coin de
   l'œil, on ne lit pas un paragraphe. */
h3{
  font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.05rem;
  margin:30px 0 12px;
}
ul.reperes{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1px;background:var(--trait);border:1px solid var(--trait)}
ul.reperes li{
  background:var(--creme);display:flex;align-items:center;gap:8px;
  padding:11px 14px;font-size:.92rem;min-height:46px;
}
ul.reperes b{font-weight:500;flex:1}
ul.reperes i{
  font-style:normal;flex:none;
  font-size:.74rem;font-weight:700;letter-spacing:.02em;
  min-width:24px;height:24px;padding:0 6px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--ink);color:#fff;
}
ul.reperes.verts i{background:none;color:var(--laiton);font-weight:600;letter-spacing:0;font-size:.82rem;border-radius:0;padding:0}
.src{margin-top:14px;font-size:.78rem;color:rgba(13,15,20,.45)}
/* Un signal = une information : le métro en noir, le tram et le RER
   distincts. Sans ça, un T3b annoncé comme une ligne de métro passe
   inaperçu — c'est exactement l'erreur qu'on a failli publier. */
ul.reperes i.tram{background:#5a7a3a}
ul.reperes i.rer{background:var(--laiton);color:var(--ink)}

/* Cibles tactiles : mesurées à 15 et 20 px de haut au pouce, pour un seuil
   tenable de 44. On élargit la zone cliquable sans changer la typographie. */
.marque{display:inline-flex;align-items:center;min-height:44px}
.fil a{display:inline-block;padding:6px 0}
footer .liens-bas a{display:inline-flex;align-items:center;min-height:44px}

/* ══ Les guides ══ */
main.article{max-width:760px}
main.article h1{max-width:18ch}
main.article p{margin-bottom:16px;font-size:1.02rem;color:rgba(13,15,20,.82)}
main.article .chapo{font-size:1.14rem;line-height:1.55;color:rgba(13,15,20,.68);margin:20px 0 0;max-width:52ch}
main.article section p:last-child{margin-bottom:0}
main.article .dit{
  border-left:2px solid var(--laiton);padding:4px 0 4px 18px;
  color:rgba(13,15,20,.78);
}
ul.puces{list-style:none;margin:0 0 16px;padding:0}
ul.puces li{position:relative;padding-left:20px;margin-bottom:10px;font-size:1.02rem;color:rgba(13,15,20,.82)}
ul.puces li::before{content:"";position:absolute;left:0;top:.72em;width:9px;height:1px;background:var(--laiton)}

.guides{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1px;background:var(--trait);margin-top:40px;border:1px solid var(--trait)}
.carte-guide{
  background:var(--creme);padding:26px 24px 24px;text-decoration:none;
  display:flex;flex-direction:column;gap:10px;
  transition:background .15s ease;
}
.carte-guide:hover{background:#fff}
.carte-guide b{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.28rem;line-height:1.22}
.carte-guide p{font-size:.93rem;color:rgba(13,15,20,.66);line-height:1.55;flex:1;margin:0}
.carte-guide i{
  font-style:normal;font-size:.68rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--laiton);
}

/* ══ Occuper l'écran sans étirer le texte ══
   Même raisonnement que sur la page « en savoir plus » : 880 px au milieu
   d'un écran de 1 680, ce sont les deux tiers de l'écran vides. Mais une
   ligne de 1 600 px ne se lit pas : l'œil perd le début de la ligne
   suivante. On élargit donc le CONTENEUR, et on garde le TEXTE à sa
   largeur de lecture. Ce sont les tableaux, les grilles et les graphiques
   qui prennent la place gagnée — et ils en avaient besoin. */
main, main.article{max-width:1080px}
main p, main h1, main h2, main h3, main .chapo, main .intro,
main .dit, main .src, main ul.puces li{max-width:72ch}
main .phare p{max-width:60ch}
/* Les tableaux respiraient mal à 880 px : chaque colonne gagne 25 %. */
main table{width:100%}
@media (max-width:1140px){
  main, main.article{max-width:880px}
}

/* ── L'amorce : le champ d'adresse, en haut de page ───────────────────────
   Ces pages ne donnent plus le prix ; elles doivent donner la suite, et
   tout de suite. C'est un <form method="get"> nu : il marche sans
   JavaScript, et visite.html se charge de reprendre l'adresse. */
.amorce{margin:22px 0 4px;padding:22px 24px 20px;border:1px solid var(--trait);border-radius:3px;background:#fff}
.amorce label{display:block;font-size:.7rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--laiton)}
.am-ligne{display:flex;gap:10px;margin-top:12px}
.am-ligne input{
  flex:1;min-width:0;min-height:50px;padding:0 15px;
  font:inherit;font-size:1rem;color:var(--ink);
  border:1px solid var(--trait);border-radius:3px;background:var(--creme);
}
.am-ligne input::placeholder{color:rgba(13,15,20,.38)}
.am-ligne input:focus{outline:none;border-color:var(--laiton);background:#fff}
.am-ligne .cta{flex:none;min-height:50px}
.am-note{margin-top:11px;font-size:.78rem;color:rgba(13,15,20,.5)}
@media (max-width:560px){
  .am-ligne{flex-direction:column}       /* à 360 px, les deux côte à côte écrasent le champ */
  .am-ligne .cta{width:100%}
}
/* Les deux bouts de la réglette sont nommés : sans légende, deux nombres
   posés côte à côte ne disent pas lequel est quoi. */
.ecart-leg{display:flex;justify-content:space-between;margin-top:5px;font-size:.72rem;letter-spacing:.04em;color:rgba(13,15,20,.45)}

/* ── Téléphone : la page des secteurs faisait 13,8 écrans ────────────────
   Deux causes, mesurées sur un écran de 375 px :
     - les liens passaient à UNE colonne (minmax(210px) ne tient pas) :
       1 824 px rien que pour les 20 arrondissements, soit 2,2 écrans
       avant d'arriver au premier quartier ;
     - les 20 blocs de quartiers s'empilaient tous ouverts.
   On passe à deux colonnes, on resserre, et les blocs se replient. */
.pliable > summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
}
.pliable > summary::-webkit-details-marker{display:none}
.pliable > summary h2{margin:0}
/* Le chevron : il dit que ça s'ouvre. Il tourne quand c'est ouvert. */
.pliable > summary::after{
  content:'';flex:none;width:9px;height:9px;margin-right:2px;
  border-right:1.5px solid var(--laiton);border-bottom:1.5px solid var(--laiton);
  transform:rotate(45deg);transition:transform .2s ease;
}
.pliable[open] > summary::after{transform:rotate(-135deg)}
@media (min-width:900px){
  /* Sur grand écran la page n'a jamais été trop longue : rien ne se replie,
     et le chevron n'aurait rien à annoncer. */
  .pliable > summary{cursor:default}
  .pliable > summary::after{display:none}
}
@media (max-width:560px){
  .gros-liens{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gros-liens a{padding:11px 12px;gap:2px}
  .gros-liens b{font-size:.94rem;line-height:1.22}
  .gros-liens i{font-size:.76rem}
}

/* Le titre qui sépare les arrondissements des quartiers. C'est lui que
   vise le lien « Et les 78 quartiers » de la page d'accueil : sans ancre,
   on retombait sur les 20 arrondissements qu'on venait de quitter.
   scroll-margin-top : l'en-tête du site est fixe, sans cette marge
   l'ancre atterrit DERRIÈRE la barre. */
.titre-quartiers{margin-top:58px;scroll-margin-top:76px}
.chapo-quartiers{margin-top:10px;color:rgba(13,15,20,.6);font-size:.97rem}
@media (min-width:900px){
  /* Sur grand écran rien ne se replie : l'invitation à toucher n'a pas
     lieu d'être. */
  .chapo-quartiers{display:none}
}

/* ⚠️ Le titre d'un bloc repliable est dans un <summary>, et on lui avait
   retiré sa marge (margin:0) pour pouvoir aligner le chevron à côté.
   Résultat mesuré : ZÉRO pixel entre le bas du titre et le haut des
   cases — la jambe du « Q » de « quartiers » touchait la première case.
   On rend l'espace, à la valeur du site : les titres non repliables de
   la même page ont 16 px sous eux. */
.pliable > nav{margin-top:16px}
/* Et de l'air sous un bloc ouvert, pour qu'il ne colle pas au titre
   suivant. */
.pliable[open]{padding-bottom:18px}
