/* ============================================================
   Trilha Emagrecimento — Estilos Customizados
   Projeto: Chape a Barriga com Jejum — Dr. Fabio Rodrigues
   ============================================================ */

/* ============================================================
   TIPOGRAFIA GLOBAL
   ============================================================ */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ============================================================
   SEÇÕES — BACKGROUNDS COM TEXTURA SUTIL
   ============================================================ */
.sec-white {
  background: #ffffff;
}

.sec-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.sec-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(148,163,184,0.15) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.sec-dark {
  background: #0f172a;
}

.sec-dark-mid {
  background: linear-gradient(135deg, #0a192f 0%, #0d2a4a 50%, #013d7e 100%);
  position: relative;
  overflow: hidden;
}

.sec-dark-mid::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   NARRATIVA — SEÇÕES DE TEXTO STORYTELLING
   ============================================================ */
.narrativa-wrapper {
  position: relative;
}

.narrativa p {
  margin-bottom: 1.2rem;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.85;
}

.narrativa .linha-curta {
  font-size: 1.05rem;
  color: #475569;
  line-height: 2;
  margin-bottom: 0;
}

/* Barra lateral esquerda nas listas de linha curta */
.lista-curta {
  padding-left: 1.25rem;
  border-left: 3px solid #e2e8f0;
  margin: 1.2rem 0 1.5rem;
}

.lista-curta p {
  margin-bottom: 0 !important;
  line-height: 2.1 !important;
}

/* Número grande decorativo */
.numero-destaque {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  color: #e2e8f0;
  position: absolute;
  top: -1rem;
  left: -1.5rem;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

/* ============================================================
   QUOTE DESTAQUE
   ============================================================ */
.quote-destaque {
  border-left: 4px solid #3b82f6;
  padding: 18px 24px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 0 16px 16px 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: #1e3a8a;
  line-height: 1.7;
  position: relative;
}

.quote-destaque::before {
  content: '\201C';
  font-size: 3rem;
  color: #bfdbfe;
  position: absolute;
  top: -8px;
  left: 16px;
  line-height: 1;
  font-family: Georgia, serif;
}

/* ============================================================
   SEÇÃO "FECHE A COZINHA" — DARK COM EFEITO
   ============================================================ */
.feche-bg {
  background: #0a192f;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.feche-bg::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle at center, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.feche-lista p {
  margin-bottom: 0 !important;
  line-height: 2.1 !important;
  color: #94a3b8 !important;
}

/* ============================================================
   ETAPAS DO MÉTODO
   ============================================================ */
.etapa-numero {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.35);
  color: #60a5fa;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.etapa-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 24px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.etapa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.etapa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(59,130,246,0.12);
  border-color: #bfdbfe;
}

.etapa-card:hover::before {
  opacity: 1;
}

/* ============================================================
   BADGE PRIMEIRO MARCO
   ============================================================ */
.badge-marco {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(251,191,36,0.08));
  border: 1px solid rgba(245,158,11,0.4);
  color: #d97706;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   CARDS DE CHECKLIST (Para quem é / Primeiros 7 dias)
   ============================================================ */
.check-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.check-card:hover {
  background: #f0f7ff;
  border-color: #bfdbfe;
  transform: translateX(4px);
}

.check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ============================================================
   CAIXA DE PREÇO (secção "Ao entrar hoje")
   ============================================================ */
.preco-box {
  background: linear-gradient(160deg, #0f172a 0%, #0a192f 40%, #1e3a8a 100%);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 32px 64px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
  overflow: hidden;
}

.preco-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.preco-de {
  color: #64748b;
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 500;
}

.preco-parcelado {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.preco-valor {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(251,191,36,0.3);
}

.preco-avista {
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 6px;
}

/* ============================================================
   BOX DO CTA FINAL (card branco sobre fundo escuro)
   ============================================================ */
.cta-box {
  background: #ffffff;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow:
    0 0 0 4px #fbbf24,
    0 32px 80px rgba(0,0,0,0.4);
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.cta-box-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #1a1000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(245,158,11,0.5);
}

/* ============================================================
   BOTÃO CTA — ÂMBAR COM BRILHO
   ============================================================ */
.botao-cta-brilho {
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.3),
    0 8px 24px rgba(245,158,11,0.45);
  transition: all 0.25s ease;
}

.botao-cta-brilho:hover {
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.5),
    0 12px 36px rgba(245,158,11,0.65);
  transform: translateY(-2px);
}

/* Botão outline (azul) */
.botao-outline-azul {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #2563eb;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.botao-outline-azul:hover {
  background: #2563eb;
  color: #fff;
}

/* ============================================================
   CARDS INFORMATIVOS (seção O que você recebe)
   ============================================================ */
.recebe-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}

.recebe-item:last-child {
  border-bottom: none;
}

.recebe-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* ============================================================
   FAQ ACORDEÃO
   ============================================================ */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(59,130,246,0.08);
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-btn:hover {
  background: #f8fafc;
}

/* ============================================================
   SEÇÃO SOBRE O DR. FABIO
   ============================================================ */
.bio-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(30,58,138,0.06);
}

.bio-foto-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  box-shadow: 0 12px 40px rgba(29,78,216,0.25);
  margin: 0 auto;
}

.bio-foto-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  background: #1e293b;
}

/* ============================================================
   GARANTIA
   ============================================================ */
.garantia-box {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid rgba(59,130,246,0.2);
  border-radius: 28px;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0 8px 32px rgba(59,130,246,0.1);
}

.garantia-circulo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(29,78,216,0.35);
}

@media (max-width: 640px) {
  .garantia-box {
    flex-direction: column;
    text-align: center;
  }
  .bio-card {
    padding: 32px 20px;
  }
}

/* ============================================================
   CARROSSEL DE DEPOIMENTOS
   ============================================================ */
.dep-phone-frame {
  flex-shrink: 0;
  width: 700px;
  border-radius: 18px;
  background: #0d1b2e;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.dep-phone-frame::before {
  display: none;
}

.dep-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.dep-phone-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(59, 130, 246, 0.35);
}

.dep-phone-frame.dep-active {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow:
    0 0 0 3px rgba(52, 211, 153, 0.15),
    0 0 28px rgba(52, 211, 153, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Dots */
.dep-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.dep-dot.dep-dot-active {
  background: #34d399;
  width: 24px;
}

/* Setas */
.dep-btn-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dep-btn-nav:hover {
  background: rgba(59, 130, 246, 0.4);
  transform: translateY(-50%) scale(1.1);
}

#dep-prev { left: -20px; }
#dep-next { right: -20px; }

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer-text {
  background: linear-gradient(90deg, #fbbf24 0%, #fff7 40%, #fbbf24 60%, #fbbf24 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ============================================================
   RESPONSIVIDADE CARROSSEL
   ============================================================ */
@media (max-width: 900px) {
  .dep-phone-frame { width: 500px; }
}

@media (max-width: 640px) {
  #dep-prev { left: 4px; }
  #dep-next { right: 4px; }
  .dep-phone-frame { width: calc(100vw - 80px); border-radius: 14px; }
}

/* ============================================================
   CORRIGE AOS NO MOBILE
   ============================================================ */
@media (max-width: 767px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
