/* ============================================================
   RÉSIDENCES DU VAL — Style principal
   Mobile-first · Palette : vert forêt / beige / sable / blanc
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* === VARIABLES ============================================= */
:root {
  --vert-foret:   #063d3e;
  --vert-sage:    #0a5c5e;
  --vert-clair:   #1a8a8c;
  --beige:        #F5F0E8;
  --beige-sombre: #EDE7D9;
  --blanc-casse:  #FAFAF7;
  --gris-doux:    #E4E0D8;
  --gris-moyen:   #9A9590;
  --gris-texte:   #4A4A4A;
  --sable:        #C8A96A;
  --sable-clair:  #F0E4C0;
  --anthracite:   #1C1C1C;
  --blanc:        #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,.11);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.16);

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   28px;
  --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; }
/* Tailles globales */
.key-icon svg        { width: 36px; height: 36px; stroke: var(--vert-foret); stroke-width: 1.5; }
.cadre-card svg      { width: 28px; height: 28px; stroke: var(--vert-foret); stroke-width: 1.5; }
.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; }
.po-point svg        { width: 16px; height: 16px; stroke: rgba(255,255,255,.9); stroke-width: 2; }
.po-urgence svg      { width: 16px; height: 16px; stroke: rgba(255,255,255,.55); stroke-width: 2; }
.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; }
.mesure-placeholder svg { width: 14px; height: 14px; stroke: var(--gris-moyen); stroke-width: 2; }

/* === RESET ================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  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: 'Playfair Display', Georgia, serif;
  color: var(--anthracite);
  line-height: 1.2;
}
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(--vert-foret);
  color: var(--blanc);
  box-shadow: 0 4px 16px rgba(6,61,62,.28);
}
.btn-primary:hover { background: var(--vert-sage); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(6,61,62,.38); }

.btn-secondary {
  background: transparent;
  color: var(--vert-foret);
  border-color: var(--vert-foret);
}
.btn-secondary:hover { background: var(--vert-foret); 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(255,255,255,.65);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--blanc); }

.btn-sable { background: var(--sable); color: var(--blanc); }
.btn-sable:hover { background: #b89858; 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: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  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; }

.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/hero.jpg') center 35% / 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(3,25,26,.88) 0%,
    rgba(3,25,26,.52) 40%,
    rgba(3,25,26,.22) 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;
  animation: pulse-sable 2.4s infinite;
}
@keyframes pulse-sable {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,169,106,.45); }
  50%      { box-shadow: 0 0 0 10px rgba(200,169,106,0); }
}

.hero-title {
  color: var(--blanc);
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-stat {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--blanc);
  text-align: center;
  min-width: 90px;
}
.hero-stat .val {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.hero-stat .lbl {
  font-size: .67rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}

/* === POINTS CLÉS =========================================== */
#points-cles { background: var(--blanc-casse); }
.key-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.key-card {
  background: var(--blanc);
  border: 1px solid var(--gris-doux);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.key-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--vert-clair); }
.key-icon { font-size: 2rem; margin-bottom: 12px; }
.key-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vert-foret);
  line-height: 1.2;
  margin-bottom: 6px;
}
.key-lbl { font-size: .82rem; color: var(--gris-moyen); line-height: 1.4; }

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

/* === VIE DE MAISON ======================================== */
#vie-de-maison { background: var(--beige); }
.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; }
}

/* === CADRE DE VIE ========================================= */
#cadre-de-vie { background: var(--blanc-casse); }
.cadre-grid { display: grid; gap: 48px; }
.cadre-img { border-radius: var(--radius-md); overflow: hidden; height: 320px; }
.cadre-img img { width: 100%; height: 100%; object-fit: cover; }
.cadre-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.cadre-card {
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  border: 1px solid var(--gris-doux);
}
.cadre-card .icon { font-size: 1.7rem; margin-bottom: 8px; }
.cadre-card h4 { font-size: .9rem; color: var(--vert-foret); margin-bottom: 5px; }
.cadre-card p { font-size: .8rem; color: var(--gris-moyen); line-height: 1.5; }

