/* ============================================
   APEX — style.css
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === TOKENS === */
:root {
  --primary: #7c3aed;
  --primary-h: #a855f7;
  --accent: #f59e0b;
  --muted: #6b7280;
  --border: rgba(124,58,237,.2);
  --card: rgba(255,255,255,.03);
  --header-h: 72px;
  --max-w: 1200px;
  --r: 16px;
}

/* === UTILS === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.text-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3 { font-family: 'Oswald', sans-serif; font-weight: 700; line-height: 1.15; }

.section { padding: 96px 0; }
.section__header { text-align: center; margin-bottom: 64px; }

.section__tag {
  display: inline-block;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a855f7;
  margin-bottom: 18px;
}

.section__title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.section__subtitle { color: var(--muted); max-width: 580px; font-size: .9375rem; }
.section__header .section__subtitle { margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all .22s ease;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 22px rgba(124,58,237,.35);
}
.btn--primary:hover {
  background: var(--primary-h);
  box-shadow: 0 0 32px rgba(168,85,247,.5);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-h); }
.btn--lg { padding: 15px 30px; font-size: .9375rem; border-radius: 10px; }

/* === FADE-IN === */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in--d1 { transition-delay: .15s; }
.fade-in--d2 { transition-delay: .3s; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(124,58,237,.14);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}
.header__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: .12em;
  color: var(--primary);
  text-shadow: 0 0 24px rgba(124,58,237,.5);
  flex-shrink: 0;
}
.header__nav-list { display: flex; gap: 28px; }
.header__nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: #9ca3af;
  transition: color .2s;
}
.header__nav-link:hover { color: #fff; }
.header__actions { display: flex; gap: 10px; align-items: center; }

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .28s;
}
.header__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(124,58,237,.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 85% 50%, rgba(168,85,247,.1) 0%, transparent 60%),
    #000;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(124,58,237,.1) 1px, transparent 0);
  background-size: 42px 42px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}
