:root {
  /* Paleta Oficial Fornecida pelo Usuário */
  --color-primary-green: #3F4A3E;      /* Verde Pinheiro Serra Gaúcha */
  --color-primary-green-dark: #2D362C; /* Verde Escuro Acolhedor */
  --color-bg-cream: #F4EEE4;           /* Fundo Creme Linho Acolhedor */
  --color-bg-cream-soft: #FAF6EF;      /* Creme Suave */
  --color-accent-terracotta: #C96C4A;  /* Terracota / Tijolo Serra Gaúcha */
  --color-accent-terracotta-dark: #B55D3D;
  --color-accent-peach: #E7B8A0;       /* Pêssego / Nude suave */
  
  /* Cores de Apoio e Elegância */
  --color-bg-card: #FFFFFF;
  --color-bg-alt: #EFE7DA;
  --color-border: #E3D9C9;
  --color-border-subtle: rgba(63, 74, 62, 0.12);
  --color-text-main: #232722;          /* Grafite Quente (não preto puro) */
  --color-text-muted: #575E55;
  --color-text-light: #F4EEE4;
  --color-gold: #C9A86A;
  --color-gold-light: #DFCA9B;
  
  /* Cor Vinho de Referência (#4E0303) */
  --color-wine: #4E0303;
  --color-wine-border: rgba(78, 3, 3, 0.32);
  --color-wine-border-hover: rgba(78, 3, 3, 0.65);
  
  /* Tipografia oficial: Cabin (humanista) */
  --font-family: 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Raios Orgânicos (Sem cantos pontudos ou caixas quadradas) */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --radius-full: 9999px;
  
  /* Sombras Orgânicas Acolhedoras */
  --shadow-soft: 0 10px 30px -5px rgba(63, 74, 62, 0.07);
  --shadow-hover: 0 18px 42px -6px rgba(63, 74, 62, 0.14);
  --shadow-terracotta: 0 12px 32px -4px rgba(201, 108, 74, 0.32);
  --shadow-card-elevated: 0 24px 50px -10px rgba(63, 74, 62, 0.22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip; /* clip (e não hidden) para o cabeçalho sticky continuar fixo */
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-cream);
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* clip (e não hidden) para o cabeçalho sticky continuar fixo */
  max-width: 100%;
  width: 100%;
}

/* Tipografia Editorial e Acolhedora */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary-green);
  line-height: 1.2;
  text-wrap: balance;
}

/* Títulos, botões e etiquetas em UMA linha.
   O app.js (initOneLineText) reduz a fonte para caber; se nem com 70% do
   tamanho couber, o texto volta a quebrar de forma equilibrada. */
.one-line {
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
}

/* Texto digitado sempre legível; placeholder discreto mas visível */
input, textarea, select {
  color: var(--color-text-main);
}
input::placeholder, textarea::placeholder {
  color: #8A8A80;
  opacity: 1;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

strong, b {
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Barra Superior de Boas-Vindas (Nítida e com Alto Contraste) */
.top-bar-announcement {
  background-color: var(--color-primary-green);
  color: #FAF6EF !important;
  font-size: 0.95rem;
  padding: 0.65rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.01em;
}

.top-bar-announcement p {
  color: #FAF6EF !important;
  display: inline-block;
  font-weight: 500;
}

.top-bar-announcement strong {
  color: #F8E2CE !important;
  font-weight: 700;
}

/* Header & Nav */
.header-glass {
  background: rgba(244, 238, 228, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: all 0.3s ease;
}

.header-glass.scrolled {
  background: rgba(244, 238, 228, 0.98);
  box-shadow: 0 4px 20px rgba(63, 74, 62, 0.06);
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--color-primary-green);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .nav-link {
    font-size: 0.98rem;
    padding: 0.5rem 0.9rem;
  }
}

.nav-link:hover, .nav-link.active {
  background-color: rgba(63, 74, 62, 0.08);
  color: var(--color-accent-terracotta);
}

/* Botão Acesso à Conta no Cabeçalho */
.btn-client-access {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary-green);
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(63, 74, 62, 0.22);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(63, 74, 62, 0.06);
  cursor: pointer;
}

.btn-client-access:hover {
  background: #FFFFFF;
  color: var(--color-accent-terracotta);
  border-color: var(--color-accent-terracotta);
  box-shadow: 0 2px 8px rgba(201, 108, 74, 0.16);
  transform: translateY(-1px);
}

/* Fundo Refinado do Hero (Sem pontos, degradê suave e acolhedor) */
.hero-clean-bg {
  background: linear-gradient(180deg, #F4EEE4 0%, #EFE5D5 60%, #F4EEE4 100%);
  position: relative;
}

.hero-clean-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 108, 74, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-clean-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(63, 74, 62, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Botões Orgânicos & Arredondados */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--color-accent-terracotta);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(201, 108, 74, 0.32);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: var(--color-accent-terracotta-dark);
  box-shadow: 0 8px 24px rgba(201, 108, 74, 0.42);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: transparent;
  color: var(--color-primary-green) !important;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-primary-green);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background-color: var(--color-primary-green);
  color: var(--color-bg-cream) !important;
  transform: translateY(-2px);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 108, 74, 0.12);
  color: var(--color-accent-terracotta);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 108, 74, 0.2);
  transition: all 0.2s ease;
}

.btn-soft:hover {
  background-color: var(--color-accent-terracotta);
  color: #FFFFFF;
}

/* Badges e Etiquetas Acolhedoras */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-green {
  background-color: rgba(63, 74, 62, 0.12);
  color: var(--color-primary-green);
}

.badge-terracotta {
  background-color: rgba(201, 108, 74, 0.12);
  color: var(--color-accent-terracotta);
}

.badge-gold {
  background-color: rgba(201, 168, 106, 0.18);
  color: #8C6A2E;
  border: 1px solid rgba(201, 168, 106, 0.35);
}

