/* Leonora Imóveis — FLOW Editorial-Premium Design System */
/* Static HTML/CSS/JS — no frameworks, no build step */

/* ─── Design Tokens ─── */
:root {
  --grafite:       #2c3340;
  --grafite-deep:  #1a1f28;
  --grafite-soft:  #3d4555;
  --paper:         #f7f5f1;
  --paper-warm:    #f0ece5;
  --line:          #e6e2da;
  --line-soft:     #eeeadf;
  --white:         #ffffff;
  --amber:         #c68a4e;
  --amber-deep:    #a9743c;
  --amber-glow:    #d49a5e;
  --amber-light:   #f5e6d0;
  --leaf:          #47704b;
  --leaf-soft:     #5a8a5e;
  --wa:            #1faa53;
  --wa-dark:       #178a43;
  --ink:           #2c3340;
  --ink-soft:      #5a6170;
  --ink-muted:     #8a92a3;
  --shadow-sm:     0 2px 8px rgba(33,39,52,0.06);
  --shadow:        0 8px 32px rgba(33,39,52,0.10);
  --shadow-lg:     0 20px 60px rgba(33,39,52,0.14);
  --radius-sm:     8px;
  --radius:        16px;
  --radius-lg:     24px;
  --maxw:          1120px;
  --maxw-narrow:   720px;
  --font-body:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width:100%; display:block; height:auto; }
a { color: var(--amber-deep); text-decoration:none; }
ul { list-style:none; }

