/* ==========================================================================
   DESIGN SYSTEM - "30 Dias com o Sagrado Coração de Jesus"
   Estilo Premium, Mobile-First, Alta Conversão, Temática Sacra
   ========================================================================== */

/* Importação das Fontes Premium do Google */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Paleta de Cores Sacras */
  --wine-primary: #8a1830;
  --wine-dark: #5c1224;
  --wine-light: #fdf5f6;
  --wine-accent: #a82440;
  --gold-primary: #c5a059;
  --gold-dark: #9e7b39;
  --gold-light: #f3edd8;
  --gold-glowing: #d4af37;
  
  --bg-marfim: #fefdfb;
  --bg-polen: #faf6ed;
  --bg-desktop: #1c060b; /* Fundo escuro premium atrás do celular no desktop */
  
  --text-charcoal: #2c2520;
  --text-medium: #544a42;
  --text-light: #877d74;
  --text-white: #ffffff;
  
  /* Sombras e Bordas */
  --shadow-sm: 0 2px 4px rgba(92, 18, 36, 0.04);
  --shadow-md: 0 8px 16px rgba(92, 18, 36, 0.08);
  --shadow-lg: 0 16px 32px rgba(92, 18, 36, 0.12);
  --border-gold-soft: 1px solid rgba(197, 160, 89, 0.25);
  --border-wine-soft: 1px solid rgba(92, 18, 36, 0.08);
  
  /* Tipografia */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Transições */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES GERAIS
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-desktop);
}

body {
  font-family: var(--font-sans);
  color: var(--text-charcoal);
  line-height: 1.6;
  background-color: var(--bg-desktop);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* Container Canvas que simula celular no Desktop e fica 100% no Mobile */
.app-canvas {
  width: 100%;
  max-width: 480px; /* Largura padrão perfeita de smartphone moderno */
  background-color: var(--bg-marfim);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(197, 160, 89, 0.2);
  border-right: 2px solid rgba(197, 160, 89, 0.2);
}

/* Ajuste fino para telas menores */
@media (max-width: 480px) {
  .app-canvas {
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
}

/* ==========================================================================
   TIPOGRAFIA & ESTILOS DE TEXTO
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--wine-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.85rem;
  margin-bottom: 0.85rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
}

/* Divisor elegante abaixo dos títulos de seção */
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: radial-gradient(circle, var(--gold-primary) 0%, transparent 100%);
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
  font-weight: 400;
}

p.highlight {
  font-size: 1.05rem;
  color: var(--text-charcoal);
  font-weight: 500;
}

/* TEXTURAS & PADRÕES */
.paper-texture {
  background-color: var(--bg-polen);
  background-image: radial-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 0);
  background-size: 8px 8px;
  border: var(--border-gold-soft);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   SEÇÕES DA PÁGINA
   ========================================================================== */

section {
  padding: 2.5rem 1.25rem;
  border-bottom: var(--border-wine-soft);
  position: relative;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, var(--wine-light) 0%, var(--bg-marfim) 100%);
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wine-primary);
  background-color: var(--wine-light);
  border: 1px solid rgba(138, 24, 48, 0.15);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--wine-dark);
}

.hero p.subtitle {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 90%;
  margin: 0 auto 1.5rem auto;
  line-height: 1.5;
}

/* ==========================================================================
   MOCKUP 3D DO CELULAR (PURO CSS)
   ========================================================================== */

.mockup-container {
  perspective: 1000px;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 200px;
  height: 400px;
  background-color: #1e1e1e;
  border: 8px solid #333333;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
              0 0 0 2px rgba(197, 160, 89, 0.4);
  transform: rotateY(-10deg) rotateX(10deg);
  transition: var(--transition-smooth);
  overflow: hidden;
  position: relative;
}

.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 
              0 0 0 3px rgba(197, 160, 89, 0.6);
}

/* Detalhe da câmera do celular (Notch) */
.phone-notch {
  width: 90px;
  height: 15px;
  background-color: #333333;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 10;
}

/* Tela de conteúdo (Capa do PDF) */
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine-primary) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.2rem 1rem 1rem 1rem;
  color: var(--text-white);
  text-align: center;
  position: relative;
}

/* Elemento Decorativo: Brilho Dourado do Sagrado Coração */
.sacred-heart-glow {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.65) 0%, rgba(212, 175, 55, 0) 70%);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: heartPulse 3s infinite ease-in-out;
}

/* Ícone do Sagrado Coração Vetorial Centralizado */
.sacred-heart-svg {
  width: 60px;
  height: 60px;
  z-index: 2;
  margin-top: 2rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8));
}

.mockup-book-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.15;
  margin-top: 1rem;
  z-index: 2;
}

.mockup-book-subtitle {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  max-width: 90%;
  margin-top: 0.5rem;
  z-index: 2;
}

.mockup-book-footer {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  width: 80%;
  padding-top: 8px;
  z-index: 2;
}

/* Sombra 3D projetada do celular */
.mockup-shadow {
  width: 160px;
  height: 12px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(5px);
  margin-top: -10px;
  margin-bottom: 1.5rem;
}

@keyframes heartPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
}

/* ==========================================================================
   BOTÕES & AÇÕES (CTA)
   ========================================================================== */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.1rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(138, 24, 48, 0.2);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wine-primary) 0%, var(--wine-accent) 100%);
  color: var(--text-white);
  border-bottom: 3px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 24px rgba(138, 24, 48, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 4px 12px rgba(138, 24, 48, 0.2);
  border-bottom-width: 1px;
}

