/* ==========================================================================
   QUINOT — Soluções Tecnológicas
   Design system + estilos  |  Barlow Condensed + Open Sans
   ========================================================================== */

:root {
  --navy:        #01012c;
  --navy-2:      #0a0b3d;
  --navy-3:      #141654;
  --blue:        #4078f8;
  --blue-600:    #2f63e0;
  --blue-300:    #7ea0fb;
  --blue-glow:   rgba(64, 120, 248, .45);
  --ink:         #10112b;
  --body:        #4a4b60;
  --muted:       #86889c;
  --line:        #e7eaf3;
  --bg:          #ffffff;
  --bg-soft:     #f4f6fc;
  --bg-card:     #ffffff;
  --white:       #ffffff;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius:     18px;
  --radius-sm:  12px;
  --shadow-sm:  0 4px 14px rgba(16, 17, 43, .06);
  --shadow-md:  0 14px 40px rgba(16, 17, 43, .10);
  --shadow-lg:  0 30px 70px rgba(16, 17, 43, .16);
  --shadow-blue:0 18px 44px rgba(64, 120, 248, .32);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: .3px;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
p  { text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 1rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue);
  padding: 7px 16px; border-radius: 100px;
  background: rgba(64, 120, 248, .10);
  border: 1px solid rgba(64, 120, 248, .22);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(64,120,248,.2); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p { margin-top: 18px; font-size: 1.12rem; color: var(--body); }
.lead { font-size: 1.18rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--blue); --_fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: .6px;
  padding: 15px 32px; border-radius: 100px;
  background: var(--_bg); color: var(--_fg);
  transition: transform .3s var(--ease), box-shadow .35s var(--ease), background-position .5s var(--ease), border-color .3s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
/* brilho que desliza no hover (comum a todos os botões) */
.btn::after {
  content: ""; position: absolute; top: -60%; left: -80%; width: 45%; height: 220%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-22deg); transition: left .7s var(--ease); pointer-events: none; z-index: 1;
}
.btn:hover::after { left: 145%; }
.btn:active { transform: translateY(-1px) scale(.99); }

.btn--primary {
  background: linear-gradient(120deg, #5a8bff 0%, #4078f8 42%, #7d3bff 100%);
  background-size: 180% 100%; background-position: 0 0;
  box-shadow: 0 12px 30px rgba(64,120,248,.36), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 22px 50px rgba(64,120,248,.5), inset 0 1px 0 rgba(255,255,255,.3); }

.btn--ghost {
  --_bg: rgba(255,255,255,.02); --_fg: var(--ink);
  border: 1.6px solid var(--line); backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); background: rgba(64,120,248,.06); }

