:root {
  --bg:        #080f0c;
  --surface:   #0f1815;
  --surface-2: #16211d;
  --neon:      #00f89b;
  --neon-soft: rgba(0, 248, 155, 0.18);
  --neon-deep: #009554;
  --fg:        #f5faf8;
  --muted:     #9ba8a5;
  --red:       #f94144;
  --amber:     #ffbf47;
  --hairline:  rgba(255, 255, 255, 0.08);
  --border:    rgba(255, 255, 255, 0.10);

  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 12px;
  --section-pad: clamp(2.5rem, 5vw, 4rem);
  --gap-head: clamp(1.25rem, 3vw, 1.9rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--fg); margin: 0; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 1.5rem); }
.container-narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- backdrops ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(0,248,155,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,248,155,0.04) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(0,0,0,0.9), transparent 75%);
  will-change: background-position;
}
/* altura 100vh = estável no mobile (não encolhe com a barra de endereço ao rolar) */
#fx-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; pointer-events: none; }
.page { position: relative; z-index: 1; }

/* ---------- intro ---------- */
#intro {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; background: rgba(8,15,12,0.96);
  transition: opacity 1.4s cubic-bezier(0.25,0,0.1,1);
}
#intro.out { opacity: 0; }
#intro-word {
  position: absolute; font-family: var(--font-head);
  font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--fg);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#intro-word.show { opacity: 1; transform: translateY(0); }
#intro-word.accent { color: var(--neon); text-shadow: 0 0 40px var(--neon-soft); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.hero-title .line:nth-child(2) { transition-delay: 0.1s; }
.hero-title .line:nth-child(3) { transition-delay: 0.2s; }
.hero-sub { transition-delay: 0.3s; }
.cta-group { transition-delay: 0.4s; }
.card-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.reveal.from-left  { transform: translateX(-52px); }
.reveal.from-right { transform: translateX(52px); }
.reveal.zoom       { transform: translateY(22px) scale(0.93); }
.reveal.rise       { transform: perspective(1300px) rotateX(10deg) translateY(48px); transform-origin: top center; }
.reveal.in         { transform: none !important; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,15,12,0.72); backdrop-filter: blur(14px);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.85rem clamp(1.1rem, 4vw, 1.5rem); }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-img-footer { height: 34px; }
.nav-links { display: flex; gap: 2rem; margin-right: auto; margin-left: 0.75rem; font-size: 0.875rem; }
.nav-links a { color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--fg); }

/* ---------- buttons (pílula verde) ---------- */
.btn-pc {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--neon); color: #04130c;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; line-height: 1.15;
  padding: 0.95rem 1.9rem; min-height: 50px; border-radius: 999px; border: none; cursor: pointer; text-align: center;
  box-shadow: 0 8px 22px -10px rgba(0,248,155,0.55);
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease;
  animation: btn-pulse 2.2s ease-in-out infinite;
}
.btn-pc.btn-soft { animation: none; }
.btn-pc:hover { transform: translateY(-2px); background: #2bffad; box-shadow: 0 14px 34px -10px rgba(0,248,155,0.72); animation: none; }
.btn-pc:active { transform: translateY(0); }
.btn-pc svg { width: 18px; height: 18px; flex: none; }
.btn-pc-sm { padding: 0.6rem 1.35rem; min-height: 40px; font-size: 0.78rem; }
.btn-pc-sm svg { width: 15px; height: 15px; }
.nav .btn-pc { animation: none; }
.section-cta { text-align: center; margin-top: var(--gap-head); }
@keyframes btn-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 22px -10px rgba(0,248,155,0.55); }
  50% { transform: scale(1.05); box-shadow: 0 16px 40px -8px rgba(0,248,155,0.95); }
}

/* ---------- hero ---------- */
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.1rem, 4vw, 1.5rem); min-height: calc(100vh - 62px); }
.eyebrow { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--neon); margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; }
.hero-title .line { display: block; }
.hero-title .accent { color: var(--neon); text-shadow: 0 0 50px var(--neon-soft); }
.hero-sub { margin-top: 1.2rem; max-width: 48ch; font-size: clamp(1rem, 2.2vw, 1.1rem); line-height: 1.7; color: var(--muted); }
.section-lead { margin-top: 0.7rem; max-width: 62ch; font-size: clamp(0.98rem, 2.2vw, 1.08rem); line-height: 1.6; color: var(--muted); }
.cta-group { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap; }
.status-badge { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 0 rgba(0,248,155,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,248,155,0.55); } 70% { box-shadow: 0 0 0 9px rgba(0,248,155,0); } 100% { box-shadow: 0 0 0 0 rgba(0,248,155,0); } }

