/* ===========================
   COMIDA MINEIRA - STYLE.CSS
   Rústico · Quente · Premium
=========================== */

/* ---- CSS VARIABLES ---- */
:root {
  --cream: #fdf6ec;
  --cream-dark: #f3e6cc;
  --brown: #4a2c0a;
  --brown-mid: #7a4a1e;
  --brown-light: #b8793a;
  --rust: #b5341a;
  --rust-dark: #8c2514;
  --gold: #c8943a;
  --gold-light: #e8b84a;
  --gold-bright: #f5d070;
  --charcoal: #120a02;
  --dark-bg: #180d04;
  --dark-card: #231408;
  --text: #2e1a06;
  --text-light: #6b4020;
  --white: #ffffff;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Nunito", "Helvetica Neue", sans-serif;

  --radius: 0.625rem;
  --shadow: 0 0.25rem 1.5rem rgba(74, 44, 10, 0.15);
  --shadow-lg: 0 0.75rem 3rem rgba(74, 44, 10, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 71.25rem; /* 1140px */
  --sticky-h: 4rem; /* 64px */
  --header-h: 4.5rem; /* 72px */
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent any child from creating a horizontal scrollbar */
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  padding-bottom: var(--sticky-h);
  overflow-x: hidden; /* belt-and-suspenders: clip horizontal overflow here too */
  width: 100%;        /* never wider than the viewport */
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- UTILITY ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 6.25rem 0;
  position: relative;
}
.section--dark {
  background: var(--dark-bg);
  color: var(--cream);
}
.section--cream {
  background: var(--cream-dark);
}
.mt-sm {
  margin-top: 0.75rem;
}

/* ---- LABELS & TITLES ---- */
.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  border-bottom: 0.125rem solid var(--gold);
  padding-bottom: 0.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--brown);
  margin-bottom: 1.125rem;
}
.section-title--light {
  color: var(--cream);
}
.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 2.75rem;
  max-width: 35rem;
}
.section-desc--light {
  color: rgba(253, 246, 236, 0.72);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: 0.3125rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn--primary {
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 0.25rem 1rem rgba(74, 44, 10, 0.35);
}
.btn--primary:hover {
  background: var(--brown-mid);
  transform: translateY(-0.125rem);
}
.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0.25rem 1rem rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-0.125rem);
}
.btn--maps {
  background: var(--rust);
  color: #fff;
  box-shadow: 0 0.25rem 1rem rgba(181, 52, 26, 0.35);
}
.btn--maps:hover {
  background: var(--rust-dark);
  transform: translateY(-0.125rem);
}
.btn--outline {
  border: 0.125rem solid var(--brown);
  color: var(--brown);
  background: transparent;
}
.btn--outline:hover {
  background: var(--brown);
  color: var(--cream);
}
.btn--outline-light {
  border: 0.125rem solid rgba(253, 246, 236, 0.45);
  color: var(--cream);
  background: transparent;
}
.btn--outline-light:hover {
  background: rgba(253, 246, 236, 0.1);
  border-color: var(--cream);
}
.btn--gold {
  background: var(--gold);
  color: var(--brown);
  box-shadow: 0 0.25rem 1rem rgba(200, 148, 58, 0.4);
  font-weight: 800;
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-0.125rem);
}
.btn--lg {
  padding: 1.0625rem 2.25rem;
  font-size: 0.88rem;
}
.btn--sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.75rem;
  display: inline-flex;
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 10, 2, 0.88);
  backdrop-filter: blur(1rem);
  border-bottom: 0.0625rem solid rgba(200, 148, 58, 0.15);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(18, 10, 2, 0.97);
  box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  /* display: flex; */
  /* align-items: center; */
  /* gap: 0.75rem; */
  height: 3.2rem;
  /* filter: brightness(0); */
  opacity: 100%;
  display: flex;
  align-items: center;
  border-radius: 50%;
  gap: 0.75rem;
}
.logo__icon {
  font-size: 2rem;
}
.logo__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.logo__sub {
  display: block;
  font-size: 0.68rem;
  color: rgba(253, 246, 236, 0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.625rem;
}
.nav__link {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(253, 246, 236, 0.72);
  transition: color 0.2s;
}
.nav__link:hover {
  color: var(--gold-bright);
}
.nav__phone {
  background: var(--gold);
  color: var(--brown);
  padding: 0.5rem 1.125rem;
  border-radius: 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.nav__phone:hover {
  background: var(--gold-light);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.3125rem;
  padding: 0.5rem;
}
.hamburger span {
  width: 1.5rem;
  height: 0.125rem;
  background: var(--gold-bright);
  border-radius: 0.125rem;
  transition: var(--transition);
  display: block;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  filter: brightness(0.42) saturate(1.25);
  transform: scale(1.05);
  transition: transform 10s ease;
}
.hero:hover .hero__bg {
  transform: scale(1);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(18, 10, 2, 0.88) 0%,
      rgba(74, 44, 10, 0.35) 55%,
      rgba(18, 10, 2, 0.65) 100%
    ),
    linear-gradient(to top, rgba(18, 10, 2, 0.92) 0%, transparent 55%);
  z-index: 1;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='transparent'/%3E%3Crect width='1' height='1' fill='rgba(200,148,58,0.035)'/%3E%3C/svg%3E");
  z-index: 2;
}
.hero::after {
  content: "";
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 0.125rem;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--gold) 30%,
    var(--gold) 70%,
    transparent 100%
  );
  z-index: 4;
}
.hero__content {
  position: relative;
  z-index: 3;
  padding: 5rem 1.5rem 11.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2.25rem;
}
.badge {
  background: rgba(200, 148, 58, 0.13);
  border: 0.0625rem solid rgba(200, 148, 58, 0.32);
  color: var(--gold-bright);
  padding: 0.375rem 1rem;
  border-radius: 0.1875rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(0.25rem);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 1.375rem;
  text-shadow: 0 0.125rem 1.875rem rgba(0, 0, 0, 0.6);
}
.hero__title em {
  font-style: italic;
  color: var(--gold-bright);
  display: block;
}
.hero__sub {
  color: rgba(253, 246, 236, 0.78);
  font-size: 1.1rem;
  margin-bottom: 2.75rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.hero__sub::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 0.125rem;
  background: var(--gold);
  flex-shrink: 0;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}
