/* =========================================================
   STORCHE TECH — folha de estilo do site (redesign "Sentinela", 2026-09-18)
   Linguagem: escuro profundo + luz ciano, vidro, movimento vivo,
   imagens e vídeo gerados com Higgsfield (img/gen/).
   Para mudar uma cor no site inteiro, altere só aqui em cima.
   ========================================================= */

:root {
  /* Cores */
  --ground: #05070A;        /* fundo da página — obsidiana */
  --raised: #0B1117;        /* blocos elevados */
  --glass: rgba(14, 22, 30, 0.55);
  --glass-strong: rgba(10, 16, 22, 0.78);
  --ink: #FFFFFF;
  --muted: #94A3B0;
  --line: rgba(120, 190, 220, 0.16);
  --line-strong: rgba(120, 190, 220, 0.32);
  --symbol: #19C6F0;        /* ciano da marca */
  --symbol-soft: rgba(25, 198, 240, 0.14);
  --symbol-glow: rgba(25, 198, 240, 0.45);
  --on-symbol: #04121A;
  --ok: #3DF2A8;
  --danger: #FF6B6B;

  /* Faixa clara (planos) */
  --light-ground: #EEF3F7;
  --light-raised: #FFFFFF;
  --light-ink: #07131B;
  --light-muted: #56646F;
  --light-line: #D3DDE5;
  --blue: #0057FF;

  /* Tipografia */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Espaçamentos e formas */
  --gutter: 20px;
  --section: 88px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-btn: 999px;

  /* Movimento */
  --dur-fast: 0.2s;
  --dur-normal: 0.4s;
  --dur-slow: 0.8s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 64px; --section: 148px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--symbol); color: var(--on-symbol); }
:focus-visible { outline: 2px solid var(--symbol); outline-offset: 3px; border-radius: 6px; }

