/* =========================================================
   365 Homilias Estruturadas — Design tokens & base styles
   Extraído e replicado a partir do projeto Lovable original
   ========================================================= */

:root {
  --radius: 0.25rem;
  --background: oklch(96.5% 0.014 80);
  --foreground: oklch(22% 0.03 30);
  --card: oklch(98.5% 0.008 80);
  --card-foreground: oklch(22% 0.03 30);
  --primary: oklch(36% 0.11 20);
  --primary-foreground: oklch(97% 0.015 80);
  --secondary: oklch(92% 0.025 75);
  --secondary-foreground: oklch(25% 0.04 30);
  --muted: oklch(93% 0.018 78);
  --muted-foreground: oklch(48% 0.03 40);
  --accent: oklch(85% 0.16 90);
  --accent-foreground: oklch(20% 0.03 30);
  --border: oklch(85% 0.025 70);
  --ink: oklch(17% 0.025 25);
  --ink-foreground: oklch(94% 0.02 80);
  --shadow-soft: 0 30px 60px -30px oklch(20% 0.05 25 / 0.45);
  --shadow-glow: 0 10px 40px -10px oklch(76% 0.12 78 / 0.55);
  --font-sans: "Figtree", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { line-height: 1.6; }

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

.section { padding: 80px 20px; }
.section-tight { padding: 56px 20px 64px; }
.bg-card { background: var(--card); }
.bg-ink { background: var(--ink); color: var(--ink-foreground); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin: 0 0 12px;
}

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
@media (min-width: 768px) { h2 { font-size: 2.5rem; } }

.section-head { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head p { margin-top: 12px; font-size: 0.95rem; opacity: 0.75; }

.highlight {
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0 6px;
  border-radius: 2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-glow);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover { transform: scale(1.02); }

.btn-muted {
  background: var(--muted);
  color: var(--foreground);
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-muted:hover { background: oklch(89% 0.018 78); }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 16px;
}
.secure-note svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero { background: var(--background); padding: 24px 20px 64px; text-align: center; }
.hero-banner {
  margin: -24px -20px 40px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 8px 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #047857;
  color: #fff;
  border: 1px solid #059669;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 10px -2px rgba(0,0,0,.25);
  margin-bottom: 16px;
}
.hero h1 { max-width: 760px; margin: 0 auto; font-size: 2rem; }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
.hero-sub { max-width: 640px; margin: 20px auto 0; color: var(--muted-foreground); }
.hero-cover { margin: 40px auto 0; max-width: 420px; width: 100%; border-radius: 12px; box-shadow: var(--shadow-glow); }
.hero-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.hero-chip-accent {
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  color: oklch(55% 0.14 88);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
}
.hero-divider { color: var(--border); }
.hero-caption { margin-top: 8px; font-size: 0.75rem; color: var(--muted-foreground); }

/* ---------- press strip ---------- */
.press-strip { padding: 24px 20px; }
.press-title {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  margin: 0 0 16px;
}
.press-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.75;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; margin-top: 40px; }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marquee 25s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track img {
  height: 20rem;
  width: auto;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .marquee-track img { height: 28rem; } }
@keyframes marquee {
  0% { transform: translate(0%); }
  100% { transform: translate(-50%); }
}

/* ---------- grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 768px) {
  .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .md-grid-2, .md-grid-3, .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) { .sm-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lg-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

/* ---------- testimonials ---------- */
.testimonial { display: flex; flex-direction: column; justify-content: space-between; }
.stars { color: var(--accent); margin: 0; }
.testimonial-quote { margin: 12px 0 0; font-size: 0.9rem; line-height: 1.6; }
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-footer img {
  width: 48px; height: 48px; border-radius: 999px; object-fit: cover;
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--accent) 30%, transparent);
}
.testimonial-name { font-size: 0.9rem; font-weight: 700; margin: 0; }
.testimonial-parish { font-size: 0.75rem; color: var(--muted-foreground); margin: 2px 0 0; }

/* ---------- content numbered cards ---------- */
.num-card { background: var(--background); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.num-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 4px;
  padding: 2px 8px;
}
.num-card p.title { margin: 12px 0 0; font-weight: 700; }
.num-card p.desc { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted-foreground); }

/* ---------- audience cards ---------- */
.audience-card { text-align: center; }
.audience-icon {
  margin: 0 auto;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent) 25%, transparent);
  color: var(--primary);
  font-size: 1.25rem;
}
.audience-card p.title { margin: 16px 0 0; font-weight: 700; }
.audience-card p.desc { margin: 8px 0 0; font-size: 0.9rem; color: var(--muted-foreground); }

/* ---------- bonus cards ---------- */
.bonus-card { overflow: hidden; border-radius: 14px; border: 1px solid color-mix(in oklch, var(--ink-foreground) 10%, transparent); background: color-mix(in oklch, var(--ink-foreground) 5%, transparent); }
.bonus-card img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.bonus-body { padding: 20px; }
.bonus-tag { display: inline-block; background: var(--accent); color: var(--accent-foreground); font-size: 0.72rem; font-weight: 800; border-radius: 4px; padding: 2px 8px; }
.bonus-body p.title { margin: 12px 0 0; font-weight: 700; }
.bonus-body p.desc { margin: 4px 0 0; font-size: 0.9rem; opacity: 0.75; }
.bonus-body p.price { margin: 12px 0 0; font-size: 0.75rem; }
.bonus-body s { opacity: 0.5; }
.bonus-body .free { font-weight: 700; color: var(--accent); }

