:root {
  --bg: #1c1410;
  --bg-2: #241a14;
  --surface: #2c2119;
  --cream: #f4eadb;
  --paper: #fffaf2;
  --ink: #1c1410;
  --muted: #8a7d70;
  --muted-dark: #d4c6b4;
  --wine: #8f3b2c;
  --wine-2: #b85a45;
  --brass: #c4a35a;
  --brass-2: #e4d09a;
  --line: rgba(228, 208, 154, 0.16);
  --line-ink: rgba(28, 20, 16, 0.1);
  --wa: #1f9e4b;
  --wa-2: #188a40;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header: 72px;
  --dock: 0px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 10px);
}

.section[id],
.hero,
.cta-final,
.strip {
  scroll-margin-top: calc(var(--header) + 10px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--cream);
  background: var(--bg);
  line-height: 1.55;
  padding-bottom: var(--dock);
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.section a,
.faq a,
.local-list a,
.footer-inner a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-dark a,
.cta-final a:not(.btn),
.site-footer a {
  color: var(--brass-2);
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--brass);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(28, 20, 16, 0.9);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.header-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--brass);
  color: var(--brass-2);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
}

.brand-text small {
  color: var(--muted-dark);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.nav a {
  color: var(--muted-dark);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav-phone {
  color: var(--cream);
}

.header-actions,
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brass);
  color: var(--ink) !important;
}

.btn-primary:hover {
  background: var(--brass-2);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--cream) !important;
}

.btn-ghost:hover {
  background: rgba(244, 234, 219, 0.08);
}

.btn-wa {
  background: var(--wa);
  color: #fff !important;
}

.btn-wa:hover {
  background: var(--wa-2);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 22px;
}

.btn-block {
  width: 100%;
}

.icon-wa {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  margin: 6px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 80px;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.42);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 20, 16, 0.92) 0%, rgba(28, 20, 16, 0.72) 48%, rgba(28, 20, 16, 0.38) 100%),
    linear-gradient(180deg, rgba(28, 20, 16, 0.2) 0%, rgba(28, 20, 16, 0.55) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brass);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.55rem);
  font-weight: 800;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted-dark);
  max-width: 50ch;
  margin: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--muted-dark);
  background: rgba(28, 20, 16, 0.28);
}

.ticket {
  background: linear-gradient(180deg, rgba(44, 33, 25, 0.92), rgba(28, 20, 16, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.ticket-kicker {
  margin: 0 0 6px;
  color: var(--brass);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticket h2 {
  font-size: 1.45rem;
}

.ticket dl {
  margin: 0 0 18px;
}

.ticket dl div {
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}

.ticket dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ticket dd {
  margin: 4px 0 0;
}

.ticket a {
  color: var(--brass-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.strip {
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line-ink);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 36px 0;
}

.strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.strip p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 80px 0;
  color: var(--ink);
  background: var(--cream);
}

.section p {
  color: #5a5248;
}

.section-dark {
  background: var(--bg-2);
  color: var(--cream);
}

.section-dark p {
  color: var(--muted-dark);
}

.section-alt {
  background: #efe4d2;
  color: var(--ink);
}

.section-head {
  max-width: 64ch;
  margin-bottom: 32px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  background: var(--paper);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--line-ink);
  min-height: 210px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--brass);
  transform: translateY(-3px);
}

.icon {
  width: 42px;
  height: 42px;
  color: var(--wine);
  margin-bottom: 12px;
}

.icon svg {
  width: 32px;
  height: 32px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stats article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.stat-value {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--brass-2);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.stats h3 {
  font-size: 1.05rem;
  color: var(--cream);
}

.sources {
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.sources h3 {
  font-size: 1.15rem;
  color: var(--cream);
}

.sources ul {
  margin: 0;
  padding-left: 18px;
}

.sources li + li {
  margin-top: 8px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line-ink);
  padding: 4px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--wine);
  font-size: 1.2rem;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.bairro-photo {
  margin: 20px 0 0;
}

.bairro-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
}

.bairro-photo figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.local-list {
  padding-left: 18px;
  margin: 18px 0 24px;
}

.map-wrap {
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-ink);
  position: sticky;
  top: calc(var(--header) + 16px);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05) saturate(0.85);
}

.cta-final {
  padding: 88px 0;
  text-align: center;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(143, 59, 44, 0.28), transparent 60%),
    var(--bg);
}

.cta-inner {
  max-width: 720px;
}

.cta-final h2 {
  max-width: 16ch;
  margin-inline: auto;
}

.cta-final .hero-cta {
  justify-content: center;
  margin-top: 20px;
}

.cta-final p {
  color: var(--muted-dark);
}

.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-inner p {
  margin: 0 0 6px;
}

.brand-footer {
  font-family: var(--display);
  color: var(--cream);
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.fineprint {
  color: var(--muted);
  font-size: 0.82rem;
}

.dock {
  display: none;
}

@media (max-width: 960px) {
  .hero-layout,
  .cards,
  .stats,
  .split,
  .faq-layout,
  .strip-inner {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .hero {
    min-height: auto;
    padding: 32px 0 48px;
  }

  .map-wrap {
    position: static;
    min-height: 320px;
  }

  .map-wrap iframe {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #1c1410;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }

  .nav.is-open a {
    font-size: 1.12rem;
    color: var(--cream);
  }

  .section,
  .cta-final {
    padding: 56px 0;
  }

  .card {
    min-height: 0;
  }

  .bairro-photo img {
    height: 200px;
  }

  :root {
    --dock: 76px;
  }

  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(28, 20, 16, 0.96);
    border-top: 1px solid var(--line);
    z-index: 11;
  }

  .dock a {
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-weight: 700;
    color: #fff;
  }

  .dock-call {
    background: var(--brass);
    color: var(--ink) !important;
  }

  .dock-wa {
    background: var(--wa);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card {
    transition: none;
  }
}

@media print {
  .site-header,
  .dock,
  .hero-cta,
  .header-actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    padding: 0;
  }
}
