/* ============================================================
   Musso Immobilier — feuille de style
   Charte : navy #122036 · or #B79264 · beige #F5EFE3
   Typos  : Cormorant Garamond (titres) · Inter (texte)
   ============================================================ */

:root {
  --navy: #122036;
  --navy-2: #1D2E48;
  --navy-3: #2A3A55;
  --gold: #B79264;
  --gold-d: #8E6E48;
  --gold-l: #D9BE95;
  --beige: #F5EFE3;
  --beige-2: #EDE5D3;
  --line: #DCD2BE;
  --line-2: #C9BCA1;
  --white: #fff;
  --gris: #6B7280;
  --gris-c: #F3F4F6;
  --ok: #2E7D5B;
  --rouge: #B3403A;

  --r: 3px;
  --r-l: 6px;
  --ombre: 0 10px 30px rgba(18, 32, 54, .07);
  --ombre-f: 0 22px 55px rgba(18, 32, 54, .15);
  --t: .18s cubic-bezier(.2, .7, .3, 1);

  --pad: clamp(20px, 5vw, 40px);
  --max: 1220px;
  --section: clamp(64px, 9vw, 120px);
}

/* ---------------------------------------------------------- Base */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--navy);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--gold-d);
  outline-offset: 3px;
  border-radius: 2px;
}

.saut-contenu {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; z-index: 200;
}
.saut-contenu:focus { left: 8px; top: 8px; }

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- Utilitaires */

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.wrap-etroit { max-width: 780px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section-fine { padding-block: clamp(44px, 6vw, 76px); }
.centre { text-align: center; }

.surtitre {
  font-family: Inter, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 14px;
  display: block;
}
.navy-bloc .surtitre { color: var(--gold-l); }

.chapo { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--navy-3); max-width: 62ch; }
.centre .chapo { margin-inline: auto; }
.navy-bloc .chapo { color: #C6CEDC; }

.filet { width: 54px; height: 2px; background: var(--gold); border: 0; margin: 0 0 26px; }
.centre .filet { margin-inline: auto; }

.navy-bloc { background: var(--navy); color: var(--beige); }
.navy-bloc h1, .navy-bloc h2, .navy-bloc h3 { color: var(--white); }
.beige-2 { background: var(--beige-2); }
.blanc { background: var(--white); }

/* ---------------------------------------------------------- Boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-or { background: var(--gold); color: var(--white); }
.btn-or:hover { background: var(--gold-d); box-shadow: 0 8px 22px rgba(142, 110, 72, .3); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); box-shadow: 0 8px 22px rgba(18, 32, 54, .25); }

.btn-ligne { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ligne:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.navy-bloc .btn-ligne { color: var(--beige); border-color: rgba(245, 239, 227, .35); }
.navy-bloc .btn-ligne:hover { background: var(--beige); color: var(--navy); border-color: var(--beige); }

.btn-l { padding: 18px 36px; font-size: 1rem; }
.btn-s { padding: 11px 20px; font-size: .85rem; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; text-decoration: none;
  color: var(--gold-d); border-bottom: 1px solid transparent;
  transition: gap var(--t), border-color var(--t);
}
.lien-fleche:hover { gap: 13px; border-color: currentColor; }
.navy-bloc .lien-fleche { color: var(--gold-l); }

/* ---------------------------------------------------------- En-tête */

.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 239, 227, .93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.entete.collee { box-shadow: 0 4px 20px rgba(18, 32, 54, .07); }
.entete-grille {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.marque { display: block; flex-shrink: 0; }
.marque img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .9rem; font-weight: 500; text-decoration: none;
  color: var(--navy-3); position: relative; padding-block: 6px;
  transition: color var(--t);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--gold); transition: right var(--t);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }

/* Le CTA du menu déroulant ne sert qu'en mobile : sur desktop, celui de
   .entete-actions fait déjà le travail. */
.nav .btn-nav-mobile { display: none; }