.hero__stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero__stars-text { font-size: .875rem; font-weight: 500; color: #d1d5db; }
.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: .025em;
  margin-bottom: 18px;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 34px;
}
.hero__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 34px;
  max-width: 460px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
}
.pillar__icon { color: var(--primary); flex-shrink: 0; }
.pillar__text { font-size: .8rem; font-weight: 600; color: #e5e7eb; }

/* iPhone mockup */
.hero__mockup { display: flex; justify-content: center; align-items: center; }
.iphone-svg {
  width: 100%;
  max-width: 268px;
  filter: drop-shadow(0 24px 64px rgba(124,58,237,.42));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============================================
   STATS
   ============================================ */
.stats {
  padding: 40px 0;
  border-top: 1px solid rgba(124,58,237,.14);
  border-bottom: 1px solid rgba(124,58,237,.14);
  background: rgba(124,58,237,.04);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  text-align: center;
}
.stat__number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: .05em;
  color: var(--primary);
}
.stat__label { font-size: .8125rem; color: var(--muted); margin-top: 4px; }

/* ============================================
   MÉTODO APEX
   ============================================ */
.apex-method { background: #050505; }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.method-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color .28s, transform .28s;
}
.method-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-h));
  opacity: 0;
  transition: opacity .28s;
}
.method-card:hover { border-color: rgba(124,58,237,.45); transform: translateY(-4px); }
.method-card:hover::before { opacity: 1; }
.method-card__step {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: rgba(124,58,237,.1);
  line-height: 1;
  margin-bottom: 14px;
}
.method-card__icon {
  width: 46px; height: 46px;
  background: rgba(124,58,237,.12);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.method-card__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 7px;
}
.method-card__title { font-size: 1.35rem; margin-bottom: 10px; }
.method-card__desc { color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ============================================
   RECURSOS
   ============================================ */
.recursos { background: #000; }
.recursos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.recurso-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r);
  padding: 30px 26px;
  transition: border-color .28s, background .28s, transform .28s;
}
.recurso-card:hover {
  border-color: rgba(124,58,237,.3);
  background: rgba(124,58,237,.05);
  transform: translateY(-4px);
}
.recurso-card__icon {
  width: 42px; height: 42px;
  background: rgba(124,58,237,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary-h);
}
.recurso-card__title { font-size: 1.05rem; margin-bottom: 9px; }
.recurso-card__desc { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimentos { background: #050505; }
.depo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.depo-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  padding: 30px;
  transition: border-color .28s, transform .28s;
  display: flex;
  flex-direction: column;
}
.depo-card:hover { border-color: rgba(124,58,237,.3); transform: translateY(-4px); }
.depo-card__stars { display: flex; gap: 3px; margin-bottom: 18px; }
.depo-card__quote {
  font-size: .9rem;
  line-height: 1.72;
  color: #d1d5db;
  margin-bottom: 22px;
  font-style: italic;
  flex: 1;
}
.depo-card__author { display: flex; align-items: center; gap: 13px; }
.author__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.author__name { font-weight: 600; font-size: .9rem; }
.author__role { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.depo-card__result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================
   PLANOS
   ============================================ */
.planos { background: #000; }
.planos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.plano-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .28s, border-color .28s;
}
.plano-card:hover { transform: translateY(-4px); }
.plano-card--dest {
  background: rgba(124,58,237,.08);
  border-color: var(--primary);
  box-shadow: 0 0 44px rgba(124,58,237,.2);
}
.plano-card--dest:hover { border-color: var(--primary-h); }
.plano-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-h));
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 15px;
  border-radius: 100px;
  white-space: nowrap;
}
.plano-card__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .1em;
  color: #9ca3af;
  margin-bottom: 6px;
}
.plano-card--dest .plano-card__name { color: var(--primary-h); }
.plano-card__price { margin-bottom: 6px; }
.plano-card__price-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  letter-spacing: .02em;
  line-height: 1;
}
.plano-card__price-per { font-size: .85rem; color: var(--muted); }
.plano-card__desc { font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.plano-card__features { flex: 1; margin-bottom: 28px; display: flex; flex-direction: column; gap: 11px; }
.plano-feature { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: #d1d5db; }
.plano-feature svg { color: var(--primary); flex-shrink: 0; }
.plano-card--dest .plano-feature svg { color: var(--primary-h); }

/* ============================================
   FAQ
   ============================================ */
.faq { background: #050505; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: rgba(124,58,237,.3); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(124,58,237,.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .28s, background .28s;
  color: var(--primary);
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); background: rgba(124,58,237,.28); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.faq-item__a-inner {
  padding: 0 22px 18px;
  color: #9ca3af;
  font-size: .9rem;
  line-height: 1.72;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-sec {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-sec__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(124,58,237,.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-sec__inner { position: relative; z-index: 1; }
.cta-sec__title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.cta-sec__sub { color: #9ca3af; max-width: 480px; margin: 0 auto 32px; font-size: .9375rem; }
.cta-sec__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #000;
  border-top: 1px solid rgba(124,58,237,.14);
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: .1em;
  color: var(--primary);
  display: block;
  margin-bottom: 14px;
}
.footer__desc { font-size: .85rem; color: var(--muted); line-height: 1.7; max-width: 270px; }
.footer__col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a { font-size: .85rem; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--primary-h); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer__copy { font-size: .78rem; color: #374151; }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { font-size: .78rem; color: #374151; transition: color .2s; }
.footer__legal a:hover { color: #9ca3af; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .header__nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(0,0,0,.97);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: all .28s;
    border-bottom: 1px solid rgba(124,58,237,.2);
  }
  .header__nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .header__nav-list { flex-direction: column; gap: 2px; }
  .header__nav-link { display: block; padding: 11px 0; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.04); }
  .header__actions { display: none; }
  .header__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; text-align: center; }
  .hero__subtitle, .hero__pillars { max-width: 100%; }
  .hero__pillars { max-width: 100%; }
  .hero__mockup { order: -1; }
  .iphone-svg { max-width: 190px; }
  .hero__stars { justify-content: center; }
  .hero__subtitle { margin: 0 auto 28px; }
  .hero__content .btn { margin: 0 auto; }

  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .method-grid, .recursos-grid, .depo-grid, .planos-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__pillars { grid-template-columns: 1fr; }
  .cta-sec__btns { flex-direction: column; align-items: center; }
}
