/* ============================================================
   PJzen — Site
   Visual tokens grounded in the Figma source.
   ============================================================ */

@font-face {
  font-family: "Overused Grotesk";
  src: url("../font/OverusedGrotesk-Roman-BF64eeac17dee17.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overused Grotesk";
  src: url("../font/OverusedGrotesk-Medium-BF64eeac181a996.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overused Grotesk";
  src: url("../font/OverusedGrotesk-SemiBold-BF64eeac17e1195.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overused Grotesk";
  src: url("../font/OverusedGrotesk-Bold-BF64eeac1756b57.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overused Grotesk";
  src: url("../font/OverusedGrotesk-ExtraBold-BF64eeac180b325.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Light (PJ) theme — defaults */
  --bg: #ffffff;
  --bg-cream: #f5f3f1;
  --bg-stone: #f5f5f5;
  --bg-section-green: #e7f2e5;
  --bg-section-lilac: #f5f3f6;
  --bg-card: #ffffff;
  --bg-chip: #f0ebe5;
  --bg-chip-2: #e6dad1;
  --surface-card-2: #ededeb;
  --border-soft: #edecea;
  --border-light: #e9e7e5;
  --border-card: #e3e0e3;

  --text: #2c222d;
  --text-2: #1c1b1f;
  --text-muted: #757575;
  --text-faint: #b5b5b5;
  --text-on-dark: #fbfaf9;

  --purple: #966fa6;
  --purple-deep: #655276;
  --purple-text: #413148;
  --lilac-fill: #e7e5ff;
  --indigo-cta: #6155f5;
  --indigo-text: #2118c9;

  --pill-fill: #d0c6d0;

  --shadow-card: 0 1px 0 rgba(44, 34, 45, 0.04), 0 8px 24px -12px rgba(44, 34, 45, 0.08);

  --radius-card: 16px;
  --radius-pill: 9999px;
  --radius-sm: 8px;

  --container: 1180px;
  --pad-x: 50px;

  --font-serif: "Overused Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-sans: "Overused Grotesk", "Inter", system-ui, -apple-system, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  transition: background-color 600ms ease, color 600ms ease;
}

#root {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
}

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

/* ============================================================ Typography */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.h-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}

.h-section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}

.h-section.testimonials-title {
  font-family: var(--font-sans);
  font-weight: 800;
  color: #000000;
  text-align: center;
  font-size: 63px;
}

@media (max-width: 900px) {
  .h-section.testimonials-title { font-size: 47px; }
  .testimonials-title-break { display: none; }
}

.lede {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}

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

/* ============================================================ Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: 40px;
  background: var(--bg);
}

.hero-problem-section {
  min-height: 100vh;
  padding-block: 48px;
}

@media (max-width: 900px) {
  .hero-problem-section {
    min-height: auto;
    padding-block: 60px;
  }
  /* Reduz ~5px o tamanho da fonte do título "Você virou PJ..." em telas
     pequenas — o clamp original (mín. 56px) quebrava em algumas telas de
     celular menores, sobrepondo o botão flutuante "Quero ficar Zen". */
  .hero-problem-section .h-section {
    font-size: clamp(51px, 9vw, 140px) !important;
  }
}

.section--lilac {
  background: var(--bg-section-lilac);
}

@media (max-width: 900px) {
  :root {
    --pad-x: 24px;
  }

  .h-display { font-size: 44px; }
  .h-section { font-size: 32px; }
  .section { padding-block: 56px; }
}

/* ============================================================ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 43px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: transform 120ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--text);
  color: var(--text-on-dark);
}

/* Botão "Quero ficar Zen" flutuante, fixo na parte inferior da tela */
.zen-float-cta {
  position: fixed;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 80;
  height: 76px;
  padding: 0 44px;
  font-size: 19px;
  background: rgba(0,71,185,0.78) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px -8px rgba(0,0,0,0.4);
  transition: transform 120ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.zen-float-cta:hover,
.zen-float-cta:active,
.zen-float-cta:focus-visible {
  transform: translateX(-50%) translateY(-2px);
  background: rgba(255,209,0,0.78) !important;
  color: #000 !important;
}

/* Sobre o título fixo "Escolha o plano certo..." (fundo azul #0047B9), o
   botão flutuante troca pra amarelo/preto — senão fica quase invisível. */
.zen-float-cta.zen-float-cta--on-plans {
  background: #ffd100 !important;
  color: #000 !important;
}

.zen-float-cta.zen-float-cta--on-plans:hover,
.zen-float-cta.zen-float-cta--on-plans:active,
.zen-float-cta.zen-float-cta--on-plans:focus-visible {
  background: #ffffff !important;
  color: #0047B9 !important;
}

@media (max-width: 900px) {
  .zen-float-cta { bottom: 28px; height: 62px; padding: 0 30px; font-size: 16px; }
}

/* No desktop o CTA flutuante avulso some — ele passa a viver dentro do
   .pj-dock. No mobile continua exatamente como sempre foi. */
@media (min-width: 901px) {
  .zen-float-cta--mobile-only { display: none; }
}

/* ============================================================ Dock de navegação inferior (desktop) */
.pj-dock {
  display: none;
}

@media (min-width: 901px) {
  .pj-dock {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 68px;
    padding: 8px 10px 8px 22px;
    border-radius: var(--radius-pill);
    background: rgba(28, 27, 31, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.45);
  }

  .pj-dock__logo {
    display: flex;
    align-items: center;
    margin-right: 8px;
  }

  .pj-dock__logo img {
    height: 22px;
    width: auto;
  }

  .pj-dock__link {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.82);
    transition: background 180ms ease, color 180ms ease;
  }

  .pj-dock__link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .pj-dock__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 24px;
    margin-left: 4px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    background: #ffd100;
    color: #1c1b1f;
    transition: transform 120ms ease, background 180ms ease;
  }

  .pj-dock__cta:hover,
  .pj-dock__cta:focus-visible {
    transform: translateY(-1px);
    background: #ffffff;
  }
}

