/* =============================================
   Custom properties
   ============================================= */
:root {
  --red:    #A41623;
  --red-dk: #7a1019;
  --orange: #ED6E14;
  --cream:  #FCECC9;
  --cream2: #FCDAA7;
  --bg:     #FFFDF7;
  --ink:    #1C1008;
  --aux:    #7A5C42;
  --white:  #FFFDF7;
}

/* =============================================
   Reset & base
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

/* =============================================
   Keyframes
   ============================================= */
@keyframes sbBounce {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50%       { transform: translateY(9px); opacity: 1; }
}

/* =============================================
   Utilities
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 .9rem;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow-hero {
  margin: 0 0 1.1rem;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream2);
}

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

.section-header {
  text-align: center;
  margin-bottom: 2.6rem;
}

.section-cream {
  background: var(--cream);
}

h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.08;
}

h2 em {
  font-style: italic;
  color: var(--red);
}

/* =============================================
   Buttons
   ============================================= */
.btnpill {
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btnpill:hover {
  transform: translateY(-2px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: .95rem 1.9rem;
  border-radius: 100px;
  box-shadow: 0 14px 30px -12px rgba(164, 22, 35, .8);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 253, 247, .08);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: .95rem 1.8rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 253, 247, .55);
  backdrop-filter: blur(4px);
}

.btn-outline-red {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
  padding: .82rem 1.7rem;
  border-radius: 100px;
  border: 1.5px solid var(--red);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--white);
  color: var(--red);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  padding: 1.15rem 2rem;
  border-radius: 100px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
}

/* =============================================
   Scroll reveal
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* revealcard hover comes AFTER .reveal.visible so hover wins on equal specificity */
.revealcard {
  transition: transform .35s ease, box-shadow .35s ease;
}

.revealcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -24px rgba(28, 16, 8, .4);
}

/* =============================================
   Navigation
   ============================================= */
#sbnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem clamp(1.2rem, 4vw, 3rem);
  transition: background .3s ease, box-shadow .3s ease;
  background: transparent;
}

#sbnav.scrolled {
  background: rgba(255, 253, 247, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(28, 16, 8, .08);
}

.nav-logo-link {
  position: relative;
  display: block;
  height: 40px;
  width: 142px;
  flex-shrink: 0;
  z-index: 130;
}

.logo-escuro,
.logo-claro {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity .3s ease;
}

.logo-escuro { opacity: 1; }
.logo-claro  { opacity: 0; }

#sbnav.scrolled .logo-escuro { opacity: 0; }
#sbnav.scrolled .logo-claro  { opacity: 1; }

#navlinks {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 2.6vw, 2.4rem);
}

.navlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .62rem 0;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: color .3s ease;
}

.navlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .42rem;
  height: 1.5px;
  background: var(--orange);
  opacity: .55;
  transition: right .3s ease;
}

.navlink:hover::after { right: 0; }

#sbnav.scrolled .navlink { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: .55rem 1.2rem;
  border-radius: 100px;
  box-shadow: 0 8px 22px -10px rgba(164, 22, 35, .7);
}

#navtoggle {
  display: none;
  position: relative;
  z-index: 130;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color .3s ease;
}

#sbnav.scrolled #navtoggle { color: var(--ink); }

/* =============================================
   Hero
   ============================================= */
#topo {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  scroll-margin-top: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(28,16,8,.86) 0%, rgba(28,16,8,.64) 34%, rgba(28,16,8,.30) 60%, rgba(28,16,8,.04) 100%),
    linear-gradient(to bottom, rgba(28,16,8,.12) 50%, rgba(28,16,8,.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 6rem);
}

#topo h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  font-size: clamp(2.7rem, 7.2vw, 5.1rem);
  line-height: 1.04;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}

#topo h1 em {
  font-style: italic;
  color: var(--cream2);
}

.hero-sub {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 253, 247, .88);
  line-height: 1.55;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.1rem;
}

.hero-scroll {
  position: absolute;
  right: clamp(1.2rem, 4vw, 3rem);
  bottom: clamp(2rem, 5vw, 3.2rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}

.hero-scroll-text {
  writing-mode: vertical-rl;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 253, 247, .7);
  font-weight: 600;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255, 253, 247, .7), rgba(255, 253, 247, 0));
  animation: sbBounce 2s ease-in-out infinite;
}

