/* =========================================================
   Bar do Compadre & Eventos Compadre — Design System
   ========================================================= */

/* ---------- Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@400;500;600;700;800&display=swap");

/* ---------- Tokens ---------- */
:root {
  --color-bg: #14100d;
  --color-bg-alt: #1c1611;
  --color-card: #241b14;
  --color-card-hover: #2c2118;
  --color-border: #3a2c1e;

  --color-gold: #f5b400;
  --color-gold-dark: #d69c00;
  --color-gold-light: #ffd873;
  --color-red: #e0392b;
  --color-red-dark: #b52c20;

  --color-text: #fbf3e3;
  --color-text-muted: #cbbfae;
  --color-text-dim: #8f8172;

  --font-display: "Bebas Neue", "Poppins", sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-pop: 0 18px 44px rgba(0, 0, 0, 0.55);

  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Trava de segurança: nenhum elemento (ex: um embed externo mal
     comportado) consegue empurrar a página pra rolagem horizontal. */
  overflow-x: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 20px;
}

.section {
  padding-block: 88px;
}

.section--tight {
  padding-block: 56px;
}

.section--alt {
  background: var(--color-bg-alt);
  border-block: 1px solid var(--color-border);
}

.section__head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 48px;
}

.section__head--left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-red);
  display: inline-block;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--color-text);
}

.section__title span {
  color: var(--color-gold);
}

.section__desc {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding-block: 60px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold) 60%, var(--color-gold-dark));
  color: #1a1410;
  box-shadow: 0 4px 0 var(--color-gold-dark), 0 12px 26px rgba(245, 180, 0, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--color-gold-dark), 0 16px 32px rgba(245, 180, 0, 0.4);
}

.btn--primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--color-gold-dark), 0 6px 14px rgba(245, 180, 0, 0.3);
}

.btn--outline {
  border-color: rgba(251, 243, 227, 0.35);
  color: var(--color-text);
  background: rgba(251, 243, 227, 0.04);
  box-shadow: 0 4px 0 rgba(251, 243, 227, 0.1);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn--outline:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(251, 243, 227, 0.1);
}

.btn--whatsapp {
  background: #25d366;
  color: #0c1f14;
  box-shadow: 0 4px 0 #128a3e, 0 12px 26px rgba(37, 211, 102, 0.32);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #128a3e, 0 16px 32px rgba(37, 211, 102, 0.42);
}

.btn--whatsapp:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #128a3e, 0 6px 14px rgba(37, 211, 102, 0.32);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--gold {
  background: var(--color-gold);
  color: #1a1410;
}

.badge--outline {
  background: transparent;
  border: 1px solid rgba(251, 243, 227, 0.3);
  color: var(--color-text-muted);
}

/* ---------- Placeholder image component ----------
   Shows a styled placeholder until the real photo (same
   filename) is added to assets/img/. No code changes needed
   later — see assets/img/README.md for the exact file list. */
.ph-image {
  /* Must be block-level: aspect-ratio (and absolutely-positioned children
     used for the placeholder overlay) do not size correctly on inline
     elements, which is what <span> defaults to. */
  display: block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2016, #171310);
  aspect-ratio: var(--ph-ratio, 4 / 3);
  border-radius: inherit;
}

.ph-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ph-image::after {
  content: attr(data-icon) " " attr(data-label);
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dim);
  background: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 0 10px,
      rgba(255, 255, 255, 0.045) 10px 20px
    ),
    linear-gradient(135deg, #2a2016, #171310);
  border: 1px dashed var(--color-border);
}

.ph-image.is-missing img {
  display: none;
}

.ph-image.is-missing::after {
  display: flex;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 16, 13, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.nav__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  --ph-ratio: 1 / 1;
  flex: none;
  box-shadow: 0 0 0 2px rgba(245, 180, 0, 0.4), 0 6px 14px rgba(0, 0, 0, 0.45);
}

.nav__brand-text strong {
  color: var(--color-gold);
  display: block;
  line-height: 1;
}

.nav__brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
  padding-block: 4px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav__list {
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .nav__list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link {
    display: block;
    padding-block: 14px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__actions .btn span.btn-label-full {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 78vh;
  overflow: hidden;
  isolation: isolate;
}

.hero--page {
  min-height: 46vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  --ph-ratio: auto;
  border-radius: 0;
}

.hero__bg img {
  filter: brightness(0.55) saturate(1.05);
}

.hero__bg::after {
  border-radius: 0;
  border: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.35) 0%, rgba(20, 16, 13, 0.55) 40%, var(--color-bg) 100%),
    radial-gradient(circle at 15% 20%, rgba(245, 180, 0, 0.18), transparent 45%);
}