/* Fundo dinâmico minimalista (todas as páginas): dois brilhos suaves à deriva, bem devagar.
   Só transform (GPU), sem blur. Seções com fundo próprio (hero, faixa clara) cobrem por cima. */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; will-change: transform;
  width: 70vmax; height: 70vmax;
}
body::before { top: -32vmax; left: -22vmax; background: radial-gradient(closest-side, rgba(25, 198, 240, 0.17), transparent); animation: bg-drift-a 36s ease-in-out infinite alternate; }
body::after { bottom: -36vmax; right: -26vmax; background: radial-gradient(closest-side, rgba(0, 87, 255, 0.14), transparent); animation: bg-drift-b 44s ease-in-out infinite alternate; }
@keyframes bg-drift-a { to { transform: translate3d(18vmax, 14vmax, 0) scale(1.12); } }
@keyframes bg-drift-b { to { transform: translate3d(-16vmax, -12vmax, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; } }

/* Barra de progresso de leitura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; transform-origin: 0 50%; transform: scaleX(0); background: var(--symbol); }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--raised { background: linear-gradient(180deg, transparent, rgba(11, 17, 23, 0.85) 12%, rgba(11, 17, 23, 0.85) 88%, transparent); }
.section--line-top { border-top: 1px solid var(--line); }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--accent { color: var(--symbol); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--accent::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.display { font-size: clamp(42px, 5.4vw, 86px); line-height: 0.96; font-weight: 800; letter-spacing: -0.035em; font-stretch: 112%; }
.h1 { font-size: clamp(42px, 6vw, 92px); line-height: 0.98; font-weight: 800; letter-spacing: -0.03em; font-stretch: 108%; }
.h2 { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; font-stretch: 106%; }
.h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.dot { color: var(--symbol); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-stretch: 100%; }
.grad { color: var(--symbol); }

.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
@media (min-width: 900px) {
  .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 80px; }
  .section-head > * { max-width: 780px; }
}

/* ---------- Revelação ao rolar ---------- */
html.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-group > * { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .reveal-group.is-visible > * { opacity: 1; transform: none; }

.page-head__copy { opacity: 0; animation: hero-in 0.9s 0.1s var(--ease-out) forwards; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-group > * { opacity: 1; transform: none; transition: none; }
  .page-head__copy { animation: none; opacity: 1; }
}

/* ---------- Botões ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 58px; padding: 0 32px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 700; letter-spacing: 0.01em; border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn--primary { background: var(--symbol); color: var(--on-symbol); }
.btn--primary:hover { background: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--symbol); background: var(--symbol-soft); }
.btn:active { transform: scale(0.97); }
.btn--sm { height: 46px; padding: 0 24px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; transition: transform var(--dur-normal) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }

/* ---------- Ícones ---------- */
.icon { width: 30px; height: 30px; stroke: var(--symbol); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; stroke-width: 2.5; }

.dots { background-image: radial-gradient(var(--line-strong) 1.4px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%); }
.dots--accent { background-image: radial-gradient(var(--symbol) 1.4px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%); }

/* =========================================================
   CABEÇALHO — flutuante, de vidro
   ========================================================= */
.header { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: padding var(--dur-normal) var(--ease-out); }
.header__inner {
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 12px 0 22px; margin: 0 var(--gutter); max-width: none; width: auto;
  border: 1px solid transparent; border-radius: var(--radius-btn);
  transition: background var(--dur-normal) var(--ease-out), border-color var(--dur-normal) var(--ease-out), backdrop-filter var(--dur-normal);
}
@media (min-width: 1500px) { .header__inner { margin: 0 auto; max-width: 1232px; } }
/* Animação mínima do cabeçalho: um fio de luz percorre a base, devagar, em loop.
   Por baixo, uma linha tênue fixa; sem "reduzir movimento" só ela aparece. */
.header__inner { position: relative; }
.header__inner::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: -1px; height: 1px; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(25, 198, 240, 0.9), transparent),
    linear-gradient(90deg, transparent, rgba(120, 190, 220, 0.22), transparent);
  background-repeat: no-repeat;
  background-size: 34% 100%, 100% 100%;
  background-position: -70% 0, 0 0;
  animation: header-glide 8s ease-in-out infinite;
}
@keyframes header-glide {
  0%   { background-position: -70% 0, 0 0; }
  100% { background-position: 170% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .header__inner::after { animation: none; background-size: 0 0, 100% 100%; } }
.header.is-scrolled .header__inner { background: var(--glass-strong); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.header__logo img { height: 30px; width: auto; }
.nav { display: none; }
.nav a { position: relative; font-size: 14px; font-weight: 600; padding: 10px 0; color: #D4E2EA; transition: color var(--dur-fast); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--symbol); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-normal) var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: none; }
.menu-toggle { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.menu-toggle .icon-close { display: none; }

@media (min-width: 900px) {
  .header { padding: 18px 0; }
  .header__inner { height: 68px; }
  .header__logo img { height: 34px; }
  .nav { display: flex; align-items: center; gap: 34px; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: -1; background: rgba(5, 7, 10, 0.96); backdrop-filter: blur(20px);
  padding: 110px var(--gutter) 32px; display: none; flex-direction: column;
  opacity: 0; transform: translateY(-8px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.mobile-menu a span { font-family: var(--font-mono); color: var(--symbol); font-size: 16px; font-weight: 500; }
.mobile-menu .btn { margin-top: auto; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { display: flex; }
body.menu-open .mobile-menu.is-open { opacity: 1; transform: none; }
body.menu-open .menu-toggle .icon-open { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu { transition: none; transform: none; } }

/* =========================================================
   HERO — vídeo Higgsfield em tela cheia
   ========================================================= */
.hero { position: relative; min-height: 100svh; margin-top: -92px; padding: 150px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
/* Camada da imagem: um pouco maior que o hero (inset negativo) para o parallax nunca mostrar borda.
   O JS desloca ela com o mouse; sem mouse (celular) ela balança sozinha, bem de leve. */
.hero__media { position: absolute; inset: -3%; z-index: -3; will-change: transform; }
.hero__fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .hero__media { animation: hero-sway 16s ease-in-out infinite alternate; }
  @keyframes hero-sway { from { transform: translate3d(-1.2%, 0, 0); } to { transform: translate3d(1.2%, -0.8%, 0); } }
}
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
/* Fundo clean do hero: cor lisa do site + um único brilho suave no canto. Sem imagem, vídeo ou partículas. */
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse 60% 55% at 85% 12%, rgba(25, 198, 240, 0.10), transparent 70%),
  var(--ground); }
.hero__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.hero__grid > * { min-width: 0; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; padding: 9px 16px 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn); background: var(--glass); backdrop-filter: blur(12px); }
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: block; box-shadow: 0 0 0 0 rgba(61, 242, 168, 0.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(61, 242, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 242, 168, 0); } }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero .display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero .display .w > span { display: inline-block; transform: translateY(110%); animation: word-up 0.9s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 90ms + 0.2s); }
@keyframes word-up { to { transform: none; } }
/* Palavra que alterna no título (ver initWordRotator em js/main.js). */
.rotator { position: relative; white-space: nowrap; transition: width 0.6s var(--ease-out); }
.rotator__word { display: inline-block; will-change: transform, opacity, filter; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__tag, .hero__copy .lead, .hero__actions, .hero__panel, .hero__stats { opacity: 0; animation: hero-in 0.9s var(--ease-out) forwards; }
.hero__tag { animation-delay: 0.05s; }
.hero__copy .lead { animation-delay: 0.9s; max-width: 560px; color: #C4D3DC; }
.hero__actions { animation-delay: 1.05s; }
.hero__panel { animation-delay: 1.2s; }
.hero__stats { animation-delay: 1.35s; }
@media (prefers-reduced-motion: reduce) {
  .hero .display .w > span { transform: none; animation: none; }
  .hero__tag, .hero__copy .lead, .hero__actions, .hero__panel, .hero__stats { animation: none; opacity: 1; }
  .hero__tag i { animation: none; }
}

/* Painel "Sentinela" — simulação ilustrativa ao vivo */
.hero__panel { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--glass-strong); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); overflow: hidden; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.panel__title svg { width: 20px; height: 20px; stroke: var(--symbol); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.panel__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; }
.panel__feed { height: 232px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 0; font-family: var(--font-mono); font-size: 12.5px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
.feed__row { display: flex; align-items: center; gap: 12px; padding: 9px 20px; color: #B9CAD4; opacity: 0; animation: feed-in 0.5s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 0.18s + 1.5s); }
.feed__row:nth-child(1) { --i: 0; } .feed__row:nth-child(2) { --i: 1; } .feed__row:nth-child(3) { --i: 2; } .feed__row:nth-child(4) { --i: 3; } .feed__row:nth-child(5) { --i: 4; }
.feed__row i { width: 62px; font-style: normal; color: var(--muted); flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .feed__row { opacity: 1; animation: none; } }
.feed__row b { font-weight: 600; color: #fff; }
.feed__row em { margin-left: auto; font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 5px; letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0; }
.feed__row em.block { color: var(--symbol); background: var(--symbol-soft); }
.feed__row em.ok { color: var(--ok); background: rgba(61, 242, 168, 0.12); }
/* Status que "liga" no Sentinela (ver initSentinel em js/main.js): off → wait → ok. */
.feed__row em { transition: color 0.3s, background-color 0.3s; }
.feed__row em.off { color: var(--danger); background: rgba(255, 107, 107, 0.12); }
.feed__row em.wait { color: var(--muted); background: rgba(255, 255, 255, 0.06); }
.feed__row em.wait::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: wait-dots 0.9s steps(4) infinite; }
@keyframes wait-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.feed__row em.is-on { animation: status-on 0.7s var(--ease-out); }
@keyframes status-on { 0% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(61, 242, 168, 0.55); } 45% { transform: scale(1.08); } 100% { transform: none; box-shadow: 0 0 0 10px rgba(61, 242, 168, 0); } }
@keyframes feed-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel__foot { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.panel__foot div { padding: 14px 20px; display: flex; flex-direction: column; gap: 2px; }
.panel__foot div + div { border-left: 1px solid var(--line); }
.panel__foot strong { font-size: 20px; letter-spacing: -0.02em; }
.panel__foot span { font-size: 12px; color: var(--muted); }

.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.hero__stats > div { padding: 22px 0; display: flex; flex-direction: column; gap: 4px; }
.hero__stats > div:nth-child(odd) { padding-right: 16px; }
.hero__stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.hero__stats strong { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.hero__stats span { font-size: 13px; color: var(--muted); }

@media (min-width: 900px) {
  .hero { margin-top: -104px; padding-top: 170px; }
  .hero__grid { grid-template-columns: 7fr 4fr; gap: 64px; align-items: end; padding-bottom: 72px; }
  .hero__actions { flex-direction: row; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .hero__stats > div, .hero__stats > div:nth-child(odd), .hero__stats > div:nth-child(even) { padding: 26px 24px; border-left: 1px solid var(--line); }
  .hero__stats > div:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Faixa rolante ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: rgba(5, 7, 10, 0.6); }
.marquee__track { display: flex; white-space: nowrap; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; font-family: var(--font) !important; font-size: clamp(28px, 4vw, 56px) !important; line-height: 1 !important; font-weight: 800 !important; letter-spacing: -0.03em !important; text-transform: none !important; color: transparent !important; -webkit-text-stroke: 1px rgba(160, 215, 235, 0.45); }
.marquee__group i { width: 12px; height: 12px; border-radius: 50%; background: var(--symbol); display: inline-block; box-shadow: 0 0 18px var(--symbol); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =========================================================
   PROBLEMAS (cartões com luz que segue o cursor)
   ========================================================= */
.grid-cards { display: grid; gap: 14px; }
.card, .feature-cell, .plan { --mx: 50%; --my: 50%; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform var(--dur-normal) var(--ease-out), border-color var(--dur-normal) var(--ease-out);
}
.card::before, .feature-cell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity var(--dur-normal); background: radial-gradient(360px circle at var(--mx) var(--my), rgba(25, 198, 240, 0.2), transparent 65%); }
.card:hover, .feature-cell:hover { border-color: var(--line-strong); }
.card:hover::before, .feature-cell:hover::before { opacity: 1; }
.card:hover { transform: translateY(-8px); }
.card .icon { width: 24px; height: 24px; padding: 10px; box-sizing: content-box; border-radius: 12px; background: var(--symbol-soft); }
.card__title { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; flex: 1; }
.card__text { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--symbol); }
.card__link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; transition: transform 0.25s; }
.card:hover .card__link svg { transform: translateX(6px); }
@media (min-width: 600px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; min-height: 300px; }
  .card:nth-child(4), .card:nth-child(5) { grid-column: span 3; min-height: 240px; }
}

/* =========================================================
   SERVIÇOS — blocos com imagem gerada
   ========================================================= */
.service-row { display: grid; gap: 28px; padding: 28px 0 56px; }
.service-row__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.service-row:hover .service-row__media img { transform: scale(1.16); }
.service-row__media video { width: 100%; height: 100%; object-fit: cover; }
.service-row__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 10, 0.7)); }
.service-row__num { position: absolute; left: 22px; bottom: 16px; z-index: 1; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.16em; color: var(--symbol); }
.service-row__body { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.service-row__copy { display: flex; flex-direction: column; gap: 16px; }
.service-row__copy p { color: var(--muted); max-width: 520px; font-size: 17px; }
.service-row .h3 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.03em; }
.bullets { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 22px; }
.bullets li { display: flex; gap: 12px; align-items: baseline; }
.bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--symbol); flex-shrink: 0; position: relative; top: -1px; }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 6fr 5fr; column-gap: 96px; align-items: center; padding: 40px 0 104px; }
  .service-row--flip .service-row__media { order: 2; }
  .service-row__media { aspect-ratio: 5 / 4; }
}

