/* ========================================================== */
/*           ESTILO PARA A LANDING PAGE (index.php)           */
/*           Versão 4.2 - Correção de vídeo híbrida           */
/* ========================================================== */

/* --- GERAL E VARIÁVEIS --- */
:root {
  /* Cores originais da landing page (mantidas para referência, mas substituídas no uso) */
  --primary-color: #7C3AED;
  --secondary-color: #f5f3ff;
  --text-color: #374151;
  --text-light: #6b7280;
  --background-color: #ffffff;
  --border-color: #e5e7eb;
  --star-color: #facc15;
  --success-color: #10b981;
  --font-family: 'Poppins', sans-serif;

  /* NEW: Cores adicionadas do style_info.css para consistência com o tema roxo/dourado */
  --pink: #fde2e4; /* Rosa claro para títulos e destaques */
  --white: #ffffff; /* Branco puro para texto principal */
  --soft-red: #e74c3c; /* Vermelho suave, usado em alertas/exclusão */
  --gold: #c9a959; /* Dourado principal para botões, ícones, bordas */
  --deep-purple: #1a0a24; /* Roxo escuro, a cor base do fundo */
  --dark-container: rgba(15, 5, 25, 0.9); /* Para fundos de seções e cards com transparência */
  --glow-color: rgba(201, 169, 89, 0.2); /* Brilho suave em dourado */
  --theme-purple: #a060d8; /* Outro tom de roxo, se necessário */
  --font-title: 'Playfair Display', serif; /* Fonte para títulos */
  --font-body: 'Poppins', sans-serif; /* Já definida, mas confirmada para consistência */
  --transition-speed: 0.3s; /* Velocidade padrão de transições */
}

/* --- RESET E BODY --- */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body); /* NEW: Usar --font-body para consistência */
  /* OLD: background-color: var(--background-color); */
  /* NEW: Aplicar o gradiente roxo do info.php */
  background: linear-gradient(135deg, var(--deep-purple) 0%, #3d1e52 100%);
  color: var(--white); /* NEW: Mudar a cor do texto padrão para branco */
  line-height: 1.7;
  overflow-x: hidden; /* NEW: Garante que não haja rolagem horizontal */
  transition: overflow 0.3s; /* NEW: Transição suave */
}

/* NEW: Estilo para o canvas dos corações (copiado de style_info.css) */
#hearts-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2; /* Coloca o canvas bem no fundo, atrás de todo o conteúdo */
  pointer-events: none; /* Não interfere com cliques ou interações do usuário */
}


.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.3;
  /* NEW: Títulos em rosa claro para contraste e fonte Playfair Display */
  color: var(--pink);
  font-family: var(--font-title);
}

h1 {
  font-size: 2.8rem;
  /* OLD: color: #111827; (removido, pois a regra geral para h1, h2, h3 cobre isso) */
}

h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  /* OLD: color: #1f2937; (removido, pois a regra geral para h1, h2, h3 cobre isso) */
}

/* --- HERO --- */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.title-icon {
  font-size: 2.2rem;
  color: var(--gold); /* NEW: Ícone em dourado */
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--white); /* NEW: Texto em branco */
  max-width: 600px;
  margin: 20px auto 30px;
}

.verified-section {
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.verified-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  color: var(--white); /* NEW: Texto em branco */
}

.verified-item i {
  color: var(--gold); /* NEW: Ícone em dourado */
  font-size: 1.2rem;
}

/* --- BOTÕES --- */
.cta-button {
  display: inline-block;
  background-color: var(--gold); /* NEW: Cor dourada para o CTA */
  color: var(--deep-purple); /* NEW: Texto em roxo escuro */
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(201, 169, 89, 0.3); /* NEW: Sombra com cor dourada */
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 169, 89, 0.4); /* NEW: Sombra mais intensa no hover */
}

.secondary-button {
  display: inline-block;
  color: var(--gold); /* NEW: Cor dourada para o botão secundário */
  text-decoration: none;
  font-weight: 600;
}

.secondary-button:hover i {
  transform: translateX(5px);
}

.secondary-button i {
  transition: transform 0.3s ease;
}


/* ========================================================== */
/*     REGRAS DE VÍDEO COM ANIMAÇÃO E ALINHAMENTO CORRIGIDOS    */
/* ========================================================== */

.video-section .container {
  text-align: center;
}

.video-wrapper {
  position: relative;
  margin: 0 auto 20px;
  cursor: pointer;
  
  /* ESTADO INICIAL: Proporção 16:9 para um visual mais natural */
  width: 250px;
  height: 141px; /* 250 / 16 * 9 */

  max-width: 90%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* NEW: Sombra mais escura */
  background-color: rgba(255, 255, 255, 0.1); /* NEW: Fundo transparente claro */
  transition: width 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
    height 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
    max-width 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.video-placeholder i {
  font-size: 4rem;
  color: var(--gold); /* NEW: Ícone de play em dourado */
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.video-placeholder span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white); /* NEW: Texto em branco */
}