/* =============================================
   Badges strip
   ============================================= */
#badges {
  background: var(--cream);
  padding: clamp(1.7rem, 3.2vw, 2.4rem) clamp(1.2rem, 4vw, 3rem);
}

.badges-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem clamp(1.6rem, 4vw, 3.4rem);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.badge-item span:first-child {
  font-size: 1.55rem;
  line-height: 1;
}

.badge-item span:last-child {
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
}

/* =============================================
   Sobre
   ============================================= */
#sobre {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 4vw, 3rem);
  scroll-margin-top: 70px;
  overflow: hidden;
}

.gotas-deco {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 300px;
  opacity: .7;
  pointer-events: none;
  z-index: 0;
}

.sobre-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.sobre-img-wrapper {
  position: relative;
}

.sobre-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 30px 60px -30px rgba(28, 16, 8, .5);
  display: block;
}

.sobre-badge {
  position: absolute;
  left: -12px;
  bottom: 24px;
  background: var(--red);
  color: var(--white);
  padding: .85rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 16px 30px -16px rgba(164, 22, 35, .8);
}

.sobre-badge span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
}

#sobre h2 {
  margin: 0 0 1.4rem;
}

.sobre-text {
  margin: 0;
  color: var(--aux);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 46ch;
}

.stats-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.2rem;
  max-width: 30rem;
}

.stat-item {
  border-top: 2px solid rgba(164, 22, 35, .18);
  padding-top: .8rem;
}

.stat-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--red);
  font-size: 2.2rem;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: .35rem;
  color: var(--aux);
  font-size: .9rem;
  font-weight: 500;
}

/* =============================================
   Cardápio
   ============================================= */
#cardapio {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 4vw, 3rem);
  scroll-margin-top: 70px;
}

.cardapio-inner {
  max-width: 980px;
}

#cardapio .section-header {
  margin-bottom: 2.6rem;
}

#cardapio h2 {
  margin: 0;
}

.tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-bottom: 2.4rem;
}

.menutab {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .7rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid rgba(28, 16, 8, .18);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.menutab.active,
.menutab[aria-selected="true"] {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  column-gap: clamp(2rem, 4vw, 3.4rem);
}

.menu-subtitle {
  grid-column: 1 / -1;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  padding: 1.2rem 0 .4rem;
  border-bottom: 1px solid rgba(28, 16, 8, .12);
}

.menu-subtitle:first-child {
  padding-top: 0;
}

.menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(28, 16, 8, .12);
}

.menu-item-info {
  min-width: 0;
}

.menu-item-name {
  display: block;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.menu-item-detail {
  display: block;
  color: var(--aux);
  font-size: .88rem;
  margin-top: .15rem;
}

.menu-item-price {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--red);
  white-space: nowrap;
}

.menu-cta {
  text-align: center;
  margin-top: 2.8rem;
}

.menu-cta .btn-primary {
  padding: .9rem 1.9rem;
  box-shadow: 0 14px 30px -14px rgba(164, 22, 35, .8);
}

/* =============================================
   Diferenciais
   ============================================= */
#diferenciais {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 4vw, 3rem);
  scroll-margin-top: 70px;
}

#diferenciais .section-header {
  margin-bottom: 3rem;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 1.4rem;
}

.diferencial-card {
  background: var(--bg);
  border: 1px solid rgba(28, 16, 8, .07);
  border-radius: 12px;
  padding: 2rem 1.7rem;
  box-shadow: 0 10px 28px -22px rgba(28, 16, 8, .4);
}

.diferencial-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.3rem;
}

.diferencial-card h3 {
  margin: 0 0 .7rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.2;
}

.diferencial-card p {
  margin: 0;
  color: var(--aux);
  font-size: .97rem;
  line-height: 1.6;
}

/* =============================================
   Avaliações
   ============================================= */
#avaliacoes {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 4vw, 3rem);
  scroll-margin-top: 70px;
}

