/*!
 * Detrix Site — assets/css/site.css
 * Fiel ao projeto do cliente no Figma (desktop 1920): Inter 900/500/400, vermelho #D40613, #1C2029, #0B0E13, #F4F2EE, #878787.
 * Medidas em px nas larguras do projeto; abaixo de 1920 as colunas encolhem com clamp()/vw e o layout empilha no celular.
 */
:root {
  --red: #D40613; --red-2: #b2050f; --ink: #1C2029; --black: #0B0E13; --cream: #F4F2EE; --grey: #878787; --grey-2: #9C9C9C; --grey-3: #D9D9D9; --line: #2A2A2A; --navy: #16345F; --steel: #7D8EA7;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --hd: 99px;
  --h2: clamp(36px, 3.333vw, 64px); --h2-lh: 1.094;   /* 64/70 */
  --gut: clamp(20px, 4.167vw, 80px);                   /* 80px no projeto */
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
section[id], [id] { scroll-margin-top: var(--hd); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font: 400 16px/22px var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open, body.modal-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.ico { width: 1em; height: 1em; flex: none; }
em { font-style: normal; color: var(--red); }
strong { font-weight: 700; }

/* ---------- tipografia ---------- */
.h2, .hero__title { font-weight: 900; font-size: var(--h2); line-height: var(--h2-lh); letter-spacing: 0; }
.lead { font-size: 16px; line-height: 22px; color: var(--grey); }
.lead p + p { margin-top: 22px; }
.shead { display: flex; flex-direction: column; gap: 25px; }
.shead--center { align-items: center; text-align: center; }
.shead--light { color: var(--cream); }
.shead--light .lead { color: var(--cream); }
.prose { max-width: 820px; font-size: 17px; line-height: 1.65; color: #3a3f48; }
.prose p, .prose ul { margin: 0 0 1.1em; }
.prose h2 { font: 900 clamp(24px, 1.7vw, 32px)/1.2 var(--font); color: var(--ink); margin: 1.6em 0 .5em; }
.prose h3 { font: 700 20px/1.3 var(--font); color: var(--ink); margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- botões (pílula 49px, Inter 500 16/19) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 20px; border-radius: 100px; font: 500 16px/19px var(--font); white-space: nowrap; border: 1px solid transparent; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s; isolation: isolate; }
.btn .ico, .btn > svg { width: 18px; height: 18px; flex: none; }
.btn--red > svg { width: 19px; height: 19px; margin-top: -1px; }
.btn--red { background: var(--red); color: #fff; border-color: var(--red); }
.btn--red:hover { background: var(--red-2); border-color: var(--red-2); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(212, 6, 19, .7); }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); padding: 16px 20px; }
.btn--dark:hover { background: #2a303c; border-color: #2a303c; transform: translateY(-2px); }
.btn--wa { background: #25D366; color: #073b1c; border-color: #25D366; }
.btn--wa:hover { background: #3be67d; transform: translateY(-2px); }
.btn--wa svg { width: 20px; height: 20px; }
.btn--block { width: 100%; }
.btn--bold { font-weight: 700; }
.btn.is-off { opacity: .6; cursor: default; pointer-events: none; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- barra de progresso ---------- */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---------- topo (Figma: 1920×99, padding 0 80) ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; background: #fff; transition: transform .5s var(--ease), box-shadow .4s, height .4s; }
.hd__in { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 48px); height: var(--hd); padding: 0 var(--gut); transition: height .4s var(--ease); }
.hd__brand { display: flex; align-items: center; gap: 30px; flex: none; }
.hd__logo img { width: 118px; height: auto; }
.hd__brand-of { display: flex; flex-direction: column; gap: 5px; padding: 0 20px; border-left: 1px solid var(--grey); }
.hd__brand-of small { font: 400 14px/17px var(--font); text-transform: uppercase; color: var(--grey); letter-spacing: 0; }
.hd__brand-of img { width: 168px; height: auto; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: clamp(8px, 1.5vw, 30px); }
.nav__link { display: block; padding: 10px; font: 500 16px/19px var(--font); color: var(--ink); }
.nav__clip { display: block; overflow: hidden; }
.nav__link span[data-text] { display: block; position: relative; transition: transform .35s var(--ease); }
.nav__link span[data-text]::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--red); }
.nav__link:hover span[data-text], .nav__link.is-on span[data-text] { transform: translateY(-100%); }
.hd__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.hd.is-scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 14px 40px -30px rgba(0, 0, 0, .35); }
.hd.is-scrolled .hd__in { height: 76px; }
.hd.is-hidden { transform: translateY(-100%); }
/* logado no WP: header, barra de progresso e menu descem a altura da admin bar */
.admin-bar { --abar: 32px; }
@media (max-width: 782px) { .admin-bar { --abar: 46px; } }
.admin-bar .hd, .admin-bar .progress { top: var(--abar); }
.admin-bar .menu { inset: calc(var(--hd) + var(--abar)) 0 0; }
.admin-bar section[id], .admin-bar [id] { scroll-margin-top: calc(var(--hd) + var(--abar)); }
.hd__burger { position: relative; width: 48px; height: 48px; border-radius: 50%; display: none; place-items: center; background: var(--ink); color: #fff; }
.hd__burger span { position: absolute; left: 15px; width: 18px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s, width .3s; }
.hd__burger span:nth-child(1) { top: 18px; } .hd__burger span:nth-child(2) { top: 23px; width: 12px; } .hd__burger span:nth-child(3) { top: 28px; }
.hd__burger em { position: absolute; left: -9999px; }
.hd__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hd__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.menu { position: fixed; inset: var(--hd) 0 0; z-index: 99; background: var(--black); color: #fff; overflow: auto; padding: 30px var(--gut) 40px; display: flex; flex-direction: column; gap: 30px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); }
.menu:not([hidden]) { clip-path: inset(0 0 0 0); }
.menu__list li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.15s + var(--i) * .05s); }
.menu:not([hidden]) .menu__list li { opacity: 1; transform: none; }
.menu__list a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font: 900 clamp(28px, 7vw, 40px)/1.1 var(--font); border-bottom: 1px solid var(--line); }
.menu__list small { font: 500 13px/1 var(--font); color: var(--red); }
.menu__side { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- abertura (Figma: Frame 127, 1920×670) ---------- */
.hero { position: relative; min-height: 670px; margin-top: var(--hd); background: var(--navy); color: #fff; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 100%; transform: scale(1.1); transform-origin: 50% 100%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%); }
.hero__in { width: 100%; padding: 76px var(--gut) 44px clamp(20px, 3.02vw, 58px); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 566px; }
.hero__title { font-size: var(--h2); line-height: 1.031; color: #fff; max-width: 8.72em; }
.hero__text { max-width: 507px; color: var(--grey); padding: 10px 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- aplicações (Figma: Frame 17, 1920×1141, fundo #F4F2EE) ---------- */
.apps { background: var(--cream); padding: 60px var(--gut); }
.apps__in { max-width: 1312px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 10px 0 0; }
.apps__in .shead { max-width: 1292px; }
.apps__in .h2 { max-width: 15.8em; }
.apps__cards { display: flex; align-items: flex-end; justify-content: center; margin-top: -10px; }
.app { position: relative; width: 293px; height: 422px; background: var(--ink); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px 25px 40px; color: var(--cream); isolation: isolate; transform-origin: 50% 100%; transition: transform .5s var(--ease), scale .5s var(--ease), translate .5s var(--ease), box-shadow .5s var(--ease); }
.apps__cards .app, .js .reveal.app { transition: opacity .9s var(--ease), transform 1s var(--ease), scale .5s var(--ease), translate .5s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--d, 0) * 1ms), calc(var(--d, 0) * 1ms), 0s, 0s, 0s; }
.app:hover { scale: 1.085; translate: 0 -4px; box-shadow: 0 7px 23.4px rgba(0, 0, 0, .25); z-index: 2; }
.app--featured { /* mantido por compatibilidade: todos os cartões têm o mesmo tamanho */ }
.app__media { position: absolute; inset: 0; z-index: -2; }
.app__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 1.2s var(--ease); }
.app:hover .app__media img { transform: scale(1.06); }
.app__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .88) 100%); }
.app__body { display: flex; flex-direction: column; gap: 10px; }
.app__title { font: 900 24px/30px var(--font); }
.vlink { display: inline-flex; align-items: center; gap: 7px; font: 400 16px/22px var(--font); color: var(--grey-2); transition: color .3s; }
.vlink__arrow { display: inline-block; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg) scale(.8); transition: transform .3s var(--ease); }
a.vlink:hover { color: #fff; }
a.vlink:hover .vlink__arrow { transform: translateX(3px) rotate(45deg) scale(.8); }
.boxes { display: flex; justify-content: center; }
.box { width: 299px; min-height: 276px; display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 30px; border: 1px solid var(--grey-3); margin-left: -1px; text-align: center; background: transparent; transition: background .4s, transform .5s var(--ease); }
.box:first-child { border-radius: 10px 0 0 10px; margin-left: 0; }
.box:last-child { border-radius: 0 10px 10px 0; }
.box:hover { background: rgba(255, 255, 255, .55); }
.box__icon { width: 45px; height: 45px; }
.box__title { font: 600 16px/22px var(--font); color: var(--black); }
.box__text { color: var(--grey); margin-top: -5px; }

/* ---------- tecnologia (Figma: Frame 37, 1920×514) ---------- */
.tech { background: #fff; padding: 60px var(--gut); }
.tech__in { max-width: 1526px; margin: 0 auto; display: flex; align-items: flex-start; gap: 40px; }
.tech__media { position: relative; flex: none; width: 512px; height: 364px; background: var(--ink); overflow: hidden; }
.tech__img, .tech__img img { width: 100%; height: 100%; }
.tech__img img { object-fit: cover; transform: scale(1.08); }
.tech__play { position: absolute; left: 230px; top: 157px; width: 52px; height: 49.5px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .4s var(--ease), box-shadow .4s; box-shadow: 0 0 0 0 rgba(212, 6, 19, .5); }
.tech__play i { width: 0; height: 0; border-style: solid; border-width: 11.5px 0 11.5px 20px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
a.tech__play:hover { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(212, 6, 19, .18); }
.tech__copy { flex: 1; display: flex; flex-direction: column; gap: 15px; max-width: 974px; }
.tech__copy .shead { gap: 15px; }
.tech__copy .h2 { max-width: 15.25em; }
.feats { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 70px; row-gap: 20px; margin-top: 15px; }
.feats li { display: flex; align-items: center; gap: 5px; font: 500 16px/22px var(--font); color: var(--ink); }
.feats__icon { width: 22px; height: 22px; object-fit: contain; }
.tech__note { font-size: 14px; color: var(--grey); margin-top: 13px; }

/* ---------- modelos (Figma: Frame 132, 1920×3214, fundo #0B0E13) ---------- */
.models { background: var(--black); color: var(--cream); padding: 61px var(--gut) 97px; }
.models__in { max-width: 1760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.models__in .shead { max-width: 653px; gap: 25px; }
.models__in .h2 { max-width: 10.2em; }
.models__in .h2 { line-height: .86; }
.models__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 60px; row-gap: 91px; width: 100%; margin-top: 39px; }
.model { display: flex; flex-direction: column; gap: 30px; }
.model__figure { height: 465px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, rgba(255, 255, 255, .03), transparent); transition: border-color .4s, transform .5s var(--ease); }
.model__figure:hover { border-color: #3a3a3a; }
.model__img { width: 438px; max-width: 80%; filter: drop-shadow(0 5px 20.7px rgba(0, 0, 0, .35)); }
.model__head { display: flex; flex-direction: column; gap: 10px; }
.model__name { font: 900 clamp(30px, 2.5vw, 48px)/1.146 var(--font); color: var(--cream); }
.model__text { color: var(--grey-3); }
.specs { display: flex; flex-direction: column; }
.specs__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px; min-height: 43px; border-bottom: 2px solid var(--line); }
.specs__row dt { color: var(--grey-3); flex: none; }
.specs__row dd { color: var(--cream); text-align: right; }
.model__note { font-size: 12px; line-height: 20px; color: var(--grey-3); }
.model__diff { display: flex; flex-direction: column; gap: 5px; }
.model__diff span { color: var(--cream); }
.model__diff p { color: var(--grey-3); }
.model__actions { display: flex; flex-direction: column; gap: 20px; }
.model__row { display: flex; gap: 18px; }
.model__row .btn { flex: 1; }

/* ---------- acessórios (Figma: Frame 155, 1920×713) ---------- */
.acc { background: #fff; padding: 68px var(--gut) 60px; }
.acc__in { max-width: 1624px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.acc__in .shead { max-width: 767px; color: #2A2A2A; }
.acc__in .shead .h2 { color: #2A2A2A; max-width: 12em; }
.acc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; }
.acard { display: flex; flex-direction: column; gap: 20px; transition: transform .5s var(--ease); }
.acard__media { height: 296px; border-radius: 25px; overflow: hidden; background: var(--ink); }
.acard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transition: transform 1.2s var(--ease); }
.acard:hover .acard__media img { transform: scale(1.06); }
.acard__title { font: 500 24px/30px var(--font); color: var(--black); }

/* ---------- dúvidas (Figma: Frame 62, 1920×503, fundo #F4F2EE) ---------- */
.faq { background: var(--cream); padding: 60px var(--gut); }
.faq__in { max-width: 1760px; margin: 0 auto; display: flex; align-items: flex-start; gap: 80px; }
.faq__in .shead { width: 558px; flex: none; }
.faq__in .h2 { max-width: 8.75em; }
.faq__list { flex: 1; }
.faq__item { border-bottom: 2px solid var(--grey); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 20px 0; cursor: pointer; font: 900 24px/36px var(--font); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 45px; height: 36px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 17px; height: 4px; background: var(--red); transform: translate(-50%, -50%); transition: transform .4s var(--ease); border-radius: 1px; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus::before { transform: translate(-50%, -50%) rotate(-45deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(45deg); }
.faq__a { padding: 0 30px 20px 0; color: var(--grey); }
.faq__a p + p { margin-top: 12px; }

/* ---------- engenheiro (Figma: Frame 131, 1920×421) ---------- */
.eng { background: #fff; padding: 60px var(--gut); }
.eng__in { max-width: 1521px; margin: 0 auto; display: flex; justify-content: center; align-items: flex-start; gap: clamp(40px, 11.5vw, 221px); }
.eng__copy { width: 551px; flex: none; padding: 40px 0; }
.eng__copy .shead { gap: 15px; }
.eng__copy .h2 { color: #2A2A2A; max-width: 7.75em; }
.eng__card { width: 749px; min-height: 301px; background: var(--black); color: #fff; border-radius: 19px; padding: 30px; display: flex; align-items: center; gap: 40px; transition: transform .5s var(--ease); }
.eng__photo { width: 241px; height: 241px; flex: none; background: var(--grey-3); overflow: hidden; }
.eng__photo img { width: 100%; height: 100%; object-fit: cover; }
.eng__info { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.eng__name { font: 900 24px/1.2 var(--font); color: #fff; }
.eng__role { font-size: 14px; color: var(--steel); margin-top: -7px; }
.eng__bio { font-size: 14px; line-height: 22px; }

/* ---------- formulário (Figma: Frame 78, 1920×802, fundo #0B0E13) ---------- */
.quote { background: var(--black); color: var(--cream); padding: 60px var(--gut) 154px; }
.quote__in { max-width: 1620px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(40px, 5.2vw, 100px); }
.quote__copy { width: 606px; flex: none; padding: 40px 0; }
.quote__copy .shead { gap: 15px; }
.quote__copy .h2 { max-width: 9.5em; }
.quote__copy .lead { max-width: 551px; }
.quote__card { width: 786px; max-width: 100%; background: #fff; color: var(--ink); border-radius: 15px; padding: 40px; }
.qform__grid { display: grid; grid-template-columns: 289fr 400fr; column-gap: 17px; row-gap: 20px; }
.qform__field { display: flex; flex-direction: column; gap: 9px; }
.qform__field--full { grid-column: 1 / -1; }
.qform__field > span { font: 500 16px/22px var(--font); color: var(--ink); }
.qform input, .qform textarea, .qform select { width: 100%; height: 43px; padding: 10px 16px 10px 20px; background: var(--cream); border: 1px solid var(--grey-3); border-radius: 10px; color: var(--ink); outline: 0; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.qform textarea { height: 116px; resize: vertical; }
.qform input:focus, .qform textarea:focus, .qform select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(212, 6, 19, .12); }
.qform__select { position: relative; display: block; }
.qform__select i { position: absolute; right: 16px; top: 50%; width: 6px; height: 6px; border-right: 1px solid #000; border-bottom: 1px solid #000; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.qform__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.qform__consent { font-size: 13px; line-height: 18px; color: var(--grey); max-width: 420px; }
.qform__consent a { text-decoration: underline; text-underline-offset: 2px; }
.form__msg { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--grey); }
.form__msg.is-error { color: var(--red); }
.qform.is-sending { opacity: .6; pointer-events: none; }
.qform__done { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 0; font-size: 20px; line-height: 1.3; }

/* ---------- rodapé (Figma: Frame 101, 1920×171, fundo #000) ---------- */
.ft { background: #000; color: var(--grey); padding: 60px var(--gut); }
.ft__in { max-width: 1760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 51px; }
.ft__left { display: flex; align-items: center; gap: 20px; }
.ft__logo img { width: 154px; height: auto; }
.ft__social { display: flex; gap: 10px; }
.ft__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--line); color: var(--cream); transition: background .3s, transform .3s var(--ease); }
.ft__social svg { width: 22px; height: 22px; }
.ft__social a:hover { background: var(--red); transform: translateY(-2px); }
.ft__copy { font-size: 14px; line-height: 22px; text-align: right; }
.ft__copy a:hover { color: #fff; }
.ft__sep { opacity: .5; margin: 0 2px; }

/* ---------- páginas internas ---------- */
.pg { padding: calc(var(--hd) + 60px) var(--gut) 80px; min-height: 60vh; }
.pg__in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.pg--404 .pg__in { align-items: flex-start; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 999px; background: #25D366; color: #073b1c; font: 700 14px/1 var(--font); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); }

/* ---------- modal de vídeo ---------- */
.vmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.vmodal__bg { position: absolute; inset: 0; background: rgba(11, 14, 19, .9); backdrop-filter: blur(6px); }
.vmodal__box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); animation: vin .5s var(--ease); }
@keyframes vin { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.vmodal__frame, .vmodal__frame iframe, .vmodal__frame video { width: 100%; height: 100%; border: 0; }
.vmodal__close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.vmodal__close .ico { width: 22px; height: 22px; }
.vmodal__close:hover { background: var(--red); }

/* ---------- movimento: revelação de cada módulo ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js [data-split] .w > span { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1700px) {
  .apps__cards { flex-wrap: wrap; }
}
@media (max-width: 1500px) {
  .hd__brand { gap: 16px; }
  .hd__brand-of { padding: 0 14px; }
  .hd__brand-of img { width: 130px; }
  .nav__link { font-size: 15px; padding: 10px 6px; }
  .tech__media { width: 440px; height: 313px; }
  .tech__play { left: 194px; top: 132px; }
  .faq__in { gap: 50px; }
  .faq__in .shead { width: 420px; }
  .eng__copy { width: 440px; }
  .eng__card { width: auto; flex: 1; }
  .quote__copy { width: 460px; }
  .quote__card { flex: 1; }
}
@media (max-width: 1280px) {
  :root { --hd: 84px; }
  .hd__in { justify-content: space-between; }
  .nav { display: none; }
  .hd__burger { display: grid; }
  .apps__cards { justify-content: center; gap: 0; }
  .boxes { flex-wrap: wrap; gap: 16px; }
  .box, .box:first-child, .box:last-child { width: calc(50% - 8px); border-radius: 10px; margin-left: 0; }
  .models__grid { column-gap: 40px; }
  .acc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eng__in { flex-direction: column; gap: 30px; }
  .eng__copy { width: auto; padding: 0; }
  .eng__card { width: 100%; }
  .quote__in { flex-direction: column; gap: 30px; }
  .quote__copy { width: auto; padding: 0; }
  .quote__card { width: 100%; }
  .quote { padding-bottom: 80px; }
  .faq__in { flex-direction: column; gap: 30px; }
  .faq__in .shead { width: auto; }
}
@media (max-width: 1024px) {
  .app:hover { scale: 1; translate: 0 0; box-shadow: none; }
  .hero { min-height: 0; padding-top: 10px; }
  .hero__in { padding-top: 70px; padding-bottom: 70px; }
  .tech__in { flex-direction: column; }
  .tech__media { width: 100%; max-width: 640px; height: auto; aspect-ratio: 512 / 364; }
  .tech__play { left: 50%; top: 50%; transform: translate(-50%, -50%); }
  a.tech__play:hover { transform: translate(-50%, -50%) scale(1.08); }
  .models__grid { grid-template-columns: minmax(0, 1fr); row-gap: 60px; }
  .model__figure { height: auto; aspect-ratio: 850 / 465; }
  .apps__cards { gap: 16px; }
  .app, .app--featured { width: calc(50% - 8px); height: 380px; box-shadow: none; }
  .app--featured { margin-bottom: 0; }
}
@media (max-width: 700px) {
  :root { --hd: 72px; }
  .hd__in { gap: 12px; }
  .hd__brand { gap: 10px; min-width: 0; }
  .hd__logo img { width: 88px; }
  .hd__brand-of { gap: 3px; padding: 0 0 0 10px; }
  .hd__brand-of small { font-size: 10px; line-height: 12px; }
  .hd__brand-of img { width: 108px; }
  .hd__cta { display: none; }
  .hero__title { font-size: clamp(34px, 10.5vw, 48px); }
  .hero__actions .btn { width: 100%; }
  .app, .app--featured { width: 100%; height: 340px; }
  .box, .box:first-child, .box:last-child { width: 100%; min-height: 0; }
  .feats { grid-template-columns: 1fr; }
  .model__row { flex-direction: column; }
  .model__img { max-width: 70%; }
  .specs__row { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 0; }
  .specs__row dd { text-align: left; }
  .acc__grid { grid-template-columns: 1fr; }
  .acard__media { height: 240px; }
  .faq__item summary { font-size: 20px; line-height: 28px; gap: 12px; }
  .faq__plus { width: 30px; }
  .eng__card { flex-direction: column; align-items: flex-start; padding: 22px; }
  .eng__photo { width: 100%; height: 220px; }
  .quote__card { padding: 24px; }
  .qform__grid { grid-template-columns: 1fr; }
  .qform__foot { flex-direction: column; align-items: stretch; }
  .qform__foot .btn { width: 100%; }
  .ft__in { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ft__copy { text-align: left; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
}