/* Animação de pulso sutil no botão para atrair clique */
.btn-pulse {
  animation: buttonPulse 3s infinite;
}

@keyframes buttonPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.025); box-shadow: 0 10px 28px rgba(138, 24, 48, 0.45); }
  100% { transform: scale(1); }
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: var(--text-white);
  border-bottom: 3px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.btn-gold:active {
  transform: translateY(2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
  border-bottom-width: 1px;
}

.security-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.85rem;
  font-weight: 500;
}

.security-text svg {
  width: 12px;
  height: 12px;
  fill: var(--text-light);
}

/* Preço em destaque */
.price-tag {
  margin: 1.25rem 0;
  text-align: center;
}

.price-old {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-light);
  margin-bottom: 2px;
}

.price-new {
  font-size: 2rem;
  font-weight: 800;
  color: var(--wine-dark);
  font-family: var(--font-sans);
}

.price-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   SEÇÃO DE IDENTIFICAÇÃO & APRESENTAÇÃO
   ========================================================================== */

.intro-points {
  margin-top: 1.5rem;
}

.intro-card {
  background-color: var(--bg-marfim);
  border-left: 3px solid var(--wine-primary);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow-sm);
}

.intro-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-charcoal);
  font-weight: 500;
}

/* ==========================================================================
   O QUE ESTÁ INCLUSO (LISTAGEM EM CARDS)
   ========================================================================== */

.checklist-group {
  margin-top: 1.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--bg-marfim);
  border: var(--border-wine-soft);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: var(--transition-smooth);
}

.checklist-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.4);
}

.checklist-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-icon svg {
  width: 12px;
  height: 12px;
  fill: var(--gold-dark);
}

.checklist-text h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--wine-dark);
  margin-bottom: 2px;
}

.checklist-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-medium);
}

/* ==========================================================================
   BENEFÍCIOS EMOCIONAIS & PÚBLICO
   ========================================================================== */

.benefits-list, .target-list {
  list-style: none;
  margin-top: 1.5rem;
}

.benefits-list li, .target-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.benefits-list li::before {
  content: '♥';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--wine-primary);
  font-size: 1.1rem;
}

.target-list li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  top: -1px;
  color: #2e7d32;
  font-weight: 900;
  font-size: 1.1rem;
}

/* Para quem NÃO é */
.not-target-list {
  list-style: none;
  margin-top: 1.5rem;
}

.not-target-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.not-target-list li::before {
  content: '✕';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--wine-primary);
  font-weight: bold;
  font-size: 0.9rem;
}

/* ==========================================================================
   SEÇÃO DE BÔNUS (Premium Cards)
   ========================================================================== */

.bonus-badge {
  background-color: var(--wine-primary);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.bonus-card {
  border: 1px dashed var(--gold-primary);
  background-color: var(--bg-polen);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-card h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--wine-dark);
  margin-bottom: 8px;
}

.bonus-price {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.bonus-price span {
  text-decoration: line-through;
}

/* ==========================================================================
   GARANTIA (Selo elegante)
   ========================================================================== */

.garantia-box {
  background-color: var(--wine-light);
  border: 1px solid rgba(138, 24, 48, 0.1);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.garantia-seal {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem auto;
}

.garantia-box h3 {
  color: var(--wine-dark);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.garantia-box p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-medium);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ ACCORDION (Nativo & Altamente Acessível)
   ========================================================================== */

.faq-group {
  margin-top: 1.5rem;
}

/* Elemento details nativo exclusivo com CSS moderno */
details.faq-item {
  background-color: var(--bg-marfim);
  border: var(--border-wine-soft);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

details.faq-item[open] {
  border-color: rgba(197, 160, 89, 0.45);
  box-shadow: var(--shadow-md);
}

summary.faq-question {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--wine-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  user-select: none;
}

/* Remove a seta padrão do summary no Chrome/Firefox */
summary.faq-question::-webkit-details-marker {
  display: none;
}

/* Criando seta personalizada moderna com SVG ou CSS */
summary.faq-question::after {
  content: '';
  width: 14px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%238a1830' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

/* Rotação da seta ao abrir */
details.faq-item[open] summary.faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.5;
  border-top: 1px solid rgba(92, 18, 36, 0.04);
  padding-top: 0.85rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RODAPÉ (Footer)
   ========================================================================== */

footer {
  background-color: var(--wine-dark);
  padding: 2.5rem 1.25rem 7.5rem 1.25rem; /* Margem extra no fundo devido ao CTA fixo */
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

footer p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

footer .disclaimer {
  font-size: 0.7rem;
  line-height: 1.4;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   BARRA DE CTA FIXA NO RODAPÉ (STICKY BOTTOM CTA)
   ========================================================================== */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%); /* Escondido por padrão no início */
  width: 100%;
  max-width: 480px;
  background: rgba(254, 253, 251, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: var(--border-gold-soft);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 -8px 24px rgba(92, 18, 36, 0.12);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 2px solid rgba(197, 160, 89, 0.2);
  border-right: 2px solid rgba(197, 160, 89, 0.2);
}

/* Classe ativada por JS na rolagem */
.sticky-cta-bar.visible {
  transform: translate(-50%, 0);
}

@media (max-width: 480px) {
  .sticky-cta-bar {
    border-left: none;
    border-right: none;
  }
}

.sticky-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.sticky-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.sticky-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--wine-primary);
}

.sticky-cta-bar .btn {
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
}