/* ============================================================== */
/* CARDS DE CERVEJARIAS: TERRACOTA COM FONTE VERDE                */
/* ============================================================== */
.brewery-card-terracotta {
  background: linear-gradient(145deg, #C96C4A 0%, #B85F3D 100%);
  border-radius: var(--radius-md);
  padding: 8px; /* Borda/moldura terracota que dá vida */
  box-shadow: var(--shadow-terracotta);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.brewery-card-terracotta:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -4px rgba(201, 108, 74, 0.45);
}

.brewery-inner-plate {
  background: #FAF6EF;
  border-radius: calc(var(--radius-md) - 6px);
  padding: 1.35rem 1.4rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brewery-inner-plate h4 {
  color: #2D362C !important; /* FONTE VERDE ESCURO NÍTIDA */
  font-size: 1.25rem;
  font-weight: 700;
}

.brewery-inner-plate p {
  color: #3F4A3E !important; /* FONTE VERDE */
  font-size: 0.95rem;
}

.brewery-badge-green {
  background: rgba(63, 74, 62, 0.12);
  color: #2D362C !important; /* FONTE VERDE */
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.brewery-status-green {
  background: rgba(63, 74, 62, 0.08);
  color: #2D362C !important; /* FONTE VERDE */
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(63, 74, 62, 0.2);
}

/* ============================================================== */
/* CARDS DE VINÍCOLAS: TERRACOTA COM FONTE VERDE                  */
/* ============================================================== */
.winery-card-terracotta {
  background: linear-gradient(150deg, #C96C4A 0%, #B85F3D 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-terracotta);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.winery-card-terracotta h4 {
  color: #FFFFFF !important;
}

.winery-card-item {
  background: #FAF6EF; /* Superfície creme que dá destaque */
  border: 1px solid rgba(63, 74, 62, 0.15);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.winery-card-item:hover {
  background: #FFFFFF;
  border-color: var(--color-primary-green);
  transform: translateY(-2px);
}

.winery-card-item .item-title {
  color: #2D362C !important; /* FONTE VERDE */
  font-weight: 700;
  font-size: 1.02rem;
}

.winery-card-item .item-sub {
  color: #3F4A3E !important; /* FONTE VERDE */
  font-size: 0.88rem;
}

.winery-card-item .item-price {
  color: #2D362C !important; /* FONTE VERDE */
  font-weight: 800;
  font-size: 1.15rem;
  background: rgba(63, 74, 62, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(63, 74, 62, 0.2);
}

.btn-winery-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #FAF6EF;
  color: #2D362C !important; /* FONTE VERDE */
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border: 1.5px solid rgba(63, 74, 62, 0.2);
}

.btn-winery-white:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================================== */
/* RETÂNGULO DO CHOCOLATE COM FUNDO TERRACOTA (ALTO CONTRASTE)   */
/* ============================================================== */
.chocolate-terracotta-card {
  background: linear-gradient(135deg, #C96C4A 0%, #B85F3D 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 45px -8px rgba(201, 108, 74, 0.45);
  color: #FFFFFF;
}

.chocolate-terracotta-card h2 {
  color: #FFFFFF !important;
}

.chocolate-terracotta-card p {
  color: #FAF6EF !important;
}

.chocolate-chip-light {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

/* ============================================================== */
/* CARD VERDE DE ATENDIMENTO COM FONTE NÍTIDA (SEM FICAR APAGADA) */
/* ============================================================== */
.contact-official-card {
  background-color: var(--color-primary-green) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 12px 35px -5px rgba(63, 74, 62, 0.4);
}

.contact-official-card p,
.contact-official-card span,
.contact-official-card a {
  color: #FAF6EF !important; /* TEXTO BRILHANTE & NÍTIDO */
}

.contact-official-card strong {
  color: #F8E2CE !important; /* Destaque dourado/pêssego vibrante */
  font-weight: 700;
}

.contact-official-card a:hover {
  color: #DFCA9B !important;
}

/* PARALLAX DA VINÍCOLA */
.parallax-winery-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 2px solid rgba(255, 255, 255, 0.8);
  min-height: 420px;
}

.parallax-winery-bg {
  position: absolute;
  inset: -15% 0;
  background-image: url('assets/vinicola.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateY(0);
  will-change: transform;
}

.parallax-winery-content {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: linear-gradient(180deg, transparent 50%, rgba(35, 39, 34, 0.85) 100%);
}

/* Card Cervejaria Farol Redesenhado & Organizado */
.farol-info-chip {
  background: #FAF6EF;
  border: 2px solid var(--color-wine-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all 0.2s ease;
}

.farol-info-chip:hover {
  border-color: var(--color-wine-border-hover);
  background: #FFFFFF;
}

.farol-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(201, 108, 74, 0.14);
  color: var(--color-accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  shrink: 0;
  font-size: 1.1rem;
}

/* Cartões com Curvatura Suave & Borda Vinho Suave (#4E0303) */
.card-white-wine-border {
  border: 2.5px solid var(--color-wine-border) !important;
  transition: all 0.25s ease;
}

.card-white-wine-border:hover {
  border-color: var(--color-wine-border-hover) !important;
}

.soft-card {
  background-color: var(--color-bg-card);
  border: 2.5px solid var(--color-wine-border) !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.soft-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--color-wine-border-hover) !important;
}

/* Selo de Destaque 'EM BREVE' com Máxima Evidência */
.badge-em-breve-destaque {
  background: linear-gradient(135deg, #4E0303 0%, #680505 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(78, 3, 3, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
}

/* Efeito Destaque BRINDA CARD Virtual - Visual Realista & Luxo Acolhedor */
.brinda-card-3d {
  background: linear-gradient(135deg, #2D362C 0%, #3F4A3E 60%, #4D5A4C 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(45, 54, 44, 0.45), 0 0 0 1px rgba(201, 168, 106, 0.3);
  color: #F4EEE4;
  aspect-ratio: 1.586 / 1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  user-select: none;
}

.brinda-card-3d:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 70px -12px rgba(45, 54, 44, 0.55), 0 0 0 1.5px rgba(201, 168, 106, 0.5);
}

.brinda-card-3d::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.card-foil-border {
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 20px;
  height: calc(100% - 24px);
  margin: 12px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
}

.card-emblem {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1.5px solid var(--color-gold);
}

/* Configurador de Planos */
.plan-option-card {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  background: var(--color-bg-card);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.plan-option-card:hover {
  border-color: var(--color-accent-terracotta);
  background-color: #FFFAF5;
}

.plan-option-card.selected {
  border-color: var(--color-accent-terracotta);
  background-color: #FFF6F0;
  box-shadow: 0 4px 16px rgba(201, 108, 74, 0.15);
}

.plan-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.plan-option-card.selected .plan-checkbox {
  background-color: var(--color-accent-terracotta);
  border-color: var(--color-accent-terracotta);
}

/* Botões de Filtro por Cidade com Borda Vinho Suave */
.city-filter-btn {
  border: 2.5px solid var(--color-wine-border) !important;
  transition: all 0.2s ease;
}

.city-filter-btn:hover {
  border-color: var(--color-wine-border-hover) !important;
}

.city-filter-btn.active {
  background-color: var(--color-primary-green) !important;
  color: #FFFFFF !important;
  border-color: var(--color-primary-green) !important;
}

/* Form inputs com estilo orgânico */
.form-input-soft {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background-color: #FFFFFF;
  color: var(--color-text-main);
  font-family: var(--font-family);
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input-soft:focus {
  border-color: var(--color-primary-green);
  box-shadow: 0 0 0 3px rgba(63, 74, 62, 0.12);
}

/* Modal Termos de Uso */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(35, 39, 34, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--color-bg-card);
  border: 2.5px solid var(--color-wine-border);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card-elevated);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FAF6EF;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.98rem;
  color: var(--color-text-main);
  line-height: 1.7;
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-cream);
}
::-webkit-scrollbar-thumb {
  background: #D8CFBF;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-green);
}

/* Notificação Toast */
#toastNotification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary-green);
  color: #FFFFFF;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2000;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
}

#toastNotification.show {
  transform: translateY(0);
}

/* ============================================================== */
/* REGRAS RESPONSIVAS MOBILE (RESOLVE 100% DOS DESALINHAMENTOS)    */
/* ============================================================== */
@media (max-width: 768px) {
  /* Cartão 3D Virtual perfeitamente dimensionado */
  .brinda-card-3d {
    aspect-ratio: auto;
    min-height: 245px;
    border-radius: 20px;
    margin: 0 auto;
  }

  .card-foil-border {
    margin: 8px;
    padding: 1rem 0.9rem;
    height: auto;
    min-height: 225px;
    gap: 0.85rem;
  }

  .card-emblem {
    width: 44px;
    height: 44px;
  }

  /* Opções do configurador / plano */
  .plan-option-card {
    padding: 1rem;
  }

  /* Parallax da Vinícola adaptado para touch e mobile */
  .parallax-winery-wrapper {
    min-height: 300px;
    border-radius: var(--radius-md);
  }

  .parallax-winery-bg {
    inset: 0;
    transform: none !important; /* Estabilidade perfeita no touch */
  }

  .parallax-winery-content {
    min-height: 300px;
    padding: 1.5rem 1.25rem;
  }

  .winery-card-terracotta {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .winery-card-item {
    padding: 0.85rem 1rem;
    gap: 0.5rem;
  }

  /* Card da Cervejaria Farol no mobile */
  .farol-info-chip {
    padding: 0.75rem 0.85rem;
  }

  /* Cards de Cervejaria */
  .brewery-inner-plate {
    padding: 1.1rem 1rem;
  }

  /* Modal de Termos */
  .modal-box {
    max-height: 90vh;
    border-radius: var(--radius-lg);
    margin: 0.75rem;
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .modal-body {
    padding: 1.25rem;
    font-size: 0.9rem;
  }

  /* Notificação Toast no mobile */
  #toastNotification {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  /* Ajustes finos para telas menores (320px - 440px) */
  .top-bar-announcement {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .card-foil-border {
    padding: 0.85rem 0.75rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }

  .winery-card-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .winery-card-item .item-price {
    align-self: flex-start;
    font-size: 1rem;
  }
}

/* ============================================================== */
/* BRINDA CARD - ESTILO OFICIAL HOMOLOGADO (DESIGN DO PRINT)      */
/* ============================================================== */
.brinda-card-official {
  background: linear-gradient(135deg, #1E261D 0%, #2D362C 50%, #3F4A3E 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(45, 54, 44, 0.45), 0 0 0 1px rgba(201, 168, 106, 0.35);
  color: #F4EEE4;
  aspect-ratio: 1.586 / 1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  user-select: none;
  box-sizing: border-box;
}

.brinda-card-official .inner-foil {
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 20px;
  height: calc(100% - 24px);
  margin: 12px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
}

/* Abas de Cartões Múltiplos (Titular e Terceiros) */
.card-tab-btn {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1.5px solid #D1D5DB;
  background: #FFFFFF;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-tab-btn.active {
  background: var(--color-primary-green);
  color: #FAF6EF;
  border-color: var(--color-primary-green);
  box-shadow: 0 2px 8px rgba(63, 74, 62, 0.3);
}

/* ============================================================== */
/* SUPORTE À IMPRESSÃO OFICIAL DO BRINDA CARD (1 PÁGINA COLORIDA) */
/* ============================================================== */
@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  *, *:before, *:after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    background: #FAF6EF !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* Oculta tudo na página, exceto a área isolada de impressão */
  body > *:not(#printOnlyCardArea) {
    display: none !important;
  }

  /* Área exclusiva de impressão: centralizada na folha única */
  #printOnlyCardArea {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FAF6EF !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  #printOnlyCardArea .brinda-card-official {
    display: block !important;
    width: 480px !important;
    max-width: 480px !important;
    aspect-ratio: 1.586 / 1 !important;
    background: linear-gradient(135deg, #1E261D 0%, #2D362C 50%, #3F4A3E 100%) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    border-radius: 24px !important;
    margin: auto !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  #printOnlyCardArea .brinda-card-official * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
}

/* ============================================================== */
/* DESIGN 2.0: visual editorial e profissional                    */
/* Mesmas cores e fotos; bordas finas, cantos contidos, ícones    */
/* de linha (Lucide) e hierarquia tipográfica mais firme.         */
/* ============================================================== */
:root {
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --line: #E3DCCF;
  --line-strong: #CFC6B6;
  --surface: #FFFFFF;
  --shadow-panel: 0 1px 2px rgba(35, 39, 34, 0.04), 0 12px 32px -18px rgba(35, 39, 34, 0.18);
}

/* Ícones */
.ico, svg.lucide {
  display: inline-block; /* o reset do Tailwind deixa todo svg como bloco */
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  stroke-width: 1.75;
  vertical-align: -0.18em;
}

/* Rótulo editorial acima dos títulos (substitui as etiquetas em pílula) */
.eyebrow,
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-terracotta) !important;
}
.eyebrow::before,
.badge-pill::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

/* Títulos */
.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h2 { letter-spacing: -0.02em; }

/* Hero */
.hero-clean-bg { background: var(--color-bg-cream); }
.hero-clean-bg::before,
.hero-clean-bg::after { display: none; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #4A4F48;
}
.hero-facts .ico { color: var(--color-accent-terracotta); width: 1.2em; height: 1.2em; }
.hero-facts strong { color: var(--color-primary-green); font-weight: 700; }

.validity-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: #B91C1C !important;
}

.hero-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #E7DEC9;
  box-shadow: 0 30px 60px -30px rgba(45, 54, 44, 0.5);
}
.hero-photo-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
}
@media (min-width: 640px) {
  .hero-photo-caption { left: -1.5rem; right: auto; max-width: 18rem; }
}

/* Botões */
.btn-primary {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 18px -10px rgba(201, 108, 74, 0.7);
}
.btn-primary:hover {
  transform: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 10px 22px -10px rgba(201, 108, 74, 0.85);
}
.btn-secondary {
  border-radius: 10px;
  border-width: 1px;
  border-color: var(--line-strong);
  background: var(--surface);
}
.btn-secondary:hover {
  transform: none;
  border-color: var(--color-primary-green);
}
.btn-soft {
  border-radius: 10px;
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--color-primary-green);
}
.btn-soft:hover { background: var(--color-primary-green); color: #FFFFFF; }
.btn-client-access { border-radius: 10px; border-width: 1px; box-shadow: none; }
.btn-client-access:hover { transform: none; box-shadow: none; }
.nav-link { border-radius: 8px; }

/* Cartões e painéis: borda fina neutra no lugar da borda vinho grossa */
.card-white-wine-border,
.soft-card,
.city-filter-btn {
  border: 1px solid var(--line) !important;
}
.card-white-wine-border:hover,
.soft-card:hover,
.city-filter-btn:hover {
  border-color: var(--line-strong) !important;
}
.soft-card:hover { transform: translateY(-2px); }
.card-white-wine-border { box-shadow: var(--shadow-panel); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
}

.check-list { list-style: none; display: grid; gap: 0.6rem; padding: 0 0.25rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: #4A4F48; }
.check-list .ico { color: #15803D; margin-top: 0.15em; }

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6B6F68;
}
.info-note .ico { color: var(--color-primary-green); margin-top: 0.1em; }

/* Configurador em passos */
.step-head { display: flex; align-items: center; gap: 0.7rem; }
.step-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-primary-green); letter-spacing: -0.01em; }
.step-num {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--color-primary-green);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.included-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #FBF8F3;
}
.icon-tile {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(63, 74, 62, 0.08);
  color: var(--color-primary-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-option-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}
.plan-option-card:hover { border-color: var(--line-strong); background: #FFFFFF; }
.plan-option-card.selected {
  border-color: var(--color-accent-terracotta);
  background: #FFF8F3;
  box-shadow: 0 0 0 1px var(--color-accent-terracotta);
}
.plan-checkbox { border-radius: 999px; border-width: 1.5px; width: 20px; height: 20px; }
.plan-checkbox .ico { width: 0.8em; height: 0.8em; stroke-width: 3; opacity: 0; }
.plan-option-card.selected .plan-checkbox .ico { opacity: 1; }
.plan-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.1em;
  background: rgba(63, 74, 62, 0.1);
  color: var(--color-primary-green);
}
.plan-tag-gold { background: rgba(201, 168, 106, 0.22); color: #7A5B22; }

.pay-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pay-option .ico { color: var(--color-accent-terracotta); margin-bottom: 0.25rem; }
.pay-option:hover { border-color: var(--line-strong); }
.pay-option:has(input:checked) {
  border-color: var(--color-primary-green);
  box-shadow: 0 0 0 1px var(--color-primary-green);
  background: rgba(63, 74, 62, 0.03);
}

.summary-box {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #FBF8F3;
  border: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.8rem;
  color: #6B6F68;
}
.trust-row span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-row .ico { color: var(--color-primary-green); }

/* Cartão virtual: cantos e brilho mais contidos */
.brinda-card-3d { border-radius: 18px; }
.brinda-card-3d:hover { transform: translateY(-3px); }
.card-foil-border { border-radius: 14px; }

/* Selos de status */
.badge-em-breve-destaque {
  background: #4E0303;
  border: none;
  box-shadow: none;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
}

/* Modais */
.modal-box { border-radius: var(--radius-lg) !important; }

/* Toast */
#toastNotification { border-radius: var(--radius-md); padding: 0.85rem 1.2rem; font-weight: 500; max-width: min(92vw, 30rem); }
#toastNotification .ico { color: #A7F3D0; }
#toastNotification.toast-warning { background: #7C2D12; }
#toastNotification.toast-warning .ico { color: #FED7AA; }

/* ============================================================== */
/* VISUAL ORIGINAL DO CABEÇALHO E DO TOPO DA PÁGINA (#inicio)     */
/* O Design 2.0 vale para o resto do site; aqui fica como antes.  */
/* ============================================================== */
#inicio.hero-clean-bg { background: linear-gradient(180deg, #F4EEE4 0%, #EFE5D5 60%, #F4EEE4 100%); }
#inicio.hero-clean-bg::before,
#inicio.hero-clean-bg::after { display: block; }
#inicio .card-white-wine-border { border: 2.5px solid var(--color-wine-border) !important; box-shadow: none; }
#inicio .rounded-2xl { border-radius: 1rem; }
header .btn-primary,
#inicio .btn-primary {
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(201, 108, 74, 0.32);
}
header .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 108, 74, 0.42);
}

/* Botões do topo da página: retângulo de cantos discretos, com filete
   interno claro e seta que avança no hover (no lugar do formato pílula) */
#inicio .btn-primary,
#inicio .btn-secondary {
  border-radius: 6px;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
#inicio .btn-primary {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 22px -14px rgba(201, 108, 74, 0.9);
}
#inicio .btn-primary:hover {
  transform: none;
  background-color: var(--color-accent-terracotta-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 12px 26px -14px rgba(201, 108, 74, 1);
}
#inicio .btn-primary svg { transition: transform 0.2s ease; }
#inicio .btn-primary:hover svg { transform: translateX(4px); }
#inicio .btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(63, 74, 62, 0.45);
}
#inicio .btn-secondary:hover {
  transform: none;
  background: var(--color-primary-green);
  border-color: var(--color-primary-green);
}