.hero__scroll {
  position: absolute;
  bottom: 6.875rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(253, 246, 236, 0.3);
  font-size: 1.4rem;
  animation: bounce 2.2s infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(0.625rem);
  }
}
.hero__wave {
  position: absolute;
  bottom: -0.0625rem;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- WAVE DIVIDERS ---- */
.wave-wrap {
  position: absolute;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 3;
}
.wave-wrap--top {
  top: -0.0625rem;
}
.wave-wrap--bottom {
  bottom: -0.0625rem;
}
.wave-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   IMAGE CONTAINMENT SYSTEM
   All image frames use a fixed aspect-ratio container.
   The <img> inside always fills it with object-fit: cover.
   Images never push or stretch the card.
   Fallback background shows when src is missing/broken.
============================================================ */

/* --- Sobre image (4:3 ratio) --- */
.sobre__img-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.25rem 3.125rem 0.25rem 3.125rem;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 100%);
  position: relative;
}
.sobre__img-frame--fallback::after {
  content: "🏡  Foto do Ambiente";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(253, 246, 236, 0.5);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.sobre__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Prato cards (16:9 ratio) --- */
.prato-card__img-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #2d1002, #5a2810);
  flex-shrink: 0; /* never shrink the image area */
}
/* Unique fallback tints per card */
.prato-card:nth-child(1) .prato-card__img-frame {
  background: linear-gradient(135deg, #2d1002, #5a2810);
}
.prato-card:nth-child(2) .prato-card__img-frame {
  background: linear-gradient(135deg, #1e0802, #471808);
}
.prato-card:nth-child(3) .prato-card__img-frame {
  background: linear-gradient(135deg, #120702, #301408);
}
.prato-card:nth-child(4) .prato-card__img-frame {
  background: linear-gradient(135deg, #1e1002, #3d2010);
}
.prato-card:nth-child(5) .prato-card__img-frame {
  background: linear-gradient(135deg, #2a1505, #5a300a);
}
.prato-card:nth-child(6) .prato-card__img-frame {
  background: linear-gradient(135deg, #022005, #0a4010);
}

.prato-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Gradient overlay on top of the image */
.prato-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 10, 2, 0.55), transparent 60%);
  pointer-events: none;
}
/* Fallback label when image is broken */
.prato-card__img-frame--fallback::after {
  content: "🍽️";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.4;
}

/* --- Galeria items --- */
.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
  border: 0.0625rem solid rgba(74, 44, 10, 0.1);
  cursor: pointer;
  transition: var(--transition);
  background: var(--cream-dark);
}
.galeria-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0.1875rem solid transparent;
  border-radius: 0.25rem;
  transition: border-color 0.3s;
  pointer-events: none;
  z-index: 2;
}
.galeria-item:hover::after {
  border-color: var(--gold);
}
.galeria-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Regular gallery items: fixed 4:3 */
.galeria-item__frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
}
/* Tall frame for the big item (spans 2 rows → ~2:1.5 → use 2:3 ratio) */
.galeria-item__frame--tall {
  aspect-ratio: unset;
  height: 100%;
  min-height: 21.25rem; /* 340px */
}
.galeria-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.galeria-item:hover .galeria-item__img {
  transform: scale(1.05);
}

