/* ============================================================
   IA NA PRÁTICA — design system
   Dark immersive · Space Grotesk + Inter · acento lima elétrico
   ============================================================ */

:root {
  --bg: #0b0b10;
  --bg-2: #101018;
  --surface: #15151f;
  --ink: #f2f2ec;
  --ink-2: rgba(242, 242, 236, 0.72);
  --ink-3: rgba(242, 242, 236, 0.48);
  --ink-4: rgba(242, 242, 236, 0.28);
  --lime: #d4ff3f;
  --lime-dim: rgba(212, 255, 63, 0.14);
  --violet: #8b7cff;
  --line: rgba(242, 242, 236, 0.08);
  --line-soft: rgba(242, 242, 236, 0.05);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);

  --step-hero: clamp(3rem, 9.5vw, 8.5rem);
  --step-h2: clamp(2.2rem, 5.5vw, 4.5rem);
  --step-h3: clamp(1.3rem, 2.4vw, 1.9rem);

  --space-section: clamp(6rem, 14vh, 11rem);
  --pad-x: clamp(1.25rem, 4vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lime); color: #0b0b10; }

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

/* ---------- utilities ---------- */
.container { max-width: 82rem; margin-inline: auto; padding-inline: var(--pad-x); }

.label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.label::before {
  content: '';
  width: 1.6rem; height: 1px;
  background: var(--lime);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: var(--step-h2); line-height: 1.02; }
h3 { font-size: var(--step-h3); line-height: 1.15; }

.muted { color: var(--ink-2); }

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed; inset: 0 auto auto 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--lime);
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.3s;
}
.cursor.is-hover { width: 52px; height: 52px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 998;
  background: var(--bg);
  display: grid; place-items: center;
}
.preloader__word {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  overflow: hidden;
}
.preloader__word span { display: inline-block; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 1.1rem var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(11,11,16,0.85), rgba(11,11,16,0.4));
  border-bottom: 1px solid var(--line-soft);
  transform: translateY(-100%);
  animation: navIn 0.8s var(--ease-out) 2.2s forwards;
}
@keyframes navIn { to { transform: translateY(0); } }

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.nav__logo em { color: var(--lime); font-style: normal; }

.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a {
  font-size: 0.85rem;
  color: var(--ink-2);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav__links a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--primary, .nav__links a.btn--primary { background: var(--lime); color: #0b0b10; }
.btn--primary:hover, .nav__links a.btn--primary:hover { transform: translateY(-2px); color: #0b0b10; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--big { font-size: 1.05rem; padding: 1.15rem 2.4rem; }
.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  padding: 8rem var(--pad-x) 4rem;
  overflow: clip;
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
}

.hero__orb {
  position: absolute;
  width: 46vw; height: 46vw;
  max-width: 640px; max-height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}
.hero__orb--lime { background: var(--lime); top: -18%; right: -12%; opacity: 0.13; }
.hero__orb--violet { background: var(--violet); bottom: -22%; left: -14%; opacity: 0.2; }

.hero__inner { position: relative; max-width: 82rem; margin-inline: auto; width: 100%; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  color: var(--ink-2);
  margin-bottom: 2.2rem;
  background: rgba(255,255,255,0.02);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.8); } }

.hero h1 {
  font-size: var(--step-hero);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 15ch;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; will-change: transform; }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink-3);
}
.hero h1 .accent { color: var(--lime); }

.hero__sub {
  margin-top: 2.4rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-2);
}

.hero__cta { margin-top: 2.8rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero__meta {
  margin-top: 4.5rem;
  display: flex; gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.hero__meta div { font-size: 0.85rem; color: var(--ink-3); }
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: clip;
  background: var(--bg-2);
}
.marquee__track {
  display: flex; gap: 3rem;
  width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  white-space: nowrap;
  display: flex; align-items: center; gap: 3rem;
}
.marquee__track span::after { content: '✦'; color: var(--lime); font-size: 0.8rem; }

/* ---------- sections ---------- */
.section { padding: var(--space-section) 0; position: relative; }
.section__head { max-width: 46rem; margin-bottom: clamp(3rem, 7vh, 5rem); }
.section__head .label { margin-bottom: 1.2rem; }
.section__head p { margin-top: 1.4rem; color: var(--ink-2); max-width: 36rem; }

/* ---------- problema (split) ---------- */
.problem { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.problem__card {
  background: var(--bg-2);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  transition: background 0.4s;
}
.problem__card:hover { background: var(--surface); }
.problem__card .num {
  font-family: var(--font-display);
  color: var(--ink-4);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.problem__card h3 { margin: 1rem 0 0.7rem; font-size: 1.25rem; }
.problem__card p { color: var(--ink-3); font-size: 0.95rem; }

/* ---------- módulos (sticky timeline) ---------- */
.modules__item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5vh, 4rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 860px) { .modules__item { grid-template-columns: 1fr; gap: 1.2rem; } }

.modules__index {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-4);
  transition: color 0.5s var(--ease-out), -webkit-text-stroke-color 0.5s;
}
.modules__item.is-active .modules__index { color: var(--lime); -webkit-text-stroke-color: var(--lime); }

.modules__week {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-top: 0.8rem;
  font-family: var(--font-display);
}

.modules__body h3 { margin-bottom: 1rem; }
.modules__body > p { color: var(--ink-2); margin-bottom: 1.6rem; max-width: 38rem; }

.modules__lessons { display: grid; gap: 0.6rem; }
.modules__lesson {
  display: flex; gap: 1rem; align-items: baseline;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255,255,255,0.015);
  font-size: 0.95rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.modules__lesson:hover { border-color: rgba(212,255,63,0.35); transform: translateX(6px); }
.modules__lesson .tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--lime);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.modules__lesson p { color: var(--ink-2); }

