.nav-active {
  color: var(--text) !important;
}

.how-hero {
  width: 100%;
  padding: 96px 0 72px;
}

.how-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 52px;
  align-items: center;
}

.how-hero-copy p,
.guide-header p,
.final-cta-card p {
  margin-top: 24px;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.how-hero-panel {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-hero-panel::before {
  content: "";
  position: absolute;
  width: min(430px, 88vw);
  height: min(430px, 88vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(236, 72, 153, .22), transparent 62%);
  filter: blur(8px);
}

.how-window-card,
.final-cta-card {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.06));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.how-window-card::after,
.final-cta-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(139, 92, 246, .3);
  filter: blur(70px);
  pointer-events: none;
}

.window-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.how-window-card h2,
.final-cta-card h2 {
  position: relative;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  z-index: 1;
}

.how-window-card p,
.final-cta-card p {
  position: relative;
  z-index: 1;
}

.flow-preview {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.flow-preview span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #efe8ff;
  font-weight: 800;
  background: rgba(255,255,255,.07);
}

.guide-section {
  padding-top: 84px;
  padding-bottom: 48px;
}

.guide-section-alt {
  padding-top: 52px;
}

.guide-header {
  align-items: end;
  margin-bottom: 28px;
}

.guide-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.guide-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,.1);
  cursor: pointer;
  transition: .3s var(--ease);
}

.guide-btn:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.17);
}

.guide-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 430px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 2px;
  padding: 4px 4px 18px;
  scrollbar-width: none;
}

.guide-carousel::-webkit-scrollbar {
  display: none;
}

.guide-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  overflow: hidden;
  transition: .35s var(--ease);
}

.guide-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 38%);
  opacity: .9;
  pointer-events: none;
}

.guide-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.22);
}

.guide-blue { background: linear-gradient(145deg, rgba(34, 211, 238, .14), rgba(255,255,255,.06)); }
.guide-green { background: linear-gradient(145deg, rgba(52, 211, 153, .15), rgba(255,255,255,.06)); }
.guide-coral { background: linear-gradient(145deg, rgba(236, 72, 153, .17), rgba(255,255,255,.06)); }
.guide-purple { background: linear-gradient(145deg, rgba(139, 92, 246, .18), rgba(255,255,255,.06)); }

.step-count {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  background: rgba(255,255,255,.12);
}

.guide-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.guide-card p {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.guide-tags,
.guide-info {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 24px;
}

.guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-tags span,
.guide-info {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 8px 11px;
  color: #f4eaff;
  font-size: .82rem;
  font-weight: 800;
  background: rgba(255,255,255,.08);
}

.guide-info {
  border-radius: 16px;
  line-height: 1.55;
}

.guide-alert {
  border-color: rgba(236, 72, 153, .28);
  background: rgba(236, 72, 153, .1);
}

.carousel-progress {
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  overflow: hidden;
}

.carousel-progress span {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  transition: width .25s var(--ease);
}

.final-cta-section {
  padding-top: 72px;
  padding-bottom: 120px;
}

.final-cta-card {
  width: 100%;
  min-height: 330px;
}

.final-cta-card h2,
.final-cta-card p,
.final-actions {
  max-width: 760px;
}

@media (max-width: 1024px) {
  .how-hero-grid {
    grid-template-columns: 1fr;
  }

  .how-hero-panel {
    min-height: auto;
  }

  .how-window-card {
    width: 100%;
  }

  .guide-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .guide-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .how-hero {
    padding: 74px 0 48px;
  }

  .how-hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.55rem);
  }

  .how-hero-copy p,
  .guide-header p,
  .final-cta-card p {
    font-size: 1rem;
  }

  .how-window-card,
  .final-cta-card {
    padding: 22px;
    border-radius: 22px;
  }

  .flow-preview span {
    min-height: 44px;
  }

  .guide-section {
    padding-top: 58px;
  }

  .guide-carousel {
    grid-auto-columns: minmax(82vw, 88vw);
    gap: 14px;
    padding-bottom: 14px;
  }

  .guide-card {
    min-height: 390px;
    padding: 22px;
  }

  .guide-card h3 {
    font-size: 1.36rem;
  }

  .guide-actions {
    width: 100%;
  }

  .guide-btn {
    flex: 1;
  }

  .final-cta-section {
    padding-bottom: 100px;
  }
}

/* ========================================
   AJUSTE 01 — PÁGINA 100% LARGURA
======================================== */

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.how-hero,
.guide-section,
.final-cta-section {
  width: 100%;
  max-width: 100%;
}

/* Remove a limitação centralizada do .container somente nesta página */
.how-hero > .container,
.guide-section > .container,
.final-cta-section > .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: clamp(18px, 4vw, 72px);
  padding-right: clamp(18px, 4vw, 72px);
}

/* Hero mais aberto na tela */
.how-hero-grid {
  width: 100%;
  max-width: 100%;
}

/* O card visual vai para a direita, usando melhor o espaço */
.how-hero-panel {
  justify-content: flex-end;
}

/* Guia usando largura total */
.guide-carousel {
  width: 100%;
}

/* CTA final ocupando toda a largura */
.final-cta-card {
  width: 100%;
  max-width: 100%;
}

/* Mobile */
@media (max-width: 760px) {
  .how-hero > .container,
  .guide-section > .container,
  .final-cta-section > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .how-hero-panel {
    justify-content: center;
  }
}

/* ========================================
   AJUSTE 02 — HERO, CARDS E CTA FINAL
======================================== */

/* Hero centralizado apenas em telas grandes */
@media (min-width: 1025px) {
  .how-hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .how-hero-copy {
    max-width: 980px;
    text-align: center;
  }

  .how-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .how-hero-copy .hero-actions,
  .how-hero-copy .trust-row {
    justify-content: center;
  }
}

/* Cards dos guias quadrados */
.guide-card {
  border-radius: 0;
}

/* Tags e caixas internas com menos arredondamento */
.guide-tags span,
.guide-info,
.guide-alert {
  border-radius: 0;
}

/* Botões dos carrosséis menores e quadrados */
.guide-btn {
  width: 40px;
  height: 40px;
  border-radius: 0;
  font-size: 1rem;
}

/* Mantém os botões menores também no mobile */
@media (max-width: 760px) {
  .guide-actions {
    width: auto;
  }

  .guide-btn {
    flex: initial;
    width: 42px;
    height: 42px;
  }
}

/* CTA final com fundo em 100% da tela */
.final-cta-section {
  width: 100%;
  max-width: 100%;
  padding: 90px 0 130px;
  background:
    radial-gradient(circle at 12% 20%, rgba(139, 92, 246, .24), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(34, 211, 238, .16), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.final-cta-section > .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: clamp(18px, 4vw, 72px);
  padding-right: clamp(18px, 4vw, 72px);
}

.final-cta-card {
  border-radius: 0;
}

/* ========================================
   AJUSTE 03 — HERO MAIS ABERTO E ORGANIZADO
======================================== */

@media (min-width: 1025px) {
  .how-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 130px 0 95px;
  }

  .how-hero-grid {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .how-hero-copy {
    width: 100%;
    max-width: 1180px;
    text-align: left;
  }

  .how-hero-copy .eyebrow {
    margin-left: 0;
  }

.how-hero-copy h1 {
  max-width: 980px;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: .95;
  letter-spacing: -0.05em;
}

  .how-hero-copy p {
    max-width: 760px;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.15rem;
  }

  .how-hero-copy .hero-actions,
  .how-hero-copy .trust-row {
    justify-content: flex-start;
  }

  .how-hero-copy .trust-row {
    max-width: 900px;
  }
}