/* Fallback when image is broken */
.galeria-item__frame--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.4;
}

.galeria-item__label {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(18, 10, 2, 0.75), transparent);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 1;
}
/* Large gallery item spans 2 grid rows */
.galeria-item--grande {
  grid-column: span 1;
  grid-row: span 2;
}

/* ============================================================ */

/* ---- SOBRE ---- */
.sobre {
  background: var(--cream);
  padding-top: 5.625rem;
  padding-bottom: 8.75rem;
  position: relative;
  z-index: 1;
}
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sobre__text .section-title {
  margin-top: 0.5rem;
}
.sobre__text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.sobre__text p strong {
  color: var(--brown);
}
.sobre__list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
}
.sobre__list li {
  font-size: 0.95rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.sobre__list li::before {
  content: "";
  width: 0.3125rem;
  height: 0.3125rem;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.sobre__list li strong {
  color: var(--brown);
}
.sobre__visual {
  position: relative;
}
.sobre__img-wrap {
  position: relative;
}
.sobre__tag {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--gold);
  color: var(--brown);
  padding: 1rem 1.375rem;
  border-radius: 0.25rem;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sobre__stats {
  display: flex;
  gap: 0.875rem;
  margin-top: 2.25rem;
}
.stat {
  flex: 1;
  background: var(--cream-dark);
  border-radius: 0.25rem;
  padding: 1.125rem 0.875rem;
  text-align: center;
  border: 0.0625rem solid rgba(74, 44, 10, 0.1);
  border-bottom: 0.1875rem solid var(--gold);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brown);
}
.stat__label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- DESTAQUES (dark) ---- */
.destaques {
  background: var(--dark-bg);
  padding-top: 10rem;
  padding-bottom: 10rem;
  position: relative;
  z-index: 1;
}
.pratos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;
  margin-top: 2.75rem;
}
.prato-card {
  background: var(--dark-card);
  border-radius: 0.25rem;
  overflow: hidden;
  border: 0.0625rem solid rgba(200, 148, 58, 0.08);
  border-bottom: 0.1875rem solid var(--gold);
  transition: var(--transition);
  /* Ensure card is a flex column so image never stretches the card */
  display: flex;
  flex-direction: column;
}
.prato-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--gold-bright);
}
.prato-card__body {
  padding: 1.25rem;
  flex: 1;
}
.prato-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.prato-card__body p {
  font-size: 0.85rem;
  color: rgba(253, 246, 236, 0.55);
  line-height: 1.55;
  margin-bottom: 0.8rem;
}
.prato-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.125rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(200, 148, 58, 0.12);
  color: var(--gold-light);
  border: 0.0625rem solid rgba(200, 148, 58, 0.2);
}
.prato-tag--red {
  background: rgba(181, 52, 26, 0.18);
  color: #f07060;
  border-color: rgba(181, 52, 26, 0.3);
}