@media (min-width: 1024px) {
  .cadre-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .cadre-img { height: 520px; }
}

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

.map-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  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);
  box-shadow: var(--shadow-md);
  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; }

/* === LOTS ================================================= */
#lots { background: var(--beige); }
.lots-map-wrap {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}
.lots-map-wrap img { width: 100%; height: auto; display: block; }

.lot-pin {
  position: absolute;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blanc);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: var(--transition);
  border: 3px solid var(--blanc);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  line-height: 1;
}
.lot-pin:hover { transform: translate(-50%, -50%) scale(1.25); z-index: 3; }
.lot-pin.disponible { background: var(--vert-foret); }
.lot-pin.reserve    { background: var(--sable); }
.lot-pin.vendu      { background: var(--gris-moyen); }

.lots-legend {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.legend-item { display: flex; align-items: center; gap: 7px; font-size: .83rem; font-weight: 500; }
.legend-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.1);
}
.legend-dot.disponible { background: var(--vert-foret); }
.legend-dot.reserve    { background: var(--sable); }
.legend-dot.vendu      { background: var(--gris-moyen); }

.lots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.lot-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lot-card:hover, .lot-card.highlight {
  border-color: var(--vert-foret);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.lot-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lot-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--anthracite);
}
.lot-statut {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.lot-statut.disponible { background: #E8F5E0; color: #1E5010; }
.lot-statut.reserve    { background: #FDF4E3; color: #8B6914; }
.lot-statut.vendu      { background: var(--gris-doux); color: var(--gris-moyen); }

.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-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--vert-foret);
}
.lot-card .btn { width: 100%; }
.lot-card .btn-disabled {
  background: var(--gris-doux);
  color: var(--gris-moyen);
  pointer-events: none;
  cursor: default;
}

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

/* === INTÉRIEURS & PRESTATIONS ============================= */
#interieurs { 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; cursor: zoom-in; }
.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(4,1fr); }
  .gallery-item img     { height: 240px; }
  .gallery-item.big img { height: 400px; }
}

/* === OPPORTUNITÉ (COMPARATIF) ============================= */
#opportunite {
  background: var(--vert-foret);
  color: var(--blanc);
}
#opportunite h2 { color: var(--blanc); }
#opportunite .section-desc { color: rgba(255,255,255,.75); }
.comparatif-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
.compa-col {
  border-radius: var(--radius-md);
  padding: 32px;
}
.compa-col.construire {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.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(255,255,255,.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: #FF8A8A; 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: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--vert-foret);
  margin-top: 16px;
  line-height: 1.1;
}
.compa-price small { font-size: .9rem; font-family: 'Inter', sans-serif; font-weight: 400; color: var(--gris-moyen); }

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

/* === MENSUALITÉS ========================================== */
#mensualites { background: var(--beige); }
.mensualites-exemples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 36px 0;
}
.mens-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 2px solid transparent;
}
.mens-card.featured { background: var(--vert-foret); color: var(--blanc); border-color: transparent; }
.mens-montant {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--anthracite);
}
.mens-card.featured .mens-montant { color: var(--blanc); }
.mens-duree { font-size: .8rem; color: var(--gris-moyen); margin-top: 2px; }
.mens-card.featured .mens-duree { color: rgba(255,255,255,.65); }
.mens-par-mois {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--vert-foret);
  line-height: 1;
  text-align: right;
}
.mens-card.featured .mens-par-mois { color: var(--sable-clair); }
.mens-note { font-size: .68rem; color: var(--gris-moyen); text-align: right; display: block; }
.mens-card.featured .mens-note { color: rgba(255,255,255,.5); }

@media (min-width: 768px) { .mensualites-exemples { grid-template-columns: repeat(3,1fr); } }

