/* ==========================================================================
   SABADÃO COAGRO 2026 — TEMA VERDE SAFRA + OURO SAFRA (CAMADA SOBRE STYLES.CSS)
   Identidade oficial Agro Coagro (#004D40 / #021F14 / #FFB800) • Zero cores Pet
   ========================================================================== */

:root {
  --coagro-navy: #004D40;
  --coagro-navy-light: #00796B;
  --coagro-navy-deep: #021F14;
  --coagro-card-bg: #052E1E;
  --coagro-card-border: rgba(255, 184, 0, 0.18);
  --coagro-green: #004D40;
  --coagro-green-light: #00796B;
  --coagro-gold: #FFB800;
  --coagro-gold-hover: #FFCA28;
}

body {
  background-color: #021F14;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 77, 64, 0.55) 0%, transparent 60%),
    radial-gradient(circle at 100% 30%, rgba(255, 184, 0, 0.08) 0%, transparent 45%);
}

/* 1. TOP TICKER SABADÃO */
.top-ticker.sabadao-ticker {
  background: linear-gradient(90deg, #FFB800 0%, #FFCC33 50%, #FFB800 100%);
  color: #021F14;
  border-bottom: 1px solid rgba(2, 31, 20, 0.15);
}

.sabadao-ticker .live-dot {
  background: #16A34A;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulse-green-sabadao 1.4s infinite;
}

@keyframes pulse-green-sabadao {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* 2. HEADER COMPACTO */
.site-header.sabadao-header {
  background: rgba(2, 31, 20, 0.94);
  border-bottom: 1px solid rgba(255, 184, 0, 0.25);
}

.sabadao-header .header-selo-only {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.sabadao-header .btn-wa-header {
  border-radius: 9999px;
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.4);
  color: #FFFFFF;
}

.sabadao-header .btn-wa-header:hover {
  background: var(--coagro-gold);
  border-color: var(--coagro-gold);
  color: #021F14;
}

/* 3. HERO STAGE SABADÃO (FUNDO EM CAMADAS + LOGO 3D CENTRALIZADA) */
.sabadao-hero-stage {
  position: relative;
  width: 100%;
  background-color: #021F14;
  background-image: url('/sabadao/assets/sabadao-header-hero.jpg');
  background-size: cover;
  background-position: center 42%;
  padding: 28px 16px 26px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 184, 0, 0.22);
}

.sabadao-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center 35%, rgba(0, 77, 64, 0.12) 0%, rgba(2, 31, 20, 0.62) 72%),
    linear-gradient(180deg, rgba(2, 31, 20, 0.22) 0%, rgba(2, 31, 20, 0.56) 62%, #021F14 100%);
  pointer-events: none;
  z-index: 0;
}

.sabadao-hero-stage .hero-container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sabadao-hero-logo {
  width: min(300px, 68vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}

.sabadao-hero-stage .hero-headline {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.sabadao-hero-stage .hero-subline {
  color: #ECFDF5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

/* 4. CONTROLES, ABAS E BUSCA */
.catalog-controls {
  background: rgba(2, 31, 20, 0.92);
  border-bottom: 1px solid rgba(255, 184, 0, 0.18);
}

.cat-tab {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.cat-tab:hover {
  border-color: rgba(255, 184, 0, 0.45);
}

.cat-tab.active {
  background: var(--coagro-gold);
  border-color: var(--coagro-gold);
  color: #021F14;
}

.search-input {
  background: #052E1E;
  border-color: rgba(255, 184, 0, 0.25);
}

.search-input:focus {
  border-color: var(--coagro-gold);
  box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.28);
}

/* FAIXA DISCRETA DE PRÉVIA VISUAL */
.sabadao-preview-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.35);
  color: #FDE68A;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
}

/* 5. CARDS DE PRODUTO E BOTÕES PÍLULA */
.product-card {
  background: #052E1E;
  border: 1px solid rgba(255, 184, 0, 0.18);
  border-radius: 16px;
}

.product-card:hover {
  border-color: var(--coagro-gold);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.card-category-tag,
.sku-spotlight-cat {
  color: #6EE7B7;
}

.pill-pix,
.sku-spotlight-pix-pill {
  background: #004D40;
  color: #A7F3D0;
  border: 1px solid rgba(167, 243, 208, 0.25);
}

.btn-card-wa,
.btn-send-budget-wa,
.btn-modal-wa,
.sku-spotlight-cta-wa {
  border-radius: 9999px;
  color: #021F14;
}

.btn-card-wa:hover,
.btn-send-budget-wa:hover,
.btn-modal-wa:hover {
  color: #021F14;
}

.btn-add-list,
.sku-spotlight-cta-add {
  border-radius: 9999px;
}

.btn-reset-filters {
  border-radius: 9999px;
  color: #021F14;
}

.btn-ai-suggest-item {
  background: rgba(2, 31, 20, 0.9);
}

/* 6. BANNER INFERIOR INSTITUCIONAL SABADÃO */
.sabadao-bottom-banner {
  position: relative;
  margin: 28px 0 8px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 184, 0, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  background-color: #004D40;
  background-image: url('/sabadao/assets/sabadao-header-slim.jpg');
  background-size: cover;
  background-position: center;
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
}

.sabadao-bottom-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 31, 20, 0.72) 0%, rgba(0, 77, 64, 0.48) 50%, rgba(2, 31, 20, 0.72) 100%);
  pointer-events: none;
}

.sabadao-bottom-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  text-align: center;
}

.sabadao-bottom-banner__logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.sabadao-bottom-banner__copy {
  max-width: 520px;
}

.sabadao-bottom-banner__title {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 24px);
  color: #FFFFFF;
}

.sabadao-bottom-banner__sub {
  margin: 0;
  font-size: 13.5px;
  color: #ECFDF5;
}

/* 7. STICKY BAR, MODAIS, SPOTLIGHT E RODAPÉ (SEM AZUL RESIDUAL) */
.budget-sticky-bar {
  background: rgba(2, 31, 20, 0.96);
  border-top: 2px solid var(--coagro-gold);
}

.budget-count-badge,
.budget-modal-badge {
  background: var(--coagro-gold);
  color: #021F14;
}

.budget-modal-backdrop,
.sku-spotlight-backdrop {
  background: rgba(1, 18, 11, 0.86);
}

.budget-modal,
.sku-spotlight-modal {
  background: #052E1E;
  border-color: var(--coagro-gold);
}

.sku-spotlight-city,
.sku-spotlight-close,
.consult-select,
.consult-input {
  background-color: #021F14;
}

.store-network-footer,
.legal-section {
  background: rgba(2, 31, 20, 0.88);
  border-color: rgba(255, 184, 0, 0.16);
}

.site-footer {
  background: #01150D;
  border-top: 1px solid rgba(255, 184, 0, 0.22);
}

@media (max-width: 640px) {
  .sabadao-hero-stage {
    padding: 22px 14px 20px;
  }
  .sabadao-header .header-selo-only {
    height: 36px;
  }
  .sabadao-bottom-banner {
    padding: 18px 16px;
  }
  .sabadao-bottom-banner__logo {
    height: 62px;
  }
}