/* ---- CARDÁPIO ---- */
.cardapio {
  background: var(--cream);
  padding-top: 10rem;
  padding-bottom: 8.75rem;
  position: relative;
  z-index: 1;
}
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2.25rem;
}
.tab-btn {
  padding: 0.625rem 1.375rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  background: var(--cream-dark);
  border: 0.0625rem solid rgba(74, 44, 10, 0.15);
  transition: var(--transition);
}
.tab-btn:hover {
  border-color: var(--gold);
  color: var(--brown);
}
.tab-btn.active {
  background: var(--brown);
  color: var(--gold-bright);
  border-color: var(--brown);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
.menu-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 0.25rem;
  border: 0.0625rem solid rgba(74, 44, 10, 0.08);
  border-left: 0.25rem solid var(--gold);
  transition: var(--transition);
}
.menu-item:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--brown);
}
.menu-item__icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.menu-item strong {
  display: block;
  color: var(--brown);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.menu-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}
.cardapio-preco {
  display: flex;
  gap: 1.25rem;
  margin: 2.75rem 0 2.25rem;
}
.preco-box {
  flex: 1;
  padding: 1.75rem 2rem;
  background: var(--cream-dark);
  border-radius: 0.25rem;
  border: 0.0625rem solid rgba(74, 44, 10, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.preco-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: var(--gold);
}
.preco-box--accent {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}
.preco-box--accent::before {
  background: var(--gold-bright);
}
.preco-box__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.625rem;
}
.preco-box--accent .preco-box__label {
  color: rgba(253, 246, 236, 0.6);
}
.preco-box__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.preco-box--accent .preco-box__value {
  color: var(--gold-bright);
}
.preco-box__hint {
  font-size: 0.8rem;
  color: var(--text-light);
}
.preco-box--accent .preco-box__hint {
  color: rgba(253, 246, 236, 0.55);
}
.cardapio-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- SERVIÇOS (cream-dark) ---- */
.servicos {
  background: var(--cream-dark);
  padding-top: 10rem;
  padding-bottom: 10rem;
  position: relative;
  z-index: 1;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.servico-card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: 0.25rem;
  border: 0.0625rem solid rgba(74, 44, 10, 0.08);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.servico-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.1875rem;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.servico-card:hover::after {
  transform: scaleX(1);
}
.servico-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-0.25rem);
}
.servico-card__icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}
.servico-card h3 {
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 0.625rem;
  font-weight: 700;
}
.servico-card p {
  font-size: 0.87rem;
  color: var(--text-light);
}

/* ---- GALERIA ---- */
.galeria {
  background: var(--cream);
  padding-top: 10rem;
  padding-bottom: 8.75rem;
  position: relative;
  z-index: 1;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.875rem;
  margin-top: 2.75rem;
}

/* ---- AVALIAÇÕES (dark) ---- */
.avaliacoes {
  background: var(--dark-bg);
  padding-top: 10rem;
  padding-bottom: 10rem;
  position: relative;
  z-index: 1;
}
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  padding: 1.5rem 2rem;
  background: rgba(200, 148, 58, 0.08);
  border-radius: 0.25rem;
  border: 0.0625rem solid rgba(200, 148, 58, 0.2);
}
.rating-big {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1;
}
.stars {
  color: #ffd700;
  font-size: 1.3rem;
  letter-spacing: 0.1875rem;
}
.rating-summary p {
  color: rgba(253, 246, 236, 0.55);
  font-size: 0.85rem;
  margin-top: 0.375rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}
