/* =========================================================
   TPCO Sénégal — Plateforme immobilière (prototype)
   Charte : Bleu TPCO #293A8A · Rouge TPCO #E31B22 · Poppins / Inter
   ========================================================= */

:root {
  --blue: #293A8A;
  --blue-700: #22317a;
  --night: #1A2459;
  --red: #E31B22;
  --red-700: #c4151b;
  --steel: #5B6478;
  --concrete: #B8BCC6;
  --offwhite: #F3F4F8;
  --white: #FFFFFF;
  --text: #3B4256;
  --line: #E3E6EE;

  --ok: #1F8A4C;        /* statut disponible (fonctionnel) */
  --ok-bg: #E7F5EC;
  --warn: #B26A00;      /* statut réservé (fonctionnel) */
  --warn-bg: #FFF3DF;
  --sold-bg: #F1E3E4;

  --font-title: "Poppins", Arial, sans-serif;
  --font-text: "Inter", Arial, sans-serif;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow-s: 0 2px 8px rgba(26, 36, 89, .06);
  --shadow: 0 10px 30px rgba(26, 36, 89, .10);
  --shadow-l: 0 24px 60px rgba(26, 36, 89, .18);

  --container: 1240px;
  --gutter: 24px;
  --header-h: 108px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--blue); margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(41, 58, 138, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--offwhite); }
.section--night { background: var(--night); color: #D6DAEA; }
.section--night h2, .section--night h3 { color: #fff; }

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

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 700; letter-spacing: -.01em; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.01em; }
.h3 { font-size: 22px; font-weight: 600; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--steel); max-width: 640px; }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head .lead { margin-top: 14px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.text-red { color: var(--red); }
.muted { color: var(--steel); }
.small { font-size: 13px; }

/* Filets signature bleu · rouge · bleu */
.filets { display: flex; flex-direction: column; gap: 3px; width: 72px; margin: 18px 0 0; }
.filets span { height: 3px; background: var(--blue); border-radius: 2px; }
.filets span:nth-child(2) { background: var(--red); width: 80%; }
.filets--light span { background: #fff; }
.filets--light span:nth-child(2) { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-title); font-weight: 600; font-size: 15px;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(227, 27, 34, .28); background: var(--red-700); border-color: var(--red-700); }
.btn--blue { --bg: var(--blue); --bd: var(--blue); }
.btn--blue:hover { background: var(--blue-700); border-color: var(--blue-700); box-shadow: 0 10px 24px rgba(41, 58, 138, .28); }
.btn--ghost { --bg: transparent; --fg: var(--blue); --bd: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: none; }
.btn--light { --bg: rgba(255,255,255,.08); --fg: #fff; --bd: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--blue); border-color: #fff; box-shadow: none; }
.btn--white { --bg: #fff; --fg: var(--blue); --bd: #fff; }
.btn--white:hover { background: var(--offwhite); border-color: var(--offwhite); box-shadow: none; }
.btn--wa { --bg: #fff; --fg: #12813F; --bd: #BFE3CC; }
.btn--wa:hover { background: #12813F; color: #fff; border-color: #12813F; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 600; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-s); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
.brand { display: flex; align-items: center; flex: none; }
.brand .logo-full { width: 160px; height: auto; transition: opacity .25s; }
.brand .logo-mono { width: 64px; height: auto; display: none; }
.site-header.is-compact .bar { height: 72px; }
.site-header.is-compact .logo-full { display: none; }
.site-header.is-compact .logo-mono { display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 12px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-title); font-weight: 500; font-size: 14.5px; color: var(--night);
  transition: color .2s, background .2s;
}
.nav a:hover { background: var(--offwhite); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 600; color: var(--blue); font-size: 14px; }
.header-phone svg { width: 18px; height: 18px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; margin-left: auto; }
.burger svg { width: 22px; height: 22px; color: var(--blue); }

.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(26, 36, 89, .5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__head img { width: 160px; }
.drawer a.dl { padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-title); font-weight: 500; color: var(--night); font-size: 17px; }
.drawer .btn { margin-top: 12px; }

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--night) 100%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 88px 0 120px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #fff; position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em; background: var(--red); border-radius: 3px; z-index: -1; }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 20px; }
.hero .btn-row { margin-top: 34px; }
.hero__visual { position: relative; height: 520px; }
.hero__visual figure { margin: 0; position: absolute; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.hero__visual figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual .f1 { top: 0; right: 0; width: 78%; height: 66%; }
.hero__visual .f2 { bottom: 0; left: 0; width: 62%; height: 52%; border: 6px solid var(--night); }
.hero__visual figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(26,36,89,.78); font-size: 12px; font-family: var(--font-title); font-weight: 600; letter-spacing: .02em;
}
.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; pointer-events: none; color: #fff; opacity: .10; }
.skyline--blue { color: var(--blue); opacity: .09; }
.accent-bar { position: absolute; top: 0; right: 0; bottom: 0; width: 6px; background: var(--red); z-index: 3; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); margin-top: -56px; position: relative; z-index: 5; }
.stat { padding: 28px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-title); font-size: 34px; color: var(--blue); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--steel); }

