/* ============================================
   LIVRO CURA — Landing Page
   Marca: Virna Paulino — Chef da Cura
   Paleta: branco puro + amarelo (destaque) + verde (CTA).
   Mobile-first.
   ============================================ */

:root {
  /* Paleta Virna — branco + amarelo dominante */
  --yellow:        #F2C94C;   /* amarelo central — destaque principal */
  --yellow-soft:   #FFF5CC;   /* amarelo muito claro — fundos suaves opcionais */
  --yellow-deep:   #C99400;   /* amarelo escuro/mostarda — texto-acento legível em branco */
  --green:         #7CB342;   /* verde natural — CTA */
  --green-deep:    #558B2F;   /* verde escuro — sombra/hover do CTA */
  --white:         #FFFFFF;   /* fundo principal */
  --text:          #2B2B2B;   /* texto principal — charcoal */
  --text-soft:     #6A6A6A;   /* texto secundário */
  --line:          #ECECEC;   /* linha divisória neutra */
  --shadow:        0 4px 16px rgba(0,0,0,0.05);
  --shadow-strong: 0 12px 32px rgba(242,201,76,0.28);
  --max-width:     720px;
  --radius:        12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--white);
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* faixas X usam 115vw — clip pra não criar scroll horizontal */
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; }

.accent     { color: var(--yellow-deep); font-weight: 700; }
.underline  {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

/* --- TARJA DE DATA NO TOPO (amarela, suave) --- */
.tarja-data {
  background: var(--yellow);
  color: var(--text);
  text-align: center;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* --- SEÇÕES (todas brancas; rítmo via cards e bordas) --- */
.sec {
  padding: 36px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--white);
}

/* aliases — todos viram branco no novo design */
.sec-light, .sec-cream { background: var(--white); }

/* --- HERO --- */
.sec-hero {
  text-align: center;
  padding-top: 36px;
  padding-bottom: 20px;
}

.logo {
  width: 60%;
  max-width: 280px;
  margin: 0 auto 20px;
}

.hero-img {
  width: 90%;
  max-width: 480px;
  margin: 20px auto;
}

.lead {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--text);
}

.copy {
  font-size: 16px;
  line-height: 1.65;
  margin: 14px 0;
  text-align: center;
  color: var(--text);
}

.copy.bigger { font-size: 20px; font-weight: 600; }
.copy.small  { font-size: 14px; color: var(--text-soft); }

/* --- FAIXAS DESLIZANTES (diagonais cruzadas em X) ---
   Duas faixas amarelas tiltadas em direções opostas, que se cruzam
   por causa da margem negativa. Texto rola em direções opostas. */
.sec.faixa-yellow,
.sec.faixa-green {
  position: relative;
  width: 115vw;
  max-width: 115vw;
  margin-left: -7.5vw;
  padding: 14px 0;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* Faixa 1 — atrás, vibrante, inclinada para cima/esquerda */
.sec.faixa-yellow {
  background: var(--yellow);
  color: var(--text);
  transform: rotate(-6deg);
  margin-top: 24px;
  margin-bottom: -26px;   /* puxa a próxima pra cima → cria o X */
  z-index: 2;
}

/* Faixa 2 — na frente, mais clara, inclinada para baixo/direita */
.sec.faixa-green {
  background: var(--yellow-soft);
  color: var(--yellow-deep);
  border-top: 1px solid var(--yellow);
  border-bottom: 1px solid var(--yellow);
  transform: rotate(6deg);
  margin-top: 0;
  margin-bottom: 36px;
  z-index: 1;
}

.faixa-track {
  display: flex;
  width: max-content;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  animation: slide 22s linear infinite;
  will-change: transform;
}

/* sem padding-right entre os spans — qualquer espaço extra causa "gap" no loop */
.faixa-track span { display: inline-block; padding: 0; }

.faixa-yellow .faixa-track { animation-direction: normal; }   /* texto desliza ←  */
.faixa-green  .faixa-track { animation-direction: reverse; }  /* texto desliza  → */

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

/* --- TÍTULOS --- */
.titulo-destaque {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin: 18px 0 24px;
  line-height: 1.25;
  color: var(--text);
}

.seta-down {
  display: block;
  text-align: center;
  font-size: 24px;
  color: var(--yellow-deep);
  margin: 10px auto;
}

/* --- BULLETS (dores) --- */
.bullets p {
  background: var(--white);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  margin: 10px 0;
  font-size: 15px;
  box-shadow: var(--shadow);
}

.imagem-full {
  width: 100%;
  margin: 16px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.autora-img {
  width: 60%;
  max-width: 240px;
  margin: 16px auto;
  border-radius: 50%;
  box-shadow: var(--shadow-strong);
  border: 4px solid var(--yellow);
}

/* --- GRID DE FEATURES --- */
.grid-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.feature {
  background: var(--white);
  padding: 22px 18px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
}

.feature i {
  font-size: 28px;
  color: var(--yellow-deep);
  margin-bottom: 8px;
  display: block;
}

.feature h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 6px 0 8px;
  color: var(--text);
}

.feature p {
  font-size: 14px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

/* --- CAROUSEL ---
   Os depoimentos são prints de celular (vertical, fundo escuro).
   Fundo do carrossel é dark para harmonizar com os screenshots e
   eliminar bordas brancas na letterbox. */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #1a1a1a;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  align-items: center;
}

.carousel-track img {
  min-width: 100%;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  margin: 0 auto;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background .2s;
}

.carousel-dots span.active { background: var(--yellow-deep); }

/* --- RESULTADO CLÍNICO (exame antes/depois) --- */
/* 3 cards lado a lado em todos os tamanhos — compactos no mobile */
.resultados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.resultado-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 12px 6px;
  text-align: center;
  box-shadow: var(--shadow);
}