.review-card {
  background: var(--dark-card);
  border-radius: 0.25rem;
  padding: 1.625rem;
  border: 0.0625rem solid rgba(200, 148, 58, 0.08);
  border-top: 0.1875rem solid var(--gold);
  transition: var(--transition);
}
.review-card:hover {
  border-top-color: var(--gold-bright);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.review-avatar {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  background: var(--brown-mid);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  border: 0.125rem solid var(--gold);
}
.review-avatar--b {
  background: #1a4d6e;
}
.review-avatar--c {
  background: #6b3a80;
}
.review-avatar--d {
  background: #1a6e3a;
}
.review-avatar--e {
  background: #8c2514;
}
.review-avatar--f {
  background: #9e4010;
}
.review-header strong {
  display: block;
  color: var(--cream);
  font-size: 0.92rem;
}
.review-stars {
  color: #ffd700;
  font-size: 0.78rem;
}
.review-source {
  margin-left: auto;
  font-size: 0.7rem;
  color: rgba(253, 246, 236, 0.35);
  background: rgba(253, 246, 236, 0.05);
  padding: 0.1875rem 0.625rem;
  border-radius: 0.125rem;
}
.review-card > p {
  font-size: 0.9rem;
  color: rgba(253, 246, 236, 0.7);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.125rem;
}
.review-response {
  border-top: 0.0625rem solid rgba(200, 148, 58, 0.12);
  padding-top: 0.875rem;
}
.review-response strong {
  font-size: 0.72rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.review-response p {
  font-size: 0.82rem;
  color: rgba(253, 246, 236, 0.45);
}
.avaliacoes-cta {
  text-align: center;
}

/* ---- LOCALIZAÇÃO ---- */
.localizacao {
  background: var(--cream);
  padding-top: 10rem;
  padding-bottom: 8.75rem;
  position: relative;
  z-index: 1;
}
.localizacao__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.25rem;
  align-items: start;
  margin-top: 2.75rem;
}
.endereco-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
  border: 0.0625rem solid rgba(74, 44, 10, 0.08);
  border-left: 0.25rem solid var(--gold);
  transition: var(--transition);
}
.endereco-card:hover {
  box-shadow: var(--shadow);
}
.endereco-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.endereco-card h3 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.375rem;
}
.endereco-card p {
  font-size: 0.95rem;
  color: var(--brown);
  font-weight: 600;
  line-height: 1.5;
}
.endereco-link {
  color: var(--brown);
  font-weight: 700;
  font-size: 1rem;
}
.endereco-link:hover {
  color: var(--rust);
}
.localizacao-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.mapa-placeholder iframe {
  width: 100%;
  border-radius: 0.25rem;
  box-shadow: var(--shadow-lg);
  border: 0.1875rem solid var(--cream-dark);
}

/* ---- FAQ (cream-dark) ---- */
.faq {
  background: var(--cream-dark);
  padding-top: 10rem;
  padding-bottom: 8.75rem;
  position: relative;
  z-index: 1;
}
.faq-list {
  max-width: 46.25rem;
  margin: 2.75rem auto 0;
}
.faq-item {
  border-bottom: 0.0625rem solid rgba(74, 44, 10, 0.12);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.375rem 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brown);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--rust);
}
.faq-question::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
  font-family: var(--font-display);
}
.faq-question[aria-expanded="true"]::after {
  content: "−";
  color: var(--brown);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.2s;
}
.faq-answer.open {
  max-height: 18.75rem;
  padding-bottom: 1.375rem;
}
.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---- CTA FINAL (dark) ---- */
.cta-final {
  background: var(--dark-bg);
  padding-top: 10rem;
  padding-bottom: 6.25rem;
  position: relative;
  z-index: 1;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 0.1875rem;
  background: var(--gold);
}
.cta-final__inner {
  text-align: center;
  max-width: 41.25rem;
  margin: 0 auto;
  padding: 2.5rem 0;
}
.cta-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.375rem;
}
.cta-final__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 1.125rem;
  font-weight: 900;
  line-height: 1.2;
}
.cta-final__inner p {
  color: rgba(253, 246, 236, 0.65);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.cta-final__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 4.375rem 0 0;
  border-top: 0.1875rem solid rgba(200, 148, 58, 0.18);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.75rem;
  padding-bottom: 3.25rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-bright);
  margin-bottom: 0.875rem;
}
.footer__brand p {
  font-size: 0.87rem;
  color: rgba(253, 246, 236, 0.5);
  line-height: 1.75;
}
.footer__col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.125rem;
  font-weight: 700;
  border-bottom: 0.0625rem solid rgba(200, 148, 58, 0.18);
  padding-bottom: 0.5rem;
}
.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.87rem;
  color: rgba(253, 246, 236, 0.52);
  margin-bottom: 0.625rem;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--gold-bright);
}
.footer__bottom {
  border-top: 0.0625rem solid rgba(253, 246, 236, 0.06);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(253, 246, 236, 0.28);
}

