/* --- FONTES E DESIGN SYSTEM --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f6f3;
  color: #3a3a3a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Classe para esconder elementos visualmente, mas mantê-los para SEO e leitores de tela */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#doce-lucro-container {
  --primary: hsl(345, 45%, 55%);
  --text-primary: #3a3a3a;
  --text-secondary: #7a7a7a;
  --card: #ffffff;
  --secondary: hsl(30, 8%, 92%);
  --border: #eaeaea;
  --strawberry: hsl(355, 45%, 55%);
  --gradient-strawberry: linear-gradient(135deg, hsl(355, 45%, 58%), hsl(355, 35%, 45%));
  --gradient-gold: linear-gradient(135deg, hsl(45, 90%, 55%), hsl(38, 95%, 50%));
  --shadow-elegant: 0 10px 25px -5px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}
#doce-lucro-container * { box-sizing: border-box; }

/* --- ELEMENTOS FLUTUANTES (POSIÇÕES CORRIGIDAS) --- */
.floating-strawberry {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.floating-strawberry.visible {
  display: block;
  opacity: 1;
  animation: float-and-rotate 15s infinite ease-in-out, strawberry-glow 2.5s infinite ease-in-out;
}
#floating-strawberry-1 { width: 160px; bottom: 10vh; right: -50px; transform: rotate(25deg); animation-delay: -10s; }
#floating-strawberry-2 { width: 220px; top: 8vh; right: -80px; transform: rotate(15deg); animation-delay: -5s; }
#floating-strawberry-3 { width: 250px; top: 30vh; left: -90px; transform: rotate(-15deg); }


/* --- LAYOUT E TELAS --- */
.dl-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem; position: relative; z-index: 2;
}
.dl-content {
  width: 100%; max-width: 48rem; margin: auto; text-align: center;
  display: flex; flex-direction: column; gap: 1.5rem;
}

/* O resto do código permanece o mesmo */
.dl-h1, .dl-h2 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.25; color: var(--text-primary); }
.dl-h1 { font-size: 2.25rem; }
.dl-h2 { font-size: 1.75rem; }
.dl-p { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); max-width: 40rem; margin: 0 auto 1.5rem auto; }
.text-strawberry { color: var(--strawberry); }
.hero-image { width: 100%; max-width: 10rem; margin: auto auto 1rem auto; animation: hero-strawberry-pulse-swing 3s infinite ease-in-out; }
/* --- [NOVO] Vídeo de Preview --- */
/* --- [NOVO] Estilos do Container de Vídeo e Botão de Play --- */
.dl-video-container {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto 1.5rem auto;
  cursor: pointer;
}

.dl-video-preview {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-elegant);
  display: block;
}

.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  transition: background-color 0.3s ease;
}