.entete-actions { display: flex; align-items: center; gap: 16px; }
.tel-entete {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap;
}
.tel-entete:hover { color: var(--gold-d); }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; margin-right: -10px;
}
.burger span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  transition: transform var(--t), opacity var(--t);
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav, .entete-actions .tel-entete, .entete-actions .btn { display: none; }
  .burger { display: block; }
  .nav-mobile-ouverte .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--beige); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 24px; box-shadow: var(--ombre);
  }
  .nav-mobile-ouverte .nav a {
    padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line);
  }
  .nav-mobile-ouverte .nav a::after { display: none; }
  .nav-mobile-ouverte .nav .btn-nav-mobile {
    display: inline-flex; justify-content: center;
    margin-top: 18px; border: 0; text-align: center;
  }
}

/* ---------------------------------------------------------- Hero accueil */

.hero { position: relative; overflow: hidden; }
.hero-grille {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 68px); align-items: center;
  padding-block: clamp(52px, 7vw, 96px);
}
/* Un cran en dessous du h1 global : le titre tient en trois lignes et laisse
   les deux boutons côte à côte. */
.hero h1 { font-size: clamp(2.3rem, 4.7vw, 3.5rem); margin-bottom: .4em; white-space: pre-line; }
.hero .chapo { margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visuel { position: relative; }
.hero-visuel img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-l); box-shadow: var(--ombre-f);
}
.hero-badge {
  position: absolute; left: -26px; bottom: 40px;
  background: var(--white); border-radius: var(--r-l);
  padding: 18px 24px; box-shadow: var(--ombre-f);
  display: flex; align-items: center; gap: 14px;
}
.hero-badge .note {
  font-family: "Cormorant Garamond", serif; font-size: 2.1rem;
  font-weight: 700; line-height: 1; color: var(--navy);
}
.hero-badge .detail { font-size: .8rem; line-height: 1.35; color: var(--gris); }
.etoiles { color: var(--gold); letter-spacing: 2px; font-size: .82rem; }

@media (max-width: 900px) {
  .hero-grille { grid-template-columns: 1fr; gap: 40px; }
  .hero-visuel { order: -1; }
  .hero-visuel img { aspect-ratio: 3 / 2; }
  .hero-badge { left: 12px; bottom: -20px; padding: 14px 18px; }
}

/* ---------------------------------------------------------- Bandeau chiffres */

.bandeau-chiffres {
  border-block: 1px solid var(--line);
  background: var(--beige-2);
}
.chiffres {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; padding-block: 34px; text-align: center;
}
.chiffre .val {
  font-family: "Cormorant Garamond", serif; font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700; line-height: 1; color: var(--navy); display: block;
}
.chiffre .lib {
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gris); margin-top: 9px; display: block;
}
.chiffre + .chiffre { border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .chiffres { grid-template-columns: repeat(2, 1fr); gap: 26px 8px; }
  .chiffre:nth-child(odd) { border-left: 0; }
  .chiffre:nth-child(3) { border-left: 0; }
}

/* ---------------------------------------------------------- Grilles */

.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(26px, 4vw, 56px); }
@media (max-width: 900px) { .grille-3 { grid-template-columns: 1fr; } }
@media (max-width: 780px) { .grille-2 { grid-template-columns: 1fr; } }

.pilier { }
.pilier .num {
  font-family: "Cormorant Garamond", serif; font-size: 2.6rem;
  color: var(--gold); line-height: 1; display: block; margin-bottom: 14px;
}
.pilier h3 { margin-bottom: .45em; }
.pilier p { color: var(--navy-3); font-size: .97rem; }

