/* Urban Focus — the brand's own world: ink black, warm stone, a brass gold
   for the one thing to press, the thin geometric wordmark and a serif for
   the headlines (as on their T2 flyer). */
:root {
  --ink: #13161A;
  --ink-2: #2A2E33;
  --stone: #EFEDEC;
  --stone-2: #E4E0DB;
  --paper: #FFFFFF;
  --gold: #B8935A;
  --gold-deep: #8C6C3A;
  --muted: #5E5A55;
  --line: #D9D3CB;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 4px;
  /* The booking widget (shared/booking.js) takes its look from these. */
  --bk-accent: var(--ink);
  --bk-accent-ink: #fff;
  --bk-ink: var(--ink);
  --bk-muted: var(--muted);
  --bk-line: var(--line);
  --bk-surface: var(--paper);
  --bk-soft: #F5F1EA;
  --bk-radius: 6px;
  --bk-radius-sm: 4px;
  --bk-radius-btn: 4px;
  --bk-font: var(--sans);
  --bk-display: var(--serif);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--stone); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 12px; }
.small { font-size: 14px; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin-bottom: 18px; }
.section-sub { color: var(--muted); max-width: 60ch; margin-bottom: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius);
  font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #C9A56D; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* Top bar and nav */
.topbar { background: var(--ink); color: #D8D2C8; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar p { margin: 0; }
.topbar b { color: #fff; }
.topbar-tel { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(239,237,236,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-word { font-weight: 500; letter-spacing: .32em; font-size: 15px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--gold-deep); }
@media (max-width: 960px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 420px) { .brand-word { display: none; } }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,22,26,.92) 0%, rgba(19,22,26,.78) 45%, rgba(19,22,26,.45) 100%),
    url('img/hero-ponte.jpg') center / cover no-repeat, var(--ink); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 64px 20px 72px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin-bottom: 20px; }