/* =========================================================
   CLOUDFLARE — laranja da marca dentro do universo ciano.
   Regra de harmonia: o laranja só aparece onde a Cloudflare é a
   protagonista (logo, marcadores, botão, coluna "com Cloudflare");
   o resto segue ciano, e os dois se encontram em luz/degradê.
   ========================================================= */
:root {
  --cf: #F38020;
  --cf-2: #FAAD3F;
  --cf-soft: rgba(243, 128, 32, 0.14);
  --cf-glow: rgba(243, 128, 32, 0.45);
}
.cf-logo { height: 88px; width: auto; align-self: flex-start; margin-left: -6px; }
.stat-cf { display: inline-flex; align-items: center; gap: 10px; }
.stat-cf img { height: 20px; width: auto; }

.btn--cf { background: var(--cf); color: #1A0C00; }
.btn--cf:hover { background: var(--cf-2); }

.service-row--cf { position: relative; isolation: isolate; }
.service-row--cf::before { content: ""; position: absolute; z-index: -1; inset: -8% -6%; pointer-events: none; background:
  radial-gradient(45% 55% at 22% 50%, rgba(243, 128, 32, 0.16), transparent 70%),
  radial-gradient(40% 50% at 85% 60%, rgba(25, 198, 240, 0.10), transparent 70%); }
.service-row--cf .service-row__media { border-color: rgba(243, 128, 32, 0.4); box-shadow: 0 0 90px -35px var(--cf-glow); }
.service-row--cf .service-row__media::after { background:
  linear-gradient(180deg, transparent 50%, rgba(5, 7, 10, 0.75)),
  linear-gradient(125deg, rgba(243, 128, 32, 0.12), transparent 50%, rgba(25, 198, 240, 0.12)); }
.service-row--cf .service-row__num { color: var(--cf-2); }
.service-row--cf .bullets li::before { background: var(--cf); }

/* Página de serviços — seção #cloudflare */
.section--cf { position: relative; isolation: isolate; overflow: hidden; }
.section--cf::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background:
  radial-gradient(50% 60% at 12% 20%, rgba(243, 128, 32, 0.16), transparent 70%),
  radial-gradient(40% 50% at 92% 80%, rgba(25, 198, 240, 0.10), transparent 70%); }
