/* ===== LANDING PAGE GELADINHO GOURMET - CSS PRINCIPAL ===== */
/* 
  INSTRUÇÕES PARA PERSONALIZAÇÃO:
  1. Para mudar cores: edite as variáveis CSS no :root
  2. Para alterar fontes: mude o link do Google Fonts no HTML
  3. Para ajustar espaçamentos: modifique os valores de padding/margin
  4. Para responsividade: edite as media queries no final
*/

/* ===== RESET E CONFIGURAÇÕES BÁSICAS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Faz com que padding e border sejam incluídos no tamanho total */
}

/* ===== VARIÁVEIS DE CORES (EDITE AQUI PARA MUDAR AS CORES) ===== */
:root {
  --primary-pink: #ff1493;     /* Rosa principal - usado nos títulos e destaques */
  --light-pink: #ffb6c1;       /* Rosa claro - usado em gradientes */
  --soft-pink: #ffc0cb;        /* Rosa suave - usado em detalhes */
  --pale-pink: #ffe4e1;        /* Rosa bem claro - usado em fundos de seção */
  --white: #ffffff;            /* Branco puro */
  --dark-text: #2d2d2d;        /* Texto escuro principal */
  --gray-text: #666666;        /* Texto secundário em cinza */
  --success-green: #10b981;    /* Verde para botões e elementos de sucesso */
}

/* ===== CONFIGURAÇÕES GERAIS DO BODY ===== */
body {
  font-family: 'Inter', sans-serif; /* Fonte moderna e legível */
  line-height: 1.6;                 /* Espaçamento entre linhas para melhor leitura */
  color: var(--dark-text);           /* Cor padrão do texto */
  background: var(--white);          /* Fundo branco */
}

/* ===== CONTAINER PRINCIPAL (LIMITA LARGURA DO CONTEÚDO) ===== */
.container {
  max-width: 1200px;  /* Largura máxima do conteúdo */
  margin: 0 auto;     /* Centraliza o conteúdo */
  padding: 0 20px;    /* Espaçamento lateral */
}

/* ===== SEÇÃO HERO (CABEÇALHO PRINCIPAL) ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--light-pink) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Esconde elementos que saem da área */
}

/* Efeito decorativo de fundo com pontos */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.1"/></svg>');
}

.hero-container {
  position: relative;
  z-index: 2; /* Garante que o conteúdo fique acima do efeito de fundo */
}

/* Título principal - responsivo */
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Tamanho responsivo: mín 2rem, máx 3.5rem */
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Sombra sutil no texto */
}

/* Subtítulo do hero */
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CAIXA DE PREÇO NO HERO ===== */
.price-hero {
  margin: 32px 0;
  padding: 20px;
  background: rgba(255,255,255,0.15); /* Fundo semi-transparente */
  border-radius: 16px;
  backdrop-filter: blur(10px); /* Efeito de desfoque no fundo */
}

.old-price-hero {
  display: block;
  font-size: 1.1rem;
  text-decoration: line-through; /* Preço riscado */
  opacity: 0.8;
  margin-bottom: 8px;
}

.new-price-hero {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff200; /* Amarelo chamativo */
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ===== BOTÕES CTA (CALL TO ACTION) ===== */
/* IMPORTANTE: Estes são os botões de conversão - teste diferentes cores e textos */
.cta-primary, .cta-secondary, .cta-video, .cta-final {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669); /* Gradiente verde */
  color: var(--white);
  padding: 18px 36px;
  text-decoration: none;
  border-radius: 50px; /* Bordas bem arredondadas */
  font-weight: 600;
  font-size: 1.1rem;
  margin: 16px 8px;
  box-shadow: 0 8px 25px rgba(16,185,129,0.3); /* Sombra verde */
  transition: all 0.3s ease; /* Animação suave */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Efeito hover nos botões */
.cta-primary:hover, .cta-secondary:hover, .cta-video:hover, .cta-final:hover {
  transform: translateY(-3px); /* Move o botão para cima */
  box-shadow: 0 12px 35px rgba(16,185,129,0.4); /* Sombra mais intensa */
}

/* Botão final com animação especial */
.cta-final {
  font-size: 1.3rem;
  padding: 24px 48px;
  animation: pulse 2s infinite; /* Animação pulsante */
}

/* Animação de pulso para o botão final */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== SEÇÃO DE VÍDEO ===== */
.video-section {
  padding: 80px 20px;
  background: var(--pale-pink); /* Fundo rosa bem claro */
}

.video-header {
  text-align: center;
  margin-bottom: 40px;
}

.video-subtitle {
  font-size: 1.3rem;
  color: var(--dark-text);
  font-weight: 600;
}

/* Container do vídeo principal */
.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255,20,147,0.15); /* Sombra rosa sutil */
}

.main-video {
  width: 100%;
  height: auto;
  display: block;
}

.video-cta {
  text-align: center;
  margin-top: 32px;
}

