/*
Theme Name: OUIKOM
Theme URI: https://ouikom.fr
Author: OUIKOM Immobilier
Description: Thème bloc sur mesure de l'agence OUIKOM, issu de la maquette validée. Textes, images et boutons se modifient dans l'éditeur de blocs.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ouikom
*/

/* =========================================================
   OUIKOM — maquette de l'accueil
   Registre : Revolut (sans-serif, blanc pur, bandes pleine largeur,
   rayons 12 px / 22 px, boutons pilule, titres de section centrés)
   Couleurs de marque validées par le client : orange + bleu marine.
   ========================================================= */

:root {
  --blanc: #FFFFFF;
  --encre: #1F1F1F;
  --gris: #717173;
  --marine: #10265A;
  --orange: #E18A24;
  --filet: rgba(31, 31, 31, .12);
  --verre: rgba(255, 255, 255, .1);

  --r-carte: 12px;
  --r-media: 22px;

  --titres: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largeur: 1000px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --haut-bandeau: 40px;
  --haut-entete: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font: 400 16px/1.5 var(--texte);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--titres);
  font-weight: 500;
  hyphens: none;
  text-wrap: balance;
}

.enveloppe { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.enveloppe--etroite { max-width: calc(820px + 2 * var(--gouttiere)); }
.centre { text-align: center; margin-left: auto; margin-right: auto; }

.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--serree { padding-top: 0; }
.section--blanche { background: var(--blanc); }
.section--marine { background: var(--marine); color: var(--blanc); }

.titre-section {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -.012em;
}
.chapeau {
  max-width: 600px;
  margin-top: 20px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
  color: var(--gris);
}
.section--marine .chapeau { color: rgba(255, 255, 255, .72); }
.chapeau + p:has(.pilule) { margin-top: 32px; }

/* ---------- Boutons pilule ---------- */
.pilule {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  border-radius: 9999px; border: 0;
  font: 500 16px/1 var(--texte); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.pilule:hover { transform: translateY(-2px); }
.pilule--orange { background: var(--orange); color: var(--marine); }
.pilule--orange:hover { box-shadow: 0 12px 30px rgba(225, 138, 36, .38); }
.pilule--blanche { background: var(--blanc); color: var(--encre); }
.pilule--encre { background: var(--encre); color: var(--blanc); }
.pilule--contour { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.pilule--contour:hover { background: var(--encre); color: var(--blanc); }
.pilule--verre {
  background: rgba(255, 255, 255, .16); color: var(--blanc);
  border: 1px solid rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  height: 42px; font-size: 15px;
}

/* ---------- Bandeau ---------- */
.bandeau {
  height: var(--haut-bandeau);
  display: flex; align-items: center;
  background: var(--marine); color: var(--blanc);
  font-size: 13px;
}
.bandeau p { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bandeau a { margin-left: 6px; font-weight: 500; text-underline-offset: 3px; }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; left: 0; right: 0;
  top: var(--decalage, var(--haut-bandeau));
  z-index: 50;
  color: var(--blanc);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.entete__ligne { height: var(--haut-entete); display: flex; align-items: center; gap: 40px; }
.entete__logo img { height: 38px; width: auto; }
.entete__nav { display: flex; gap: 28px; }
.entete__nav a, .entete__tel { font-size: 15px; font-weight: 500; text-decoration: none; opacity: .92; }
.entete__nav a:hover, .entete__tel:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.entete__actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.entete__actions .pilule { height: 42px; padding: 0 20px; font-size: 15px; }
.entete.defile { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 0 var(--filet); }
.entete.defile .pilule--blanche { background: var(--orange); color: var(--marine); }

.entete__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); cursor: pointer; position: relative; }
.entete.defile .entete__burger { background: rgba(31, 31, 31, .06); }
.entete__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.entete__burger span:first-child { top: 17px; }
.entete__burger span:last-child { top: 23px; }
.entete.menu-ouvert .entete__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.entete.menu-ouvert .entete__burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu-mobile {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 8px var(--gouttiere) 24px;
  background: var(--blanc); color: var(--encre);
}
.menu-mobile a:not(.pilule) { padding: 12px 0; font: 500 24px/1.2 var(--titres); text-decoration: none; border-bottom: 1px solid var(--filet); }
.menu-mobile .pilule { margin-top: 16px; }
.entete.menu-ouvert { background: var(--blanc); color: var(--encre); }
.entete.menu-ouvert .menu-mobile { display: flex; }

/* ---------- Héros ---------- */
.heros {
  position: relative;
  min-height: max(760px, calc(100svh - var(--haut-bandeau)));
  color: var(--blanc);
  overflow: hidden;
  background: var(--marine);
}
.heros__photo { position: absolute; inset: 0; overflow: hidden; }
.heros__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  transform: translateY(var(--py, 0px)) scale(var(--zoom, 1.04));
  animation: heros-zoom 2.4s var(--ease) both;
}
@keyframes heros-zoom { from { scale: 1.1; } to { scale: 1; } }
.heros__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 52, .62) 0%, rgba(10, 22, 52, .28) 42%, rgba(10, 22, 52, .12) 62%, rgba(10, 22, 52, .42) 100%),
    linear-gradient(90deg, rgba(10, 22, 52, .38) 0%, rgba(10, 22, 52, 0) 55%);
}
.heros__contenu { position: relative; z-index: 2; padding-top: calc(var(--haut-entete) + clamp(56px, 9vh, 104px)); }
.heros__titre {
  max-width: var(--largeur);
  font-size: clamp(46px, 6.1vw, 88px);
  line-height: 1;
  letter-spacing: -.024em;
}
.heros__texte { max-width: 320px; margin: 28px 0 32px; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .92); }

.heros__cadre {
  position: absolute; z-index: 3;
  left: calc(50% - 150px); bottom: clamp(40px, 7vh, 72px);
  width: 340px; padding: 24px;
  border-radius: var(--r-media);
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: rgba(16, 38, 90, .28);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 30px 80px rgba(6, 14, 36, .35);
  transform: translateY(var(--cy, 0px));
  animation: monte 1.1s var(--ease) .9s both;
}
.cadre__etiquette { font-size: 13px; color: rgba(255, 255, 255, .78); }
.cadre__barres { margin: 18px 0 22px; display: grid; gap: 14px; }
.cadre__barre { display: grid; grid-template-columns: 1fr auto; row-gap: 7px; font-size: 14px; }
.cadre__barre b { font-weight: 500; }
.cadre__barre i { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .16); position: relative; overflow: hidden; }
.cadre__barre i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: rgba(255, 255, 255, .6); transition: width 1.1s var(--ease); }
.cadre__barre--ouikom i::after { background: var(--orange); }
.cadre__etiquette, .cadre__barre b { transition: opacity .35s; }
.heros__cadre.change .cadre__etiquette, .heros__cadre.change .cadre__barre b { opacity: 0; }
.cadre__label { font-size: 14px; color: rgba(255, 255, 255, .78); }
.cadre__montant { margin: 2px 0 20px; font: 500 56px/1 var(--titres); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* apparition au chargement */
@keyframes monte { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.apparait { animation: monte 1s var(--ease) var(--d, 0s) both; }
.mot { display: inline-block; animation: monte 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .15s); }

/* apparition au défilement */
.js .revele { opacity: 0; translate: 0 32px; transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
.js .revele.in { opacity: 1; translate: 0 0; }

/* ---------- Simulateur ---------- */
.simulateur {
  margin-top: 56px;
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--marine); color: var(--blanc);
  border-radius: var(--r-media);
  overflow: hidden;
  text-align: left;
}
.simulateur__saisie { padding: clamp(28px, 4vw, 48px); }
.simulateur__resultat { padding: clamp(28px, 4vw, 48px); background: var(--verre); display: flex; flex-direction: column; justify-content: center; }
.champ { display: block; }
.champ > span:first-child { display: block; font-size: 14px; color: rgba(255, 255, 255, .72); }
.champ__boite { display: flex; align-items: baseline; gap: 10px; padding: 6px 0 10px; border-bottom: 1.5px solid rgba(255, 255, 255, .28); transition: border-color .25s; }
.champ__boite:focus-within { border-color: var(--orange); }
.champ__boite input {
  flex: 0 1 auto; min-width: 2ch; width: auto; field-sizing: content;
  background: transparent; border: 0; outline: 0; padding: 0;
  color: var(--blanc);
  font: 500 clamp(38px, 4.4vw, 56px)/1.1 var(--titres); letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.champ__boite b { font: 500 32px/1 var(--titres); opacity: .6; }
@supports not (field-sizing: content) { .champ__boite input { flex: 1; width: 100%; } }
.curseur {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 6px; margin: 28px 0 10px;
  border-radius: 99px; outline: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--orange) var(--p, 26%), rgba(255, 255, 255, .2) var(--p, 26%));
}
.curseur::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blanc); border: 6px solid var(--orange); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); cursor: grab; }
.curseur::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--blanc); border: 6px solid var(--orange); cursor: grab; }
.curseur:focus-visible { outline: 2px solid var(--blanc); outline-offset: 6px; }
.curseur__echelle { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .5); }
.simulateur__reference { margin-top: 32px; padding: 14px 16px; border-radius: var(--r-carte); background: var(--verre); font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.puces { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; }
.puces span { width: 100%; font-size: 14px; color: rgba(255, 255, 255, .72); margin-bottom: 4px; }
.puces button {
  height: 40px; padding: 0 18px;
  border-radius: 9999px; border: 1.5px solid rgba(255, 255, 255, .32);
  background: transparent; color: var(--blanc);
  font-weight: 500; font-size: 15px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.puces button[aria-pressed="true"] { background: var(--blanc); color: var(--marine); border-color: var(--blanc); }

.barre { margin-bottom: 20px; }
.barre__haut { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.barre__haut b { font: 500 22px/1 var(--titres); color: var(--blanc); letter-spacing: -.015em; }
.barre__piste { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.barre__piste i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: rgba(255, 255, 255, .5); transition: width 1.2s var(--ease); }
.barre--ouikom .barre__piste i { background: var(--orange); }
.js .simulateur:not(.in) .barre__piste i { width: 0; }
.simulateur.est-vivant .barre__piste i { transition: width .45s var(--ease); }
.simulateur__palier { min-height: 1.4em; margin: -4px 0 22px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.simulateur__economie { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
.simulateur__economie span { font-size: 15px; color: rgba(255, 255, 255, .82); }
.simulateur__economie strong { font: 500 clamp(38px, 4vw, 52px)/1 var(--titres); letter-spacing: -.025em; color: var(--orange); text-align: right; font-variant-numeric: tabular-nums; }
.simulateur__note { margin-top: 18px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .5); }

/* ---------- Repères ---------- */
.reperes__titre { color: var(--gris); }
.reperes { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.reperes li { text-align: center; font-size: 15px; line-height: 1.4; }
.reperes svg { display: block; width: 40px; height: 40px; margin: 0 auto 16px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Onglets (bande marine) ---------- */
.onglets { position: relative; max-width: calc(1120px + 2 * var(--gouttiere)); margin: 56px auto 0; padding: 0 var(--gouttiere); }
.onglets__scene { position: relative; aspect-ratio: 16 / 8.6; border-radius: var(--r-media); overflow: hidden; background: #0B1B42; }
.onglet { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.onglet.est-actif { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.onglet img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; transition: scale 7s linear; }
.onglet.est-actif img { scale: 1; }
.onglet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 52, 0) 45%, rgba(10, 22, 52, .55) 100%); }
.onglet__carte {
  position: absolute; z-index: 2; left: 28px; bottom: 28px;
  max-width: 380px; padding: 26px;
  background: var(--blanc); color: var(--encre);
  border-radius: var(--r-carte);
  opacity: 0; translate: 0 18px;
  transition: opacity .7s var(--ease) .25s, translate .7s var(--ease) .25s;
}
.onglet.est-actif .onglet__carte { opacity: 1; translate: 0 0; }
.onglet__carte h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.onglet__carte p { margin: 10px 0 16px; font-size: 15px; color: var(--gris); }
.onglet__carte a { font-weight: 500; font-size: 15px; color: var(--marine); text-decoration: none; }
.onglet__carte a:hover { text-decoration: underline; text-underline-offset: 4px; }
.onglets__pilules {
  position: absolute; z-index: 3; right: calc(var(--gouttiere) + 28px); bottom: 28px;
  display: flex; gap: 8px; padding: 6px;
  border-radius: 9999px;
  background: rgba(10, 22, 52, .4);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.onglets__pilules button {
  position: relative; overflow: hidden;
  height: 40px; padding: 0 20px;
  border-radius: 9999px; border: 1.5px solid rgba(255, 255, 255, .6);
  background: transparent; color: var(--blanc);
  font-weight: 500; font-size: 15px; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.onglets__pilules button[aria-selected="true"] { background: var(--blanc); color: var(--encre); border-color: var(--blanc); }

/* ---------- Conseiller local ---------- */
.secteur { position: relative; max-width: calc(1120px + 2 * var(--gouttiere)); margin: 56px auto 0; padding: 0 var(--gouttiere); }
.secteur__scene { position: relative; aspect-ratio: 16 / 8.6; border-radius: var(--r-media); overflow: hidden; background: #DDE3EA; }
.secteur__scene > img { width: 100%; height: 100%; object-fit: cover; }
.secteur__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 52, 0) 40%, rgba(10, 22, 52, .35) 100%); pointer-events: none; }
.secteur__repere {
  position: absolute; z-index: 2; left: 34%; top: 58%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px var(--blanc), 0 8px 20px rgba(6, 14, 36, .35);
  transition: left 1.1s var(--ease), top 1.1s var(--ease);
}
.secteur__repere::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--blanc); animation: onde 2s var(--ease) infinite; }
@keyframes onde { from { scale: 1; opacity: .9; } to { scale: 3.2; opacity: 0; } }
.secteur__carte {
  position: absolute; z-index: 3; right: 28px; top: 50%; translate: 0 -50%;
  width: min(380px, calc(100% - 56px)); padding: 26px;
  background: var(--blanc); color: var(--encre);
  border-radius: var(--r-carte);
  box-shadow: 0 30px 80px rgba(6, 14, 36, .25);
}
.secteur__etiquette { font-size: 13px; color: var(--gris); }
.secteur__champ { display: flex; align-items: center; min-height: 44px; margin-top: 6px; padding-bottom: 8px; border-bottom: 1.5px solid var(--filet); font: 500 24px/1.2 var(--titres); letter-spacing: -.015em; white-space: nowrap; overflow: hidden; }
.secteur__champ i { flex: 0 0 2px; height: 26px; margin-left: 3px; background: var(--orange); animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.secteur__resultat { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.secteur__resultat li { display: flex; align-items: center; gap: 12px; font-size: 15px; opacity: 0; translate: 0 8px; transition: opacity .45s var(--ease), translate .45s var(--ease); }
.secteur__carte.trouve li { opacity: 1; translate: 0 0; }
.secteur__carte.trouve li:nth-child(2) { transition-delay: .12s; }
.secteur__carte.trouve li:nth-child(3) { transition-delay: .24s; }
.secteur__resultat svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--marine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.secteur__resultat li:first-child svg { stroke: var(--orange); }
.atouts { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.atouts li { padding-top: 24px; border-top: 1px solid var(--filet); }
.atouts h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.atouts p { margin-top: 10px; color: var(--gris); }

/* ---------- Outils digitaux ---------- */
.numerique { position: relative; background: var(--marine); color: var(--blanc); }
.numerique__collant {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 48px);
  padding-top: var(--haut-entete);
}
.numerique__tete .chapeau { color: rgba(255, 255, 255, .72); }
.numerique__piste {
  --marge-piste: max(var(--gouttiere), calc((100vw - var(--largeur)) / 2));
  display: flex; gap: 16px; padding: 0 var(--marge-piste);
  transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform;
}
.outil { flex: 0 0 clamp(300px, 31vw, 450px); border-radius: var(--r-carte); overflow: hidden; background: var(--verre); }
.outil > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.outil__texte { padding: 20px 22px 24px; }
.outil h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.outil p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.numerique__progression { width: min(var(--largeur), calc(100% - 2 * var(--gouttiere))); height: 2px; margin: 0 auto; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.numerique__progression i { display: block; height: 100%; width: var(--p, 0%); background: var(--orange); }

.avant-apres { position: relative; aspect-ratio: 4 / 3; overflow: hidden; --pos: 50%; }
.avant-apres img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avant-apres__avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.avant-apres__ligne { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--blanc); pointer-events: none; }
.avant-apres__ligne::after { content: "↔"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 34px; height: 34px; border-radius: 50%; background: var(--blanc); color: var(--marine); font: 600 15px/34px var(--texte); text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.avant-apres__label { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 9999px; background: rgba(10, 22, 52, .55); font-size: 12px; font-weight: 500; pointer-events: none; }
.avant-apres__label--apres { left: auto; right: 12px; background: var(--orange); color: var(--marine); }
.avant-apres input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* ---------- Photo qui s'ouvre ---------- */
.esprit { padding-bottom: 0; }
.esprit__photo { margin-top: 56px; height: min(56vh, 560px); overflow: hidden; }
.esprit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 96px); align-items: start; }
.etapes__intro { position: sticky; top: calc(var(--haut-entete) + 32px); }
.etapes__intro .chapeau + p { margin-top: 28px; }
.etapes__media { position: relative; margin-top: 40px; aspect-ratio: 4 / 3.3; border-radius: var(--r-media); overflow: hidden; background: #EDEDED; }
.etapes__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity .8s var(--ease), scale 1.6s var(--ease); }
.etapes__media img.est-actif { opacity: 1; scale: 1; }
.etapes__liste { list-style: none; margin: 0; padding: 18vh 0 22vh; }
.etape { min-height: 48vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--filet); opacity: .28; transition: opacity .5s var(--ease); }
.etape.est-actif { opacity: 1; }
.etape b { font: 500 15px/1 var(--titres); color: var(--gris); }
.etape h3 { margin: 18px 0 14px; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.015em; }
.etape p { max-width: 420px; font-size: 17px; color: var(--gris); }

/* ---------- Honoraires ---------- */
.tarifs { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarif {
  display: flex; flex-direction: column;
  min-height: 300px; padding: 28px;
  border-radius: var(--r-carte);
  background: var(--verre);
  color: var(--blanc); text-decoration: none;
  transition: transform .4s var(--ease), background-color .4s;
}
.tarif:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .14); }
.tarif h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.tarif__prix { margin: 14px 0 16px; font: 500 clamp(38px, 3.6vw, 50px)/1 var(--titres); letter-spacing: -.025em; color: var(--orange); }
.tarif p:not(.tarif__prix) { font-size: 15px; color: rgba(255, 255, 255, .72); }
.tarif span { margin-top: auto; align-self: flex-end; font-size: 22px; transition: translate .3s var(--ease); }
.tarif:hover span { translate: 6px 0; }
.tarifs__note { margin-top: 28px; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- Questions ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font: 500 clamp(18px, 1.6vw, 21px)/1.3 var(--titres); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--filet); position: relative; transition: background-color .3s, border-color .3s, rotate .35s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; margin: -.75px 0 0 -6.5px; background: var(--encre); transition: background-color .3s; }
.faq summary i::after { rotate: 90deg; }
.faq details[open] summary i { rotate: 45deg; background: var(--encre); border-color: var(--encre); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--blanc); }
.faq details p { max-width: 680px; padding: 0 0 26px; color: var(--gris); animation: monte .5s var(--ease); }