.resultado-card.destaque {
  border-top-color: var(--yellow-deep);
  background: #FFFCF0;
}

.resultado-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 8px;
  line-height: 1.2;
}

.resultado-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 6px 0 4px;
}

.resultado-numbers .antes {
  font-size: 18px;
  color: #B0382F;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.85;
}

.resultado-numbers .antes.baixo { color: #B0382F; }

.resultado-numbers .depois {
  font-size: 22px;
  color: var(--green-deep);
}

.resultado-numbers .depois.subiu { color: var(--green-deep); }

.resultado-seta {
  font-size: 12px;
  color: var(--yellow-deep);
}

.resultado-unit {
  font-size: 10px;
  color: var(--text-soft);
  margin: 4px 0 0;
  letter-spacing: 0.4px;
}

.exame-img {
  width: 100%;
  max-width: 520px;
  margin: 24px auto 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* desktop — cards maiores, mais respiráveis */
@media (min-width: 768px) {
  .resultados-grid { gap: 14px; margin: 24px 0; }
  .resultado-card { padding: 18px 16px; }
  .resultado-label { font-size: 13px; letter-spacing: 0.5px; }
  .resultado-numbers { gap: 14px; margin: 8px 0 4px; }
  .resultado-numbers .antes { font-size: 32px; }
  .resultado-numbers .depois { font-size: 38px; }
  .resultado-seta { font-size: 18px; }
  .resultado-unit { font-size: 12px; letter-spacing: 0.5px; }
}

/* --- LABELS DE BÔNUS / OPÇÕES --- */
.bonus-label, .opcao-label {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text);
}

.badge-melhor {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

/* --- CARDS --- */
.card-light {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  margin: 8px 0 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.25;
}

.card-oferta .logo-card {
  width: 55%;
  max-width: 240px;
  margin: 0 auto 16px;
  border-radius: 8px;
}

.card-oferta.destaque {
  border: 2px solid var(--yellow);
  box-shadow: var(--shadow-strong);
}

/* --- ICON LIST --- */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.icon-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px dashed var(--line);
}

.icon-list li:last-child { border-bottom: none; }

.icon-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--green);
  font-weight: 900;
}

.icon-list.bonus li::before {
  content: "★";
  color: var(--yellow-deep);
}

/* --- PREÇO & CTA --- */
.preco-de {
  text-align: center;
  font-size: 16px;
  margin: 20px 0 4px;
  color: var(--text-soft);
}

.riscado {
  text-decoration: line-through;
  color: #BBB;
}

.preco-por {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  margin: 4px 0 4px;
  color: var(--text);
  font-family: 'Playfair Display', serif;
}

.preco-parc {
  text-align: center;
  font-size: 14px;
  margin: 0 0 20px;
  color: var(--text-soft);
}

.btn-cta {
  display: block;
  text-align: center;
  background: var(--green);
  color: var(--white) !important;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 0 var(--green-deep), var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: pulse 2.4s ease-in-out infinite;
  margin-top: 10px;
}

.btn-cta:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--green-deep);
}

/* botão amarelo (FAQ / secundário) */
.btn-cta.verde {
  background: var(--yellow);
  color: var(--text) !important;
  box-shadow: 0 6px 0 var(--yellow-deep), var(--shadow);
  animation: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}

/* --- GARANTIA --- */
.garantia-box {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 2px dashed var(--yellow);
  box-shadow: var(--shadow);
}

.garantia-icon {
  font-size: 48px;
  color: var(--yellow-deep);
  margin-bottom: 8px;
}

.garantia-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0;
}

/* --- FAQ --- */
.faq-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
}

.accordion details {
  background: var(--white);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 10px 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.accordion summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 24px;
  color: var(--text);
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow-deep);
  font-size: 24px;
  line-height: 1;
}

.accordion details[open] summary::after { content: "−"; }

.accordion p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* --- DIVIDER --- */
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

/* --- RODAPÉ --- */
.rodape {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-soft);
  font-size: 13px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.rodape-disclaimer {
  font-size: 11px;
  color: #999;
  font-style: italic;
  max-width: 480px;
  margin: 12px auto;
}

.top-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--yellow-deep);
  text-decoration: none;
  font-weight: 700;
}

/* --- DESKTOP --- */
@media (min-width: 768px) {
  .lead { font-size: 32px; }
  .titulo-destaque { font-size: 32px; }
  .card-title { font-size: 26px; }
  .preco-por { font-size: 60px; }
  .grid-features { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 26px 22px; }
  .lead, .copy { max-width: 580px; margin-left: auto; margin-right: auto; }
}
