/* VARIÁVEIS GLOBAIS */
:root {
  --primary: #19cf92;
  --secondary: #6c19b5;
  --accent: #ffd600;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --black: #000000;
}

/* RESET E BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f5f6fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER IDÊNTICO À IMAGEM */
.hero-exact {
  position: relative;
  background: linear-gradient(135deg, #19cf92 0%, #6c19b5 100%);
}

.hero-top {
  padding: 60px 0 120px;
  color: white;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.header-left {
  display: grid;
  justify-items: center;
  width: auto;
  min-width: 500px;
  padding-right: 20px;
}

.header-logo {
  width: 350px;
  margin-bottom: 30px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.header-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.header-description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.95;
  line-height: 1.7;
}

.header-description strong {
  color: var(--accent);
  font-weight: 700;
}

.header-subtext {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.9;
  border-left: 3px solid var(--accent);
  padding-left: 15px;
}

.header-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 35px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  min-width: 250px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.header-btn i {
  font-size: 1.3rem;
  margin-right: 12px;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.telegram-btn:hover {
  background: #0077b3;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* LADO DIREITO COM QR CODE */
.header-right {
  position: relative;
  margin-top: -240px;
  z-index: 2;
}

.qr-container {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-frame {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 15px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  pointer-events: none;
  z-index: 1;
}

.qr-image {
  height: auto;
  display: block;
  margin: 0 auto;
}

.phone-mockup {
  position: absolute;
  width: 340px;
  height: 340px;
  background: rgba(0,0,0,0.1);
  border-radius: 50px;
  z-index: 0;
  filter: blur(10px);
  transform: scale(0.95);
}

/* SEÇÃO BRANCA APÓS HEADER */
.white-section {
  background: white;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* BENEFÍCIOS DETALHADOS */
.detailed-benefits {
  padding: 100px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 60px;
  color:   #476aa6;
}

#bloco-vantagens h2{
  color: #8c6cbb;
}

.benefits-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--light);
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: #8c6cbb;
}

.benefit-icon {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: #8c6cbb;
  height: 70px;
  width: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8c6cbb33;
  border-radius: 50%;
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #8c6cbb;
}

.benefit-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* LOJAS PARCEIRAS */
.stores-section {
  padding: 100px 0;
  background: #f5f6fa;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.store-card {
  background: white;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #eee;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.store-card:hover {
  border-color: #476aa6;
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.store-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 25px;
}

.store-logo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto;
}

.store-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.store-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.chamada{
  margin-right: 50px;
}

/* SEÇÕES ORIGINAIS (MANTIDAS) */
.benefits {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.benefits h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit {
  background: #f7f7f7;
  padding: 24px;
  border-radius: 12px;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.content {
  padding: 80px 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.heading {
  text-align: center;
  padding: 2rem 0;
  padding-bottom: 5rem;
  font-size: 3rem;
  color: #476aa6;
}

.chat-section {
  display: flex;
  justify-content: center;
  padding: 0;
  background: #14c78b32 !important;
}

.chat-section .chat__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  padding: 100px;
}

.chat-section .chat__content-title {
  font-size: 25px;
  font-weight: bolder;
}

.chat-section .chat__content-text {
  font-size: 20px;
  margin: 0px 20px;
}

.chat-section .chat__content-link {
  background-color: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: var(--bold);
  border-radius: 40px;
  padding: 20px 40px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.chat-section .chat__content-link:hover {
  background-color: var(--secundary);
}

/* ===============================
   OFERTADOS (ALTERADO AQUI)
   =============================== */
.ofertados {
  background: var(--white);
  padding: 80px 0;
}

.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  background: var(--white);
  padding: 1rem 0;
}

.marquee-content {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

/* Card padronizado */
.store-item {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.store-item:hover {
  transform: translateY(-6px);
}

/* Imagem padronizada (mesmo tamanho sempre) */
.store-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.store-item:hover img {
  transform: scale(1.06);
}

/* Nome em overlay com gradiente (melhor leitura) */
.store-name {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 8px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0)
  );

  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pausa animação ao passar o mouse */
.marquee:hover .marquee-content {
  animation-play-state: paused;
}

.footer{
  background: #8c6cbb;
  color: white;
  text-align: center;
  height: 50px;
  display: grid;
  align-items: center;
  font-size: 0.7rem;
}

/* Ícone do WhatsApp */
#whatsapp-icon-link {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 15px;
    padding: 10px; /* Aumenta a área de clique */
    bottom: 10px;
    right: 10px;
    z-index: 9999;
}

/* Garante que a animação do bounce não afete a área de clique */
#whatsapp-icon {
    cursor: pointer; /* Mantém o cursor de clique */
    position: relative; /* Mantém a posição fixa */
}

/* Garante que a mensagem seja sempre clicável */
#whatsapp-message {
    background: #46c756;
    color: white;
    border: 1px solid var(--white);
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 20px;
    position: absolute;
    bottom: 50%; /* Centraliza na altura do ícone */
    right: 80px; /* Ajusta para a esquerda do ícone */
    opacity: 0;
    transform: translateY(50%) translateX(100%); /* Mantém centralizado */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    white-space: nowrap;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none; /* Evita cliques enquanto está invisível */
}

/* Quando ativo, o balão de mensagem aparece */
#whatsapp-message.show {
    opacity: 1;
    transform: translateY(50%) translateX(0); /* Suaviza a entrada */
    pointer-events: auto; /* Permite clique quando visível */
}

/* Esconde todos os elementos no início */
.animate-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 0.8s ease-out;
}

/* Quando a classe 'show' for adicionada, os elementos aparecem */
.animate-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Começa com leve deslocamento e transparência */
.section-animate {
    opacity: 1; /* Mantém sempre visível */
    transform: translateY(0);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

/* Aplica um efeito de leve subida ao ativar a seção */
.section-animate.active {
    transform: translateY(-10px); /* Move suavemente para cima */
}

#whatsapp-icon {
    width: 60px;
    height: 60px;
}

/* Aplicando bounce ao ícone */
#whatsapp-icon.bounce {
    animation: bounce 0.5s ease-in-out;
}

@keyframes marquee {
  from { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* RESPONSIVIDADE */
@media (max-width: 1100px) {
  .header-content {
    gap: 40px;
  }

  .header-title {
    font-size: 2.2rem;
  }

  .header-btn {
    min-width: 220px;
    padding: 16px 25px;
  }
}

@media (max-width: 992px) {
  .header-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .header-left {
    padding-right: 0;
  }

  .header-title {
    font-size: 2rem;
  }

  .header-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .qr-container {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-top {
    padding: 40px 0 100px;
  }

  .header-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .header-btn {
    min-width: 100%;
  }

  .qr-container {
    width: 280px;
    height: 280px;
  }

  .curve-divider svg {
    height: 80px;
  }

  /* OFERTADOS MOBILE */
  .store-item {
    width: 140px;
    height: 140px;
  }

  .store-name {
    font-size: 0.8rem;
    padding: 8px 6px;
  }
}

@media (max-width: 480px) {
  .header-logo {
    width: 150px;
  }

  .header-title {
    font-size: 1.6rem;
  }

  .header-description {
    font-size: 1rem;
  }

  .heading {
    font-size: 2.5rem;
  }

  .benefit-card,
  .store-card {
    padding: 25px 20px;
  }

  /* OFERTADOS EXTRA MOBILE */
  .store-item {
    width: 130px;
    height: 130px;
  }
}