/* ---------- Appel final ---------- */
.appel { padding-top: 0; }
.appel__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; margin-top: 36px; }
.lien-tel { color: var(--gris); font-size: 15px; text-underline-offset: 4px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--marine); color: rgba(255, 255, 255, .72); padding: 72px 0 32px; font-size: 15px; }
.pied__grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.pied__marque img { height: 42px; width: auto; }
.pied__marque p { max-width: 260px; margin-top: 18px; }
.pied h3 { margin-bottom: 14px; font-size: 15px; color: var(--blanc); }
.pied__grille > div > a { display: block; padding: 4px 0; text-decoration: none; }
.pied__grille > div > a:hover { color: var(--blanc); }
.pied__grille > div > p { margin-bottom: 8px; }
.pied__bas { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.pied__bas span { margin-right: auto; }
.pied__bas a { text-decoration: none; }

/* =========================================================
   Pages intérieures
   ========================================================= */

/* menu : page courante */
.entete__nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-mobile a[aria-current="page"] { color: var(--orange); }

/* héros des pages intérieures (même dispositif, plus court, sans carte) */
.heros--page { min-height: max(560px, calc(78svh - var(--haut-bandeau))); }
.heros--page .heros__contenu { padding-bottom: 72px; }
.heros--page .heros__texte { max-width: 440px; }
.heros--court { min-height: max(500px, calc(62svh - var(--haut-bandeau))); }
.heros--page .heros__photo::after {
  background:
    linear-gradient(180deg, rgba(10, 22, 52, .6) 0%, rgba(10, 22, 52, .25) 45%, rgba(10, 22, 52, .35) 100%),
    linear-gradient(90deg, rgba(10, 22, 52, .62) 0%, rgba(10, 22, 52, .3) 38%, rgba(10, 22, 52, 0) 62%);
}
.tarifs--quatre { grid-template-columns: repeat(4, 1fr); }
.tarif--detail h3 + p:not(.tarif__prix) { margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .72); }

/* citation : les mots s'allument au défilement */
.citation { max-width: 940px; margin: 0 auto; text-align: center; font: 500 clamp(28px, 3.4vw, 46px)/1.2 var(--titres); letter-spacing: -.02em; text-wrap: balance; }
.js .citation .mot-lu { opacity: .16; transition: opacity .35s; }
.js .citation .mot-lu.on { opacity: 1; }
.citation__source { margin-top: 28px; text-align: center; font-size: 15px; color: var(--gris); }