.hero__content {
  position: relative;
  padding-block: 90px;
  max-width: 720px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.hero__title span {
  color: var(--color-gold);
}

.hero__subtitle {
  margin-top: 18px;
  font-size: 1.12rem;
  color: var(--color-text-muted);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.hero__meta-item .icon {
  color: var(--color-gold);
}

/* ---------- 3D tilt effect ----------
   Add class="tilt" + a nested <span class="tilt__shine"></span> to any
   card to get a subtle mouse-follow 3D tilt (see main.js initTilt3D).
   Disabled automatically on touch devices and prefers-reduced-motion. */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.tilt__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  transition: background 0.15s ease;
}

/* ---------- Feature cards ---------- */
.feature-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  background: var(--color-card-hover);
  box-shadow: var(--shadow-pop);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: #1a1410;
  margin-bottom: 18px;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Menu cards ---------- */
.menu-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-pop);
}

.menu-card.tilt {
  overflow: visible;
}

.menu-card.tilt .menu-card__media {
  overflow: hidden;
}

.menu-card__media {
  --ph-ratio: 4 / 3;
  border-radius: 0;
}

.menu-card__body {
  padding: 22px 22px 26px;
}

.menu-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.menu-card__title {
  font-size: 1.15rem;
  font-weight: 700;
}

.menu-card__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-gold);
  white-space: nowrap;
}

.menu-card__desc {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}

.menu-tabs a {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.menu-tabs a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ---------- Molho cards (Semana dos Molhos) ---------- */
.molhos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 960px) {
  .molhos-grid {
    grid-template-columns: 1fr;
  }
}

.molho-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.molho-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-pop);
}

.molho-card__number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--color-red) 30%, var(--color-red-dark));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 0 2px 2px rgba(255, 255, 255, 0.35), inset 0 -3px 4px rgba(0, 0, 0, 0.35);
}

.molho-card__media {
  --ph-ratio: 1 / 1;
  border-radius: 0;
}

.molho-card__body {
  padding: 20px 22px 24px;
}

.molho-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

.molho-card__tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 2px;
  margin-bottom: 14px;
}

.molho-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 6px;
}

.molho-card__ingredients {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.molho-card__ingredients li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.molho-card__ingredients li::before {
  content: "•";
  color: var(--color-gold);
  position: absolute;
  left: 0;
}

.molho-card__perfect {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(245, 180, 0, 0.08);
  border: 1px solid rgba(245, 180, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

/* ---------- Espetinhos: cards Pessoa Física / Jurídica ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 960px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #2c2117, var(--color-card) 55%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

/* Faixa colorida no topo — deixa a silhueta do card nítida mesmo em fotos/telas escuras */
.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red));
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-pop);
}

.audience-card--highlight {
  border-color: var(--color-gold);
  background: linear-gradient(165deg, var(--color-card-hover), var(--color-card) 60%);
}

.audience-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: #1a1410;
  margin-bottom: 18px;
}

.audience-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.audience-card__subtitle {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.audience-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}

.audience-card__list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--color-text);
}

.audience-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* ---------- Espetinhos: grade de tipos ---------- */
.skewer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 44px;
}

@media (max-width: 960px) {
  .skewer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .skewer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skewer-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 18px 10px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.skewer-chip:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
}

.skewer-chip__icon {
  font-size: 1.5rem;
}

/* ---------- Atacado: tabela de preços Pessoa Jurídica ---------- */
.wholesale-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 44px;
}

.wholesale-cat {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.wholesale-cat > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s ease;
}

.wholesale-cat > summary::-webkit-details-marker {
  display: none;
}

.wholesale-cat > summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  flex: none;
}

.wholesale-cat[open] > summary::after {
  content: "–";
}

.wholesale-cat > summary:hover {
  background: rgba(245, 180, 0, 0.06);
}

.table-scroll {
  overflow-x: auto;
  border-top: 1px solid var(--color-border);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 540px;
}

.price-table th,
.price-table td {
  padding: 10px 16px;
  text-align: left;
  white-space: nowrap;
}

.price-table th {
  color: var(--color-text-dim);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-bg-alt);
}

.price-table td:first-child {
  white-space: normal;
  font-weight: 600;
  color: var(--color-text);
}

.price-table tbody tr {
  border-top: 1px solid var(--color-border);
}

.price-table tbody tr:hover {
  background: rgba(245, 180, 0, 0.05);
}

.price-table td.price {
  color: var(--color-gold-light);
  font-weight: 600;
}

/* ---------- Atacado: cards de espetinho por categoria ---------- */
.wholesale-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

@media (max-width: 960px) {
  .wholesale-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wholesale-cards-grid {
    grid-template-columns: 1fr;
  }
}

.wholesale-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #2c2117, var(--color-card) 55%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

/* Igual ao .menu-card: com tilt o card precisa overflow visible (senão o
   efeito 3D corta nas bordas), mas o painel continua com cantos arredondados
   só por cima — por isso o overflow:hidden migra pra .wholesale-card__media. */
.wholesale-card.tilt {
  overflow: visible;
}

.wholesale-card.tilt .wholesale-card__media {
  overflow: hidden;
}

.wholesale-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-pop);
}

/* Painel de ícone — não depende de foto real: usa a mesma textura diagonal
   e o mesmo dourado do resto do site, então já nasce "pronto" em vez de
   ficar com cara de placeholder esperando um arquivo que não existe. */
.wholesale-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
      45deg,
      rgba(245, 180, 0, 0.05) 0 10px,
      rgba(245, 180, 0, 0.09) 10px 20px
    ),
    linear-gradient(135deg, #2a2016, #171310);
}