/* Foto das vinícolas: texto legível sobre a imagem, inclusive no celular */
.parallax-winery-content {
  background: linear-gradient(180deg, rgba(20, 24, 19, 0) 25%, rgba(20, 24, 19, 0.55) 55%, rgba(20, 24, 19, 0.9) 100%);
}
.parallax-winery-content h3,
.parallax-winery-content p { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.parallax-winery-content .badge-pill { color: #F4D4C3 !important; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
@media (max-width: 640px) {
  .parallax-winery-content {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(20, 24, 19, 0.15) 0%, rgba(20, 24, 19, 0.7) 40%, rgba(20, 24, 19, 0.94) 100%);
  }
}
header .btn-client-access {
  border-radius: 9999px;
  border-width: 1.5px;
  box-shadow: 0 1px 3px rgba(63, 74, 62, 0.06);
}
header .nav-link { border-radius: 9999px; }

/* ============================================================== */
/* LAYOUT EDITORIAL: seções abertas, sem caixas arredondadas      */
/* (mesmas cores e fonte; muda só a organização visual)           */
/* ============================================================== */

/* Nosso Objetivo */
.pull-quote {
  padding-left: 1.1rem;
  border-left: 3px solid var(--color-accent-terracotta);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-green) !important;
  line-height: 1.5;
}
.editorial-photo { margin: 0; }
.photo-offset { position: relative; }
.photo-offset::before {
  content: '';
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1.5px solid rgba(201, 108, 74, 0.55);
  border-radius: 4px;
  pointer-events: none;
}
.editorial-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #2D362C;
  box-shadow: 0 30px 60px -32px rgba(45, 54, 44, 0.55);
}
.editorial-photo figcaption {
  margin-top: 1.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6F68;
}
@media (max-width: 640px) {
  .photo-offset::before { inset: 0.75rem -0.6rem -0.75rem 0.6rem; }
}