/* Méthode : liste numérotée en colonnes */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.etape { border-top: 2px solid var(--gold); padding-top: 22px; }
.etape .n {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  color: var(--gold-d); display: block; margin-bottom: 12px;
}
.navy-bloc .etape { border-color: var(--gold); }
.navy-bloc .etape .n { color: var(--gold-l); }
.etape h3 { font-size: 1.35rem; margin-bottom: .4em; }
.etape p { font-size: .93rem; color: var(--navy-3); }
.navy-bloc .etape p { color: #BCC5D4; }
@media (max-width: 980px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .etapes { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- Carte bien */

.grille-biens {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(22px, 2.6vw, 34px);
}
.carte {
  background: var(--white); border-radius: var(--r-l); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  box-shadow: var(--ombre);
  transition: transform var(--t), box-shadow var(--t);
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-f); }
.carte-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--gris-c); }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.carte:hover .carte-photo img { transform: scale(1.045); }
.carte-etiq {
  position: absolute; top: 14px; left: 14px;
  background: rgba(18, 32, 54, .9); color: var(--white);
  font-size: .68rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  padding: 7px 12px; border-radius: var(--r); backdrop-filter: blur(6px);
}
.carte-etiq.loc { background: rgba(183, 146, 100, .95); }
.carte-nb {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(18, 32, 54, .78); color: var(--white);
  font-size: .72rem; padding: 5px 10px; border-radius: var(--r);
  display: flex; align-items: center; gap: 6px; backdrop-filter: blur(6px);
}
.carte-corps { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.carte-lieu {
  font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-d); font-weight: 600; margin-bottom: 8px;
}
.carte h3 { font-size: 1.42rem; margin-bottom: .34em; }
.carte-carac {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: .87rem; color: var(--gris); margin-bottom: 18px;
}
.carte-carac span { display: inline-flex; align-items: center; gap: 6px; }
.carte-bas {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.carte-prix {
  font-family: "Cormorant Garamond", serif; font-size: 1.62rem;
  font-weight: 700; color: var(--navy); line-height: 1;
}
.carte-prix .mois { font-family: Inter, sans-serif; font-size: .78rem; font-weight: 500; color: var(--gris); }
.carte-ref { font-size: .74rem; color: var(--gris); }

/* ---------------------------------------------------------- Filtres annonces */

.filtres {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 20px; box-shadow: var(--ombre);
  margin-bottom: 34px;
}
.filtres-grille {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 14px; align-items: end;
}
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label {
  font-size: .71rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gris);
}
.champ select, .champ input {
  font: inherit; font-size: .92rem;
  padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--white); color: var(--navy); width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
.champ select:focus, .champ input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183, 146, 100, .16);
}
.champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236B7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 34px;
}
.filtres-bas {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.compteur { font-size: .92rem; color: var(--gris); }
.compteur strong { color: var(--navy); font-weight: 600; }

.vide {
  text-align: center; padding: 70px 20px;
  border: 1px dashed var(--line-2); border-radius: var(--r-l);
}

/* ---------------------------------------------------------- Fiche bien */

.fil { font-size: .82rem; color: var(--gris); padding-block: 20px; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--gold-d); text-decoration: underline; }

.bien-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 26px; }
.bien-tete h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .18em; }
.bien-lieu { font-size: 1.02rem; color: var(--gris); }
.bien-prix-bloc { text-align: right; flex-shrink: 0; }
.bien-prix {
  font-family: "Cormorant Garamond", serif; font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 700; line-height: 1; color: var(--navy);
}
.bien-prix-note { font-size: .8rem; color: var(--gris); margin-top: 6px; }
@media (max-width: 700px) { .bien-prix-bloc { text-align: left; } }

.galerie { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-bottom: 12px; }
.galerie-principale { aspect-ratio: 4 / 3; }
.galerie-cote { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.galerie button {
  padding: 0; border: 0; cursor: zoom-in; background: var(--gris-c);
  border-radius: var(--r-l); overflow: hidden; display: block; width: 100%; height: 100%;
}
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t); }

/* Les photos au-delà des trois premières : visibles, donc indexables. */
.galerie-suite {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px; margin-bottom: 12px;
}
.galerie-suite button {
  padding: 0; border: 0; background: none; cursor: pointer;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px;
}
.galerie-suite img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t); }
.galerie-suite button:hover img { opacity: .9; }
.galerie button:hover img { opacity: .9; }
.galerie-plus {
  position: relative;
}
.galerie-plus::after {
  content: attr(data-plus); position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(18, 32, 54, .58); color: var(--white);
  font-size: 1.02rem; font-weight: 600; pointer-events: none;
  border-radius: var(--r-l);
}
@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr; }
  .galerie-cote { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}

.bien-grille { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(30px, 4vw, 58px); align-items: start; }
@media (max-width: 940px) { .bien-grille { grid-template-columns: 1fr; } }