/* ─── Layout ─── */
.wrap { max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.wrap-narrow { max-width:var(--maxw-narrow); margin:0 auto; padding:0 24px; }

/* ─── Header ─── */
.topbar {
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.96);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom:1px solid var(--line);
}
.topbar .wrap {
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.brand {
  font-weight:800; font-size:1.1rem; letter-spacing:-0.02em;
  color:var(--grafite); line-height:1.2;
}
.brand small {
  display:block; font-size:0.62rem; font-weight:600;
  color:var(--amber-deep); letter-spacing:0.12em; text-transform:uppercase;
}
.top-cta { white-space:nowrap; }

/* ─── Buttons ─── */
.btn {
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 28px; border-radius:999px;
  font-weight:700; font-size:0.95rem; line-height:1.3;
  text-decoration:none; cursor:pointer; border:none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform:scale(0.97); }
.btn-wa {
  background:var(--wa); color:var(--white);
  box-shadow:0 4px 16px rgba(31,170,83,0.25);
}
.btn-wa:hover { background:var(--wa-dark); box-shadow:0 6px 20px rgba(31,170,83,0.35); }
.btn-ghost {
  background:transparent; color:var(--white);
  border:1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { background:var(--white); color:var(--grafite); border-color:var(--white); }
.btn-amber {
  background:var(--amber); color:var(--white);
  box-shadow:0 4px 16px rgba(198,138,78,0.25);
}
.btn-amber:hover { background:var(--amber-deep); box-shadow:0 6px 20px rgba(198,138,78,0.35); }
.btn-solid {
  background:var(--grafite); color:var(--white);
}
.btn-solid:hover { background:var(--grafite-deep); }
.btn svg { width:20px; height:20px; flex:none; }

/* ─── Typography ─── */
.kicker {
  font-size:0.72rem; font-weight:700; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--amber-deep); margin-bottom:14px;
}
.section-title {
  font-size:clamp(1.6rem, 4.2vw, 2.4rem);
  font-weight:800; letter-spacing:-0.025em; line-height:1.15;
  color:var(--grafite); margin-bottom:10px;
}
.section-sub {
  font-size:1.05rem; color:var(--ink-soft); line-height:1.6;
  max-width:640px; margin-bottom:36px;
}

/* ─── Hero ─── */
.hero {
  position:relative; color:var(--white);
  padding:140px 0 100px;
  background-size:cover; background-position:center;
  overflow:hidden;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(26,31,40,0.45) 0%, rgba(26,31,40,0.70) 60%, rgba(26,31,40,0.85) 100%);
}
.hero .wrap { position:relative; z-index:1; }
.hero .kicker { color:var(--amber-glow); }
.hero h1 {
  font-size:clamp(2rem, 5.5vw, 3.4rem);
  font-weight:800; line-height:1.08; letter-spacing:-0.03em;
  max-width:780px; margin-bottom:20px;
  text-shadow:0 2px 20px rgba(0,0,0,0.3);
}
.hero p.lead {
  font-size:clamp(1rem, 2vw, 1.18rem);
  color:#e0e4ea; max-width:600px; margin-bottom:32px;
  line-height:1.7; text-shadow:0 1px 8px rgba(0,0,0,0.35);
}
.hero .cta-row { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.hero .hero-note {
  margin-top:20px; font-size:0.88rem; color:#b8bec8;
  display:flex; align-items:center; gap:8px;
}
.hero .hero-note::before {
  content:""; width:6px; height:6px; border-radius:50%;
  background:var(--wa); display:inline-block;
}

/* Hero cinematic variant (home) */
.hero-cinematic {
  min-height:88vh; display:flex; align-items:center;
  padding:160px 0 120px;
}
.hero-cinematic::before {
  background: radial-gradient(ellipse at 50% 35%, rgba(26,31,40,0.30) 0%, rgba(26,31,40,0.65) 55%, rgba(26,31,40,0.88) 100%);
}

/* ─── Trustbar ─── */
.trustbar {
  background:var(--grafite); color:#c8cdd6;
  padding:22px 0; text-align:center;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.trustbar strong { color:var(--amber-glow); font-weight:700; }
.trustbar .wrap { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; }

/* ─── Sections ─── */
section { padding:80px 0; }
.section-paper { background:var(--paper); }
.section-dark {
  background:var(--grafite); color:var(--white);
}
.section-dark .section-title { color:var(--white); }
.section-dark .section-sub { color:#b8bec8; }

/* ─── Cards ─── */
.grid { display:grid; gap:24px; }
.grid-3 { grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns:repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:32px;
  box-shadow:var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.card h3 { font-size:1.15rem; font-weight:700; margin-bottom:10px; letter-spacing:-0.01em; }
.card .price {
  font-size:1.85rem; font-weight:800; color:var(--grafite);
  letter-spacing:-0.02em; margin-bottom:4px;
}
.card .price small {
  display:block; font-size:0.75rem; font-weight:600;
  color:var(--amber-deep); text-transform:uppercase; letter-spacing:0.08em;
}
.card ul { margin-top:16px; }
.card ul li {
  padding:7px 0 7px 28px; position:relative;
  color:var(--ink-soft); font-size:0.94rem; line-height:1.5;
}
.card ul li::before {
  content:""; position:absolute; left:0; top:11px;
  width:18px; height:18px; border-radius:50%;
  background:var(--leaf-soft); opacity:0.15;
}
.card ul li::after {
  content:"✓"; position:absolute; left:4px; top:6px;
  color:var(--leaf); font-weight:800; font-size:0.8rem;
}
.card .honest {
  margin-top:16px; padding:12px 16px;
  background:var(--amber-light); border-radius:var(--radius-sm);
  font-size:0.85rem; color:var(--amber-deep); font-weight:600;
  line-height:1.5;
}
.card p { color:var(--ink-soft); font-size:0.94rem; line-height:1.6; }

/* ─── Gallery ─── */
.gallery { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:20px; }
.gallery figure {
  border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); background:var(--white);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery figure:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.gallery img { width:100%; height:260px; object-fit:cover; transition: transform .5s ease; }
.gallery figure:hover img { transform:scale(1.04); }
.gallery figcaption {
  padding:14px 18px; font-size:0.88rem; font-weight:600;
  color:var(--ink-soft); border-top:1px solid var(--line-soft);
}

/* ─── Planta section ─── */
.planta-section { background:var(--paper); }
.planta-wrap {
  display:grid; grid-template-columns:minmax(300px, 480px) 1fr;
  gap:48px; align-items:center;
}
.planta-wrap img {
  border-radius:var(--radius); box-shadow:var(--shadow-lg);
  width:100%;
}
.planta-body { padding:8px 0; }
.planta-body .section-title { margin-bottom:12px; }
.planta-body .section-sub { margin-bottom:24px; }

/* ─── Amenities ─── */
.amenities { display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); gap:14px; }
.amenity {
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius-sm); padding:18px 16px;
  text-align:center; font-weight:600; font-size:0.9rem;
  color:var(--ink-soft); transition: all .2s ease;
}
.amenity:hover { border-color:var(--amber); color:var(--grafite); transform:translateY(-2px); }

/* ─── FAQ ─── */
.faq details {
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius-sm); padding:20px 24px; margin-bottom:14px;
  transition: box-shadow .2s ease;
}
.faq details:hover { box-shadow:var(--shadow-sm); }
.faq summary {
  font-weight:700; cursor:pointer; list-style:none;
  position:relative; padding-right:32px; color:var(--grafite);
  font-size:0.98rem; line-height:1.5;
}
.faq summary::after {
  content:"+"; position:absolute; right:0; top:50%; transform:translateY(-50%);
  font-size:1.4rem; color:var(--amber-deep); font-weight:400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content:"–"; }
.faq details p {
  margin-top:14px; color:var(--ink-soft); line-height:1.7;
  font-size:0.95rem; padding-right:32px;
}

/* ─── About / Quem te atende ─── */
.about { display:grid; grid-template-columns:100px 1fr; gap:28px; align-items:start; }
.about .avatar {
  width:100px; height:100px; border-radius:50%;
  background:var(--grafite); display:flex; align-items:center; justify-content:center;
  font-size:2rem; font-weight:800; color:var(--amber);
  box-shadow:var(--shadow);
}
.about p { color:var(--ink-soft); line-height:1.7; }
.about p strong { color:var(--grafite); }

/* ─── CTA Final ─── */
.cta-final {
  position:relative; color:var(--white); text-align:center;
  background-size:cover; background-position:center;
  padding:100px 0;
}
.cta-final::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(26,31,40,0.65) 0%, rgba(26,31,40,0.80) 100%);
}
.cta-final .wrap { position:relative; z-index:1; }
.cta-final h2 {
  font-size:clamp(1.5rem, 4vw, 2.3rem); font-weight:800;
  letter-spacing:-0.02em; margin-bottom:14px;
}
.cta-final p { color:#c8cdd6; margin-bottom:28px; max-width:520px; margin-left:auto; margin-right:auto; }

/* ─── Footer ─── */
footer {
  background:var(--grafite-deep); color:#8a92a3;
  padding:44px 0; font-size:0.82rem; line-height:1.7;
}
footer .wrap { display:grid; gap:8px; }
footer strong { color:var(--paper); }
footer a { color:#8a92a3; text-decoration:underline; text-underline-offset:2px; }

/* ─── WhatsApp Float ─── */
.wa-float {
  position:fixed; right:20px; bottom:20px; z-index:100;
  width:60px; height:60px; border-radius:50%;
  background:var(--wa); display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 28px rgba(31,170,83,0.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform:scale(1.08); box-shadow:0 14px 36px rgba(31,170,83,0.55); }
.wa-float svg { width:30px; height:30px; }

/* ─── Launch Card (home) ─── */
.section-launch { padding:90px 0; }
.launch-card {
  display:grid; grid-template-columns:1.15fr 1fr; gap:0;
  border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-lg); background:var(--white);
  border:1px solid var(--line);
}
.launch-visual { position:relative; background:var(--grafite); min-height:360px; }
.launch-gallery { position:relative; width:100%; height:100%; min-height:360px; }
.launch-gallery img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition: opacity .7s ease;
}
.launch-gallery-nav {
  position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
  display:flex; gap:10px; z-index:2;
}
.launch-gallery-nav .dot {
  width:8px; height:8px; border-radius:50%;
  background:rgba(255,255,255,0.35); cursor:pointer;
  transition: background .3s, transform .2s;
}
.launch-gallery-nav .dot:hover { transform:scale(1.2); }
.launch-gallery-nav .dot.active { background:var(--amber); }
.launch-body { padding:40px; display:flex; flex-direction:column; gap:16px; justify-content:center; }
.launch-body .kicker { margin-bottom:0; }
.launch-body h3 {
  font-size:clamp(1.3rem, 3vw, 1.7rem); font-weight:800;
  letter-spacing:-0.02em; color:var(--grafite);
}
.launch-price { font-size:2rem; font-weight:800; color:var(--grafite); letter-spacing:-0.02em; }
.launch-price small {
  display:block; font-size:0.78rem; font-weight:600;
  color:var(--amber-deep); text-transform:uppercase; letter-spacing:0.06em; margin-top:6px;
}
.launch-perks { list-style:none; }
.launch-perks li {
  padding:7px 0 7px 28px; position:relative;
  color:var(--ink-soft); font-size:0.95rem; line-height:1.5;
}
.launch-perks li::before {
  content:""; position:absolute; left:0; top:10px;
  width:18px; height:18px; border-radius:50%; background:var(--leaf-soft); opacity:0.15;
}
.launch-perks li::after {
  content:"✓"; position:absolute; left:4px; top:6px;
  color:var(--leaf); font-weight:800; font-size:0.8rem;
}
.launch-honest {
  margin-top:6px; padding:12px 16px;
  background:var(--amber-light); border-radius:var(--radius-sm);
  font-size:0.85rem; color:var(--amber-deep); font-weight:600;
  line-height:1.5;
}

/* ─── Pillars (home) ─── */
.pillars { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:24px; }
.pillar {
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:36px;
  box-shadow:var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.pillar-icon {
  width:56px; height:56px; border-radius:var(--radius-sm);
  background:var(--paper); display:flex; align-items:center; justify-content:center;
  color:var(--amber-deep); margin-bottom:20px;
  transition: background .2s ease;
}
.pillar:hover .pillar-icon { background:var(--amber-light); }
.pillar-icon svg { width:28px; height:28px; }
.pillar h3 { font-size:1.15rem; font-weight:700; margin-bottom:10px; letter-spacing:-0.01em; }
.pillar p { color:var(--ink-soft); font-size:0.94rem; line-height:1.65; }

/* ─── Lifestyle Mosaic (home) — img-based for reliability ─── */
.section-lifestyle { padding:90px 0; background:var(--paper); }
.lifestyle-mosaic {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-template-rows:300px 220px;
  gap:16px;
}
.mosaic-item {
  border-radius:var(--radius); overflow:hidden;
  position:relative; transition: transform .4s ease;
}
.mosaic-item:hover { transform:scale(1.015); }
.mosaic-item img {
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
  display:block;
}
.mosaic-item:hover img { transform:scale(1.04); }
.mosaic-item .mosaic-label {
  position:absolute; bottom:0; left:0; right:0;
  padding:16px 18px;
  background: linear-gradient(transparent, rgba(26,31,40,0.80));
  color:var(--white); font-size:0.9rem; font-weight:700;
  letter-spacing:-0.01em;
}
.mosaic-large { grid-column:span 2; grid-row:span 2; }

/* ─── Avatar cards (landing) ─── */
.avatar-cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:24px; }
.avatar-card {
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:36px;
  box-shadow:var(--shadow); transition: all .3s ease;
}
.avatar-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.avatar-card .avatar-card-num {
  font-size:0.72rem; font-weight:700; letter-spacing:0.15em;
  text-transform:uppercase; color:var(--amber-deep); margin-bottom:14px;
}
.avatar-card h3 { font-size:1.15rem; font-weight:700; margin-bottom:12px; }
.avatar-card p { color:var(--ink-soft); font-size:0.94rem; line-height:1.65; }

/* ─── Reveal on scroll ─── */
html.js .reveal { opacity:0; transform:translateY(28px); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal.revealed { opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity:1; transform:none; transition:none; }
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: .06s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .18s; }
.reveal-delay-4 { transition-delay: .24s; }
.reveal-delay-5 { transition-delay: .30s; }

/* ─── Media Queries ─── */
@media (max-width: 900px) {
  .launch-card { grid-template-columns:1fr; }
  .launch-visual { min-height:280px; }
  .lifestyle-mosaic { grid-template-columns:repeat(2, 1fr); grid-template-rows:200px 160px 160px; }
  .mosaic-large { grid-column:span 2; grid-row:span 1; }
  .hero-cinematic { min-height:auto; padding:100px 0 80px; }
  .planta-wrap { grid-template-columns:1fr; gap:32px; }
  .about { grid-template-columns:1fr; }
  .about .avatar { margin-bottom:8px; }
}

/* Spacer for sticky header */
.header-spacer { height: 0; }
@media (max-width: 640px) {
  .header-spacer { height: 64px; }
  .hero { padding:90px 0 70px; }
  .hero-cinematic { padding:100px 0 80px; min-height:auto; }
}
  .lifestyle-mosaic { grid-template-columns:1fr; grid-template-rows:repeat(5, 190px); }
  .mosaic-large { grid-column:span 1; grid-row:span 1; }
  .launch-body { padding:28px; }
  .pillar { padding:28px; }
  .card { padding:24px; }
  .btn { padding:12px 22px; font-size:0.9rem; }
  .gallery { grid-template-columns:1fr; }
  .gallery img { height:220px; }
  .cta-final { padding:70px 0; }
  .trustbar { padding:18px 0; font-size:0.88rem; }
  .faq details { padding:16px 18px; }
  .avatar-card { padding:24px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size:1.7rem; }
  .hero p.lead { font-size:0.95rem; }
  .section-title { font-size:1.4rem; }
  .launch-price { font-size:1.6rem; }
}

/* ─── Brand com foto (logo humano) ─── */
.brand { display:flex; align-items:center; gap:11px; }
.brand-face {
  width:42px; height:42px; border-radius:50%;
  object-fit:cover; flex:none;
  border:2px solid var(--amber);
  box-shadow:0 2px 8px rgba(33,39,52,0.15);
}
.brand-text { line-height:1.2; }
@media (max-width: 400px) { .brand-face { width:36px; height:36px; } }