/* Três pilares em colunas abertas */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(63, 74, 62, 0.15);
}
.pillar {
  padding: 2.5rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(63, 74, 62, 0.15);
}
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(63, 74, 62, 0.15); }
  .pillar { padding: 3rem 2.25rem; border-bottom: none; }
  .pillar + .pillar { border-left: 1px solid rgba(63, 74, 62, 0.15); }
}
.hand-icon {
  width: 84px;
  height: 84px;
  color: var(--color-accent-terracotta);
  margin-bottom: 1.4rem;
  transition: transform 0.35s ease;
}
.pillar:hover .hand-icon { transform: rotate(-4deg) scale(1.04); }
.pillar h3 { font-size: 1.35rem; font-weight: 700; color: var(--color-primary-green); margin-bottom: 0.6rem; }
.pillar p { font-size: 0.95rem; color: #57534E; line-height: 1.6; max-width: 22rem; }
.pillar-status {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}
.status-on { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 700; color: #166534; }
.status-off { font-size: 0.8rem; font-weight: 600; color: #4E0303; }
.pillar-link { font-size: 0.85rem; font-weight: 700; color: var(--color-primary-green); border-bottom: 1px solid currentColor; }
.pillar-link:hover { color: var(--color-accent-terracotta); }

/* Faixa com a foto da Serra: parallax + recorte de morros */
.serra-band {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.serra-band-bg {
  position: absolute;
  inset: -18% 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  will-change: transform;
}
.serra-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(31, 36, 30, 0.35) 0%, rgba(31, 36, 30, 0.62) 50%, rgba(31, 36, 30, 0.4) 100%);
}
.ridge {
  position: absolute;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1;
  display: block;
}
.ridge-top { top: -1px; }
.ridge-bottom { bottom: -1px; }
.serra-band-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 46rem;
  padding: 8rem 1.25rem;
  text-align: center;
  color: #FFFFFF;
}
.serra-band-content h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.serra-band-content p {
  margin: 1.25rem auto 2rem;
  max-width: 36rem;
  color: #F4EEE4 !important;
  font-size: 1.08rem;
  line-height: 1.65;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}
.serra-band .btn-primary { border-radius: 6px; padding: 0.95rem 1.7rem; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .serra-band { min-height: 480px; }
  .ridge { height: 48px; }
  .serra-band-content { padding: 5.5rem 1.25rem; }
}

/* Cervejaria Farol: sem caixa, foto e texto lado a lado */
.farol-feature {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.farol-feature .farol-photo { border-radius: 4px; overflow: hidden; }
.farol-info-chip {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(63, 74, 62, 0.15);
  border-radius: 0;
  padding: 0.9rem 0 0;
}
.farol-info-chip:hover { transform: none; box-shadow: none; }
.farol-icon-badge { background: transparent !important; color: var(--color-accent-terracotta); }

/* Filtros de cidade como abas com sublinhado */
.city-tabs { border-bottom: 1px solid rgba(63, 74, 62, 0.15); }
.city-filter-btn {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #57534E !important;
  padding: 0.75rem 0.25rem !important;
  margin: 0 0.75rem -1px;
  border-bottom: 2px solid transparent !important;
  font-weight: 600;
}
.city-filter-btn:hover { color: var(--color-primary-green) !important; }
.city-filter-btn.active {
  background: transparent !important;
  color: var(--color-primary-green) !important;
  border-bottom-color: var(--color-accent-terracotta) !important;
}

/* Cards de cervejarias como lista de guia (fio terracota no topo) */
.brewery-card-terracotta {
  background: transparent;
  padding: 0;
  border: none;
  border-top: 2px solid var(--color-accent-terracotta);
  border-radius: 0;
  box-shadow: none;
}
.brewery-card-terracotta:hover { transform: none; box-shadow: none; border-top-color: var(--color-primary-green); }
.brewery-inner-plate { background: transparent; border-radius: 0; padding: 1.25rem 0 0.5rem; }
.brewery-badge-green { background: none; padding: 0; border-radius: 0; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; }
.brewery-status-green { border-radius: 4px; }

/* Vinícolas: aviso sem caixa */
.open-block { background: transparent !important; border: none !important; box-shadow: none !important; }

/* Chocolates: faixa terracota de ponta a ponta com recorte de morros */
.chocolate-band {
  position: relative;
  background: linear-gradient(150deg, #C96C4A 0%, #B85F3D 100%);
  padding: 7rem 0;
}
.chocolate-band .ridge { height: 70px; }
.chocolate-band .chocolate-terracotta-card { background: transparent !important; box-shadow: none !important; border: none !important; border-radius: 0 !important; padding: 0 !important; }
.chocolate-band .choco-photo { border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
@media (max-width: 640px) { .chocolate-band { padding: 4.5rem 0; } .chocolate-band .ridge { height: 40px; } }

/* Contato: colunas abertas e campos de linha simples */
.contact-open { background: transparent !important; border: none !important; box-shadow: none !important; padding-left: 0 !important; padding-right: 0 !important; }
#contato .form-input-soft {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(63, 74, 62, 0.3);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}
#contato .form-input-soft:focus { box-shadow: none; border-bottom-color: var(--color-accent-terracotta); }
#contato .btn-primary { border-radius: 6px; }
.contact-official-card { border-radius: 4px !important; }

/* Foto das vinícolas: cantos discretos, sem moldura branca */
.parallax-winery-wrapper { border: none; border-radius: 4px; }

/* ============================================================== */
/* AJUSTES DO LAYOUT EDITORIAL (rodada 2)                         */
/* ============================================================== */

/* Topo com a foto da Serra de fundo: véu creme à esquerda para os textos */
.hero-photo-bg { position: relative; overflow: hidden; isolation: isolate; background: #F4EEE4; }
.hero-bg { position: absolute; inset: -25% 0; background-size: cover; background-position: center right; z-index: -2; will-change: transform; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(244, 238, 228, 0.97) 0%, rgba(244, 238, 228, 0.93) 36%, rgba(244, 238, 228, 0.55) 56%, rgba(244, 238, 228, 0.05) 78%);
}
.hero-inner { position: relative; padding-top: 5.5rem; padding-bottom: 9rem; min-height: 680px; }
.hero-copy { max-width: 40rem; }
.hero-tasting { position: absolute; right: 2rem; bottom: 7.5rem; }
.hero-tasting { width: max-content; }
.hero-tasting-card { position: relative; width: max-content; max-width: 22rem; padding-left: 1.6rem !important; }
.hero-tasting-seal { position: absolute; top: 50%; left: -1.9rem; transform: translateY(-50%); }
.hero-tasting-seal img { width: 2.6rem; height: 2.6rem; }
.hero-photo-bg .ridge { height: 80px; }
@media (max-width: 1023px) {
  .hero-veil { background: linear-gradient(180deg, rgba(244, 238, 228, 0.95) 0%, rgba(244, 238, 228, 0.9) 62%, rgba(244, 238, 228, 0.35) 100%); }
  .hero-inner { padding-top: 3rem; padding-bottom: 6rem; min-height: 0; }
  .hero-tasting { position: relative; right: auto; bottom: auto; margin: 2.25rem auto 0; transform: translateX(0.95rem); }
  .hero-photo-bg .ridge { height: 44px; }
}

/* Parallax das fotos: a camada da foto precisa sobrar para cima e para baixo */
.serra-band-bg { inset: -35% 0; }
.parallax-winery-bg { inset: -35% 0; }

/* Molduras deslocadas atrás das fotos: um ponto mais grossas */
.photo-offset::before { border-width: 2.5px; border-color: rgba(201, 108, 74, 0.6); }
.photo-offset-light::before { border-color: rgba(255, 255, 255, 0.85); }
.farol-photo { position: relative; z-index: 1; }

/* Cartões de cervejarias: quadrados, contorno laranja fino e movimento no hover */
.brewery-card-terracotta {
  background: #FFFDF9;
  border: 1px solid rgba(201, 108, 74, 0.55);
  border-top: 1px solid rgba(201, 108, 74, 0.55);
  border-radius: 0;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.brewery-card-terracotta:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-terracotta);
  border-top-color: var(--color-accent-terracotta);
  box-shadow: 0 18px 34px -20px rgba(201, 108, 74, 0.55);
}
.brewery-inner-plate { padding: 1.4rem 1.5rem; }
.brewery-status-green { border-radius: 0; }

/* Selo "Em breve": etiqueta de contorno, no estilo do site, ainda em destaque */
.badge-em-breve-destaque {
  background: rgba(78, 3, 3, 0.06) !important;
  color: #4E0303 !important;
  border: 1.5px solid #4E0303 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  padding: 0.4rem 0.8rem !important;
}
.chocolate-band .badge-em-breve-destaque {
  background: rgba(0, 0, 0, 0.14) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}
.chocolate-band .chocolate-chip-light { border-radius: 0; }
.chocolate-band .bg-black\/25 { border-radius: 0; border-left: 3px solid rgba(255, 255, 255, 0.85); }

/* ============================================================== */
/* AJUSTES DO LAYOUT EDITORIAL (rodada 3)                         */
/* ============================================================== */

/* Botões do topo: menores e com entrada suave (fade in) */
#inicio .btn-primary,
#inicio .btn-secondary {
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  opacity: 0;
  animation: heroFadeIn 1.2s ease forwards;
}
#inicio .btn-primary { animation-delay: 4.4s; }
#inicio .btn-secondary { animation-delay: 4.7s; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  #inicio .btn-primary, #inicio .btn-secondary { animation: none; opacity: 1; }
}

/* "Em breve": mesmo rótulo editorial do site (traço + caixa alta), em vinho e negrito */
.badge-em-breve-destaque {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #4E0303 !important;
  font-size: 0.82rem !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.badge-em-breve-destaque::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}
.badge-em-breve-destaque .ico,
.badge-em-breve-destaque svg { display: none; }
.pillar-status .badge-em-breve-destaque::before { width: 18px; }
.chocolate-band .badge-em-breve-destaque { color: #FFFFFF !important; background: none !important; }

/* Chocolates: aviso como citação com fio branco; itens em lista com ícones */
.choco-note {
  padding-left: 1.1rem;
  border-left: 3px solid rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #FAF6EF;
}
.choco-note p { color: #FAF6EF !important; }
.choco-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.choco-facts .chocolate-chip-light {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: #FFFFFF !important;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem !important;
}
.choco-facts .chocolate-chip-light .ico,
.choco-facts .chocolate-chip-light svg { width: 16px !important; height: 16px !important; color: #F4D4C3; }

/* ============================================================== */
/* EFEITOS NO CELULAR E ENTRADA AO ROLAR                          */
/* ============================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.pillar.reveal.is-visible .hand-icon { animation: iconSwing 0.9s ease 0.2s 1; }
@keyframes iconSwing {
  0% { transform: rotate(0); }
  35% { transform: rotate(-8deg) scale(1.06); }
  70% { transform: rotate(4deg); }
  100% { transform: rotate(0); }
}

/* Toque nos cards: mesmo movimento do mouse */
.brewery-card-terracotta:active {
  transform: translateY(-6px);
  border-color: var(--color-accent-terracotta);
  box-shadow: 0 18px 34px -20px rgba(201, 108, 74, 0.55);
}
.brewery-card-terracotta.reveal.is-visible:hover,
.brewery-card-terracotta.reveal.is-visible:active { transform: translateY(-6px); }

@media (max-width: 1023px) {
  /* Sobra maior da foto para o parallax ter curso no celular */
  .hero-bg, .serra-band-bg, .parallax-winery-bg { inset: -55% 0; }
  /* "Em breve" quebra de forma limpa no celular */
  .badge-em-breve-destaque { font-size: 0.72rem !important; letter-spacing: 0.1em; flex-wrap: wrap; justify-content: center; text-align: center; }
  .badge-em-breve-destaque::before { display: none; }
}

/* ============================================================== */
/* CABEÇALHO: compacto ao rolar, progresso e seção atual          */
/* ============================================================== */
header.header-glass > div:first-child { transition: height 0.3s ease; }
header.header-glass img { transition: width 0.3s ease, height 0.3s ease; }
header.header-glass.scrolled > div:first-child { height: 4rem; }
header.header-glass.scrolled > div:first-child > a img { width: 2.5rem; height: 2.5rem; }
header.header-glass.scrolled {
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 30px -18px rgba(45, 54, 44, 0.35);
}

/* Barra fina de progresso de leitura, na cor terracota */
.header-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.header-progress span {
  display: block;
  height: 100%;
  background: var(--color-accent-terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

/* Menu: sublinhado que cresce no hover e marca a seção em que o cliente está */
header nav .nav-link { position: relative; background: transparent !important; }
header nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--color-accent-terracotta);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
header nav .nav-link:hover::after,
header nav .nav-link.is-current::after { transform: scaleX(1); }
header nav .nav-link.is-current { color: var(--color-accent-terracotta); }

/* ============================================================== */
/* ENTRADA DO TOPO: título por linhas, sublinhado e foto          */
/* ============================================================== */
/* Antes do JS montar o efeito, o título e o restante ficam ocultos */
.hero-intro #inicio .hero-copy > h1,
.hero-intro #inicio .hero-copy > p,
.hero-intro #inicio .hero-copy > .grid { opacity: 0; }

/* Linhas que sobem de trás de uma máscara */
#inicio h1 .hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
#inicio h1 .hw-in { display: inline-block; transform: translateY(105%); transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.1, 1); }
#inicio.intro-play h1 .hw-in { transform: translateY(0); }
.hero-intro #inicio.intro-ready .hero-copy > h1 { opacity: 1; }

/* Sublinhado ondulado que se desenha */
#inicio .hero-underline { position: relative; display: inline-block; }
#inicio .hero-underline .hw { padding-bottom: 0.3em; margin-bottom: -0.3em; }
#inicio .hero-wave {
  position: absolute;
  left: 0;
  bottom: -0.32em;
  width: 100%;
  height: 0.32em;
  overflow: visible;
  pointer-events: none;
}
#inicio .hero-wave path {
  fill: none;
  stroke: rgba(231, 184, 160, 0.75);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s ease 4.6s;
}
#inicio.intro-play .hero-wave path { stroke-dashoffset: 0; }

/* Parágrafo, quadrinhos e aviso entram em sequência */
.hero-intro #inicio.intro-ready .hero-copy > p,
.hero-intro #inicio.intro-ready .hero-copy > .grid {
  transform: translateY(12px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.hero-intro #inicio.intro-play .hero-copy > p,
.hero-intro #inicio.intro-play .hero-copy > .grid { opacity: 1; transform: none; }
.hero-intro #inicio.intro-play .hero-copy > p:first-of-type { transition-delay: 4.0s; }
.hero-intro #inicio.intro-play .hero-copy > .grid { transition-delay: 5.0s; }
.hero-intro #inicio.intro-play .hero-copy > p:last-of-type { transition-delay: 5.4s; }

/* Foto da Serra com zoom lento (scale não conflita com o parallax) */
.hero-intro #inicio .hero-bg { scale: 1.12; transition: scale 9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.hero-intro #inicio.intro-play .hero-bg { scale: 1; }

/* ============================================================== */
/* CHECKOUT NO CELULAR                                            */
/* ============================================================== */
/* Título do modal não invade o botão de fechar */
.modal-header > div:first-child { min-width: 0; flex: 1; }
.modal-header > div:first-child > div { min-width: 0; flex: 1; }
.modal-header > button { flex-shrink: 0; }

/* Resumo: valores sempre à direita e sem quebrar */
.checkout-summary > div.flex { gap: 1rem; }
.checkout-summary > div.flex > span:last-child { text-align: right; white-space: nowrap; }
#summaryExpRow > div > span:first-child { min-width: 0; }

@media (max-width: 640px) {
  /* Etapas: só a etapa atual mostra o nome */
  .checkout-steps { gap: 0.4rem; }
  .checkout-steps > span { white-space: nowrap; }
  .checkout-steps > span:not(.text-brandTerracotta) .step-label { display: none; }

  /* Botões PIX / Cartão: ícone e texto empilhados */
  #tabPixBtn, #tabCardBtn { flex-direction: column; gap: 0.3rem; padding: 0.7rem 0.5rem; }
  #tabPixBtn > span, #tabCardBtn > span { white-space: nowrap; }

  /* Cartão emitido: altura livre para nada ser cortado */
  .brinda-card-official { aspect-ratio: auto !important; min-height: 210px; }
  .brinda-card-official > div { height: auto !important; min-height: 186px; padding: 1rem !important; gap: 0.9rem; }
  .brinda-card-official span { white-space: nowrap; }
  .brinda-card-official span[style*="letter-spacing: 2px"] { letter-spacing: 1px !important; }
  .brinda-card-official div[style*="border-radius: 9999px"] { white-space: nowrap; padding: 3px 9px !important; }
  /* Rodapé: nome encurta com reticências e a validade cabe inteira */
  .brinda-card-official > div > div:last-child { flex-direction: column; align-items: flex-start !important; gap: 0.55rem; }
  .brinda-card-official > div > div:last-child > div { width: 100%; min-width: 0; text-align: left !important; }
  .brinda-card-official span[style*="text-overflow: ellipsis"] { white-space: normal !important; overflow: visible !important; line-height: 1.25; }
  .brinda-card-official > div > div:last-child > div:last-child span:first-child { font-size: 0.5rem !important; letter-spacing: 0.5px !important; }
  #renderedCardContainer { padding: 0.4rem !important; }
}

/* ============================================================== */
/* COMPRA NA PÁGINA: ESCOLHA RÁPIDA, O RESTO SEGUE NO CHECKOUT    */
/* ============================================================== */
.buy-compact-title { font-size: 1.1rem; font-weight: 700; color: var(--color-primary-green); }
.plan-compact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.plan-option-card.plan-compact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 1.6rem 0.9rem 0.9rem;
  min-width: 0;
}
.plan-compact .plan-tag { position: absolute; top: 0.55rem; left: 0.9rem; margin: 0; font-size: 0.58rem; }
.plan-compact-name { font-size: 0.92rem; font-weight: 700; color: var(--color-primary-green); white-space: nowrap; }
.plan-compact-desc { font-size: 0.75rem; color: #57534E; }
.plan-compact-price { margin-top: 0.35rem; font-size: 0.95rem; font-weight: 700; color: var(--color-accent-terracotta); white-space: nowrap; }
.buy-compact-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 0.9rem; border-top: 1px solid rgba(68, 64, 60, 0.18); }
.buy-compact .validity-note { margin: 0; }
@media (max-width: 639px) {
  .plan-compact-grid { grid-template-columns: 1fr; }
  .plan-option-card.plan-compact {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "tag tag" "name price" "desc price";
    padding: 0.75rem 0.9rem;
    column-gap: 0.75rem;
  }
  .plan-compact .plan-tag { position: static; grid-area: tag; justify-self: start; margin-bottom: 0.2rem; }
  .plan-compact-name { grid-area: name; }
  .plan-compact-desc { grid-area: desc; }
  .plan-compact-price { grid-area: price; align-self: center; margin: 0; }
}


/* ============================================================== */
/* TÍTULO DO TOPO ENCHENDO COMO UM COPO DE CERVEJA                */
/* ============================================================== */
/* A torneira de chope desce, abre e enche as letras (que começam só com o
   contorno). Cheio: a 1ª linha fica como colarinho (espuma) e o resto, cerveja
   viva com bolhas subindo. Nível de cada camada medido e animado no JS. */
.beer-title { position: relative; }
.beer-title > h1 { margin: 0; }
.beer-layer {
  position: absolute !important;
  inset: 0;
  pointer-events: none;
  user-select: none;
  /* Nível do líquido: recorte por cima (o JS anima de vazio até o nível final) */
  -webkit-clip-path: inset(var(--fill-top, 100%) 0 0 0);
  clip-path: inset(var(--fill-top, 100%) 0 0 0);
}
.beer-layer, .beer-layer * {
  color: transparent !important;
  text-decoration: none !important;
  -webkit-text-stroke: 0 !important;
}
.beer-layer .hero-wave { display: none; }
.beer-beer {
  --fill-top: var(--beer-top, 100%);
  background:
    radial-gradient(circle, rgba(255, 247, 222, 0.95) 0 1.2px, transparent 1.8px) 0 0 / 17px 23px,
    radial-gradient(circle, rgba(255, 247, 222, 0.7) 0 0.9px, transparent 1.4px) 8px 11px / 29px 31px,
    linear-gradient(180deg, #F4BE4E 0%, #E39A26 45%, #C0721A 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.beer-foam {
  --fill-top: var(--foam-top, 100%);
  /* Colarinho: espuma cremosa e quente, com volume (nuvens claras e sombras suaves),
     bolhinhas finas e base dourando até a cerveja */
  background:
    radial-gradient(circle at 30% 40%, transparent 0 1.2px, rgba(190, 150, 92, 0.18) 1.6px, transparent 2.2px) 3px 2px / 13px 11px,
    radial-gradient(circle at 70% 60%, transparent 0 0.9px, rgba(190, 150, 92, 0.14) 1.3px, transparent 1.8px) 0 0 / 7px 9px,
    radial-gradient(ellipse 50% 45% at 50% 40%, rgba(255, 255, 255, 0.85), transparent 72%) 0 0 / 34px 22px,
    radial-gradient(ellipse 45% 40% at 50% 60%, rgba(196, 150, 84, 0.28), transparent 75%) 17px 9px / 41px 27px,
    linear-gradient(180deg, #FFF8E8 0%, #F8EACD 38%, #EED4A3 66%, #DDA95C 86%, #C98A2E 100%) 0 0 / 100% var(--foam-h, 50%) no-repeat,
    #E39A26;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(140, 96, 36, 0.6)) drop-shadow(0 3px 4px rgba(120, 80, 30, 0.22));
}

/* Copo vazio: só o contorno das letras (fica como a borda do copo) */
#inicio.beer-pour .beer-title > h1,
#inicio.beer-pour .beer-title > h1 > span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(110, 80, 34, 0.4);
}

#inicio.beer-pour.intro-play .beer-foam {
  animation: foamBubbles 14s linear infinite;
}
#inicio.beer-pour.intro-play .beer-beer {
  animation: beerBubbles 2.4s linear infinite;
}
@keyframes beerBubbles {
  from { background-position: 0 0, 8px 11px, 0 0; }
  to   { background-position: 0 -92px, 8px -113px, 0 0; }
}
@keyframes foamBubbles {
  from { background-position: 3px 2px, 0 0, 0 0, 17px 9px, 0 0, 0 0; }
  to   { background-position: -10px 13px, 7px -9px, 34px -22px, -24px 36px, 0 0, 0 0; }
}

/* Torneira de chope: desce, abre a alavanca, despeja e sobe de volta */
.beer-tap {
  position: absolute;
  left: var(--pour-x, 58%);
  top: -5.2rem;
  width: 56px;
  opacity: 0;
  transform: translate(-50%, -48px);
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 6px 8px rgba(40, 30, 20, 0.25));
}
.beer-tap svg { display: block; width: 100%; height: auto; overflow: visible; }
.beer-tap .tap-lever { transform-box: view-box; transform-origin: 30px 33px; }
#inicio.beer-pour.intro-play .beer-tap {
  animation: tapIn 0.6s cubic-bezier(0.2, 0.8, 0.3, 1.15) forwards, tapOut 0.6s ease-in 4.8s forwards;
}
#inicio.beer-pour.intro-play .beer-tap .tap-lever {
  animation: leverOpen 0.25s ease-out 0.6s forwards, leverClose 0.25s ease-in 4.45s forwards;
}
@keyframes tapIn { to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes tapOut { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -48px); } }
@keyframes leverOpen { to { transform: rotate(-30deg); } }
@keyframes leverClose { from { transform: rotate(-30deg); } to { transform: rotate(0deg); } }