.video-wrapper:hover .video-placeholder i {
  transform: scale(1.1);
}

.video-section.video-active .video-placeholder {
  opacity: 0;
  pointer-events: none;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease 0.4s;
}

.video-section.video-active .video-container {
  opacity: 1;
}

.video-container video {
  width: 100%;
  height: 100%;
  /* IMPORTANTE: 'cover' preenche o container na página (sem bordas) */
  object-fit: cover;
  background-color: #000;
}

.video-section .secondary-button {
  display: inline-block;
  margin-top: 10px;
}


/* ========================================================== */
/*      ESTILOS PARA O SPINNER DE CARREGAMENTO DO VÍDEO       */
/* ========================================================== */

.video-placeholder .spinner {
  display: none;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(201, 169, 89, 0.2); /* NEW: Borda do spinner em dourado transparente */
  border-top-color: var(--gold); /* NEW: Topo do spinner em dourado */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.video-wrapper.loading .video-placeholder .fa-play-circle {
  display: none;
}
.video-wrapper.loading .video-placeholder .spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* --- SEÇÃO FEATURES --- */
.features-section {
  background-color: var(--dark-container); /* NEW: Fundo da seção em roxo escuro/transparente */
}

.features-section .container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 20px;
  flex: 1;
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--gold); /* NEW: Ícone em dourado */
  margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--pink); /* NEW: Títulos dos cards em rosa claro */
}

.feature-card p {
    color: var(--white); /* NEW: Texto dos cards em branco */
}

/* --- BARRA DE CONFIANÇA --- */
.trust-bar {
  background-color: rgba(0, 0, 0, 0.4); /* NEW: Fundo da barra em preto transparente */
  padding: 20px 0;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white); /* NEW: Texto em branco */
  font-weight: 600;
  gap: 30px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.trust-item i {
  color: var(--gold); /* NEW: Ícone em dourado */
}

/* --- DEPOIMENTOS WHATSAPP --- */
.testimonials-section .container {
  max-width: 500px;
}

.whatsapp-chat {
  background-color: rgba(0, 0, 0, 0.4); /* NEW: Fundo do chat em preto transparente */
  background-image: none; /* NEW: Remover a imagem de fundo do WhatsApp */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* NEW: Sombra mais escura */
}

.message {
  background-color: rgba(255, 255, 255, 0.1); /* NEW: Mensagens mais transparentes */
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 80%;
  position: relative;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  color: var(--white); /* NEW: Cor do texto da mensagem em branco */
}

.message.received {
  border-top-left-radius: 0;
}

.message .name {
  font-weight: bold;
  color: var(--pink); /* NEW: Nome do remetente em rosa claro */
  display: block;
  margin-bottom: 5px;
}

.message .time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7); /* NEW: Horário em cinza claro */
  position: absolute;
  bottom: 5px;
  right: 10px;
}

/* --- COMO FUNCIONA (TIMELINE) --- */
.how-it-works-section {
  background-color: var(--dark-container); /* NEW: Fundo da seção em roxo escuro/transparente */
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2); /* NEW: Linha do tempo em branco transparente */
  z-index: 0;
}

.timeline-step {
  text-align: center;
  width: 22%;
  position: relative;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--deep-purple); /* NEW: Fundo do círculo em roxo escuro */
  border: 2px solid var(--gold); /* NEW: Borda em dourado */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  z-index: 1;
  position: relative;
  box-shadow: 0 0 0 4px var(--dark-container); /* NEW: Sombra para dar profundidade */
}

.icon-circle i {
  font-size: 1.8rem;
  color: var(--gold); /* NEW: Ícone em dourado */
}

/* --- CTA FINAL --- */
.final-cta-section .container {
  text-align: center;
  max-width: 600px;
}

.gift-icon i {
  font-size: 3rem;
  color: var(--gold); /* NEW: Ícone de presente em dourado */
  margin-bottom: 20px;
}

.final-cta-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--white); /* NEW: Texto em branco */
}

.final-guarantees {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--white); /* NEW: Texto em branco */
}

.final-guarantees span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- SEÇÃO DE AVALIAÇÃO --- */
footer {
  background-color: var(--dark-container); /* NEW: Fundo do rodapé em roxo escuro/transparente */
}

.review-section {
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* NEW: Borda em branco transparente */
}

