/* ============================================================
   IMMEUBLE DE LIEUSAINT : Style principal
   Mobile-first · Charte hestiard.fr (Yōkai Studio) :
   beige-50 / vert-900 / vert-700 / terracotta, identité plate
   (pas d'ombres), Instrument Sans + Lora (accents serif).
   Structure héritée des pages projets (Résidences du Val).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

/* === VARIABLES ============================================= */
:root {
  --vert-foret:   #063d3e;
  --vert-sage:    #052e2e;
  --vert-clair:   #135152;
  --beige:        #E7CEB1;
  --beige-sombre: #F3E6D8;
  --blanc-casse:  #F9F3EC;
  --gris-doux:    #D5B590;
  --gris-moyen:   #465850;
  --gris-texte:   #012626;
  --sable:        #893E27;
  --sable-clair:  #F3E6D8;
  --anthracite:   #012626;
  --blanc:        #F9F3EC;
  --terracotta-700: #6B301D;
  --beige-100:    #F3E6D8;

  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Lora', Georgia, serif;

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 999px;

  --transition: all .3s ease;
  --max-w: 1200px;
  --section-py: clamp(60px, 8vw, 120px);
}

/* === LUCIDE ICONS ========================================= */
i[data-lucide] { display: inline-flex; align-items: center; justify-content: center; }
.prestation svg      { width: 22px; height: 22px; stroke: var(--vert-foret); stroke-width: 1.75; }
.invest-point svg    { width: 24px; height: 24px; stroke: var(--vert-foret); stroke-width: 1.75; }
.map-info-card svg   { width: 26px; height: 26px; stroke: var(--vert-foret); stroke-width: 1.75; }
.check-ico svg       { width: 14px; height: 14px; stroke: var(--blanc); stroke-width: 2.5; }
.contact-detail svg  { width: 20px; height: 20px; stroke: var(--vert-foret); stroke-width: 1.75; }
.hero-badge svg      { width: 14px; height: 14px; stroke: var(--blanc); stroke-width: 2.5; }
.btn svg             { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.form-success svg    { width: 48px; height: 48px; stroke: var(--vert-foret); stroke-width: 1.5; display: block; margin: 0 auto 12px; }

/* === RESET ================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--gris-texte);
  background: var(--blanc-casse);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* === TYPOGRAPHY ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--anthracite);
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); }
p  { line-height: 1.75; }

/* === LAYOUT ================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.section-py { padding: var(--section-py) 0; }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sable);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gris-moyen);
  line-height: 1.7;
  max-width: 640px;
}

/* === BUTTONS =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--sable);
  color: var(--blanc);
}
.btn-primary:hover { background: var(--terracotta-700); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--anthracite);
  border-color: var(--anthracite);
}
.btn-secondary:hover { background: var(--anthracite); color: var(--blanc); }

.btn-white { background: var(--blanc); color: var(--vert-foret); }
.btn-white:hover { background: var(--beige); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(249,243,236,.65);
}
.btn-outline-white:hover { background: rgba(249,243,236,.15); border-color: var(--blanc); }

.btn-sable { background: var(--blanc); color: var(--anthracite); }
.btn-sable:hover { background: var(--beige); transform: translateY(-2px); }

.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: .82rem; }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-group.centered { justify-content: center; }

/* === HEADER =============================================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,250,247,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
#header.scrolled {
  border-bottom-color: var(--gris-doux);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--vert-foret);
  flex-shrink: 0;
}
.logo span { color: var(--sable); }

nav.desktop-nav { display: none; gap: 28px; align-items: center; }
nav.desktop-nav a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--gris-texte);
  transition: color .2s;
}
nav.desktop-nav a:hover { color: var(--vert-foret); }
.header-cta { display: none; }
.header-back {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding-left: 16px;
  margin-left: 8px;
  border-left: 1px solid var(--gris-doux);
  color: var(--gris-moyen) !important;
}
.header-back svg { width: 14px; height: 14px; }
.header-back:hover { color: var(--vert-foret) !important; }
.mobile-menu .header-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--gris-moyen);
}

.burger-btn {
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; flex-shrink: 0;
}
.burger-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: var(--transition);
}
.burger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.burger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blanc-casse);
  border-top: 1px solid var(--gris-doux);
  padding: 16px 0 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px clamp(16px,4vw,48px);
  font-size: .95rem;
  font-weight: 500;
  color: var(--anthracite);
  border-bottom: 1px solid var(--gris-doux);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--vert-foret); }
.mobile-menu .btn { margin: 20px clamp(16px,4vw,48px) 0; }

@media (min-width: 1024px) {
  nav.desktop-nav { display: flex; }
  .header-cta { display: flex; }
  .burger-btn { display: none; }
}

/* === HERO ================================================= */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/facade-rue.webp') center 62% / cover no-repeat;
  transform: scale(1.03);
  transition: transform 7s ease;
}
#hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(1,38,38,.9) 0%,
    rgba(1,38,38,.55) 40%,
    rgba(1,38,38,.25) 100%
  );
}
.hero-content { position: relative; z-index: 1; max-width: 740px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sable);
  color: var(--blanc);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--blanc);
  margin-bottom: 32px;
}
.hero-price { color: var(--beige); }
.hero-stats-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(249,243,236,.55);
  margin-bottom: 8px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