/* bloc texte + photo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.duo--inverse .duo__media { order: -1; }
.duo__media { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 4.4; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.1; transition: scale 1.6s var(--ease); }
.duo__media.in img { scale: 1; }
.duo .chapeau { margin-left: 0; }
.duo .chapeau + p:has(.pilule), .duo .coches + p:has(.pilule) { margin-top: 32px; }

/* liste à coches */
.coches { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.coches li { display: flex; gap: 12px; align-items: flex-start; }
.coches li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2310265A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--marine .coches li { color: rgba(255, 255, 255, .86); }

/* cartes d'honoraires détaillées */
.tarif--detail { min-height: 0; cursor: default; }
.tarif--detail:hover { transform: none; background: var(--verre); }
.tarif--detail .coches { margin-top: 20px; gap: 10px; }
.tarif--detail .coches li { font-size: 14px; line-height: 1.4; }
.tarif--detail .coches li::before { flex-basis: 18px; height: 18px; background-size: 10px; }
.tarifs__appel { margin-top: 56px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-media); background: var(--verre); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.tarifs__appel h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.tarifs__appel p { margin-top: 8px; max-width: 560px; color: rgba(255, 255, 255, .72); }

/* ---------- Biens à vendre ---------- */
.avertissement { max-width: 760px; margin: 28px auto 0; padding: 12px 18px; border-radius: var(--r-carte); border: 1px dashed rgba(225, 138, 36, .7); font-size: 14px; color: var(--gris); text-align: center; }
.filtres { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 40px; }
.filtres__groupe { display: flex; gap: 4px; padding: 4px; border-radius: 9999px; border: 1px solid var(--filet); }
.filtres__groupe button { height: 40px; padding: 0 18px; border: 0; border-radius: 9999px; background: transparent; font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .25s, color .25s; }
.filtres__groupe button[aria-pressed="true"] { background: var(--encre); color: var(--blanc); }
.filtres select {
  height: 50px; padding: 0 44px 0 20px; border-radius: 9999px; border: 1px solid var(--filet);
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%231F1F1F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 18px center / 12px no-repeat;
  -webkit-appearance: none; appearance: none; font: 500 15px var(--texte); color: var(--encre); cursor: pointer;
}
.biens__compte { margin-top: 24px; text-align: center; font-size: 14px; color: var(--gris); }
.biens { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bien { border-radius: var(--r-carte); overflow: hidden; border: 1px solid var(--filet); background: var(--blanc); transition: transform .4s var(--ease), box-shadow .4s; }
.bien:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(16, 38, 90, .12); }
.bien[hidden] { display: none; }
.bien__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.bien__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.bien:hover .bien__photo img { scale: 1.05; }
.bien__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 9999px; background: rgba(16, 38, 90, .82); color: var(--blanc); font-size: 12px; font-weight: 500; }
.bien__corps { padding: 20px 22px 22px; }
.bien__prix { font: 500 26px/1 var(--titres); letter-spacing: -.02em; }
.bien h3 { margin-top: 10px; font-size: 18px; line-height: 1.25; }
.bien__lieu { margin-top: 4px; font-size: 14px; color: var(--gris); }
.bien__infos { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--filet); font-size: 14px; color: var(--gris); }
.bien__honoraires { margin-top: 10px; font-size: 12px; color: var(--gris); }
.biens__vide { margin-top: 32px; text-align: center; color: var(--gris); }
.cartes-appel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.carte-appel { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-carte); background: var(--verre); }
.carte-appel h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.carte-appel p { color: rgba(255, 255, 255, .72); margin-bottom: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.coordonnees { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.coordonnees li { display: flex; gap: 16px; align-items: flex-start; }
.coordonnees svg { flex: 0 0 40px; width: 40px; height: 40px; padding: 9px; border-radius: 50%; border: 1px solid var(--filet); fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.coordonnees b { display: block; font: 500 16px var(--titres); }
.coordonnees span, .coordonnees a { color: var(--gris); text-decoration: none; }
.coordonnees a:hover { color: var(--encre); text-decoration: underline; }
.formulaire { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-media); background: var(--marine); color: var(--blanc); scroll-margin-top: calc(var(--haut-entete) + 24px); }
.formulaire h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.012em; }
.formulaire > p { margin-top: 10px; color: rgba(255, 255, 255, .72); }
.formulaire fieldset { border: 0; margin: 28px 0 0; padding: 0; }
.formulaire legend { margin-bottom: 10px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix label { height: 42px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 9999px; border: 1.5px solid rgba(255, 255, 255, .32); font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.choix input:checked + label { background: var(--blanc); color: var(--marine); border-color: var(--blanc); }
.choix input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 3px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.formulaire__champ { display: block; }
.formulaire__champ--large { grid-column: 1 / -1; }
.formulaire__champ[hidden] { display: none; }
.formulaire__astuce { margin-top: 14px; padding: 12px 16px; border-radius: var(--r-carte); background: var(--verre); font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .82); animation: monte .4s var(--ease); }
.formulaire__astuce a { color: var(--orange); font-weight: 500; text-decoration: none; }
.formulaire__astuce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.formulaire__astuce[hidden] { display: none; }
.formulaire__champ span { display: block; margin-bottom: 8px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.formulaire__champ small { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.formulaire input[type="text"], .formulaire input[type="email"], .formulaire input[type="tel"], .formulaire textarea {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: var(--r-carte); border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06);
  color: var(--blanc); font: 400 16px var(--texte); outline: 0; transition: border-color .25s, background-color .25s;
}
.formulaire textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.formulaire input:focus, .formulaire textarea:focus { border-color: var(--orange); background: rgba(255, 255, 255, .1); }
.formulaire ::placeholder { color: rgba(255, 255, 255, .38); }
.consentement { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .7); cursor: pointer; }
.consentement input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--orange); }
.formulaire__envoi { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.formulaire__envoi span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.formulaire__merci { margin-top: 20px; padding: 14px 18px; border-radius: var(--r-carte); background: var(--verre); }
.formulaire__merci[hidden] { display: none; }

@media (max-width: 1080px) {
  .biens { grid-template-columns: repeat(2, 1fr); }
  .tarifs--quatre { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .duo--inverse .duo__media { order: 0; }
  .duo__media { aspect-ratio: 4 / 3; }
  .contact { grid-template-columns: 1fr; }
  .cartes-appel { grid-template-columns: 1fr; }
  .tarifs__appel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .biens { grid-template-columns: 1fr; }
  .champs { grid-template-columns: 1fr; }
  .filtres__groupe { width: 100%; justify-content: center; }
  .filtres select { width: 100%; }
}

/* ---------- Mosaïque (page Achat : un conseiller à vos côtés) ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; margin-top: 56px; }
.bento__photo { grid-row: 1 / span 3; position: relative; min-height: 520px; border-radius: var(--r-media); overflow: hidden; }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.08; transition: scale 1.6s var(--ease); }
.bento__photo.in img { scale: 1; }
.bento__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 52, 0) 45%, rgba(10, 22, 52, .7) 100%); }
.bento__legende { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; color: var(--blanc); font: 500 clamp(22px, 2vw, 28px)/1.2 var(--titres); letter-spacing: -.01em; }
.bento__tuile { padding: 24px; border-radius: var(--r-carte); border: 1px solid var(--filet); background: var(--blanc); transition: transform .4s var(--ease), background-color .4s, color .4s, border-color .4s; }
.bento__tuile:hover { transform: translateY(-4px); background: var(--marine); border-color: var(--marine); color: var(--blanc); }
.bento__tuile svg { display: block; width: 34px; height: 34px; margin-bottom: 18px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.bento__tuile:hover svg { stroke: var(--orange); }
.bento__tuile h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.bento__tuile p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--gris); transition: color .4s; }
.bento__tuile:hover p { color: rgba(255, 255, 255, .72); }

/* ---------- Frise verticale (page Achat : étapes) ---------- */
.frise { position: relative; max-width: 1000px; margin: 72px auto 0; }
.frise__ligne { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--filet); border-radius: 2px; overflow: hidden; }
.frise__ligne i { display: block; width: 100%; height: var(--p, 0%); background: var(--orange); }
.frise__liste { list-style: none; margin: 0; padding: 0; }
.frise__etape { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 104px; align-items: center; padding: 32px 0; }
.frise__etape:nth-child(even) .frise__photo { order: 2; }
.frise__point { position: absolute; left: 50%; top: 50%; z-index: 2; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--blanc); border: 2px solid rgba(31, 31, 31, .2); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.frise__photo { aspect-ratio: 4 / 3; border-radius: var(--r-media); overflow: hidden; clip-path: inset(22% 0 0 0 round var(--r-media)); transition: clip-path 1.1s var(--ease); }
.frise__photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; transition: scale 1.5s var(--ease); }
.frise__texte { opacity: .22; translate: 0 18px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.frise__texte b { font: 500 15px/1 var(--titres); color: var(--gris); }
.frise__texte h3 { margin: 14px 0 10px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -.015em; }
.frise__texte p { max-width: 400px; font-size: 17px; color: var(--gris); }
.frise__etape.est-active .frise__point { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px rgba(225, 138, 36, .18); }
.frise__etape.est-active .frise__photo { clip-path: inset(0 0 0 0 round var(--r-media)); }
.frise__etape.est-active .frise__photo img { scale: 1; }
.frise__etape.est-active .frise__texte { opacity: 1; translate: 0 0; }

/* ---------- Formulaire d'alerte (page Achat) ---------- */
.formulaire--large { max-width: 960px; margin: 56px auto 0; }
.alerte__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.alerte__grille .champs { grid-column: 1 / -1; }
.alerte__large { grid-column: 1 / -1; }
.alerte__intro { margin-top: 0 !important; }
.champ-unite { position: relative; }
.champ-unite input { padding-right: 44px !important; }
.champ-unite em { position: absolute; right: 16px; bottom: 15px; font-style: normal; color: rgba(255, 255, 255, .5); pointer-events: none; }

/* ---------- Panneau latéral (formulaire d'alerte) ---------- */
.tiroir { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .6s; }
.tiroir.est-ouvert, .tiroir:target { visibility: visible; transition: visibility 0s; }
.tiroir__fond { position: absolute; inset: 0; background: rgba(10, 22, 52, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease); cursor: pointer; }
.tiroir.est-ouvert .tiroir__fond, .tiroir:target .tiroir__fond { opacity: 1; }
.tiroir__panneau {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(780px, 100%);
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 52px);
  background: var(--marine); color: var(--blanc);
  box-shadow: -30px 0 80px rgba(6, 14, 36, .35);
  translate: 100% 0; transition: translate .6s var(--ease);
}
.tiroir.est-ouvert .tiroir__panneau, .tiroir:target .tiroir__panneau { translate: 0 0; }
.tiroir__fermer {
  position: sticky; top: 0; float: right; z-index: 2;
  width: 44px; height: 44px; margin: -8px -8px 0 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12); color: var(--blanc); text-decoration: none; font-size: 26px; line-height: 1;
  transition: background-color .25s, rotate .35s var(--ease);
}
.tiroir__fermer:hover { background: rgba(255, 255, 255, .22); rotate: 90deg; }
.tiroir__titre { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.015em; }
.tiroir__texte { margin-top: 12px; max-width: 520px; color: rgba(255, 255, 255, .72); }
.formulaire--tiroir { padding: 0; margin-top: 8px; background: none; border-radius: 0; }
.formulaire--tiroir .alerte__intro { margin-top: 28px !important; }
body.tiroir-ouvert { overflow: hidden; }
@media (max-width: 700px) {
  .tiroir .alerte__grille { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tiroir__panneau, .tiroir__fond { transition: none; }
}

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__photo { grid-row: auto; grid-column: 1 / -1; min-height: 340px; }
  .frise__ligne { left: 9px; }
  .frise__etape { grid-template-columns: 1fr; gap: 18px; padding: 24px 0 24px 44px; }
  .frise__etape:nth-child(even) .frise__photo { order: 0; }
  .frise__point { left: 10px; top: 36px; }
  .alerte__grille { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .frise__photo { clip-path: none; }
  .frise__texte { opacity: 1; translate: 0 0; }
}

/* =========================================================
   Page Vente
   ========================================================= */
.heros__photo--vente img { object-position: center 50%; }

/* ---------- Chiffres clés ---------- */
.chiffres { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.chiffres li { padding: 6px 28px 4px; border-left: 1px solid var(--filet); }
.chiffres li:first-child { padding-left: 0; border-left: 0; }
.chiffres__valeur { display: block; font: 500 clamp(48px, 5.2vw, 74px)/1 var(--titres); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chiffres__valeur small { margin-left: .06em; font-size: .52em; letter-spacing: -.01em; color: var(--orange); }
.chiffres h3 { margin-top: 20px; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.chiffres p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--gris); }

/* ---------- Forfait : arguments + simulateur compact ---------- */
.forfait { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.forfait .chapeau { margin-left: 0; }
.arguments { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--filet); }
.arguments li { display: grid; grid-template-columns: 46px 1fr; gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--filet); }
.arguments svg { grid-row: 1 / span 2; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(225, 138, 36, .16); fill: none; stroke: var(--marine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.arguments h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.arguments p { font-size: 15px; color: var(--gris); }
.simulateur--compact { margin-top: 0; grid-template-columns: 1fr; box-shadow: 0 40px 90px rgba(16, 38, 90, .18); }
.simulateur--compact .simulateur__saisie { padding-bottom: 28px; }
.simulateur--compact .simulateur__reference { margin-top: 22px; }

/* ---------- Volets (services) ---------- */
.volets { display: flex; gap: 12px; height: clamp(460px, 64vh, 580px); margin-top: 56px; }
.volet { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-media); overflow: hidden; background: var(--marine); color: var(--blanc); cursor: pointer; transition: flex-grow .8s var(--ease); }
.volet.est-actif { flex-grow: 5.2; cursor: default; }
.volet > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.14; filter: saturate(.7) brightness(.78); transition: scale 1.4s var(--ease), filter .8s var(--ease); }
.volet.est-actif > img { scale: 1; filter: none; }
.volet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 52, .25) 0%, rgba(10, 22, 52, .05) 30%, rgba(10, 22, 52, .55) 62%, rgba(10, 22, 52, .9) 100%); pointer-events: none; }
.volet__num { position: absolute; z-index: 2; top: 24px; left: 50%; translate: -50% 0; font: 500 14px/1 var(--titres); color: rgba(255, 255, 255, .78); transition: left .8s var(--ease), translate .8s var(--ease); }
.volet.est-actif .volet__num { left: 28px; translate: 0 0; }
.volet__etiquette { position: absolute; z-index: 2; left: 50%; bottom: 28px; translate: -50% 0; writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; font: 500 18px/1 var(--titres); letter-spacing: -.01em; transition: opacity .35s var(--ease); }
.volet.est-actif .volet__etiquette { opacity: 0; }
.volet__texte { position: absolute; z-index: 2; left: 28px; bottom: 28px; width: 420px; opacity: 0; translate: 0 18px; transition: opacity .3s var(--ease), translate .3s var(--ease); pointer-events: none; }
.volet.est-actif .volet__texte { opacity: 1; translate: 0 0; transition-duration: .6s; transition-delay: .35s; pointer-events: auto; }
.volet__texte h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.015em; }
.volet__texte button { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.volet__texte button:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; border-radius: 4px; }
.volet__texte p { margin-top: 10px; color: rgba(255, 255, 255, .84); }
.volet__barre { display: block; height: 3px; margin-top: 22px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; visibility: hidden; }
.volet__barre i { display: block; width: 0; height: 100%; background: var(--orange); }
.volets.est-auto .volet.est-actif .volet__barre { visibility: visible; }
.volets.est-auto .volet.est-actif .volet__barre i { animation: remplir var(--duree, 6s) linear both; }
@keyframes remplir { from { width: 0; } to { width: 100%; } }

