/* =========================================================
   Genialia — Landing de vendas
   Paleta: primária #1A2F4F | destaque #E8A64A | CTA #FF6B35
   ========================================================= */

:root {
  --primary: #1A2F4F;
  --primary-800: #14253E;
  --primary-100: #E8ECF2;
  --accent: #E8A64A;
  --accent-soft: #F5D59C;
  --cta: #FF6B35;
  --cta-hover: #E55A28;
  --bg: #FAF7F2;
  --bg-alt: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7A8F;
  --border: #E6DFD4;
  --gold: #C9A35B;
  --ok: #2E8B57;
  --shadow-sm: 0 2px 8px rgba(26, 47, 79, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 47, 79, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 47, 79, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
}
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 107, 53, 0.45); }
.btn-ghost {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 20px 44px; font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo-link { display: flex; flex-direction: column; gap: 2px; }
.logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
}
.logo .ia { color: var(--accent); }
.tagline {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--cta); }

@media (max-width: 800px) {
  .site-nav a:not(.btn) { display: none; }
  .btn { padding: 12px 22px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(232, 166, 74, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(26, 47, 79, 0.06), transparent 60%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 166, 74, 0.15);
  color: #8A6B2E;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(232, 166, 74, 0.3);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--accent);
  opacity: .45;
  z-index: -1;
  border-radius: 4px;
}
.hero .lead {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.hero .price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero .price strong { color: var(--primary); font-size: 16px; }

/* Mockup do certificado no hero */
.hero-cert {
  position: relative;
  transform: rotate(2deg);
  transition: transform .3s ease;
}
.hero-cert:hover { transform: rotate(0deg) scale(1.02); }
.cert-card {
  background: #FAF7F2;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.cert-card .cert-logo { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 4px; }
.cert-card .cert-logo .ia { color: var(--accent); }
.cert-card .cert-sub { font-size: 9px; letter-spacing: 3px; text-align: center; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; }
.cert-card .cert-title { font-family: var(--serif); font-size: 18px; color: var(--primary); text-align: center; margin-bottom: 16px; font-weight: 700; }
.cert-card .cert-body { font-size: 12px; color: var(--text); text-align: center; line-height: 1.6; margin-bottom: 24px; }
.cert-card .cert-body strong { color: var(--primary); }
.cert-card .cert-signature { text-align: center; margin-bottom: 16px; }
.cert-card .cert-signature .sig-line {
  display: inline-block;
  width: 140px;
  border-bottom: 1px solid var(--text);
  margin-bottom: 6px;
  height: 32px;
  position: relative;
}
.cert-card .cert-signature .sig-line::before {
  content: 'assinatura';
  position: absolute;
  font-family: cursive;
  font-size: 16px;
  color: var(--primary);
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  font-style: italic;
  opacity: .7;
}
.cert-card .cert-signature .sig-name { font-size: 11px; font-weight: 600; color: var(--primary); }
.cert-card .cert-signature .sig-role { font-size: 10px; color: var(--text-muted); }
.cert-card .cert-footer { display: flex; justify-content: space-between; align-items: center; font-size: 9px; color: var(--text-muted); border-top: 1px dashed var(--border); padding-top: 10px; }
.cert-card .cert-footer code { font-family: monospace; background: #fff; padding: 2px 6px; border-radius: 3px; border: 1px solid var(--border); }
.cert-card .qr {
  width: 36px; height: 36px;
  background:
    linear-gradient(45deg, var(--primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--primary) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--primary) 75%),
    linear-gradient(-45deg, transparent 75%, var(--primary) 75%);
  background-size: 6px 6px;
  background-position: 0 0, 0 3px, 3px -3px, -3px 0px;
  border: 2px solid var(--primary);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 60px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-cert { max-width: 380px; margin: 0 auto; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -1px;
}
.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 16px auto 0;
}

/* ---------- Personas ---------- */
.personas { background: var(--bg-alt); }
.personas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.persona-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.persona-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.persona-card .icon {
  width: 56px; height: 56px;
  background: rgba(232, 166, 74, 0.15);
  color: var(--accent);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.persona-card h3 { font-family: var(--serif); font-size: 22px; color: var(--primary); margin-bottom: 12px; }
.persona-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 900px) { .personas-grid { grid-template-columns: 1fr; } }

/* ---------- Módulos (accordion) ---------- */
.modules-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.module-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.module-item[open] { box-shadow: var(--shadow-sm); }
.module-item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.module-item summary::-webkit-details-marker { display: none; }
.module-number {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  min-width: 48px;
}
.module-info { flex: 1; }
.module-info h3 { font-family: var(--serif); font-size: 20px; color: var(--primary); line-height: 1.2; }
.module-info .lessons-count { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.module-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}
.module-item[open] .module-chevron { transform: rotate(180deg); background: var(--accent); color: #fff; }
.module-body { padding: 4px 26px 24px 92px; }
.module-body ul { list-style: none; }
.module-body li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}
.module-body li:last-child { border: 0; }
.module-body li::before {
  content: '▶';
  color: var(--accent);
  font-size: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ---------- Seção certificado (detalhe) ---------- */
.cert-section {
  background: linear-gradient(180deg, var(--primary-800) 0%, var(--primary) 100%);
  color: #fff;
}
.cert-section .section-head h2 { color: #fff; }
.cert-section .section-head .eyebrow { color: var(--accent); }
.cert-section .section-head p { color: rgba(255, 255, 255, 0.8); }
.cert-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 32px;
}
.cert-showcase .cert-card { margin: 0 auto; max-width: 440px; }
.cert-features { display: grid; gap: 20px; }
.cert-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cert-feature .check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.cert-feature h4 { font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }
.cert-feature p { color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.cert-disclaimer {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}
@media (max-width: 900px) { .cert-showcase { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--bg-alt); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial .stars { color: var(--accent); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p { font-size: 15px; color: var(--text); margin-bottom: 20px; font-style: italic; line-height: 1.65; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cta));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 18px;
}
.testimonial .meta strong { display: block; font-size: 14px; color: var(--primary); }
.testimonial .meta span { font-size: 12px; color: var(--text-muted); }
.testimonials-note {
  text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-muted); font-style: italic;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- Sobre o criador ---------- */
.about {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  max-width: 920px;
  margin: 0 auto;
  align-items: center;
}
.about .avatar-wrap {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about .avatar-wrap .initials {
  font-family: var(--serif);
  font-size: 72px;
  color: #fff;
  font-weight: 700;
}
.about h3 { font-family: var(--serif); font-size: 32px; color: var(--primary); margin-bottom: 8px; }
.about .role { color: var(--text-muted); margin-bottom: 20px; font-size: 15px; }
.about p { color: var(--text); margin-bottom: 14px; line-height: 1.7; }

@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; text-align: center; }
  .about .avatar-wrap { margin: 0 auto; width: 160px; height: 160px; }
  .about .avatar-wrap .initials { font-size: 48px; }
}

/* ---------- Garantia ---------- */
.guarantee {
  background: var(--bg-alt);
  padding: 60px 0;
  text-align: center;
}
.guarantee-card {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px 48px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow-md);
}
.guarantee-seal {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232, 166, 74, 0.4);
}
.guarantee-seal strong { font-size: 36px; display: block; }
.guarantee-seal span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.guarantee-text h3 { font-family: var(--serif); font-size: 26px; color: var(--primary); margin-bottom: 8px; }
.guarantee-text p { color: var(--text-muted); font-size: 15px; }
@media (max-width: 700px) {
  .guarantee-card { flex-direction: column; text-align: center; padding: 28px 24px; gap: 20px; }
  .guarantee-text { text-align: center; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--primary);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: transform .2s ease;
  color: var(--accent);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}
.faq-item .faq-answer strong { color: var(--primary); }
.faq-item .faq-answer a { color: var(--cta); font-weight: 600; }

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(232, 166, 74, 0.2), transparent 70%),
    linear-gradient(180deg, var(--primary) 0%, var(--primary-800) 100%);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}
.cta-final h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.cta-final p { font-size: 18px; color: rgba(255, 255, 255, 0.85); margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-final .price-line {
  display: inline-flex; align-items: baseline; gap: 14px;
  margin-bottom: 28px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cta-final .price-line .amount { font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--accent); }
.cta-final .price-line .desc { font-size: 14px; color: rgba(255, 255, 255, 0.8); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0E1B2E;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; }
.footer-brand .tagline { color: rgba(255, 255, 255, 0.6); }
.footer-brand p { margin-top: 20px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-legal {
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}
.footer-bottom {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Utils ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