.hero-stat {
  background: rgba(249,243,236,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(249,243,236,.22);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--blanc);
  text-align: center;
}
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .hero-stat { padding: 14px 22px; }
}
.hero-stat .val {
  display: block;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.hero-stat .lbl {
  font-size: .67rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}

/* === LE PROJET ============================================ */
#projet { background: var(--blanc-casse); }
.lifestyle-grid { display: grid; gap: 48px; }
.lifestyle-text p { margin-bottom: 20px; color: var(--gris-texte); font-size: 1.02rem; }
.lifestyle-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}
.lifestyle-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 500;
}
.lifestyle-check::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--vert-foret);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.lifestyle-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lifestyle-img-main {
  grid-column: 1 / -1;
  height: 270px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.lifestyle-img-main img,
.lifestyle-img-sm img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.lifestyle-img-main:hover img,
.lifestyle-img-sm:hover img { transform: scale(1.05); }
.lifestyle-img-sm {
  height: 165px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .lifestyle-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .lifestyle-img-main { height: 360px; }
  .lifestyle-img-sm { height: 210px; }
}

/* === LES APPARTEMENTS ===================================== */
#appartements { background: var(--beige); }

.lots-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--gris-doux);
  background: var(--blanc);
  -webkit-overflow-scrolling: touch;
}
.lots-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .9rem;
}
.lots-table th {
  background: var(--vert-foret);
  color: var(--blanc);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lots-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gris-doux);
  color: var(--gris-texte);
  vertical-align: middle;
}
.lots-table tr:last-child td { border-bottom: none; }
.lots-table tr:hover td { background: var(--beige); }
.lots-table .lot-cell-num {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--anthracite);
  white-space: nowrap;
}
.lots-table .lot-cell-prix { font-weight: 600; color: var(--vert-foret); white-space: nowrap; }

.lot-type-badge {
  display: inline-block;
  background: var(--vert-foret);
  color: var(--blanc);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 3px 12px;
}
.lot-type-badge.atypique { background: var(--sable); }

.lots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.lot-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gris-doux);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lot-card:hover, .lot-card.highlight {
  border-color: var(--anthracite);
  transform: translateY(-3px);
}
.lot-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lot-num {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--anthracite);
}
.lot-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--beige);
  color: var(--vert-foret);
}
.lot-tag.atypique { background: var(--sable-clair); color: var(--terracotta-700); }
.lot-infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lot-info { font-size: .83rem; color: var(--gris-moyen); }
.lot-info strong { display: block; color: var(--anthracite); font-size: .92rem; margin-bottom: 1px; }
.lot-desc { font-size: .85rem; color: var(--gris-moyen); line-height: 1.55; }
.lot-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vert-foret);
}
.lot-card .btn { width: 100%; }

@media (min-width: 640px)  { .lots-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .lots-grid { grid-template-columns: repeat(3,1fr); } }

/* === PRESTATIONS ========================================== */
#prestations { background: var(--blanc-casse); }
.prestations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 48px;
}
.prestation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--beige);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.prestation .icon { font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }
.prestation h4 { font-size: .88rem; color: var(--anthracite); margin-bottom: 2px; }
.prestation p  { font-size: .78rem; color: var(--gris-moyen); line-height: 1.45; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; }
.gallery-item img { width: 100%; height: 190px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.big { grid-column: 1 / -1; }
.gallery-item.big img { height: 300px; }

@media (min-width: 640px)  { .prestations-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) {
  .prestations-grid { grid-template-columns: repeat(3,1fr); }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .gallery-item img     { height: 240px; }
  .gallery-item.big img { height: 400px; }
}

/* === ÉTATS INTÉRIEURS ===================================== */
.etat-section-titre {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--anthracite);
}
.etat-comparatif { margin-bottom: 48px; }
.etat-titre {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vert-foret);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sable);
}
.etat-titre svg { width: 20px; height: 20px; }
.etat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.etat-card { display: flex; flex-direction: column; gap: 10px; }
.etat-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}
.etat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
}
.etat-label svg { width: 15px; height: 15px; flex-shrink: 0; }
.etat-label--bon  { background: var(--beige-100); color: var(--vert-foret); }
.etat-label--travaux { background: var(--beige-100); color: var(--terracotta-700); }
@media (max-width: 600px) {
  .etat-grid { grid-template-columns: 1fr; }
  .etat-card img { height: 200px; }
}