/* ---------- hero visual (mascote + efeitos) ---------- */
.hero-visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; margin-bottom: 4.25rem; }
.hero-visual::before {
  content: ""; position: absolute; inset: 2%;
  background: radial-gradient(ellipse 60% 64% at 50% 47%, rgba(0,248,155,0.46), rgba(0,248,155,0.14) 44%, transparent 70%);
  z-index: 0; pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
.hero-photo {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain; display: block;
  animation: hero-float 4.8s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0) scale(1); filter: brightness(1.14) drop-shadow(0 0 34px rgba(0,248,155,0.85)); }
  50% { transform: translateY(-16px) scale(1.04); filter: brightness(1.34) drop-shadow(0 0 104px rgba(0,248,155,1)); }
}
.visual-label { position: absolute; top: calc(100% + 2.2rem); left: 0; right: 0; text-align: center; pointer-events: none; z-index: 3; font-family: var(--font-mono); font-size: clamp(0.78rem, 1.7vw, 1rem); letter-spacing: 0.14em; text-transform: uppercase; }
.label-wrap { position: relative; display: inline-block; }
.bite-text { display: inline-block; color: var(--neon); font-weight: 600; text-shadow: 0 0 14px rgba(0,248,155,0.55); clip-path: inset(0 100% 0 0); }
.bite-text.bite-go { animation: reveal-lr 2s ease-in-out forwards; }
.shark-fin { position: absolute; top: 50%; left: 0; transform: translate(-50%,-50%); width: 26px; height: 20px; opacity: 0; filter: drop-shadow(0 0 9px rgba(0,248,155,0.9)); }
.shark-fin svg { width: 100%; height: 100%; display: block; fill: var(--neon); transform: scaleX(-1); }
.bite-text.bite-go ~ .shark-fin { animation: fin-swim 2s ease-in-out forwards; }
@keyframes reveal-lr { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fin-swim {
  0% { left: 0%; opacity: 0; transform: translate(-50%, -30%); }
  10% { opacity: 1; }
  22% { transform: translate(-50%, -92%); }
  38% { transform: translate(-50%, -26%); }
  54% { transform: translate(-50%, -92%); }
  70% { transform: translate(-50%, -30%); }
  86% { opacity: 1; transform: translate(-50%, -84%); }
  100% { left: 100%; opacity: 0; transform: translate(-50%, -50%); }
}

/* ---------- sections ---------- */
.section { padding: var(--section-pad) 0; }
.section.alt { background: rgba(15,24,21,0.45); }

/* ---------- dashboard (imagem mockup) ---------- */
.dash-shot-wrap { display: block; width: 100%; max-width: 600px; margin: calc(var(--gap-head) + 1.25rem) auto 0; }
.dash-shot {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 24px 58px rgba(0,248,155,0.34)) drop-shadow(0 0 30px rgba(0,248,155,0.18));
  animation: dash-float 5s ease-in-out infinite;
}
@keyframes dash-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
h2 { font-size: clamp(1.95rem, 4.4vw, 2.95rem); letter-spacing: -0.02em; line-height: 1.14; max-width: 26ch; }
h2.center { max-width: 22ch; }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: clamp(0.7rem, 2vw, 1.1rem); margin-top: var(--gap-head); }
.card-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.g2 { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 2.6vw, 1.6rem); background: var(--surface); transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s; }
.card:hover { border-color: rgba(0,248,155,0.5); transform: translateY(-4px); box-shadow: 0 18px 44px -22px rgba(0,248,155,0.45); }
.card h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.28; margin-bottom: 0.4rem; }
.card p { font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.feat-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--neon); background: var(--neon-soft); border: 1px solid rgba(0,248,155,0.25); margin-bottom: 0.8rem; }
.feat-ico svg { width: 20px; height: 20px; }
.feat-ico.danger { color: var(--red); background: rgba(249,65,68,0.12); border-color: rgba(249,65,68,0.28); }

