/* Refenge — Portas Vai e Vem · identidade herdada da landing page */
:root {
  --navy: #2e3190; --navy-900: #161a5c; --navy-950: #0d1042;
  --royal: #1565d8; --sky: #2aa3e8; --aqua: #22cfd9;
  --ice: #f2f7fc; --ink: #141a33; --ink-2: #4a5373; --line: #d7e3f0;
  --wa: #1fae5b; --wa-d: #178f4a;
  --grad: linear-gradient(120deg, var(--royal) 0%, var(--sky) 55%, var(--aqua) 100%);
  --font-h: 'Archivo', system-ui, sans-serif;
  --font-b: 'Figtree', system-ui, sans-serif;
  --r: 22px; --r-s: 14px;
  --sec: clamp(64px, 8vw, 108px);
  --head-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; font-family: var(--font-b); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-h); font-stretch: 88%; line-height: 1.1; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .15s; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 1rem/1 var(--font-b); padding: 1.05em 1.6em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { transition: transform .2s; }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .55); }
.btn-light:hover { background: var(--ice); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -10px rgba(31, 174, 91, .8); }
.btn-wa:hover { background: var(--wa-d); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 12px 26px -12px rgba(46, 49, 144, .8); }
.btn-navy:hover { background: var(--navy-900); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--navy); }
.btn-sm { padding: .8em 1.25em; font-size: .93rem; }
.tlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--royal); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .25s; }
.tlink:hover, a:hover > .tlink, .mcard:hover .tlink { background-size: 100% 2px; }
.tlink .ico { transition: transform .2s; }
.tlink:hover .ico, .mcard:hover .tlink .ico { transform: translateX(3px); }