.wholesale-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(245, 180, 0, 0.22), transparent 65%);
}

.wholesale-card__media-icon {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.wholesale-card__body {
  position: relative;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Faixa dourada/vermelha sobre a foto — mesma assinatura visual do card
   Pessoa Jurídica (audience-card), só que encostada na base da imagem. */
.wholesale-card__body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red));
}

.wholesale-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.wholesale-card__count {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  margin-bottom: 14px;
}

.wholesale-card__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-gold);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.wholesale-card__price small {
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: var(--color-text-dim);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.wholesale-card__products {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.wholesale-card__products li {
  padding-left: 16px;
  position: relative;
}

.wholesale-card__products li::before {
  content: "•";
  color: var(--color-gold);
  position: absolute;
  left: 0;
}

.wholesale-card__more {
  font-style: italic;
  color: var(--color-text-dim);
}

.wholesale-card__more::before {
  content: "" !important;
}

.wholesale-note {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  text-align: center;
  margin-top: 22px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--color-text);
  line-height: 1.25;
}

.testimonial__quote::before,
.testimonial__quote::after {
  color: var(--color-gold);
}

.testimonial__author {
  margin-top: 18px;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-red), var(--color-red-dark));
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-pop);
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: #fff;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
}

/* ---------- Map / info ---------- */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 180, 0, 0.12);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.info-item__title {
  font-weight: 700;
  margin-bottom: 4px;
}

.info-item__text {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

/* ---------- Instagram embeds ---------- */
.ig-grid {
  display: grid;
  /* Instagram's own embed enforces a ~326px minimum width, so instead of
     stretching tracks to 1fr (which squashes/mismatches real embeds vs
     placeholders) we give every card the same fixed-ish width and center
     the row — keeps things aligned whatever mix of real posts/placeholders
     you have. */
  grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
}

/* Dark "frame" around every card so a white Instagram embed doesn't float
   loose on the page — it reads as a deliberately matted photo instead. */
.ig-frame {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ig-frame:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-pop);
}

.ig-embed {
  width: 100%;
  border-radius: calc(var(--radius-md) - 6px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ig-embed--placeholder {
  min-height: 380px;
}

.ig-embed--ready {
  background: #fff;
  min-height: 0;
  max-width: 100%;
}

.ig-embed__media {
  /* O widget do Instagram às vezes renderiza com altura/largura próprias
     e imprevisíveis (principalmente reels) — travamos aqui pra nunca
     estourar a moldura do card nem empurrar a página pros lados. O link
     "Ver no Instagram" fica fora, sempre visível, sem precisar rolar. */
  max-height: 560px;
  max-width: 100%;
  overflow: auto;
}

.ig-embed__media blockquote.instagram-media,
.ig-embed__media iframe {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.ig-embed--ready .ig-frame__link {
  background: #fff;
  padding: 10px 0 4px;
}

.ig-frame__link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-dim);
  transition: color 0.2s ease;
}

.ig-frame__link:hover {
  color: var(--color-gold);
}

.ig-embed__ph {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: var(--color-text-dim);
  font-size: 0.85rem;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 10px, rgba(255, 255, 255, 0.045) 10px 20px),
    linear-gradient(135deg, #2a2016, #171310);
  border: 1px dashed var(--color-border);
  border-radius: calc(var(--radius-md) - 6px);
}

.ig-embed__icon {
  font-size: 1.6rem;
}

.ig-embed__ph code {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--color-gold);
}

.ig-follow {
  text-align: center;
}

/* ---------- Promoções sincronizadas automaticamente ---------- */
.promo-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 60px;
  margin-bottom: 24px;
}

.promo-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.promo-updated {
  font-size: 0.78rem;
  color: var(--color-text-dim);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.promo-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-pop);
}

.promo-card__media {
  --ph-ratio: 4 / 5;
  border-radius: 0;
}

.promo-card__play {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 16, 13, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.promo-card__body {
  padding: 16px 18px 20px;
}

.promo-card__caption {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-card__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold);
}

.promo-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  --ph-ratio: 4 / 3;
  border-radius: var(--radius-md);
}

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

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  text-align: center;
  padding: 26px 18px;
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step__title {
  font-weight: 700;
  margin-bottom: 6px;
}

.step__text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Forms ---------- */
.form {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 640px) {
  .form__row {
    grid-template-columns: 1fr;
  }
  .form {
    padding: 24px;
  }
}

.form__group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form input,
.form select,
.form textarea {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--color-text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--color-gold);
}

.form textarea {
  resize: vertical;
  min-height: 110px;
}

.form__note {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  margin-top: 12px;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-block: 60px 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.footer__brand .nav__logo {
  width: 40px;
  height: 40px;
}

.footer__text {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer__title {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-gold);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.social-icon:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

/* ---------- Floating WhatsApp button ---------- */
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c1f14;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.float-whatsapp:hover {
  transform: scale(1.08);
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding-block: 90px;
}

.not-found__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  color: var(--color-gold);
  line-height: 1;
}