/* ===== SEÇÃO DE BENEFÍCIOS ===== */
.benefits-section {
  padding: 80px 20px;
  background: var(--white);
}

/* Títulos das seções */
.benefits-section h2 {
  font-size: 2.5rem;
  color: var(--primary-pink);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

/* Grid responsivo para benefícios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Colunas automáticas */
  gap: 40px;
}

/* Cards individuais de benefício */
.benefit-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(255,20,147,0.1);
  border: 2px solid var(--pale-pink);
  transition: all 0.3s ease;
}

/* Efeito hover nos cards */
.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255,20,147,0.2);
  border-color: var(--light-pink);
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.benefit-item h3 {
  color: var(--primary-pink);
  margin-bottom: 16px;
  font-size: 1.4rem;
  font-weight: 600;
}

.benefit-item p {
  color: var(--gray-text);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== SEÇÃO DE DIFERENCIAIS ===== */
.differentials-section {
  padding: 80px 20px;
  background: var(--pale-pink);
}

.differentials-section h2 {
  font-size: 2.5rem;
  color: var(--primary-pink);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

.differentials-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

/* Items de diferencial em lista */
.differential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(255,20,147,0.1);
}

.differential-bullet {
  color: var(--primary-pink);
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0; /* Não encolhe */
}

.differential-item p {
  font-size: 1.1rem;
  color: var(--dark-text);
  margin: 0;
}

/* ===== SEÇÃO DE MÓDULOS ===== */
.modules-section {
  padding: 80px 20px;
  background: var(--white);
}

.modules-section h2 {
  font-size: 2.2rem;
  color: var(--primary-pink);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  line-height: 1.3;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

/* Cards dos módulos com vídeo */
.module-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255,20,147,0.15);
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255,20,147,0.25);
}

.module-video {
  position: relative;
  overflow: hidden;
}

/* Vídeos dos cards */
.card-video {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Mantém proporção cortando se necessário */
}

.module-card h3 {
  padding: 24px 24px 8px;
  color: var(--primary-pink);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.module-card p {
  padding: 0 24px 24px;
  color: var(--gray-text);
  font-size: 1rem;
  margin: 0;
}

/* ===== SEÇÃO DE DEPOIMENTOS ===== */
.testimonials-section {
  padding: 80px 20px;
  background: var(--pale-pink);
}

.testimonials-section h2 {
  font-size: 2.5rem;
  color: var(--primary-pink);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

/* Cards de depoimento */
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(255,20,147,0.1);
  position: relative;
}

/* Aspas decorativas */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--light-pink);
  font-weight: bold;
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark-text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  color: var(--primary-pink);
  font-weight: 600;
}

/* ===== SEÇÃO DE GARANTIA ===== */
.guarantee-section {
  padding: 80px 20px;
  background: var(--white);
}

.guarantee-content {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Imagem menor, texto maior */
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.guarantee-icon img {
  max-width: 100%;
  height: auto;
}

.guarantee-text h2 {
  color: var(--success-green);
  font-size: 2.2rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.guarantee-text p {
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ===== SEÇÃO CTA FINAL ===== */
.final-cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-pink), var(--light-pink));
  color: var(--white);
  text-align: center;
}

.final-cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 800;
}

.final-cta-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

.final-price-info {
  margin-top: 24px;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== NOTIFICAÇÃO DE COMPRA (PROVA SOCIAL) ===== */
.purchase-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-left: 4px solid var(--success-green);
  z-index: 1000; /* Fica acima de tudo */
  transform: translateX(-100%); /* Escondida inicialmente */
  transition: transform 0.3s ease;
}

/* Mostra a notificação */
.purchase-notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon {
  font-size: 1.5rem;
}

.notification-text {
  font-size: 0.9rem;
  color: var(--dark-text);
}

.notification-time {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-top: 4px;
}

/* ===== RODAPÉ ===== */
.footer {
  background: var(--dark-text);
  color: var(--white);
  padding: 40px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  margin-right: 24px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.payment-icons span {
  margin-right: 16px;
  opacity: 0.8;
}

.security-badge {
  color: var(--success-green);
  font-weight: 600;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ===== DESIGN RESPONSIVO (MOBILE) ===== */
/* IMPORTANTE: Teste sempre em dispositivos móveis */
@media (max-width: 768px) {
  /* Garantia em coluna única no mobile */
  .guarantee-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Título menor no mobile */
  .hero h1 {
    font-size: 2rem;
  }
  
  /* Grids em coluna única no mobile */
  .modules-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== DICAS DE PERSONALIZAÇÃO ===== */
/*
1. CORES: Mude as variáveis no :root para alterar toda a paleta
2. FONTES: Troque 'Inter' por outra fonte do Google Fonts
3. ESPAÇAMENTOS: Ajuste os valores de padding para mais/menos espaço
4. BOTÕES: Teste diferentes cores e textos nos CTAs
5. ANIMAÇÕES: Modifique as transições para efeitos mais rápidos/lentos
6. RESPONSIVO: Ajuste os breakpoints nas media queries conforme necessário
*/