/* Garante que seções/itens ocultados pelo editor não apareçam
   (algumas classes definem display e venceriam o [hidden] padrão). */
[hidden] { display: none !important; }

/* ===================== TOKENS ===================== */
:root {
  --navy: #0d2340;            /* botões navy */
  --navy-deep: #071527;
  --blue: #1c64ff;
  --blue-bright: rgb(0, 153, 255);
  --red: #a01218;             /* botão vermelho do hero */
  --red-glow: #940404;
  --ink: #0b1524;             /* texto em fundo claro */
  --muted-l: #3d4657;
  --muted-d: rgba(255, 255, 255, 0.72);
  --page: #eef4ff;            /* fundo claro da página */
  --radius-card: 44px;        /* cards escuros grandes */
  --radius: 28px;
  --content-max: 1200px;      /* largura de conteúdo unificada (alinha todas as seções) */
  --gutter: clamp(20px, 4vw, 36px); /* recuo lateral do conteúdo (igual à referência) */
  --card-inset: 16px;         /* margem lateral dos painéis escuros full-bleed */
  --font: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===================== RESET ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #dce8ff 0%, #eef4ff 18%, #f7faff 40%, #eef4ff 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }

/* Card escuro arredondado (hero, depoimentos, faq, footer) */
.dark-card {
  margin: 0 var(--card-inset);
  border-radius: var(--radius-card);
  color: #fff;
  overflow: hidden;
}

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em; padding: 14px 30px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn-lg { padding: 17px 38px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-navy {
  background: linear-gradient(180deg, #1d3c68 0%, #0a1c33 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 28, 51, 0.35);
}
.btn-red {
  background: linear-gradient(180deg, #b81c22 0%, #7e0d12 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(160, 18, 24, 0.45);
}
.btn-white {
  background: linear-gradient(180deg, #ffffff 0%, #dbe6f5 100%);
  color: var(--navy-deep);
}

/* ===================== NAVBAR (clara) ===================== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(235, 243, 255, 0.85) 100%);
  backdrop-filter: saturate(160%) blur(12px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--content-max); margin: 0 auto; padding: 10px var(--gutter); min-height: 86px;
}
/* Os PNGs do logo são quadrados (1080×1080) com margem transparente e o wordmark ao centro.
   aspect-ratio fixo (≈ proporção do wordmark) + object-fit: cover recorta a margem de forma
   CONSISTENTE, mostrando a marca inteira em qualquer tamanho. */
.brand-logo { height: 52px; aspect-ratio: 5 / 2; width: auto; object-fit: cover; object-position: center; }
.nav-links { display: flex; gap: 38px; }
.nav-links a { font-size: 16px; font-weight: 600; color: var(--ink); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===================== HERO ===================== */
.hero {
  text-align: center;
  padding: 90px 0 0;
  background:
    radial-gradient(65% 50% at 50% 112%, rgba(28, 100, 255, 0.38) 0%, rgba(28, 100, 255, 0) 65%),
    radial-gradient(50% 40% at 80% 15%, rgba(28, 100, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(165deg, #04070d 0%, #081120 60%, #0c1a33 100%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-block; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  padding: 10px 26px; border-radius: 999px; margin-bottom: 34px;
}
.hero-title {
  font-size: clamp(38px, 4.1vw, 74px); font-weight: 700; line-height: 1.12;
  letter-spacing: -0.015em; max-width: 1180px; margin: 0 auto 22px;
}
.hero-subtitle { font-size: clamp(15px, 1.4vw, 19px); color: rgba(255, 255, 255, 0.88); max-width: 1250px; margin: 0 auto 36px; }
.hero-video {
  margin-top: 64px; width: min(84%, 1560px); aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  background: #000;
}
.hero-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.hero-divider { width: min(84%, 1500px); height: 1px; background: rgba(255, 255, 255, 0.22); margin-top: 90px; }

/* logo cloud — carrossel infinito (marquee) */
.logo-cloud { padding: 60px 0 70px; text-align: center; width: 100%; }
.logo-cloud p { color: #fff; font-weight: 700; font-size: clamp(17px, 1.8vw, 24px); margin-bottom: 40px; }
.logo-marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.logo-track {
  display: flex; align-items: center; width: max-content;
  gap: clamp(40px, 6vw, 90px);
  animation: logo-scroll 32s linear infinite;
}
.logo-track img {
  height: clamp(42px, 5vw, 68px); aspect-ratio: 5 / 2; width: auto;
  object-fit: cover; object-position: center; opacity: 0.55; flex-shrink: 0;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }
.logo-cloud-bottom { padding: 40px 0 80px; }

/* ===================== TRIAL FORM ===================== */
.trial { padding: 90px 0; }
.trial-card {
  margin: 0 var(--card-inset); text-align: center;
  border-radius: var(--radius-card); padding: 90px var(--gutter) 110px; color: #fff;
  background:
    radial-gradient(60% 65% at 50% 115%, rgba(28, 100, 255, 0.45) 0%, rgba(28, 100, 255, 0) 65%),
    linear-gradient(160deg, #0a0d13 0%, #0a1424 55%, #0d1d3a 100%);
  box-shadow: 0 50px 110px rgba(9, 20, 48, 0.25);
}
.trial-title {
  font-size: clamp(42px, 6vw, 84px); font-weight: 700; letter-spacing: -0.01em;
}
.trial-sub { color: rgba(255, 255, 255, 0.92); font-size: clamp(15px, 1.6vw, 20px); font-weight: 600; margin: 20px auto 70px; }
.trial-form { display: flex; flex-direction: column; gap: 22px; text-align: left; max-width: 760px; margin: 0 auto; }
.trial-form label { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.85); display: flex; flex-direction: column; gap: 10px; }
.trial-form input {
  font-family: var(--font); font-size: 17px; color: #fff;
  background: linear-gradient(180deg, rgba(20, 40, 80, 0.35), rgba(10, 22, 46, 0.55));
  border: 1px solid rgba(140, 170, 220, 0.35);
  border-radius: 10px; padding: 16px 18px; outline: none;
  transition: border-color 0.15s ease;
}
.trial-form input::placeholder { color: rgba(200, 215, 240, 0.55); }
.trial-form input:focus { border-color: var(--blue-bright); }
.btn-iniciar {
  margin-top: 16px; font-family: var(--font); font-weight: 800; font-size: 15px;
  letter-spacing: 0.04em; color: var(--navy-deep); cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #cfdcf2 100%);
  border: 0; border-radius: 10px; padding: 17px;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-iniciar:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ===================== SECTION HEAD ===================== */
.section-head { text-align: center; max-width: 900px; margin: 0 auto 60px; padding: 0 16px; }
.pill-navy, .pill-dark {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  padding: 11px 28px; border-radius: 999px; margin-bottom: 26px; color: #fff;
}
.pill-navy { background: linear-gradient(180deg, #1d3c68 0%, #081525 100%); box-shadow: 0 10px 24px rgba(10, 28, 51, 0.3); }
.pill-dark { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.35); }
.section-title { font-size: clamp(30px, 3.8vw, 52px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.section-sub { font-size: clamp(15px, 1.5vw, 19px); margin-top: 18px; color: var(--muted-l); }
.dark-card .section-sub { color: rgba(255, 255, 255, 0.85); }

/* ===================== RECURSOS (BENTO) ===================== */
.recursos { padding: 40px 0 110px; }
.bento { display: grid; grid-template-columns: repeat(20, 1fr); gap: 24px; }
.bento-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 42px 40px; color: #fff; min-height: 560px;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 70px rgba(9, 20, 48, 0.18);
}
.bento-a { grid-column: span 12; }
.bento-b { grid-column: span 8; }
.bento-c { grid-column: span 8; }
.bento-d { grid-column: span 12; }
.bento-e { grid-column: 1 / -1; min-height: 560px; padding-bottom: 0; }

.bento-card h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; line-height: 1.15; }
.bento-card > p { color: rgba(255, 255, 255, 0.85); font-size: clamp(15px, 1.3vw, 18px); max-width: 72ch; }

.card-black-red { background:
    radial-gradient(85% 70% at 50% 115%, rgba(148, 4, 4, 0.75) 0%, rgba(10, 6, 6, 0) 70%),
    linear-gradient(180deg, #060607 0%, #120a0b 100%); }
.card-black-blue { background:
    radial-gradient(95% 80% at 55% 120%, rgba(28, 100, 255, 0.35) 0%, rgba(5, 8, 14, 0) 70%),
    linear-gradient(180deg, #05070c 0%, #0a1120 100%); }
.card-deep-blue { background:
    radial-gradient(100% 90% at 50% 115%, rgba(28, 100, 255, 0.5) 0%, rgba(6, 14, 34, 0) 75%),
    linear-gradient(180deg, #081226 0%, #0b1a3c 100%); }
.card-red-purple { background:
    radial-gradient(80% 85% at 20% 120%, rgba(148, 4, 4, 0.55) 0%, rgba(20, 8, 20, 0) 70%),
    radial-gradient(70% 70% at 85% 115%, rgba(70, 3, 96, 0.5) 0%, rgba(10, 6, 14, 0) 70%),
    linear-gradient(180deg, #0a070c 0%, #150b14 100%); }

/* mini tabela do card A */
.mini-table { margin-top: auto; padding-top: 24px; }
.mini-table li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 0 9px; border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  font-size: clamp(12px, 1vw, 15px); font-weight: 700; letter-spacing: 0.06em;
}
.mini-table span { color: #fff; }
.mini-table em { font-style: normal; color: rgba(255, 255, 255, 0.95); text-align: right; }

/* anéis do card B */
.rings { position: relative; margin-top: auto; display: flex; align-items: center; justify-content: center; height: 260px; pointer-events: none; }
.rings::before, .rings::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%;
}
.rings::before {
  width: 420px; height: 420px;
  border: 14px solid rgba(28, 100, 255, 0.35);
  box-shadow: 0 0 0 60px rgba(28, 100, 255, 0.1), 0 0 0 130px rgba(28, 100, 255, 0.05);
  animation: ring-pulse 4.5s ease-in-out infinite;
}
.rings::after {
  width: 250px; height: 250px;
  border: 14px solid rgba(28, 100, 255, 0.6);
  background: radial-gradient(circle, rgba(28, 100, 255, 0.35), rgba(28, 100, 255, 0) 70%);
  animation: ring-pulse 4.5s ease-in-out infinite;
  animation-delay: -2.25s;
}
@keyframes ring-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.82); opacity: 0.35; }
  50%  { transform: translate(-50%, -50%) scale(1.06); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(0.82); opacity: 0.35; }
}
.rings-plus {
  position: relative; z-index: 1; width: 110px; height: 110px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28, 100, 255, 0.35); color: rgba(190, 215, 255, 0.9);
  font-size: 60px; font-weight: 600;
  animation: plus-breathe 4.5s ease-in-out infinite;
}
@keyframes plus-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(28, 100, 255, 0); }
  50%      { transform: scale(1.09); box-shadow: 0 0 44px 6px rgba(28, 100, 255, 0.45); }
}

/* linhas de ícones do card C — marquees infinitos em direções alternadas */
.icon-rows {
  position: relative; margin-top: auto; padding-top: 30px;
  display: flex; flex-direction: column; gap: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.icon-row {
  display: flex; gap: 18px; width: max-content;
  animation: icon-scroll 26s linear infinite;
  will-change: transform;
}
.icon-row:nth-child(2) { animation-direction: reverse; animation-duration: 32s; }
.icon-row:nth-child(3) { animation-duration: 21s; }
.icon-rows:hover .icon-row { animation-play-state: paused; }
@keyframes icon-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.icon-row span {
  flex-shrink: 0; width: 82px; height: 82px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.9); color: #fff;
  background: radial-gradient(circle, rgba(28, 100, 255, 0.4), rgba(28, 100, 255, 0.08));
}
.icon-row span svg { width: 36px; height: 36px; }

/* pills de IA do card D */
.ai-pills { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.ai-pill-row {
  display: flex; align-items: center; gap: 18px;
  animation: ai-pill-cycle 6s ease-in-out infinite;
}
.ai-pill-row:nth-child(2) { animation-delay: 1s; }
@keyframes ai-pill-cycle {
  0%   { opacity: 0; transform: translateY(16px); }
  12%  { opacity: 1; transform: translateY(0); }
  86%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(16px); }
}
.ai-spark {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 18px;
  animation: spark-twinkle 3s ease-in-out infinite;
}
@keyframes spark-twinkle {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.8; }
  50%      { transform: rotate(180deg) scale(1.15); opacity: 1; }
}
.ai-pill {
  flex: 1; padding: 20px 26px; border-radius: 999px; font-size: clamp(15px, 1.3vw, 19px);
  color: #fff; border: 1.5px solid rgba(120, 160, 255, 0.9);
  background: linear-gradient(90deg, rgba(28, 100, 255, 0.16), rgba(90, 20, 60, 0.25));
}
.ai-pill-muted { color: rgba(255, 255, 255, 0.55); border-color: rgba(120, 160, 255, 0.5); }

/* card E */
.bento-e { align-items: center; text-align: center; }
.bento-e > h3, .bento-e > p { max-width: 900px; }
/* gap fixo abaixo do texto: garante que a imagem nunca encoste no parágrafo,
   mesmo quando a imagem é alta e o margin-top:auto colapsa para 0 */
.bento-e > p { margin-bottom: clamp(30px, 3.5vw, 52px); }
.bento-e-img {
  margin: auto auto 0; width: min(96%, 1420px); height: auto;
  border-radius: 20px 20px 0 0; display: block;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  animation: mockup-float 6.5s ease-in-out infinite;
  will-change: transform;
}
/* flutuação puramente vertical (sem escala) para não invadir o texto acima */
@keyframes mockup-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45); }
  50%      { transform: translateY(-9px); box-shadow: 0 -32px 82px rgba(0, 0, 0, 0.55); }
}

/* ===================== PLANOS ===================== */
.planos { padding: 40px 0 120px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: var(--content-max); margin: 0 auto; align-items: stretch; }
.plan-card {
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  border-radius: var(--radius); padding: 44px 40px;
  display: flex; flex-direction: column; color: var(--ink);
  box-shadow: 0 24px 60px rgba(9, 20, 48, 0.12);
}
.plan-featured {
  color: #fff; transform: translateY(-16px);
  background:
    radial-gradient(85% 75% at 50% 115%, rgba(148, 4, 4, 0.85) 0%, rgba(10, 6, 6, 0) 72%),
    linear-gradient(180deg, #08090c 0%, #140a0c 100%);
  box-shadow: 0 40px 90px rgba(60, 8, 8, 0.4);
}
.plan-name { font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; }
.plan-price { font-size: clamp(26px, 2.2vw, 34px); font-weight: 700; letter-spacing: -0.01em; margin: 14px 0 34px; }
.plan-features { display: flex; flex-direction: column; gap: 20px; flex: 1; margin-bottom: 40px; }
.plan-features li { position: relative; padding-left: 42px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; }
.plan-features li::before {
  content: "✓"; position: absolute; left: 0; top: -2px;
  width: 27px; height: 27px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep); color: #fff; font-size: 14px; font-weight: 800;
}
.plan-featured .plan-features li::before { background: #fff; color: var(--navy-deep); }

/* ===================== DEPOIMENTOS ===================== */
.depoimentos {
  padding: 100px 0 60px;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(28, 100, 255, 0.25) 0%, rgba(5, 9, 18, 0) 60%),
    linear-gradient(180deg, #050a14 0%, #0a1730 100%);
}
.carousel { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 20px; }
.carousel-arrow {
  position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease; backdrop-filter: blur(4px);
}
#tPrev { left: 26px; }
#tNext { right: 26px; }
.carousel-arrow:hover { background: rgba(255, 255, 255, 0.4); }
.carousel-arrow img { width: 26px; height: 26px; }
.testimonials-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(430px, 82%);
  gap: 26px; overflow-x: auto; scroll-behavior: smooth;
  padding: 10px 40px 30px; flex: 1; scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-height: 480px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(70, 110, 190, 0.28) 0%, rgba(15, 28, 60, 0.65) 100%);
  border: 1px solid rgba(140, 175, 245, 0.3);
  border-radius: 30px; padding: 40px 36px;
}
.stars { color: #fff; letter-spacing: 8px; margin-bottom: 26px; font-size: 22px; }
.testimonial-card blockquote {
  font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; font-style: italic;
  line-height: 1.5; color: #fff;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 30px; }
.testimonial-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.t-name { display: block; font-weight: 700; font-size: 17px; }
.t-role { display: block; color: rgba(255, 255, 255, 0.7); font-size: 14px; }

/* ===================== COMO FUNCIONA ===================== */
.como-funciona { padding: 110px 0; }
.cf-stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  max-width: var(--content-max); margin: 0 auto;
  background: #101010; box-shadow: 0 40px 90px rgba(9, 20, 48, 0.2);
}
.cf-image { width: 100%; height: auto; display: block; }
.cf-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 44px;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0) 0%, rgba(5, 7, 12, 0.92) 55%);
  color: #fff;
}
.cf-caption h3 { font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; margin-bottom: 8px; }
.cf-caption p { color: rgba(255, 255, 255, 0.85); font-size: clamp(14px, 1.3vw, 17px); max-width: 68ch; }
.cf-tabs { margin: 30px auto 0; max-width: var(--content-max); display: flex; gap: 18px; }
.cf-tab {
  position: relative; overflow: hidden;
  flex: 1 1 0; min-width: 0; text-align: center;
  font-family: var(--font); font-weight: 600; font-size: clamp(13px, 1.2vw, 17px); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: #fff; border: 1.5px solid transparent; color: var(--ink);
  padding: 18px 24px; border-radius: 999px;
  box-shadow: 0 14px 34px rgba(9, 20, 48, 0.1);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cf-tab:hover { transform: translateY(-1px); }
.cf-tab.active { border-color: var(--blue); }
.cf-tab svg { flex-shrink: 0; }
/* barra de progresso do auto-avanço (inserida via JS na aba ativa) */
.cf-progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left center;
}
.cf-progress.run { transform: scaleX(1); }
/* crossfade da imagem do palco e do texto */
.cf-image { transition: opacity 0.35s ease; }
.cf-image.fading { opacity: 0; }
.cf-caption h3, .cf-caption p { transition: opacity 0.3s ease; }
.cf-caption.fading h3, .cf-caption.fading p { opacity: 0; }

/* ===================== FAQ ===================== */
.faq {
  padding: 110px 24px 130px;
  background:
    radial-gradient(70% 50% at 50% 115%, rgba(28, 100, 255, 0.3) 0%, rgba(5, 9, 18, 0) 65%),
    linear-gradient(180deg, #04070d 0%, #0a1526 100%);
}
.faq-list { max-width: 940px; margin: 40px auto 0; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.45); }
.faq-item summary {
  list-style: none; cursor: pointer; font-weight: 600;
  font-size: clamp(17px, 1.6vw, 23px); color: #fff;
  padding: 36px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { flex-shrink: 0; transition: transform 0.25s ease; color: #fff; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 4px 28px; color: rgba(255, 255, 255, 0.8); font-size: clamp(15px, 1.3vw, 17px); max-width: 80ch; }

/* ===================== FOOTER ===================== */
.footer {
  margin-top: 90px; margin-bottom: 16px;
  padding: 100px 0 40px;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(28, 100, 255, 0.22) 0%, rgba(5, 9, 18, 0) 60%),
    linear-gradient(180deg, #081226 0%, #050a14 100%);
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 48px 80px; align-items: start;
  max-width: var(--content-max); margin: 0 auto; padding-inline: var(--gutter);
}
.footer-left { min-width: 0; }
.footer-cols { justify-self: end; }
.footer-tagline { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; color: #b9c2d4; line-height: 1.3; }
.footer-socials { display: flex; gap: 16px; margin-top: 36px; }
.footer-socials a {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; color: #fff;
  transition: background 0.15s ease;
}
.footer-socials a:hover { background: rgba(255, 255, 255, 0.12); }
.footer-logo { width: min(300px, 70%); aspect-ratio: 5 / 2; height: auto; object-fit: cover; object-position: center; margin-top: 40px; opacity: 0.95; }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 110px); }
.footer-col { display: flex; flex-direction: column; gap: 18px; }
.footer-col h4 { font-size: 16px; font-weight: 800; letter-spacing: 0.06em; color: #fff; margin-bottom: 8px; }
.footer-col a { color: rgba(255, 255, 255, 0.85); font-size: 16px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--content-max); margin: 80px auto 0; padding: 30px var(--gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9); font-size: 15px;
}
.footer-legal { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }
.footer-cnpj { text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-top: 24px; padding-inline: var(--gutter); }

/* ===================== ACESSIBILIDADE / FOCO ===================== */
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--navy-deep); color: #fff; padding: 12px 20px;
  border-radius: 10px; font-weight: 700; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #4c9dff; outline-offset: 2px; border-radius: 6px; }
/* âncoras não escondem atrás da navbar fixa */
section[id], header[id] { scroll-margin-top: 96px; }

/* honeypot anti-bot: fora da tela, sem atrapalhar leitores/tab */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ===================== BARRA DE PROGRESSO DE SCROLL ===================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  z-index: 60; will-change: width;
}

/* ===================== NAVBAR: estado ao rolar + links ===================== */
.navbar { transition: box-shadow 0.25s ease, background 0.25s ease; }
.navbar.scrolled { box-shadow: 0 10px 30px rgba(9, 20, 48, 0.14); background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(238,244,255,0.92)); }
.navbar.scrolled .nav-inner { min-height: 72px; }
.nav-inner { transition: min-height 0.25s ease; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left center;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }

/* backdrop do menu mobile */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(5, 10, 20, 0.5); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.3s ease;
}
.nav-backdrop.show { opacity: 1; }
.nav-backdrop[hidden] { display: none; }
body.no-scroll { overflow: hidden; }

/* hambúrguer: barras viram X */
.nav-toggle span { transition: transform 0.3s ease, opacity 0.2s ease; transform-origin: center; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== VÍDEO: capa clicável (facade) ===================== */
.hero-video { position: relative; }
.video-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer; background: #000; display: block; overflow: hidden;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease, filter 0.4s ease; }
.video-facade:hover img { transform: scale(1.04); filter: brightness(0.88); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #b81c22, #7e0d12); color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55); transition: transform 0.2s ease, filter 0.2s ease;
}
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.09); filter: brightness(1.08); }
.video-play svg { width: 34px; height: 34px; margin-left: 4px; }

/* ===================== BANNER DE COOKIES ===================== */
.cookie-banner {
  position: fixed; inset: auto 0 0 0; z-index: 9999;
  background: #0a1424; border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 24px; color: #e1e8f0; font-size: 14px;
  transform: translateY(100%); transition: transform 0.35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner[hidden] { display: none !important; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.cookie-inner p { margin: 0; line-height: 1.5; flex: 1 1 300px; }
.cookie-inner a { color: #b81c22; text-decoration: underline; }
.cookie-inner a:hover { color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 20px; font-size: 13px; border-radius: 8px; }
.cookie-actions .btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.cookie-actions .btn-ghost:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-actions { width: 100%; justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}

/* ===================== BOTÃO VOLTAR AO TOPO ===================== */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #1d3c68, #0a1c33); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(10, 28, 51, 0.4);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { filter: brightness(1.12); }
.to-top[hidden] { display: none; }

/* ===================== REVEAL AO ROLAR (estilo Framer) ===================== */
/* A classe .reveal é adicionada via JS (progressive enhancement: sem JS tudo aparece). */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
/* Vídeo do hero: animação controlada pelo scroll via JS (inline styles).
   O estado inicial aqui evita "flash" antes do primeiro cálculo; a classe é
   adicionada só quando há JS, então sem JS o vídeo aparece normalmente. */
.hero-video.scroll-anim {
  opacity: 0.55; transform: translateY(48px) scale(0.93);
  transform-origin: center 65%; will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .icon-row, .rings::before, .rings::after, .rings-plus,
  .ai-pill-row, .ai-spark, .bento-e-img { animation: none !important; }
  .ai-pill-row { opacity: 1; transform: none; }
  .cf-progress { display: none; }
  .nav-links.open a { animation: none !important; }
  .video-facade:hover img { transform: none; }
}

/* ===================== RESPONSIVE ===================== */

/* Tablet: bento em 2 colunas (evita cards gigantes de coluna única) */
@media (min-width: 810px) and (max-width: 1199px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-a, .bento-b, .bento-c, .bento-d { grid-column: auto; min-height: 440px; }
  .bento-e { grid-column: 1 / -1; }
  .recursos { padding: 30px 0 80px; }
  .como-funciona { padding: 80px 0; }
  .hero-video { width: 90%; }
}

/* Menu hambúrguer + painel deslizante (tablets e mobile) */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 86px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: saturate(160%) blur(14px);
    padding: 14px 24px 26px; transform: translateY(-125%);
    transition: transform 0.35s cubic-bezier(0.22, 0.7, 0.2, 1), visibility 0.35s, opacity 0.25s ease;
    box-shadow: 0 26px 50px rgba(9, 20, 48, 0.22);
    border-radius: 0 0 26px 26px; z-index: 48;
    /* Oculta 100% quando fechado, independentemente da altura do painel.
       (translateY(-125%) é relativo à altura: com poucos links, sobrava uma
       faixa branca visível no topo.) */
    visibility: hidden; opacity: 0; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 16px 6px; border-bottom: 1px solid #e7ecf5; font-size: 17px; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .nav-links.open a { animation: navlink-in 0.4s ease both; }
  .nav-links.open a:nth-child(1) { animation-delay: 0.06s; }
  .nav-links.open a:nth-child(2) { animation-delay: 0.12s; }
  .nav-links.open a:nth-child(3) { animation-delay: 0.18s; }
  .nav-links.open a:nth-child(4) { animation-delay: 0.24s; }
  .nav-links.open a:nth-child(5) { animation-delay: 0.30s; }
}
@keyframes navlink-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* Planos: 3 colunas só em telas largas; abaixo disso, coluna única centralizada */
@media (max-width: 980px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; }
  .plan-featured { transform: none; }
}
/* Quebras de linha forçadas (<br>) atrapalham em telas estreitas: deixa o texto fluir */
@media (max-width: 640px) {
  .section-sub br, .trial-sub br { display: none; }
}
/* Telas muito estreitas: compacta o CTA da navbar p/ caber com o hambúrguer */
@media (max-width: 420px) {
  .nav-actions { gap: 8px; }
  .nav-actions .btn-navy { padding: 10px 14px; font-size: 11.5px; }
}

/* Mobile: refinamentos gerais */
@media (max-width: 809px) {
  :root { --card-inset: 8px; }
  .dark-card, .trial-card { border-radius: 30px; }
  .nav-inner { padding: 8px var(--gutter); min-height: 72px; }
  .navbar.scrolled .nav-inner { min-height: 64px; }
  .brand-logo { height: 44px; }
  .nav-links { top: 72px; }
  .nav-actions .btn-navy { padding: 11px 18px; font-size: 12.5px; }

  .hero { padding-top: 60px; }
  .hero-video { width: 94%; }
  .trial { padding: 60px 0; }
  .trial-card { padding: 60px 24px 70px; }
  .bento { grid-template-columns: 1fr; }
  .bento-a, .bento-b, .bento-c, .bento-d { grid-column: 1 / -1; }
  .bento-card { padding: 30px 24px; min-height: 380px; }
  .testimonials-track { grid-auto-columns: 88%; padding: 10px 16px 24px; }
  #tPrev { left: 10px; }
  #tNext { right: 10px; }
  .cf-caption { padding: 20px; }
  .cf-tabs { flex-direction: column; }
  .footer { padding: 60px 0 30px; }
  /* Footer coluna única e centralizado */
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 36px; }
  .footer-cols { justify-self: center; gap: clamp(48px, 16vw, 90px); }
  .footer-socials { justify-content: center; }
  .footer-logo { margin-left: auto; margin-right: auto; width: min(240px, 62%); }
  .footer-col { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; margin-top: 50px; }
  .footer-legal { justify-content: center; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* Field hints and validation */
.field-hint {
  font-size: 12px;
  font-weight: 400;
  color: rgba(210, 224, 245, 0.78);
  margin-top: -4px;
}
.trial-form input.input-error {
  border-color: #e55 !important;
  background: rgba(220, 50, 50, 0.08);
}
.trial-form input.input-ok {
  border-color: rgba(80, 200, 120, 0.7) !important;
}
.trial-form .field-hint.hint-error {
  color: #e57;
}