/* ==========================================================================
   ACHADINHOS VIP — DESIGN SYSTEM & ESTILOS PRINCIPAIS
   ========================================================================== */

:root {
  /* Paleta Dinâmica (sobrescrita por config / Google Sheets) */
  --primary: #FF385C;
  --primary-hover: #E01E43;
  --primary-light: #FFF0F2;
  --secondary: #FF7A00;
  --secondary-light: #FFF5EC;
  --accent-gold: #FFB800;
  --success: #10B981;
  --success-bg: #ECFDF5;

  /* Cores Neutras & Superfícies */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  /* Tipografia & Cores de Texto */
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Sombras & Efeitos */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.12);

  /* Raio de Borda & Transições */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.modal-open, body.drawer-open {
  overflow: hidden;
}

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

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   1. BARRA PROMOCIONAL SUPERIOR
   ========================================================================== */
.promo-bar {
  background: linear-gradient(90deg, #FF385C, #FF7A00);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   2. HEADER & NAVEGAÇÃO
   ========================================================================== */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-vip-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-vip-group:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-mobile-menu {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 64px 0 54px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 56, 92, 0.25) 0%, rgba(255, 122, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFE58F;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(255, 56, 92, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 56, 92, 0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  transition: background var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   4. BARRA DE BUSCA INSTANTÂNEA
   ========================================================================== */
.search-container-wrap {
  margin-top: -28px;
  position: relative;
  z-index: 20;
}

.search-box-card {
  background: #FFFFFF;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
}

.search-icon {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 6px 0;
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-clear-btn {
  background: var(--bg-subtle);
  border: none;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

.search-clear-btn:hover {
  background: var(--border-color);
  color: var(--text-main);
}

/* ==========================================================================
   5. SELEÇÃO DE CATEGORIAS (HORIZONTAL SCROLL PILLS)
   ========================================================================== */
.categories-section {
  padding: 24px 0 12px;
}

.categories-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.categories-scroll::-webkit-scrollbar {
  height: 4px;
}

.categories-scroll::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.category-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.category-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
}

.category-pill.active .category-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.category-badge {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   6. CONTROLES DE FILTROS & ORDENAÇÃO
   ========================================================================== */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.results-count-badge {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.filter-bar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.control-select {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.btn-filter-mobile-trigger {
  display: none;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* ==========================================================================
   7. GRADE DE PRODUTOS & CARDS DE OFERTA
   ========================================================================== */
.products-section {
  padding: 16px 0 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.products-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #CBD5E1;
}

.product-card.is-featured {
  border-color: #FED7AA;
}

.product-card.is-expired {
  opacity: 0.75;
}

/* Imagem e Badges do Card */
.card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Proporção 1:1 Quadrada */
  background-color: #F8FAFC;
  overflow: hidden;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .card-img {
  transform: scale(1.04);
}

.card-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge-discount {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(255, 56, 92, 0.4);
}

.badge-highlight {
  background: #D97706;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.btn-card-share {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 3;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.btn-card-share:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.08);
}

.card-platform-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.card-expired-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 3;
}

/* Corpo do Card */
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category-row {
  margin-bottom: 6px;
}

.card-category-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.card-pricing {
  margin-top: auto;
  margin-bottom: 12px;
}

.card-price-old {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: line-through;
  line-height: 1.2;
}

.card-price-current {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

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

.price-number {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
}

.card-coupon-row {
  margin-bottom: 12px;
}

.btn-card-copy-coupon {
  width: 100%;
  background: var(--secondary-light);
  border: 1px dashed var(--secondary);
  color: #C2410C;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-card-copy-coupon:hover {
  background: #FFEDD5;
}

.btn-card-copy-coupon.copied {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}

.card-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.card-cta-btn:hover {
  background: var(--primary-hover);
}

.card-cta-btn.disabled {
  background: var(--border-color);
  color: var(--text-light);
  cursor: not-allowed;
}

/* ==========================================================================
   8. SKELETON LOADERS & EMPTY STATES
   ========================================================================== */
.skeleton-card {
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-img {
  width: 100%;
  padding-top: 100%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 20px;
}

.btn-reset-filters {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   9. MODAL DE PRODUTO & BLOG
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  animation: modalFadeUp 0.25s ease-out;
}

@keyframes modalFadeUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E2E8F0;
}

.modal-body {
  padding: 28px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
}

/* Galeria do Modal */
.modal-main-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
}

.modal-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-badge-lg {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(255, 56, 92, 0.4);
}

.expired-badge-lg {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1E293B;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.modal-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.thumb-btn.active {
  border-color: var(--primary);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-video-section {
  margin-top: 24px;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Informações do Modal */
.modal-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.platform-badge, .category-tag-simple, .type-tag {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.category-tag-simple {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.type-tag {
  background: #E0E7FF;
  color: #3730A3;
}

.modal-product-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 18px;
}

.modal-pricing-box {
  background: #F8FAFC;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.modal-price-old {
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.modal-price-current {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-prefix {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.modal-validity {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-validity.expired {
  color: #DC2626;
  font-weight: 700;
}

/* Bloco de Cupom do Modal */
.modal-coupon-box {
  background: #FFFBEB;
  border: 1.5px dashed #F59E0B;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.coupon-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.8rem;
  color: #B45309;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.coupon-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coupon-code-display {
  background: #FFFFFF;
  border: 1px solid #FCD34D;
  padding: 8px 16px;
  font-family: monospace;
  font-weight: 800;
  font-size: 1.15rem;
  color: #92400E;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  flex: 1;
}

.btn-copy-coupon {
  background: #F59E0B;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.btn-copy-coupon:hover {
  background: #D97706;
}

.btn-copy-coupon.copied {
  background: var(--success);
}

.coupon-tip {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #78350F;
}

/* CTA Principal do Modal */
.modal-cta-wrap {
  margin-bottom: 24px;
}

.btn-affiliate-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(255, 56, 92, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
}

.btn-affiliate-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 56, 92, 0.45);
}

.security-guarantee {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Caixa de Compartilhamento no Modal */
.modal-share-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.share-box-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.share-buttons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-share-social {
  flex: 1;
  min-width: 105px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-share-social:hover {
  transform: translateY(-1px);
}

.btn-share-wa {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
}

.btn-share-wa:hover {
  background: #20BA5A;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.btn-share-tg {
  background: #0088CC;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 136, 204, 0.25);
}

.btn-share-tg:hover {
  background: #0077B5;
  box-shadow: 0 4px 10px rgba(0, 136, 204, 0.35);
}

.btn-share-copy {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-share-copy:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.modal-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.modal-description-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

/* Produtos Relacionados dentro do Modal */
.modal-related-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.related-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.related-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.related-card:hover {
  background: #F1F5F9;
}

.related-card img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.related-info h5 {
  font-size: 0.82rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}

/* ==========================================================================
   10. CTA REDES SOCIAIS & COMUNIDADE VIP
   ========================================================================== */
.social-cta-section {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  color: #FFFFFF;
  padding: 56px 0;
  margin: 30px 0 0;
}

.social-cta-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.social-cta-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.social-cta-desc {
  font-size: 1.05rem;
  color: #C7D2FE;
  margin-bottom: 28px;
}

.social-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-social-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast);
}

.btn-social-telegram {
  background: #0088CC;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.35);
  transition: transform var(--transition-fast);
}

.btn-social-whatsapp:hover, .btn-social-telegram:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   11. BLOG & ARTIGOS PARA SEO
   ========================================================================== */
.blog-section {
  padding: 50px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-card-img-wrap {
  position: relative;
  height: 190px;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-category-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.blog-card-content {
  padding: 18px;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Modal do Artigo Completo */
.modal-blog-card {
  max-width: 780px;
}

.blog-single-header {
  margin-bottom: 20px;
}

.blog-single-header h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 10px 0 6px;
  line-height: 1.25;
}

.blog-single-cover {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.blog-single-body {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
}

.blog-single-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 24px 0 8px;
}

.blog-single-body p {
  margin-bottom: 16px;
}

.blog-related-deals {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.blog-related-deals h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* ==========================================================================
   12. FAQ (PERGUNTAS FREQUENTES)
   ========================================================================== */
.faq-section {
  padding: 56px 0;
  background: var(--bg-page);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

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

/* ==========================================================================
   13. FOOTER & RODAPÉ
   ========================================================================== */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 56px 0 28px;
  margin-top: auto;
  border-top: 1px solid #1E293B;
}

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

.footer-brand-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 320px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   14. TOAST CONTAINER & BACK-TO-TOP
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s ease;
  pointer-events: auto;
}

.toast-item.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-item.toast-success {
  background: #065F46;
  border-left: 4px solid #10B981;
}

.toast-item.toast-warning {
  background: #78350F;
  border-left: 4px solid #F59E0B;
}

.toast-item.toast-error {
  background: #7F1D1D;
  border-left: 4px solid #EF4444;
}

.btn-back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 30;
}

.btn-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-back-to-top:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}