/* ============================================================ Header + menu mobile (só até 900px) */
.pj-mobile-nav {
  display: none;
}

.pj-mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .pj-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    /* Força o header a ganhar a própria camada de composição — sem isso o
       Safari/iOS pode "descartar" elementos fixed com backdrop-filter no
       meio do gesto de scroll, fazendo o menu sumir até o scroll parar. */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    transition: transform 220ms ease;
  }

  .pj-mobile-nav--hidden {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
  }

  .pj-mobile-nav__logo img {
    height: 20px;
    width: auto;
    display: block;
  }

  .pj-mobile-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: rgba(28, 27, 31, 0.06);
    color: #1c1b1f;
  }

  .pj-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    background: rgba(28, 27, 31, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .pj-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .pj-mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 20px;
  }

  .pj-mobile-menu__logo {
    height: 20px;
    width: auto;
  }

  .pj-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .pj-mobile-menu__links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 28px;
    padding: 0 32px;
  }

  .pj-mobile-menu__link {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.9);
  }

  .pj-mobile-menu__link:hover {
    color: #fff;
  }

  .pj-mobile-menu__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 28px;
    margin-top: 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 18px;
    background: #ffd100;
    color: #1c1b1f;
  }
}

.btn--ghost {
  background: var(--pill-fill);
  color: var(--text);
}

.btn .arrow {
  width: 14px;
  height: 14px;
  display: inline-block;
}

/* ============================================================ Circle nav buttons (carousel) */
.circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--pill-fill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 180ms;
}

.circle-btn:hover {
  background: var(--bg-chip-2);
}

/* ============================================================ Hero banner (Nubank-inspired) */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #1c1b1f;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero/hero-v3.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.28) 35%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
  padding-top: 100px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  width: 100%;
}

.hero__copy {
  flex: 0 1 auto;
  max-width: 620px;
  text-align: left;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 68px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  text-wrap: balance;
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255,255,255,0.55);
  animation: scroll-bob 2s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

@media (max-width: 900px) {
  .hero { min-height: 100svh; }
  .hero__inner { padding-top: 100px; padding-bottom: 48px; }
  .hero__content { flex-direction: column; align-items: center; gap: 28px; }
  .hero__title { font-size: 44px; }
}

/* ============================================================ Section header (eyebrow + title) */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head--simple {
  display: block;
  margin-bottom: 32px;
}

.section-head--simple .eyebrow {
  margin-bottom: 16px;
  display: block;
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
}

/* ============================================================ Scroll Narrative */
.sn-wrapper {
  position: relative;
  height: 500dvh;
}

.sn-sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

/* Track horizontal — move via JS translateX */
.sn-track {
  display: flex;
  width: max-content;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  will-change: transform;
  transition: transform 80ms linear;
}

/* Cada step ocupa 1 viewport de largura */
.sn-step {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
}

/* Layout estilo Nubank: título na coluna esquerda, imagem grande à direita */
.sn-article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1500px;
  margin-inline: auto;
  padding: 250px var(--pad-x) 72px;
  height: 100%;
  box-sizing: border-box;
}

/* Coluna do título */
.sn-headline {
  flex: 0 0 26%;
  opacity: var(--lp-how-to-headline-opacity, 0);
  transform: translate3d(var(--lp-how-to-headline-x, 40px), 0, 0);
  will-change: opacity, transform;
  transition: opacity 80ms linear, transform 80ms linear;
}

/* Barra de progresso inferior — fina o tempo todo, só a largura/cor mudam via JS */
.sn-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: #ffd100;
  overflow: hidden;
}
.sn-progress-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #000000;   /* cor inicial — sobrescrita via JS, transiciona até o amarelo (#ffd100, mesma cor do fundo) */
  transition: width 80ms linear;
}

.sn-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #000000;
  margin: 0;
}

.sn-desc {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: #000000;
  max-width: 280px;
  margin: 16px 0 0;
}

/* Media layer — imagem, tamanho compacto (referência Nubank) */
.sn-media {
  flex: 0 1 auto;
  width: auto;
  height: 90%;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  border-radius: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-cream);
  transform: translate3d(var(--lp-how-to-media-x, 100vw), 0, 0);
  will-change: transform;
  transition: transform 80ms linear;
}

/* Título principal — fica visível no topo da área presa durante a animação
   dos cards e desaparece conforme a tela verde/marrom cobre a seção. */
.sn-fixed-title {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 5;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-2);
  border: 2px solid #D4D4D4;
  border-radius: var(--radius-pill);
  padding: 17px 34px;
  background: var(--bg);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 120ms linear;
}

@media (max-width: 900px) {
  .sn-wrapper { height: auto !important; }
  .sn-sticky { position: relative; top: 0; height: auto; overflow: visible; }
  .sn-track { flex-direction: column; width: 100%; transition: none; transform: none !important; }
  .sn-step { width: 100%; height: auto; }
  .sn-article {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 40px var(--pad-x);
  }
  .sn-headline { flex: 0 0 auto; opacity: 1 !important; transform: none !important; }
  .sn-media { width: 100%; height: 56vw; min-height: 220px; transform: none !important; }
  .sn-title { font-size: 32px; }
  .sn-desc { font-size: 15px; max-width: none; }
  .sn-fixed-title {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: calc(100% - 60px);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    margin: 0 auto 24px;
    padding: 14px 22px;
  }
  .sn-progress { position: relative; height: 0 !important; overflow: visible; padding: 0; }
  .sn-progress-fill { position: relative; width: 100% !important; height: auto; }
}