/* ---------- como funciona (bento) ---------- */
.how { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.bento__cell {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}
.bento__cell:hover { border-color: rgba(212,255,63,0.3); }
.bento__cell--wide { grid-column: span 4; }
.bento__cell--tall { grid-column: span 2; grid-row: span 2; }
.bento__cell--half { grid-column: span 2; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell--wide, .bento__cell--tall, .bento__cell--half { grid-column: span 2; grid-row: auto; }
}
.bento__cell h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.bento__cell p { font-size: 0.92rem; color: var(--ink-3); }
.bento__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--lime-dim);
  color: var(--lime);
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}
.bento__big {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.4rem;
}

/* meet mock */
.meet-mock {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.meet-mock__bar {
  display: flex; gap: 6px;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}
.meet-mock__bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-4); display: block;
}
.meet-mock__bar i:first-child { background: #ff5f57; }
.meet-mock__bar i:nth-child(2) { background: #febc2e; }
.meet-mock__bar i:nth-child(3) { background: #28c840; }
.meet-mock__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; padding: 10px;
}
.meet-mock__tile {
  aspect-ratio: 4/3;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bg-2), var(--surface));
  border: 1px solid var(--line-soft);
  position: relative;
}
.meet-mock__tile::after {
  content: '';
  position: absolute; inset: auto auto 22% 50%;
  transform: translateX(-50%);
  width: 34%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink-4);
}
.meet-mock__tile::before {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 58%; height: 34%;
  border-radius: 50% 50% 0 0;
  background: var(--ink-4);
}
.meet-mock__tile--speaking { border-color: var(--lime); }
.meet-mock__tile--speaking::after, .meet-mock__tile--speaking::before { background: rgba(212,255,63,0.5); }

/* ---------- instrutor ---------- */
.mentor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 860px) { .mentor__grid { grid-template-columns: 1fr; } }
.mentor__photo {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
}
.mentor__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: filter 0.6s; }
.mentor__photo:hover img { filter: grayscale(0%); }
.mentor__body h2 { margin-bottom: 1.4rem; }
.mentor__body p { color: var(--ink-2); margin-bottom: 1rem; }
.mentor__stats { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.mentor__stats strong {
  font-family: var(--font-display);
  font-size: 1.9rem; display: block; color: var(--lime);
}
.mentor__stats span { font-size: 0.85rem; color: var(--ink-3); }

/* ---------- oferta ---------- */
.offer { position: relative; overflow: clip; }
.offer__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,255,63,0.07), transparent 70%);
  pointer-events: none;
}
.offer__card {
  max-width: 44rem;
  margin-inline: auto;
  border: 1px solid rgba(212,255,63,0.25);
  border-radius: 28px;
  padding: clamp(2.2rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(212,255,63,0.05), rgba(255,255,255,0.01));
  text-align: center;
  position: relative;
}
.offer__badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--lime); color: #0b0b10;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  white-space: nowrap;
}
.offer__price {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  margin: 1.2rem 0 0.4rem;
}
.offer__price s { color: var(--ink-4); font-size: 0.35em; font-weight: 500; vertical-align: super; margin-right: 0.4rem; }
.offer__installments { color: var(--ink-3); font-size: 0.95rem; margin-bottom: 2rem; }
.offer__list {
  list-style: none;
  text-align: left;
  max-width: 26rem;
  margin: 0 auto 2.4rem;
  display: grid; gap: 0.7rem;
}
.offer__list li { display: flex; gap: 0.7rem; font-size: 0.95rem; color: var(--ink-2); }
.offer__list li::before { content: '✓'; color: var(--lime); font-weight: 700; }
.offer__guarantee { margin-top: 1.4rem; font-size: 0.85rem; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lime); }
.faq summary .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s;
}
.faq details[open] .plus { transform: rotate(45deg); background: var(--lime); color: #0b0b10; border-color: var(--lime); }
.faq details p { padding: 0 0 1.6rem; color: var(--ink-2); max-width: 40rem; }

/* ---------- CTA final ---------- */
.final {
  text-align: center;
  padding: var(--space-section) var(--pad-x);
  position: relative;
  overflow: clip;
}
.final h2 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 18ch;
  margin-inline: auto;
}
.final h2 .accent { color: var(--lime); }
.final .btn { margin-top: 2.8rem; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: var(--ink-3);
}

/* ---------- reveal defaults (JS toggles) ---------- */
.reveal { opacity: 0; transform: translateY(30px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .nav { transform: none; animation: none; }
}