.section--cf .feature__copy .cf-logo { height: 96px; }
.section--cf .feature__num { color: var(--cf); }
.section--cf .callout { border-left-color: var(--cf); }
.section--cf .table-lines { border-top-color: rgba(243, 128, 32, 0.45); }
.section--cf .table-lines__row--head em { color: var(--cf-2); }
.section--cf .table-lines__row:not(.table-lines__row--head):hover { background: var(--cf-soft); }
.section--cf .table-lines__row:not(.table-lines__row--head) > span:last-child { color: #FFE9D2; }
.section--cf .table-lines__row:not(.table-lines__row--head) > span:last-child::before { content: "✓ "; color: var(--cf); font-weight: 800; }
.section--cf .btn--primary { background: var(--cf); color: #1A0C00; }
.section--cf .btn--primary:hover { background: var(--cf-2); }

/* =========================================================
   PRESET 3D — bloco 01 dos serviços (index.html)
   Tudo em cqw (largura do próprio bloco): a cena escala junto com a caixa.
   O JS (initMock3d) só escreve --rx/--ry (inclinação), --gx/--gy (reflexo).
   ========================================================= */
.service-row__media--3d { background: radial-gradient(90% 70% at 50% 40%, #0d1a26, #06090d); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.service-row__media--3d::after { background: none; }
.service-row .service-row__media--3d img, .service-row:hover .service-row__media--3d img { transform: none; transition: none; }
.service-row__media--3d::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; opacity: 0.35; -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); }

.mock3d { position: absolute; inset: 0; container-type: inline-size; perspective: 120cqw; --depth: 1; }
.mock3d.is-active { --depth: 1.8; }
.mock3d__idle, .mock3d__tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.mock3d__idle { animation: m-sway 9s ease-in-out infinite alternate; }
@keyframes m-sway { from { transform: rotateY(-4deg) translateY(0.8cqw); } to { transform: rotateY(4deg) translateY(-0.8cqw); } }
.mock3d__tilt { transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -16deg)); }

.mock3d [class^="m-"], .mock3d [class*=" m-"] { box-sizing: border-box; }
.m-win, .m-phone, .m-chip, .m-shadow { position: absolute; transition: transform 0.6s var(--ease-out); }
.m-shadow { left: 12cqw; top: 58cqw; width: 66cqw; height: 9cqw; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent); transform: translateZ(calc(-4cqw * var(--depth))); }

.m-win { left: 9cqw; top: 10cqw; width: 66cqw; height: 49cqw; border-radius: 1.6cqw; overflow: hidden; background: #0a1118; border: 1px solid var(--line-strong); transform: translateZ(0); }
.m-bar { display: flex; align-items: center; gap: 0.8cqw; height: 3.6cqw; padding: 0 1.6cqw; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid var(--line); }
.m-bar i { width: 0.9cqw; height: 0.9cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.m-bar span { margin-left: 1.2cqw; padding: 0.4cqw 1.6cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.06); font-family: var(--font-mono); font-size: 1.2cqw; line-height: 1.2; color: var(--muted); }
.m-body { padding: 1.6cqw 2cqw 0; display: flex; flex-direction: column; gap: 1.6cqw; }
.m-nav { display: flex; align-items: center; gap: 2cqw; height: 3cqw; }
.m-nav b { font-size: 1.5cqw; letter-spacing: 0.08em; font-weight: 800; }
.m-links { display: flex; gap: 1.2cqw; margin-left: auto; }
.m-links s { width: 4.2cqw; height: 0.6cqw; border-radius: 9px; background: rgba(255, 255, 255, 0.28); }
.m-nav em { font-style: normal; font-size: 1.2cqw; font-weight: 700; padding: 0.7cqw 1.6cqw; border-radius: 99px; background: var(--symbol); color: var(--on-symbol); }
.m-hero { position: relative; height: 24cqw; border-radius: 1.2cqw; overflow: hidden; }
.m-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 10, 0.92) 15%, rgba(5, 7, 10, 0.2)); }
.m-hero__txt { position: absolute; z-index: 1; left: 2.4cqw; top: 3.2cqw; display: flex; flex-direction: column; gap: 1.2cqw; align-items: flex-start; }
.m-hero__txt small { font-family: var(--font-mono); font-size: 1cqw; letter-spacing: 0.16em; text-transform: uppercase; color: var(--symbol); }
.m-hero__txt strong { font-size: 3cqw; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.m-btn { display: inline-block; font-size: 1.15cqw; font-weight: 700; padding: 0.8cqw 1.8cqw; border-radius: 99px; background: var(--symbol); color: var(--on-symbol); }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.m-cards div { height: 11cqw; padding: 1.4cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.8cqw; }
.m-cards u { width: 2.6cqw; height: 2.6cqw; border-radius: 0.7cqw; background: var(--symbol-soft); border: 1px solid var(--symbol); }
.m-cards s, .m-phone s { display: block; height: 0.7cqw; border-radius: 9px; background: rgba(255, 255, 255, 0.22); text-decoration: none; }
.m-cards s:last-child, .m-phone s:last-of-type { width: 60%; }
.m-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(38cqw circle at var(--gx, 30%) var(--gy, 15%), rgba(255, 255, 255, 0.13), transparent 60%); }

