/* ==========================================================================
   HUB DAS PROMOÇÕES - DESIGN SYSTEM & STYLESHEET
   Identidade Visual: Vinho Luxuoso (#2B050B) + Rose Gold Metalizado (#EAA096)
   ========================================================================== */

:root {
  /* Cores Principais Extraídas do Logo */
  --bg-deep-wine: #2B050B;
  --bg-dark-wine: #3D0A14;
  --bg-medium-wine: #541220;
  --bg-card: rgba(61, 10, 20, 0.65);
  --bg-card-hover: rgba(84, 18, 32, 0.85);

  /* Rose Gold / Cobre Accents */
  --rose-gold: #EAA096;
  --rose-gold-light: #F3B5AB;
  --rose-gold-dark: #D48479;
  --rose-gold-glow: rgba(234, 160, 150, 0.35);
  --rose-gold-border: rgba(234, 160, 150, 0.25);

  /* Cores Complementares de Destaque */
  --whatsapp-green: #25D366;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);
  --gold-alert: #FFD166;

  /* Tipografia & Neutros */
  --text-white: #FFFFFF;
  --text-cream: #FCE8E6;
  --text-muted: #C8A8AA;
  --font-main: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevacoes & Efeitos */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep-wine);
  color: var(--text-cream);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(84, 18, 32, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(234, 160, 150, 0.12) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #1f0307, var(--bg-medium-wine), #1f0307);
  border-bottom: 1px solid var(--rose-gold-border);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-cream);
}

.top-bar-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--whatsapp-green);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Page Layout */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Brand Logo */
.main-header {
  padding: 24px 0 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--rose-gold);
  background: rgba(61, 10, 20, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--rose-gold-glow);
}

.logo-tag-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rose-gold);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   SEÇÃO 1: HERO / CAPTAÇÃO DE TRÁFEGO
   ========================================================================== */
.section-hero {
  padding: 24px 0 50px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 160, 150, 0.12);
  border: 1px solid var(--rose-gold);
  color: var(--rose-gold-light);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-cream);
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.95;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.pulse-green {
  width: 10px;
  height: 10px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--whatsapp-green);
}

/* CTA BUTTON DE ALTA CONVERSÃO */
.cta-wrapper {
  width: 100%;
  max-width: 620px;
  margin: 0 auto 40px auto;
}

.btn-whatsapp {
  position: relative;
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: 
    0 10px 30px rgba(37, 211, 102, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: btnPulse 2.5s infinite;
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 10px 30px rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.35);
  }
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 16px 40px rgba(37, 211, 102, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.btn-whatsapp:active {
  transform: translateY(1px) scale(0.99);
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.whatsapp-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-primary-text {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn-subtext {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.92;
  color: rgba(255, 255, 255, 0.95);
}

.arrow-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-whatsapp:hover .arrow-icon {
  transform: translateX(6px);
}

/* Trust Indicators Below Button */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--rose-gold-light);
  font-weight: 500;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--rose-gold-border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: left;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--rose-gold);
  background: var(--bg-card-hover);
}

.benefit-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 6px;
  font-weight: 700;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SEÇÃO 2: CARROSSEL DE IMAGENS DE PROMOÇÕES
   ========================================================================== */
.section-carousel {
  padding: 60px 0 70px 0;
  border-top: 1px solid var(--rose-gold-border);
  position: relative;
}

.carousel-container-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose-gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Carousel Container & Controls */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.carousel-track-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Item de imagem no Carrossel */
.carousel-item {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--rose-gold-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.carousel-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--rose-gold);
  box-shadow: 0 16px 35px var(--rose-gold-glow);
}

.carousel-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.carousel-item:hover img {
  transform: scale(1.04);
}

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(43, 5, 11, 0.95));
  padding: 16px 12px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-item:hover .item-overlay {
  opacity: 1;
}

.zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--rose-gold-light);
  font-weight: 600;
}

/* Nav Buttons */
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(61, 10, 20, 0.9);
  border: 1px solid var(--rose-gold);
  color: var(--rose-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.carousel-btn:hover {
  background: var(--rose-gold);
  color: var(--bg-deep-wine);
  box-shadow: 0 0 20px var(--rose-gold-glow);
  transform: scale(1.1);
}

.prev-btn {
  margin-right: -20px;
}

.next-btn {
  margin-left: -20px;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(234, 160, 150, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--rose-gold);
  width: 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px var(--rose-gold-glow);
}

/* Secondary CTA below Carousel */
.carousel-cta-box {
  margin-top: 50px;
  background: linear-gradient(135deg, rgba(61, 10, 20, 0.8) 0%, rgba(84, 18, 32, 0.8) 100%);
  border: 1px solid var(--rose-gold);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.carousel-cta-title {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  color: var(--text-white);
  font-weight: 800;
  margin-bottom: 10px;
}

.carousel-cta-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn-secondary-cta {
  max-width: 540px;
  margin: 0 auto;
}

/* Spinner de Carregamento */
.carousel-loading {
  width: 100%;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--rose-gold);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(234, 160, 150, 0.2);
  border-top: 4px solid var(--rose-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 2, 5, 0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 2px solid var(--rose-gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--rose-gold);
}

/* Footer */
.main-footer {
  padding: 40px 0 30px 0;
  border-top: 1px solid rgba(234, 160, 150, 0.15);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rose-gold);
  margin-bottom: 12px;
}

.footer-disclaimer {
  max-width: 650px;
  margin: 0 auto 16px auto;
  line-height: 1.5;
  opacity: 0.75;
}

/* Responsive Rules */
@media (max-width: 900px) {
  .carousel-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .carousel-item {
    flex: 0 0 85%;
    min-width: unset;
  }

  .carousel-track {
    gap: 14px;
  }

  .prev-btn {
    left: 5px;
    margin-right: 0;
    position: absolute;
  }

  .next-btn {
    right: 5px;
    margin-left: 0;
    position: absolute;
  }

  .btn-whatsapp {
    padding: 16px;
  }

  .btn-content {
    gap: 10px;
  }

  .whatsapp-icon {
    width: 32px;
    height: 32px;
  }

  .arrow-icon {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