.dl-video-container:hover .play-button-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.play-icon {
  font-size: 2rem;
  color: white;
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.dl-video-container:hover .play-icon {
  transform: scale(1.1);
}
.dl-icon { font-size: 3rem; margin-bottom: -1rem; }
.dl-btn { display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: all 0.2s ease-out; }
.dl-btn:hover { transform: translateY(-3px); }
.dl-btn:active { transform: translateY(0); }
.dl-btn-full { width: auto; max-width: 28rem; margin: auto; height: 3.5rem; font-size: 1rem; padding: 0 2.5rem; border-radius: 12px; }
.dl-btn-cta { background: linear-gradient(145deg, hsl(355, 45%, 58%), hsl(355, 45%, 50%)); color: white; font-weight: 700; box-shadow: 0 0 25px -5px hsla(355, 45%, 55%, 0.6); }
.dl-btn-cta:hover { box-shadow: 0 8px 30px -8px hsla(355, 45%, 55%, 1); }
.choices-wrapper { display: flex; flex-direction: column; gap: 1rem; max-width: 32rem; width: 100%; margin: 1rem auto 0 auto; }
.dl-btn-choice { background-color: var(--card); border: 1px solid var(--border); color: var(--text-primary); text-align: left; padding: 1rem 1.5rem; border-radius: 12px; width: 100%; height: auto; box-shadow: var(--shadow-elegant); }
.dl-btn-choice:hover { border-color: var(--primary); background-color: #fff8f8; }
.choice-content { display: flex; align-items: center; gap: 1rem; width: 100%; }
.choice-icon { font-size: 1.5rem; line-height: 1; }
.choice-title { font-weight: 600; font-size: 1rem; color: var(--text-primary); }
.choice-subtitle { font-size: 0.875rem; color: var(--text-secondary); font-weight: 400; line-height: 1.3; }
#progress-wrapper { width: 100%; max-width: 28rem; margin: 1rem auto 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.progress-bar-outer { position: relative; height: 0.75rem; background-color: #eaeaea; border-radius: 999px; overflow: hidden; }
.progress-bar-inner { position: absolute; left: 0; top: 0; height: 100%; background-image: var(--gradient-strawberry); border-radius: 999px; transition: width 0.3s ease-out; }
.progress-text-wrapper { text-align: center; }
.progress-text-label { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.progress-text-percent { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-top: 0.25rem; }
#tela4 .dl-content { gap: 1rem; }
#tela4 .dl-p { margin-bottom: 0.5rem; }
.dl-card { background-color: var(--card); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-elegant); text-align: left; border: 1px solid var(--border); }
.dl-card-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; text-align: center; }
.dl-features { display: flex; flex-direction: column; gap: 1rem; }
.feature-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.feature-item span:first-child { color: #22c55e; margin-top: 4px; }
.pricing-section { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.price-original { text-decoration: line-through; color: var(--text-secondary); }
.price-final { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; color: var(--primary); line-height: 1; margin-top: -0.5rem; margin-bottom: 1rem; }
.price-subtext { font-size: 0.875rem; color: var(--text-secondary); }
/* --- [NOVO] Contador de Escassez --- */
.dl-countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: hsla(0, 0%, 0%, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.24rem 1rem;
  max-width: 20rem;
  margin: 1rem auto;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.countdown-digits {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  background-color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.scarcity-box { border: 2px dashed var(--primary); background-color: hsla(355, 75%, 95%, 1); border-radius: 0.5rem; padding: 1rem; margin: 1rem auto; max-width: 32rem; color: var(--primary); }

.dl-btn-premium { background-image: var(--gradient-gold); color: var(--text-primary); font-weight: 700; box-shadow: 0 0 25px -5px hsla(45, 90%, 55%, 0.6); }
.scarcity-box { border: 2px dashed var(--primary); background-color: hsla(355, 75%, 95%, 1); border-radius: 0.5rem; padding: 1rem; margin: 2rem auto 0.5rem auto; max-width: 32rem; color: var(--primary); }
.dl-btn-premium { background-image: var(--gradient-gold); color: var(--text-primary); font-weight: 700; box-shadow: 0 0 25px -5px hsla(45, 90%, 55%, 0.6); }
.dl-btn-premium:hover { box-shadow: 0 8px 30px -8px hsla(45, 90%, 55%, 1); }
.message-box { background-color: white; border-radius: 0.75rem; padding: 2rem; max-width: 24rem; margin: 1rem; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.3); animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); text-align: center; }
.message-icon { font-size: 2rem; }
.message-text { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin: 1rem 0; }
.message-spinner { margin: auto; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid #eee; border-top-color: var(--primary); animation: spin 1s linear infinite; }
#animated-message-popup { position: fixed; inset: 0; background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce-in { 0% { opacity: 0; transform: scale(0.5); } 50% { transform: scale(1.05); } 70% { transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }
.dl-btn-cta, .dl-btn-premium { animation: pulse-animation 2.5s infinite ease-in-out; }
@keyframes pulse-animation { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes float-and-rotate { 0% { transform: translateY(0) rotate(-10deg) scale(1); } 50% { transform: translateY(-30px) rotate(10deg) scale(1.05); } 100% { transform: translateY(0) rotate(-10deg) scale(1); } }
@keyframes strawberry-glow { 0% { filter: drop-shadow(0 0 15px hsla(355, 90%, 60%, 0)); } 50% { filter: drop-shadow(0 0 35px hsla(355, 90%, 60%, 0.7)); } 100% { filter: drop-shadow(0 0 15px hsla(355, 90%, 60%, 0)); } }
@keyframes hero-strawberry-pulse-swing { 0% { transform: scale(1) rotate(15deg); } 50% { transform: scale(1.05) rotate(12deg); } 100% { transform: scale(1) rotate(15deg); } }

/* --- RESPONSIVIDADE --- */
@media (min-width: 768px) {
  .choices-wrapper { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .dl-btn-full { width: auto; }
  .dl-h1 { font-size: 3.25rem; }
  .dl-h2 { font-size: 2.5rem; }
  .dl-p { font-size: 1.125rem; }
}
/*
=====================================================
--- [NOVO] MELHORIAS PARA A VERSÃO DE CELULAR ---
=====================================================
*/

/* Aplica as regras apenas em telas com largura máxima de 767px (celulares) */
@media (max-width: 767px) {
  
  /* 1. Garante que o conteúdo principal fique na camada mais alta (na frente de tudo) */
  .dl-screen {
    z-index: 3;
  }

  /* 2. Adiciona a camada de "névoa" semi-transparente sobre os morangos */
  #doce-lucro-container::before {
    content: '';
    position: fixed;
    /* Cobre a tela inteira */
    inset: 0; 
    /* Cor de fundo do site com 85% de opacidade */
    background-color: rgba(249, 246, 243, 0.85);
    /* Fica entre os morangos e o conteúdo de texto */
    z-index: 2;
    /* Garante que não seja possível clicar nela */
    pointer-events: none;
  }

}