/* ---------- Project cards (grandes) ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.project-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-l);
  overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.project-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--offwhite); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__media .badge { position: absolute; top: 18px; left: 18px; }
.project-card__tag { position: absolute; top: 18px; right: 18px; background: rgba(26,36,89,.85); color: #fff; font-family: var(--font-title); font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; letter-spacing: .04em; }
.project-card__body { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.project-card__loc { display: flex; align-items: center; gap: 8px; color: var(--steel); font-size: 14px; }
.project-card__loc svg { width: 16px; height: 16px; color: var(--red); }
.project-card h3 { font-size: 28px; font-weight: 700; }
.project-card__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.project-card__footer { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.from { font-size: 13px; color: var(--steel); }
.from b { display: block; font-family: var(--font-title); font-size: 20px; color: var(--red); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--offwhite); color: var(--night); font-size: 13px; font-weight: 500; }
.chip svg { width: 15px; height: 15px; color: var(--blue); }

/* ---------- Badges de statut ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; font-family: var(--font-title); letter-spacing: .01em; background: #fff; color: var(--night); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--ok { color: var(--ok); }
.badge--warn { color: var(--warn); }
.badge--sold { color: var(--red); }
.badge span { color: var(--night); }

/* ---------- Property cards (villas / appartements) ---------- */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.pcard {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--offwhite); margin: 10px 10px 0; border-radius: 10px; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media .badge { position: absolute; top: 12px; left: 12px; }
.pcard__cat { position: absolute; top: 12px; right: 12px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; font-family: var(--font-title); }
.pcard__note { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 11px; opacity: .9; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcard h3 { font-size: 21px; font-weight: 700; color: var(--blue); }
.pcard__sub { font-size: 13px; color: var(--steel); margin-top: 2px; }
.price { font-family: var(--font-title); font-weight: 700; color: var(--red); font-size: 22px; line-height: 1.1; }
.price small { display: block; font-family: var(--font-text); font-weight: 500; font-size: 12px; color: var(--steel); margin-bottom: 3px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--night); font-weight: 500; }
.spec svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.pcard__desc { font-size: 14px; color: var(--steel); }
.pcard__feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pcard__feat li { display: flex; gap: 8px; font-size: 13.5px; color: var(--text); }
.pcard__feat svg { width: 16px; height: 16px; color: var(--red); flex: none; margin-top: 3px; }
.pcard__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 6px; }
.pcard__actions .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }

/* ---------- Bandeau projet (hero immersif) ---------- */
.phero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,36,89,.15) 0%, rgba(26,36,89,.35) 40%, rgba(26,36,89,.92) 100%); }
.phero--dark::after { background: linear-gradient(180deg, rgba(10,14,40,.2) 0%, rgba(13,18,48,.45) 45%, rgba(13,18,48,.95) 100%); }
.phero__content { position: relative; z-index: 2; padding: 120px 0 72px; width: 100%; }
.phero h1 { color: #fff; max-width: 860px; }
.phero .tagline { font-family: var(--font-title); font-size: clamp(18px, 2vw, 24px); font-weight: 300; margin-top: 14px; color: #fff; }
.phero .lead { color: rgba(255,255,255,.85); margin-top: 16px; }
.phero .btn-row { margin-top: 30px; }
.phero__loc { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 14px; margin-bottom: 20px; backdrop-filter: blur(6px); }
.phero__loc svg { width: 16px; height: 16px; }
.phero__credit { position: absolute; right: 18px; bottom: 14px; z-index: 2; font-size: 11px; color: rgba(255,255,255,.65); }

.keyfacts { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); margin-top: -48px; overflow: hidden; }
.keyfact { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-right: 1px solid var(--line); }
.keyfact:last-child { border-right: 0; }
.keyfact .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--offwhite); display: grid; place-items: center; flex: none; }
.keyfact .ic svg { width: 22px; height: 22px; color: var(--blue); }
.keyfact b { display: block; font-family: var(--font-title); font-size: 22px; color: var(--blue); line-height: 1.1; }
.keyfact span { font-size: 13px; color: var(--steel); }
.keyfact--live .ic { background: var(--ok-bg); }
.keyfact--live .ic svg { color: var(--ok); }
.keyfact--live b { color: var(--ok); }