/* ============================================================ Segments — scroll horizontal + entrada escalonada */
/* Segmentos — carrossel Swiper.js (efeito "creative", replicado de
   teste.html): o próximo card entra pela direita e o card anterior vai para
   o fundo (translateZ negativo) com fade out, em vez de só sumir cortado na
   borda. Navegação por botões e por arraste (grabCursor) — sem scroll-jacking.
   O carrossel sangra até a borda direita da janela (fora do .container);
   só o título alinha com o início do container do resto do site. */
.segments {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding-block: 120px; /* respiro generoso acima/abaixo, igual à referência */
}

.segments__top {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 580px;
  padding-left: calc(var(--pad-x) + 80px);
}

.segments__info {
  flex: 0 0 444px;
  max-width: 444px;
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.segments__right {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 580px;
}

.segments-swiper {
  width: 100%;
  height: 580px;
}

.segments-swiper .swiper-wrapper {
  cursor: grab;
}

.segments-swiper .swiper-wrapper:active {
  cursor: grabbing;
}

.segments-swiper .swiper-slide {
  width: 44%;
  height: 580px;
  flex-shrink: 0;
}

.segment-card {
  position: relative;
  width: calc(100% - 16px);
  height: 580px;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.segment-card__img {
  position: absolute;
  inset: 0;
}

.segment-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.segment-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 80%);
}

.segment-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px 30px 32px 40px;
}

.segment-card__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 220px;
}

.segment-card--intro {
  display: flex;
  align-items: center;
}

.segment-card--intro .segment-card__content {
  justify-content: flex-end;
  padding: 40px;
}

.segment-card__intro-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.15;
  max-width: 420px;
}

.segments__nav {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

.segments__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #142a1e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease;
}

.segments__nav-btn:hover {
  background: #ffffff;
}

.segments__nav-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 900px) {
  .segments { padding-block: 30px; }
  .segments__top { flex-direction: column; height: auto; justify-content: flex-start; gap: 24px; padding-left: var(--pad-x); }
  .segments__info { width: 100%; max-width: none; flex-basis: auto; margin: 0; padding-right: var(--pad-x); }
  .segments__right { width: 100%; height: 400px; padding-right: 0; }
  .segments-swiper { height: 400px; }
  .segments-swiper .swiper-slide { width: 300px; height: 400px; }
  .segment-card { width: 280px; height: 400px; }
  .segment-card__title { font-size: 23px; }
  .segment-card__intro-title { font-size: 35px; }
}

/* ============================================================ Testimonials */
.testimonials {
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.testimonials__head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  align-items: start;
}

.testimonials__head--stacked {
  display: block;
  text-align: left;
}

.testimonials__head--stacked .eyebrow {
  display: block;
  margin-bottom: 16px;
}

.testimonials__head--stacked .h-section {
  text-align: left;
}

.testimonials__head--stacked .testimonials-title {
  text-align: center;
}

.testimonials__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tcard {
  position: relative;
  aspect-ratio: 222 / 320;
  border-radius: 14px;
  overflow: hidden;
  background: #f2efe9;
  cursor: pointer;
}

.tcard__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.tcard:hover .tcard__img {
  transform: scale(1.04);
}

/* Editorial portrait photos — warm/cool studio aesthetic */
.tcard--p1 .tcard__img {
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55)),
    url("https://images.unsplash.com/photo-1496440737103-cd596325d314?w=700&auto=format");
}
.tcard--p2 .tcard__img {
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55)),
    url("https://images.unsplash.com/photo-1492447166138-50c3889fccb1?w=700&auto=format");
}
.tcard--p3 .tcard__img {
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55)),
    url("https://images.unsplash.com/photo-1554151228-14d9def656e4?w=700&auto=format");
}
.tcard--p4 .tcard__img {
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55)),
    url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=700&auto=format");
}

.tcard__footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
  z-index: 2;
  transition: opacity 250ms ease;
}

.tcard:hover .tcard__footer {
  opacity: 0;
}

/* Hover overlay: solid color, name + role + quote + CTA stacked */
.tcard__hover {
  position: absolute;
  inset: 0;
  padding: 22px 20px;
  background: #1c1b1f;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  pointer-events: none;
}

.tcard:hover .tcard__hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tcard__hover-top h5 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 4px;
  color: #fff;
}

.tcard__hover-top p {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.tcard__quote-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}

.tcard__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #1c1b1f;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition: background 180ms, color 180ms;
}

.tcard__cta:hover {
  background: rgba(255,255,255,0.85);
}

.tcard--blank {
  background: var(--bg-card);
  border: 1px dashed var(--border-card);
}

/* Video card */
.tcard--video { cursor: pointer; }

.tcard__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: rgba(0,0,0,0.18);
  transition: background 200ms;
}

.tcard--video:hover .tcard__play { background: rgba(0,0,0,0.3); }

.tcard__play-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms, background 200ms;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.tcard--video:hover .tcard__play-btn { transform: scale(1.1); background: #fff; }

.tcard__video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.68), transparent);
  z-index: 4;
}