/* ---------- author bio ---------- */
.author-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .author-grid { grid-template-columns: 1fr 1fr; } }
.author-photo { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-soft); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-text p { font-size: 0.9rem; line-height: 1.7; opacity: 0.85; margin-top: 16px; }
.credential-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.credential-list li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.check-badge {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-foreground);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}

/* ---------- pricing ---------- */
.pricing-grid { margin-top: 64px; display: grid; gap: 32px; max-width: 900px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  position: relative;
  border-radius: 24px;
  background: var(--background);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
}
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-soft); }
.price-badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-foreground);
  border-radius: 999px; padding: 4px 16px; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
}
.price-card h3 { text-align: center; }
.price-card .plan-sub { text-align: center; margin: 8px 0 0; font-size: 0.9rem; color: var(--muted-foreground); }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 24px; }
.price-old { font-size: 0.9rem; color: var(--muted-foreground); text-decoration: line-through; }
.price-new { font-size: 2rem; font-weight: 900; }
.price-card.featured .price-new { color: var(--accent); font-size: 2.5rem; }
.price-terms { text-align: center; margin: 4px 0 0; font-size: 0.72rem; color: var(--muted-foreground); }
.price-features { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; font-size: 0.9rem; }
.price-features div { display: flex; align-items: flex-start; gap: 12px; }
.price-features svg { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; color: var(--muted-foreground); }
.price-card.featured .price-features svg { color: var(--accent); }
.price-features .excluded { opacity: 0.4; text-decoration: line-through; padding-top: 8px; border-top: 1px solid var(--border); font-size: 0.75rem; }
.price-cta { margin-top: 40px; }

/* ---------- guarantee ---------- */
.guarantee-box { max-width: 560px; margin: 0 auto; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 32px; text-align: center; }
.guarantee-num {
  margin: 0 auto; width: 64px; height: 64px; border-radius: 999px;
  background: var(--accent); color: var(--accent-foreground);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800;
}
.guarantee-box h2 { margin-top: 20px; }
.guarantee-box p { margin-top: 16px; font-size: 0.9rem; color: var(--muted-foreground); }

/* ---------- steps ---------- */
.step-card { text-align: center; background: var(--background); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.step-num {
  margin: 0 auto; width: 40px; height: 40px; border-radius: 999px;
  background: var(--ink); color: var(--ink-foreground);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step-card p.title { margin: 16px 0 0; font-weight: 700; }
.step-card p.desc { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted-foreground); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 680px; margin: 40px auto 0; border: 1px solid var(--border); border-radius: 14px; background: var(--card); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; text-align: left; font-size: 0.9rem; font-weight: 600; color: var(--foreground);
  font-family: var(--font-sans);
}
.faq-icon { font-size: 1.1rem; color: var(--accent); flex-shrink: 0; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  font-size: 0.9rem; color: var(--muted-foreground);
}
.faq-answer p { margin: 0; padding: 0 20px 16px; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ---------- final CTA ---------- */
.final-cta-head { max-width: 640px; margin: 0 auto; text-align: center; }
.final-cta-head h2 { font-size: 1.75rem; }
@media (min-width: 768px) { .final-cta-head h2 { font-size: 2.25rem; } }
.final-cta-head p { margin-top: 16px; font-size: 1.1rem; opacity: 0.9; }
.offer-box {
  margin: 48px auto 0; max-width: 420px; border-radius: 16px;
  border: 2px solid var(--accent); background: color-mix(in oklch, var(--ink-foreground) 5%, transparent);
  padding: 32px; text-align: center;
}
.offer-box .plan-name { font-size: 1.25rem; font-weight: 700; margin: 0; }
.offer-box .old-price { font-size: 0.9rem; opacity: 0.7; margin: 16px 0 0; }
.offer-box .old-price span { text-decoration: line-through; }
.offer-box .new-price { font-size: 3rem; font-weight: 800; color: var(--accent); margin: 4px 0 0; }
.offer-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; text-align: left; font-size: 0.9rem; }
.offer-list div { display: flex; align-items: center; gap: 12px; }
.offer-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: color-mix(in oklch, var(--ink-foreground) 60%, transparent); text-align: center; font-size: 0.75rem; padding: 32px 20px; }

/* ---------- modal (downsell) ---------- */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.visible { display: flex; }
.modal-box {
  position: relative; width: 100%; max-width: 520px;
  background: var(--background); border: 2px solid var(--accent); border-radius: 24px;
  padding: 32px; box-shadow: var(--shadow-soft);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  border-radius: 999px; padding: 8px; cursor: pointer; color: var(--muted-foreground);
}
.modal-close:hover { background: var(--muted); }
.modal-tag {
  display: inline-block; background: color-mix(in oklch, var(--accent) 20%, transparent);
  border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
  color: var(--accent); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; border-radius: 999px; padding: 4px 12px;
}
.modal-box h3 { margin-top: 16px; font-size: 1.5rem; font-weight: 900; }
.modal-box p { margin-top: 12px; font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; }
.modal-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- utility icons ---------- */
.icon { width: 20px; height: 20px; }
