/*
Theme Name: Sara Costa - Tráfego Pago v2
Theme URI: https://saracosta.com.br
Author: Sara Costa
Description: Tema personalizado para landing page de tráfego pago para empreendedores. Paleta plum profundo + coral quente.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: sara-trafego-v2
*/

:root {
  --primary: #4A1942;
  --primary-dark: #2E0F2A;
  --cta: #FF5E57;
  --cta-dark: #E84840;
  --cream: #FAF6F1;
  --ink: #1a0f18;
  --border-soft: #EADFD2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 1rem; }

/* ===== Top Bar ===== */
.topbar {
  background-color: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}
.topbar .dot { color: var(--cta); }

/* ===== Hero ===== */
.hero { background-color: var(--cream); padding: 3rem 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.badge.plum { background: var(--primary); }
.hero h1 {
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--primary); }
.hero p.lead {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: #444;
}
.hero-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  font-size: 1rem;
  box-shadow: 0 10px 25px -10px rgba(255,94,87,0.6);
  transition: all 0.2s ease;
}
.btn-cta:hover { background: var(--cta-dark); transform: translateY(-2px); }
.guarantee {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: #555; padding: 0 0.5rem;
}
.guarantee svg { color: var(--primary); }

.hero-image-wrap {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--primary-dark);
  aspect-ratio: 4 / 5;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* ===== Sections base ===== */