/* ---- STICKY BAR ---- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sticky-h);
  display: flex;
  z-index: 200;
  box-shadow: 0 -0.25rem 1.5rem rgba(0, 0, 0, 0.3);
}
.sticky-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 1.4rem;
  transition: filter 0.2s;
}
.sticky-bar__btn:hover {
  filter: brightness(1.12);
}
.sticky-bar__btn small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sticky-bar__btn--maps {
  background: var(--rust);
  color: #fff;
}
.sticky-bar__btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.sticky-bar__btn--phone {
  background: var(--brown);
  color: var(--gold-bright);
}

/* ---- MOBILE NAV ---- */
@media (max-width: 56.25rem) {
  /* 900px */
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 10, 2, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    z-index: 99;
  }
  .nav.open {
    display: flex;
  }
  .nav__link {
    font-size: 1.4rem;
    color: rgba(253, 246, 236, 0.85);
  }
  .hamburger {
    display: flex;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 64rem) {
  /* 1024px */
  .pratos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 48rem) {
  /* 768px */
  .sobre__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sobre__tag {
    right: 0;
  }
  .pratos-grid {
    grid-template-columns: 1fr;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .cardapio-preco {
    flex-direction: column;
  }
  .servicos-grid {
    grid-template-columns: 1fr;
  }
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeria-item--grande {
    grid-column: span 2;
    grid-row: span 1;
  }
  .galeria-item__frame--tall {
    aspect-ratio: 16 / 9;
    min-height: unset;
    height: auto;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .localizacao__inner {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero__ctas .btn {
    padding: 0.75rem 1.125rem;
    font-size: 0.76rem;
  }
  .destaques,
  .avaliacoes,
  .servicos {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
  .galeria,
  .localizacao,
  .faq,
  .cta-final,
  .cardapio {
    padding-top: 7.5rem;
  }
  .rating-summary {
    display: flex;
  }
}

@media (max-width: 30rem) {
  /* 480px */
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .sobre__stats {
    flex-direction: column;
  }
  .galeria-grid {
    grid-template-columns: 1fr;
  }
  .galeria-item--grande {
    grid-column: span 1;
  }
  .cta-final__btns {
    flex-direction: column;
    align-items: center;
  }
  .localizacao-btns {
    flex-direction: column;
  }
  .cardapio-ctas {
    flex-direction: column;
  }
  .hero__badges {
    gap: 0.5rem;
  }
}

/* ---- ULTRA-SMALL SCREENS (below 350px / ~21.875rem) ---- */
@media (max-width: 21.875rem) {

  /* Shrink container padding so content doesn't bleed */
  .container {
    padding: 0 0.875rem;
  }

  /* Buttons: allow wrapping and shrink so they never overflow the viewport */
  .btn {
    white-space: normal;
    word-break: break-word;
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    justify-content: center;
    width: 100%;
  }
  .btn--lg {
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
  }
  .btn--sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    width: auto;
  }

  /* CTA rows become single-column, full-width */
  .hero__ctas,
  .cta-final__btns,
  .cardapio-ctas,
  .localizacao-btns {
    flex-direction: column;
    align-items: stretch;
  }

  /* Hero: tighten everything */
  .hero__content {
    padding: 3rem 0.875rem 8rem;
  }
  .hero__title {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }
  .hero__sub {
    font-size: 0.88rem;
    gap: 0.5rem;
  }
  /* Hide the decorative gold line — it adds phantom width at tiny sizes */
  .hero__sub::before {
    display: none;
  }
  .hero__badges {
    gap: 0.375rem;
  }
  .badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    letter-spacing: 0.04em;
  }

  /* Section titles */
  .section-title {
    font-size: 1.5rem;
  }
  .section-label {
    letter-spacing: 0.1em;
  }

  /* Header: shrink logo so it never collides with the hamburger icon */
  .logo__name {
    font-size: 1rem;
  }
  .logo__sub {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
  .logo__icon {
    font-size: 1.5rem;
  }

  /* Sticky bar: shrink icon and label at tiny widths */
  .sticky-bar__btn {
    font-size: 1.1rem;
  }
  .sticky-bar__btn small {
    font-size: 0.5rem;
    letter-spacing: 0.03em;
  }

  /* Sobre */
  .sobre__stats {
    flex-direction: column;
  }
  .sobre__tag {
    right: 0;
    bottom: -0.75rem;
    font-size: 0.72rem;
    padding: 0.75rem 1rem;
  }

  /* Cardápio price boxes */
  .cardapio-preco {
    flex-direction: column;
  }
  .preco-box {
    padding: 1.25rem 1rem;
  }
  .preco-box__value {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer__logo {
    font-size: 1.2rem;
  }
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