/* ---------- Étapes : cartes qui s'empilent ---------- */
.pile { list-style: none; margin: 64px 0 0; padding: 0; }
.pile__carte {
  position: sticky; top: calc(var(--haut-entete) + 24px + var(--i, 0) * 14px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: stretch;
  min-height: min(66vh, 500px); margin-bottom: 28px; padding: clamp(24px, 3.2vw, 40px);
  border-radius: var(--r-media); background: #F2F3F6;
  box-shadow: 0 -14px 40px rgba(16, 38, 90, .07);
  transform-origin: 50% 0; scale: var(--s, 1);
}
.pile__carte:nth-child(even) { background: var(--marine); color: var(--blanc); }
.pile__texte { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.pile__texte b { align-self: flex-start; padding: 7px 13px; border-radius: 9999px; background: var(--marine); color: var(--blanc); font: 500 13px/1 var(--titres); }
.pile__carte:nth-child(even) .pile__texte b { background: var(--orange); color: var(--marine); }
.pile__texte h3 { margin: 22px 0 14px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.04; letter-spacing: -.02em; }
.pile__texte p { max-width: 420px; font-size: 17px; color: var(--gris); }
.pile__carte:nth-child(even) .pile__texte p { color: rgba(255, 255, 255, .74); }
.pile__photo { position: relative; min-height: 300px; border-radius: var(--r-carte); overflow: hidden; }
.pile__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Barème : tableau comparatif ---------- */
.comparatif { width: 100%; margin-top: 56px; border-collapse: separate; border-spacing: 0; text-align: center; }
.comparatif caption { caption-side: bottom; padding-top: 20px; text-align: left; font-size: 13px; color: rgba(255, 255, 255, .55); }
.comparatif th, .comparatif td { padding: 18px 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); transition: background-color .45s var(--ease); }
.comparatif thead th { vertical-align: bottom; padding-top: 22px; font-weight: 400; border-bottom-color: rgba(255, 255, 255, .28); }
.comparatif thead th:first-child { text-align: left; font: 500 15px/1.3 var(--texte); color: rgba(255, 255, 255, .72); }
.comparatif tbody th { text-align: left; font-weight: 400; color: rgba(255, 255, 255, .88); }
.comparatif__votre { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 9999px; background: var(--orange); color: var(--marine); font: 500 12px/1 var(--texte); visibility: hidden; opacity: 0; translate: 0 6px; transition: opacity .4s var(--ease), translate .4s var(--ease), visibility 0s .4s; }
.comparatif__tranche { display: block; font-size: 14px; color: rgba(255, 255, 255, .72); }
.comparatif__prix { display: block; margin-top: 8px; font: 500 clamp(26px, 3vw, 40px)/1 var(--titres); letter-spacing: -.025em; color: var(--orange); white-space: nowrap; }
.comparatif .est-choisie { background: rgba(255, 255, 255, .07); }
.comparatif thead .est-choisie { border-radius: var(--r-carte) var(--r-carte) 0 0; }
.comparatif tbody tr:last-child .est-choisie { border-radius: 0 0 var(--r-carte) var(--r-carte); }
.comparatif .est-choisie .comparatif__votre { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
.comparatif__oui { display: inline-block; width: 24px; height: 24px; vertical-align: middle; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2310265A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.comparatif__non { color: rgba(255, 255, 255, .32); }
.comparatif__plus { display: inline-block; padding: 5px 12px; border-radius: 9999px; background: var(--verre); font-size: 13px; font-weight: 500; white-space: nowrap; }
.js .comparatif tbody tr { opacity: 0; transition: opacity .7s var(--ease) calc(var(--r, 0) * 80ms); }
.js .comparatif.in tbody tr { opacity: 1; }
.js .comparatif .comparatif__oui { scale: .3; transition: scale .6s cubic-bezier(.3, 1.6, .5, 1) calc(var(--r, 0) * 80ms + .15s); }
.js .comparatif.in .comparatif__oui { scale: 1; }

@media (max-width: 900px) {
  .chiffres { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .chiffres li:nth-child(3) { padding-left: 0; border-left: 0; }
  .forfait { grid-template-columns: 1fr; }
  .volets { flex-direction: column; height: 720px; gap: 10px; }
  .volet__num { top: 50%; left: 22px; translate: 0 -50%; transition: top .8s var(--ease), translate .8s var(--ease); }
  .volet.est-actif .volet__num { top: 22px; left: 22px; translate: 0 0; }
  .volet__etiquette { writing-mode: horizontal-tb; rotate: 0deg; left: 58px; bottom: auto; top: 50%; translate: 0 -50%; font-size: 17px; }
  .volet__texte { left: 22px; bottom: 22px; width: calc(100vw - 2 * var(--gouttiere) - 44px); }
  .pile__carte { grid-template-columns: 1fr; gap: 20px; min-height: 0; top: calc(var(--haut-entete) + 16px + var(--i, 0) * 10px); }
  .pile__photo { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
  .pile__texte h3 { margin: 16px 0 10px; }
  .pile__texte p { font-size: 16px; }
}
@media (max-width: 600px) {
  .chiffres { grid-template-columns: 1fr; row-gap: 0; }
  .chiffres li, .chiffres li:nth-child(3) { padding: 26px 0; border-left: 0; border-top: 1px solid var(--filet); }
  .chiffres li:first-child { border-top: 0; padding-top: 0; }
  .comparatif { table-layout: fixed; font-size: 14px; }
  .comparatif thead th:first-child { width: 34%; font-size: 13px; }
  .comparatif th, .comparatif td { padding: 14px 4px; }
  .comparatif tbody th { padding-right: 10px; }
  .comparatif__tranche { font-size: 11px; line-height: 1.3; }
  .comparatif__prix { font-size: 15px; letter-spacing: -.01em; }
  .comparatif__votre { margin-bottom: 8px; padding: 4px 6px; font-size: 10px; line-height: 1.2; }
  .comparatif__plus { padding: 0; background: none; font-size: 11px; line-height: 1.25; white-space: normal; }
  .comparatif__oui { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .comparatif tbody tr { opacity: 1; }
  .js .comparatif .comparatif__oui { scale: 1; }
  .pile__carte { scale: 1; }
}

/* =========================================================
   Page L'agence
   ========================================================= */
.heros__photo--agence img { object-position: 60% 30%; }
.heros__titre--etroit { max-width: 8.6em; }

/* ---------- Mission ---------- */
.manifeste { display: grid; grid-template-columns: 180px 1fr; gap: 24px 56px; align-items: start; }
.manifeste__label { padding-top: 14px; border-top: 2px solid var(--orange); font: 500 15px/1.4 var(--titres); color: var(--gris); }
.manifeste__texte { font: 500 clamp(28px, 3.3vw, 46px)/1.2 var(--titres); letter-spacing: -.02em; text-wrap: pretty; }

/* ---------- Deux approches côte à côte ---------- */
.approches { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.approche { border-radius: var(--r-media); background: var(--verre); overflow: hidden; }
.approche__photo { aspect-ratio: 16 / 9; overflow: hidden; }
.approche__photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale 1.6s var(--ease); }
.approche.in .approche__photo img { scale: 1; }
.approche__corps { padding: clamp(24px, 3vw, 40px); }
.approche__type { display: inline-block; padding: 7px 13px; border-radius: 9999px; background: var(--orange); color: var(--marine); font: 500 13px/1 var(--titres); }
.approche h3 { margin-top: 16px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.015em; }
.approche ol { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: point; }
.approche li { counter-increment: point; display: grid; grid-template-columns: 36px 1fr; gap: 6px 12px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.approche li::before { content: counter(point, decimal-leading-zero); grid-row: 1 / span 2; font: 500 14px/1.45 var(--titres); color: var(--orange); }
.approche li b { font: 500 17px/1.35 var(--titres); color: var(--blanc); }
.approche li span { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .74); }
.js .approche li { opacity: 0; translate: 0 14px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js .approche.in li { opacity: 1; translate: 0 0; }
.js .approche.in li:nth-child(1) { transition-delay: .35s; }
.js .approche.in li:nth-child(2) { transition-delay: .45s; }
.js .approche.in li:nth-child(3) { transition-delay: .55s; }
.js .approche.in li:nth-child(4) { transition-delay: .65s; }
.approches__plus {
  position: absolute; z-index: 2; left: 50%; top: 0;
  width: 56px; height: 56px; margin: calc((100% - 20px) * .28125 - 28px) 0 0 -28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--orange); color: var(--marine);
  font: 500 32px/1 var(--titres); box-shadow: 0 0 0 8px var(--marine);
  animation: plus-pulse 2.6s var(--ease) infinite;
}
@keyframes plus-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }

/* ---------- Secteurs : code postal + carte schématique ---------- */
.secteurs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.secteurs .chapeau { margin-left: 0; }
.cp { margin-top: 32px; }
.cp__boite { display: block; padding: 14px 22px 12px; border-radius: var(--r-carte); border: 1.5px solid var(--filet); cursor: text; transition: border-color .25s, box-shadow .25s; }
.cp__boite:focus-within { border-color: var(--marine); box-shadow: 0 0 0 4px rgba(16, 38, 90, .08); }
.cp__label { display: block; font-size: 13px; color: var(--gris); }
.cp input { display: block; width: 100%; margin-top: 2px; padding: 0; border: 0; outline: 0; background: transparent; font: 500 30px/1.2 var(--titres); letter-spacing: .04em; color: var(--encre); font-variant-numeric: tabular-nums; }
.cp__resultat { margin-top: 12px; padding: 22px 24px; border-radius: var(--r-carte); background: var(--marine); color: var(--blanc); }
.cp__etiquette { font-size: 13px; color: rgba(255, 255, 255, .7); }
.cp__nom { margin-top: 4px; font: 500 26px/1.15 var(--titres); letter-spacing: -.015em; }
.cp__liste { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.cp__liste li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: rgba(255, 255, 255, .86); }
.cp__liste li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.cp__hors { display: none; margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.cp__resultat.est-hors .cp__liste { display: none; }
.cp__resultat.est-hors .cp__hors { display: block; }
.cp__lien { display: inline-block; margin-top: 18px; font-weight: 500; font-size: 15px; color: var(--orange); text-decoration: none; }
.cp__lien:hover { text-decoration: underline; text-underline-offset: 4px; }
.cp__nom { transition: opacity .3s; }

.carte-idf { margin: 0; }
.carte-idf svg { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; overflow: visible; }
.zone { cursor: pointer; transform-box: view-box; transform-origin: 200px 200px; transition: transform .6s var(--ease); }
.zone path, .zone circle { fill: #E9ECF3; stroke: var(--blanc); stroke-width: 4; transition: fill .5s var(--ease); }
.zone:hover path, .zone:hover circle { fill: #D6DCE9; }
.zone text { font: 500 16px var(--titres); fill: var(--marine); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .5s var(--ease); }
.zone.est-active { transform: scale(1.04); }
.zone.est-active path { fill: var(--marine); }
.zone.est-active text { fill: var(--blanc); }
.zone--paris.est-active { transform: scale(1.1); }
.zone--paris.est-active circle { fill: var(--orange); }
.zone--paris.est-active text { fill: var(--marine); }
.carte-idf__legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.carte-idf__legende button { height: 34px; padding: 0 12px; border-radius: 9999px; border: 1px solid var(--filet); background: var(--blanc); font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.carte-idf__legende button:hover { border-color: var(--marine); }
.carte-idf__legende button[aria-pressed="true"] { background: var(--marine); color: var(--blanc); border-color: var(--marine); }

/* ---------- Agents expérimentés : bande pleine largeur ---------- */
.bande { display: grid; grid-template-columns: 1fr 1fr; background: #F2F3F6; }
.bande__texte { padding: clamp(80px, 9vw, 128px) clamp(28px, 5vw, 72px) clamp(80px, 9vw, 128px) max(var(--gouttiere), calc((100vw - var(--largeur)) / 2)); }
.bande .chapeau { margin-left: 0; }
.bande__photo { position: relative; min-height: 560px; overflow: hidden; }
.bande__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.08; transition: scale 1.8s var(--ease); }
.js .bande__photo.revele { opacity: 1; translate: 0 0; transition: none; }
.js .bande__photo.revele img { clip-path: inset(0 0 0 100%); transition: clip-path 1.4s var(--ease), scale 1.8s var(--ease); }
.js .bande__photo.revele.in img { clip-path: inset(0 0 0 0); }
.bande__photo.in img { scale: 1; }
.points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; counter-reset: point; }
.points li { counter-increment: point; padding-top: 16px; border-top: 2px solid var(--marine); }
.points li::before { content: counter(point, decimal-leading-zero); font: 500 14px/1 var(--titres); color: var(--gris); }
.points h3 { margin-top: 12px; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.points p { margin-top: 6px; font-size: 15px; color: var(--gris); }

/* ---------- Valeurs : les mots se remplissent ---------- */
.valeurs { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.valeur { display: grid; grid-template-columns: 56px 1fr; gap: 0 24px; align-items: baseline; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.valeur > b { font: 500 15px/1 var(--titres); color: var(--orange); }
.valeur h3 {
  font-size: clamp(28px, 7.2vw, 88px); line-height: 1; letter-spacing: -.035em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .5);
  background: linear-gradient(90deg, var(--blanc) 50%, transparent 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position 1.4s var(--ease) .2s;
}
.valeur.in h3 { background-position: 0 0; }
.valeur p { max-width: 560px; margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .72); }

@media (max-width: 900px) {
  .manifeste { grid-template-columns: 1fr; }
  .manifeste__label { justify-self: start; }
  .approches { grid-template-columns: 1fr; }
  .approches__plus { display: none; }
  .secteurs { grid-template-columns: 1fr; }
  .bande { grid-template-columns: 1fr; }
  .bande__photo { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .bande__texte { padding: 56px var(--gouttiere) 72px; }
}
@media (max-width: 600px) {
  .points { grid-template-columns: 1fr; gap: 22px; }
  .valeur { grid-template-columns: 36px 1fr; gap: 0 12px; }
  .valeur p { font-size: 15px; }
  .cp input { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .approche li { opacity: 1; translate: 0 0; }
  .js .bande__photo.revele img { clip-path: none; }
  .valeur h3 { background-position: 0 0; }
  .approches__plus { animation: none; }
}

/* =========================================================
   Page Estimation : formulaire en 4 étapes
   ========================================================= */
.estimation-tete {
  position: relative; overflow: hidden; text-align: center;
  padding: calc(var(--haut-entete) + clamp(48px, 7vh, 80px)) 0 clamp(150px, 15vw, 200px);
  background: var(--marine); color: var(--blanc);
}
.estimation-tete::before {
  content: ""; position: absolute; left: 50%; bottom: -55%; width: 120%; aspect-ratio: 2 / 1; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(225, 138, 36, .32), rgba(225, 138, 36, 0));
  animation: lueur 9s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes lueur { from { scale: 1; opacity: .8; } to { scale: 1.15; opacity: 1; } }
.estimation-tete .enveloppe { position: relative; }
.estimation-tete__sur { display: inline-block; padding: 7px 14px; border-radius: 9999px; background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 500; }
.estimation-tete__titre { margin-top: 22px; font-size: clamp(44px, 5.8vw, 84px); line-height: 1; letter-spacing: -.026em; }
.estimation-tete__texte { max-width: 560px; margin: 22px auto 0; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.garanties { list-style: none; margin: 34px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.garanties li { display: flex; align-items: center; gap: 8px; }
.garanties svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.estimation { padding: 0 0 clamp(80px, 10vw, 140px); }
.assistant {
  position: relative; z-index: 2; max-width: 920px; margin: calc(-1 * clamp(110px, 11vw, 150px)) auto 0;
  padding: clamp(24px, 4vw, 52px); border-radius: var(--r-media); background: var(--blanc);
  box-shadow: 0 40px 100px rgba(16, 38, 90, .16), 0 0 0 1px rgba(16, 38, 90, .05);
  scroll-margin-top: calc(var(--haut-entete) + 20px);
}
.assistant__etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.assistant__etapes li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gris); transition: color .4s; }
.assistant__etapes span { flex: 0 0 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--filet); font: 500 14px/1 var(--titres); transition: background-color .4s, color .4s, border-color .4s; }
.assistant__etapes b { font-weight: 500; }
.assistant__etapes li.est-active { color: var(--encre); }
.assistant__etapes li.est-active span { background: var(--marine); border-color: var(--marine); color: var(--blanc); }
.assistant__etapes li.est-faite span { background: var(--orange); border-color: var(--orange); color: var(--marine); font-size: 0; }
.assistant__etapes li.est-faite span::after { content: "✓"; font-size: 15px; }
.assistant__piste { height: 4px; margin-top: 18px; border-radius: 4px; background: #ECEEF3; overflow: hidden; }
.assistant__piste i { display: block; height: 100%; width: var(--p, 0%); border-radius: 4px; background: var(--orange); transition: width .7s var(--ease); }
.assistant__resume { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; margin-top: 14px; }
.assistant__resume span { padding: 5px 11px; border-radius: 9999px; background: #F2F3F6; font-size: 13px; font-weight: 500; animation: monte .45s var(--ease); }

.assistant__etape { min-width: 0; margin: 26px 0 0; padding: 0; border: 0; }
.assistant__etape > legend { margin-bottom: 22px; padding: 0; font: 500 clamp(26px, 2.6vw, 34px)/1.1 var(--titres); letter-spacing: -.015em; }
.js .assistant__etape:not(.est-active) { display: none; }
.js .assistant__etape.est-active { animation: monte .55s var(--ease); }
.assistant__groupe { min-width: 0; margin: 26px 0 0; padding: 0; border: 0; }
.assistant__groupe--premier { margin-top: 0; }
.assistant__groupe > legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 500; }

.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tuiles input, .segments input, .puces-choix input { position: absolute; opacity: 0; pointer-events: none; }
.tuile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; border-radius: var(--r-carte); border: 1.5px solid var(--filet); font-weight: 500; cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s var(--ease); }
.tuile:hover { border-color: rgba(16, 38, 90, .45); transform: translateY(-2px); }
.tuile small { font-size: 13px; font-weight: 400; color: var(--gris); }
.tuile--grande { gap: 14px; padding: 24px; font: 500 20px/1.2 var(--titres); letter-spacing: -.01em; }
.tuile svg { width: 46px; height: 46px; fill: none; stroke: var(--marine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
input:checked + .tuile { border-color: var(--marine); background: #F2F4F9; box-shadow: inset 0 0 0 1px var(--marine); }
input:checked + .tuile svg { stroke: var(--orange); }
input:focus-visible + .tuile, input:focus-visible + .segment, input:focus-visible + .puce { outline: 2px solid var(--orange); outline-offset: 3px; }
.segments { display: flex; flex-wrap: wrap; gap: 8px; }
.segment { min-width: 52px; height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; border: 1.5px solid var(--filet); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.segment:hover { border-color: rgba(16, 38, 90, .45); }
input:checked + .segment { background: var(--marine); border-color: var(--marine); color: var(--blanc); }
.puces-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 9999px; border: 1.5px solid transparent; background: #F2F3F6; font-size: 15px; cursor: pointer; transition: background-color .25s, border-color .25s; }
.puce::before { content: "+"; width: 12px; font-weight: 500; color: var(--gris); }
input:checked + .puce { background: rgba(225, 138, 36, .14); border-color: var(--orange); }
input:checked + .puce::before { content: "✓"; color: var(--marine); }
.puce[hidden] { display: none; }

.assistant__champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.assistant__champs--haut { margin-top: 0; }
.champ-clair { display: block; min-width: 0; }
.champ-clair[hidden] { display: none; }
.champ-clair--large { grid-column: 1 / -1; }
.champ-clair > span:first-child { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.champ-clair input, .champ-clair select, .champ-clair textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-carte); border: 1.5px solid var(--filet); background: var(--blanc);
  font: 400 16px var(--texte); color: var(--encre); outline: 0; transition: border-color .25s, box-shadow .25s;
}
.champ-clair select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%231F1F1F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 18px center / 12px no-repeat; }
.champ-clair textarea { height: auto; min-height: 120px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.champ-clair input:focus, .champ-clair select:focus, .champ-clair textarea:focus { border-color: var(--marine); box-shadow: 0 0 0 4px rgba(16, 38, 90, .08); }
.champ-clair ::placeholder { color: #A3A4A8; }
.champ-clair :user-invalid { border-color: #C2410C; }
.champ-clair__unite { position: relative; display: block; }
.champ-clair__unite input { padding-right: 48px; }
.champ-clair__unite em { position: absolute; right: 16px; top: 50%; translate: 0 -50%; font-style: normal; color: var(--gris); pointer-events: none; }
.assistant__secteur { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 16px; border-radius: var(--r-carte); background: #F2F4F9; font-size: 15px; animation: monte .45s var(--ease); }
.assistant__secteur::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(225, 138, 36, .2); }
.assistant__secteur[hidden] { display: none; }
.depot { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-carte); border: 1.5px dashed rgba(16, 38, 90, .3); font-size: 15px; color: var(--gris); cursor: pointer; transition: border-color .25s, background-color .25s; }
.depot:hover { border-color: var(--marine); background: #F7F8FB; }
.depot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.depot svg { flex: 0 0 30px; width: 30px; height: 30px; fill: none; stroke: var(--marine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.depot b { color: var(--encre); font-weight: 500; }
.depot:focus-within { outline: 2px solid var(--orange); outline-offset: 3px; }
.consentement--clair { margin-top: 28px; color: var(--gris); }
.consentement--clair a { color: inherit; }

.assistant__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--filet); }
.assistant__compteur { font-size: 14px; color: var(--gris); }
.assistant [data-precedent], .assistant [data-suivant], .assistant__compteur { display: none; }
.js .assistant [data-precedent], .js .assistant [data-suivant] { display: inline-flex; }
.js .assistant .assistant__compteur { display: inline; }
.js .assistant [data-envoyer] { display: none; }
.js .assistant.est-derniere [data-envoyer] { display: inline-flex; }
.js .assistant.est-derniere [data-suivant] { display: none; }
.js .assistant.est-premiere [data-precedent] { visibility: hidden; }
.assistant.est-envoye > :not(.assistant__merci) { display: none !important; }
.assistant__merci { padding: 24px 0 8px; text-align: center; animation: monte .6s var(--ease); }
.assistant__merci[hidden] { display: none; }
.assistant__merci h2 { margin-top: 22px; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.015em; }
.assistant__merci p { max-width: 560px; margin: 14px auto 0; color: var(--gris); }
.assistant__merci .pilule { margin-top: 28px; }
.assistant__note { font-size: 13px; }
.assistant__coche { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2310265A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 38px no-repeat; animation: coche .7s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes coche { from { scale: .2; opacity: 0; } to { scale: 1; opacity: 1; } }

@media (max-width: 700px) {
  .assistant__etapes { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .assistant__etapes li:not(.est-active) b { display: none; }
  .assistant__champs { grid-template-columns: 1fr; }
  .tuiles--type { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuile--grande { padding: 18px; font-size: 17px; }
  .assistant__nav { flex-wrap: wrap; }
  .assistant__compteur { order: -1; width: 100%; text-align: center; }
  .js .assistant .assistant__compteur { display: block; }
  .garanties { flex-direction: column; align-items: center; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .estimation-tete::before { animation: none; }
}

/* =========================================================
   Fiche d'un bien (modèle de chaque annonce)
   ========================================================= */
.fiche svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Galerie : une grande photo, quatre petites */
.galerie { position: relative; background: var(--blanc); }
.galerie::before {
  content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 220px; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 52, .62), rgba(10, 22, 52, 0));
}
.galerie__grille { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: clamp(500px, calc(100svh - var(--haut-bandeau) - 40px), 820px); }
.galerie__vue { position: relative; min-width: 0; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #0B1A3F; }
.galerie__vue--une { grid-row: 1 / 3; }
.galerie__vue img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .4s;
  animation: galerie-entree 1.3s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes galerie-entree { from { opacity: 0; scale: 1.1; } to { opacity: 1; scale: 1; } }
.galerie__vue:hover img { transform: scale(1.045); filter: brightness(1.04); }
.galerie__vue:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.galerie__vue--une::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(0deg, rgba(10, 22, 52, .45), rgba(10, 22, 52, 0)); pointer-events: none; }
.galerie__barre { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; pointer-events: none; }
.galerie__barre-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.galerie__barre-ligne > * { pointer-events: auto; }
.galerie__statut { padding: 8px 16px; border-radius: 9999px; background: var(--orange); color: var(--marine); font-size: 14px; font-weight: 600; animation: monte .9s var(--ease) .6s both; }
.galerie__barre .pilule--verre { gap: 10px; background: rgba(16, 38, 90, .5); animation: monte .9s var(--ease) .7s both; }
.galerie__barre .pilule--verre:hover { background: rgba(16, 38, 90, .7); }
.galerie__barre .pilule--verre svg { width: 18px; height: 18px; }
.galerie__points { display: none; gap: 6px; }
.galerie__points i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: width .3s var(--ease), background-color .3s; }
.galerie__points i.est-actif { width: 18px; border-radius: 3px; background: var(--blanc); }

/* L'essentiel */
.fiche-tete { padding: clamp(36px, 5vw, 60px) 0 0; }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--gris); }
.fil a { color: inherit; text-decoration: none; }
.fil a:hover { color: var(--encre); text-decoration: underline; text-underline-offset: 4px; }
.fiche-tete__grille { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: end; margin-top: 18px; }
.fiche-tete__titre { max-width: 14em; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.024em; }
.fiche-tete__lieu { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 17px; color: var(--gris); }
.fiche-tete__lieu svg { width: 20px; height: 20px; stroke: var(--orange); }
.fiche-tete__prix { text-align: right; }
.fiche-tete__montant { font: 500 clamp(38px, 4.2vw, 56px)/1 var(--titres); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fiche-tete__detail { margin-top: 10px; font-size: 14px; color: var(--gris); }
.fiche-tete__partager { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 500; cursor: pointer; }
.fiche-tete__partager svg { width: 18px; height: 18px; }
.fiche-tete__partager:hover { text-decoration: underline; text-underline-offset: 4px; }
.faits { list-style: none; margin: 40px 0 0; padding: 22px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.faits li { display: flex; align-items: center; gap: 14px; padding: 4px 20px; border-left: 1px solid var(--filet); }
.faits li:first-child { padding-left: 0; border-left: 0; }
.faits svg { flex: 0 0 28px; width: 28px; height: 28px; stroke: var(--marine); }
.faits b { display: block; font: 500 21px/1.15 var(--titres); letter-spacing: -.01em; white-space: nowrap; }
.faits span { font-size: 13px; color: var(--gris); }
.fiche sup { font-size: .62em; line-height: 0; }
.fiche-tete .avertissement { margin-top: 32px; }

/* Corps : détail à gauche, demande de visite à droite */
.fiche-corps { padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 130px); }
.fiche-corps__grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.bloc + .bloc { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--filet); }
.bloc__titre { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.015em; }

.description { position: relative; margin-top: 22px; }
.description p { font-size: 17px; line-height: 1.65; color: #3A3A3C; }
.description p + p { margin-top: 1em; }
.js .description { max-height: 9.9em; overflow: hidden; transition: max-height .8s var(--ease); }
.js .description::after { content: ""; position: absolute; inset: auto 0 0; height: 4.5em; background: linear-gradient(rgba(255, 255, 255, 0), var(--blanc)); transition: opacity .5s; pointer-events: none; }
.js .description.est-ouverte { max-height: 40em; }
.js .description.est-ouverte::after { opacity: 0; }
.lire-suite { margin-top: 12px; padding: 0; border: 0; background: none; font-weight: 600; color: var(--marine); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.lire-suite[hidden] { display: none; }
.atouts-bien { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.atouts-bien li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 9999px; background: #F2F3F6; font-size: 14px; font-weight: 500; }
.atouts-bien svg { width: 18px; height: 18px; stroke: var(--orange); stroke-width: 2.2; }

.caracteristiques { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin: 22px 0 0; }
.caracteristiques div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--filet); font-size: 15px; }
.caracteristiques dt { color: var(--gris); }
.caracteristiques dd { margin: 0; font-weight: 500; text-align: right; }

/* Visite virtuelle */
.visite-3d { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 22px; padding: 26px 28px; border-radius: var(--r-media); background: var(--marine); color: var(--blanc); }
.visite-3d::before { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(225, 138, 36, .35), rgba(225, 138, 36, 0)); pointer-events: none; }
.visite-3d__icone { position: relative; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); }
.visite-3d__icone svg { width: 26px; height: 26px; stroke: var(--orange); animation: tourne 6s linear infinite; }
@keyframes tourne { to { rotate: 360deg; } }
.visite-3d > p { position: relative; }
.visite-3d b { display: block; font: 500 19px/1.25 var(--titres); }
.visite-3d span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.visite-3d .pilule { position: relative; }
.visite-3d__note { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--r-carte); background: var(--verre); font-size: 14px; color: rgba(255, 255, 255, .85); animation: monte .45s var(--ease); }
.visite-3d__note[hidden] { display: none; }

/* Performance énergétique : deux échelles officielles */
.energie { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px; }
.echelle { margin: 0; }
.echelle figcaption { font-size: 14px; font-weight: 500; }
.echelle ol { list-style: none; display: grid; gap: 4px; margin: 14px 0 0; padding: 0; }
.echelle li {
  position: relative; width: var(--w); height: 24px; display: flex; align-items: center; padding-left: 10px;
  border-radius: 4px 12px 12px 4px; background: var(--c); color: #1F1F1F; font: 600 13px/1 var(--titres);
  opacity: .32; transform-origin: left center;
}
.echelle--ges li:nth-child(n+4) { color: var(--blanc); }
.echelle li.est-classe { height: 34px; opacity: 1; font-size: 16px; box-shadow: 0 8px 22px rgba(16, 38, 90, .18); }
.echelle li span { position: absolute; left: calc(100% + 12px); white-space: nowrap; font: 500 14px var(--texte); color: var(--encre); }
.echelle li span b { font: 500 20px var(--titres); letter-spacing: -.02em; }
.js .bloc.revele .echelle li { scale: 0 1; transition: scale .8s var(--ease); }
.js .bloc.revele.in .echelle li { scale: 1 1; }
.js .bloc.revele .echelle li:nth-child(2) { transition-delay: .06s; }
.js .bloc.revele .echelle li:nth-child(3) { transition-delay: .12s; }
.js .bloc.revele .echelle li:nth-child(4) { transition-delay: .18s; }
.js .bloc.revele .echelle li:nth-child(5) { transition-delay: .24s; }
.js .bloc.revele .echelle li:nth-child(6) { transition-delay: .30s; }
.js .bloc.revele .echelle li:nth-child(7) { transition-delay: .36s; }
.js .bloc.revele .echelle li span { opacity: 0; transition: opacity .6s .9s; }
.js .bloc.revele.in .echelle li span { opacity: 1; }
.energie__couts { margin-top: 24px; padding: 16px 18px; border-radius: var(--r-carte); background: #F4F5F8; font-size: 14px; line-height: 1.55; color: #3A3A3C; }
.energie__couts b { color: var(--encre); font-weight: 600; }

/* Copropriété */
.copro { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; padding: 0; }
.copro li { padding: 20px; border-radius: var(--r-carte); border: 1px solid var(--filet); }
.copro b { display: block; font: 500 26px/1.1 var(--titres); letter-spacing: -.02em; }
.copro span { display: block; margin-top: 6px; font-size: 14px; color: var(--gris); }

/* Le quartier à pied : une ligne qui se trace, des arrêts qui s'allument */
.ligne-quartier { position: relative; list-style: none; margin: 28px 0 0; padding: 0; }
.ligne-quartier::before { content: ""; position: absolute; left: 79px; top: 10px; bottom: 30px; width: 2px; border-radius: 2px; background: var(--marine); transform-origin: top; }
.ligne-quartier li { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 44px; padding-bottom: 22px; }
.ligne-quartier li::before { content: ""; position: absolute; left: 72px; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--marine); background: var(--blanc); }
.ligne-quartier li.est-metro::before { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 5px rgba(225, 138, 36, .2); }
.ligne-quartier__temps { justify-self: end; font: 500 15px/22px var(--titres); color: var(--marine); white-space: nowrap; }
.ligne-quartier b { display: block; font: 500 17px/22px var(--titres); }
.ligne-quartier p span { display: block; margin-top: 2px; font-size: 14px; color: var(--gris); }
.js .ligne-quartier.revele { opacity: 1; translate: 0 0; }
.js .ligne-quartier.revele::before { scale: 1 0; transition: scale 1.6s var(--ease); }
.js .ligne-quartier.revele.in::before { scale: 1 1; }
.js .ligne-quartier.revele li { opacity: 0; translate: 12px 0; transition: opacity .6s var(--ease), translate .6s var(--ease); transition-delay: calc(var(--i) * .2s + .2s); }
.js .ligne-quartier.revele li::before { scale: 0; transition: scale .5s var(--ease); transition-delay: calc(var(--i) * .2s + .2s); }
.js .ligne-quartier.revele.in li { opacity: 1; translate: 0 0; }
.js .ligne-quartier.revele.in li::before { scale: 1; }

/* Votre mensualité : réglages + anneau capital / intérêts */
.mensualite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; margin-top: 24px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-media); background: #F4F5F8; }
.mensualite__reglages { display: grid; gap: 18px; align-content: start; }
.mensualite__champ { display: block; }
.mensualite__champ span, .mensualite__duree legend { display: block; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; }
.mensualite__champ input { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-carte); border: 1.5px solid transparent; background: var(--blanc); font: 500 18px var(--titres); color: var(--encre); outline: 0; transition: border-color .25s; }
.mensualite__champ input:focus { border-color: var(--marine); }
.mensualite__duree { min-width: 0; margin: 0; padding: 0; border: 0; }
.bascule { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 9999px; background: var(--blanc); --pos: 0; }
.bascule:has(input:nth-of-type(2):checked) { --pos: 1; }
.bascule:has(input:nth-of-type(3):checked) { --pos: 2; }
.bascule::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 9999px; background: var(--marine); translate: calc(var(--pos) * 100%) 0; transition: translate .45s var(--ease); }
.bascule input { position: absolute; opacity: 0; pointer-events: none; }
.bascule label { position: relative; z-index: 1; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 9999px; font-size: 15px; font-weight: 500; cursor: pointer; transition: color .3s; }
.bascule input:checked + label { color: var(--blanc); }
.bascule input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }
.mensualite__resultat { display: grid; justify-items: center; align-content: start; gap: 20px; }
.anneau { position: relative; width: 200px; aspect-ratio: 1; }
.anneau svg { width: 100%; height: 100%; rotate: -90deg; }
.anneau circle { fill: none; stroke-width: 12; }
.anneau__fond { stroke: var(--marine); }
.anneau__interets { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 0 400; transition: stroke-dasharray 1s var(--ease); }
.anneau__centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.anneau__centre b { font: 500 34px/1 var(--titres); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.anneau__centre span { margin-top: 6px; font-size: 13px; color: var(--gris); }
.mensualite__legende { list-style: none; width: 100%; display: grid; gap: 8px; margin: 0; padding: 0; font-size: 14px; }
.mensualite__legende li { display: flex; align-items: center; gap: 10px; }
.mensualite__legende b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.pastille { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #C9CDD8; }
.pastille--capital { background: var(--marine); }
.pastille--interets { background: var(--orange); }
.mensualite__note { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; color: var(--gris); }
.mensualite__note a { color: var(--marine); font-weight: 600; text-decoration: none; }
.mensualite__note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Carte de visite (colonne de droite, reste visible) */
.fiche-corps__cote { position: sticky; top: calc(var(--haut-entete) + 28px); }
.carte-visite { display: grid; gap: 12px; padding: 28px; border-radius: var(--r-media); background: var(--blanc); box-shadow: 0 30px 80px rgba(16, 38, 90, .12), 0 0 0 1px rgba(16, 38, 90, .06); }
.carte-visite__prix { margin-bottom: 10px; font: 500 36px/1 var(--titres); letter-spacing: -.03em; }
.carte-visite .pilule { width: 100%; }

/* Relance : deux moitiés pleine largeur */
.relance { display: grid; grid-template-columns: 1fr 1fr; }
.relance__moitie { display: flex; justify-content: flex-end; padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 72px); background: #F4F5F8; }
.relance__moitie--marine { justify-content: flex-start; background: var(--marine); color: var(--blanc); }
.relance__contenu { max-width: 420px; }
.relance h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.02em; }
.relance p { margin-top: 14px; color: var(--gris); }
.relance__moitie--marine p { color: rgba(255, 255, 255, .72); }
.relance__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px !important; }
.lien-fleche { font-weight: 500; text-decoration: none; color: var(--encre); }
.lien-fleche:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Barre de visite (mobile) */
.barre-visite { display: none; }

/* Visionneuse plein écran */
.visionneuse { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(7, 13, 30, .97); color: var(--blanc); }
.visionneuse[open] { display: grid; grid-template-rows: auto 1fr; animation: fondu .35s var(--ease); }
.visionneuse::backdrop { background: transparent; }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.visionneuse__haut { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 3vw, 32px); }
.visionneuse__haut p { display: flex; gap: 14px; align-items: baseline; }
.visionneuse__haut b { font: 500 16px var(--titres); font-variant-numeric: tabular-nums; }
.visionneuse__haut span { font-size: 15px; color: rgba(255, 255, 255, .7); }
.visionneuse__fermer, .visionneuse__fleche { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--blanc); cursor: pointer; transition: background-color .25s; }
.visionneuse__fermer:hover, .visionneuse__fleche:hover { background: rgba(255, 255, 255, .24); }
.visionneuse svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visionneuse__piste { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.visionneuse__piste::-webkit-scrollbar { display: none; }
.visionneuse__piste li { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: 0 clamp(16px, 8vw, 110px) 32px; scroll-snap-align: center; scroll-snap-stop: always; }
.visionneuse__piste img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 120px); border-radius: 10px; object-fit: contain; }
.visionneuse__fleche { position: absolute; top: 50%; translate: 0 -50%; }
.visionneuse__fleche--prec { left: clamp(12px, 2vw, 32px); }
.visionneuse__fleche--suiv { right: clamp(12px, 2vw, 32px); }
.visionneuse__fleche:disabled { opacity: .3; cursor: default; }

/* Demande de visite */
.demande { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: var(--r-media); background: var(--marine); color: var(--blanc); overflow: auto; overscroll-behavior: contain; }
.demande[open] { animation: monte .45s var(--ease); }
.demande::backdrop { background: rgba(7, 13, 30, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.demande__form { border-radius: 0; scroll-margin-top: 0; }
.demande__tete { position: relative; padding-right: 56px; }
.demande__bien { font-size: 14px; color: rgba(255, 255, 255, .7); }
.demande__tete h2 { margin-top: 8px; }
.demande__fermer { position: absolute; top: -6px; right: -6px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--verre); color: var(--blanc); cursor: pointer; }
.demande__fermer:hover { background: rgba(255, 255, 255, .2); }
.demande svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demande__merci { display: grid; justify-items: start; gap: 18px; margin-top: 28px; animation: monte .5s var(--ease); }
.demande__merci[hidden] { display: none; }
.demande__coche { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange); color: var(--marine); }
.demande__coche svg { width: 28px; height: 28px; stroke-width: 2.4; }
.demande__merci b { display: block; margin-bottom: 6px; font: 500 22px var(--titres); }
.demande__merci p { color: rgba(255, 255, 255, .8); }
html.sans-defilement { overflow: hidden; }

/* Petit message (lien copié) */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; padding: 12px 20px; border-radius: 9999px; background: var(--encre); color: var(--blanc); font-size: 14px; font-weight: 500; translate: -50% 20px; opacity: 0; transition: opacity .35s, translate .35s var(--ease); pointer-events: none; }
.toast.est-visible { opacity: 1; translate: -50% 0; }

/* Lien vers la fiche depuis la carte de Nos biens */
.bien { position: relative; }
.bien__lien { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.bien__lien:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

@media (max-width: 1080px) {
  .faits { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .faits li:nth-child(4) { padding-left: 0; border-left: 0; }
  .fiche-corps__grille { grid-template-columns: minmax(0, 1fr) 300px; }
  .mensualite { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .galerie__grille { display: flex; height: auto; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .galerie__grille::-webkit-scrollbar { display: none; }
  .galerie__vue { flex: 0 0 100%; aspect-ratio: 4 / 3.6; scroll-snap-align: center; }
  .galerie__vue--une::after { display: none; }
  .galerie::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(0deg, rgba(10, 22, 52, .5), rgba(10, 22, 52, 0)); pointer-events: none; }
  .galerie__barre { bottom: 16px; }
  .galerie__points { display: flex; }
  .galerie__barre .pilule--verre { height: 38px; padding: 0 14px; font-size: 14px; }
  .galerie__voir { display: none; }
  .fiche-tete__grille { grid-template-columns: 1fr; }
  .fiche-tete__prix { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
  .fiche-tete__detail { margin-top: 0; }
  .fiche-tete__partager { margin-top: 0; }
  .fiche-corps__grille { grid-template-columns: 1fr; }
  .fiche-corps__cote { display: none; }
  .relance { grid-template-columns: 1fr; }
  .relance__moitie, .relance__moitie--marine { justify-content: flex-start; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
  .barre-visite {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 20px; border-radius: 9999px; background: var(--marine); color: var(--blanc);
    box-shadow: 0 18px 40px rgba(7, 13, 30, .35);
    translate: 0 calc(100% + 24px); transition: translate .5s var(--ease);
  }
  .barre-visite.est-visible { translate: 0 0; }
  .barre-visite b { display: block; font: 500 19px/1.1 var(--titres); }
  .barre-visite span { font-size: 12px; color: rgba(255, 255, 255, .7); }
  .barre-visite .pilule { height: 44px; }
  .visionneuse__fleche { display: none; }
  .visionneuse__piste li { padding: 0 0 24px; }
  .visionneuse__piste img { border-radius: 0; }
  .demande { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-media) var(--r-media) 0 0; }
  .demande[open] { animation: monte-bas .45s var(--ease); }
  @keyframes monte-bas { from { translate: 0 100%; } to { translate: 0 0; } }
}
@media (max-width: 600px) {
  .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px 0; }
  .faits li, .faits li:nth-child(4) { padding: 4px 0 4px 14px; border-left: 1px solid var(--filet); }
  .faits li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .faits li:last-child { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--filet); }
  .caracteristiques { grid-template-columns: 1fr; }
  .energie { grid-template-columns: 1fr; }
  .copro { grid-template-columns: 1fr; }
  .copro li { display: flex; align-items: baseline; gap: 12px; padding: 16px 18px; }
  .copro span { margin-top: 0; }
  .visite-3d { grid-template-columns: auto 1fr; }
  .visite-3d .pilule { grid-column: 1 / -1; }
  .ligne-quartier::before { left: 63px; }
  .ligne-quartier li { grid-template-columns: 48px 1fr; column-gap: 40px; }
  .ligne-quartier li::before { left: 56px; }
  .anneau { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .bloc.revele .echelle li { scale: 1 1; }
  .js .bloc.revele .echelle li span { opacity: 1; }
  .js .ligne-quartier.revele::before { scale: 1 1; }
  .js .ligne-quartier.revele li { opacity: 1; translate: 0 0; }
  .js .ligne-quartier.revele li::before { scale: 1; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .entete__nav { gap: 20px; }
  .entete__tel { display: none; }
  .reperes { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  :root { --haut-entete: 64px; }
  .entete__nav { display: none; }
  .entete__burger { display: block; }
  .entete__ligne { gap: 16px; }
  .entete__logo img { height: 32px; }

  .heros { min-height: 0; padding-bottom: 48px; }
  .heros__contenu { padding-top: calc(var(--haut-entete) + 48px); }
  .heros__texte { max-width: 460px; }
  .heros__cadre { position: relative; left: auto; bottom: auto; width: min(100% - 2 * var(--gouttiere), 360px); margin: 48px auto 0; }

  .simulateur { grid-template-columns: 1fr; }

  .onglets__scene { aspect-ratio: 4 / 5.2; }
  .onglet__carte { left: 16px; right: 16px; bottom: 80px; max-width: none; padding: 22px; }
  .onglets__pilules { left: 50%; right: auto; translate: -50% 0; bottom: 16px; }

  .esprit__photo { height: 48vh; margin-top: 40px; }

  .secteur__scene { aspect-ratio: auto; height: 560px; }
  .secteur__carte { right: 16px; left: 16px; top: auto; bottom: 16px; translate: none; width: auto; padding: 22px; }
  .secteur__champ { font-size: 20px; }
  .atouts { grid-template-columns: 1fr; gap: 24px; }

  .numerique__collant { position: static; height: auto; padding: 80px 0; }
  .numerique__piste { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none; padding-bottom: 4px; }
  .numerique__piste::-webkit-scrollbar { display: none; }
  .outil { flex-basis: 78vw; scroll-snap-align: center; }
  .numerique__progression { display: none; }

  .etapes { grid-template-columns: 1fr; }
  .etapes__intro { position: static; }
  .etapes__liste { padding: 16px 0 0; }
  .etape { min-height: 0; padding: 32px 0; opacity: 1; }

  .tarifs { grid-template-columns: 1fr; }
  .tarif { min-height: 0; }
  .tarif span { margin-top: 20px; }

  .pied__grille { grid-template-columns: 1fr 1fr; }
  .pied__marque { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .bandeau__long { display: none; }
  .pied__bas span { width: 100%; }
  .entete__actions .pilule { display: none; }
  .reperes { grid-template-columns: repeat(2, 1fr); }
  .heros__titre { font-size: clamp(34px, 9vw, 56px); }
  .pied__grille { grid-template-columns: 1fr; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revele { opacity: 1; translate: 0 0; }
  .numerique__collant { position: static; height: auto; padding: 100px 0; }
  .numerique__piste { overflow-x: auto; transform: none; }
}

/* =========================================================
   Pages villes (modèle : Boulogne-Billancourt)
   ========================================================= */
.ville-tete {
  position: relative; overflow: hidden;
  padding: calc(var(--haut-entete) + clamp(40px, 6vh, 72px)) 0 clamp(72px, 8vw, 112px);
  background: var(--marine); color: var(--blanc);
}
.ville-tete::before {
  content: ""; position: absolute; right: -18%; top: -40%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(225, 138, 36, .26), rgba(225, 138, 36, 0));
  pointer-events: none;
}
.ville-tete__grille { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.ville-tete .fil { color: rgba(255, 255, 255, .66); }
.ville-tete .fil a:hover { color: var(--blanc); }
.ville-tete__sur { display: inline-block; margin-top: 28px; padding: 7px 14px; border-radius: 9999px; background: rgba(225, 138, 36, .16); color: var(--orange); font-size: 14px; font-weight: 600; }
.ville-tete__titre { margin-top: 20px; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.026em; }
.ville-tete__texte { max-width: 540px; margin-top: 22px; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.ville-tete__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.ville-tete__actions .pilule--verre { height: 48px; padding: 0 24px; font-size: 16px; }

.ville-releve { padding: 28px; border-radius: var(--r-media); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ville-releve__titre { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .72); }
.ville-releve dl { margin: 8px 0 0; }
.ville-releve dl > div { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ville-releve dt { font-size: 14px; color: rgba(255, 255, 255, .72); }
.ville-releve dd { margin: 4px 0 0; font: 500 clamp(34px, 3.4vw, 44px)/1 var(--titres); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ville-releve dd small { font-size: .45em; letter-spacing: 0; margin-left: 2px; color: rgba(255, 255, 255, .72); }
.ville-releve__economie { border-bottom: 0 !important; padding-bottom: 0 !important; }
.ville-releve__economie dd { color: var(--orange); }
.ville-releve__source { margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .55); }

.ville-chiffres { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--filet); }
.ville-chiffres li { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.ville-chiffres li + li { padding-left: 24px; border-left: 1px solid var(--filet); }
.ville-chiffres b { font: 500 clamp(28px, 2.8vw, 38px)/1 var(--titres); letter-spacing: -.03em; color: var(--marine); font-variant-numeric: tabular-nums; }
.ville-chiffres b small { font-size: .5em; letter-spacing: 0; margin-left: 2px; }
.ville-chiffres span { font-size: 15px; color: var(--gris); }

.ville-sous-titre { margin-top: clamp(64px, 8vw, 96px); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.01em; }
.section--serree .ville-sous-titre:first-child { margin-top: 0; }

.ville-tableau { width: 100%; margin-top: 28px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ville-tableau caption { caption-side: bottom; padding-top: 14px; text-align: left; font-size: 13px; color: var(--gris); }
.ville-tableau th, .ville-tableau td { padding: 18px 12px; text-align: right; border-bottom: 1px solid var(--filet); white-space: nowrap; }
.ville-tableau th:first-child { padding-left: 0; text-align: left; }
.ville-tableau td:last-child { padding-right: 0; }
.ville-tableau thead th { padding-top: 0; font: 500 14px/1.3 var(--texte); color: var(--gris); }
.ville-tableau tbody th { font: 500 18px/1.2 var(--titres); }
.ville-tableau td small { display: block; font-size: 12px; color: var(--gris); }
.ville-tableau__eco b { display: inline-block; padding: 6px 12px; border-radius: 9999px; background: rgba(225, 138, 36, .16); color: var(--marine); font-weight: 600; }

.ville-repere { margin-top: 40px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; border-radius: var(--r-carte); background: #F6F6F7; }
.ville-repere p { max-width: 620px; font-size: 17px; line-height: 1.5; }
.ville-repere .pilule { flex: 0 0 auto; }
.ville-source { margin-top: 20px; max-width: 820px; font-size: 13px; line-height: 1.5; color: var(--gris); }

.ville-secteurs { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: secteur; }
.ville-secteurs li { position: relative; padding: 26px 24px 28px; border-radius: var(--r-carte); border: 1px solid var(--filet); counter-increment: secteur; transition: border-color .3s, translate .3s var(--ease); }
.ville-secteurs li:hover { border-color: var(--marine); translate: 0 -3px; }
.ville-secteurs li::before { content: counter(secteur, decimal-leading-zero); display: block; margin-bottom: 18px; font: 500 14px/1 var(--titres); color: var(--orange); }
.ville-secteurs h3 { font-size: 21px; line-height: 1.2; }
.ville-secteurs p { margin-top: 10px; font-size: 15px; color: var(--gris); }

.ville-conseil { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.ville-engagements { list-style: none; margin: 40px 0 0; padding: 0; }
.ville-engagements li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.ville-engagements b { flex: 0 0 36px; font: 500 15px/1.6 var(--titres); color: var(--orange); }
.ville-engagements h3 { font-size: 20px; line-height: 1.25; }
.ville-engagements p { margin-top: 6px; color: rgba(255, 255, 255, .72); }
.ville-atouts { padding: 32px; border-radius: var(--r-media); background: var(--blanc); color: var(--encre); }
.ville-atouts h3 { font-size: 22px; line-height: 1.2; }
.ville-atouts ul { list-style: none; margin: 20px 0 0; padding: 0; }
.ville-atouts li { padding: 16px 0; border-top: 1px solid var(--filet); }
.ville-atouts li b { display: block; font-size: 14px; font-weight: 600; color: var(--marine); }
.ville-atouts li span { display: block; margin-top: 4px; font-size: 15px; color: var(--gris); }

.ville-voisines { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ville-voisines li, .ville-voisines a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 9999px; border: 1px solid var(--filet); font-size: 15px; font-weight: 500; text-decoration: none; }
.ville-voisines a:hover { border-color: var(--encre); }

@media (max-width: 900px) {
  .ville-tete__grille, .ville-conseil { grid-template-columns: 1fr; }
  .ville-chiffres { grid-template-columns: repeat(2, 1fr); }
  .ville-chiffres li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ville-chiffres li:nth-child(n+3) { margin-top: 24px; }
  .ville-secteurs { grid-template-columns: repeat(2, 1fr); }
  .ville-repere { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .ville-tableau thead { display: none; }
  .ville-tableau, .ville-tableau tbody, .ville-tableau tr { display: block; }
  .ville-tableau caption { display: block; padding: 0 0 8px; }
  .ville-tableau tr { padding: 18px 0 16px; border-bottom: 1px solid var(--filet); }
  .ville-tableau tbody th { display: block; padding: 0 0 8px; border: 0; }
  .ville-tableau td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 5px 0; border: 0; text-align: right; }
  .ville-tableau td::before { content: attr(data-label); font-size: 14px; color: var(--gris); text-align: left; }
  .ville-tableau td small { display: inline; margin-left: 6px; }
  .ville-tableau__eco { margin-top: 6px; align-items: center !important; }
}
@media (max-width: 600px) {
  .ville-secteurs { grid-template-columns: 1fr; }
  .ville-releve, .ville-atouts { padding: 24px 20px; }
  .ville-repere { padding: 24px 20px; }
}

.ville-nom { white-space: nowrap; }

/* =========================================================
   Page Nos secteurs
   ========================================================= */
.zones-tete {
  position: relative; overflow: hidden;
  padding: calc(var(--haut-entete) + clamp(40px, 6vh, 72px)) 0 clamp(72px, 8vw, 112px);
  background: var(--marine); color: var(--blanc);
}
.zones-tete::before {
  content: ""; position: absolute; left: -20%; bottom: -60%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(225, 138, 36, .22), rgba(225, 138, 36, 0));
  pointer-events: none;
}
.zones-tete__grille { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.zones-tete .fil { color: rgba(255, 255, 255, .66); }
.zones-tete .fil a:hover { color: var(--blanc); }
.zones-tete__sur { display: inline-block; margin-top: 28px; padding: 7px 14px; border-radius: 9999px; background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 500; }
.zones-tete__titre { margin-top: 20px; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.03em; }
.zones-tete__texte { max-width: 480px; margin-top: 22px; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .82); }

.zones-tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.zones-tuiles a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  aspect-ratio: 1; padding: 14px; border-radius: var(--r-carte);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  text-decoration: none; transition: background-color .3s, border-color .3s, translate .3s var(--ease);
}
.zones-tuiles a:hover { background: var(--orange); border-color: var(--orange); color: var(--marine); translate: 0 -3px; }
.zones-tuiles b { font: 500 clamp(26px, 2.6vw, 36px)/1 var(--titres); letter-spacing: -.03em; }
.zones-tuiles span { font-size: 13px; line-height: 1.25; opacity: .82; }

.zones-loupe {
  margin-top: 48px; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden;
  border-radius: var(--r-media); border: 1px solid var(--filet); text-decoration: none;
  transition: border-color .3s, box-shadow .3s;
}
.zones-loupe:hover { border-color: var(--marine); box-shadow: 0 18px 40px rgba(16, 38, 90, .12); }
.zones-loupe__texte { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.zones-loupe__dep { font-size: 14px; font-weight: 600; color: var(--orange); }
.zones-loupe h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.02em; }
.zones-loupe p { max-width: 440px; color: var(--gris); }
.zones-loupe__lien { margin-top: 12px; font-weight: 600; color: var(--marine); }
.zones-loupe__lien i { display: inline-block; font-style: normal; transition: translate .3s var(--ease); }
.zones-loupe:hover .zones-loupe__lien i { translate: 6px 0; }
.zones-loupe__chiffres { margin: 0; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 28px; background: var(--marine); color: var(--blanc); }
.zones-loupe__chiffres dt { font-size: 14px; color: rgba(255, 255, 255, .72); }
.zones-loupe__chiffres dd { margin: 6px 0 0; font: 500 clamp(32px, 3.2vw, 44px)/1 var(--titres); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.zones-loupe__chiffres dd small { font-size: .45em; letter-spacing: 0; margin-left: 2px; color: rgba(255, 255, 255, .72); }
.zones-loupe__chiffres div:last-child dd { color: var(--orange); }

.zones-deps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); }
.zones-dep { padding: 26px 22px 30px; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); scroll-margin-top: calc(var(--haut-entete) + 24px); transition: background-color .3s; }
.zones-dep:target { background: rgba(225, 138, 36, .1); }
.zones-dep b { display: block; font: 500 34px/1 var(--titres); letter-spacing: -.03em; color: var(--marine); }
.zones-dep h3 { margin-top: 14px; font-size: 19px; line-height: 1.2; }
.zones-dep p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--gris); }
.zones-dep a { color: var(--marine); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .zones-tete__grille { grid-template-columns: 1fr; }
  .zones-tuiles { max-width: 520px; }
  .zones-loupe { grid-template-columns: 1fr; }
  .zones-deps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .zones-tuiles { grid-template-columns: repeat(2, 1fr); }
  .zones-tuiles a { aspect-ratio: auto; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 10px; padding: 14px 16px; }
  .zones-tuiles b { font-size: 24px; }
  .zones-deps { grid-template-columns: 1fr; }
}

/* Pages villes : comparaison avec le département et les voisines, ventes par tranche de prix */
.ville-comparaison { list-style: none; margin: 40px 0 0; padding: 0; max-width: 820px; }
.ville-comparaison li { display: grid; grid-template-columns: 220px 1fr 120px; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.ville-comparaison__nom { font-weight: 500; }
.ville-comparaison__nom a { color: var(--marine); text-underline-offset: 3px; }
.ville-comparaison__piste { height: 10px; border-radius: 9999px; background: #F1F1F2; overflow: hidden; }
.ville-comparaison__piste i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: rgba(16, 38, 90, .35); }
.ville-comparaison b { text-align: right; font: 500 17px/1 var(--titres); font-variant-numeric: tabular-nums; }
.ville-comparaison .est-ici .ville-comparaison__nom, .ville-comparaison .est-ici b { color: var(--marine); font-weight: 600; }
.ville-comparaison .est-ici .ville-comparaison__piste i { background: var(--orange); }
.ville-tranches { padding: 32px; border-radius: var(--r-media); background: var(--blanc); color: var(--encre); }
.ville-tranches h3 { font-size: 22px; line-height: 1.2; }
.ville-tranches ul { list-style: none; margin: 20px 0 0; padding: 0; }
.ville-tranches li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 22px; border-top: 1px solid var(--filet); }
.ville-tranches li div b { display: block; font-size: 15px; font-weight: 600; color: var(--marine); }
.ville-tranches li div span { display: block; margin-top: 2px; font-size: 14px; color: var(--gris); }
.ville-tranches strong { font: 500 28px/1 var(--titres); letter-spacing: -.02em; color: var(--marine); font-variant-numeric: tabular-nums; }
.ville-tranches li i { position: absolute; left: 0; bottom: 10px; height: 4px; width: var(--w); border-radius: 9999px; background: var(--orange); }
.ville-tranches p { margin-top: 14px; font-size: 13px; color: var(--gris); }
@media (max-width: 600px) {
  .ville-comparaison li { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .ville-comparaison__piste { grid-column: 1 / -1; grid-row: 2; }
  .ville-tranches { padding: 24px 20px; }
}

/* Nos secteurs : choix de la ville (remplace la carte Boulogne) */
.zones-choix { margin-top: 48px; }
.zones-loupe--choix { margin-top: 0; }
.zones-loupe--choix:hover { box-shadow: none; }
.zones-choix__label { font-size: 14px; font-weight: 600; color: var(--orange); }
.zones-choix__liste {
  width: 100%; max-width: 420px; height: 56px; margin-top: 4px; padding: 0 48px 0 18px;
  border: 1.5px solid var(--marine); border-radius: var(--r-carte); color: var(--encre);
  font: 500 17px/1 var(--texte); cursor: pointer; -webkit-appearance: none; appearance: none;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2310265A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 18px center / 13px no-repeat;
}
.zones-choix__liste:focus-visible { outline: 3px solid rgba(225, 138, 36, .45); outline-offset: 2px; }
.zones-choix__vide { margin-top: 6px; max-width: 420px; color: var(--gris); }
.zones-choix__resultat { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.zones-choix__resultat h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.zones-choix .zones-loupe__lien { margin-top: 4px; text-decoration: none; }
.zones-choix .zones-loupe__lien:hover i { translate: 6px 0; }
.zones-choix:not(.est-choisi) .zones-loupe__chiffres dd { color: rgba(255, 255, 255, .4); }
.zones-choix__resultat[hidden] { display: none; }

/* =========================================================
   Page Carrières (recrutement d'agents indépendants)
   ========================================================= */
.carriere-tete {
  position: relative; overflow: hidden;
  padding: calc(var(--haut-entete) + clamp(40px, 6vh, 72px)) 0 clamp(64px, 7vw, 96px);
  background: var(--marine); color: var(--blanc);
}
.carriere-tete::before {
  content: ""; position: absolute; right: -10%; bottom: -70%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(225, 138, 36, .24), rgba(225, 138, 36, 0));
  pointer-events: none;
}
.carriere-tete .enveloppe { position: relative; }
.carriere-tete .fil { color: rgba(255, 255, 255, .66); }
.carriere-tete .fil a:hover { color: var(--blanc); }
.carriere-tete__sur { display: inline-block; margin-top: 28px; padding: 7px 14px; border-radius: 9999px; background: rgba(225, 138, 36, .16); color: var(--orange); font-size: 14px; font-weight: 600; }
.carriere-tete__titre { max-width: 820px; margin-top: 20px; font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -.026em; }
.carriere-tete__texte { max-width: 620px; margin-top: 22px; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.carriere-tete__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.carriere-tete__actions .pilule--verre { height: 48px; padding: 0 24px; font-size: 16px; }
.carriere-reperes { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.carriere-reperes b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--orange); }
.carriere-reperes span { display: block; margin-top: 6px; font: 500 clamp(18px, 1.6vw, 22px)/1.25 var(--titres); }

.carriere-atouts { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; counter-reset: atout; }
.carriere-atouts li { padding: 30px 28px 32px; border-radius: var(--r-carte); background: #F6F6F7; counter-increment: atout; }
.carriere-atouts li::before { content: counter(atout, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%; background: var(--marine); color: var(--blanc); font: 500 14px/1 var(--titres); }
.carriere-atouts h3 { font-size: 22px; line-height: 1.2; }
.carriere-atouts p { margin-top: 10px; color: var(--gris); }

.carriere-poste { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.carriere-missions { list-style: none; margin: 36px 0 0; padding: 0; }
.carriere-missions li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 17px; }
.carriere-missions li::before { content: ""; position: absolute; left: 0; top: 22px; width: 18px; height: 10px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); rotate: -45deg; }
.carriere-statut { padding: 32px; border-radius: var(--r-media); background: var(--blanc); color: var(--encre); }
.carriere-statut h3 { font-size: 22px; line-height: 1.2; }
.carriere-statut ul { list-style: none; margin: 20px 0 0; padding: 0; }
.carriere-statut li { padding: 16px 0; border-top: 1px solid var(--filet); }
.carriere-statut li b { display: block; font-size: 15px; font-weight: 600; color: var(--marine); }
.carriere-statut li span { display: block; margin-top: 4px; font-size: 15px; color: var(--gris); }

.carriere-profil { list-style: none; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.carriere-profil li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-carte); border: 1px solid var(--filet); font-weight: 500; }
.carriere-profil li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.carriere-note { margin-top: 24px; text-align: center; color: var(--gris); }

.carriere-formulaire { margin-top: 40px; }
.carriere-cv input[type="file"] { width: 100%; padding: 14px 16px; border: 1.5px dashed rgba(255, 255, 255, .32); border-radius: var(--r-carte); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .82); font: inherit; font-size: 15px; cursor: pointer; }
.carriere-cv input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 16px; border: 0; border-radius: 9999px; background: var(--blanc); color: var(--marine); font: 500 14px/1 var(--texte); cursor: pointer; }
.carriere-cv input[type="file"]:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

@media (max-width: 900px) {
  .carriere-poste { grid-template-columns: 1fr; }
  .carriere-reperes { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .carriere-atouts, .carriere-profil { grid-template-columns: 1fr; }
  .carriere-statut { padding: 24px 20px; }
}

/* Page Achat : la photo de visite reste centrée sur la famille et la conseillère dans la vignette en hauteur */
.bento__photo img[src*="achat-conseiller-visite"] { object-position: 44% 50%; }
/* Sur cette photo, les visages sont en bas : la phrase passe en haut de la vignette, sur le mur */
.bento__photo:has(img[src*="achat-conseiller-visite"])::after { background: linear-gradient(0deg, rgba(10, 22, 52, 0) 55%, rgba(10, 22, 52, .7) 100%); }
.bento__photo:has(img[src*="achat-conseiller-visite"]) .bento__legende { top: 24px; bottom: auto; }

/* =========================================================
   Compléments propres au thème WordPress
   (tout ce qui précède est la feuille de la maquette, inchangée)
   ========================================================= */

/* Gutenberg : aucun espacement automatique entre blocs (blockGap à 0 dans theme.json),
   filet de sécurité à spécificité nulle — il ne peut écraser aucune marge du design. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
:where(.wp-site-blocks) > * { margin-block: 0; }
figure.wp-block-image { margin: 0; }
img { height: auto; }

/* Barre d'administration (personne connectée) : l'en-tête fixe passe dessous */
body.admin-bar .entete { margin-top: var(--wp-admin--admin-bar--height, 0px); }

/* Champ piège des formulaires (invisible pour les visiteurs) */
.pot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Erreur d'envoi d'un formulaire */
.formulaire__erreur { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-carte); background: rgba(215, 34, 31, .12); color: inherit; font-size: 14px; }
.assistant .formulaire__erreur { color: #8A1C1A; }

/* Pages de texte (mentions légales, confidentialité, articles) */
.texte-tete { background: var(--marine); color: var(--blanc); padding: calc(var(--haut-entete) + clamp(48px, 7vw, 88px)) 0 clamp(48px, 6vw, 80px); }
.texte-tete__titre { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.022em; }
.texte-tete__sur { margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.texte-corps { padding: clamp(48px, 6vw, 88px) 0 clamp(80px, 9vw, 130px); }
.texte-corps .wp-block-post-content > * + * { margin-top: 1em; }
.texte-corps h2 { margin-top: 1.6em; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.015em; }
.texte-corps h3 { margin-top: 1.4em; font-size: 21px; line-height: 1.25; }
.texte-corps p, .texte-corps li { font-size: 17px; line-height: 1.65; color: #3A3A3C; }
.texte-corps ul, .texte-corps ol { padding-left: 1.3em; }
.texte-corps a { color: var(--marine); text-underline-offset: 3px; }
.texte-corps .wp-block-post-title a { text-decoration: none; }
.texte-corps .wp-block-post-template { list-style: none; padding: 0; display: grid; gap: 40px; }

/* Fiche d'un bien : galerie selon le nombre de photos */
.galerie__grille--n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.galerie__grille--n2 { grid-template-columns: 2fr 1fr; }
.galerie__grille--n2 .galerie__vue:nth-child(2) { grid-row: 1 / 3; }
.galerie__grille--n3 { grid-template-columns: 2fr 1fr; }
.galerie__grille--n4 .galerie__vue:nth-child(4) { grid-column: 2 / 4; }
.faits--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.faits--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faits--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faits--n1 { grid-template-columns: 1fr; }
.energie--seule { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
/* Données plus longues que l'exemple de la maquette (honoraires à la charge de l'acquéreur, « Rez-de-chaussée ») */
.fiche-tete__prix { max-width: 460px; }
.faits b { white-space: normal; }
.fiche-tete--sans-photo { padding-top: calc(var(--haut-bandeau) + var(--haut-entete) + 48px); }
body:has(.fiche-tete--sans-photo) .entete { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 0 var(--filet); }
body:has(.fiche-tete--sans-photo) .entete .pilule--blanche { background: var(--orange); color: var(--marine); }
.description > :first-child { margin-top: 0; }
.description ul, .description ol { padding-left: 1.2em; font-size: 17px; line-height: 1.65; color: #3A3A3C; }

/* Nos biens : annonce sans photo */
.bien__photo--vide { display: grid; place-items: center; background: linear-gradient(135deg, var(--fond), #E6E9F0); }
.bien__photo--vide::after { content: "Photos à venir"; font-size: 14px; color: var(--gris); }

/* Nos biens : annonce vendue */
.bien.est-vendu .bien__photo img { filter: grayscale(.6); }
.bien.est-vendu .bien__badge { background: var(--encre); }

@media (max-width: 1080px) {
  .faits--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .fiche-tete__prix { max-width: none; }
  .galerie__grille--n2 .galerie__vue:nth-child(2), .galerie__grille--n4 .galerie__vue:nth-child(4) { grid-row: auto; grid-column: auto; }
}
