/* InovaSoft — site provisório estático. Sem dependências externas. */
:root {
  --navy: #0B1220;
  --navy-2: #111a2e;
  --blue: #2563EB;
  --blue-dark: #1d4ed8;
  --electric: #00B8FF;
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --tint: #EEF3FB;
  --text: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --radius: 1rem;
  --shadow: 0 20px 50px -24px rgb(37 99 235 / 0.35);
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--electric) 100%);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--blue); color: var(--white); padding: .6rem 1rem; border-radius: .5rem; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 6px; }

/* Aviso */
.notice { background: var(--navy); color: #cbd5e1; font-size: .875rem; text-align: center; padding: .5rem 0; }
.notice a { color: var(--electric); font-weight: 600; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; border: 1px solid transparent; }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgb(37 99 235 / .7); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--ghost { color: var(--white); border-color: rgb(255 255 255 / .25); background: rgb(255 255 255 / .04); }
.btn--ghost:hover { background: rgb(255 255 255 / .1); }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgb(15 23 42 / .4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.header__brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: .6rem; padding: .5rem; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1rem; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px -20px rgb(15 23 42 / .35); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .85rem .25rem; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: .9rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero__glow { position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 85% 10%, rgb(0 184 255 / .22), transparent 60%),
  radial-gradient(700px 500px at 10% 100%, rgb(37 99 235 / .28), transparent 60%); pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
.hero__lead { color: #cbd5e1; font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.eyebrow--dark { color: var(--electric); padding: .35rem .8rem; border: 1px solid rgb(0 184 255 / .3); border-radius: 999px; background: rgb(0 184 255 / .08); }

/* Ilustração (decorativa, sem dados) */
.hero__visual { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.mock { background: linear-gradient(180deg, #16213a, #0f1830); border: 1px solid rgb(255 255 255 / .1); border-radius: 18px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6), 0 0 0 1px rgb(0 184 255 / .05); overflow: hidden; }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgb(255 255 255 / .06); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.mock__body { display: grid; grid-template-columns: 56px 1fr; min-height: 280px; }
.mock__side { display: flex; flex-direction: column; gap: 14px; padding: 18px 14px; border-right: 1px solid rgb(255 255 255 / .06); }
.mock__side i { height: 10px; border-radius: 4px; background: rgb(255 255 255 / .12); }
.mock__side i:first-child { background: var(--gradient); }
.mock__main { padding: 18px; display: grid; gap: 16px; }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__tiles b { height: 54px; border-radius: 10px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .06); }
.mock__tiles b:first-child { background: linear-gradient(135deg, rgb(37 99 235 / .5), rgb(0 184 255 / .35)); }
.mock__chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 10px; border-radius: 10px; background: rgb(255 255 255 / .03); }
.mock__chart em { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--gradient); opacity: .85; }
.mock__chart em:nth-child(1) { height: 35%; } .mock__chart em:nth-child(2) { height: 55%; } .mock__chart em:nth-child(3) { height: 45%; }
.mock__chart em:nth-child(4) { height: 70%; } .mock__chart em:nth-child(5) { height: 60%; } .mock__chart em:nth-child(6) { height: 85%; } .mock__chart em:nth-child(7) { height: 75%; }
.mock__rows { display: grid; gap: 8px; }
.mock__rows u { height: 10px; border-radius: 4px; background: rgb(255 255 255 / .08); text-decoration: none; }
.mock__rows u:nth-child(2) { width: 80%; } .mock__rows u:nth-child(3) { width: 60%; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; background: var(--white); color: var(--text); font-size: .85rem; font-weight: 600; box-shadow: 0 16px 30px -12px rgb(0 0 0 / .45); }
.chip svg { color: var(--blue); }
.chip--a { left: -12px; bottom: 18%; }
.chip--b { right: -8px; top: -14px; }
@media (max-width: 520px) { .chip--a { left: 8px; bottom: -16px; } .chip--b { right: 8px; } }

/* Seções */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; scroll-margin-top: 72px; }
.section--tint { background: var(--tint); }
.section__head { max-width: 44rem; margin: 0 auto 3rem; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--white); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4); padding: 1.75rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgb(37 99 235 / .25); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--gradient); color: var(--white); margin-bottom: 1.1rem; box-shadow: 0 10px 20px -10px rgb(37 99 235 / .7); }
.card__icon svg { width: 26px; height: 26px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--white); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.2); padding: 1.5rem; }
.steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgb(37 99 235 / .1); color: var(--blue); font-weight: 800; margin-bottom: .9rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; }

.tags { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; max-width: 900px; }
.tags li { padding: .6rem 1.1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-weight: 500; font-size: .95rem; }

.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.2fr 1fr; } }
.about__copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
.about__copy p { color: var(--muted); font-size: 1.05rem; }
.about__cards { display: grid; gap: 1rem; }
.mini { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.mini h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.mini p { color: var(--muted); margin: 0; }

.contact { display: grid; gap: 1rem; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px) { .contact { grid-template-columns: repeat(2, 1fr); } }
.contact__item { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s; min-width: 0; }
a.contact__item:hover { border-color: rgb(37 99 235 / .35); box-shadow: var(--shadow); }
.contact__item svg { width: 28px; height: 28px; color: var(--blue); }
.contact__item span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact__item strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact__item--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.contact__item--primary svg { color: var(--electric); }
.contact__item--primary strong { color: #94a3b8; }
@media (min-width: 720px) { .contact__item--primary { grid-column: 1 / -1; } }

/* Footer */
.footer { background: var(--navy); color: #94a3b8; padding: 3rem 0 1.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer__logo { display: inline-block; background: var(--white); padding: .6rem .9rem; border-radius: .8rem; margin-bottom: 1rem; }
.footer__logo img { height: 34px; width: auto; }
.footer__brand p { font-size: .9rem; margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-content: flex-start; }
.footer__nav a { display: inline-block; padding: .4rem 0; min-height: 24px; color: #cbd5e1; text-decoration: none; font-size: .95rem; }
.footer__nav a:hover { color: var(--white); }
.footer__legal { border-top: 1px solid rgb(255 255 255 / .08); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; }

/* Página simples (privacidade / 404) */
.page { padding: clamp(3rem, 7vw, 5rem) 0; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.page h2 { font-size: 1.25rem; margin-top: 2rem; }
.page p, .page li { color: var(--muted); }
.page .updated { font-size: .9rem; }

/* Animação de entrada (só com JS e sem preferência por movimento reduzido) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