.hero .eyebrow { color: #D9BE8C; }
.lede { font-size: 18px; color: #E7E2DA; max-width: 54ch; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 8px; }
.hero-points li { padding-left: 26px; position: relative; font-weight: 500; }
.hero-points li::before { content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 2px; background: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; padding-top: 44px; } }

/* Form card */
.card { background: var(--paper); color: var(--ink); border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.form-card { padding: 28px; border-top: 4px solid var(--gold); scroll-margin-top: 90px; }
.form-card h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin-bottom: 4px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 16px; }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.field.full, .lead-form .btn, .lead-form .status, .lead-form .fine { grid-column: 1 / -1; }
.field input, .field select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px; font: 400 15px var(--sans); color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { border-color: var(--gold-deep); outline: none; box-shadow: 0 0 0 3px rgba(184,147,90,.25); }
.hp { position: absolute; left: -9999px; }
.status { margin: 0; font-size: 14px; min-height: 1em; }
.status[data-kind="error"] { color: #A3281B; }
.status[data-kind="ok"] { color: #1F6B3A; font-weight: 600; }
.fine { font-size: 12px; color: var(--muted); margin: 0; }
@media (max-width: 480px) { .lead-form { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* Promise strip */
.promise { background: var(--ink); color: #fff; }
.promise-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.promise-in > div { padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.12); }
.promise-in > div:first-child { border-left: 0; }
.promise b { display: block; font-family: var(--serif); font-weight: 500; font-size: 28px; color: #D9BE8C; }
.promise span { font-size: 14px; color: #CFC8BD; }
@media (max-width: 800px) { .promise-in { grid-template-columns: 1fr 1fr; } .promise-in > div:nth-child(3) { border-left: 0; } .promise-in > div { border-top: 1px solid rgba(255,255,255,.12); } }

/* Sections */
section { scroll-margin-top: 70px; }
.how, .cases, .book, .sale, .areas, .faq { padding: 80px 0; }
.how { background: var(--paper); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 40px; color: var(--gold-deep); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-grid article { background: var(--stone); padding: 26px; }
.case-grid h3 { font-size: 17px; margin-bottom: 8px; }
.case-grid p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }

.book { background: var(--stone-2); }
.book-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.book-copy p { color: var(--muted); }
.next { background: #fff; border-left: 3px solid var(--gold); padding: 10px 14px; color: var(--ink) !important; }
.book-widget { min-width: 0; }
@media (max-width: 900px) { .book-in { grid-template-columns: 1fr; } }

.sale { background: var(--paper); }
.sale-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sale-head .section-sub { margin-bottom: 0; }
[hidden] { display: none !important; }

/* Home cards: the home page shows three, /imoveis shows them all. */
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .home-grid { grid-template-columns: 1fr; } }
.home-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.home-card:hover { border-color: var(--ink); box-shadow: 0 10px 28px rgba(19,22,26,.10); }
.home-card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); }
/* Absolute, so a tall (portrait) photo is cropped to the frame instead of stretching the card. */
.home-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-card-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.home-card-where { margin: 0; font-size: 13px; color: var(--gold-deep); font-weight: 600; }
.home-card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.home-card-meta { margin: 0; font-size: 14px; color: var(--muted); }
.home-card-price { margin: 6px 0 0; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.home-card.is-closed .home-card-photo img { filter: grayscale(.7); opacity: .8; }
.no-photo { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; font: 600 12px/1.2 var(--sans); background: var(--ink); color: #fff; border-radius: 3px; }
.tag-closed { background: var(--gold-deep); }
.home-price .tag { position: static; display: inline-block; vertical-align: middle; margin-right: 10px; font-size: 13px; }
.skel { min-height: 340px; background: linear-gradient(90deg, var(--stone-2), #EDE9E3, var(--stone-2)); background-size: 200% 100%; animation: skel 1.4s ease-in-out infinite; border-color: transparent; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.homes-empty { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--line); padding: 32px; border-radius: var(--radius); }
.homes-empty p:last-child { margin: 0; }

/* /imoveis and /imovel/REF */
.homes-page, .home-page { padding: 40px 0 80px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); }
.nav-links a[aria-current="page"] { color: var(--gold-deep); }
.home-loading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; }
.skel-photo { aspect-ratio: 3 / 2; min-height: 0; }
@media (max-width: 900px) { .home-loading { grid-template-columns: 1fr; } }
.home-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .home-top { grid-template-columns: 1fr; gap: 24px; } }
.gallery { display: grid; gap: 10px; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 3 / 2; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.gal-prev { left: 12px; } .gal-next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(19,22,26,.75); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.home-panel { position: sticky; top: 96px; }
@media (max-width: 900px) { .home-panel { position: static; } }
.home-panel h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; margin-bottom: 10px; }
.home-price { font-family: var(--serif); font-size: 32px; color: var(--gold-deep); margin: 0 0 18px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.home-actions .btn-dark { flex: 1 1 100%; }
.home-closed { background: var(--stone-2); padding: 14px 16px; border-left: 3px solid var(--gold); }
.ref { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.home-bottom { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .home-bottom { grid-template-columns: 1fr; } }
.home-text h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 12px; }
.home-text h2 + p { margin-top: 0; }
.home-text p { max-width: 68ch; }
.home-text h2:not(:first-child) { margin-top: 32px; }
.features { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.features li { background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: 3px; font-size: 14px; }
.visit { padding: 26px; scroll-margin-top: 96px; box-shadow: none; border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.visit h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 4px; }
.visit-days, .visit-slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.visit-days button, .visit-slots button { font: 500 14px var(--sans); padding: 9px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 3px; cursor: pointer; font-variant-numeric: tabular-nums; }
.visit-days button:hover, .visit-slots button:hover { border-color: var(--ink); }
.visit-days button[aria-pressed="true"], .visit-slots button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.visit-slots button { min-width: 72px; }
.visit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 20px; }
.visit-form .btn, .visit-form .status { grid-column: 1 / -1; }
.visit-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font: 400 15px var(--sans); color: var(--ink); resize: vertical; }
.visit-form textarea:focus { border-color: var(--gold-deep); outline: none; box-shadow: 0 0 0 3px rgba(184,147,90,.25); }
.opt { font-weight: 400; color: var(--muted); }
@media (max-width: 480px) { .visit-form { grid-template-columns: 1fr; } .visit { padding: 20px; } }
.visit-done { margin-top: 18px; background: #EEF5EF; border-left: 3px solid #1F6B3A; padding: 16px; }
.visit-done h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 4px; }
.visit-done p { margin: 0; }

.price { font-family: var(--serif); font-size: 30px; color: var(--gold-deep); margin: 6px 0 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 0; font-weight: 600; }

.areas { background: var(--stone); }
.area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 12px; }
.area-cols h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; color: var(--gold-deep); }
.area-cols p { color: var(--ink-2); }
@media (max-width: 700px) { .area-cols { grid-template-columns: 1fr; } }

.faq { background: var(--paper); }
.faq-in { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 24px; color: var(--gold-deep); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.final { background: var(--ink); color: #fff; padding: 72px 0; text-align: center; }
.final h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.final p { color: #CFC8BD; }
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.footer { background: #0D0F12; color: #BDB6AB; font-size: 14px; padding-top: 48px; }
.footer-in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer h3 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.footer a { color: #E6E0D6; }
.footer-logo { width: 130px; height: auto; filter: invert(1) brightness(1.6); opacity: .9; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-base p { margin: 0; }
.demo-note { color: #8F887E; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #1F8F4E; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 30; }
.wa-float:hover { background: #18773F; }

/* Booking widget: square chips to match the buttons. */
[data-booking] .bk-chip { border-radius: var(--bk-radius-sm); }

/* ── v2: sellers first, trust, the comparison ── */
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.nav-links a.nav-buy { color: var(--muted); border-left: 1px solid var(--line); padding-left: 22px; }
@media (max-width: 1100px) { .nav-links { gap: 16px; font-size: 13px; } .nav-links a.nav-buy { padding-left: 16px; } }

.hero-next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; padding: 12px 14px; background: rgba(255,255,255,.08); border-left: 3px solid var(--gold); font-size: 15px; color: #E7E2DA; max-width: 560px; }
.hero-next b { color: #fff; }
.next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }

/* Comparison */
.compare { background: var(--paper); padding: 80px 0; }
.time-chart { margin: 8px 0 36px; padding: 24px; background: var(--stone); border-radius: var(--radius); }
.time-chart figcaption { font-weight: 600; margin-bottom: 16px; }
.tc-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 8px 0; }
.tc-label { font-weight: 600; font-size: 15px; }
.tc-track { height: 18px; background: rgba(19,22,26,.06); border-radius: 2px; position: relative; }
.tc-bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; }
.tc-slow { background: #A9A39B; }
.tc-fast { background: var(--gold); min-width: 6px; }
.tc-val { white-space: nowrap; font-family: var(--serif); font-size: 22px; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .tc-row { grid-template-columns: 1fr auto; } .tc-track { grid-column: 1 / -1; grid-row: 2; } }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vs-col { padding: 30px 32px; min-width: 0; }
.vs-col h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 18px; }
.vs-col ul { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 14px; }
.vs-col li { position: relative; padding-left: 30px; line-height: 1.45; }
.vs-them { background: var(--stone); color: var(--ink-2); }
.vs-them li::before { content: '×'; position: absolute; left: 2px; top: -3px; font-size: 22px; color: #9A948C; }
.vs-us { background: var(--ink); color: #fff; }
.vs-us h3 { color: #fff; }
.vs-us li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.vs-us .btn { margin-top: 24px; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } .vs-col { padding: 24px; } }

/* Quem somos */
.about { background: var(--stone); padding: 80px 0; }
.about-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-copy p { max-width: 62ch; color: var(--ink-2); }
.values { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.values li { border-top: 2px solid var(--ink); padding-top: 12px; }
.values b { display: block; margin-bottom: 4px; }
.values span { font-size: 14px; color: var(--muted); }
.about-facts { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 24px; }
.about-facts dl { margin: 0; display: grid; gap: 16px; }
.about-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.about-facts dd { margin: 2px 0 0; font-weight: 600; }
.team { grid-column: 1 / -1; }
.team h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 16px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.member { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; }
.member span { font-size: 14px; color: var(--muted); }
.member p { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 900px) { .about-in { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr; } }

/* Casos reais */
.stories { background: var(--paper); padding: 80px 0; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--stone); }
.story img { width: calc(100% + 48px); margin: -24px -24px 6px; aspect-ratio: 16 / 10; object-fit: cover; max-width: none; }
.story-sit { margin: 0; font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.story blockquote { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.4; }
.story-name { margin: 0; font-weight: 600; }
.story-solved { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

/* Footer: social and legal */
.social { margin-top: 14px; }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.social a:hover { color: #fff; }
.legal { margin: 0; }
.legal a { color: inherit; }

/* Legal pages */
.legal-page { background: var(--paper); padding: 48px 0 80px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.legal-page h2 { font-size: 19px; margin: 32px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.fill { background: #FFF3D6; padding: 0 4px; border-radius: 2px; }

/* Menu: one line on desktop; a menu button below 1100px. */
.nav-links a, .nav-cta { white-space: nowrap; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; padding: 0 11px; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { display: block; height: 2px; background: var(--ink); }
.nav-menu nav { position: absolute; right: 0; top: 52px; min-width: 260px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(19,22,26,.14); display: grid; padding: 8px; z-index: 30; }
.nav-menu nav a { padding: 12px 14px; text-decoration: none; font-weight: 500; border-radius: 3px; }
.nav-menu nav a:hover { background: var(--stone); }
.nav-menu nav a.nav-buy { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; color: var(--gold-deep); border-left: 0; }
@media (max-width: 1100px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } .nav-menu { display: block; } }
@media (max-width: 420px) { .nav-cta { padding: 0 14px; } }

/* The booking box clears the sticky menu when scrolled to. */
[data-booking] { scroll-margin-top: 120px; }

/* Comparison table: the Urban Focus column stands out (as on homebuyers.pt). */
.cmp-table-wrap { overflow-x: auto; }
.cmp-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp-table thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 0; padding-bottom: 12px; }
.cmp-table tbody th { font-weight: 600; color: var(--ink-2); width: 30%; }
.cmp-table td { color: var(--muted); width: 35%; }
.cmp-table .us { background: var(--ink); color: #fff; font-weight: 600; border-bottom-color: rgba(255,255,255,.12); }
.cmp-table thead .us { color: var(--goldl, #D9BC8C); border-radius: 6px 6px 0 0; padding-top: 18px; }
.cmp-table tbody tr:last-child .us { border-radius: 0 0 6px 6px; border-bottom: 0; }
.cmp-table tbody tr:nth-child(even) th, .cmp-table tbody tr:nth-child(even) td:not(.us) { background: var(--stone); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cmp-cta { margin: 28px 0 0; }

/* Como funciona with photos */
.how-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.how-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.how-photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.how-photos img:last-child { margin-top: 48px; }
.how-in .steps { grid-template-columns: 1fr; gap: 22px; margin-bottom: 28px; }
.how-in .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; border-top: 0; padding-top: 0; }
.how-in .steps li::before { grid-row: span 2; font-size: 34px; margin: 0; }
.how-in .steps h3, .how-in .steps p { grid-column: 2; }
@media (max-width: 900px) { .how-in { grid-template-columns: 1fr; gap: 32px; } .how-photos { max-width: 520px; } }

/* Hero stats */
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px; max-width: 560px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { margin: 0; font-family: var(--serif); font-size: 34px; color: #D9BE8C; line-height: 1.1; }
.hero-stats dt { font-size: 13px; color: #CFC8BD; }

/* Video testimonials */
.story-video { width: calc(100% + 48px); margin: -24px -24px 6px; aspect-ratio: 9 / 16; max-height: 520px; object-fit: cover; background: var(--ink); }
@media (max-width: 600px) { .cmp-table { min-width: 0; font-size: 13px; } .cmp-table th, .cmp-table td { padding: 11px 9px; } .cmp-table thead th { font-size: 11px; letter-spacing: .03em; } .cmp-table tbody th { width: 32%; } }

/* ── The entrance: doors that open on scroll ── */
.entrance { position: relative; height: 230vh; background: var(--ink); }
.entrance-stage { position: sticky; top: 68px; height: calc(100vh - 68px); height: calc(100svh - 68px); overflow: hidden; perspective: 1400px; perspective-origin: 50% 45%; }
.entrance-room { position: absolute; inset: 0; overflow: hidden; background: #2A2E33; }
.room-photo { position: absolute; inset: 0; transform: scale(1.28); transform-origin: 50% 55%; will-change: transform;
  background: linear-gradient(180deg, rgba(19,22,26,.25), rgba(19,22,26,.55)),
    url('img/entrada-sala.jpg') center / cover no-repeat, #3A3631; }
.entrance-room::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, transparent, rgba(19,22,26,.72)); pointer-events: none; }
.room-text { z-index: 1; position: absolute; left: 0; right: 0; bottom: 16%; text-align: center; color: #fff; padding: 0 20px; opacity: 0; }
.room-kicker { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #E2C792; margin-bottom: 10px; }
.room-title { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 64px); line-height: 1.08; max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.door { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, #171A1F, #1E2228 60%, #171A1F); will-change: transform; backface-visibility: hidden;
  display: grid; grid-template-rows: 1fr 1.3fr; gap: 3.5vh; padding: 9vh 5vw 11vh; box-shadow: inset 0 0 0 1px rgba(184,147,90,.25); }
.door::after { content: ''; position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.door-l { left: 0; transform-origin: left center; }
.door-r { right: 0; transform-origin: right center; }
.door-panel { border: 1px solid rgba(184,147,90,.45); box-shadow: inset 0 0 0 10px #1A1D22, inset 0 0 0 11px rgba(184,147,90,.22); }
.door-handle { position: absolute; top: 50%; width: 6px; height: 120px; margin-top: -60px; border-radius: 3px; background: linear-gradient(180deg, #E2C792, #B8935A 55%, #8C6C3A); box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.door-l .door-handle { right: 22px; } .door-r .door-handle { left: 22px; }
/* The monogram straddles the seam: each door shows its half. */
.door-mono { position: absolute; top: 50%; width: 120px; height: 120px; margin-top: -170px; overflow: hidden; }
.door-mono img { width: 120px; height: 120px; max-width: none; position: absolute; top: 0; opacity: .85; }
.door-l .door-mono { right: 0; width: 60px; } .door-l .door-mono img { left: 0; }
.door-r .door-mono { left: 0; width: 60px; } .door-r .door-mono img { left: -60px; }
.door-copy { position: absolute; left: 0; right: 0; bottom: 15vh; text-align: center; color: #fff; padding: 0 20px; pointer-events: none; }
.door-brand { font-size: 13px; font-weight: 600; letter-spacing: .32em; color: #E2C792; margin-bottom: 10px; }
.door-title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5.2vw, 66px); line-height: 1.05; margin: 0 0 14px; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.door-hint { font-size: 14px; color: #CFC8BD; margin: 0; }
.door-hint span { display: inline-block; animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.entrance-skip { position: absolute; right: 20px; top: 16px; z-index: 3; font-size: 13px; color: #E7E2DA; text-decoration: underline; text-underline-offset: 3px; background: rgba(19,22,26,.55); padding: 8px 12px; border-radius: 3px; }
@media (max-width: 700px) {
  .entrance { height: 200vh; }
  .door { padding: 8vh 6vw 14vh; }
  .door-copy { bottom: 21vh; }
  .door-handle { height: 84px; margin-top: -42px; }
  .door-mono, .door-mono img { width: 84px; height: 84px; } .door-mono { margin-top: -130px; }
  .door-l .door-mono, .door-r .door-mono { width: 42px; } .door-r .door-mono img { left: -42px; }
}
@media (prefers-reduced-motion: reduce) { .entrance { display: none; } }

/* Preview (/?preview): example content is marked as such. */
.preview-bar { background: #FFF3D6; color: #5A4520; font-size: 13px; text-align: center; padding: 8px 16px; }
.member-ph { display: grid; place-items: center; aspect-ratio: 1; background: var(--stone-2); color: var(--muted); font-size: 14px; }
.is-preview .member figcaption::before, .is-preview .story::before { content: 'Exemplo'; justify-self: start; align-self: start; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: #FFF3D6; color: #5A4520; padding: 3px 8px; border-radius: 2px; margin-bottom: 4px; }

/* Parceiros: Casa 361, for people who want to buy. Their logo sits on its own
   black, so the tile takes that colour and the logo reads as printed on it. */
.partner { background: var(--paper); padding: 72px 0; scroll-margin-top: 80px; }
.partner-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.partner-logo { display: block; background: #191919; border-radius: 6px; padding: 28px; }
.partner-logo img { width: 100%; height: auto; }
.partner-logo:hover { box-shadow: 0 0 0 2px var(--gold); }
.partner-copy p { color: var(--muted); max-width: 56ch; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 760px) {
  .partner { padding: 52px 0; }
  .partner-in { grid-template-columns: 1fr; gap: 28px; }
  .partner-logo { max-width: 420px; }
}

/* ── Seller page, oct 2026 ── */
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; font-weight: 600; }
.hero-actions .btn-lg { flex-basis: 100%; max-width: 420px; }
.topbar-buy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.assure { background: var(--ink); color: #E7E2DA; border-top: 1px solid rgba(255,255,255,.08); }
.assure-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 0; padding-bottom: 0; }
.assure-in p { margin: 0; padding: 22px 20px; border-left: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 4px; }
.assure-in p:first-child { border-left: 0; padding-left: 0; }
.assure-in b { font-family: var(--serif); font-weight: 500; font-size: 19px; color: #D9BE8C; }
.assure-in span { font-size: 14px; color: #CFC8BD; }
.footer-4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.footer-id { font-size: 12px; line-height: 1.6; color: #8F887E; margin-top: 14px; }
.footer-partners p { display: flex; flex-direction: column; margin: 0 0 12px; }
.footer-partners span { font-size: 12px; color: #8F887E; }
.footer-base .legal { font-size: 13px; }
@media (max-width: 900px) {
  .assure-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assure-in p { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .footer-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) { .topbar-buy { display: none; } }
@media (max-width: 520px) {
  .assure-in { grid-template-columns: 1fr; }
  .footer-4 { grid-template-columns: 1fr; }
  .hero-actions .btn-lg { max-width: none; }
}