.tcard__video-label { text-align: center; }
.tcard__video-label h5 { font-size: 34px; font-weight: 600; margin: 0 0 3px; color: #fff; }
.tcard__video-label p  { font-size: 26px; margin: 0; opacity: 0.8; color: #fff; }

/* Depoimentos em "acordeão" (estilo Nubank) — 1 card aberto e nítido,
   os demais borrados/estreitos, expandindo ao passar o mouse. */
.testimonials__list--accordion {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.testimonials__list--accordion .tcard {
  aspect-ratio: unset;
  height: 640px;
  flex: 1 1 0%;
  min-width: 0;
  border-radius: 0;
  transition: flex-grow 550ms cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials__list--accordion .tcard.is-active {
  flex-grow: 3.6;
}

.testimonials__list--accordion .tcard .tcard__img {
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials__list--accordion .tcard:not(.is-active) .tcard__play,
.testimonials__list--accordion .tcard:not(.is-active) .tcard__video-label {
  opacity: 0;
  transition: opacity 300ms ease;
}

@media (max-width: 900px) {
  .testimonials__list--accordion {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: calc(-1 * (var(--pad-x) + 30px));
    padding-right: 16px;
  }
  .testimonials__list--accordion::-webkit-scrollbar { display: none; }
  .testimonials__list--accordion .tcard {
    flex: 0 0 78%;
    height: 360px;
    filter: none !important;
    scroll-snap-align: start;
  }
  .testimonials__list--accordion .tcard .tcard__play,
  .testimonials__list--accordion .tcard .tcard__video-label {
    opacity: 1 !important;
  }
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 180ms ease;
}

.video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 880px;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-modal__inner iframe { width: 100%; height: 100%; border: none; display: block; }

.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms;
  border: none;
  font-family: inherit;
  line-height: 1;
}

.video-modal__close:hover { background: rgba(255,255,255,0.28); }

.tcard__footer h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 4px;
}

.tcard__footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.9;
}

/* numeric variant */
.tcard__stat {
  position: absolute;
  inset: 16px 16px auto 16px;
  color: var(--text);
}

.tcard__stat .stat-label { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.tcard__stat .stat-value { font-family: var(--font-serif); font-weight: 400; font-size: 56px; line-height: 1; margin-top: 8px; }
.tcard__stat .stat-desc  { font-size: 12px; color: var(--text-muted); margin-top: 8px; max-width: 180px; line-height: 1.4; }

@media (max-width: 900px) {
  .testimonials__list { grid-template-columns: 1fr 1fr; }
  .testimonials__head { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .testimonials__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: calc(-1 * var(--pad-x));
    padding-left: var(--pad-x);
    padding-right: 16px;
    grid-template-columns: unset;
  }
  .testimonials__list::-webkit-scrollbar { display: none; }
  .testimonials__list .tcard {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
}

/* Column 1 split — stat card on top, image card on bottom */
.tcard-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 222 / 320;
}

.tcard-stack .tcard {
  aspect-ratio: auto;
  height: 100%;
}

.tcard--stat-card {
  background: #ece5ee;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  cursor: default;
}

.stat-big-value {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
}

.stat-big-desc {
  font-size: 17px;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
  max-width: 220px;
  font-weight: 400;
}

/* ============================================================ Título parallax (estilo Nubank) */
/* O wrapper é 2x a altura da viewport: 1x pra seção ficar presa (sticky) na
   tela, mais 1x de "corredor" que dá a distância de rolagem necessária pra
   a próxima seção (com margin-top negativa) subir por cima e cobri-la. */
/* Wrapper genérico do título fixo com scroll-reveal — usado pela seção de
   planos e pelo CTA final. Cada instância só define sua própria altura. */
.scroll-parallax-wrap {
  position: relative;
}

.plans-parallax-wrap {
  height: 190vh;
}

.cta-parallax-wrap {
  height: 200vh;
}

.plans-parallax {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  overflow: hidden;
  padding-inline: 50px;
  box-sizing: border-box;
}

.plans-parallax-wrap .plans-parallax {
  background: #0047B9;
}

.cta-parallax-wrap .plans-parallax {
  background: #7A5CC6;
}

.plans-parallax__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 130px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

.plans-parallax__title--cta {
  font-size: 120px;
  font-weight: 800;
}

/* Seção seguinte "sobe por cima" do título fixo — a margem negativa puxa
   ela pra dentro do corredor de rolagem do wrapper acima. min-height
   garante que ela cubra todo esse corredor mesmo se o conteúdo for mais
   baixo — senão sobra uma tira do fundo preto visível antes da próxima
   seção começar. Os valores (margin-top/min-height) precisam ser sempre
   = altura do wrapper correspondente (.plans-parallax-wrap / .cta-parallax-wrap)
   menos 100vh, senão o efeito quebra (aparece uma tira do fundo do título
   ao rolar). */
.scroll-reveal {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.scroll-reveal > .container {
  width: 100%;
}

.plans-reveal {
  margin-top: -90vh;
  min-height: 90vh;
  align-items: flex-start;
  padding-top: 110px;
}

@media (max-width: 900px) {
  /* Sem scroll-jacking no mobile — cada seção segue o fluxo normal. */
  .plans-parallax-wrap, .cta-parallax-wrap { height: auto; }
  .plans-parallax { position: relative; height: auto; padding: 80px 20px; box-sizing: border-box; }
  .plans-parallax__title { font-size: 52px; text-wrap: balance; }
  .cta-title-break, .plans-title-break { display: none; }
  .plans-reveal { margin-top: 0; min-height: auto; padding-top: 60px; }
}

/* ============================================================ Plans showcase (estilo Nubank) */
.plans-showcase {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.plans-showcase__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.plans-showcase__bg-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0) 65%);
}

.plans-showcase__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 500ms ease;
}

.plans-showcase__bg.is-active {
  opacity: 1;
}

.plans-switch {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  padding: 10px;
  border-radius: 999px;
  border: 2px solid var(--border-card);
  background: #ffffff;
  flex-wrap: wrap;
  justify-content: center;
}

.plans-switch__btn {
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
}

.plans-switch__btn:hover {
  color: #000000;
}

/* Amarelo da marca (#ffd100) em 3 intensidades — uma por plano, no hover e quando selecionado */
.plans-switch__btn[data-plan="plus"]:hover,
.plans-switch__btn[data-plan="plus"].is-active { background: rgba(255,209,0,0.40); }
.plans-switch__btn[data-plan="pro"]:hover,
.plans-switch__btn[data-plan="pro"].is-active  { background: rgba(255,209,0,0.70); }
.plans-switch__btn[data-plan="one"]:hover,
.plans-switch__btn[data-plan="one"].is-active  { background: rgba(255,209,0,1.00); }
.plans-switch__btn[data-plan="escritorio"]:hover,
.plans-switch__btn[data-plan="escritorio"].is-active { background: #B39200; color: #ffffff; }

.plans-switch__btn.is-active {
  color: #000000;
}

.plans-showcase__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}

.plans-showcase__info-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  min-height: 260px;
  opacity: 0;
  transition: opacity 150ms ease;
}