.section { padding: 4rem 1rem; }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-cream { background: var(--cream); }
.section-white { background: #fff; }
.section-cta { background: var(--cta); color: #fff; }

.section h2 {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.1;
}
.section-dark h2 { color: #fff; }
.section-cream h2, .section-white h2 { color: var(--primary-dark); }
.section h2 .accent { color: var(--cta); }
.section h2 .accent-plum { color: var(--primary); }
.section .subtitle { text-align: center; color: #666; margin-top: 0.75rem; font-size: 1.05rem; }

/* ===== Audience ===== */
.audience-copy {
  max-width: 720px; margin: 2rem auto 0;
  display: flex; flex-direction: column; gap: 1.25rem;
  color: rgba(255,255,255,0.8); font-size: 1rem; text-align: center;
}
.audience-copy .em { color: #fff; font-weight: 600; font-size: 1.125rem; }
.audience-copy .em .accent { color: var(--cta); }
.audience-sub { text-align: center; margin: 3rem 0 2rem; font-size: 1.25rem; font-weight: 700; }
.audience-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.audience-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: background 0.2s;
}
.audience-card:hover { background: rgba(255,255,255,0.1); }
.audience-card .icon {
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: var(--cta); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: #fff;
}
.audience-card h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; color: #fff; }
.audience-card p { font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* ===== Curriculum ===== */
.modules-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.75rem;
  max-width: 56rem; margin: 0 auto;
}
.module-row {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 0.75rem; padding: 1rem;
  transition: box-shadow 0.2s;
}
.module-row:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.module-num {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: var(--primary); color: #fff;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.module-row span.label { font-weight: 600; color: var(--primary-dark); }

.bonus-wrap { margin-top: 3rem; max-width: 56rem; margin-left: auto; margin-right: auto; }
.bonus-title { text-align: center; margin-bottom: 1.5rem; }
.bonus-badge {
  display: inline-block; background: var(--cta); color: #fff;
  padding: 0.375rem 1rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em;
}
.bonus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.bonus-card {
  background: #fff; border: 2px solid var(--cta);
  color: var(--primary-dark); border-radius: 0.75rem;
  padding: 1rem; text-align: center; font-weight: 700;
}

/* ===== Results ===== */
.results-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  margin-top: 2rem;
}
.result-card {
  background: var(--cream); border: 1px solid var(--border-soft);
  border-radius: 1rem; padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.result-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.result-print {
  aspect-ratio: 9 / 16;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.875rem;
}
.result-card p { font-weight: 500; color: var(--primary-dark); line-height: 1.35; }

/* ===== Video Testimonials ===== */
.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.video-card {
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  position: relative; overflow: hidden;
  background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.video-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 0.6;
}
.video-card .play {
  position: relative; width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.video-card:hover .play { transform: scale(1.1); }
.video-card .play svg { color: var(--cta); margin-left: 2px; }

/* ===== Offer ===== */
.offer-wrap { max-width: 48rem; margin: 0 auto; }
.offer-card-outer {
  border-radius: 1.5rem;
  padding: 4px;
  background: linear-gradient(135deg, var(--cta), var(--primary));
}
.offer-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 2rem;
  text-align: center;
  color: #222;
}
.offer-card h2 { font-size: 1.75rem; font-weight: 900; color: var(--primary-dark); letter-spacing: -0.02em; }
.offer-price-old { color: #999; text-decoration: line-through; margin-top: 2rem; }
.offer-price-label { color: #999; font-size: 0.875rem; margin-top: 0.25rem; }
.offer-price-main {
  margin-top: 0.25rem; font-size: 2.25rem; font-weight: 900; color: var(--primary);
}
.offer-price-main .big { font-size: 3rem; }
.offer-price-cash { color: #999; font-size: 0.875rem; margin-top: 0.5rem; }

.offer-list {
  margin: 2rem auto 0; max-width: 28rem;
  list-style: none; display: flex; flex-direction: column; gap: 0.75rem;
  text-align: left;
}
.offer-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 500; }
.offer-list .check {
  flex-shrink: 0; width: 1.5rem; height: 1.5rem; border-radius: 9999px;
  background: var(--cta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 900; margin-top: 2px;
}
.offer-btn {
  margin-top: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
  width: 100%; background: var(--cta); color: #fff;
  font-weight: 900; padding: 1.25rem 2.5rem; border-radius: 9999px;
  font-size: 1.125rem; box-shadow: 0 15px 30px -10px rgba(255,94,87,0.6);
  transition: all 0.2s;
}
.offer-btn:hover { background: var(--cta-dark); transform: translateY(-2px); }
.offer-guarantee {
  margin-top: 1.5rem; display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-size: 0.875rem; color: #666;
}
.offer-guarantee svg { color: var(--primary); }

/* ===== About ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative; border-radius: 1rem; overflow: hidden;
  background: var(--primary-dark);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  max-width: 28rem; margin: 0 auto;
}
.about-text h2 { text-align: left; font-size: 1.875rem; font-weight: 900; color: var(--primary-dark); }
.about-text .body { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; color: #444; font-size: 1rem; }
.about-text .body strong { color: var(--cta); }
.about-stats { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 22rem; }
.about-stat {
  background: var(--cream); border: 1px solid var(--border-soft);
  border-radius: 0.75rem; padding: 1rem;
}
.about-stat .num { font-size: 1.75rem; font-weight: 900; color: var(--primary); }
.about-stat .lbl { font-size: 0.75rem; color: #666; margin-top: 0.25rem; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 48rem; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 1rem; overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  text-align: left; padding: 1.25rem 1.5rem; font-weight: 700;
  color: var(--primary-dark); background: transparent;
}
.faq-q svg { color: var(--cta); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { padding: 0 1.5rem 1.25rem; color: #444; line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-cta { text-align: center; margin-top: 3rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.875rem;
}
.site-footer strong { color: #fff; display: block; margin-bottom: 0.5rem; }

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-cta-row { flex-direction: row; }
  .section h2 { font-size: 2.25rem; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .bonus-grid { grid-template-columns: repeat(4, 1fr); }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .videos-grid { grid-template-columns: repeat(5, 1fr); }
  .offer-card { padding: 3rem; }
  .offer-card h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero { padding: 5rem 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 3rem; }
  .section { padding: 5rem 1rem; }
  .section h2 { font-size: 3rem; }
  .audience-grid { grid-template-columns: repeat(4, 1fr); }
  .results-grid { grid-template-columns: 1fr 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
}