/* === ENGAGEMENT HESTIARD ================================== */
.estiar-section { background: var(--vert-foret); }
.estiar-grid { display: grid; gap: 32px; }

.estiar-checklist-wrap {
  background: rgba(249,243,236,.06);
  border: 1px solid rgba(249,243,236,.12);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  min-width: 0;
}
@media (min-width: 640px) { .estiar-checklist-wrap { padding: 36px 32px; } }
.estiar-checklist { display: flex; flex-direction: column; gap: 0; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(249,243,236,.1);
}
.check-item:last-child { border-bottom: none; padding-bottom: 0; }
.check-item:first-child { padding-top: 0; }
.check-ico {
  width: 28px; height: 28px;
  background: var(--beige);
  color: var(--vert-foret);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-ico svg { width: 14px; height: 14px; stroke: var(--vert-foret); }
.check-item span:last-child { font-size: .92rem; color: rgba(249,243,236,.9); font-weight: 500; line-height: 1.55; }

.estiar-about {
  background: rgba(249,243,236,.08);
  border: 1px solid rgba(249,243,236,.15);
  color: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.estiar-about .logo-txt {
  display: block;
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--beige);
  letter-spacing: .06em;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(249,243,236,.15);
}
.estiar-about h3 { color: var(--blanc); margin-bottom: 14px; font-size: 1.1rem; font-weight: 600; }
.estiar-about p  { opacity: .82; font-size: .9rem; line-height: 1.75; }

@media (min-width: 1024px) { .estiar-grid { grid-template-columns: 3fr 2fr; align-items: start; } }
.estiar-section h2,
.estiar-section .section-title { color: var(--blanc); }
.estiar-section .section-label { color: var(--beige); }
.estiar-section .section-desc  { color: rgba(249,243,236,.75); }

/* === LOCALISATION / CARTE ================================= */
#localisation { background: var(--blanc-casse); }

.map-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gris-doux);
  margin-bottom: 20px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-md);
}
@media (min-width: 768px) { .map-wrap iframe { height: 500px; } }

.map-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blanc);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--anthracite);
  border: 1px solid var(--gris-doux);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.map-infos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px)  { .map-infos { grid-template-columns: repeat(4, 1fr); } }

.map-info-card {
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gris-doux);
}
.map-info-card .icon { font-size: 1.5rem; flex-shrink: 0; }
.map-info-card strong { display: block; font-size: .92rem; color: var(--anthracite); margin-bottom: 2px; }
.map-info-card span   { font-size: .8rem; color: var(--vert-foret); font-weight: 600; }

/* === COMPARATIF NEUF ====================================== */
#comparatif {
  background: var(--vert-foret);
  color: var(--blanc);
}
#comparatif h2 { color: var(--blanc); }
#comparatif .section-label { color: var(--beige); }
#footer-cta .section-label { color: var(--beige); }
#comparatif .section-desc { color: rgba(249,243,236,.75); }
.comparatif-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
.compa-col {
  border-radius: var(--radius-md);
  padding: 32px;
}
.compa-col.construire {
  background: rgba(249,243,236,.08);
  border: 1px solid rgba(249,243,236,.15);
}
.compa-col.rdv {
  background: var(--blanc);
  color: var(--anthracite);
}
.compa-col h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(249,243,236,.2);
}
.compa-col.rdv h3 { color: var(--vert-foret); border-color: var(--gris-doux); }
.compa-col ul { display: flex; flex-direction: column; gap: 10px; }
.compa-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  line-height: 1.45;
}
.compa-col.construire li::before { content: '✗'; color: var(--beige); font-weight: 700; flex-shrink: 0; }
.compa-col.rdv       li::before { content: '✓'; color: var(--vert-foret); font-weight: 700; flex-shrink: 0; }
.compa-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vert-foret);
  margin-top: 16px;
  line-height: 1.2;
}
.compa-price small { font-size: .9rem; font-family: var(--font-body); font-weight: 400; color: var(--gris-moyen); }

@media (min-width: 768px) { .comparatif-grid { grid-template-columns: 1fr 1fr; } }