.m-phone { right: 7cqw; top: 31cqw; width: 19cqw; height: 37cqw; border-radius: 3cqw; overflow: hidden; background: #0a1118; border: 0.35cqw solid #1b2a38; transform: translateZ(calc(10cqw * var(--depth))); }
.m-phone__notch { position: absolute; z-index: 2; left: 50%; top: 0.9cqw; width: 5cqw; height: 1.2cqw; margin-left: -2.5cqw; border-radius: 99px; background: #05070a; }
.m-phone__img { height: 15cqw; position: relative; }
.m-phone__img img { width: 100%; height: 100%; object-fit: cover; }
.m-phone__txt { padding: 1.6cqw; display: flex; flex-direction: column; gap: 1cqw; align-items: flex-start; }
.m-phone__txt strong { font-size: 1.9cqw; line-height: 1.1; letter-spacing: -0.02em; }
.m-phone__txt s { width: 100%; }
.m-phone .m-btn { font-size: 1.05cqw; padding: 0.7cqw 1.5cqw; }

.m-chip { display: inline-flex; align-items: center; gap: 0.9cqw; padding: 1cqw 1.8cqw 1cqw 1.4cqw; border-radius: 99px; background: rgba(10, 17, 24, 0.92); border: 1px solid var(--line-strong); font-size: 1.5cqw; font-weight: 700; white-space: nowrap; transform: translateZ(calc(var(--z, 10) * 1cqw * var(--depth))); }
.m-chip svg { width: 2cqw; height: 2cqw; stroke: var(--symbol); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-chip--https { left: 3cqw; top: 5cqw; }
.m-chip--seo { right: 5cqw; top: 15cqw; }
.m-chip--wa { left: 5cqw; top: 60cqw; }

.mock3d__hint { position: absolute; right: 16px; bottom: 14px; z-index: 1; display: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: opacity var(--dur-normal); }
@media (hover: hover) { .mock3d__hint { display: block; } }
.service-row__media--3d:hover .mock3d__hint { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .mock3d__idle { animation: none; }
  .m-win, .m-phone, .m-chip, .m-shadow { transition: none; }
}

/* =========================================================
   VITRINE — sites já publicados (servicos.html#sites)
   ========================================================= */
.showcase { padding-bottom: var(--section); margin-top: calc(var(--section) * -0.45); }
.showcase__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.showcase__grid { display: grid; gap: 24px; }
.browser { display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--raised); transition: transform var(--dur-normal) var(--ease-out), border-color var(--dur-normal) var(--ease-out); }
.browser:hover { transform: translateY(-6px); border-color: var(--symbol); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.browser__url { margin-left: 12px; flex: 1; min-width: 0; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.browser__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease-out); }
.browser:hover .browser__shot img { transform: scale(1.04); }
.browser__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 18px 20px; }
.browser__cap strong { font-size: 18px; letter-spacing: -0.01em; }
.browser__cap span { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.browser__cap em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; color: var(--symbol); }
.browser__cap strong { flex: 1; }
@media (min-width: 820px) { .showcase__grid { grid-template-columns: 1fr 1fr; gap: 32px; } .showcase__head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
@media (prefers-reduced-motion: reduce) { .browser, .browser__shot img { transition: none; } .browser:hover { transform: none; } .browser:hover .browser__shot img { transform: none; } }

/* =========================================================
   PARA QUEM (abas com foto)
   ========================================================= */
.tabs { display: grid; gap: 28px; }
/* Sem isso a coluna do grid cresce com a lista de abas (overflow-x) e o painel vaza da tela. */
.tabs > * { min-width: 0; }
.tabs__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; height: 46px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn);
  background: transparent; color: var(--ink); font-size: 14px; font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.tab:hover { border-color: var(--symbol); }
.tab[aria-selected="true"] { background: var(--symbol); border-color: var(--symbol); color: var(--on-symbol); }
.tabs__panel { display: none; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); border: 1px solid var(--line); background: var(--raised); padding: 28px; flex-direction: column; gap: 18px; }
.tabs__panel[data-active] { display: flex; opacity: 0; transform: translateY(12px); animation: tab-panel-in 0.6s var(--ease-out) forwards; }
@keyframes tab-panel-in { to { opacity: 1; transform: none; } }
.tabs__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transform: scale(1.06); animation: kenburns 18s ease-in-out infinite alternate; }
.tabs__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.78) 45%, rgba(5, 7, 10, 0.25) 100%); }
@keyframes kenburns { to { transform: scale(1.16) translate3d(-2%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .tabs__panel[data-active] { animation: none; opacity: 1; transform: none; } .tabs__img { animation: none; } }
.tabs__panel .h3 { max-width: 560px; }
.tabs__panel .muted { max-width: 520px; color: #B5C4CD; }
.tabs__panel .bullets { display: grid; gap: 12px; max-width: 620px; }

/* Celular: foto no topo do cartão (não atrás do texto), abas em faixa deslizável,
   itens em lista com divisórias e botão de largura total. */
@media (max-width: 899px) {
  .tabs { gap: 20px; }
  .tabs__list {
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px;
    scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 44px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 44px), transparent 100%);
  }
  .tab { scroll-snap-align: center; height: 44px; padding: 0 18px; font-size: 14px; }

  .tabs__panel { padding: 0 0 24px; gap: 14px; border-radius: 20px; }
  .tabs__panel::before { display: none; }
  .tabs__img {
    position: relative; inset: auto; z-index: 0; width: 100%; height: 190px; opacity: 1; animation: none; transform: none;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
  }
  .tabs__panel > :not(.tabs__img) { margin-inline: 20px; }
  .tabs__panel > .eyebrow { margin-top: -34px; position: relative; }
  .tabs__panel .h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
  .tabs__panel .muted { font-size: 15px; line-height: 1.55; color: #B5C4CD; }
  .tabs__panel .bullets { gap: 0; margin-top: 4px; }
  .tabs__panel .bullets li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
  .tabs__panel .bullets li:last-child { border-bottom: 1px solid var(--line); }
  .tabs__panel .btn { align-self: stretch; margin-top: 6px; width: auto; }
}
@media (min-width: 900px) {
  .tabs { grid-template-columns: 4fr 8fr; column-gap: 48px; }
  .tabs__list { flex-direction: column; overflow: visible; gap: 6px; align-self: start; position: sticky; top: 120px; }
  .tab { height: 62px; padding: 0 26px; text-align: left; font-size: 17px; border-radius: var(--radius-sm); border-color: transparent; background: rgba(255, 255, 255, 0.03); display: flex; align-items: center; justify-content: space-between; }
  .tab::after { content: "→"; opacity: 0; transform: translateX(-8px); transition: 0.3s var(--ease-out); }
  .tab[aria-selected="true"]::after, .tab:hover::after { opacity: 1; transform: none; }
  .tabs__panel { padding: 56px; gap: 24px; min-height: 560px; }
  .tabs__panel .bullets { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
  .tabs__panel .btn { margin-top: auto; align-self: flex-start; }
}

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.steps { display: flex; flex-direction: column; border-left: 1px solid var(--line-strong); margin-left: 7px; position: relative; }
.step { position: relative; padding: 0 0 36px 30px; display: flex; flex-direction: column; gap: 10px; }
.step::before { content: ""; position: absolute; left: -8px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--symbol); box-shadow: 0 0 0 5px var(--symbol-soft); }
.step h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 320px; }
@media (min-width: 900px) {
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; border-left: 0; margin-left: 0; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
  .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--symbol); transform: scaleX(0); transform-origin: left; transition: transform 2.4s 0.3s var(--ease-out); }
  .steps.is-visible::after { transform: scaleX(1); }
  .step { padding: 0; gap: 20px; padding-top: 48px; }
  .step::before { left: 0; top: 0; }
  .step h3 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .steps::after { transition: none; } }

