/* ==========================================================================
   Vibe Coding na Prática — Landing Page
   Mobile-first. Sem frameworks. Paleta: navy escuro + azul elétrico + ciano
   + dourado (somente destaques/CTAs).
   ========================================================================== */

:root {
  --bg-0: #05070f;
  --bg-1: #0a0e1c;
  --bg-2: #0f1428;
  --bg-card: #10162c;
  --border-soft: rgba(120, 150, 255, 0.14);
  --border-strong: rgba(120, 150, 255, 0.28);

  --blue: #3b6bf6;
  --blue-strong: #4f7dff;
  --cyan: #22d3ee;
  --gold: #f2b705;
  --gold-strong: #ffcb2b;

  --text-0: #f5f7fc;
  --text-1: #c7cee3;
  --text-2: #8d96b8;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px -10px rgba(59, 107, 246, 0.35);

  --maxw: 1180px;

  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-0);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; }
a { color: inherit; }

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

section { padding: 64px 0; position: relative; }
section.tight { padding: 48px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.text-blue { color: var(--blue-strong); }
.text-cyan { color: var(--cyan); }
.text-gold { color: var(--gold-strong); }

.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4.5vw, 38px); }
.section-head p { color: var(--text-1); font-size: 17px; }

/* ---------------------------------- Buttons ---------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 17px 30px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: normal;
  text-align: center;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #1a1200;
  box-shadow: 0 14px 30px -10px rgba(242, 183, 5, 0.55);
}
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-0);
  border: 1px solid var(--border-strong);
  padding: 15px 28px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 20px; font-size: 13px; }

.cta-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-2);
}
.cta-note span { display: inline-flex; align-items: center; gap: 6px; }
.cta-note svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(5, 7, 15, 0.92);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text-0);
  line-height: 1.15;
  text-decoration: none;
}
.logo span { display: block; color: var(--blue-strong); }
.nav-links {
  display: none;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-1);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text-0); }
.header-cta { display: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .header-cta { display: inline-flex; }
}

/* ---------------------------------- Hero -------------------------------- */

.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(59, 107, 246, 0.22), transparent 60%),
    radial-gradient(45% 40% at 10% 10%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--bg-0);
  overflow: hidden;
}
.hero .container {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero-media { order: 2; }
  .hero-copy { order: 1; }
}

.hero-copy h1 {
  font-size: clamp(30px, 5.4vw, 50px);
  margin-bottom: 18px;
}
.hero-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 22px);
  color: var(--text-0);
  margin-bottom: 18px;
}
.hero-sub .highlight {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy > p.lead {
  font-size: 17px;
  color: var(--text-1);
  max-width: 52ch;
}
.hero-cta { margin-top: 28px; }

.hero-media { position: relative; }
.hero-media-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-0);
  box-shadow: var(--shadow-card);
  display: none;
}
@media (min-width: 640px) { .hero-badge { display: block; } }

/* ---------------------------------- Sections bg alt --------------------- */

.section-alt { background: var(--bg-1); }
.section-border-top { border-top: 1px solid var(--border-soft); }

/* ---------------------------------- Cards -------------------------------- */

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}
.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.card p { color: var(--text-1); font-size: 14.5px; margin-bottom: 0; }
.card.card-bonus {
  border: 1px dashed rgba(242, 183, 5, 0.4);
  background: rgba(242, 183, 5, 0.06);
}
.card.card-bonus h3 { color: var(--gold-strong); }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(59, 107, 246, 0.14);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

/* ------------------------------ Método flow ------------------------------ */

.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 900px) {
  .flow { flex-direction: row; align-items: stretch; gap: 8px; }
}
.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-0);
  flex: 1;
}
.flow-step.final {
  background: linear-gradient(180deg, rgba(242,183,5,0.18), rgba(242,183,5,0.06));
  border-color: rgba(242, 183, 5, 0.4);
  color: var(--gold-strong);
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-strong);
  font-size: 18px;
  padding: 6px 0;
}
@media (min-width: 900px) { .flow-arrow { padding: 0 2px; } }

.flow-detail-grid {
  margin-top: 28px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .flow-detail-grid { grid-template-columns: repeat(5, 1fr); } }
.flow-detail {
  border-left: 2px solid var(--blue-strong);
  padding-left: 14px;
}
.flow-detail h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cyan); margin-bottom: 6px; }
.flow-detail p { font-size: 14px; margin: 0; color: var(--text-1); }

/* ------------------------------ Prompt compare --------------------------- */

.prompt-compare {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin: 28px 0;
}
@media (min-width: 760px) { .prompt-compare { grid-template-columns: 1fr 1fr; } }
.prompt-box {
  border-radius: var(--radius-md);
  padding: 22px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.7;
}
.prompt-box.bad {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f3a9a9;
}
.prompt-box.good {
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--text-0);
}
.prompt-box .label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.prompt-box.bad .label { color: #f87171; }
.prompt-box.good .label { color: var(--cyan); }
.prompt-box ul { margin: 0; padding-left: 0; list-style: none; }
.prompt-box li { margin-bottom: 6px; }

/* ------------------------------ Checklist -------------------------------- */

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; } }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-1);
}
.check-list svg { color: var(--cyan); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.check-list.negative svg { color: #f87171; }

/* ------------------------------ Timeline grid ---------------------------- */

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) { .topics-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .topics-grid { grid-template-columns: repeat(4, 1fr); } }
.topic-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--text-1);
  display: flex;
  gap: 8px;
}
.topic-item .n { color: var(--cyan); font-weight: 800; font-family: var(--font-display); flex-shrink: 0; }