#avaliacoes .section-header {
  margin-bottom: 3rem;
}

.reviews-stars {
  font-size: 1.2rem;
  letter-spacing: .18em;
  color: var(--orange);
  margin-bottom: .7rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.review-card {
  margin: 0;
  background: var(--bg);
  border-radius: 12px;
  padding: 1.8rem 1.7rem;
  box-shadow: 0 12px 30px -24px rgba(28, 16, 8, .45);
  display: flex;
  flex-direction: column;
}

.review-stars {
  font-size: .95rem;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: .9rem;
}

.review-card blockquote {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.review-card figcaption {
  margin-top: 1.3rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--red);
}

.reviews-cta {
  text-align: center;
  margin-top: 2.8rem;
}

/* =============================================
   Contato / Encomendas
   ============================================= */
#contato {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 4vw, 3rem);
  scroll-margin-top: 70px;
}

.contato-img {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: min(56%, 560px);
  height: auto;
  object-fit: contain;
  opacity: .36;
  pointer-events: none;
  mix-blend-mode: screen;
}

.contato-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contato-h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin: 0 0 1.2rem;
}

.contato-h2 em {
  font-style: italic;
  color: var(--cream2);
}

.contato-sub {
  margin: 0 0 1.7rem;
  color: rgba(255, 253, 247, .9);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 42ch;
}

.contato-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  color: rgba(255, 253, 247, .92);
  font-size: .96rem;
  font-weight: 600;
}

.contato-bullets li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.contato-bullets li span {
  color: var(--cream2);
}

.contato-btn-wrapper {
  display: flex;
  justify-content: flex-start;
}

/* =============================================
   FAQ
   ============================================= */
#faq {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 4vw, 3rem);
  scroll-margin-top: 70px;
}

.faq-inner {
  max-width: 760px;
}

.faq-list {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(28, 16, 8, .13);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 1.35rem 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.35;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}

.faq-answer {
  display: none;
  margin: 0;
  padding: 0 0 1.5rem;
  color: var(--aux);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 60ch;
}

.faq-item.open .faq-answer {
  display: block;
}

/* =============================================
   Footer
   ============================================= */
footer {
  background: var(--ink);
  color: rgba(255, 253, 247, .66);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem) 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.6rem;
}

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 1.2rem;
  display: block;
}

.footer-brand p {
  margin: 0 0 1rem;
  font-size: .97rem;
  line-height: 1.65;
  max-width: 32ch;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cream2);
}

.footer-nav-col h4,
.footer-contact-col h4 {
  margin: 0 0 1.1rem;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.footer-nav-col ul,
.footer-contact-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.footer-contact-col ul {
  gap: .85rem;
}

.footlink {
  color: rgba(255, 253, 247, .66);
  text-decoration: none;
  font-size: .97rem;
  transition: color .2s ease;
}

.footlink:hover {
  color: var(--white);
}

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-contact-col li {
  font-size: .97rem;
}

.footer-bottom {
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 253, 247, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 253, 247, .45);
}

/* =============================================
   Responsive — mobile nav (≤ 880px)
   ============================================= */
@media (max-width: 880px) {
  #navtoggle {
    display: inline-flex;
  }

  #navlinks {
    display: none;
  }

  #sbnav.menu-open #navlinks {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    background: rgba(252, 236, 201, .98);
    z-index: 125;
    padding: 2rem;
  }

  #sbnav.menu-open #navlinks .navlink {
    color: var(--ink);
    font-size: 1.5rem;
  }

  #sbnav.menu-open #navlinks .nav-cta.btnpill {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    box-shadow: 0 14px 32px -14px rgba(164, 22, 35, .85);
  }

  #sbnav.menu-open .logo-escuro { opacity: 0; }
  #sbnav.menu-open .logo-claro  { opacity: 1; }

  #sbnav.menu-open #navtoggle {
    color: var(--ink);
  }

  .contato-img {
    display: none;
  }
}

/* =============================================
   Responsive — hero image (≤ 700px)
   ============================================= */
@media (max-width: 700px) {
  .hero-img {
    object-position: center center;
  }
}

/* =============================================
   Accessibility — reduced motion
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