/* =========================================================
   PLANOS (faixa clara)
   ========================================================= */
.section--light { background: var(--light-ground); color: var(--light-ink); position: relative; }
.section--light::before, .section--light::after { content: ""; position: absolute; left: 0; right: 0; height: 80px; pointer-events: none; }
.section--light::before { top: -1px; background: linear-gradient(180deg, var(--ground), transparent); }
.section--light::after { bottom: -1px; background: linear-gradient(0deg, var(--ground), transparent); }
.section--light > .container { position: relative; z-index: 1; }
.section--light .eyebrow { color: var(--light-muted); }
.section--light .eyebrow--accent { color: var(--blue); }
.section--light .lead, .section--light .muted { color: var(--light-muted); }

.plans { display: grid; gap: 18px; }
.plan { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 22px; padding: 36px 28px; border-radius: 24px; background: var(--light-raised); border: 1px solid var(--light-line); transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out); }
.plan:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(7, 19, 27, 0.35); }
.plan--featured { background: radial-gradient(120% 90% at 100% 0%, #2B7BFF 0%, var(--blue) 45%, #002E9E 100%); color: #fff; border-color: transparent; }
.plan--featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.22), transparent 65%); }
.plan--featured .eyebrow, .plan--featured .muted { color: rgba(255, 255, 255, 0.85); }
.plan__badge { position: absolute; top: 20px; right: 20px; background: #fff; color: var(--blue); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.plan > .btn { margin-top: auto; }
.plan .bullets { flex: 1; }
.plan .bullets li::before { background: var(--blue); box-shadow: none; }
.plan--featured .bullets li::before { background: #fff; }
.plan .btn { height: 54px; border-color: var(--light-ink); color: var(--light-ink); background: transparent; backdrop-filter: none; }
.plan .btn:hover { background: var(--light-ink); color: #fff; }
.plan--featured .btn { background: #fff; color: var(--blue); border-color: #fff; }
.plan--featured .btn:hover { background: var(--light-ink); color: #fff; border-color: var(--light-ink); }
.plans__note { font-size: 14px; line-height: 1.5; color: var(--light-muted); margin-top: 28px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; } .plan { padding: 44px 40px; } .plan--featured { transform: translateY(-16px); } .plan--featured:hover { transform: translateY(-24px); } }
@media (prefers-reduced-motion: reduce) { .plan:hover, .plan--featured, .plan--featured:hover { transform: none; } }


/* =========================================================
   TESTE GRÁTIS / FORMULÁRIOS
   ========================================================= */
.field { display: flex; flex-direction: column; gap: 10px; }
.label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.input {
  width: 100%; height: 58px; padding: 0 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--ink); font-size: 16px; transition: border-color 0.2s, box-shadow 0.3s, background 0.2s;
}
.input:focus { outline: none; border-color: var(--symbol); background: rgba(25, 198, 240, 0.06); box-shadow: 0 0 0 4px var(--symbol-soft); }
textarea.input { height: auto; min-height: 130px; padding: 18px 22px; resize: vertical; line-height: 24px; }
.input::placeholder { color: #6F7F8B; }
.form-row { display: flex; flex-direction: column; gap: 12px; }
.form-grid { display: grid; gap: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { height: 46px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn); background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 600; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast); }
.pill:hover { border-color: var(--symbol); }
.pill[aria-pressed="true"] { background: var(--symbol); border-color: var(--symbol); color: var(--on-symbol); }
.pill:active { transform: scale(0.96); }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 26px; background: var(--glass-strong); border: 1px solid var(--symbol); border-radius: var(--radius); }
.notice svg { width: 30px; height: 30px; stroke: var(--symbol); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.notice strong { display: block; font-size: 18px; margin-bottom: 4px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--symbol); font-weight: 700; text-decoration: underline; }
.hidden { display: none !important; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-size: 14px; }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.two-col { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 6fr 5fr; column-gap: 96px; align-items: center; }
  .two-col--form { grid-template-columns: 5fr 6fr; align-items: start; }
  .form-row { flex-direction: row; }
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.form-card { background: var(--glass); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(14px); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) { .form-card { padding: 52px; } }

/* Scanner — seção do teste grátis */
.scan { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; border: 1px solid var(--line-strong); padding: 40px 24px; }
.scan__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.scan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 7, 10, 0.95) 25%, rgba(5, 7, 10, 0.45)); }
@media (min-width: 900px) { .scan { padding: 88px 72px; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); transition: background 0.3s; }
.faq__item[open] { background: linear-gradient(90deg, var(--symbol-soft), transparent 60%); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 22px 8px; background: none; border: 0; color: var(--ink); font-size: 18px; line-height: 1.3; font-weight: 600; list-style: none; cursor: pointer; letter-spacing: -0.01em; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--symbol); }
.faq__q i { font-style: normal; font-size: 30px; line-height: 1; font-weight: 300; color: var(--symbol); width: 28px; text-align: center; flex-shrink: 0; display: inline-block; transition: transform var(--dur-normal) var(--ease-out); }
.faq__item[open] .faq__q i { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 48px 24px 8px; color: var(--muted); opacity: 0; transform: translateY(-6px); animation: faq-in var(--dur-normal) var(--ease-out) forwards; max-width: 720px; }
.faq__item[open] .faq__a { display: block; }
@keyframes faq-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq__q i, .faq__a { transition: none; animation: none; opacity: 1; transform: none; } }
@media (min-width: 900px) { .faq__q { padding: 28px 12px; font-size: 21px; } .faq__a { padding-left: 12px; padding-bottom: 28px; } }

