/* =============================================================================
   Nixus Tech: landing page
   Marca: azul-marinho #0b1020, gradiente violeta #7c5cff → ciano #22d3ee, fonte Sora.
   ============================================================================= */
:root {
  --navy: #0b1020;
  --navy-2: #141b34;
  --text: #3b4256;
  --muted: #6b7389;
  --line: #e7eaf3;
  --soft: #f5f7fc;
  --white: #ffffff;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --grad: linear-gradient(135deg, #7c5cff, #22d3ee);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -30px rgba(20, 27, 52, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(124, 92, 255, 0.55); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; }
.skip-link:focus { left: 12px; }
.grad-text { background: linear-gradient(90deg, #7c5cff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; background: linear-gradient(90deg, #7c5cff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------- Botões */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s; }
.button:hover { transform: translateY(-2px); }
.button-grad { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -14px rgba(92, 102, 255, 0.75); }
.button-grad:hover { box-shadow: 0 18px 36px -14px rgba(92, 102, 255, 0.9); }
.button-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.button-ghost:hover { border-color: var(--violet); color: var(--violet); }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { box-shadow: 0 14px 30px -14px rgba(34, 211, 238, 0.6); }
.button-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.button-block { width: 100%; }

/* ---------------------------------------------------------- Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11, 16, 32, 0.4); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-icon { width: 40px; height: 40px; filter: drop-shadow(0 8px 14px rgba(92, 102, 255, 0.35)); }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-size: 21px; font-weight: 700; letter-spacing: 0.2em; }
.brand-word small { margin-top: 4px; font-size: 10px; font-weight: 300; letter-spacing: 0.62em; color: var(--muted); }
.brand-light { color: #fff; }
.brand-light .brand-word small { color: #9aa6c4; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.main-nav > a:not(.button) { color: var(--text); transition: color 0.2s; }
.main-nav > a:not(.button):hover { color: var(--violet); }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); place-items: center; cursor: pointer; }

/* --------------------------------------------------------------- Topo */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32; pointer-events: none; }
.hero-glow-1 { width: 560px; height: 560px; background: var(--violet); top: -220px; left: -160px; }
.hero-glow-2 { width: 520px; height: 520px; background: var(--cyan); bottom: -260px; right: -120px; opacity: 0.25; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 56px; }
.pill { display: inline-block; padding: 8px 16px; margin-bottom: 26px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); box-shadow: 0 8px 20px -16px rgba(11, 16, 32, 0.5); }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); font-weight: 700; }
.lead { margin-top: 24px; max-width: 540px; font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { width: 18px; height: 18px; color: var(--violet); stroke-width: 2.2; }

.hero-visual { position: relative; height: 520px; }
.window { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.window-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f3f5fa; border-bottom: 1px solid var(--line); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8dcea; }
.window-bar i:first-child { background: #ff8a80; }
.window-bar i:nth-child(2) { background: #ffd166; }
.window-bar i:nth-child(3) { background: #7ee0a1; }
.window img { width: 100%; height: auto; }
.hero-visual .window { position: absolute; width: 82%; }
.window-back { top: 0; right: 0; transform: rotate(3deg); opacity: 0.96; }
.window-front { bottom: 30px; left: 0; transform: rotate(-3deg); }
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(11, 16, 32, 0.5); font-size: 13px; animation: float 6s ease-in-out infinite; }
.float-chip b { display: block; color: var(--navy); font-weight: 600; }
.float-chip small { color: var(--muted); }
.chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; }
.chip-order { top: 34%; left: -22px; }
.chip-auto { top: 8%; right: -14px; animation-delay: -2s; }
.chip-chart { bottom: -6px; right: 6%; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 16px; animation-delay: -4s; }
.chip-title { font-weight: 600; color: var(--navy); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.bars i { width: 12px; border-radius: 4px; background: var(--grad); }
.bars i:nth-child(1) { height: 35%; } .bars i:nth-child(2) { height: 52%; } .bars i:nth-child(3) { height: 44%; } .bars i:nth-child(4) { height: 66%; }
.bars i:nth-child(5) { height: 58%; } .bars i:nth-child(6) { height: 82%; } .bars i:nth-child(7) { height: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ------------------------------------------------------------ Seções */
.section { position: relative; padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: radial-gradient(120% 80% at 50% 0%, #1b2347, var(--navy) 60%); color: #b3bdd6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 700; }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 17px; color: var(--muted); }
.section-dark .section-head p:not(.eyebrow) { color: #9aa6c4; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { position: relative; display: grid; gap: 12px; align-content: start; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(34, 211, 238, 0.14)); color: var(--violet); }
.service-icon .i { width: 26px; height: 26px; }
.service h3 { font-size: 20px; font-weight: 600; }
.service p { color: var(--muted); font-size: 15px; }
.service-cta { background: var(--navy); border-color: var(--navy); color: #b3bdd6; }
.service-cta h3 { color: #fff; }
.service-cta p { color: #9aa6c4; }
.service-cta .service-icon { background: var(--grad); color: #fff; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: #fff; }

/* Automação e dados */
.split { display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 64px; }
.split h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; }
.split-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 17px; color: var(--muted); }
.checklist { display: grid; gap: 14px; margin-top: 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .i { width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--grad); color: #fff; stroke-width: 2.6; }
.checklist b { color: var(--navy); font-weight: 600; }
.flow-card { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.flow-title { margin-bottom: 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.flow { position: relative; display: grid; gap: 22px; }
.flow::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--grad); opacity: 0.6; }
.flow li { position: relative; display: flex; align-items: center; gap: 16px; }
.flow-node { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; color: var(--violet); }
.flow li b { display: block; color: var(--navy); font-weight: 600; }
.flow li small { color: var(--muted); font-size: 14px; }
.mini-chart { margin-top: 28px; padding: 18px; border-radius: 16px; background: var(--soft); display: grid; gap: 10px; }
.mini-chart > span { font-size: 14px; font-weight: 600; color: var(--navy); }
.mini-chart small { justify-self: end; font-size: 11px; color: var(--muted); }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; }
.mini-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--grad); opacity: 0.9; }
.mini-bars i:nth-child(1) { height: 30%; } .mini-bars i:nth-child(2) { height: 45%; } .mini-bars i:nth-child(3) { height: 38%; } .mini-bars i:nth-child(4) { height: 58%; }
.mini-bars i:nth-child(5) { height: 52%; } .mini-bars i:nth-child(6) { height: 70%; } .mini-bars i:nth-child(7) { height: 84%; } .mini-bars i:nth-child(8) { height: 100%; }

/* Cases */
.case { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; }
.case + .case { margin-top: 110px; }
.case-reverse .case-media { order: 2; }
.case-media { position: relative; padding-right: 70px; padding-bottom: 40px; }
.case-reverse .case-media { padding-right: 0; padding-left: 70px; }
.case-media .window { border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.phone { position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 16; padding: 8px; border-radius: 30px; background: #05070f; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(124, 92, 255, 0.12); }
.case-reverse .phone { right: auto; left: 0; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; background: #111; }
.phone-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 62px; height: 62px; border: 0; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(92, 102, 255, 0.9); transition: transform 0.2s var(--ease), opacity 0.3s; }
.phone-play .i { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 3px; }
.phone-play:hover { transform: scale(1.06); }
.phone.is-playing .phone-play { opacity: 0; pointer-events: none; }
.case-tag { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.case-copy h3 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; }
.case-copy > p:not(.case-tag) { margin-top: 16px; font-size: 16px; color: #b3bdd6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: #dbe2f3; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-num { display: inline-block; margin-bottom: 18px; font-size: 34px; font-weight: 700; line-height: 1; background: linear-gradient(90deg, #7c5cff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk .i { width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(34, 211, 238, 0.14)); color: var(--violet); }
.perk b { display: block; color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.perk span { font-size: 14px; color: var(--muted); }

/* Dúvidas */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.25s; }
.faq details[open] { box-shadow: 0 18px 40px -30px rgba(11, 16, 32, 0.5); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--violet); font-size: 20px; font-weight: 400; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Contato */
.contact { background: radial-gradient(110% 90% at 0% 0%, #2a2470, var(--navy) 55%), var(--navy); color: #b3bdd6; overflow: hidden; }
.contact::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -220px; border-radius: 50%; background: var(--cyan); filter: blur(120px); opacity: 0.18; pointer-events: none; }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.95fr; align-items: center; gap: 64px; }
.contact h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 700; color: #fff; }
.contact-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 17px; color: #9aa6c4; }
.contact-list { display: grid; gap: 12px; margin-top: 30px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: #fff; }
.contact-list .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--cyan); }
.contact-form { display: grid; gap: 16px; padding: 32px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); font-size: 16px; font-weight: 400; color: var(--navy); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14); }
.contact-form ::placeholder { color: #9aa1b5; }
.form-error { color: #c0392b; font-size: 14px; font-weight: 500; }

/* Rodapé */
.site-footer { padding: 56px 0 40px; background: #070a16; color: #8590ad; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 40px; }
.footer-tagline { font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }

/* WhatsApp flutuante */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 16px 34px -12px rgba(37, 211, 102, 0.8); transition: transform 0.2s var(--ease); }
.whatsapp-float .i { width: 30px; height: 30px; stroke-width: 1.6; }
.whatsapp-float:hover { transform: scale(1.07); }

/* Página 404 */
.not-found { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; }
.not-found .section-head { margin-bottom: 0; }
.not-found .brand { display: flex; width: fit-content; margin: 0 auto 44px; }

/* Aparecer ao rolar (só com JavaScript ativo) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------- Responsivo */
@media (max-width: 1024px) {
  .hero-inner, .split, .case, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 460px; max-width: 640px; width: 100%; margin: 0 auto; }
  .case-reverse .case-media { order: 0; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps, .perks { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(11, 16, 32, 0.5); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 44px 0 70px; }
  .lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { height: 330px; }
  .chip-order { left: -6px; top: 40%; }
  .chip-auto { right: -6px; }
  .chip-chart { display: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .services, .steps, .perks { grid-template-columns: 1fr; }
  .case-media, .case-reverse .case-media { padding: 0 0 70px; }
  .phone, .case-reverse .phone { width: 40%; right: 10px; left: auto; }
  .contact-form { padding: 24px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
