:root {
  --verde: #24503c;
  --verde-escuro: #16302a;
  --dourado: #e3b448;
  --dourado-escuro: #b9862b;
  --dourado-suave: #f8ecd2;
  --creme: #fff9ec;
  --creme-card: #ffffff;
  --ink: #1e2b22;
  --muted: #5c6b60;
  --line-gold: #e4cd93;
  --font-serif: "Young Serif", Georgia, serif;
  --font-sans: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--verde);
}

section[id], article[id] { scroll-margin-top: 96px; }

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3.75rem 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--dourado-escuro);
}

.eyebrow-light { color: var(--dourado); }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-gold);
}

.header-in {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  height: 2.9rem;
  width: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--verde), var(--verde-escuro));
  color: var(--dourado);
  box-shadow: 0 10px 22px rgba(22, 48, 38, 0.28);
}

.brand-mark svg { width: 1.7rem; height: 1.7rem; display: block; }

.brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--verde);
}

.brand-text small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.nav a:not(.btn) {
  padding: 0.5rem 0.8rem;
  border-radius: 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.nav a:not(.btn):hover {
  color: var(--verde);
  background: var(--dourado-suave);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1.35rem;
  border-radius: 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-solid {
  background: linear-gradient(135deg, var(--verde), var(--verde-escuro));
  color: var(--creme);
  box-shadow: 0 12px 26px rgba(22, 48, 38, 0.28);
}

.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(22, 48, 38, 0.34);
}

.btn-ghost {
  border: 1px solid var(--dourado);
  color: var(--creme);
  background: transparent;
}

.btn-ghost:hover { background: rgba(227, 180, 72, 0.16); }

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--verde);
  color: var(--creme);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-seal {
  width: clamp(150px, 22vw, 210px);
  margin-bottom: 1rem;
}

.hero-seal svg { width: 100%; height: auto; display: block; }

.hero h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(2.75rem, 7vw, 4.4rem);
  line-height: 1.05;
  color: var(--creme);
}

.hero-lead {
  max-width: 40rem;
  margin: 1.1rem auto 0;
  font-size: 1.02rem;
  color: rgba(255, 249, 236, 0.82);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.hero-facts {
  margin-top: 2.75rem;
  width: 100%;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(227, 180, 72, 0.35);
  padding-top: 1.75rem;
}

@media (min-width: 800px) {
  .hero-facts { grid-template-columns: repeat(4, 1fr); }
}

.fact small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dourado);
}

.fact span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--creme);
}

/* ---------- Divisórias em arco (scallop) ---------- */

.scallop {
  height: 26px;
  background-repeat: repeat-x;
  background-size: 26px 26px;
}

.scallop-verde-creme {
  background-color: var(--creme);
  background-image: radial-gradient(circle at 13px 26px, var(--verde) 13px, transparent 14px);
}

.scallop-creme-verde {
  background-color: var(--verde);
  background-image: radial-gradient(circle at 13px 26px, var(--creme) 13px, transparent 14px);
}

/* ---------- Sobre ---------- */

.sobre-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .sobre-grid { grid-template-columns: 1.6fr 1fr; }
}

.sobre-text p {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  line-height: 1.9;
  color: var(--muted);
}

.sobre-text p:last-child { margin-bottom: 0; }

.sobre-destaque {
  border: 1px solid var(--dourado);
  border-radius: 1.1rem;
  background: var(--verde);
  color: var(--creme);
  padding: 2rem 1.85rem;
}

.sobre-destaque h3 {
  margin: 0 0 1.1rem;
  font-size: 1.3rem;
  color: var(--dourado);
}

.sobre-destaque ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sobre-destaque li::marker { color: var(--dourado); }

/* ---------- Faixa dourada (espigas) ---------- */

.spiga-band {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background-color: var(--dourado);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><path d='M20,36 L20,4 M20,10 L12,4 M20,10 L28,4 M20,16 L12,10 M20,16 L28,10 M20,22 L12,16 M20,22 L28,16 M20,28 L12,22 M20,28 L28,22' stroke='%23163126' stroke-width='1.1' stroke-opacity='0.18' fill='none'/></svg>");
  background-size: 40px 40px;
}

.spiga-band p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--verde-escuro);
}

/* ---------- Especialidades (cardápio) ---------- */

.especialidades-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .especialidades-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .especialidades-grid { grid-template-columns: repeat(3, 1fr); }
}

