:root {
  --amarelo-escuro: #F4C821;
  --amarelo-claro: #FBD62F;
  --marrom: #3C220F;
  --creme: #FDF4E3;
  --branco: #FFFFFF;
  --texto: #2A1A0F;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(60, 34, 15, 0.12);
  --font-title: "Dancing Script", cursive;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--creme);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--marrom);
  color: var(--branco);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

h1, h2, h3 { font-family: var(--font-body); font-weight: 800; color: var(--marrom); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
p { margin: 0 0 1em; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--amarelo-escuro);
  color: var(--marrom);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--branco);
  border: 2px solid var(--branco);
}
.btn-large { font-size: 1.1rem; padding: 16px 36px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--creme);
  border-bottom: 3px solid var(--amarelo-escuro);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.brand img { height: 56px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  color: var(--marrom);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover { color: var(--amarelo-escuro); }
.nav-cta { color: var(--marrom) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--marrom);
  border-radius: 3px;
}

/* Hero */
.hero {
  position: relative;
  color: var(--branco);
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 10%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,17,8,.55) 0%, rgba(30,17,8,.68) 50%, rgba(30,17,8,.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
  padding-top: 120px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--amarelo-claro);
}
.hero-content h1 {
  color: var(--branco);
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-bottom: 0;
  line-height: 1;
}
.hero-tagline {
  font-weight: 700;
  color: var(--amarelo-claro);
  font-size: 1.2rem;
  margin-top: 4px;
}
.hero-location {
  font-style: italic;
  color: var(--branco);
  opacity: .85;
  font-size: .95rem;
  margin-top: 6px;
}
.hero-text { max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--branco); }
.section-lead { color: #6b5b4a; margin-top: -.4em; }

.about-grid, .cestas-grid, .localizacao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-media .ratio-frame, .cestas-media .ratio-frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Intrinsic-ratio image frames (immune to browsers re-asserting a photo's
   natural size from its width/height attributes after it finishes loading) */
.ratio-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.ratio-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ratio-4-5 { padding-top: 125%; }
.ratio-4-3 { padding-top: 75%; }
.ratio-3-4 { padding-top: 133.333%; }

/* Menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.menu-card {
  background: var(--creme);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(60,34,15,.08);
}
.menu-card-body { padding: 20px; }
.menu-card-body h3 { margin-bottom: .3em; font-size: 1.15rem; }
.menu-card-body p { margin: 0; font-size: .95rem; color: #5a4a3a; }

/* Cestas destaque */
.cestas-section {
  background: linear-gradient(135deg, var(--amarelo-escuro), var(--amarelo-claro));
}
.cestas-text h2, .cestas-text p { color: var(--marrom); }
.cestas-text .btn-primary {
  background: var(--marrom);
  color: var(--creme);
  box-shadow: 0 8px 24px rgba(43, 26, 15, .35);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.gallery-grid .ratio-frame {
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.gallery-item {
  display: block;
  border: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  margin: 0;
  background: none;
  cursor: zoom-in;
  transition: transform .15s ease, box-shadow .15s ease;
}
.gallery-item:hover, .gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px var(--amarelo-escuro);
  outline: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 12, 6, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  padding: 40px;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: 0;
  color: var(--branco);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}
.lightbox-close:hover { color: var(--amarelo-escuro); }

/* FAQ */
.faq-container { max-width: 780px; }
.faq-list details {
  background: var(--branco);
  border: 1px solid rgba(60,34,15,.12);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--marrom);
}
.faq-list p { margin: 10px 0 0; color: #5a4a3a; }

/* Localização */
.localizacao-info p { margin-bottom: .6em; }
.localizacao-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Contato */
.contato-section {
  background: var(--marrom);
  color: var(--branco);
  text-align: center;
}
.contato-section h2 { color: var(--branco); }
.contato-inner { max-width: 620px; }
.contato-note {
  font-size: .8rem;
  opacity: .7;
  margin-top: 10px;
}

/* Footer */
.site-footer {
  background: var(--marrom);
  color: var(--creme);
  padding: 32px 0;
  border-top: 4px solid var(--amarelo-escuro);
}
.footer-inner { text-align: center; }
.footer-inner img { margin: 0 auto 12px; opacity: .95; }
.footer-inner p { margin: .2em 0; font-size: .9rem; }
.footer-credit { opacity: .7; font-size: .8rem; }

/* Responsive */
@media (max-width: 860px) {
  .about-grid, .cestas-grid, .localizacao-grid { grid-template-columns: 1fr; }
  .cestas-media { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--creme);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    border-bottom: 3px solid var(--amarelo-escuro);
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-cta { width: 100%; text-align: center; }
  .hero-content { padding-top: 90px; }
  .hero-media img { object-position: 22% 8%; }
}