/* sous-navigation projet */
.subnav { position: sticky; top: 72px; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { padding: 16px 14px; font-family: var(--font-title); font-weight: 500; font-size: 14px; color: var(--steel); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a.is-active, .subnav a:hover { color: var(--blue); border-color: var(--red); }

/* ---------- Comparateur ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--blue); color: #fff; font-family: var(--font-title); font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--night); background: var(--offwhite); width: 200px; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare .price-cell { color: var(--red); font-family: var(--font-title); font-weight: 700; }

/* ---------- Équipements ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amen { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s; }
.amen:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.amen .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--offwhite); display: grid; place-items: center; }
.amen .ic svg { width: 24px; height: 24px; color: var(--blue); }
.amen h4 { font-size: 16px; font-weight: 600; }
.amen p { font-size: 13.5px; color: var(--steel); }
.section--night .amen { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--night .amen h4 { color: #fff; }
.section--night .amen p { color: #B8BCC6; }
.section--night .amen .ic { background: rgba(255,255,255,.08); }
.section--night .amen .ic svg { color: #fff; }

.amen-photos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; margin-bottom: 40px; }
.amen-photo { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #0d1230; }
.amen-photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.amen-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .92; }
.amen-photo:hover img { transform: scale(1.06); opacity: 1; }
.amen-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(13,18,48,.85)); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 15px; }

.amen-list { display: flex; flex-wrap: wrap; gap: 10px; }
.amen-list .chip { background: #fff; border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery button { position: relative; border: 0; padding: 0; border-radius: var(--radius-s); overflow: hidden; background: var(--offwhite); cursor: zoom-in; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery .cap { position: absolute; left: 10px; bottom: 10px; background: rgba(26,36,89,.8); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.disclaimer { font-size: 12px; color: var(--steel); margin-top: 14px; font-style: italic; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8, 11, 30, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 8px; box-shadow: var(--shadow-l); }
.lightbox__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Fiche détaillée ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--steel); padding: 22px 0; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { color: var(--concrete); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.dgal__main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--offwhite); cursor: zoom-in; }
.dgal__main img { width: 100%; height: 100%; object-fit: cover; }
.dgal__main .badge { position: absolute; top: 16px; left: 16px; }
.dgal__count { position: absolute; right: 16px; bottom: 16px; background: rgba(26,36,89,.85); color: #fff; font-size: 13px; padding: 7px 14px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.dgal__count svg { width: 16px; height: 16px; }
.dgal__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.dgal__thumbs button { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--offwhite); }
.dgal__thumbs button.is-active { border-color: var(--red); }
.dgal__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.dblock { margin-top: 48px; }
.dblock h2 { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-row:nth-child(odd) { border-right: 1px solid var(--line); }
.spec-row span { color: var(--steel); }
.spec-row b { color: var(--night); font-weight: 600; text-align: right; }
.spec-row .tbc { color: var(--steel); font-weight: 500; font-style: italic; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--offwhite); border-radius: 10px; font-size: 14.5px; }
.feature-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 1px; }

.plan-box { display: flex; align-items: center; gap: 22px; padding: 26px; border: 1.5px dashed var(--concrete); border-radius: var(--radius); background: #fff; }
.plan-box .ic { width: 64px; height: 64px; border-radius: 14px; background: var(--offwhite); display: grid; place-items: center; flex: none; }
.plan-box .ic svg { width: 30px; height: 30px; color: var(--blue); }
.plan-box h3 { font-size: 18px; }
.plan-box p { font-size: 14px; color: var(--steel); margin-top: 4px; }
.plan-box .btn { margin-left: auto; }

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pay { padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue), var(--night)); color: #D9DDF0; position: relative; overflow: hidden; }
.pay:nth-child(2) { background: #fff; border: 1px solid var(--line); color: var(--text); }
.pay .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: 14px; }
.pay .ic svg { width: 22px; height: 22px; color: #fff; }
.pay:nth-child(2) .ic { background: var(--offwhite); }
.pay:nth-child(2) .ic svg { color: var(--red); }
.pay h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.pay:nth-child(2) h3 { color: var(--blue); }
.pay p { font-size: 14px; }

/* panneau de réservation collant */
.side { position: sticky; top: 96px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: 28px; }
.side-card h1 { font-size: 28px; font-weight: 700; }
.side-card .pcard__sub { font-size: 14px; margin-top: 6px; }
.side-card .price { font-size: 30px; margin: 20px 0 6px; }
.side-card .specs { margin: 18px 0; }
.side-card .btn { width: 100%; margin-top: 10px; }
.side-card .avail { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.trust { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--steel); }
.trust div { display: flex; gap: 10px; align-items: center; }
.trust svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* Tableau prix par étage */
.floor-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.floor-table th, .floor-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.floor-table th { font-family: var(--font-title); font-weight: 600; color: var(--steel); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.floor-table td.p { font-family: var(--font-title); font-weight: 700; color: var(--red); }
.floor-table tr:hover td { background: var(--offwhite); }

/* Grille de disponibilité (lots / étages) */
.avail-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--steel); margin-bottom: 18px; }
.avail-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-ok { background: var(--ok); } .lg-warn { background: var(--warn); } .lg-sold { background: var(--red); }

.tower { display: grid; gap: 8px; background: #fff; padding: 22px; border-radius: var(--radius-l); border: 1px solid var(--line); }
.tower__row { display: grid; grid-template-columns: 70px repeat(4, 1fr); gap: 8px; align-items: stretch; }
.tower__floor { display: flex; align-items: center; font-family: var(--font-title); font-weight: 600; color: var(--steel); font-size: 13px; }
.tower__head { font-family: var(--font-title); font-size: 12px; font-weight: 600; color: var(--steel); text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.unit {
  border: 1.5px solid #CFE8D8; background: var(--ok-bg); border-radius: 10px; padding: 10px 12px; text-align: left;
  display: flex; flex-direction: column; gap: 2px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; min-height: 64px;
}
.unit b { font-family: var(--font-title); font-size: 13px; color: var(--night); }
.unit span { font-size: 12px; color: var(--ok); font-weight: 600; }
.unit:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); border-color: var(--ok); }
.unit.is-reserve { background: var(--warn-bg); border-color: #F2D7A6; }
.unit.is-reserve span { color: var(--warn); }
.unit.is-vendu { background: var(--sold-bg); border-color: #E9C8CA; cursor: not-allowed; opacity: .75; }
.unit.is-vendu span { color: var(--red); }
.unit.is-vendu:hover { transform: none; box-shadow: none; }
.unit.is-dim { opacity: .25; }

.lots-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lot-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.lot-bar h4 { font-size: 16px; display: flex; justify-content: space-between; }
.lot-bar .meter { height: 10px; border-radius: 99px; background: var(--offwhite); overflow: hidden; display: flex; margin: 14px 0 10px; }
.lot-bar .meter i { display: block; height: 100%; }
.lot-bar p { font-size: 13px; color: var(--steel); display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Filtres catalogue ---------- */
.filters { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end; background: #fff; padding: 20px; border-radius: var(--radius-l); border: 1px solid var(--line); box-shadow: var(--shadow-s); margin-bottom: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 12.5px; font-weight: 600; color: var(--night); letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: 15px; color: var(--night); transition: border-color .2s, box-shadow .2s;
}
.field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(41,58,138,.12); }
.field input[readonly] { background: var(--offwhite); color: var(--steel); }
.field .err { font-size: 12px; color: var(--red); display: none; }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.field.has-error .err { display: block; }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 14px; font-weight: 500; color: var(--night); cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--blue); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.empty { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--concrete); border-radius: var(--radius-l); color: var(--steel); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-title); font-weight: 700; font-size: 44px; color: var(--offwhite); position: absolute; right: 24px; top: 16px; -webkit-text-stroke: 1px var(--concrete); }
.step .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.step .ic svg { width: 24px; height: 24px; color: #fff; }
.step:nth-child(2) .ic { background: var(--red); }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--steel); }