/* Fio de cerveja: sai do bico da torneira, afina na queda, bordas trêmulas,
   brilhos escorrendo e gotas soltas; termina na superfície, que vai subindo */
@property --pour-in { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --pour-out { syntax: '<percentage>'; inherits: false; initial-value: -10%; }
.beer-stream {
  position: absolute;
  left: var(--pour-x, 58%);
  top: calc(-5.2rem + 64px);
  width: 0;
  height: calc(100% + 5.2rem - 64px);
  pointer-events: none;
  z-index: 2;
}
.beer-stream-body {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -6px;
  width: 12px;
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(255, 250, 232, 0.55) 26px 40px, transparent 52px 70px),
    linear-gradient(90deg, rgba(176, 98, 16, 0.35), rgba(232, 160, 46, 0.85) 28%, rgba(255, 236, 186, 0.95) 46%, rgba(240, 178, 64, 0.9) 60%, rgba(176, 98, 16, 0.35));
  background-size: 100% 70px, 100% 100%;
  clip-path: polygon(14% 0, 86% 0, 80% 18%, 76% 40%, 70% 62%, 68% 82%, 66% 100%, 34% 100%, 32% 82%, 30% 62%, 24% 40%, 20% 18%);
  filter: blur(0.35px) drop-shadow(0 0 5px rgba(236, 168, 56, 0.45));
  -webkit-mask-image: linear-gradient(180deg, transparent var(--pour-out), #000 calc(var(--pour-out) + 8%), #000 calc(var(--pour-in) - 6%), transparent var(--pour-in));
  mask-image: linear-gradient(180deg, transparent var(--pour-out), #000 calc(var(--pour-out) + 8%), #000 calc(var(--pour-in) - 6%), transparent var(--pour-in));
}
#inicio.beer-pour.intro-play .beer-stream {
  animation: streamLevel 3.3s cubic-bezier(0.45, 0.05, 0.35, 1) 1.1s forwards;
}
#inicio.beer-pour.intro-play .beer-stream-body {
  animation:
    pourIn 0.45s cubic-bezier(0.5, 0, 0.9, 0.6) 0.8s forwards,
    streamFlow 0.3s linear infinite,
    streamWobble 0.16s ease-in-out infinite alternate,
    pourOut 0.5s cubic-bezier(0.5, 0, 0.9, 0.6) 4.25s forwards;
}
@keyframes pourIn { to { --pour-in: 106%; } }
@keyframes pourOut { from { --pour-in: 106%; } to { --pour-in: 106%; --pour-out: 106%; } }
@keyframes streamFlow { to { background-position: 0 70px, 0 0; } }
@keyframes streamWobble {
  from { clip-path: polygon(14% 0, 86% 0, 80% 18%, 76% 40%, 70% 62%, 68% 82%, 66% 100%, 34% 100%, 32% 82%, 30% 62%, 24% 40%, 20% 18%); }
  to   { clip-path: polygon(14% 0, 86% 0, 77% 20%, 79% 42%, 68% 60%, 71% 80%, 64% 100%, 36% 100%, 29% 80%, 32% 60%, 21% 42%, 23% 20%); }
}
@keyframes streamLevel { to { height: calc(5.2rem - 64px + 4px); } }