/* === FINANCEMENT ========================================== */
#financement { background: var(--beige); }
.calculateur {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gris-doux);
  margin-bottom: 20px;
}
.calc-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.calc-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .88rem;
  color: var(--gris-texte);
  margin-bottom: 10px;
}
.calc-label strong { color: var(--vert-foret); font-size: 1.1rem; }
.calc-toggle {
  display: flex;
  border: 1.5px solid var(--gris-doux);
  border-radius: 40px;
  overflow: hidden;
  flex-shrink: 0;
}
.calc-toggle-btn {
  padding: 7px 18px;
  font-size: .85rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gris-moyen);
  transition: background .2s, color .2s;
}
.calc-toggle-btn.active {
  background: var(--vert-foret);
  color: var(--blanc);
}
input[type=range] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--gris-doux);
  border-radius: 3px;
  outline: none;
  margin-bottom: 24px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  background: var(--vert-foret);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--blanc);
  box-shadow: var(--shadow-sm);
}
input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--vert-foret);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--blanc);
}
.calc-result {
  background: var(--beige);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  text-align: center;
}
.calc-result .mensualite {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--vert-foret);
  line-height: 1;
}
.calc-result p { font-size: .78rem; color: var(--gris-moyen); margin-top: 8px; }

.mention-legale {
  font-size: .76rem;
  color: var(--gris-moyen);
  font-style: italic;
  line-height: 1.55;
}

/* === INVESTISSEMENT ======================================= */
#investisseurs { background: var(--blanc-casse); }
.invest-grid { display: grid; gap: 48px; }
.invest-points { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 32px; }
.invest-point {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--beige);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--vert-clair);
}
.invest-point .icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.invest-point h4 { font-size: .92rem; margin-bottom: 3px; color: var(--anthracite); }
.invest-point p  { font-size: .82rem; color: var(--gris-moyen); line-height: 1.5; }

.invest-visual {
  background: var(--vert-foret);
  border-radius: var(--radius-lg);
  color: var(--blanc);
  overflow: hidden;
}
.invest-locatif { padding: 0; }
.invest-loc-img { width: 100%; height: 200px; overflow: hidden; }
.invest-loc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.invest-loc-body { padding: 28px 30px 32px; }
.invest-loc-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--beige);
  color: var(--anthracite);
  border-radius: 40px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.invest-loc-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blanc);
  line-height: 1.35;
  margin-bottom: 14px;
}
.invest-loc-desc { font-size: .88rem; line-height: 1.75; opacity: .82; }
.invest-loc-cta {
  display: inline-block;
  margin-top: 22px;
  background: var(--blanc);
  color: var(--anthracite);
  font-weight: 700;
  font-size: .88rem;
  padding: 13px 26px;
  border-radius: 40px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.invest-loc-cta:hover { background: var(--beige); transform: translateY(-1px); }

@media (min-width: 1024px) { .invest-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* === TRANSPARENCE ========================================= */
#transparence {
  background: var(--beige);
  border-top: 5px solid var(--sable);
}
.autoroute-grid { display: grid; gap: 48px; }
.autoroute-intro p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 20px; }

.autoroute-points { display: flex; flex-direction: column; gap: 14px; }
.autoroute-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--blanc);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border: 1px solid var(--gris-doux);
}
.autoroute-point-ico {
  width: 34px; height: 34px;
  background: var(--sable-clair);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.autoroute-point-ico svg { width: 16px; height: 16px; stroke: var(--sable); }
.autoroute-point p { font-size: .92rem; line-height: 1.6; color: var(--gris-texte); margin: 0; }
.autoroute-point p strong { color: var(--anthracite); }
.autoroute-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--vert-foret);
  color: var(--vert-foret);
  font-weight: 600;
  font-size: .88rem;
  padding: 12px 24px;
  border-radius: 40px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline-dark:hover { background: var(--vert-foret); color: var(--blanc); }

.autoroute-visual { display: flex; flex-direction: column; gap: 16px; }
.autoroute-img { border-radius: var(--radius-md); overflow: hidden; height: 240px; }
.autoroute-img img { width: 100%; height: 100%; object-fit: cover; }

.phrase-forte {
  background: var(--vert-foret);
  color: var(--blanc);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.65;
  text-align: center;
}

@media (min-width: 1024px) {
  .autoroute-grid { grid-template-columns: 3fr 2fr; align-items: start; }
  .autoroute-img { height: 320px; }
}