.plans-showcase__info-stack.is-visible {
  opacity: 1;
}

.plans-showcase__name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.1;
  margin: 0;
  color: #ffffff;
}

.plans-showcase__desc {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
  max-width: 340px;
}

.plans-showcase__footnote {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
  margin: 10px 0 0;
  max-width: 340px;
}

.plans-showcase__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.plans-showcase__price em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  width: 100%;
}

.plans-showcase__price strong {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 70px;
  color: #000000;
}

.plans-showcase__price span {
  font-size: 14px;
  color: var(--text-muted);
}

.plans-showcase__card {
  position: relative;
  width: 480px;
  max-width: 100%;
  margin-top: 160px;
  border-radius: 20px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  padding: 40px;
  box-sizing: border-box;
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.plans-showcase__card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.plans-showcase__card.is-leaving {
  opacity: 0;
  transform: translate3d(0, -130px, 0);
}

.plans-showcase__card.is-reset {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  transition: none;
}

.plans-showcase__card-blurb {
  width: 100%;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.4;
  color: #b0b0b0;
  max-width: 340px;
}

@media (max-width: 900px) {
  .plans-showcase { gap: 48px; }
  .plans-showcase__body { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .plans-switch { align-self: center; justify-content: center; overflow-x: auto; flex-wrap: nowrap; padding: 6px; gap: 2px; max-width: 100%; }
  .plans-switch__btn { padding: 12px 16px; font-size: 15px; }
  .plans-showcase__card { padding: 28px; margin-top: 0; align-items: center; text-align: center; width: 100%; min-width: 0; box-sizing: border-box; margin-left: auto; margin-right: auto; }
  .plans-showcase__card-blurb { max-width: 100%; font-size: 27px; }
  .plans-showcase__price { justify-content: center; }
  .plans-showcase__price strong { font-size: 60px; }
  .plans-showcase__price span { font-size: 12px; }
  .plans-showcase__name { font-size: 44px; }
}

/* ============================================================ Comparar planos — botão + tabela */
.plans-showcase__compare-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.plans-showcase__compare-btn:hover,
.plans-showcase__compare-btn.is-active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

@media (max-width: 600px) {
  .plans-showcase__compare-btn { font-size: 14px; padding: 10px 18px; }
}

.plan-compare {
  background: #ffffff;
}

/* Colapso animado via grid-template-rows (0fr → 1fr): permite transicionar
   uma altura "auto" com suavidade, sem precisar medir o conteúdo em JS. O
   fade acompanha em conjunto pra não parecer um "estica e puxa" seco. */
.plan-compare__collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 620ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 420ms ease;
}

.plan-compare.is-open .plan-compare__collapse {
  grid-template-rows: 1fr;
  opacity: 1;
}

.plan-compare__collapse-inner {
  min-height: 0;
  overflow: hidden;
}

.plan-compare__hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-compare__hint .arrow,
.plan-compare__hint svg {
  animation: plan-compare-hint-nudge 1.4s ease-in-out infinite;
}

@keyframes plan-compare-hint-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.plan-compare__scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  background: #ffffff;
}

.plan-compare__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.plan-compare__label-col {
  width: 30%;
  text-align: left;
  padding: 18px 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  vertical-align: middle;
  border-bottom: 1px solid var(--border-soft);
}

.plan-compare__plan-col {
  width: 23.33%;
  text-align: center;
  padding: 18px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  vertical-align: middle;
  border-bottom: 1px solid var(--border-soft);
  border-left: 1px solid var(--border-soft);
}

thead .plan-compare__label-col,
thead .plan-compare__plan-col {
  padding: 24px 16px;
  vertical-align: top;
}

.plan-compare__plan-name {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 19px;
  color: #000000;
}

.plan-compare__plan-col--plus .plan-compare__plan-name { background: rgba(255, 209, 0, 0.40); }
.plan-compare__plan-col--pro  .plan-compare__plan-name { background: rgba(255, 209, 0, 0.70); }
.plan-compare__plan-col--one  .plan-compare__plan-name { background: rgba(255, 209, 0, 1.00); }