/* Gotas que se soltam do fio */
.beer-drop {
  position: absolute;
  top: 0;
  width: 3px;
  height: 5px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: rgba(244, 190, 82, 0.9);
  opacity: 0;
}
.beer-drop:nth-child(2) { left: -7px; }
.beer-drop:nth-child(3) { left: 5px; }
#inicio.beer-pour.intro-play .beer-drop { animation: dropFall 0.7s cubic-bezier(0.5, 0, 1, 1) 1.1s 4 both; }
#inicio.beer-pour.intro-play .beer-drop:nth-child(3) { animation-delay: 1.45s; }
@keyframes dropFall {
  0%   { opacity: 0; transform: translateY(0); }
  15%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(10rem); }
}

/* Coroa de espuma e respingos onde o fio bate na cerveja */
.beer-splash { position: absolute; left: 0; bottom: 0; width: 0; height: 0; opacity: 0; }
.beer-splash::before {
  content: '';
  position: absolute;
  left: -13px;
  bottom: -4px;
  width: 26px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 249, 232, 0.95), rgba(246, 214, 150, 0.6) 55%, transparent 72%);
  filter: blur(0.6px);
}
#inicio.beer-pour.intro-play .beer-splash { animation: splashOn 0.2s ease 1.25s forwards, beerFade 0.3s ease 4.35s forwards; }
#inicio.beer-pour.intro-play .beer-splash::before { animation: foamPulse 0.24s ease-in-out infinite alternate; }
@keyframes splashOn { to { opacity: 1; } }
@keyframes beerFade { from { opacity: 1; } to { opacity: 0; } }
@keyframes foamPulse { to { transform: scale(1.25, 0.85); } }
.beer-splash i {
  position: absolute;
  left: -2px;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(250, 216, 140, 0.95);
  opacity: 0;
}
#inicio.beer-pour.intro-play .beer-splash i { animation: splash 0.5s cubic-bezier(0.2, 0.6, 0.4, 1) infinite; }
#inicio .beer-splash i:nth-child(1) { --sx: -15px; --sy: -11px; animation-delay: 0s; }
#inicio .beer-splash i:nth-child(2) { --sx: 13px; --sy: -15px; animation-delay: 0.12s; }
#inicio .beer-splash i:nth-child(3) { --sx: -7px; --sy: -19px; animation-delay: 0.25s; }
#inicio .beer-splash i:nth-child(4) { --sx: 18px; --sy: -8px; animation-delay: 0.37s; }
@keyframes splash {
  0%   { opacity: 0.95; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0.35); }
}