.card-cardapio {
  border: 1px solid var(--line-gold);
  border-radius: 1rem;
  background: var(--creme-card);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: 0 10px 26px rgba(22, 48, 38, 0.06);
}

.cardapio-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.cardapio-row .nome {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--verde);
  white-space: nowrap;
}

.cardapio-row .dots {
  flex: 1;
  min-width: 0.75rem;
  margin-bottom: 0.32rem;
  border-bottom: 2px dotted var(--dourado-escuro);
  opacity: 0.6;
}

.cardapio-row .icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--dourado-escuro);
}

.cardapio-desc {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Compromisso ---------- */

.compromisso {
  padding: 4.5rem 0;
  text-align: center;
  background: var(--verde);
  color: var(--creme);
}

.compromisso blockquote {
  position: relative;
  max-width: 44rem;
  margin: 0.5rem auto 0;
  padding-top: 2.25rem;
}

.compromisso blockquote::before {
  content: "\2766";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--dourado);
}

.compromisso blockquote p {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--creme);
}

.compromisso blockquote p:last-child { margin-bottom: 0; }

/* ---------- Dados oficiais ---------- */

.dados { padding: 3.75rem 0; background: var(--creme); }

.dados h2 { margin: 0 0 1.75rem; }

.dados-table-wrap {
  border: 1px solid var(--line-gold);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--creme-card);
}

.dados-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dados-table th, .dados-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line-gold);
}

.dados-table tr:last-child th, .dados-table tr:last-child td { border-bottom: 0; }

.dados-table th {
  width: 14rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--verde);
  white-space: nowrap;
}

.dados-table td { color: var(--muted); }

@media (max-width: 640px) {
  .dados-table, .dados-table tbody, .dados-table tr, .dados-table th, .dados-table td {
    display: block;
    width: 100%;
  }

  .dados-table tr { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line-gold); }

  .dados-table th, .dados-table td { padding: 0.15rem 0; border-bottom: 0; white-space: normal; }

  .dados-table th {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dourado-escuro);
  }

  .dados-table td { font-size: 0.9rem; }

  .dados-table tr:last-child { border-bottom: 0; }
}

/* ---------- Contato ---------- */

.card-contato {
  max-width: 26rem;
  margin: 0 auto;
  border: 1px solid var(--line-gold);
  border-radius: 1.1rem;
  background: var(--creme-card);
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(22, 48, 38, 0.07);
}

.card-contato h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 1.4rem;
}

.card-ico {
  height: 2.1rem;
  width: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--dourado-suave);
  color: var(--verde);
  font-size: 0.95rem;
}

.contact {
  display: grid;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

a.contact-row:hover .ico { background: var(--verde); color: var(--creme); }

.ico {
  height: 2.1rem;
  width: 2.1rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--dourado-suave);
  color: var(--verde);
  transition: background 0.15s, color 0.15s;
}

.break { word-break: break-all; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line-gold);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.6fr 0.7fr; }
  .footer-links { justify-items: end; }
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--verde);
  margin-bottom: 0.6rem;
}

.footer-data {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--muted);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--verde);
}

.footer-links a:hover { color: var(--dourado-escuro); text-decoration: underline; }

/* ---------- Modal (Política de Privacidade) ---------- */

.modal {
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 26, 20, 0.72);
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

.modal-bg { position: absolute; inset: 0; }

.modal-box {
  position: relative;
  max-height: 80vh;
  width: 100%;
  max-width: 48rem;
  overflow-y: auto;
  border-radius: 1.1rem;
  background: var(--creme-card);
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  right: 1.1rem;
  top: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
}

.modal-box h2 {
  margin: 0;
  padding-right: 2rem;
  font-size: 1.6rem;
}

.modal-box h4 {
  margin: 1.5rem 0 0.25rem;
  font-size: 0.92rem;
  color: var(--verde);
}

.modal-box p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Página 404 ---------- */

.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--verde);
  text-align: center;
  padding: 2rem 1.25rem;
}

.notfound-box { max-width: 26rem; }

.notfound-seal {
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.notfound-code {
  margin: 1.25rem 0 0.25rem;
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 14vw, 7rem);
  line-height: 1;
  color: var(--dourado);
}

.notfound h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--creme);
}

.notfound-desc {
  max-width: 24rem;
  margin: 1rem auto 2rem;
  font-size: 0.95rem;
  color: rgba(255, 249, 236, 0.82);
}