/* === FAQ ================================================== */
#faq { background: var(--blanc-casse); }
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--blanc);
  border-radius: var(--radius-md);
  border: 1px solid var(--gris-doux);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: var(--vert-foret); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  text-align: left;
  font-size: .92rem;
  font-weight: 600;
  color: var(--anthracite);
  transition: color .2s;
}
.faq-q:hover { color: var(--vert-foret); }
.faq-ico {
  width: 26px; height: 26px;
  background: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--vert-foret);
  font-weight: 400;
  transition: transform .3s, background .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--vert-foret); color: var(--blanc); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-a-inner {
  padding: 0 22px 18px;
  border-top: 1px solid var(--gris-doux);
  padding-top: 14px;
  font-size: .88rem;
  color: var(--gris-texte);
  line-height: 1.75;
}

/* === FORMULAIRE CONTACT =================================== */
#contact { background: var(--beige); }
.contact-grid { display: grid; gap: 48px; }
.contact-infos p { color: var(--gris-moyen); margin-bottom: 28px; font-size: .95rem; line-height: 1.7; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  margin-bottom: 14px;
}
.contact-detail .ico { font-size: 1.2rem; width: 30px; text-align: center; }
.contact-detail[hidden] { display: none; }

.contact-form {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gris-doux);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--anthracite); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gris-doux);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--anthracite);
  background: var(--blanc-casse);
  transition: border-color .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--vert-foret); background: var(--blanc); }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--terracotta-700); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { color: var(--anthracite); }

.form-error-msg {
  display: none;
  background: var(--beige-100);
  border: 1px solid var(--terracotta-700);
  color: var(--terracotta-700);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .85rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.form-success {
  display: none;
  background: var(--beige-100);
  border: 1px solid var(--vert-clair);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  color: var(--vert-foret);
  font-weight: 600;
  line-height: 1.6;
}
.form-success .ico { font-size: 2.5rem; display: block; margin-bottom: 12px; }

@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; align-items: start; } }

/* === FOOTER CTA =========================================== */
#footer-cta {
  background: var(--anthracite);
  color: var(--blanc);
  text-align: center;
  padding: clamp(60px,8vw,100px) 0;
}
#footer-cta h2 { color: var(--blanc); max-width: 640px; margin: 0 auto 16px; }
#footer-cta p  { color: rgba(249,243,236,.7); max-width: 540px; margin: 0 auto 40px; font-size: 1.02rem; }
.footer-legal {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(249,243,236,.1);
  font-size: .75rem;
  color: rgba(249,243,236,.35);
  line-height: 1.7;
}
.footer-legal a { color: rgba(249,243,236,.5); text-decoration: underline; }

/* === STICKY MOBILE CTA ==================================== */
.sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--blanc-casse);
  border-top: 1px solid var(--gris-doux);
  padding: 10px 16px;
  gap: 8px;
}
.sticky-cta .btn { flex: 1; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* === SCROLL ANIMATIONS ==================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-bg { transition: none; }
}

/* === FOCUS (DS §5) ======================================== */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sable);
  outline-offset: 3px;
}
#hero a:focus-visible, #hero button:focus-visible,
.estiar-section :is(a, button):focus-visible,
#comparatif :is(a, button):focus-visible,
#footer-cta :is(a, button):focus-visible,
.invest-visual :is(a, button):focus-visible {
  outline-color: var(--beige);
}

/* === UTILITIES ============================================ */
.mt-4  { margin-top:  4px; }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }

/* === LIEUSAINT : ÉTIQUETTES DPE + NOTES LOTS ============== */
[hidden] { display: none !important; }
.dpe { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.dpe-l {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 24px; padding: 0 7px;
  border-radius: 6px; border: 1px solid var(--gris-doux);
  font-size: .8rem; font-weight: 700; font-style: normal; line-height: 1;
  color: var(--anthracite);
}
.dpe-A { background: #4fae86; }
.dpe-B { background: #7cbf6a; }
.dpe-C { background: #b7cf5a; }
.dpe-D { background: #ead96a; }
.dpe-E { background: #e9b94f; }
.dpe-F { background: #df8a4b; }
.dpe-G { background: #c4453a; color: var(--blanc-casse); }
.dpe-mention { font-size: .85rem; color: var(--gris-moyen); font-weight: 600; }
.lot-info strong .dpe { margin-top: 2px; }
.lots-table .dpe-l { min-width: 24px; height: 22px; font-size: .75rem; }
.lot-note {
  margin-top: 10px; padding: 8px 12px;
  border-left: 3px solid var(--sable);
  background: var(--beige-100);
  font-size: .78rem; font-weight: 600; color: var(--terracotta-700); line-height: 1.45;
}