.plan-compare__plan-price {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.plan-compare__plan-price strong {
  font-size: 17px;
  font-weight: 700;
  color: #000000;
}

.plan-compare__plan-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.plan-compare__section-row td {
  padding: 14px 22px;
  background: var(--bg-stone);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}

.plan-compare__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.plan-compare__mark--yes {
  background: #2f8f4e;
  color: #ffffff;
}

.plan-compare__mark--no {
  background: var(--border-light);
  color: var(--text-faint);
}

.plan-compare__footnote {
  color: var(--text-muted) !important;
  margin-top: 16px !important;
}

@media (max-width: 900px) {
  .plan-compare__hint { display: inline-flex; }

  .plan-compare__table { table-layout: auto; }

  /* Coluna de recursos fixa (sticky) enquanto os planos rolam horizontalmente */
  .plan-compare__label-col {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 40vw;
    min-width: 40vw;
    max-width: 40vw;
    background: #ffffff;
    box-shadow: 1px 0 0 var(--border-card);
    font-size: 14px;
    padding: 16px 14px;
  }

  /* Cada coluna de plano fica mais estreita que a tela, deixando a metade do
     próximo plano "espiando" na borda — sinaliza visualmente que dá pra
     arrastar pra comparar os outros planos. */
  .plan-compare__plan-col {
    width: 32vw;
    min-width: 32vw;
    max-width: 32vw;
    scroll-snap-align: start;
  }

  .plan-compare__scroll {
    scroll-snap-type: x proximate;
  }

  .plan-compare__plan-col,
  thead .plan-compare__plan-col {
    padding: 16px 10px;
  }

  .plan-compare__plan-name { font-size: 16px; padding: 3px 12px; }
  .plan-compare__plan-price { font-size: 12px; }
  .plan-compare__plan-price strong { font-size: 15px; }
  .plan-compare__plan-cta { font-size: 12px; margin-top: 8px; }
}

@media (max-width: 600px) {
  .plan-compare__label-col { width: 34vw; min-width: 34vw; max-width: 34vw; font-size: 13px; }
  .plan-compare__plan-col { width: 35vw; min-width: 35vw; max-width: 35vw; }
}

/* ============================================================ Plan Calculator (quiz "qual o melhor plano") */
.plan-calc-section {
  background: #ffffff;
  min-height: 90vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .plan-calc-section { min-height: 0; }
}

.plan-calc {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 560px);
  gap: 60px;
  align-items: start;
}

.plan-calc__head {
  position: sticky;
  top: 120px;
  text-align: left;
}

.plan-calc__title {
  font-family: var(--font-sans);
  font-weight: 800;
}

.plan-calc__sub {
  margin: 16px 0 0;
  max-width: 420px;
  font-size: 18px;
  text-align: left;
}

@media (max-width: 900px) {
  .plan-calc { grid-template-columns: 1fr; gap: 32px; }
  .plan-calc__head { position: static; text-align: center; }
  .plan-calc__sub { margin: 16px auto 0; text-align: center; }
  .plan-calc__result-actions { justify-content: center; }
}

.plan-calc__card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 44px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-calc__progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--border-light);
  overflow: hidden;
}

.plan-calc__progress-fill {
  height: 100%;
  background: #ffd100;
  border-radius: 999px;
  transition: width 300ms ease;
}

.plan-calc__step-count {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-calc__question {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
}

.plan-calc__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-calc__option {
  text-align: left;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-card);
  background: var(--bg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  transition: border-color 160ms ease, background 160ms ease, transform 120ms ease;
}

.plan-calc__option:hover {
  border-color: #ffd100;
  background: rgba(255, 209, 0, 0.12);
  transform: translateY(-1px);
}

.plan-calc__back {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
}

.plan-calc__back:hover {
  color: var(--text);
}

.plan-calc__contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-calc__contact-input {
  height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-card);
  background: var(--bg);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
}

.plan-calc__contact-input::placeholder {
  color: var(--text-faint);
}

.plan-calc__contact-input:focus {
  outline: none;
  border-color: #ffd100;
}

.plan-calc__contact-submit {
  height: 52px;
  justify-content: center;
  margin-top: 8px;
  font-size: 16px;
  background: #256327 !important;
  color: #ffffff !important;
}

.plan-calc__contact-submit:hover {
  background: #1c4d1e !important;
}

.plan-calc__contact-kommo {
  width: 100%;
}

.plan-calc__contact-kommo iframe {
  width: 100% !important;
  border: none !important;
}

.plan-calc__result {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-calc__result-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 700px) {
  .plan-calc__result-cards { grid-template-columns: 1fr; }
}

.plan-calc__result-card {
  border-radius: var(--radius-card);
  padding: 36px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-calc__result-card--main {
  background: rgba(255, 236, 175, 0.21);
  color: var(--text);
}

.plan-calc__result-card--addon {
  background: rgba(255, 236, 175, 0.60);
  color: var(--text);
}

.plan-calc__result-tag {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  background: #ffd100;
  color: #000000;
}

.plan-calc__result-tag--addon {
  background: #B39200;
  color: #ffffff;
}

.plan-calc__result-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 32px;
  margin: 0;
}

.plan-calc__result-blurb {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 480px;
}

.plan-calc__result-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-calc__result-price em {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-muted);
  width: 100%;
}

.plan-calc__result-price strong {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 36px;
}

