/* Reset e configurações globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores da página de vendas */
  --cor-texto: #483747;
  --cor-titulo-botao: #006F73;
  --fundo-1: #EFE5EC;
  --fundo-2: #FFF3E8;
  --cor-borda: #d4c4d0;
  --cor-hover: #005a5e;
}

body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(to bottom, var(--fundo-1), var(--fundo-2));
  color: var(--cor-texto);
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  color: var(--cor-texto);
}

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

/* Card principal */
.card {
  background: var(--fundo-2);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(72, 55, 71, 0.1);
  margin-bottom: 20px;
}

/* Página inicial */
.intro-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.intro-card {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.intro-card h1 {
  font-size: 3rem;
  font-weight: bold;
  color: var(--cor-titulo-botao);
  margin-bottom: 20px;
}

.intro-card h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

.intro-card .subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cor-titulo-botao);
  margin-bottom: 30px;
}

/* Grid de imagens de bebês */
.baby-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
}

.baby-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* Botões */
.btn {
  background: var(--cor-titulo-botao);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 111, 115, 0.3);
  display: inline-block;
  text-decoration: none;
  text-align: center;
  width: auto;
  margin: 0 auto;
}

.btn:hover {
  background: var(--cor-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 111, 115, 0.4);
}

.btn-container {
  text-align: center;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.btn-small-text {
  font-size: 0.9rem;
  color: var(--cor-texto);
  opacity: 0.7;
  text-align: center;
  margin: 0;
}

/* Barra de progresso */
.progress-container {
  margin-bottom: 30px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--fundo-1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--cor-titulo-botao);
  transition: width 0.3s ease;
  border-radius: 10px;
}

/* Perguntas do quiz */
.question-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--cor-texto);
}

.options-grid {
  display: grid;
  gap: 15px;
}

.option-btn {
  background: white;
  border: 2px solid var(--cor-borda);
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.option-btn:hover {
  border-color: var(--cor-titulo-botao);
  background: rgba(0, 111, 115, 0.05);
  transform: translateX(5px);
}

.option-emoji {
  font-size: 2rem;
  flex-shrink: 0;
}

/* Loading */
.loading-container {
  text-align: center;
  padding: 60px 20px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--fundo-1);
  border-top: 4px solid var(--cor-titulo-botao);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 30px;
}

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

.loading-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--cor-titulo-botao);
}

/* Análise de resultados */
.result-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: var(--cor-titulo-botao);
  margin-bottom: 30px;
}

.autonomy-chart {
  margin: 40px 0;
}

.chart-title {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.chart-bar-container {
  background: white;
  border-radius: 12px;
  padding: 30px;
  position: relative;
}

.chart-bar {
  width: 100%;
  height: 40px;
  background: linear-gradient(to right, #ff6b6b, #ffd93d, #6bcf7f);
  border-radius: 20px;
  position: relative;
  margin: 20px 0;
}

.chart-marker {
  position: absolute;
  top: -10px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-arrow {
  font-size: 2rem;
  color: var(--cor-titulo-botao);
}

.marker-text {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--cor-titulo-botao);
  margin-top: 5px;
  white-space: nowrap;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-top: 10px;
}

/* Cards de análise */
.analysis-grid {
  display: grid;
  gap: 15px;
  margin: 30px 0;
}

.analysis-card {
  background: white;
  border: 1px solid var(--cor-borda);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
}

.analysis-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.analysis-content h4 {
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--cor-texto);
}

.analysis-content p {
  font-size: 0.95rem;
  color: var(--cor-texto);
  opacity: 0.8;
}

/* Seção Quem Ajuda */
.specialist-section {
  background: rgba(0, 111, 115, 0.05);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}

.specialist-image {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  border: 4px solid var(--cor-titulo-botao);
  box-shadow: 0 8px 20px rgba(0, 111, 115, 0.2);
  margin: 0 auto 20px;
  display: block;
}

.specialist-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--cor-titulo-botao);
  margin-bottom: 10px;
}

.specialist-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.specialist-subtitle {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.8;
}

/* Depoimentos */
.testimonial-container {
  position: relative;
  margin: 30px 0;
}

.testimonial-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(72, 55, 71, 0.15);
}

.testimonial-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.testimonial-btn {
  background: white;
  border: 2px solid var(--cor-titulo-botao);
  color: var(--cor-titulo-botao);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-btn:hover:not(:disabled) {
  background: var(--cor-titulo-botao);
  color: white;
}

.testimonial-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cor-borda);
  transition: all 0.3s ease;
}

.dot.active {
  width: 30px;
  border-radius: 5px;
  background: var(--cor-titulo-botao);
}

/* VSL */
.vsl-container {
  margin: 30px 0;
}

.vsl-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: var(--cor-titulo-botao);
  margin-bottom: 25px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(72, 55, 71, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: var(--fundo-2);
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px;
  border-top: 2px solid var(--cor-borda);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--cor-titulo-botao);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Páginas legais */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-page h1 {
  font-size: 2.5rem;
  color: var(--cor-titulo-botao);
  margin-bottom: 30px;
  text-align: center;
}

.legal-page h2 {
  font-size: 1.8rem;
  color: var(--cor-titulo-botao);
  margin: 30px 0 15px;
}

.legal-page p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-page ul {
  margin: 15px 0 15px 30px;
}

.legal-page li {
  margin-bottom: 10px;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--cor-titulo-botao);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.back-link:hover {
  opacity: 0.7;
}

/* Responsividade */
@media (max-width: 768px) {
  .intro-card h1 {
    font-size: 2rem;
  }
  
  .intro-card h2 {
    font-size: 1.3rem;
  }
  
  .intro-card .subtitle {
    font-size: 1rem;
  }
  
  .baby-images {
    gap: 8px;
  }
  
  .baby-images img {
    height: 180px;
  }
  
  .card {
    padding: 25px 20px;
  }
  
  .question-title {
    font-size: 1.4rem;
  }
  
  .option-btn {
    padding: 15px;
    font-size: 1rem;
  }
  
  .result-title, .vsl-title {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 16px 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
  }
  
  .btn-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .specialist-image {
    max-width: 100%;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .intro-card h1 {
    font-size: 1.6rem;
  }
  
  .intro-card h2 {
    font-size: 1.1rem;
  }
  
  .baby-images img {
    height: 140px;
  }
  
  .option-emoji {
    font-size: 1.5rem;
  }
}

/* Garantir que elementos ocultos não apareçam */
.hidden {
  display: none !important;
}