/* ---------- cabeçalho ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(13, 16, 66, .94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head-h); }
.logo img { width: 172px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: #d4e4ff; text-decoration: none; font-weight: 600; font-size: .97rem; padding: 10px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .12); }
.nav .btn { margin-left: 10px; }
.sub { position: relative; }
.sub-t { display: inline-flex; align-items: center; gap: 6px; font: 600 .97rem/1.6 var(--font-b); color: #d4e4ff; background: none; border: 0; padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.sub-t:hover, .sub:hover .sub-t, .sub.open .sub-t { color: #fff; background: rgba(255, 255, 255, .1); }
.sub-t.on { color: #fff; background: rgba(255, 255, 255, .12); }
.sub-t .ico { width: 1em; height: 1em; transition: transform .2s; }
.sub:hover .sub-t .ico, .sub.open .sub-t .ico { transform: rotate(180deg); }
.sub-m { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; padding: 8px; background: var(--navy-900); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); }
.sub:hover .sub-m, .sub:focus-within .sub-m, .sub.open .sub-m { display: grid; gap: 2px; }
.nav .sub-m a { border-radius: 10px; white-space: nowrap; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
.burger .x { display: none; }
.burger[aria-expanded="true"] .x { display: block; }
.burger[aria-expanded="true"] .m { display: none; }

/* ---------- heros ---------- */
.dark { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; filter: blur(10px); opacity: .45; }
.b1 { width: 560px; height: 560px; right: -160px; top: -220px; background: radial-gradient(circle, var(--aqua), transparent 65%); }
.b2 { width: 480px; height: 480px; left: -220px; bottom: -220px; background: radial-gradient(circle, var(--sky), transparent 65%); }
.ring { position: absolute; z-index: -1; width: 1000px; height: 1000px; left: 30%; top: 45%; border: 2px solid rgba(255, 255, 255, .08); border-radius: 50%; pointer-events: none; }
.kicker { font: 700 .8rem/1.2 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); margin: 0 0 1.1em; display: inline-flex; align-items: center; gap: .6em; }
.kicker::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.dark .kicker { color: #9fe6ff; }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.22rem); color: var(--ink-2); max-width: 58ch; margin: 0; }
.dark .lead { color: #d4e4ff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; font-size: .95rem; color: #e6f1ff; }
.points li { display: flex; align-items: center; gap: 8px; }
.points .ico { color: var(--aqua); }

.hero { min-height: calc(100svh - var(--head-h)); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { position: absolute; right: 0; top: 0; width: 56%; height: 100%; object-fit: cover; object-position: center 45%; opacity: 0; transition: opacity 1.6s ease; }
.hero-bg img.on { opacity: var(--o, 1); }
.hero-bg::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, var(--navy-950) 0%, rgba(13, 16, 66, .98) 42%, rgba(13, 16, 66, .55) 62%, rgba(13, 16, 66, .08) 100%),
    linear-gradient(0deg, rgba(13, 16, 66, .7) 0%, transparent 35%); }
.hero-in { padding: 64px 0 76px; width: min(100% - 32px, 1200px); }
.hero-copy { max-width: 640px; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 850; line-height: 1.06; margin: 0 0 .45em; }
h1 em, .h2 em { font-style: normal; background: linear-gradient(120deg, #5cc4ff 0%, var(--aqua) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.phero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 84px); }
.phero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.phero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 0; margin: 0 0 26px; font-size: .88rem; color: #a9bde6; }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .5; }
.crumbs a { color: #d4e4ff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* entrada única do hero */
.reveal { opacity: 0; transform: translateY(18px); animation: up .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.reveal:nth-child(2) { animation-delay: .08s; } .reveal:nth-child(3) { animation-delay: .16s; } .reveal:nth-child(4) { animation-delay: .24s; } .reveal:nth-child(5) { animation-delay: .32s; }
@keyframes up { to { opacity: 1; transform: none; } }

/* ---------- seções ---------- */
.sec { padding: var(--sec) 0; }
.sec-ice { background: var(--ice); }
#modelos { padding-bottom: clamp(40px, 4.5vw, 60px); }
.sec-head { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 52px); }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); font-weight: 800; color: var(--navy-900); margin: 0 0 .5em; }
.dark .h2 { color: #fff; }
h3 { font-size: 1.28rem; font-weight: 750; color: var(--navy-900); }
.dark h3 { color: #fff; }

.frame { border-radius: var(--r); overflow: hidden; background: var(--ice); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.frame:hover img, a:hover .frame img { transform: scale(1.03); }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-full { aspect-ratio: 5 / 8; }
.phero .frame { box-shadow: 0 40px 80px -30px rgba(5, 8, 40, .8); max-width: 440px; justify-self: end; width: 100%; }

/* números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); }
.stats div { padding: 28px 24px 30px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stats b { display: block; font: 850 clamp(1.25rem, 1.8vw, 1.55rem)/1.1 var(--font-h); font-stretch: 84%; color: #fff; margin-bottom: 8px; }
.stats span { color: #a9bde6; font-size: .95rem; }

/* cards de modelo */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mcard:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(22, 26, 92, .5); border-color: #b9cde6; }
.mcard .frame { border-radius: 0; }
.mcard-a { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.mcard .tlink { align-self: flex-start; }
.mcard-cta { padding: 0 20px 22px; }
.mcard-cta .btn { width: 100%; }
.mcard-b { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mcard p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.ideal { flex: 1; margin: 6px 0 8px; font-size: .94rem; }
.ideal b { display: block; color: var(--navy-900); margin-bottom: 6px; }
.ideal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--ink-2); }
.ideal li { display: flex; gap: 9px; align-items: baseline; }
.ideal li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); transform: translateY(-2px); }
.tag { align-self: flex-start; font: 700 .72rem/1 var(--font-b); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: #e4effb; color: var(--royal); }
.tag-cold { background: #dcf7f9; color: #0b7f88; }

/* fabricamos também */
.also { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.also h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: .5em; }
.also p:not(.kicker) { color: var(--ink-2); }
.also .cta { margin-top: 24px; }
.also-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.also-pics figure { margin: 0; }
.also-pics .frame { aspect-ratio: 2 / 3; border-radius: var(--r-s); }
.also-pics figcaption { margin-top: 10px; font-weight: 700; color: var(--navy-900); font-size: .95rem; text-align: center; }
@media (max-width: 900px) { .also { grid-template-columns: 1fr; } }

/* escolha / comparativo */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pick-c { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.pick-c h3 { margin: 14px 0 10px; font-size: 1.4rem; }
.pick-c p { color: var(--ink-2); }
.pick-c ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.pick-c li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-s); background: var(--ice); text-decoration: none; color: var(--navy-900); font-weight: 700; transition: background .2s, transform .2s; }
.pick-c li a:hover { background: #e4effb; transform: translateX(3px); }
.pick-c li a span { font-weight: 500; color: var(--ink-2); font-size: .92rem; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child > * { border-bottom: 0; }
thead th { font: 750 .98rem/1.2 var(--font-h); color: var(--navy-900); background: var(--ice); white-space: nowrap; }
tbody th { font-weight: 600; color: var(--ink-2); width: 30%; }
.cmp { min-width: 760px; }
.cmp tbody th { width: 18%; }
.cmp thead a { color: inherit; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split .frame { max-width: 470px; width: 100%; }
.split .frame.end { justify-self: end; }
.video { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy-950); box-shadow: 0 30px 60px -30px rgba(22, 26, 92, .55); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.checks .ico { color: var(--royal); margin-top: .22em; }
.dark .checks .ico { color: var(--aqua); }
.checks b { display: block; color: var(--navy-900); }
.dark .checks b { color: #fff; }
.checks span { color: var(--ink-2); font-size: .97rem; }
.dark .checks span, .dark p { color: #c9d9f7; }

/* tecnologia */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.tech div { padding: 28px 24px 0 0; }
.tech div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tech .n { font: 800 .85rem/1 var(--font-h); color: var(--aqua); letter-spacing: .1em; }
.tech h3 { margin: 14px 0 8px; font-size: 1.18rem; }
.tech p { font-size: .96rem; margin: 0; }

/* segmentos */
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seg { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.seg:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(22, 26, 92, .5); border-color: #b9cde6; }
.seg .ico { width: 30px; height: 30px; color: var(--royal); }
.seg h3 { font-size: 1.1rem; }
.seg p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.seg-row { display: grid; grid-template-columns: .9fr 1.1fr auto; gap: 24px 40px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.seg-row:last-child { border-bottom: 1px solid var(--line); }
.seg-row h2 { font-size: 1.45rem; font-weight: 800; color: var(--navy-900); display: flex; gap: 12px; align-items: center; }
.seg-row h2 .ico { width: 28px; height: 28px; color: var(--royal); }
.seg-row p { margin: 0; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--ice); border: 1px solid var(--line); color: var(--navy-900); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s, border-color .2s; }
.chips a:hover { background: #e4effb; border-color: #b9cde6; }

/* clientes */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 48px; }
.clients h3 { font-size: .8rem; font-family: var(--font-b); font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.clients ul { list-style: none; margin: 0; padding: 0; font-weight: 600; color: var(--navy-900); display: grid; gap: 6px; }
.clients li span { font-weight: 400; color: var(--ink-2); }

/* depoimentos */
.tst { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0 0; text-align: center; }
.tst-list { display: grid; }
.tst-i { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.tst-i.on { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.tst-av { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 2rem/1 var(--font-h); margin-bottom: 14px; }
.tst figcaption { font-weight: 700; color: var(--navy-900); }
.tst figcaption span { font-weight: 400; color: var(--ink-2); }
.tst-stars { color: var(--navy); letter-spacing: .2em; margin: 6px 0 20px; }
.tst blockquote { margin: 0; max-width: 34ch; font: 600 clamp(1.25rem, 2.4vw, 1.75rem)/1.4 var(--font-h); font-stretch: 92%; color: var(--navy-900); text-wrap: balance; }
.tst-dots { display: flex; justify-content: center; gap: 4px; margin-top: 22px; }
.tst-dots button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.tst-dots button::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #b9cde6; transition: background .2s, transform .2s; }
.tst-dots button:hover::before { background: var(--sky); }
.tst-dots button[aria-current]::before { background: var(--navy); transform: scale(1.3); }

/* serviços */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { border-top: 3px solid; border-image: var(--grad) 1; padding-top: 20px; }
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--ink-2); margin: 0; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 700 1.1rem/1.3 var(--font-h); font-stretch: 92%; color: var(--navy-900); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--royal); }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--royal); border-bottom: 2.5px solid var(--royal); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding: 0 44px 22px 0; margin: 0; max-width: 70ch; }

/* orçamento */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.contact li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.contact .ico { width: 22px; height: 22px; color: var(--aqua); margin-top: 3px; }
.contact b { display: block; color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.contact a, .contact span { color: #d4e4ff; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.card { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); box-shadow: 0 40px 80px -30px rgba(5, 8, 40, .8); position: relative; }
.card::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad); }
.card h2, .card h3 { font-size: 1.6rem; font-weight: 800; color: var(--navy-900); margin: 0 0 .25em; }
.card > p { margin: 0 0 18px; color: var(--ink-2); font-size: .95rem; }
.qform { display: grid; gap: 12px; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qrow-3 { grid-template-columns: 1fr 1fr 1fr; }
.qform label { display: grid; gap: 5px; font-weight: 600; font-size: .85rem; color: var(--navy-900); min-width: 0; }
.qform input, .qform select, .qform textarea { font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); width: 100%; min-width: 0; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--ice); transition: border-color .2s, background .2s, box-shadow .2s; }
.qform textarea { resize: vertical; min-height: 70px; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(21, 101, 216, .12); }
.qform [aria-invalid="true"] { border-color: #d93a3a; background: #fff6f6; }
.qform-err { color: #c62828; font-weight: 600; font-size: .9rem; margin: 0; }
.qform .btn { width: 100%; margin-top: 4px; font-size: 1.05rem; }
.qform-note, .dark .qform-note { font-size: .8rem; color: var(--ink-2); margin: 0; text-align: center; }
.dark .qform-err { color: #c62828; }
.card.flash { animation: flash 1s ease; }
@keyframes flash { 40% { box-shadow: 0 0 0 6px rgba(34, 207, 217, .6), 0 40px 80px -30px rgba(5, 8, 40, .8); } }

/* faixa CTA */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.band .h2 { margin: 0 0 .3em; }
.band p { margin: 0; max-width: 56ch; }
.band .cta { margin: 0; }

/* sobre */
.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.timeline b { font: 850 2rem/1 var(--font-h); font-stretch: 88%; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.timeline p { margin: 0; color: var(--ink-2); }
.map { border: 0; width: 100%; height: 420px; border-radius: var(--r); display: block; background: var(--ice); }

/* rodapé */
.foot { background: var(--navy-950); color: #a9bde6; font-size: .95rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.foot img { width: 180px; margin-bottom: 18px; }
.foot h2 { font: 700 .8rem/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: #d4e4ff; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-b { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: .84rem; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .2s, background .2s; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: var(--wa-d); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .models, .segs { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn), .sub-t { padding: 10px 10px; font-size: .93rem; }
}
@media (max-width: 900px) {
  :root { --head-h: 66px; }
  .logo img { width: 150px; }
  .burger { display: inline-flex; }
  /* absolute, não fixed: o backdrop-filter do cabeçalho vira o bloco de referência */
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--head-h)); height: calc(100dvh - var(--head-h)); background: var(--navy-950); flex-direction: column; align-items: stretch; gap: 4px; padding: 20px 16px 32px; overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { font-size: 1.25rem; padding: 16px 14px; border-radius: 14px; }
  .nav .btn { margin: 16px 0 0; }
  /* no celular o submenu fica sempre aberto, com "Nossos produtos" como rótulo */
  .sub-t { width: 100%; padding: 16px 14px 4px; cursor: default; color: #9fb4e0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; background: none !important; }
  .sub-t .ico { display: none; }
  .sub-m, .sub:hover .sub-m { display: grid; position: static; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .hero-bg { --o: .5; }
  .hero-bg img { width: 100%; height: 100%; object-position: center 30%; }
  .hero-bg::before { background: linear-gradient(180deg, rgba(13, 16, 66, .55) 0%, rgba(13, 16, 66, .9) 55%, var(--navy-950) 100%); }
  .phero-split, .split, .quote, .pick { grid-template-columns: 1fr; }
  .phero .frame, .split .frame, .split .frame.end { justify-self: center; max-width: 420px; }
  .split .frame.first-m { order: -1; }
  .stats, .tech { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3), .tech div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .tech div { padding-bottom: 26px; }
  .tech div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .clients { grid-template-columns: 1fr 1fr; }
  .svcs, .timeline { grid-template-columns: 1fr; }
  .seg-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  h1 { font-size: min(46px, 11.5vw); line-height: 1.04; font-stretch: 80%; }
  .cta .btn { flex: 1 1 100%; }
  .models, .segs, .clients, .foot-in { grid-template-columns: 1fr; }
  .models { gap: 16px; }
  .stats div { padding: 22px 12px 22px 0; }
  .stats div + div { padding-left: 16px; }
  .stats div:nth-child(3) { padding-left: 0; }
  .tech div + div { padding-left: 16px; }
  .tech div:nth-child(3) { padding-left: 0; }
  .qrow { grid-template-columns: 1fr; }
  .qrow-3 { grid-template-columns: 1fr 1fr; }
  .qrow-3 label:last-child { grid-column: 1 / -1; }
  .foot-in { gap: 28px; padding: 44px 0 32px; }
  .map { height: 320px; }
  tbody th { width: 38%; }
  th, td { padding: 13px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
  .hero-bg img { transition: opacity 1.6s ease !important; }
  .tst-i.on { transition: opacity .8s ease !important; }
}
