:root {
  --navy: #0b3d91;
  --blue: #1c7ed6;
  --sky: #e7f5ff;
  --ink: #14171c;
  --muted: #5b616e;
  --line: #e3e7ec;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --green: #2b8a3e;
  --yel: #ffd43b;
  --red: #e03131;
  --red-soft: #fff5f5;
  --red-border: #ffe3e3;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}

/* ==========================================================================
   Typography & Common Elements
   ========================================================================== */
h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(32px, 6vw, 54px);
}

h2 {
  font-size: clamp(26px, 4.2vw, 38px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 1em;
}

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

.center {
  text-align: center;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
}

/* ==========================================================================
   Buttons & Tags
   ========================================================================== */
.btn {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-weight: 800;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 6px 0 var(--blue);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--blue);
}

.btn.alt {
  background: #fff;
  box-shadow: 0 6px 0 #c7d0db;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 99px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

/* ==========================================================================
   Top Navigation
   ========================================================================== */
.top-nav {
  background: #093175;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-nav .logo {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-login-btn {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.15s ease-in-out;
}

.nav-login-btn:hover {
  background: #fff;
  color: var(--navy);
}

/* ==========================================================================
   Hero Section & Spreadsheet Mockup
   ========================================================================== */
.hero {
  background: linear-gradient(160deg, var(--navy), var(--blue));
  color: #fff;
  padding: 64px 0 80px;
}

.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero p.sub {
  font-size: 20px;
  opacity: 0.94;
  max-width: 34ch;
}

.hero small {
  display: block;
  margin-top: 14px;
  opacity: 0.85;
}

.mock {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  font-size: 13px;
}

.mock .bar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.mock .bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dee2e6;
  display: block;
}

.mock .t {
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 8px;
}

.mock table {
  width: 100%;
  border-collapse: collapse;
}

.mock td {
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
}

.mock td.r {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mock .neg {
  color: #c92a2a;
  font-weight: 700;
}

.mock .ok {
  margin-top: 10px;
  background: #ebfbee;
  color: var(--green);
  font-weight: 800;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
}

.mock .meter {
  height: 10px;
  background: var(--sky);
  border-radius: 99px;
  margin-top: 10px;
  overflow: hidden;
}

.mock .meter b {
  display: block;
  height: 100%;
  width: 38%;
  background: var(--blue);
}

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.pain {
  background: var(--soft);
}

.pain ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pain li {
  background: #fff;
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.04);
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

.pain li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 61, 145, 0.09);
  border-color: #cfd6de;
  border-left-color: #c92a2a;
}

.pain li:active {
  transform: scale(0.985);
  transition: transform 0.12s ease-in-out;
}

.pain-ic {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.pain-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   Cards Section
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.07);
}

.card:active {
  transform: scale(0.985);
  transition: transform 0.12s ease-in-out;
}

.card .ic {
  font-size: 28px;
  margin-bottom: 8px;
}

/* ==========================================================================
   Course Lessons / Modules Section
   ========================================================================== */
.lessons {
  counter-reset: l;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.lessons div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px 16px 62px;
  position: relative;
  background: #fff;
}

.lessons div::before {
  counter-increment: l;
  content: counter(l);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.lessons b {
  display: block;
}

/* ==========================================================================
   Target Audience ("É pra você?") Section
   ========================================================================== */
.forwho {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.forwho div {
  border-radius: 16px;
  padding: 22px;
}

.yes {
  background: #ebfbee;
}

.no {
  background: #fff5f5;
}

.forwho ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.forwho li {
  font-size: 17.5px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.forwho .yes li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}

.forwho .no li::before {
  content: "✕";
  color: var(--red);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}

/* ==========================================================================
   Pricing & Plans Section
   ========================================================================== */
.plans {
  background: var(--soft);
}

.pgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
  align-items: stretch;
}

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 61, 145, 0.08);
}

.plan:active {
  transform: scale(0.985);
  transition: transform 0.12s ease-in-out;
}

.plan.best {
  border: 3px solid var(--blue);
  position: relative;
  box-shadow: 0 20px 40px rgba(28, 126, 214, 0.15);
}

.plan.best::before {
  content: "Mais escolhido";
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 99px;
}

.price {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 6px 0 2px;
}

.price small {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.plan ul {
  padding-left: 0;
  list-style: none;
  margin: 16px 0 24px;
  flex: 1;
}

.plan li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 16px;
  font-weight: 600;
}

.plan li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 900;
}

.plan li.off {
  color: #adb5bd;
}

.plan li.off::before {
  content: "– ";
  color: #adb5bd;
}

.plan .btn {
  text-align: center;
}

/* ==========================================================================
   Guarantee & Social Proof
   ========================================================================== */
.guarantee {
  display: flex;
  gap: 22px;
  align-items: center;
  border: 2px dashed var(--blue);
  border-radius: 18px;
  padding: 26px;
  margin-top: 30px;
  background: #fff;
}

.seal {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
  line-height: 1.05;
}

.seal span {
  font-size: 34px;
  display: block;
}

.about {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--sky);
  display: grid;
  place-items: center;
  font-size: 44px;
}

.proof {
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
  background: var(--soft);
}

.faq .wrap {
  max-width: 1260px;
}

.faq-header {
  text-align: left;
  margin-bottom: 28px;
}

.faq-header h2 {
  font-size: clamp(28px, 4.2vw, 38px);
  margin: 0 0 6px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 4px 12px rgba(11, 61, 145, 0.03);
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.07);
  border-color: #cfd6de;
}

.faq-card:active {
  transform: scale(0.985);
  transition: transform 0.12s ease-in-out;
}

.faq-card[open] {
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(28, 126, 214, 0.1);
}

.faq-card summary {
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
  user-select: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  flex: none;
  display: inline-block;
  transition: transform 0.26s ease-in-out, color 0.26s ease-in-out;
}

.faq-card[open] summary::after {
  content: "+";
  transform: rotate(45deg);
  color: var(--navy);
}

.faq-card p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.faq-card p a {
  color: var(--blue);
  word-break: break-all;
}

/* ==========================================================================
   Final CTA & Footer
   ========================================================================== */
.final {
  background: linear-gradient(160deg, var(--navy), var(--blue));
  color: #fff;
  text-align: center;
}

footer {
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 1081px) {
  .faq-card summary {
    white-space: nowrap;
  }
}

@media (max-width: 1080px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  section {
    padding: 52px 0;
  }

  .hero .grid,
  .pgrid,
  .forwho,
  .lessons,
  .pain ul,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .guarantee {
    flex-direction: column;
    text-align: center;
  }

  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .avatar {
    margin: 0 auto;
  }

  .btn {
    display: block;
    text-align: center;
  }

  .pain li {
    padding: 16px 18px;
    gap: 14px;
  }

  .pain-ic {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .pain-text {
    font-size: 18px;
  }
}