/* Valeurs */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 26px; border-left: 3px solid var(--blue); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.value:nth-child(2) { border-color: var(--red); }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--steel); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-l); background: linear-gradient(135deg, var(--blue), var(--night)); color: #fff; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 12px; }
.cta-band .accent-bar { width: 6px; }
.callback { position: relative; z-index: 2; background: #fff; border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; color: var(--text); }
.callback .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: #B8BCC6; padding: 72px 0 0; margin-top: 0; }
.site-footer .cols { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img.flogo { width: 180px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.site-footer a { display: block; padding: 5px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.site-footer .sig { margin-top: 16px; font-size: 14px; }
.site-footer .bottom { position: relative; z-index: 2; margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer .skyline { opacity: .06; height: 140px; }
.footer-strip { height: 5px; background: var(--red); }

/* ---------- WhatsApp flottant & barre mobile ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(18, 129, 63, .4);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.wa-float__tip { position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--night); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transform: translateX(6px); transition: .25s; pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(26,36,89,.08); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; grid-template-columns: 52px 52px 1fr; }
.mbar a, .mbar button { display: grid; place-items: center; border-radius: 14px; min-height: 52px; border: 1px solid var(--line); background: #fff; color: var(--blue); }
.mbar svg { width: 22px; height: 22px; }
.mbar .wa { color: #12813F; }
.mbar .btn { display: flex; border-radius: 14px; min-height: 52px; color: #fff; border-color: var(--red); background: var(--red); padding: 0 14px; }
.mbar .btn svg { color: #fff; }

/* ---------- Modal réservation ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(13, 18, 48, .6); backdrop-filter: blur(4px); animation: fade .25s both; }
.modal__dialog {
  position: relative; margin: 4vh auto; width: min(760px, calc(100% - 32px)); max-height: 92vh; overflow: auto;
  background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-l); animation: rise .35s var(--ease) both;
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__head { position: sticky; top: 0; z-index: 2; background: #fff; display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal__thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: none; background: var(--offwhite); }
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal__head h2 { font-size: 20px; }
.modal__head p { font-size: 13px; color: var(--steel); }
.modal__close { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--night); flex: none; }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { padding: 24px; }
.modal__foot { padding: 0 24px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.req-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.req-tabs label, .radio-pills label { cursor: pointer; position: relative; }
.req-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.req-tabs span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--steel); transition: .2s; }
.req-tabs span svg { width: 16px; height: 16px; }
.req-tabs input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.req-tabs input:focus-visible + span { outline: 3px solid rgba(41,58,138,.45); outline-offset: 2px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fgrid .full { grid-column: 1 / -1; }
.fsec { grid-column: 1 / -1; font-family: var(--font-title); font-weight: 600; color: var(--blue); font-size: 14px; margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.fsec::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { cursor: pointer; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: .2s; }
.radio-pills span svg { width: 17px; height: 17px; color: var(--blue); }
.radio-pills input:checked + span { border-color: var(--blue); background: #EEF0F9; color: var(--blue); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--offwhite); font-size: 13px; color: var(--steel); grid-column: 1 / -1; }
.notice svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 1px; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; font-size: 13px; color: var(--steel); align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }

.success { text-align: center; padding: 48px 32px 40px; }
.success .ic { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--ok-bg); display: grid; place-items: center; animation: pop .5s var(--ease) both; }
.success .ic svg { width: 40px; height: 40px; color: var(--ok); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success h2 { font-size: 26px; }
.success p { color: var(--steel); margin: 12px auto 0; max-width: 480px; }
.success .ref { display: inline-block; margin-top: 20px; padding: 10px 18px; border-radius: 10px; background: var(--offwhite); font-family: var(--font-title); font-weight: 600; color: var(--blue); letter-spacing: .04em; }
.success .recap { text-align: left; max-width: 460px; margin: 24px auto 0; border: 1px solid var(--line); border-radius: 12px; padding: 6px 18px; }
.success .recap div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.success .recap div:last-child { border-bottom: 0; }
.success .recap span { color: var(--steel); }
.success .recap b { color: var(--night); text-align: right; }
.success .btn-row { justify-content: center; margin-top: 28px; }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.data-note { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--steel); }
.data-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--concrete); }
.data-note.is-live i { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }

/* Quartier */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.poi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.poi div { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.poi svg { width: 18px; height: 18px; color: var(--red); flex: none; }

/* Reveal au scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Page header simple */
.page-head { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--night)); color: #fff; padding: 80px 0 110px; }
.page-head h1 { color: #fff; }
.page-head .lead { color: rgba(255,255,255,.8); margin-top: 14px; }

/* =================== Responsive =================== */
@media (max-width: 1440px) {
  .header-phone { display: none; }
}
@media (max-width: 1180px) {
  .nav a[href*="qui-sommes-nous"] { display: none; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .keyfacts { grid-template-columns: repeat(3, 1fr); }
  .keyfact:nth-child(3) { border-right: 0; }
  .keyfact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .header-phone { display: none; }
}
@media (max-width: 1023px) {
  :root { --header-h: 104px; }
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .section { padding: 72px 0; }
  .hero__grid { grid-template-columns: 1fr; padding: 56px 0 110px; gap: 40px; }
  .hero__visual { height: 400px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail > * { min-width: 0; }
  .side { position: static; order: -1; }
  .amen-grid { grid-template-columns: repeat(3, 1fr); }
  .amen-photos { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .steps, .values { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lots-summary { grid-template-columns: 1fr; }
  .mbar { display: grid; }
  body.has-mbar { padding-bottom: 80px; }
  body.has-mbar .wa-float { display: none; }
  .subnav { top: 72px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .projects-grid, .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; }
  .project-card__body { padding: 22px; }
  .project-card h3 { font-size: 24px; }
  .hero__visual { height: 300px; }
  .hero__visual .f2 { border-width: 4px; }
  .stat { padding: 20px; }
  .stat b { font-size: 26px; }
  .keyfacts { grid-template-columns: 1fr 1fr; margin-top: -32px; }
  .keyfact { padding: 16px; gap: 10px; border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); }
  .keyfact:nth-child(-n+2) { border-top: 0; }
  .keyfact:nth-child(2n) { border-right: 0 !important; }
  .keyfact:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0 !important; }
  .keyfact .ic { width: 38px; height: 38px; }
  .keyfact b { font-size: 18px; }
  .phero { min-height: 640px; }
  .phero__content { padding: 100px 0 64px; }
  .phero .btn-row .btn { flex: 1 1 100%; }
  .amen-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .amen { padding: 16px; }
  .amen-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .steps, .values { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; padding: 16px; }
  .filters .field--wide { grid-column: 1 / -1; }
  .spec-table, .feature-list, .pay-grid, .poi { grid-template-columns: 1fr; }
  .spec-row:nth-child(odd) { border-right: 0; }
  .plan-box { flex-direction: column; align-items: flex-start; }
  .plan-box .btn { margin-left: 0; width: 100%; }
  .dgal__thumbs { grid-template-columns: repeat(4, 1fr); }
  .dgal__thumbs button:nth-child(n+5) { display: none; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .modal__dialog { margin: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; overflow-x: hidden; }
  .modal__foot .btn { white-space: normal; text-align: center; font-size: 14px; }
  .modal__foot { grid-template-columns: minmax(0, 1fr); position: sticky; bottom: 0; background: #fff; padding-top: 14px; border-top: 1px solid var(--line); }
  .cta-band { padding: 28px 20px; }
  .callback .row2 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .tower { padding: 12px; gap: 6px; }
  .tower__row { grid-template-columns: 34px repeat(4, 1fr); gap: 5px; }
  .unit { padding: 8px 6px; min-height: 54px; }
  .unit b { font-size: 11.5px; }
  .unit span { font-size: 10.5px; }
  .tower__head { font-size: 10px; letter-spacing: 0; }
  .pcard__actions { grid-template-columns: 1fr; }
  .wa-float { right: 16px; width: 56px; height: 56px; }
}