@media (max-width: 639px) {
  .beer-tap { top: -2.95rem; width: 40px; }
  .beer-stream { top: calc(-2.95rem + 46px); height: calc(100% + 2.95rem - 46px); }
  .beer-stream-body { left: -4.5px; width: 9px; }
  @keyframes streamLevel { to { height: calc(2.95rem - 46px + 3px); } }
}

/* Cervejarias em evidência no menu: hoje o BRINDA Card é focado nelas */
header nav .nav-link.nav-highlight { color: var(--color-accent-terracotta); font-weight: 800; font-size: 1.08em; letter-spacing: 0.04em; }
header nav .nav-link.nav-highlight::after { transform: scaleX(1); }
.buy-compact-title .word-cervejarias { color: var(--color-accent-terracotta); font-weight: 800; letter-spacing: 0.04em; }
#inicio .hero-cervejarias { color: var(--color-accent-terracotta); font-weight: 800; letter-spacing: 0.04em; }

/* ============================================================== */
/* REVISÃO DO CELULAR                                             */
/* ============================================================== */
/* Rodapé: direitos e assinatura discretos, legíveis e centralizados */
.footer-legal p { margin: 0; font-size: 0.78rem; line-height: 1.5; color: rgba(250, 246, 239, 0.72); text-align: center; }
.footer-legal p span { font-size: inherit; }

