:root {
  --clay: #c45c26;
  --clay-dark: #9a4318;
  --sand: #e8d4b0;
  --cream: #fbf6ee;
  --olive: #3d5c4a;
  --olive-dark: #2a4034;
  --stone: #6b5344;
  --ink: #1c1612;
  --muted: #5c534c;
  --paper: #fffdf9;
  --line: rgba(28, 22, 18, 0.1);
  --shadow: 0 18px 50px rgba(28, 22, 18, 0.12);
  --radius: 1.25rem;
  --header: 4.5rem;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 650;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 238, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 249, 0.94);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--clay-dark);
}

.nav-cta {
  background: var(--clay);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 22, 18, 0.15) 0%, rgba(28, 22, 18, 0.72) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.5rem;
}

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.kicker {
  color: var(--clay-dark);
}

.lede {
  max-width: 38rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.stats-grid,
.cards,
.place-grid,
.posts,
.facts,
.split {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
}

.btn-primary {
  background: var(--clay);
  color: #fff;
}

.btn-primary:hover {
  background: var(--clay-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.stats {
  background: var(--olive);
  color: #f4efe6;
  padding: 1.5rem 0;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stats article strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.stats article span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--paper);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.section-head p,
.prose {
  color: var(--muted);
}

.split {
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
}

.place-grid {
  grid-template-columns: 1fr 1fr;
}

.posts {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.card,
.place,
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.section-alt .card,
.section-alt .post-card {
  background: #fff;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(196, 92, 38, 0.1);
  color: var(--clay-dark);
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.place {
  background:
    linear-gradient(180deg, rgba(196, 92, 38, 0.08), transparent 40%),
    var(--paper);
  min-height: 220px;
}

.place-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--clay-dark);
  font-weight: 600;
}

.post-card {
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-cover {
  width: calc(100% + 2.8rem);
  height: 160px;
  object-fit: cover;
  margin: -1.4rem -1.4rem 1rem;
}

.post-gallery {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.post-gallery img {
  width: 100%;
  border-radius: 0.9rem;
  display: block;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.post-meta {
  color: var(--stone);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.facts {
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.3rem);
  padding: 0.5rem 1.5rem 1.5rem;
}

.facts > div {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.facts-wide {
  grid-column: 1 / -1;
}

dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone);
  margin-bottom: 0.25rem;
}

dd {
  margin: 0;
  font-size: 1.05rem;
}

.copy-cnpj {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.copy-cnpj small {
  color: var(--clay-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.badge {
  display: inline-block;
  background: rgba(61, 92, 74, 0.12);
  color: var(--olive);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.section-contact {
  background: var(--olive-dark);
  color: #f7f1e8;
}

.section-contact .kicker,
.section-contact .prose,
.section-contact .hint,
.section-contact .form-note {
  color: rgba(247, 241, 232, 0.78);
}

.whatsapp-block {
  margin: 0 0 1rem;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #25d366;
  color: #08351c !important;
  font-weight: 700;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
}

.whatsapp-link:hover {
  filter: brightness(1.05);
}

.address {
  font-style: normal;
  font-size: 1.15rem;
  margin: 0 0 1.2rem;
}

.footer-meta a {
  color: var(--clay-dark);
  margin-left: 0.6rem;
  text-decoration: none;
  font-size: 0.85rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--ink);
}

.form-note,
.form-status {
  font-size: 0.88rem;
  margin: 0;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.post-dialog {
  border: 0;
  border-radius: 1.4rem;
  padding: 0;
  width: min(680px, 92vw);
  box-shadow: var(--shadow);
}

.post-dialog::backdrop {
  background: rgba(28, 22, 18, 0.55);
}

.post-dialog article {
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
}

.dialog-close {
  position: absolute;
  right: 0.8rem;
  top: 0.6rem;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--stone);
}

.empty-posts {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: var(--header) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 0.5rem 1rem 1.2rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1rem;
  }

  .cards,
  .place-grid,
  .posts,
  .facts,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
  }

  .section {
    padding: 3.5rem 0;
  }
}

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

  .post-card {
    transition: none;
  }
}
