/* Dirtech Tecnologia — moldura marinho, conteúdo claro, azul-claro como destaque. */
:root {
  --navy-950: #070f22;
  --navy-900: #0b1630;
  --navy-800: #0f2747;
  --navy-700: #143a66;
  --sky-300: #7dd3fc;
  --sky-400: #38b6ff;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-50: #e0f2fe;
  --bg: #ffffff;
  --bg-alt: #f3f6fb;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --ok: #16a34a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 70px rgba(2, 10, 28, .35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-600); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 2px; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; height: 46px; border-radius: 12px; font: 600 15px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, filter .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--sky-400), var(--sky-600)); box-shadow: 0 10px 24px rgba(2, 132, 199, .32); }
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 14px 30px rgba(2, 132, 199, .4); }
.btn-ghost { color: #e2e8f0; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* Topo */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.top.scrolled { background: rgba(11, 22, 48, .9); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #cbd5e1; text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s; }
.nav a:hover { color: #fff; }
.nav a.btn { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: #e2e8f0; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ================= HERO ================= */
.hero { position: relative; overflow: hidden; color: #e2e8f0; background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 35%, var(--navy-800) 70%, var(--navy-700) 100%); padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-bg .g1 { width: 520px; height: 520px; right: -120px; top: -140px; background: #0ea5e9; animation: drift 14s ease-in-out infinite alternate; }
.hero-bg .g2 { width: 420px; height: 420px; left: -160px; bottom: -200px; background: #1d4ed8; opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; background: rgba(56, 182, 255, .1); border: 1px solid rgba(56, 182, 255, .3); color: #bae6fd; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; color: #fff; }
.grad { background: linear-gradient(90deg, #7dd3fc, #38b6ff 50%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #b6c6dd; margin: 22px 0 0; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-proof { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: 14.5px; color: #cbd5e1; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: #34d399; width: 18px; height: 18px; }

.hero-vis { position: relative; min-height: 420px; }
.browser { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1); }
.hero-vis .browser { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; transition: transform .6s ease; }
.hero-vis:hover .browser { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #eef2f7; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-bar i:nth-child(1) { background: #f87171; } .browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 12px; font: 12px var(--mono); color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 6px; border: 1px solid var(--border); }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .97); color: var(--text); box-shadow: 0 18px 40px rgba(2, 10, 28, .35); font-size: 14px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); font-size: 12.5px; }
.f1 { left: -28px; bottom: 42px; }
.f2 { right: -18px; top: -22px; animation-delay: -2s; }
.f3 { right: 18px; bottom: -36px; display: block; width: 230px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.ico-s { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ico-s.ok { background: #dcfce7; color: var(--ok); }
.ico-s.warn { background: #fef3c7; color: #b45309; }
.mon-h { display: flex; justify-content: space-between; align-items: center; }
.live { font-size: 11px; font-weight: 700; color: var(--ok); text-transform: uppercase; letter-spacing: .08em; }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 5px; animation: ping 2s infinite; }
.spark { width: 100%; height: 48px; margin: 8px 0 6px; }
.spark-line { stroke: var(--sky-600); stroke-width: 2.5; fill: none; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 3s ease forwards infinite alternate; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mon-f { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.mon-f i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.mon-f i.g { background: var(--ok); }

.marquee { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(7, 15, 34, .45); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 20px 0; animation: scroll 38s linear infinite; }
.marquee-track span { color: #94a3b8; font-weight: 600; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "◆"; color: rgba(56, 182, 255, .5); font-size: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ================= SEÇÕES ================= */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800)); color: #e2e8f0; }
.section.dark h2 { color: #fff; }
.head { max-width: 720px; margin-bottom: 52px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-600); }
.eyebrow.light { color: #8fd3ff; }
.section h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
.sub { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.sub.light { color: #b6c6dd; }

/* ================= SERVIÇOS INTERATIVOS ================= */
.svc { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: stretch; }
.svc-tabs { display: flex; flex-direction: column; gap: 10px; }
.svc-tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: #fff; cursor: pointer; font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; position: relative; overflow: hidden; }
.svc-tab:hover { border-color: #bae6fd; transform: translateX(3px); }
.svc-tab b { display: block; font-size: 16px; }
.svc-tab small { color: var(--muted); font-size: 13.5px; }
.svc-tab.on { border-color: var(--sky-400); background: linear-gradient(135deg, #f0f9ff, #fff); box-shadow: 0 10px 30px rgba(2, 132, 199, .14); }
.svc-tab.on::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--sky-400), var(--sky-600)); }
.ti { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ti svg { width: 22px; height: 22px; }
.ti.sky { background: var(--sky-50); color: var(--sky-600); }
.ti.ind { background: #e0e7ff; color: #4338ca; }
.ti.teal { background: #ccfbf1; color: #0f766e; }
.ti.vio { background: #ede9fe; color: #6d28d9; }
.svc-panels { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.svc-panel { display: grid; grid-template-rows: auto 1fr; height: 100%; animation: fadein .45s ease; }
.svc-panel[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vis { position: relative; min-height: 270px; background: radial-gradient(600px 260px at 70% 0%, rgba(56, 182, 255, .25), transparent 70%), linear-gradient(160deg, var(--navy-900), var(--navy-800)); display: grid; place-items: center; padding: 26px; overflow: hidden; }
.txt { padding: 30px 34px 34px; }
.txt h3 { font-size: 24px; }
.txt p { color: var(--muted); margin: 10px 0 18px; font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Visual: rede */
.vis-net svg { width: 100%; max-width: 520px; height: auto; }
.vis-net .ln { stroke: rgba(125, 211, 252, .35); stroke-width: 2; fill: none; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.vis-net .pkt { fill: #7dd3fc; filter: drop-shadow(0 0 6px #38b6ff); }
.vis-net .pkt.bad { fill: #f87171; filter: drop-shadow(0 0 6px #ef4444); }
.vis-net .node circle, .vis-net .node rect { fill: rgba(15, 39, 71, .95); stroke: rgba(125, 211, 252, .5); stroke-width: 1.5; }
.vis-net .node.fw rect { fill: rgba(2, 132, 199, .25); stroke: #38b6ff; stroke-width: 2; }
.vis-net .shield { fill: none; stroke: #7dd3fc; stroke-width: 2; }
.vis-net text { fill: #e2e8f0; font: 600 12px var(--font); text-anchor: middle; stroke: none; }
.vis-net text.lbl { fill: #94a3b8; font-size: 11px; }
.tag-b { position: absolute; left: 22px; bottom: 18px; font-size: 12.5px; font-weight: 600; color: #fecaca; background: rgba(239, 68, 68, .15); border: 1px solid rgba(239, 68, 68, .4); padding: 5px 10px; border-radius: 8px; }

/* Visual: servidores */
.vis-srv { grid-template-columns: 1fr 1fr; gap: 20px; }
.rack { background: #0a1428; border: 1px solid rgba(125, 211, 252, .25); border-radius: 14px; padding: 12px; display: grid; gap: 8px; width: 100%; }
.unit { display: grid; grid-template-columns: auto auto 1fr 1.2fr; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; background: linear-gradient(90deg, #12233f, #0f1d36); color: #cbd5e1; font-size: 13px; }
.unit b { font-weight: 600; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #334155; }
.led.on { background: #34d399; box-shadow: 0 0 8px #34d399; }
.led.blink { background: #38b6ff; box-shadow: 0 0 8px #38b6ff; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.unit .bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.unit .bar em { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #38b6ff, #a5b4fc); width: 0; transition: width 1.2s ease .2s; }
.svc-panel:not([hidden]) .unit:nth-child(1) .bar em { width: 62%; }
.svc-panel:not([hidden]) .unit:nth-child(2) .bar em { width: 38%; }
.svc-panel:not([hidden]) .unit:nth-child(3) .bar em { width: 84%; }
.svc-panel:not([hidden]) .unit:nth-child(4) .bar em { width: 27%; }
.timeline { display: grid; gap: 12px; font-size: 13.5px; color: #cbd5e1; }
.timeline div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); padding: 10px 12px; border-radius: 10px; }
.timeline b { color: #fff; font-family: var(--mono); margin-right: 6px; }
.t-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.t-dot.ok { background: #34d399; } .t-dot.info { background: #fbbf24; }

/* Visual: e-mail */
.inbox { width: 100%; max-width: 440px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.ib-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.ib-h span { font: 12px var(--mono); color: var(--muted); }
.ib-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid #f1f5f9; font-size: 13.5px; }
.ib-row b { display: block; font-size: 14px; }
.ib-row small { color: var(--muted); }
.ib-row time { color: var(--muted); font-size: 12px; }
.ib-row.new { background: #f0f9ff; }
.ib-row.new b::after { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--sky-400); border-radius: 50%; margin-left: 6px; vertical-align: middle; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--font); font-style: normal; color: #fff; }
.a1 { background: #0284c7; } .a2 { background: #6d28d9; } .a3 { background: #0f766e; }
.ib-spam { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 12.5px; color: var(--ok); background: #f0fdf4; }
.ib-spam svg { width: 16px; height: 16px; }

/* Visual: suporte remoto */
.screen { width: 100%; max-width: 420px; aspect-ratio: 16 / 10; border-radius: 14px; background: linear-gradient(135deg, #1e3a5f, #0b1630); border: 8px solid #0a1220; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.consent { width: 82%; background: #fff; border-radius: 14px; padding: 18px; text-align: center; color: var(--text); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); animation: pop .6s ease; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.c-ic { width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 12px; background: var(--sky-50); color: var(--sky-600); display: grid; place-items: center; }
.consent b { display: block; font-size: 15px; }
.consent small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.code { font: 700 24px var(--mono); letter-spacing: .12em; color: var(--navy-900); margin: 10px 0 12px; }
.c-btns { display: flex; gap: 8px; justify-content: center; }
.c-btns span { font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 8px; }
.c-no { border: 1px solid var(--border); color: var(--text-2); }
.c-yes { color: #fff; background: linear-gradient(135deg, var(--sky-400), var(--sky-600)); animation: glow 2s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(56, 182, 255, .25); } }
.rem-badge { position: absolute; right: 22px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #bbf7d0; background: rgba(22, 163, 74, .15); border: 1px solid rgba(34, 197, 94, .4); padding: 5px 10px; border-radius: 8px; }
.rem-badge svg { width: 14px; height: 14px; }

/* Visual: sistemas */
.vis-sis { grid-template-columns: 1.3fr 1fr; gap: 18px; }
.dash { background: #fff; border-radius: 14px; padding: 14px 16px; color: var(--text); box-shadow: var(--shadow-lg); }
.d-h { display: flex; justify-content: space-between; font-size: 14px; }
.d-h span { color: var(--muted); font-size: 12px; }
.d-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.d-kpis div { background: var(--bg-alt); border-radius: 9px; padding: 8px; }
.d-kpis small { display: block; color: var(--muted); font-size: 11px; }
.d-kpis b { font-size: 15px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--sky-400), var(--sky-600)); height: 8%; transition: height 1s ease; }
.svc-panel:not([hidden]) .bars i:nth-child(1) { height: 40%; } .svc-panel:not([hidden]) .bars i:nth-child(2) { height: 55%; }
.svc-panel:not([hidden]) .bars i:nth-child(3) { height: 48%; } .svc-panel:not([hidden]) .bars i:nth-child(4) { height: 70%; }
.svc-panel:not([hidden]) .bars i:nth-child(5) { height: 62%; } .svc-panel:not([hidden]) .bars i:nth-child(6) { height: 84%; }
.svc-panel:not([hidden]) .bars i:nth-child(7) { height: 76%; }
.codecard { align-self: center; background: #0a1428; border: 1px solid rgba(125, 211, 252, .25); border-radius: 12px; padding: 14px; font: 13px/1.7 var(--mono); color: #cbd5e1; }
.codecard .k { color: #c4b5fd; } .codecard .f { color: #7dd3fc; }

/* ================= PRODUTO E-MAIL ================= */
.prod { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 32px; }
.feat div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; }
.feat svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--sky-600); box-shadow: var(--shadow); }
.feat b { font-size: 15.5px; }
.feat span { color: var(--muted); font-size: 14px; }
.browser.big { transform: perspective(1600px) rotateY(-6deg); transition: transform .6s; }
.prod-vis:hover .browser.big { transform: none; }

/* ================= PARA QUEM ================= */
.segs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seg { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.seg:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bae6fd; }
.seg svg { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--sky-50); color: var(--sky-600); }
.seg b { font-size: 16.5px; align-self: end; }
.seg span { color: var(--muted); font-size: 14.5px; }

/* ================= ETAPAS ================= */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 26px; height: 2px; background: linear-gradient(90deg, var(--sky-400), #a5b4fc); transform: scaleX(0); transform-origin: left; transition: transform 1.4s ease .3s; }
.steps.in::before { transform: scaleX(1); }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.steps .n { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto; border-radius: 16px; background: var(--navy-900); color: #8fd3ff; font-weight: 800; font-size: 20px; box-shadow: 0 0 0 6px var(--bg-alt); }
.steps h3 { font-size: 18px; margin: 18px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ================= COMPROMISSOS ================= */
.commit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.commit div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .2s, border-color .2s; }
.commit div:hover { background: rgba(56, 182, 255, .08); border-color: rgba(56, 182, 255, .35); }
.commit svg { grid-row: span 2; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(56, 182, 255, .14); color: #7dd3fc; }
.commit b { color: #fff; font-size: 16px; }
.commit span { color: #94a3b8; font-size: 14.5px; }

/* ================= DÚVIDAS ================= */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: #bae6fd; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-600); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ================= CONTATO ================= */
.contact { color: #e2e8f0; background: radial-gradient(700px 400px at 90% 10%, rgba(56, 182, 255, .18), transparent 70%), linear-gradient(160deg, var(--navy-950), var(--navy-900) 50%, var(--navy-800)); }
.contact h2 { color: #fff; }
.contact-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.channels { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; font-size: 16px; }
.channels li { display: flex; align-items: center; gap: 12px; color: #cbd5e1; }
.channels svg { color: var(--sky-400); }
.channels a { color: #fff; text-decoration: none; }
.channels a:hover { text-decoration: underline; }
.form { background: #fff; color: var(--text-2); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg); }
.form h3 { color: var(--text); font-size: 21px; margin-bottom: 18px; }
.f-row { margin-bottom: 15px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text-2); }
.opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 12px; background: #f8fafc; font: 15px var(--font); color: var(--text); }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; background: #fff; border-color: var(--sky-400); box-shadow: 0 0 0 3px rgba(56, 182, 255, .25); }
.form .invalid { border-color: #dc2626; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lgpd { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }
.f-status { margin: 14px 0 0; font-size: 14.5px; min-height: 1.2em; }
.f-status.ok { color: #15803d; } .f-status.err { color: #dc2626; }

/* ================= RODAPÉ ================= */
.foot { background: var(--navy-950); color: #94a3b8; padding: 56px 0 26px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot img { height: 25px; width: auto; margin-bottom: 12px; }
.foot p { margin: 0; }
.foot b { display: block; color: #fff; margin-bottom: 10px; }
.foot-grid a { display: block; color: #cbd5e1; text-decoration: none; margin: 6px 0; }
.foot-grid a:hover { color: #fff; }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #7f8ea8; }

/* WhatsApp flutuante */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(22, 163, 74, .45); transition: transform .2s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

/* Página de texto (privacidade) */
.doc { max-width: 760px; padding: 140px 24px 96px; }
.doc h1 { font-size: 34px; margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.page-doc .top { background: var(--navy-900); }
.nav.nav-static { display: flex !important; position: static; flex-direction: row; padding: 0; background: none; border: 0; }

/* ================= RESPONSIVO ================= */
@media (max-width: 1080px) {
  .hero-in, .prod, .contact-in, .faq-wrap { grid-template-columns: 1fr; }
  .hero-vis { max-width: 620px; margin: 30px auto 40px; width: 100%; }
  .svc { grid-template-columns: 1fr; }
  .svc-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .svc-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .svc-tab:hover { transform: none; }
  .segs, .commit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); display: none; }
  .nav.open { display: flex; }
  .top:has(.nav.open) { background: var(--navy-900); }
  .nav a { padding: 12px 4px; }
  .nav a.btn { margin-top: 8px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .wrap { padding: 0 16px; }
  .hero-in { padding-top: 40px; padding-bottom: 56px; gap: 24px; }
  .hero-cta .btn { width: 100%; }
  .hero-vis { min-height: 0; }
  .hero-vis .browser { transform: none; }
  .f1 { left: 6px; bottom: -18px; } .f2 { right: 6px; top: -18px; } .f3 { display: none; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 34px; }
  .vis-srv, .vis-sis { grid-template-columns: 1fr; }
  .txt { padding: 22px 20px 26px; }
  .checks, .feat, .segs, .commit, .f-grid { grid-template-columns: 1fr; }
  .f-grid { gap: 0; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .browser.big { transform: none; }
  .wa { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.no-js .reveal, .no-js .steps::before { opacity: 1; transform: none; transition: none; }