.plan-calc__result-price span {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-calc__result-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.plan-calc__result-highlight {
  margin: 4px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #ffd100;
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}

.plan-calc__result-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.plan-calc__result-actions .plan-calc__back {
  align-self: center;
}

.plan-calc__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 43px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  background: #ffd100;
  color: #000000;
  transition: transform 120ms ease, background 180ms ease;
}

.plan-calc__cta:hover {
  transform: translateY(-1px);
  background: #ffdb33;
}

@media (max-width: 600px) {
  .plan-calc__card { padding: 28px; }
  .plan-calc__question { font-size: 23px; }
  .plan-calc__result-card { padding: 26px; }
  .plan-calc__result-name { font-size: 27px; }
}

/* ============================================================ Brand banner (rodapé de marca, logo grande + fundo Grainient) */
.brand-banner {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* fallback visível antes do canvas WebGL montar (ou se não houver suporte) —
     aproxima as mesmas cores do Grainient (amarelo/preto/cinza) */
  background: linear-gradient(135deg, #ffd100 0%, #000000 55%, #9b9b9b 100%);
}

.brand-banner__logo {
  position: relative;
  z-index: 1;
  width: min(78%, 980px);
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .brand-banner { padding: 56px 0; }
  .brand-banner__logo { width: min(90%, 980px); }
}

/* Rodapé estático (gradiente branco → amarelo + logo preto), mesmo tamanho
   do .brand-banner acima — como não tem Grainient pra definir a altura, usa
   aspect-ratio (mesma proporção observada no rodapé original) pra manter o
   tamanho equivalente. */
.brand-banner--static {
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffd100 100%);
  aspect-ratio: 2000 / 658;
}

.brand-banner--static .brand-banner__logo {
  width: 50%;
  max-width: 640px;
}

/* ============================================================ Specific page bits */

/* Interna PJ hero (split) */
.pj-hero {
  padding-top: 140px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.pj-hero__left .eyebrow {
  margin-bottom: 24px;
  display: block;
}

.pj-hero__right h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.02;
  margin: 0 0 16px;
  color: var(--text);
}

.pj-hero__form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px;
  max-width: 420px;
  margin-left: auto;
}

.pj-hero__form h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--text);
}

.pj-hero__form input {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-card);
  background: var(--bg);
  padding: 0 16px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 14px;
  outline: none;
  transition: border-color 180ms, box-shadow 180ms;
}

.pj-hero__form input::placeholder {
  color: var(--text-faint);
}

.pj-hero__form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(150,111,166,0.18);
}

.pj-hero__form .form-row { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .pj-hero { grid-template-columns: 1fr; padding-top: 110px; }
  .pj-hero__right h1 { font-size: 40px; }
  .pj-hero__form { margin-left: 0; }
}

/* Para PJ hero image banner */
.pj-heroimg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6.2;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.28)),
    url("https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1600&auto=format") center / cover no-repeat;
}

.pj-heroimg__cta {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.pj-heroimg__cta:hover {
  transform: none;
  background: #1c1b1f;
  color: #ffffff;
}
/* Steps frame — orange grainy background with inset translucent steps box */
.steps-frame {
  position: relative;
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(80% 80% at 25% 25%, #f4a474 0%, transparent 55%),
    radial-gradient(85% 75% at 75% 80%, #c8553a 0%, transparent 55%),
    radial-gradient(120% 120% at 100% 0%, #e88460 0%, transparent 55%),
    linear-gradient(135deg, #d97048 0%, #b04428 100%);
}

.steps-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.65 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@media (max-width: 900px) {
  .steps-frame { padding: 18px; }
}

.steps {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  padding: 48px;
}

.steps__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.steps__title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 900px) {
  .steps { padding: 28px 20px; }
  .steps__title { font-size: 26px; }
  .steps__header { flex-direction: column; align-items: flex-start; }
}

.steps__tabs {
  display: inline-flex;
  background: var(--bg-card);
  padding: 4px;
  border-radius: 999px;
  flex-shrink: 0;
}

.steps__tab {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 180ms, color 180ms;
  white-space: nowrap;
}

.steps__tab.is-on {
  background: var(--bg);
  color: var(--text);
}

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
  position: relative;
  --fill: 0%;
}

/* Background track */
.steps__list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: rgba(28, 27, 31, 0.15);
  border-radius: 2px;
}

/* Scroll-driven fill */
.steps__list::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 2px;
  height: var(--fill);
  max-height: calc(100% - 32px);
  background: #1c1b1f;
  border-radius: 2px;
  transition: height 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.steps__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  align-items: start;
  padding: 16px 0 16px 32px;
  position: relative;
}

.steps__item .num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 36px;
  color: var(--text);
  line-height: 1;
}

.steps__item h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.steps__item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}


.has-tooltip {
  position: relative;
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
.has-tooltip::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: calc(100% + 7px);
  background: #1c1b1f;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 8px;
  width: 220px;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.has-tooltip:hover::after { opacity: 1; }

.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #4ea05c;
  color: #ffffff;
}

.cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #d8d3cf;
  color: #ffffff;
}

/* Addon — wide image banner (Cora-style) */
.addon-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1b1f;
  min-height: 360px;
  color: #fff;
  isolation: isolate;
}

.addon-banner__bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=1600&auto=format") right center / cover no-repeat;
  z-index: 0;
}

.addon-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #1c1b1f 0%, rgba(28, 27, 31, 0.85) 35%, rgba(28, 27, 31, 0.0) 65%);
}

.addon-banner__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  background: transparent;
  color: #ec3a6f;
  border: 1px solid #ec3a6f;
  font-weight: 500;
  font-size: 14px;
  padding: 7px 18px;
  border-radius: 999px;
}