.bien-desc { font-size: 1.02rem; white-space: pre-line; }
.bien-desc h2 { margin-top: 1.6em; }

.carac-liste {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 26px;
}
.carac-liste li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .93rem;
}
.carac-liste .k { color: var(--gris); }
.carac-liste .v { font-weight: 600; text-align: right; }

/* Encart contact collant */
.encart {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 28px; box-shadow: var(--ombre);
  position: sticky; top: 100px;
}
.encart h3 { font-size: 1.45rem; margin-bottom: .3em; }
.encart .sous { font-size: .9rem; color: var(--gris); margin-bottom: 20px; }
.encart .btn { width: 100%; margin-bottom: 10px; }
.encart-agent { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.encart-agent img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.encart-agent .nom { font-weight: 600; font-size: .96rem; }
.encart-agent .role { font-size: .8rem; color: var(--gris); }

/* DPE / GES */
.dpe-bloc { margin-top: 14px; }
.dpe-titre { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin-bottom: 12px; }
.dpe-echelle { display: flex; flex-direction: column; gap: 3px; max-width: 340px; }
.dpe-ligne { display: flex; align-items: center; gap: 10px; }
.dpe-barre {
  color: #fff; font-weight: 700; font-size: .78rem;
  padding: 5px 10px; border-radius: 2px; min-width: 40px;
  display: flex; align-items: center; gap: 8px;
  opacity: .3; transition: opacity var(--t);
}
.dpe-ligne.actif .dpe-barre { opacity: 1; box-shadow: 0 2px 8px rgba(0,0,0,.16); }
.dpe-ligne.actif .dpe-val { font-weight: 600; color: var(--navy); }
.dpe-val { font-size: .8rem; color: var(--gris); }
.dpe-a { background: #319a68; width: 46%; }
.dpe-b { background: #5fb14e; width: 54%; }
.dpe-c { background: #9fd23c; width: 62%; }
.dpe-d { background: #f2e63e; width: 70%; color: #333 !important; }
.dpe-e { background: #f6b93b; width: 78%; }
.dpe-f { background: #e8712f; width: 86%; }
.dpe-g { background: #d33a2c; width: 94%; }
.dpe-abs { font-size: .88rem; color: var(--gris); font-style: italic; }

.mention-legale {
  font-size: .8rem; color: var(--gris); line-height: 1.5;
  padding: 16px; background: var(--beige-2); border-radius: var(--r); margin-top: 22px;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 17, 30, .96);
  display: none; place-items: center;
}
.lightbox[open], .lightbox.ouverte { display: grid; }
.lightbox img {
  max-width: min(94vw, 1400px); max-height: 84vh;
  object-fit: contain; border-radius: var(--r);
}
.lb-fermer, .lb-prec, .lb-suiv {
  position: absolute; background: rgba(255, 255, 255, .1); border: 0;
  color: #fff; cursor: pointer; border-radius: 50%;
  width: 50px; height: 50px; display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1; transition: background var(--t);
}
.lb-fermer:hover, .lb-prec:hover, .lb-suiv:hover { background: rgba(255, 255, 255, .24); }
.lb-fermer { top: 22px; right: 22px; }
.lb-prec { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-suiv { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-compteur {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .75); font-size: .86rem; letter-spacing: .06em;
}
@media (max-width: 620px) {
  .lb-prec { left: 8px; } .lb-suiv { right: 8px; }
  .lb-fermer { top: 12px; right: 12px; }
}

/* ---------------------------------------------------------- Estimation */

.tunnel {
  background: var(--white); border-radius: var(--r-l);
  box-shadow: var(--ombre-f); overflow: hidden; max-width: 720px; margin-inline: auto;
}
.tunnel-progres { height: 4px; background: var(--beige-2); }
.tunnel-progres i { display: block; height: 100%; background: var(--gold); transition: width .35s cubic-bezier(.2,.7,.3,1); }
.tunnel-corps { padding: clamp(28px, 5vw, 48px); }
.tunnel-etape { display: none; }
.tunnel-etape.active { display: block; animation: fondu .3s ease; }
@keyframes fondu { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tunnel-compte { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; margin-bottom: 12px; }
.tunnel h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-bottom: 1em; }

.choix { display: grid; gap: 10px; }
.choix button {
  text-align: left; padding: 17px 20px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--white); color: var(--navy); font-size: 1rem; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.choix button:hover { border-color: var(--gold); background: #FCFAF6; transform: translateX(3px); }
.choix button[aria-pressed="true"] { border-color: var(--gold); background: #FBF6EE; }
.choix button::after { content: "›"; font-size: 1.4rem; color: var(--gold); line-height: 1; }

.tunnel .champ { margin-bottom: 16px; }
.tunnel-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .tunnel-duo { grid-template-columns: 1fr; } }
.tunnel-actions { display: flex; gap: 12px; margin-top: 26px; align-items: center; }
.tunnel-retour {
  background: none; border: 0; cursor: pointer; color: var(--gris);
  font-size: .9rem; padding: 8px 4px; text-decoration: underline;
}
.tunnel-retour:hover { color: var(--navy); }
.rassurance {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px;
  font-size: .82rem; color: var(--gris);
}
.rassurance span { display: inline-flex; align-items: center; gap: 7px; }
.rgpd { font-size: .78rem; color: var(--gris); margin-top: 18px; line-height: 1.5; }

/* ---------------------------------------------------------- Formulaires */

.form-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grille .pleine { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grille { grid-template-columns: 1fr; } }
textarea { font: inherit; font-size: .95rem; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); resize: vertical; min-height: 130px; width: 100%; }
textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,146,100,.16); }

/* ---------------------------------------------------------- Secteurs */

.grille-secteurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.secteur-carte {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 24px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.secteur-carte:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--ombre); }
/* Une cellule de grille = une carte + ses liens quartier */
.secteur-bloc { display: flex; flex-direction: column; }
.secteur-bloc .secteur-carte { flex: 1; }
.secteur-bloc a[href] { color: inherit; }

.secteur-carte h3 { font-size: 1.3rem; margin-bottom: .3em; }
.secteur-carte p { font-size: .87rem; color: var(--gris); margin: 0; }
.secteur-carte .nb { font-size: .78rem; color: var(--gold-d); font-weight: 600; margin-top: 12px; display: block; }

.puces { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.puces li {
  font-size: .82rem; padding: 7px 14px; border-radius: 100px;
  background: var(--beige-2); border: 1px solid var(--line); color: var(--navy-3);
}
.navy-bloc .puces li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #C6CEDC; }

/* ---------------------------------------------------------- Engagements */

.engagements { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.engagements li {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.engagements .coche {
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold);
  color: #fff; display: grid; place-items: center; font-size: .8rem; flex-shrink: 0;
}
.engagements strong { display: block; font-size: 1.06rem; margin-bottom: 4px; }
.engagements p { font-size: .93rem; color: var(--navy-3); margin: 0; }

/* ---------------------------------------------------------- Tableau honoraires */

.tableau { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tableau caption { text-align: left; font-weight: 600; padding-bottom: 12px; color: var(--gris); font-size: .88rem; }
.tableau th, .tableau td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.tableau th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.tableau td:last-child, .tableau th:last-child { text-align: right; font-weight: 600; }
.tableau tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.alerte {
  border-left: 3px solid var(--gold); background: #FBF6EE;
  padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0; margin: 24px 0;
  font-size: .93rem;
}
.alerte strong { display: block; margin-bottom: 4px; }

/* ---------------------------------------------------------- Bandeau CTA */

.cta-bande { position: relative; overflow: hidden; }
.cta-bande .wrap { position: relative; z-index: 1; }
.cta-bande h2 { max-width: 18ch; }
.cta-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .cta-grille { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- Pied de page */

.pied { background: var(--navy); color: #A8B3C4; font-size: .9rem; }
.pied-haut { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 76px); }
@media (max-width: 820px) { .pied-haut { grid-template-columns: 1fr 1fr; } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied-haut { grid-template-columns: 1fr; } }
.pied img.logo-pied { height: 52px; width: auto; margin-bottom: 20px; }
.pied h4 {
  font-family: Inter, sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 16px;
}
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 10px; }
.pied a { text-decoration: none; transition: color var(--t); }
.pied a:hover { color: var(--white); }
.pied-coord a { display: inline-flex; align-items: center; gap: 8px; }
.pied-social { display: flex; gap: 12px; margin-top: 18px; }
.pied-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center;
  transition: background var(--t), border-color var(--t);
}
.pied-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.pied-bas {
  border-top: 1px solid rgba(255,255,255,.11); padding-block: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: #7D8899;
}
.pied-legal { max-width: 68ch; line-height: 1.6; }

/* ---------------------------------------------------------- Apparition */

.app { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.app.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .app { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- Impression */

@media print {
  .entete, .pied, .encart, .cta-bande, .burger, .lightbox { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-block: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}

/* ---------------------------------------------------------- Page présentation
   Mise en page volontairement dépouillée : une colonne, beaucoup d'air,
   pas de bloc coloré. La sobriété est ici l'argument. */

.presentation { max-width: 880px; margin: 0 auto; padding-inline: var(--pad); }

.presentation-tete {
  text-align: center;
  padding-block: clamp(52px, 7vw, 96px) clamp(30px, 4vw, 52px);
}
.presentation-tete h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: .24em; }
.presentation-tete .sous {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic; color: var(--gold-d);
}

.presentation-duo {
  display: grid; grid-template-columns: 300px 1fr;
  gap: clamp(30px, 5vw, 60px); align-items: start;
}
.presentation-duo.sans-portrait { grid-template-columns: 1fr; max-width: 68ch; margin-inline: auto; }
@media (max-width: 720px) { .presentation-duo { grid-template-columns: 1fr; } }

.presentation-portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-l); box-shadow: var(--ombre);
}
.presentation-portrait figcaption {
  font-size: .82rem; color: var(--gris); margin-top: 12px; text-align: center;
}

.presentation-texte p { font-size: 1.05rem; }
.presentation-texte .signature {
  font-family: "Cormorant Garamond", serif; font-size: 1.5rem;
  color: var(--gold-d); margin-top: 1.3em;
}

.faits {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  margin-block: clamp(46px, 6vw, 78px); padding: 0;
}
.faits > div { padding: 30px 18px; text-align: center; }
.faits > div + div { border-left: 1px solid var(--line); }
.faits dt {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gris); margin-bottom: 10px;
}
.faits dd {
  margin: 0; font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); line-height: 1.05;
}
@media (max-width: 620px) {
  .faits { grid-template-columns: 1fr; }
  .faits > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

.services { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 44px; }
.services li {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  break-inside: avoid; font-size: .98rem;
}
@media (max-width: 620px) { .services { columns: 1; } }

.legal-fin {
  font-size: .85rem; color: var(--gris); line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 26px; margin-top: clamp(42px, 5vw, 68px);
}
.presentation-fin {
  text-align: center; padding-block: clamp(52px, 7vw, 96px);
  border-top: 1px solid var(--line);
  margin-top: clamp(52px, 7vw, 92px);
}
.presentation-fin h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .5em; }

/* ---------------------------------------------------------- Avis clients
   Uniquement des avis réels, repris mot pour mot de leur source, avec la
   référence permettant de les vérifier. Voir contenu/avis.json. */

.avis-grille {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.avis {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 28px 26px;
  display: flex; flex-direction: column;
}
.navy-bloc .avis { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.avis .etoiles { font-size: .9rem; letter-spacing: 3px; margin-bottom: 14px; }
.avis blockquote {
  margin: 0 0 20px; padding: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem; line-height: 1.45; font-style: italic; color: var(--navy);
}
.navy-bloc .avis blockquote { color: var(--beige); }
.avis footer {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--gris); line-height: 1.5;
}
.navy-bloc .avis footer { border-color: rgba(255, 255, 255, .14); color: #9BA6B6; }
.avis footer strong { color: var(--navy); font-weight: 600; display: block; }
.navy-bloc .avis footer strong { color: var(--white); }
.avis-source {
  display: inline-block; margin-top: 6px; font-size: .74rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--gold-d);
}
.navy-bloc .avis-source { color: var(--gold-l); }