/* ---------- before / after ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: clamp(0.7rem, 2vw, 1.1rem); margin-top: var(--gap-head); }
.ba-col { border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 2.6vw, 1.5rem); background: var(--surface); }
.ba-col.after { border-color: rgba(0,248,155,0.4); box-shadow: 0 20px 60px -30px rgba(0,248,155,0.4); }
.ba-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.ba-tag.accent { color: var(--neon); }
.ba-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.95rem; }
.ba-col li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.98rem; color: var(--fg); }
.ba-col.before li { color: var(--muted); }
.ba-col .x { color: var(--red); font-weight: 700; }
.ba-col .ck { color: var(--neon); font-weight: 700; font-size: 1.2em; line-height: 1; flex: none; text-shadow: 0 0 12px rgba(0,248,155,0.8); }

/* ---------- segurança (comparativo com logos) ---------- */
.sec-logo { display: flex; align-items: center; justify-content: center; gap: 0; min-height: 28px; padding-bottom: 0.45rem; margin-bottom: 0.55rem; border-bottom: 1px solid var(--hairline); }
.sec-logo-img { max-height: 28px; width: auto; object-fit: contain; }
.ba-col.before .sec-logo-img { filter: grayscale(1); opacity: 0.7; }
.sec-brand { font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; color: var(--muted); }
#seguranca .ba-col ul { gap: 0.7rem; }
#seguranca .ba-col li { font-size: 0.86rem; gap: 0.5rem; }

/* ---------- quote cards ---------- */
.quote-card { border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 2.6vw, 1.5rem); background: var(--surface); position: relative; }
.q-stars { color: #ffc24b; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 0.55rem; text-shadow: 0 0 10px rgba(255,194,75,0.4); }
.q-text { font-size: 0.98rem; line-height: 1.55; color: var(--fg); margin: 0 0 1rem; }
.q-author { display: flex; align-items: center; gap: 0.7rem; }
.q-avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 0 0 2px rgba(0,248,155,0.18); }
.q-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.q-name { display: inline-flex; align-items: center; gap: 0.3rem; }
.q-info strong { color: var(--fg); font-weight: 600; font-size: 0.92rem; }
.q-badge { width: 15px; height: 15px; flex: none; color: #3897f0; filter: drop-shadow(0 0 4px rgba(56,151,240,0.55)); }
.q-role { font-size: 0.76rem; color: var(--muted); font-family: var(--font-mono); }

/* ---------- carrossel de depoimentos (marquee) ---------- */
.cmt-viewport {
  overflow: hidden; margin-top: var(--gap-head);
  margin-inline: calc(clamp(1.1rem, 4vw, 1.5rem) * -1); /* full-bleed dentro do container */
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.cmt-track { display: flex; width: max-content; align-items: stretch; animation: cmtScroll 26s linear infinite; }
@media (hover: hover) and (pointer: fine) { .cmt-track:hover { animation-play-state: paused; } }
.cmt-track .quote-card { flex: 0 0 auto; width: min(82vw, 360px); margin-right: 16px; }
@keyframes cmtScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- faq ---------- */
.faq-list { margin-top: var(--gap-head); border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.4rem 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; line-height: 1.35; color: var(--fg); transition: color 0.15s; }
.faq-q:hover { color: var(--neon); }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--neon); transition: transform 0.25s; }
.faq-icon::before { left: 0; top: 50%; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { top: 0; left: 50%; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding-bottom: 1.4rem; }
.faq-a p { font-size: 0.95rem; line-height: 1.65; color: var(--muted); max-width: 64ch; }

/* ---------- cta final ---------- */
.cta-final { text-align: center; }
.cta-actions { margin-top: 2.4rem; }
.fineprint { margin-top: 1.1rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }

/* ---------- footer ---------- */
.footer { padding: clamp(2.5rem, 5vw, 3.25rem) 0; }
.footer-inner { display: flex; flex-direction: column; gap: 0.85rem; }
.muted { font-size: 0.9rem; line-height: 1.6; color: var(--muted); }
.muted.small { font-size: 0.78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-family: var(--font-mono); font-size: 0.82rem; }
.footer-links a:hover { color: var(--neon); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 920px) {
  .card-grid.g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 1.75rem clamp(1.1rem, 4vw, 1.5rem) 0.5rem; gap: 2.25rem; min-height: unset; }
  .hero-visual { max-width: 340px; margin: 0 auto 4.25rem; width: 100%; }
  .nav-links { display: none; }
  .ba-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .card-grid.g3, .card-grid.g2 { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; align-items: stretch; gap: 0.9rem; width: 100%; }
  .cta-group .btn-pc,
  .cta-actions .btn-pc,
  .section-cta .btn-pc { width: 100%; }
  .card { padding: 1.4rem; }
  .ba-col { padding: 1.5rem; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  #intro { display: none !important; }
  .bite-text { clip-path: none !important; }
}
