/* ============================================
   Nexa — stylesheet
   Tema premium: verde esmeralda profundo + dourado
   ============================================ */

:root {
  --background: 160 18% 7%;
  --foreground: 40 25% 96%;
  --primary: 152 58% 46%;
  --primary-foreground: 160 30% 8%;
  --secondary: 150 8% 72%;
  --muted: 150 8% 52%;
  --accent: 152 40% 14%;
  --border: 150 14% 20%;
  --card: 158 15% 11%;
  --card-2: 158 14% 15%;
  --radius: 0.85rem;

  --gold: 38 62% 64%;
  --gold-foreground: 30 45% 12%;

  --shadow-card: 0 1px 0 hsl(0 0% 100% / 0.03) inset, 0 10px 26px hsl(0 0% 0% / 0.35);
  --shadow-lg: 0 18px 44px hsl(152 60% 46% / 0.22), 0 10px 26px hsl(0 0% 0% / 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.container { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* ---------- Header ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 10px 20px;
  min-height: 44px;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, hsl(152 55% 52%), hsl(152 65% 40%));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 1px 0 hsl(0 0% 100% / 0.22) inset, 0 1px 0 hsl(0 0% 0% / 0.1), 0 8px 20px hsl(152 60% 25% / 0.4);
}
.btn-primary:hover { box-shadow: 0 1px 0 hsl(0 0% 100% / 0.22) inset, 0 12px 28px hsl(152 60% 30% / 0.5); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: hsl(var(--card-2));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover { background: hsl(var(--accent)); border-color: hsl(var(--primary) / .4); }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { border-radius: 9px; }

/* ---------- Hero ---------- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(var(--gold));
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 22px; height: 1.5px;
  background: linear-gradient(90deg, hsl(var(--gold)), transparent);
  border-radius: 0;
}
.hero-sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: 17px;
  color: hsl(var(--secondary));
}
.hero-trust {
  margin-top: 18px;
  font-size: 13px;
  color: hsl(var(--muted));
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Product group heading ---------- */
.product-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  color: hsl(var(--foreground));
  margin: 0 auto 18px;
  max-width: 780px;
}
.product-dot {
  width: 10px; height: 10px; border-radius: 3px;
  display: inline-block;
}
.product-dot.capcut { background: linear-gradient(135deg, #6b7280, #d1d5db); }
.product-dot.canva { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }

/* ---------- Plans grid ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plans-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .plans-grid, .plans-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Product cover (imagens reais dos banners) ---------- */
.plan-cover { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.plan-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plan-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, hsl(0 0% 0% / 0) 55%, hsl(158 16% 9% / .55) 100%);
  pointer-events: none;
}
.plan-card {
  background: linear-gradient(165deg, hsl(var(--card)) 0%, hsl(158 16% 9%) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid hsl(var(--border));
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.plan-card:hover { transform: translateY(-3px); border-color: hsl(var(--primary) / .4); }
.plan-card.featured {
  background:
    radial-gradient(circle at 50% 0%, hsl(var(--gold) / .08) 0%, transparent 55%),
    linear-gradient(165deg, hsl(var(--card-2)) 0%, hsl(155 18% 10%) 100%) padding-box,
    linear-gradient(160deg, hsl(var(--gold) / .95), hsl(var(--gold) / .15) 45%, hsl(var(--gold) / .6)) border-box;
  border: 2.5px solid transparent;
  transform: translateY(-6px);
  animation: pulse-glow-gold 2.6s ease-in-out infinite;
}
.plan-card.featured:hover { transform: translateY(-9px); }

@keyframes pulse-glow-gold {
  0%, 100% {
    box-shadow:
      0 0 0 1px hsl(var(--gold) / .12),
      0 22px 50px hsl(38 60% 45% / .22),
      0 10px 26px hsl(0 0% 0% / .45);
  }
  50% {
    box-shadow:
      0 0 0 1px hsl(var(--gold) / .3),
      0 22px 60px hsl(38 65% 50% / .4),
      0 10px 26px hsl(0 0% 0% / .45);
  }
}
.plan-ribbon {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(155deg, hsl(42 75% 74%), hsl(var(--gold)) 55%, hsl(34 60% 52%));
  color: hsl(var(--gold-foreground));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 6px 16px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px hsl(38 60% 40% / .4), 0 1px 0 hsl(0 0% 100% / .4) inset;
  z-index: 2;
}
.plan-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.plan-body h3 { font-size: 18px; font-weight: 700; }
.plan-price-row {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid hsl(var(--border));
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.plan-price {
  font-family: 'Manrope', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--primary));
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.price-currency {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: .7;
  margin-right: 3px;
}
.price-cents {
  font-size: 18px;
  font-weight: 700;
  opacity: .7;
}
.plan-card.featured .plan-price { color: hsl(var(--gold)); }
.plan-period { font-size: 13px; color: hsl(var(--muted)); }
.plan-tag {
  margin-left: auto;
  background: hsl(var(--accent));
  color: hsl(var(--primary));
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.plan-card.featured .plan-tag {
  background: hsl(var(--gold) / .16);
  color: hsl(var(--gold));
}
.plan-features { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; color: hsl(var(--foreground));
}
.plan-features svg { width: 16px; height: 16px; color: hsl(var(--primary)); flex-shrink: 0; margin-top: 2px; }
.plan-body .btn { margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none; border: none;
  text-align: left;
  font-size: 15px; font-weight: 600;
  color: hsl(var(--foreground));
}
.faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid hsl(var(--primary));
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease;
  font-size: 16px;
  line-height: 1;
}
.faq-item[data-open="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-answer p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: hsl(var(--secondary));
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.final-cta-note { margin-top: 12px; font-size: 13px; color: hsl(var(--muted)); }

/* ---------- Legal page (termos) ---------- */
.legal-hero {
  margin-top: 24px;
  background: hsl(var(--card));
  border-radius: 24px;
  padding: 44px 36px;
}
.legal-hero .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: hsl(var(--primary)); text-transform: uppercase;
}
.legal-hero h1 { margin-top: 12px; font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.legal-hero .lead { margin-top: 14px; color: hsl(var(--secondary)); font-size: 15.5px; max-width: 640px; }
.legal-hero .updated { margin-top: 14px; font-size: 13px; color: hsl(var(--muted)); }

.rules-mini {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 700px) { .rules-mini { grid-template-columns: 1fr; } }
.rules-mini .rule {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.rules-mini .rule .num { font-weight: 800; color: hsl(var(--primary) / .4); font-size: 20px; }
.rules-mini .rule h3 { margin-top: 6px; font-size: 14.5px; font-weight: 700; }
.rules-mini .rule p { margin-top: 6px; font-size: 13px; color: hsl(var(--secondary)); }

.legal-layout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-toc { position: sticky; top: 24px; align-self: start; }
.legal-toc h4 { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: hsl(var(--muted)); text-transform: uppercase; margin-bottom: 12px; }
.legal-toc ol { display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.legal-toc a {
  font-size: 13.5px; color: hsl(var(--secondary));
  display: flex; gap: 8px;
}
.legal-toc a:hover { color: hsl(var(--primary)); }
.legal-toc .n { color: hsl(var(--primary)); font-weight: 700; }

.legal-content h2 {
  font-size: 20px; font-weight: 800; margin-top: 40px; scroll-margin-top: 24px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-top: 12px; color: hsl(var(--secondary)); font-size: 14.5px; line-height: 1.7; }
.legal-content ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { font-size: 14.5px; color: hsl(var(--secondary)); padding-left: 18px; position: relative; }
.legal-content li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: hsl(var(--primary));
}
.legal-content .rule-block {
  margin-top: 18px; padding: 16px 18px;
  background: hsl(var(--background));
  border-radius: 10px;
  border-left: 3px solid hsl(var(--primary));
}
.legal-content .rule-block h3 { font-size: 14.5px; font-weight: 700; margin: 0 0 6px; }
.legal-content .rule-block p { margin: 0; font-size: 13.5px; }
.legal-content .example {
  margin-top: 8px; font-size: 13px; color: hsl(var(--muted)); font-style: italic;
}
.legal-content .device-grid {
  margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (max-width: 500px) { .legal-content .device-grid { grid-template-columns: 1fr; } }
.legal-content .device-grid div {
  font-size: 13px; padding: 10px 12px; border-radius: 8px;
}
.device-ok { background: hsl(152 45% 15%); color: hsl(var(--primary)); }
.device-no { background: hsl(0 45% 16%); color: hsl(0 70% 68%); }
.legal-final {
  margin-top: 48px; margin-bottom: 40px;
  text-align: center;
  background: hsl(var(--card));
  border-radius: 20px;
  padding: 40px 24px;
}
.legal-final h2 { font-size: 20px; font-weight: 800; }
.legal-final p { margin-top: 10px; color: hsl(var(--secondary)); font-size: 14.5px; }
.legal-final .actions { margin-top: 20px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ================================================
   ESTRUTURA ENXUTA (funil de venda — v2)
   ================================================ */

/* ---------- Header sem menu ---------- */
.bare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.bare-header .logo img { height: 26px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

/* ---------- Hero enxuto ---------- */
.hero-lean {
  margin-top: 8px;
  padding: 20px 0 8px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-lean h1 {
  margin-top: 18px;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.hero-lean h1 .accent { color: hsl(var(--primary)); }
.hero-lean .hero-sub {
  margin-top: 14px;
  font-size: 16.5px;
  color: hsl(var(--secondary));
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-price-box {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-lean .hero-trust {
  margin-top: 16px;
  font-size: 13.5px;
  color: hsl(var(--muted));
  font-weight: 500;
  justify-content: center;
}
.hero-lean .hero-eyebrow {
  justify-content: center;
}

/* ---------- Seções enxutas ---------- */
.section-tight { margin-top: 40px; position: relative; padding-top: 36px; }
.section-tight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--border)) 50%, transparent);
}
.section-head-lean { margin: 0 auto 22px; max-width: 720px; text-align: center; }
.section-head-lean h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Selo de confiança embutido no card ---------- */
.plan-embed-trust {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.plan-embed-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: hsl(var(--muted));
}
.plan-embed-trust svg { width: 13px; height: 13px; color: hsl(var(--primary)); }

/* ---------- Faixa única: como funciona + confiança ---------- */
.trust-band {
  margin-top: 56px;
  background: hsl(var(--card));
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: var(--shadow-card);
}
.trust-band-step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
  min-width: 200px;
}
.trust-band-num { font-size: 20px; font-weight: 800; color: hsl(var(--primary) / .4); flex-shrink: 0; }
.trust-band-step p { font-size: 13.5px; color: hsl(var(--secondary)); line-height: 1.5; }
.trust-band-step strong { color: hsl(var(--foreground)); font-size: 14px; }
.trust-band-sep { color: hsl(var(--border)); font-size: 18px; }
.trust-band-note {
  width: 100%;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid hsl(var(--border));
  font-size: 13px;
  color: hsl(var(--muted));
  text-align: center;
}
@media (max-width: 760px) {
  .trust-band-sep { display: none; }
  .trust-band-step { min-width: 100%; }
}

/* ---------- CTA final enxuto ---------- */
.final-cta-lean {
  margin-top: 56px;
  text-align: center;
  padding: 44px 24px;
}
.final-cta-lean h2 {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 520px;
  margin: 0 auto;
}
.final-cta-lean .btn { margin-top: 22px; }
.final-cta-lean .final-cta-note { margin-top: 12px; font-size: 13px; color: hsl(var(--muted)); }

/* ---------- Footer minimalista ---------- */
.site-footer-lean {
  margin: 40px 0 24px;
  padding-top: 24px;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer-lean img { height: 20px; }
.footer-lean-links { display: flex; gap: 20px; }
.footer-lean-links a { font-size: 13.5px; font-weight: 600; color: hsl(var(--secondary)); }
.footer-lean-links a:hover { color: hsl(var(--primary)); }
.footer-lean-copy { font-size: 12px; color: hsl(var(--muted)); width: 100%; order: 3; text-align: center; }
@media (min-width: 640px) {
  .footer-lean-copy { width: auto; order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Barra de CTA fixa (mobile) ---------- */
.sticky-cta {
  display: none;
}
@media (max-width: 760px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    background: hsl(var(--card));
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px hsl(0 0% 0% / 0.10);
    transform: translateY(0);
    transition: transform .25s ease;
  }
  .sticky-cta.is-hidden { transform: translateY(100%); }
  .sticky-cta .btn { flex-shrink: 0; padding: 10px 18px; font-size: 13.5px; }
  .sticky-cta .btn-primary { animation: pulse-btn-glow 2.2s ease-in-out infinite; }

  @keyframes pulse-btn-glow {
    0%, 100% {
      box-shadow: 0 1px 0 hsl(0 0% 100% / 0.22) inset, 0 8px 20px hsl(152 60% 25% / 0.4);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 1px 0 hsl(0 0% 100% / 0.22) inset, 0 8px 26px hsl(152 65% 45% / 0.7);
      transform: scale(1.035);
    }
  }
  /* respiro no fim da página pra barra não cobrir o footer */
  body.has-sticky-cta { padding-bottom: 66px; }
}

/* ---------- Ajustes finos mobile ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-lean { padding-top: 4px; }
  .hero-price-box { gap: 14px; }
  .bare-header { padding: 14px 0; }
  .plan-embed-trust { gap: 10px; }
}
.ty-wrap {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.ty-card { max-width: 420px; }
.ty-card img { height: 34px; margin: 0 auto 24px; }
.ty-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: hsl(152 45% 16%);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.ty-check svg { width: 28px; height: 28px; }
.ty-card h1 { font-size: 24px; font-weight: 800; }
.ty-card p { margin-top: 12px; color: hsl(var(--secondary)); font-size: 14.5px; }
.ty-card .btn { margin-top: 24px; }