.addon-banner__inner {
  position: relative;
  z-index: 2;
  padding: 56px;
  display: flex;
  flex-direction: column;
  max-width: 56%;
  gap: 14px;
}

.addon-banner__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.addon-banner__title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}

.addon-banner__per {
  font-size: 0.55em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  margin-left: 4px;
  letter-spacing: 0;
}

.addon-banner__sub {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 16px;
}

.addon-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ec3a6f;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  width: fit-content;
  transition: background 180ms ease;
}

.addon-banner__cta:hover {
  background: #1c1b1f;
  color: #fff;
}

@media (max-width: 900px) {
  .addon-banner__inner { padding: 32px 24px; max-width: 100%; }
  .addon-banner__title { font-size: 30px; }
  .addon-banner__bg::after {
    background: linear-gradient(180deg, rgba(28,27,31,0.92) 0%, rgba(28,27,31,0.78) 100%);
  }
}

/* FAQ */
.faq {
  background: var(--bg-cream);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.faq h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 24px;
  color: var(--text);
}

.faq__list { display: flex; flex-direction: column; gap: 8px; }

.faq__item {
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq__q .chev {
  transition: transform 200ms;
  color: var(--text-muted);
}

.faq__item.is-open .faq__q .chev { transform: rotate(180deg); }

.faq__a {
  padding: 0 20px 16px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-muted);
  display: none;
}

.faq__item.is-open .faq__a { display: block; }

.faq__cta {
  background: var(--lilac-fill);
  border-radius: 12px;
  padding: 24px;
  align-self: end;
}

.faq__cta h4 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--text);
}

.faq__cta p { margin: 0 0 16px; font-size: 13px; color: var(--text); }

@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; padding: 24px; }
}

/* FAQ da home ("Ficou alguma dúvida?") — grid inline no JSX não tinha versão mobile */
.faq-home-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .faq-home-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================ Faixa de frases (marquee, estilo Nubank) */
.phrase-marquee {
  background: #ffd100;
  overflow: hidden;
  min-height: 80vh;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.phrase-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation-name: phrase-marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.phrase-marquee__track--normal { animation-duration: 110s; }
.phrase-marquee__track--medium { animation-duration: 190s; }
.phrase-marquee__track--slow   { animation-duration: 280s; }

.phrase-marquee__track.is-reverse {
  animation-direction: reverse;
}

.phrase-marquee__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24vh;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #000000;
  padding-inline: 28px;
}

.phrase-marquee__dot {
  margin-left: 10vh;
  width: 24vh;
  height: 24vh;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  align-self: center;
}

@keyframes phrase-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .phrase-marquee { min-height: 50vh; }
  .phrase-marquee__item { font-size: 104px; }
  .phrase-marquee__dot { margin-left: 34px; width: 96px; height: 96px; }
}

/* ============================================================ Modal de contato (estilo Nubank) */
.cta-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 180ms ease;
}

.cta-modal {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.cta-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1c1b1f;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 150ms;
}

.cta-modal__close:hover {
  background: #fff;
}

.cta-modal__photo {
  flex: 0 0 42%;
  background-size: cover;
  background-position: center;
}

.cta-modal__form-col {
  flex: 1;
  min-width: 0;
  padding: 56px 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-modal__title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: #1c1b1f;
  margin: 0 0 28px;
  max-width: 440px;
}

.cta-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-modal-kommo {
  width: 100%;
}

.kommo-form-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  font-size: 14px;
  color: var(--text-muted, #757575);
}

.kommo-form-loading__spinner {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: #ffd100;
  animation: kommo-form-loading-spin 0.7s linear infinite;
}

@keyframes kommo-form-loading-spin {
  to { transform: rotate(360deg); }
}

.cta-modal-kommo iframe {
  width: 100% !important;
  border: none !important;
}

.cta-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta-modal-input {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: none;
  background: #f2f2f2;
  color: #1c1b1f;
  font-size: 14px;
  padding: 0 16px;
  font-family: var(--font-sans);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cta-modal-input::placeholder { color: #9a9a9a; }
.cta-modal-input option { color: #1c1b1f; }

.cta-modal-btn {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border-radius: 10px;
  background: #1c1b1f;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: opacity 180ms ease;
}

.cta-modal-btn:hover { opacity: 0.9; }

.cta-modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 32px 0;
}

.cta-modal-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #ffd100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #1c1b1f;
}

.cta-modal-success__title { font-size: 20px; font-weight: 600; margin: 0; color: #1c1b1f; }
.cta-modal-success__sub { font-size: 14px; color: #4a4a4a; margin: 0; }

@media (max-width: 720px) {
  .cta-modal { flex-direction: column; max-height: 92vh; }
  .cta-modal__photo { display: none; }
  .cta-modal.is-success .cta-modal__photo {
    display: block;
    flex: 0 0 220px;
    background-position: top center;
  }
  .cta-modal__form-col { padding: 36px 24px; }
}

.fade-in {
  animation: fadeIn 480ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================ Scroll reveal — títulos */
.reveal-title {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================ Blur Text */
.blur-word {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(6px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
              filter  900ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.blur-word.is-visible {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

/* ============================================================ Rotating Text */
@keyframes rt-enter {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes rt-exit {
  from { transform: translateY(0); }
  to   { transform: translateY(-120%); }
}
.rt-word   { display: inline-flex; overflow: hidden; padding-bottom: 0.1em; }
.rt-char   { display: inline-block; }
.rt-space  { white-space: pre; }
.rt-sr     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