/* Atendimento oficial: todas as linhas no mesmo tamanho */
.contact-official-card .space-y-2\.5 p,
.contact-official-card .space-y-2\.5 p * { font-size: 0.9rem; line-height: 1.45; }

/* Cartões das cervejarias: o "hover" do computador também no toque */
.brewery-card-terracotta:active {
  transform: translateY(-6px);
  border-color: var(--color-accent-terracotta);
  box-shadow: 0 18px 34px -20px rgba(201, 108, 74, 0.55);
}

@media (max-width: 767px) {
  #breweriesGrid { row-gap: 1rem; }
  .brewery-inner-plate { padding: 1.1rem 1.2rem; }
  .brewery-inner-plate .mt-5 { margin-top: 0.9rem; }
}

@media (max-width: 639px) {
  /* Botões em par sempre com a mesma largura */
  .cta-pair > a { width: 100%; justify-content: center; text-align: center; }
}

/* Celular (sem mouse): os cartões entram ao rolar, subindo e acendendo o contorno */
@media (hover: none) {
  .breweries-touch .brewery-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.6s ease, box-shadow 0.6s ease;
  }
  .breweries-touch .brewery-item.is-in {
    opacity: 1;
    transform: none;
    border-color: var(--color-accent-terracotta);
    box-shadow: 0 14px 28px -22px rgba(201, 108, 74, 0.6);
  }
  .breweries-touch .brewery-item.is-in:active { transform: translateY(-4px); }
}
@media (hover: none) and (prefers-reduced-motion: reduce) {
  .breweries-touch .brewery-item { opacity: 1; transform: none; transition: none; }
}

/* Foto das vinícolas no celular: mostra as taças e garrafas, não só o céu */
@media (max-width: 1023px) {
  .parallax-winery-bg { inset: -18% 0; background-position: 72% 78%; }
}

/* Safari: o trecho em destaque é desenhado à parte, então recebe a própria cerveja/espuma */
.beer-layer .hero-underline {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  animation: inherit;
}
