/* AxeCodeSecure — site institucional
   Tokens de marca extraídos dos SVGs oficiais (azul-marinho #071A2B, ciano #00B8E6, laranja #FF8A00). */

:root {
  --bg: #050f1a;
  --bg-2: #071a2b;
  --surface: #0b2236;
  --surface-2: #10304a;
  --line: rgba(120, 200, 230, 0.16);
  --line-strong: rgba(120, 200, 230, 0.32);
  --text: #eaf6fb;
  --muted: #a9c0cd;
  --cyan: #00b8e6;
  --cyan-soft: #56f1ff;
  --orange: #ff8a00;
  --orange-soft: #ffb14a;
  --on-orange: #071a2b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --container: 1180px;
  --font: "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--on-orange); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 15, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 210px; height: auto; }
.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; color: var(--text); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 0.95rem; cursor: pointer;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.site-nav a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 0.96rem; display: inline-block; }
.site-nav a:hover { background: var(--surface); }
.site-nav a[aria-current="page"] { color: var(--cyan-soft); }
.lang-switch { border: 1px solid var(--line-strong); font-weight: 650; font-size: 0.85rem !important; letter-spacing: 0.04em; }
.site-nav .btn { margin-left: 6px; }

@media (max-width: 1060px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: flex; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; padding: 16px 20px 24px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .js .site-nav.is-open ul { flex-direction: column; align-items: stretch; }
  .js .site-nav.is-open .btn { margin: 10px 0 0; text-align: center; }
  .no-js .header-inner { flex-wrap: wrap; padding: 10px 0; }
  .no-js .site-nav { flex-wrap: wrap; margin-left: 0; }
  .no-js .site-nav ul { flex-wrap: wrap; }
}
@media (max-width: 420px) { .brand img { width: 170px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--on-orange) !important; }
.btn-primary:hover { background: var(--orange-soft); }
.btn-secondary { background: transparent; color: var(--text) !important; border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--cyan); background: rgba(0, 184, 230, 0.08); }
.btn-sm { padding: 8px 14px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange-soft); margin-bottom: 14px;
}
.lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 700px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 84px 0 92px;
  background:
    radial-gradient(700px 380px at 85% 20%, rgba(0, 184, 230, 0.16), transparent 70%),
    radial-gradient(520px 300px at 70% 90%, rgba(255, 138, 0, 0.10), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.hero-art { justify-self: center; width: min(360px, 100%); filter: drop-shadow(0 20px 50px rgba(0, 184, 230, 0.18)); }
.hero-tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li {
  font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.page-hero { padding: 64px 0 56px; }
.page-hero .hero-grid { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: 200px; order: -1; justify-self: start; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface), rgba(11, 34, 54, 0.6));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(0, 184, 230, 0.12); color: var(--cyan-soft); border: 1px solid rgba(0, 184, 230, 0.3);
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.is-orange { background: rgba(255, 138, 0, 0.12); color: var(--orange-soft); border-color: rgba(255, 138, 0, 0.35); }

.pillar { display: flex; flex-direction: column; position: relative; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: var(--cyan); }
.pillar.is-orange::before { background: var(--orange); }
.pillar ul { color: var(--muted); padding-left: 1.1em; margin-top: 4px; }
.pillar li::marker { color: var(--orange); }
.pillar .card-link { margin-top: auto; padding-top: 16px; font-weight: 650; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 4px;
  background: rgba(0, 184, 230, 0.15); border: 1px solid var(--cyan);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: calc(0.45em + 3px); width: 5px; height: 8px;
  border: solid var(--cyan-soft); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- Marketing figure ---------- */
.feature-figure { margin: 48px 0 0; }
.feature-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-figure figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-weight: 700;
  color: var(--orange-soft); font-size: 0.95rem; margin-bottom: 10px;
}
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Detail blocks (service pages) ---------- */
.service-block { border-top: 1px solid var(--line); padding: 40px 0; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block h3 { font-size: 1.35rem; }
.service-block .summary { color: var(--muted); }
.service-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.fact h4 { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 8px; }
.fact p { margin: 0; color: var(--text); font-size: 0.98rem; }
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 560px) { .service-facts { grid-template-columns: 1fr; } }

.objection { border-left: 3px solid var(--orange); }
.objection h3 { font-style: italic; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 48px;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(255, 138, 0, 0.14), transparent 70%),
    radial-gradient(500px 240px at 0% 100%, rgba(0, 184, 230, 0.14), transparent 70%),
    var(--surface);
}
.cta-band h2 { max-width: 760px; }
.cta-band p { color: var(--muted); max-width: 680px; }
@media (max-width: 640px) { .cta-band { padding: 30px 22px; } }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 650; margin-bottom: 6px; font-size: 0.95rem; }
.field .optional { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
.field .hint { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.field [aria-invalid="true"] { border-color: #ff6b6b; }
.form-note { color: var(--muted); font-size: 0.9rem; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.is-error { color: #ff9b9b; }
.form-status.is-ok { color: var(--cyan-soft); }
.aside-card dl { margin: 0; }
.aside-card dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-soft); margin-top: 16px; }
.aside-card dt:first-child { margin-top: 0; }
.aside-card dd { margin: 4px 0 0; }

/* ---------- Prose (privacy/about) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 0.82rem; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; }
.footer-brand img { width: 200px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--mono); color: var(--orange-soft); font-size: 1rem; letter-spacing: 0.2em; }
.notfound .btn-row { justify-content: center; }

/* =====================================================================
   Movimento — transições de página, entrada do hero, revelação ao rolar
   e micro-interações. Tudo respeita prefers-reduced-motion (a regra no
   topo do arquivo zera animações/transições e o JS não aplica .reveal).
   ===================================================================== */

/* ---------- Transição entre páginas (View Transitions entre documentos) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .26s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .45s cubic-bezier(0, 0, .2, 1) .05s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.99); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(20px); filter: blur(4px); } }

/* ---------- Header ---------- */
.site-header { transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { background: rgba(5, 15, 26, 0.96); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.brand picture { display: block; }
.brand img { transition: filter .3s ease, transform .3s ease; }
.brand:hover img { filter: drop-shadow(0 0 10px rgba(0, 184, 230, 0.45)); transform: translateY(-1px); }

/* Barra de progresso de leitura (CSS puro, onde houver suporte) */
@supports (animation-timeline: scroll()) {
  .site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
    transform-origin: 0 50%; transform: scaleX(0);
    animation: read-progress linear both; animation-timeline: scroll(root);
  }
  @keyframes read-progress { to { transform: scaleX(1); } }
}

/* Sublinhado animado nos links do menu */
.site-nav ul a:not(.lang-switch) { position: relative; }
.site-nav ul a:not(.lang-switch)::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease;
}
.site-nav ul a:not(.lang-switch):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang-switch { transition: border-color .2s ease; }
.lang-switch:hover { border-color: var(--cyan); }
@media (max-width: 1060px) {
  .js .site-nav.is-open { animation: menu-in .25s ease both; }
  .site-nav ul a:not(.lang-switch)::after { display: none; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Botões ---------- */
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 6px 20px -8px rgba(255, 138, 0, 0.6); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .65s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 10px 28px -8px rgba(255, 138, 0, 0.75); }

/* ---------- Hero: fundo vivo + entrada escalonada ---------- */
.hero > .container { position: relative; z-index: 1; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before {
  inset: -25%;
  background:
    radial-gradient(420px 320px at 75% 30%, rgba(0, 184, 230, 0.14), transparent 70%),
    radial-gradient(360px 260px at 30% 80%, rgba(255, 138, 0, 0.08), transparent 70%);
  animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 200, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 230, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 40%, #000 10%, transparent 70%);
  animation: grid-pan 24s linear infinite;
}
@keyframes hero-drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-4%, 3%) rotate(4deg); }
  100% { transform: translate(3%, -2%) rotate(-3deg); }
}
@keyframes grid-pan { to { background-position: 48px 48px, 48px 48px; } }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.hero .breadcrumb, .hero .eyebrow, .hero h1, .hero .lead, .hero .btn-row, .hero-tags li {
  animation: rise .75s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .breadcrumb { animation-delay: .02s; }
.hero .eyebrow { animation-delay: .06s; }
.hero h1 { animation-delay: .16s; }
.hero .lead { animation-delay: .28s; }
.hero .btn-row { animation-delay: .4s; }
.hero-tags li:nth-child(1) { animation-delay: .52s; }
.hero-tags li:nth-child(2) { animation-delay: .58s; }
.hero-tags li:nth-child(3) { animation-delay: .64s; }
.hero-tags li:nth-child(4) { animation-delay: .70s; }
.hero-tags li:nth-child(5) { animation-delay: .76s; }
.hero-tags li:nth-child(6) { animation-delay: .82s; }
.hero-tags li { transition: border-color .2s ease, color .2s ease; }
.hero-tags li:hover { border-color: var(--cyan); color: var(--text); }

/* Cursor de terminal piscando no eyebrow do hero */
.hero .eyebrow::after { content: "_"; margin-left: 2px; animation: caret-blink 1.1s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* Símbolo flutuando */
.hero-art { display: block; animation: float 7s ease-in-out 2s infinite; }
.hero-art img { width: 100%; height: auto; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Revelação ao rolar (classes aplicadas pelo JS) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s),
              transform .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Traço de destaque sob os títulos de seção */
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: .45em; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform-origin: 0 50%; transition: transform .8s cubic-bezier(.2, .7, .2, 1) .25s;
}
.js .section-head:not(.is-in) h2::after { transform: scaleX(0); }

/* ---------- Cards e etapas: elevação + luz que segue o mouse ---------- */
.card, .steps li { position: relative; isolation: isolate; }
.card, .steps li {
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease;
}
.card::after, .steps li::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 184, 230, 0.13), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover, .steps li:hover {
  transform: translateY(-4px); border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 12px 40px -14px rgba(0, 184, 230, 0.45);
}
.card:hover::after, .steps li:hover::after { opacity: 1; }
.card-icon { transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s ease; }
.card:hover .card-icon { transform: translateY(-2px) rotate(-6deg) scale(1.08); box-shadow: 0 0 18px rgba(0, 184, 230, 0.35); }
.card:hover .card-icon.is-orange { box-shadow: 0 0 18px rgba(255, 138, 0, 0.35); }
.pillar::before { transition: box-shadow .35s ease; }
.pillar:hover::before { box-shadow: 0 0 16px 1px var(--cyan); }
.pillar.is-orange:hover::before { box-shadow: 0 0 16px 1px var(--orange); }
.card-link { display: inline-block; transition: transform .25s ease; }
.card-link:hover { transform: translateX(4px); }
.steps li::before { transition: color .3s ease, transform .3s ease; }
.steps li:hover::before { color: var(--cyan-soft); transform: translateX(3px); }
.fact { transition: border-color .3s ease, transform .3s ease; }
.fact:hover { border-color: rgba(255, 138, 0, 0.45); transform: translateY(-2px); }

/* ---------- Figura, FAQ e CTA ---------- */
.feature-figure img { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease; }
.feature-figure:hover img { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 184, 230, 0.2); }
.faq details { transition: border-color .25s ease; }
.faq details:hover, .faq details[open] { border-color: var(--line-strong); }
.faq details[open] > div { animation: rise .35s ease both; }
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(0, 184, 230, 0.12) 80%, rgba(255, 138, 0, 0.12) 90%, transparent 100%);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formulário e 404 ---------- */
.field input, .field select, .field textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(0, 184, 230, 0.15); }
.notfound .code { animation: glitch 3.5s steps(1) infinite; }
@keyframes glitch {
  0%, 92%, 100% { transform: none; text-shadow: none; }
  93% { transform: translateX(-2px); text-shadow: 2px 0 var(--cyan); }
  95% { transform: translateX(2px); text-shadow: -2px 0 var(--orange); }
  97% { transform: translateX(-1px); text-shadow: 1px 0 var(--cyan-soft); }
}