.review-box {
  max-width: 550px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6); /* NEW: Fundo da caixa de avaliação mais escuro/transparente */
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 25px var(--glow-color); /* NEW: Sombra mais escura e glow */
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-content {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.review-box.submitted .review-content {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.review-box h2 {
  margin-bottom: 10px;
  color: var(--pink); /* NEW: Título da avaliação em rosa claro */
}

.review-box p {
  color: var(--white); /* NEW: Texto da avaliação em branco */
  margin-bottom: 25px;
}

.star-rating {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.star-rating i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.3); /* NEW: Estrelas não selecionadas mais claras no fundo escuro */
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating i:hover {
  transform: scale(1.15);
}

.star-rating:hover i {
  color: var(--star-color); /* NEW: Efeito hover em amarelo/dourado */
}

.star-rating i.fas {
  color: var(--star-color); /* Estrelas selecionadas em amarelo (mantido) */
}

.star-rating:hover i:hover~i {
  color: rgba(255, 255, 255, 0.3); /* NEW: Estrelas após o hover voltam à cor clara */
}

#review-opinion {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2); /* NEW: Borda em branco transparente */
  border-radius: 10px;
  padding: 12px;
  font-family: var(--font-body); /* NEW: Usar --font-body */
  font-size: 1rem;
  margin-bottom: 25px;
  resize: vertical;
  background-color: rgba(0, 0, 0, 0.3); /* NEW: Fundo do textarea em preto transparente */
  color: var(--white); /* NEW: Texto do textarea em branco */
}

#review-opinion:focus {
  outline: none;
  border-color: var(--gold); /* NEW: Borda em dourado no foco */
  box-shadow: 0 0 0 3px rgba(201, 169, 89, 0.2); /* NEW: Sombra em dourado no foco */
}

#submit-review-btn {
    background-color: var(--gold); /* NEW: Botão de avaliação em dourado */
    color: var(--deep-purple); /* NEW: Texto em roxo escuro */
}

.success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
  pointer-events: none;
}

.review-box.submitted .success-message {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--gold); /* NEW: Ícone de sucesso em dourado */
  color: var(--deep-purple); /* NEW: Cor do ícone em roxo escuro */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 1.8rem;
  color: var(--pink); /* NEW: Título de sucesso em rosa claro */
}

.success-message p {
  color: var(--white); /* NEW: Texto de sucesso em branco */
}

/* --- RODAPÉ FINAL --- */
.footer-bottom {
  padding: 25px;
  text-align: center;
  color: var(--white); /* NEW: Texto do rodapé em branco */
  font-size: 0.9rem;
}

/* --- WHATSAPP E NOTIFICAÇÕES --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366; /* Mantido o verde padrão do WhatsApp */
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 100;
  transition: all 0.4s ease;
  overflow: hidden;
}

.whatsapp-float i.fab.fa-whatsapp {
  font-size: 2.2rem;
  transition: all 0.2s ease;
}

.whatsapp-float-text {
  white-space: nowrap;
  font-weight: 600;
  opacity: 0;
  width: 0;
  margin-left: 0;
  transition: opacity 0.2s ease, width 0.3s ease, margin-left 0.3s ease;
}

.whatsapp-float:hover {
  width: 210px;
  justify-content: flex-start;
  padding: 0 18px;
}

.whatsapp-float:hover .whatsapp-float-text {
  opacity: 1;
  width: auto;
  margin-left: 12px;
}

#notification-container-landing {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification-landing {
  background-color: var(--gold); /* NEW: Notificações em dourado */
  color: var(--deep-purple); /* NEW: Texto da notificação em roxo escuro */
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  animation: slideInLanding 0.5s forwards, fadeOutLanding 0.5s 4.5s forwards;
}

@keyframes slideInLanding {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOutLanding {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .verified-item {
    font-size: 0.9rem;
    justify-content: center; /* NEW: Centralizar em mobile para melhor visual */
  }

  .verified-item i {
    color: var(--gold); /* NEW: Garantir que o ícone mantenha a cor dourada em mobile */
  }

  .features-section .container,
  .timeline {
    flex-direction: column;
  }

  .features-section .container {
    gap: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-step {
    width: 100%;
    margin-bottom: 30px;
  }

  .timeline-step:last-child {
    margin-bottom: 0;
  }

  .icon-circle {
    box-shadow: 0 0 0 4px var(--dark-container); /* NEW: Ajustar sombra para mobile */
  }

  .trust-bar .container {
    flex-wrap: wrap;
    gap: 20px;
  }

  .final-guarantees {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .review-box {
    padding: 30px 20px;
  }

  .verified-section {
    align-items: center;
  }

  .verified-item {
    /* OLD: justify-content: flex-start; */
    width: 100%;
    max-width: 350px;
  }
}