/* Thème inspiré des codes Lloyd & Davis : blanc, anthracite, bleu canard (résidentiel), or (prestige), angles droits, photos réelles */
body { font-size: 16.5px; line-height: 1.7; }
h1, h2, h3, h4 { letter-spacing: 0; font-weight: 600; color: var(--nuit); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.4rem; line-height: 1.2; }
.surtitre { font-family: var(--corps); font-weight: 700; font-size: .72rem; letter-spacing: .2em; color: var(--teal-fonce); }

/* Boutons carrés, capitales */
.btn { border-radius: 0; font-family: var(--corps); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; padding: .95rem 1.5rem; }
.btn-teal, .btn-prune { background: var(--teal); color: #fff; border: 0; }
.btn-teal:hover, .btn-prune:hover { background: var(--teal-fonce); color: #fff; }
.nav-principale a.btn-teal, .nav-principale a.btn-teal:hover { color: #fff; }
.btn-ocre { background: var(--ocre); color: #fff; }
.btn-ocre:hover, .btn-ocre:focus { background: var(--ocre-fonce); color: #fff; }
.btn-ligne { border-color: rgba(255,255,255,.85); }

/* En-tête */
.topbar { background: var(--prune); color: #e8e8e6; }
.entete { border-bottom: 1px solid var(--sable-2); }
.nav-principale a { font-size: .9rem; }
.nav-principale a:hover, .nav-principale a[aria-current] { color: var(--teal-fonce); }

/* Logo texte */
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; border-left: 3px solid var(--teal); padding-left: .8rem; }
.logo-nom { font-family: var(--titre); font-size: 1.65rem; font-weight: 600; color: var(--nuit); letter-spacing: .06em; text-transform: uppercase; }
.logo-sous { font-family: var(--corps); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ocre-fonce); margin-top: .35rem; font-weight: 700; }
.logo-clair { display: inline-flex; margin-bottom: 1.2rem; }
.logo-clair .logo-nom { color: #fff; }
.logo-clair .logo-sous { color: var(--ocre); }
@media (max-width: 575.98px) { .logo-nom { font-size: 1.3rem; } .logo-sous { font-size: .56rem; letter-spacing: .14em; } }

/* Hero : vraie photo voilée */
.hero { background: var(--nuit); color: #f1f1ef; padding: 3rem 0 4.5rem; }
.hero::before, .hero.has-photo::before { background: linear-gradient(90deg, rgba(30,29,30,.86) 0%, rgba(30,29,30,.62) 50%, rgba(30,29,30,.30) 100%), var(--photo) center / cover no-repeat; opacity: 1; }
.hero .chapeau { color: #ecebe9; }
.hero .surtitre { color: #fff; }
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.ariane, .ariane a { color: #e6e5e3; }
.chiffres-hero strong { font-size: 2rem; }
.chiffres-hero small { color: #dcdbd9; }
@media (max-width: 991.98px) { .hero::before, .hero.has-photo::before { opacity: 1; background: linear-gradient(180deg, rgba(30,29,30,.78), rgba(30,29,30,.9)), var(--photo) center / cover no-repeat; } }

/* Carte formulaire */
.carte-form { border-radius: 0; border-top: 4px solid var(--teal); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.titre-form { font-size: 1.6rem; }

/* Mosaïque d'entrée : résidentiel / prestige */
.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; }
.tuile { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; text-decoration: none; }
.tuile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.6)); }
.tuile:hover img { transform: scale(1.04); }
.etiquette { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; padding: .9rem 1.4rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; color: #fff; }
.etiquette-teal { background: var(--teal); }
.etiquette-or { background: var(--ocre); }
.tuile-txt { position: absolute; left: 0; right: 0; bottom: 1.2rem; z-index: 1; text-align: center; font-family: var(--titre); font-size: 1.3rem; font-weight: 600; padding: 0 1rem; }
@media (max-width: 767.98px) { .mosaique { grid-template-columns: 1fr; } .etiquette { white-space: normal; text-align: center; } }

/* Sections sombres en anthracite */
.section-nuit, .diffusion, .releve-tete, .simu-resultat, .tableau th, .barre-fixe { background: var(--prune); }
.pied { background: #3b393a; }
.section-nuit .surtitre, .diffusion .surtitre { color: var(--lavande); }
.section-nuit, .section-nuit .etapes p, .diffusion, .diffusion .gros-legende { color: #e6e5e3; }
.section-nuit .lignes .n { color: var(--lavande); }
.reponse { border-left-color: var(--teal); border-radius: 0; }
.releve, .tableau, .table-scroll, .simu, .types-grille, .bien, .popup-boite, .visuel { border-radius: 0; }
.popup-boite { border-top-color: var(--teal); }
.releve-tete strong { font-size: 1.2rem; }
.releve td { font-size: 1.15rem; }
.lignes .n { color: var(--teal-fonce); font-size: 1.35rem; }
.lignes strong { font-family: var(--corps); font-weight: 700; }
.index-liens a::after, .types-grille .fleche, .faq summary::after { color: var(--teal-fonce); }
.index-liens a:hover { color: var(--teal-fonce); }
.types-grille .fleche { font-family: var(--corps); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.faq summary { font-size: 1.3rem; }
.barre .jauge, .barre .jauge span { border-radius: 0; }
.barre .jauge span { background: var(--teal); }
.etapes-pastilles span.on { background: var(--teal); }

/* Bandeau CTA or */
.bandeau-cta { background: var(--ocre); color: #fff; }
.bandeau-cta h2, .bandeau-cta p { color: #fff; }
.bandeau-cta .btn-prune, .bandeau-cta .btn-teal { background: #fff; color: var(--nuit); }
.bandeau-cta .btn-ligne { color: #fff; }
.pied h3 { font-family: var(--corps); font-size: .78rem; letter-spacing: .18em; }

/* Portrait réel, rond noir et blanc comme sur sa fiche du réseau */
.portrait .photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: none; display: block; filter: grayscale(1); }

/* Biens */
.bien { box-shadow: none; border: 1px solid var(--sable-2); }
.bien-prix { border-radius: 0; background: var(--ocre); font-family: var(--corps); font-weight: 800; font-size: .95rem; }
.bien-titre { font-size: 1.5rem; }
.bien-lien { color: var(--teal-fonce); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }

/* Corrections après capture */
.logo, .logo-nom, .logo-sous, .nav-principale a { white-space: nowrap; }
.logo { flex-shrink: 0; }
.nav-principale { gap: 1.25rem; }
.entete .btn { padding: .7rem 1.1rem; }
.etapes h3 { font-size: 1.3rem; }
.types-grille h3 { font-size: 1.45rem; }
.types-grille p { font-size: .92rem; }
@media (max-width: 1199.98px) and (min-width: 1100px) { .nav-principale { gap: .9rem; } .nav-principale a { font-size: .84rem; } }

/* v3 : titres sans serif (Manrope) + textes pleine largeur */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); line-height: 1.15; }
h3, .types-grille h3, .etapes h3 { font-size: 1.15rem; }
.bien-titre { font-size: 1.2rem; }
.faq summary { font-size: 1.05rem; font-weight: 700; }
.titre-form { font-size: 1.3rem; font-weight: 700; }
.logo-nom { font-size: 1.25rem; font-weight: 800; letter-spacing: .1em; }
.tuile-txt { font-size: 1.05rem; font-weight: 700; }
.chiffres-hero strong { font-size: 1.7rem; font-weight: 800; }
.releve-tete strong, .releve td { font-size: 1rem; font-weight: 700; }
.lignes .n { font-size: 1.05rem; font-weight: 800; }
.diffusion .gros { font-weight: 800; }
.etapes li::before { font-weight: 800; font-size: 2rem; }
@media (max-width: 575.98px) { .logo-nom { font-size: 1.05rem; } }
.prose p, .prose ul, .prose ol, .reponse, .lead-txt, .faq details > div, .hero .chapeau, .section-nuit p, .diffusion p { max-width: none; }
.section-biens { padding-bottom: 2rem; }
.carte-form .tally-form{min-height:340px}

/* Encadré (relevé, simulateur) au-dessus d'un texte pleine largeur */
.aside-large > div { margin-bottom: .5rem; }
@media (min-width: 768px) {
  .aside-large .releve table, .aside-large .releve tbody { display: block; }
  .aside-large .releve tbody { display: grid; grid-template-columns: repeat(3, 1fr); }
  .aside-large .releve tr { display: flex; justify-content: space-between; gap: 1rem; border-right: 1px solid var(--sable); border-bottom: 1px solid var(--sable); }
  .aside-large .releve th, .aside-large .releve td { border: 0; width: auto; }
  .aside-large .simu-teaser, .aside-large > .p-4 { display: grid; grid-template-columns: 1fr auto; gap: .4rem 2rem; align-items: center; }
  .aside-large .simu-teaser > :not(.btn):not(a.btn), .aside-large > .p-4 > :not(.btn) { grid-column: 1; }
  .aside-large .simu-teaser .btn, .aside-large > .p-4 .btn { grid-column: 2; grid-row: 1 / span 4; }
}
.rounded-3{border-radius:0!important}

/* v4 : logo image + menu en capitales */
.logo { border-left: 0; padding-left: 0; }
.logo img { height: 42px; width: auto; display: block; }
.logo-pied { height: 42px; width: auto; display: block; margin-bottom: 1.2rem; }
@media (max-width: 575.98px) { .logo img { height: 34px; } }
.nav-principale a { text-transform: uppercase; font-size: .76rem; font-weight: 700; letter-spacing: .1em; }
.nav-principale { gap: 1.4rem; }
@media (max-width: 1199.98px) and (min-width: 1100px) { .nav-principale { gap: 1rem; } .nav-principale a { font-size: .7rem; letter-spacing: .06em; } }
@media (max-width: 1099.98px) { .nav-principale a { font-size: .85rem; } }

/* Réassurance du hero (remplace les chiffres de marché) */
.reassurance-hero { list-style: none; padding: 1.4rem 0 0; margin: 1.8rem 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.8rem; }
.reassurance-hero li { display: flex; gap: .75rem; align-items: flex-start; }
.reassurance-hero svg { flex: 0 0 auto; color: var(--teal); background: rgba(255,255,255,.95); border-radius: 50%; padding: 4px; width: 28px; height: 28px; margin-top: 1px; }
.reassurance-hero strong { display: block; color: #fff; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.reassurance-hero small { display: block; color: #dcdbd9; font-size: .86rem; line-height: 1.4; margin-top: .15rem; }
@media (max-width: 575.98px) { .reassurance-hero { grid-template-columns: 1fr; gap: .9rem; } }

/* Filtres de recherche (barre compacte) */
.section-filtres { padding: .9rem 0; background: #f6f5f3; border-bottom: 1px solid #e6e3df; }
.filtres-recherche { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.fr-select { width: auto; min-width: 175px; max-width: 220px; min-height: 36px; padding-top: .3rem; padding-bottom: .3rem; font-size: .9rem; }
.fr-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.fr-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b6a68; margin-right: .15rem; }
.fr-chip { display: inline-flex; align-items: center; min-height: 34px; padding: .25rem .7rem; border: 1.5px solid #d9d5cf; background: #fff; color: var(--nuit, #1e1d1e); text-decoration: none; font-size: .84rem; font-weight: 600; border-radius: 999px; cursor: pointer; line-height: 1.2; transition: border-color .15s, background .15s; }
.fr-chip:hover { border-color: var(--teal); color: var(--nuit, #1e1d1e); }
.fr-chip.actif { background: var(--teal); border-color: var(--teal); color: #fff; }
@media (max-width: 767.98px) {
  .filtres-recherche { flex-wrap: nowrap; overflow-x: auto; gap: .4rem 1rem; padding-bottom: .3rem; scrollbar-width: none; }
  .filtres-recherche::-webkit-scrollbar { display: none; }
  .fr-groupe { flex-wrap: nowrap; flex: 0 0 auto; }
  .fr-chip { white-space: nowrap; }
  .fr-select { flex: 0 0 auto; min-width: 170px; }
}
.fr-budget input[type=range] { width: 130px; accent-color: var(--teal); }
.fr-val { min-width: 5.6rem; font-size: .86rem; font-weight: 700; color: var(--nuit, #1e1d1e); font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) { .fr-budget input[type=range] { width: 140px; } }

/* Bouton WhatsApp : vert officiel + logo */
.btn-wa { display: inline-flex; align-items: center; gap: .5rem; background: #25D366; border: 1.5px solid #25D366; color: #fff; }
.btn-wa:hover, .btn-wa:focus { background: #1DA851; border-color: #1DA851; color: #fff; }
.btn-wa .ico-wa { flex: none; }
.pied .btn-wa { color: #fff; text-decoration: none; }
.lien-wa { display: inline-flex; align-items: center; gap: .35rem; color: #25D366; font-weight: 700; }
.lien-wa:hover, .lien-wa:focus { color: #1DA851; }