/* Calculateur */
.calculateur {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}
.calculateur h4 { font-size: 1rem; color: var(--anthracite); margin-bottom: 24px; }
.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--gris-texte);
  margin-bottom: 10px;
}
.calc-label strong { color: var(--vert-foret); font-size: 1rem; }
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: 'Playfair Display', serif;
  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;
  margin-bottom: 28px;
}

/* === INVESTISSEURS ======================================== */
#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);
  padding: 40px 32px;
  color: var(--blanc);
  text-align: center;
}
.invest-visual .eyebrow { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sable-clair); margin-bottom: 8px; }
.invest-visual .big { font-family: 'Playfair Display', serif; font-size: 4.5rem; font-weight: 700; color: var(--sable); line-height: 1; }
.invest-visual .sub { font-size: .9rem; opacity: .8; margin-top: 8px; }
.invest-visual .divider { width: 40px; height: 2px; background: rgba(255,255,255,.2); margin: 28px auto; }
.invest-visual .note { font-size: .82rem; opacity: .7; line-height: 1.55; }

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

/* === ESTIAR =============================================== */
#estiar { background: var(--beige); }
.estiar-grid { display: grid; gap: 48px; }
.estiar-checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--blanc);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.check-ico {
  width: 26px; height: 26px;
  background: var(--vert-foret);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-item span { font-size: .88rem; color: var(--gris-texte); font-weight: 500; line-height: 1.5; }

.estiar-about {
  background: var(--vert-foret);
  color: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.estiar-about .logo-txt {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sable);
  margin-bottom: 24px;
}
.estiar-about h3 { color: var(--blanc); margin-bottom: 14px; font-size: 1.15rem; }
.estiar-about p  { opacity: .85; font-size: .92rem; line-height: 1.75; }

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

/* === OBJECTION AUTOROUTE ================================== */
#autoroute {
  background: var(--blanc-casse);
  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-encadre {
  background: var(--sable-clair);
  border-left: 5px solid var(--sable);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 26px;
  margin: 24px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--anthracite);
  line-height: 1.6;
}

.decibel-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.decibel-table thead th {
  background: var(--vert-foret);
  color: var(--blanc);
  padding: 12px 16px;
  text-align: left;
  font-size: .82rem;
  font-weight: 600;
}
.decibel-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.decibel-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.decibel-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gris-doux);
  font-size: .88rem;
}
.decibel-table tr:nth-child(even) td { background: var(--beige); }
.mesure-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gris-moyen);
  font-style: italic;
  font-size: .82rem;
}

.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: 'Playfair Display', serif;
  font-size: .98rem;
  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; }
}

/* === PORTES OUVERTES ====================================== */
#portes-ouvertes {
  background: linear-gradient(140deg, var(--vert-foret) 0%, #021f20 100%);
  color: var(--blanc);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#portes-ouvertes::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,169,106,.18) 0%, transparent 70%);
  pointer-events: none;
}
#portes-ouvertes h2 { color: var(--blanc); margin-bottom: 16px; }
#portes-ouvertes > .container > p {
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin: 0 auto 40px;
  font-size: 1.02rem;
}
.date-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 24px 48px;
  margin-bottom: 40px;
}
.date-day {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--sable);
  line-height: 1;
}
.date-month {
  font-size: 1.05rem;
  color: var(--blanc);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.po-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.po-point {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: 7px;
}
.po-urgence {
  margin-top: 24px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* === FORMULAIRE CONTACT =================================== */
#contact { background: var(--beige); }
.contact-grid { display: grid; gap: 48px; }
.contact-infos {}
.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-form {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.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: #C0392B; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { color: var(--anthracite); }

.form-success {
  display: none;
  background: #E8F5E0;
  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; } }

/* === 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-clair); box-shadow: var(--shadow-sm); }
.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;
}

/* === 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: 600px; margin: 0 auto 16px; }
#footer-cta p  { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 40px; font-size: 1.02rem; }
.footer-legal {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
}
.footer-legal a { color: rgba(255,255,255,.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;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  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; }

/* === 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; }