.btn--light { --_bg: #fff; --_fg: var(--navy); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(0,0,0,.28); }

.btn--wa { background: linear-gradient(120deg, #2ee06f, #1fbf59); --_fg: #04331a; box-shadow: 0 14px 34px rgba(37,211,102,.4); }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(37,211,102,.5); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
/* Sobre o hero (fundo escuro): ao rolar, mantém barra escura para a logo branca continuar visível */
.header.on-dark.scrolled {
  background: rgba(4, 6, 40, .78);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 8px 30px rgba(0,0,0,.28);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
/* Marca — logo vetorial (SVG) com variante clara (fundo claro) e branca (fundo escuro) */
.brand { display: inline-flex; align-items: center; }
.brand-img { display: block; height: 44px; width: auto; }
.brand-img--dark { display: none; }
.header.on-dark .brand-img--light { display: none; }
.header.on-dark .brand-img--dark { display: block; }
@media (max-width: 760px) { .header .brand-img { height: 38px; } }
/* Rodapé: logo na largura da caixa de texto */
.footer__brand .brand { display: block; }
.footer__brand .brand-img { height: auto; width: 300px; max-width: 100%; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: 1.18rem; letter-spacing: .5px;
  color: var(--ink); position: relative; padding: 4px 0;
}
.header.on-dark .nav__links a { color: rgba(255,255,255,.85); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--blue);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--blue); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.header.on-dark .nav__toggle span, .header.on-dark .nav__toggle span::before, .header.on-dark .nav__toggle span::after { background: #fff; }
.nav__toggle span::before { transform: translateY(-7px); }
.nav__toggle span::after  { transform: translateY(5px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: rotate(45deg); background: var(--ink); }
body.nav-open .nav__toggle span::after  { transform: rotate(-45deg); background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background: radial-gradient(1200px 700px at 78% -10%, #1a2170 0%, transparent 55%),
              radial-gradient(900px 600px at 10% 110%, #2a1466 0%, transparent 50%),
              linear-gradient(160deg, #01012c 0%, #060733 55%, #01012c 100%);
  margin-top: -78px;
  padding-top: calc(78px + clamp(80px, 12vw, 150px));
  padding-bottom: clamp(80px, 12vw, 150px);
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 80%);
}
/* Placa de circuito no fundo do hero (lado direito, esmaecida) */
.hero__circuit {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('/assets/img/circuit-bg.svg') no-repeat right top / auto 115%;
  opacity: .55;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; opacity: .5; }
.hero__glow--1 { width: 420px; height: 420px; background: var(--blue); top: -80px; right: 4%; animation: float 9s var(--ease) infinite; }
.hero__glow--2 { width: 360px; height: 360px; background: #7d3bff; bottom: -120px; left: -60px; animation: float 11s var(--ease) infinite reverse; }
@keyframes float { 50% { transform: translateY(28px) translateX(-14px); } }

.hero__ai {
  position: absolute; right: -3%; top: 50%; transform: translateY(-50%);
  width: min(52vw, 640px); z-index: -1; opacity: .62; pointer-events: none;
  -webkit-mask-image: radial-gradient(72% 72% at 58% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(72% 72% at 58% 50%, #000 52%, transparent 100%);
  animation: floatY 9s var(--ease) infinite;
}
@keyframes floatY { 50% { transform: translateY(calc(-50% - 16px)); } }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.hero__inner { max-width: 940px; }
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.hero .eyebrow::before { background: var(--blue); }
.hero h1 { color: #fff; margin: 26px 0 0; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--blue-300), #b39bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .hero__kw { display: block; margin-top: 22px; font-family: var(--font-body); font-weight: 600; font-size: clamp(1.02rem, 1.6vw, 1.25rem); letter-spacing: .2px; line-height: 1.5; color: rgba(255,255,255,.86); text-wrap: pretty; }
.hero__sub { margin-top: 20px; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: rgba(255,255,255,.72); max-width: 640px; }
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__stats { margin-top: 62px; display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: #fff; line-height: 1; }
.stat__num span { color: var(--blue-300); }
.stat__label { font-size: .9rem; color: rgba(255,255,255,.62); margin-top: 6px; letter-spacing: .3px; }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.06); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding-block: 24px; font-family: var(--font-head); letter-spacing: 2px; text-transform: uppercase; font-size: .95rem; }
.trust__inner span { display: inline-flex; align-items: center; gap: 10px; }
.trust__inner span::before { content: ""; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }

/* ---------- Intro / Sobre ---------- */
.intro { background: var(--bg); position: relative; }
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.intro__body p + p { margin-top: 18px; }
.intro__body strong { color: var(--ink); }
.intro__panel {
  position: relative; border-radius: var(--radius); padding: 40px;
  background: linear-gradient(155deg, var(--navy-2), var(--navy)); color: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.intro__panel::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px;
  background: radial-gradient(circle, var(--blue-glow), transparent 70%);
}
.intro__panel .k { font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; color: #fff; line-height: 1; }
.intro__panel .k span { color: var(--blue-300); }
.intro__list { margin-top: 26px; display: grid; gap: 16px; position: relative; }
.intro__list li { display: flex; gap: 13px; align-items: flex-start; color: rgba(255,255,255,.86); }
.intro__list svg { flex: none; width: 24px; height: 24px; color: var(--blue-300); margin-top: 2px; }

/* ---------- Solutions ---------- */
.solutions { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), #7d3bff); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(150deg, rgba(64,120,248,.14), rgba(125,59,255,.10));
  color: var(--blue); transition: transform .35s var(--ease);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 1rem; color: var(--body); }
.card__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; letter-spacing: .5px; color: var(--blue); font-size: 1.05rem; }
.card__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- Feature: Segurança Integrada ---------- */
.feature { background: var(--bg); }
.feature__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.feature__body .lead { margin-top: 16px; }
.feature__list { margin: 26px 0 32px; display: grid; gap: 15px; }
.feature__list li { display: flex; gap: 13px; align-items: flex-start; color: var(--body); }
.feature__list svg { flex: none; width: 24px; height: 24px; color: var(--blue); margin-top: 3px; }
.feature__list strong { color: var(--ink); }

.hub { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 0.92; }
.hub__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.hub__links line { stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 5 8; opacity: .5; animation: dashflow 1.1s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -13; } }
.hub__node, .hub__center { position: absolute; transform: translate(-50%, -50%); }
.hub__node {
  width: clamp(118px, 34%, 158px); z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 11px 13px; display: flex; align-items: center; gap: 10px;
}
.hub__node .ic { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(64,120,248,.1); color: var(--blue); }
.hub__node .ic svg { width: 22px; height: 22px; }
.hub__node b { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); line-height: 1.05; }
.hub__node small { display: block; color: var(--muted); font-size: .68rem; font-family: var(--font-body); font-weight: 400; margin-top: 3px; letter-spacing: 0; }
.n-tl { left: 16%; top: 14%; } .n-tr { left: 84%; top: 14%; }
.n-bl { left: 16%; top: 86%; } .n-br { left: 84%; top: 86%; }
.hub__center {
  left: 50%; top: 50%; width: clamp(126px, 34%, 168px); aspect-ratio: 1; z-index: 2;
  border-radius: 24px; background: linear-gradient(155deg, #12153f, #04052a);
  border: 1px solid rgba(64,120,248,.4); box-shadow: var(--shadow-lg), 0 0 40px rgba(64,120,248,.3);
  display: grid; place-items: center; align-content: center; text-align: center; color: #fff; padding: 12px;
}
.hub__center .m { width: 46px; color: var(--blue-300); }
.hub__center b { font-family: var(--font-head); font-size: 1.1rem; margin-top: 8px; }
.hub__center small { color: var(--blue-300); font-size: .68rem; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; }

/* ---------- Process (do hardware à nuvem) ---------- */
.process { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); }
.process__circuit { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/assets/img/circuit-bg.svg') no-repeat center / cover; opacity: .28;
  mask-image: radial-gradient(120% 120% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 120% at 50% 40%, #000 30%, transparent 80%); }
.process .container { position: relative; z-index: 1; }
.process .section-head h2 { color: #fff; }
.process .section-head p { color: rgba(255,255,255,.78); }
.process .eyebrow { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(64,120,248,.55), rgba(125,59,255,.55), transparent); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step__ic { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(155deg, #12153f, #04052a); border: 1px solid rgba(64,120,248,.35);
  color: var(--blue-300); box-shadow: 0 12px 30px rgba(0,0,0,.35); position: relative; }
.step__ic svg { width: 32px; height: 32px; }
.step__num { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(64,120,248,.5); }
.step h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.72); font-size: .98rem; }

/* ---------- Article / Insight ---------- */
.insight { background: var(--bg); }
.insight__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 76px); align-items: center; }
.insight__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
/* Imagem-assinatura (cérebro-circuito + logo) */
.insight__imgwrap { position: relative; width: 100%; display: grid; place-items: center; }
.insight__imgwrap::before { content: ""; position: absolute; inset: 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(64,120,248,.20), rgba(125,59,255,.10) 45%, transparent 70%); filter: blur(6px); }
.insight__imgwrap img { width: 100%; height: auto; }
/* Board de circuito atrás do núcleo */
.insight__board {
  position: absolute; inset: 4%; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #0a0b3d, #01012c);
  border: 1px solid rgba(64,120,248,.22); box-shadow: var(--shadow-lg);
}
.insight__board::before {
  content: ""; position: absolute; inset: 0;
  background: url('/assets/img/circuit-panel.svg') no-repeat center / cover; opacity: .7;
}
.insight__board::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 45%, rgba(64,120,248,.25), transparent 70%);
}
.insight__visual .ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(64,120,248,.3); }
.insight__visual .ring.r1 { inset: 0; animation: spin 40s linear infinite; }
.insight__visual .ring.r2 { inset: 14%; border-style: solid; border-color: rgba(64,120,248,.15); animation: spin 30s linear infinite reverse; }
.insight__visual .ring.r3 { inset: 30%; border-color: rgba(125,59,255,.2); animation: spin 22s linear infinite; }
.insight__core {
  position: relative; z-index: 2;
  width: 42%; aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(155deg, #12153f, #04052a); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(64,120,248,.25);
}
.insight__core svg { width: 55%; color: var(--blue); }
.chip {
  position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  border-radius: 12px; padding: 10px 15px; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .5px; color: var(--ink); font-size: 1rem;
}
.chip svg { width: 20px; height: 20px; color: var(--blue); }
.chip.c1 { top: 6%; left: -6%; animation: float 6s var(--ease) infinite; }
.chip.c2 { bottom: 14%; right: -8%; animation: float 7s var(--ease) infinite reverse; }
.chip.c3 { bottom: -2%; left: 12%; animation: float 8s var(--ease) infinite; }
.insight__body p + p { margin-top: 18px; }
.tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: var(--font-head); font-weight: 600; letter-spacing: .8px; font-size: .95rem; text-transform: uppercase; color: var(--blue-600); background: rgba(64,120,248,.10); border-radius: 100px; padding: 7px 15px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(700px 400px at 20% 20%, #1c2a8a 0%, transparent 60%), linear-gradient(140deg, var(--navy) 0%, var(--navy-3) 100%); }
.cta-band__circuit {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/assets/img/circuit-bg.svg') no-repeat center / cover;
  opacity: .35;
  mask-image: radial-gradient(120% 130% at 50% 50%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 130% at 50% 50%, #000 30%, transparent 78%);
}
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin-inline: auto; padding-block: clamp(60px, 8vw, 100px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); margin: 18px auto 34px; font-size: 1.15rem; max-width: 560px; }
.cta-band .hero__cta { justify-content: center; }
.cta-band__glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--blue); filter: blur(120px); opacity: .3; top: -200px; left: 50%; transform: translateX(-50%); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact__info .lead { margin: 18px 0 30px; }
.contact__items { display: grid; gap: 14px; }
.contact__item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.contact__item:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.contact__item .ic { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(64,120,248,.1); color: var(--blue); }
.contact__item .ic svg { width: 24px; height: 24px; }
.contact__item .lbl { font-size: .82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; }
.contact__item .val { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); font-weight: 600; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; letter-spacing: .5px; color: var(--ink); margin-bottom: 7px; font-size: 1.05rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .98rem; color: var(--ink); background: var(--bg-soft); transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(64,120,248,.12); }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { margin-top: 14px; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq__list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.faq__item[open] { border-color: rgba(64,120,248,.35); box-shadow: var(--shadow-md); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 58px 20px 24px; position: relative; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--ink); letter-spacing: .2px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__a { padding: 0 24px 22px; }
.faq__a p { color: var(--body); font-size: 1.02rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.66); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-block: clamp(52px, 7vw, 80px); }
.footer .brand__word { color: #fff; }
.footer .brand__tag { color: rgba(255,255,255,.5); }
.footer__about { margin-top: 20px; max-width: 340px; font-size: .98rem; }
.footer__social { margin-top: 24px; display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .3s var(--ease), transform .3s; }
.footer__social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__col h4 { color: #fff; font-size: 1.35rem; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { transition: color .25s, padding .25s; }
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.09); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }
.footer { position: relative; overflow: hidden; }
.footer .container { position: relative; z-index: 1; }

/* ---------- Marca d'água HUD (fundo das seções escuras) ---------- */
.hud-wm {
  position: absolute; pointer-events: none; z-index: 0;
  width: clamp(420px, 46vw, 780px); aspect-ratio: 1;
  background: url('/assets/img/hud-watermark.svg') no-repeat center / contain;
  opacity: .28; will-change: transform;
  animation: hudspin 120s linear infinite;
}
.hud-wm--tr { top: -14%; right: -12%; }
.hud-wm--br { bottom: -18%; right: -12%; animation-direction: reverse; }
.hud-wm--bl { bottom: -20%; left: -14%; animation-direction: reverse; }
.hud-wm--l  { top: -18%; left: -14%; }
.hud-wm--hero { top: 6%; left: -14%; right: auto; width: clamp(400px, 38vw, 640px); opacity: .18; }
@media (max-width: 760px) { .hud-wm--hero { top: auto; bottom: 4%; left: -22%; width: 300px; opacity: .16; } }
@keyframes hudspin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .hud-wm { opacity: .18; width: 360px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease); animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes waPulse { 0% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; font-family: var(--font-head); }
.skip:focus { left: 0; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* Sem JS o conteúdo fica sempre visível; a animação só é aplicada quando .js está presente */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Sub-page (privacy) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding-block: clamp(70px, 10vw, 120px) clamp(50px, 7vw, 80px); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero p { color: rgba(255,255,255,.75); margin-top: 14px; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 42px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--body); }
.prose p { margin-bottom: 14px; }
.prose ul { display: grid; gap: 10px; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; background: var(--blue); border-radius: 3px; transform: rotate(45deg); }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--muted); font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .intro__grid, .insight__grid, .contact__grid, .feature__grid { grid-template-columns: 1fr; }
  .feature__visual { width: 100%; }
  .hub { max-width: 300px; aspect-ratio: 1 / 1; }
  .hub__node { width: clamp(100px, 46%, 128px); padding: 9px 10px; gap: 8px; }
  .hub__node .ic { width: 33px; height: 33px; }
  .hub__node .ic svg { width: 18px; height: 18px; }
  .hub__node b { font-size: .88rem; }
  .hub__node small { font-size: .62rem; }
  .hub__center { width: clamp(118px, 36%, 146px); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .steps::before { display: none; }
  .insight__visual { max-width: 420px; margin-inline: auto; order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: 12px var(--gutter) 28px; box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform .4s var(--ease); border-top: 1px solid var(--line);
  }
  body.nav-open .nav__links { transform: none; }
  .nav__links a { padding: 15px 0; font-size: 1.35rem; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
  .nav__cta { display: none; }
  .header.on-dark.scrolled .nav__toggle span { background: var(--ink); }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__ai { width: 92vw; right: -22%; opacity: .22; }
  body { font-size: 16px; }
}