/* =========================================================
   CTA FINAL + RODAPÉ
   ========================================================= */
.cta { position: relative; padding: calc(var(--section) + 40px) 0; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: 0.85; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ground) 0%, rgba(5, 7, 10, 0.35) 45%, rgba(5, 7, 10, 0.65) 100%); }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 36px; max-width: 980px; margin: 0 auto; position: relative; }
.cta__inner .h2 { font-size: clamp(38px, 6vw, 92px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.cta .hero__actions { justify-content: center; opacity: 1; animation: none; }
.cta .dots--accent { position: absolute; right: var(--gutter); top: 32px; width: 120px; height: 120px; opacity: 0.3; }
/* CTA das páginas internas (alinhado à esquerda) */
/* CTA final da home: fundo animado minimalista (grid que desliza, brilho que
   respira, linha de luz que atravessa) + título que sobe palavra por palavra. */
.cta--anim { background: var(--ground); }
.cta--anim::before { background: radial-gradient(ellipse 70% 60% at 50% 55%, transparent 0%, var(--ground) 78%); }
.cta__fx { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.cta__fx i { position: absolute; display: block; }
.cta__grid { inset: -64px 0 0; background-image: linear-gradient(rgba(120, 190, 220, 0.24) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 190, 220, 0.24) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 55%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 55%, #000 10%, transparent 75%); animation: cta-grid 14s linear infinite; }
@keyframes cta-grid { to { transform: translateY(64px); } }
.cta__glow { left: 50%; top: 55%; width: min(760px, 90vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--symbol-soft) 0%, transparent 65%); transform: translate(-50%, -50%); animation: cta-breathe 8s ease-in-out infinite alternate; }
@keyframes cta-breathe { from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } }
.cta__scan { left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--symbol-glow) 30%, var(--symbol) 50%, var(--symbol-glow) 70%, transparent); box-shadow: 0 0 18px var(--symbol-glow); opacity: 0; animation: cta-scan 9s var(--ease-out) infinite 1.5s; }
@keyframes cta-scan { 0% { opacity: 0; top: 12%; } 10% { opacity: 0.8; } 45% { opacity: 0; top: 88%; } 100% { opacity: 0; top: 88%; } }
.cta__title { max-width: 980px; }
.cta__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.1em; margin: 0 -0.06em -0.1em; }
.cta__title .w > span { display: inline-block; }
html.js .cta__title.reveal { opacity: 1; transform: none; }
html.js .cta__title .w > span { transform: translateY(110%); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
html.js .cta__title.is-visible .w > span { transform: none; }
/* Reflexo de luz passando por "seu negócio". */
.shine { color: var(--symbol); background: linear-gradient(100deg, var(--symbol) 35%, #E9FBFF 50%, var(--symbol) 65%); background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 5s ease-in-out infinite 1.6s; }
@keyframes shine { 0% { background-position: 100% 0; } 40%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .cta__grid, .cta__glow, .cta__scan, .shine { animation: none; }
  html.js .cta__title .w > span { transform: none; transition: none; }
}
#socorro.cta { text-align: left; }
#socorro.cta .cta__inner { align-items: flex-start; margin: 0; }
#socorro.cta .h2 { font-size: clamp(34px, 4vw, 56px); }

.footer { background: rgba(5, 7, 10, 0.9); border-top: 1px solid var(--line); padding: 64px 0 32px; position: relative; }
.footer__grid { display: grid; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 22px; }
.footer__brand img { height: 38px; width: auto; }
.footer__brand p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col .eyebrow { margin-bottom: 6px; }
.footer__col a { font-size: 15px; color: #C7D4DC; transition: color 0.2s, transform 0.2s; }
.footer__col a:hover { color: var(--symbol); transform: translateX(4px); }
.footer__bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 24px; }
@media (min-width: 900px) {
  .footer { padding: 88px 0 40px; }
  .footer__grid { grid-template-columns: 4fr 1fr 2fr 2fr 3fr; column-gap: 32px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* =========================================================
   Páginas internas
   ========================================================= */
.page-head { padding: calc(var(--section) + 24px) 0 var(--section); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; margin-top: -92px; background: radial-gradient(70% 80% at 85% 0%, rgba(25, 198, 240, 0.16), transparent 60%); }
.page-head__grid { display: grid; gap: 48px; position: relative; }
.page-head__copy { display: flex; flex-direction: column; gap: 26px; }
.page-head .dots { position: absolute; right: var(--gutter); top: 60px; width: 200px; height: 200px; opacity: 0.7; }
.subnav { display: flex; flex-direction: column; gap: 12px; }
.subnav a { display: flex; gap: 12px; font-size: 16px; font-weight: 600; color: #D4E2EA; transition: color 0.2s, transform 0.2s; }
.subnav a:hover { color: var(--symbol); transform: translateX(4px); }
.subnav a span { color: var(--symbol); font-family: var(--font-mono); font-size: 13px; padding-top: 3px; }
@media (min-width: 900px) {
  .page-head { margin-top: -104px; }
  .page-head__grid { grid-template-columns: 8fr 1fr 3fr; align-items: end; }
  .page-head .dots { width: 400px; height: 400px; top: 80px; }
}

.feature { display: grid; gap: 48px; padding: var(--section) 0; }
.feature__num { font-family: var(--font-mono); font-size: clamp(40px, 5vw, 64px); line-height: 0.9; font-weight: 500; letter-spacing: -0.01em; color: var(--symbol); }
.feature__copy { display: flex; flex-direction: column; gap: 26px; }
.feature__copy .lead { max-width: 480px; }
.feature__copy .btn { align-self: flex-start; height: 54px; }
.feature-grid { display: grid; gap: 14px; }
.feature-cell { position: relative; overflow: hidden; isolation: isolate; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform var(--dur-normal) var(--ease-out), border-color var(--dur-normal); }
.feature-cell:hover { transform: translateY(-6px); }
.feature-cell strong { font-size: 20px; letter-spacing: -0.01em; }
.feature-cell span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.table-lines { border-top: 1px solid var(--line-strong); }
.table-lines__row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; transition: background 0.25s, padding 0.25s; }
.table-lines__row:not(.table-lines__row--head):hover { background: var(--symbol-soft); padding-left: 12px; }
.table-lines__row b { font-weight: 700; }
.table-lines__row--head { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.table-lines__row--head em { font-style: normal; color: var(--symbol); }
.callout { padding: 18px 22px; background: var(--glass); border: 1px solid var(--line); border-left: 3px solid var(--symbol); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (min-width: 600px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 1fr 6fr; align-items: start; }
  .feature--reverse { grid-template-columns: 6fr 1fr 5fr; }
  /* tabela à esquerda (6fr), respiro (1fr), texto à direita (5fr) */
  .feature--reverse > .table-lines { order: 1; }
  .feature--reverse > div:empty { order: 2; }
  .feature--reverse .feature__copy { order: 3; }
  .feature-cell { min-height: 210px; padding: 32px; }
  .table-lines__row { grid-template-columns: 200px 1fr 1fr; gap: 24px; padding: 24px 0; font-size: 16px; }
}

.contact-list { border-top: 1px solid var(--line-strong); }
.contact-list a, .contact-list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding 0.25s, background 0.25s; }
.contact-list a:hover { padding-left: 12px; background: var(--symbol-soft); }
.contact-list strong { font-size: 18px; font-weight: 600; text-align: right; }
.numbered li { display: flex; gap: 16px; line-height: 24px; }
.numbered li b { font-family: var(--font-mono); color: var(--symbol); font-weight: 500; width: 28px; flex-shrink: 0; }
