:root {
  --cream: #faf6f0;
  --sand: #f2e9dd;
  --line: #e4d8c8;
  --ink: #1d2226;
  --ink-2: #4a5157;
  --muted: #7a7f84;
  --copper: #b56d34;
  --copper-d: #96561f;
  --wa: #1f9d55;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
em { font-style: italic; color: var(--copper); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow { margin: 0 0 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font: 600 0.95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-d); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* Navegação */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; background: rgba(250, 246, 240, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.25rem/1 var(--serif); }
.nav-brand img { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 0.92rem; color: var(--ink-2); }
.nav-links a:not(.btn):hover { color: var(--copper); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; margin: 20px 0 28px; }
.price-tag { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: 0.92rem; }
.price-tag strong { color: var(--copper); font-size: 1.05rem; }
.ask { display: grid; grid-template-columns: 1fr 1fr 0.8fr auto; gap: 10px; align-items: end; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px -18px rgba(60, 40, 20, .35); }
.ask label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ask label span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ask input, .ask select { width: 100%; min-width: 0; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); font: 500 0.95rem var(--sans); color: var(--ink); }
.ask input:focus, .ask select:focus { outline: 2px solid var(--copper); outline-offset: 1px; }
.ask .btn { height: 44px; }
.ask input.invalid { border-color: #c0392b; }
.ask-note { margin: 12px 2px 0; font-size: 0.85rem; color: var(--muted); }

.hero-mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: min(640px, 72vh); }
.hero-mosaic img:not(.hero-seal) { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius); }
.hero-mosaic .m1 { grid-row: 1 / 3; }
.hero-seal { position: absolute; left: -44px; bottom: 28px; width: 128px; height: 128px; border-radius: 50%; box-shadow: 0 12px 30px -10px rgba(60, 40, 20, .45); }

/* Números */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 26px 12px; text-align: center; }
.facts-grid div + div { border-left: 1px solid var(--line); }
.facts strong { display: block; font: 600 2rem/1.1 var(--serif); color: var(--copper); }
.facts span { font-size: 0.88rem; color: var(--ink-2); }

/* Seções */
.section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head p:not(.eyebrow) { color: var(--ink-2); margin: 14px 0 0; }

/* Apartamentos */
.apts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.apt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.apt-photos { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; }
.apt-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.apt-photos:hover img { transform: scale(1.03); }
.apt-count { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(29, 34, 38, .78); color: #fff; font-size: 0.8rem; font-weight: 500; }
.apt-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; }
.apt-thumbs button { padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.apt-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.apt-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.apt-body h3 { font-size: 1.6rem; }
.apt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.apt-tags li { padding: 4px 10px; border-radius: 999px; background: var(--sand); font-size: 0.8rem; color: var(--ink-2); }
.apt-body p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.apt-body .link-arrow { margin-top: auto; padding-top: 6px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--copper); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Comodidades */
.amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.amen li { display: flex; gap: 14px; padding: 22px; background: var(--cream); border-radius: var(--radius); }
.amen svg { flex: 0 0 26px; width: 26px; height: 26px; fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.amen strong { display: block; font-size: 1rem; }
.amen span { font-size: 0.9rem; color: var(--ink-2); }

/* Vila inteira */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.groups-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.groups-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.groups-photos img:last-child { margin-top: 48px; }
.groups-copy p:not(.eyebrow) { color: var(--ink-2); margin: 18px 0; }
.checks { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Localização */
.loc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.places { display: grid; gap: 16px; }
.place { padding: 20px 22px; background: var(--cream); border-radius: var(--radius); }
.place h3 { font: 600 0.8rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 10px; }
.place p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.place p:last-child { border-bottom: 0; }
.place b { font-weight: 600; white-space: nowrap; }
.map { min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Anfitrião */
.host { padding: 72px 0; text-align: center; }
.host-inner { max-width: 660px; }
.host p:not(.eyebrow) { color: var(--ink-2); margin: 16px 0 20px; }

/* Dúvidas */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--copper); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* CTA final */
.cta-final { padding: 88px 0; text-align: center; background: var(--ink); color: #fff; }
.cta-final img { width: 120px; height: 120px; margin: 0 auto 22px; border-radius: 50%; }
.cta-final p { color: rgba(255, 255, 255, .72); margin: 12px 0 28px; }

/* Rodapé */
.footer { padding: 44px 0 96px; background: #15191c; color: rgba(255, 255, 255, .7); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer strong { color: #fff; font: 600 1.3rem var(--serif); }
.footer p { margin: 6px 0 0; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { text-align: center; margin: 32px 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, .45); }

/* WhatsApp flutuante */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); }

/* Galeria */
.lb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(12, 14, 16, .94); }
.lb[hidden] { display: none; }
.lb img { max-width: min(92vw, 900px); max-height: 86vh; width: auto; border-radius: 8px; }
.lb-btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 0.85rem; }

/* Responsivo */
@media (max-width: 1000px) {
  .hero-grid, .groups, .loc { grid-template-columns: 1fr; gap: 40px; }
  .hero-mosaic { height: 460px; }
  .hero-seal { left: auto; right: 16px; bottom: -28px; width: 104px; height: 104px; }
  .apts { grid-template-columns: 1fr 1fr; }
  .amen { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links .btn { margin-top: 16px; }
  .nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 28px 0 56px; }
  .ask { grid-template-columns: 1fr 1fr; }
  .ask label:nth-child(3) { grid-column: 1 / 3; }
  .ask .btn { grid-column: 1 / 3; }
  .hero-mosaic { height: 380px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts strong { font-size: 1.6rem; }
  .facts-grid div { padding: 20px 8px; }
  .hero-seal { display: none; }
  .facts-grid div:nth-child(3) { border-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .apts, .amen { grid-template-columns: 1fr; }
  .groups-photos img:last-child { margin-top: 32px; }
  .float-wa span { display: none; }
  .float-wa { padding: 14px; }
  .lb-prev, .lb-next { top: auto; bottom: 48px; transform: none; }
}