/* ------------------------------ Author ----------------------------------- */

.author-card {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .author-card { grid-template-columns: auto 1fr; } }
.author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 2px solid var(--border-strong);
  box-shadow: 0 0 0 4px rgba(59, 107, 246, 0.12);
  flex-shrink: 0;
  display: block;
}
.author-name { font-size: 20px; margin-bottom: 4px; }
.author-role { color: var(--cyan); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }

/* ------------------------------ Next level -------------------------------- */

.upgrade-flow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--text-0);
  margin-bottom: 28px;
}
.upgrade-flow .pill {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 10px 20px;
}
.upgrade-flow .pill.dim { color: var(--text-2); }
.upgrade-flow svg { color: var(--blue-strong); width: 18px; height: 18px; }

/* ------------------------------ Offer ------------------------------------- */

.offer {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(59, 107, 246, 0.25), transparent 65%),
    var(--bg-1);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.offer-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.offer-box .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 7vw, 48px);
  color: var(--gold-strong);
  margin: 6px 0 22px;
}
.offer-box .price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
}
.offer-list {
  text-align: left;
  list-style: none;
  margin: 24px 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.offer-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-1); }
.offer-list svg { color: var(--cyan); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.offer-list li.bonus { color: var(--text-0); font-weight: 700; }
.offer-list li.bonus svg { color: var(--gold-strong); }
.offer-legal { margin-top: 16px; font-size: 12.5px; color: var(--text-2); }

.offer-bonus {
  margin: 4px 0 26px;
  padding: 16px 18px;
  border: 1px dashed rgba(242, 183, 5, 0.4);
  border-radius: var(--radius-md);
  background: rgba(242, 183, 5, 0.06);
  text-align: left;
}
.offer-bonus .eyebrow { margin-bottom: 10px; }
.offer-bonus .eyebrow.gold {
  color: var(--gold-strong);
  background: rgba(242, 183, 5, 0.1);
  border-color: rgba(242, 183, 5, 0.35);
}
.offer-bonus h4 { margin: 0 0 6px; font-size: 15.5px; color: var(--text-0); }
.offer-bonus p { margin: 0; font-size: 14px; color: var(--text-1); }

/* ------------------------------ FAQ ---------------------------------------- */

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-0);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-question .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: transform 0.2s ease;
}
.faq-item[data-open="true"] .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer-inner { padding: 0 20px 20px; color: var(--text-1); font-size: 14.5px; }

/* ------------------------------ Final CTA ---------------------------------- */

.final-cta {
  text-align: center;
  background:
    radial-gradient(50% 80% at 50% 100%, rgba(242, 183, 5, 0.14), transparent 60%),
    var(--bg-0);
}
.final-cta h2 { font-size: clamp(26px, 5vw, 40px); max-width: 760px; margin: 0 auto 16px; }
.final-cta p { max-width: 560px; margin: 0 auto 30px; font-size: 16px; }
.final-cta small { display: block; margin-top: 18px; color: var(--text-2); font-size: 13px; }

/* ------------------------------ Sticky mobile CTA --------------------------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(8, 11, 22, 0.96);
  border-top: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(120%);
  transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .label { font-size: 13px; font-weight: 700; color: var(--text-0); font-family: var(--font-display); }
.sticky-cta .btn { padding: 12px 18px; font-size: 13px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ------------------------------ Footer -------------------------------------- */

.site-footer {
  padding: 48px 0 100px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-1);
}
@media (min-width: 900px) { .site-footer { padding-bottom: 48px; } }
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (min-width: 700px) {
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-brand { font-family: var(--font-display); font-weight: 800; color: var(--text-0); }
.footer-brand span { display: block; font-weight: 500; color: var(--text-2); font-size: 13px; margin-top: 4px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.footer-links a { text-decoration: none; color: var(--text-2); }
.footer-links a:hover { color: var(--text-0); }
.footer-copy { font-size: 12.5px; color: var(--text-2); margin-top: 24px; }

/* ------------------------------ Legal pages ---------------------------------- */

.legal-page { padding: 100px 0 80px; }
.legal-page h1 { font-size: clamp(26px, 4vw, 34px); }
.legal-page h2 { font-size: 19px; margin-top: 32px; }
.legal-page p, .legal-page li { color: var(--text-1); font-size: 15px; }
.legal-page .updated { color: var(--text-2); font-size: 13px; margin-bottom: 32px; }
.legal-page a.back { color: var(--cyan); text-decoration: none; font-weight: 600; font-size: 14px; }

/* ------------------------------ Utilities ------------------------------------ */

.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
