/* Zênite Robótica · site institucional
   Cores e fontes do kit oficial: marca-zenite.md e colors-brand.card.html (Drive, 11-Marca-Zenite-Assets).
   Escuro: fundo #0B141A, superfície Graphite 800 #202226, ciano #28B7DE. Claro: Gray 50 #EEF0F2, texto Graphite 800, Cyan 700 #1A8FB0.
   Nada fora do kit: texto pequeno sobre o claro usa Graphite (o Cyan 700 só passa em texto grande, ~3,3:1). */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #0b141a;
  --graphite: #202226;
  --cyan: #28b7de;
  --cyan-dark: #1a8fb0;
  --gray-50: #eef0f2;
  --white: #ffffff;
  --muted: #c9ced4;
  --line: rgba(255, 255, 255, 0.14);
  --line-light: rgba(32, 34, 38, 0.16);
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--white); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Montserrat", "Inter", Arial, sans-serif; font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--bg); padding: 10px 16px; font-weight: 600; z-index: 100; }
.skip:focus { left: 8px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; font: 600 16px/1.2 "Inter", sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--cyan); color: var(--bg); }
.btn-primary:hover { background: #4cc6e8; }
.btn-ghost { border-color: var(--line); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-dark { background: var(--graphite); color: var(--white); }
.btn-dark:hover { background: #33363c; }
.btn-line { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-line:hover { background: var(--graphite); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* cabeçalho */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 20, 26, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--white); }
.nav .btn { min-height: 42px; padding: 8px 18px; font-size: 15px; color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--white); width: 46px; height: 46px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
}

/* seções */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-dark { background: var(--bg); }
.sec-graphite { background: var(--graphite); }
.sec-light { background: var(--gray-50); color: var(--graphite); }
.kicker { font: 600 13px/1.3 "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.sec-light .kicker { color: var(--graphite); }
.sec-light .kicker::before { content: ""; display: inline-block; width: 28px; height: 4px; background: var(--cyan-dark); vertical-align: middle; margin-right: 12px; }
.h2 { font-size: clamp(30px, 4.4vw, 48px); max-width: 18ch; }
.h2.wide { max-width: 26ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 20px; }
.sec-light .lead { color: rgba(32, 34, 38, 0.82); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 96px); background: linear-gradient(135deg, #30343a 0%, #25282d 55%, #1c1e22 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../img/fundo-z.svg") right center / auto 118% no-repeat; opacity: .9; pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); max-width: 17ch; }
.hero .lead { max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 56px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(30px, 4vw, 44px)/1 "Montserrat", sans-serif; color: var(--cyan); }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 22ch; }
.marcas { margin-top: 28px; font-size: 14px; color: var(--muted); }
.marcas b { color: var(--white); font-weight: 600; }

/* problemas (claro) */
.probs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--line-light); background: var(--white); }
.prob { padding: 30px 32px 34px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: background .15s; }
.prob:nth-child(2n) { border-right: 0; }
.prob:nth-last-child(-n+2) { border-bottom: 0; }
.prob:hover { background: var(--gray-50); }
.prob h3 { font-size: 21px; line-height: 1.2; }
.prob p { font-size: 16px; color: rgba(32, 34, 38, 0.82); }
.prob .go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; border-bottom: 3px solid var(--cyan-dark); align-self: flex-start; }
@media (max-width: 760px) { .probs { grid-template-columns: 1fr; } .prob { border-right: 0 !important; border-bottom: 1px solid var(--line-light) !important; } .prob:last-child { border-bottom: 0 !important; } }

/* soluções (lista em linhas) */
.rows { margin-top: 48px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row .n { font: 800 22px/1 "Montserrat", sans-serif; color: var(--cyan); }
.row h3 { font-size: clamp(22px, 2.6vw, 30px); }
.row p { color: var(--muted); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 10px; } }

/* paletizador */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.prod { margin: 0; background: var(--white); border-bottom: 6px solid var(--cyan-dark); display: flex; flex-direction: column; }
.prod img { width: 100%; height: auto; display: block; }
@media (max-width: 560px) { .prods { grid-template-columns: 1fr; } }
.prod img { width: 100%; height: auto; display: block; }
.prod figcaption { background: var(--white); color: rgba(32, 34, 38, 0.75); font-size: 13px; padding: 10px 16px 12px; border-top: 0; }
.ficha { background: var(--graphite); color: var(--white); padding: 8px 28px; }
.ficha dl { margin: 0; }
.ficha .f { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ficha .f:last-child { border-bottom: 0; }
.ficha dt { font: 600 13px/1.4 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); padding-top: 4px; }
.ficha dd { margin: 0; font-size: 17px; }
.ficha dd strong { white-space: nowrap; font: 800 26px/1.1 "Montserrat", sans-serif; }
@media (max-width: 560px) { .ficha { padding: 4px 20px; } .ficha .f { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; } .ficha dt { padding-top: 0; } }
.fonte { margin-top: 14px; font-size: 13px; color: rgba(32, 34, 38, 0.7); }
.ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ul li { padding-left: 26px; position: relative; }
.ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 4px; background: var(--cyan-dark); }

/* paletizador: detalhes */
.h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15; }
.sec-graphite .split .lead { margin-top: 14px; }
.ol { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; gap: 20px; counter-reset: p; }
.ol li { counter-increment: p; position: relative; padding-left: 58px; color: var(--muted); }
.ol li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; background: var(--cyan); color: var(--bg); font: 800 18px/1 "Montserrat", sans-serif; }
.ol b { display: block; color: var(--white); font: 600 18px/1.3 "Inter", sans-serif; margin-bottom: 2px; }
.lims { margin: 40px 0 8px; border-top: 1px solid var(--line-light); }
.lim { display: grid; grid-template-columns: minmax(150px, 260px) 1fr; gap: 28px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.lim strong { font: 800 clamp(28px, 4vw, 40px)/1 "Montserrat", sans-serif; }
.lim p { color: rgba(32, 34, 38, 0.88); max-width: 58ch; }
@media (max-width: 640px) { .lim { grid-template-columns: 1fr; gap: 6px; } }
#limites .lead { max-width: 70ch; }

/* portfólio de serviços */
.svc { margin-top: 44px; border-top: 1px solid var(--line-light); }
.svc-i { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line-light); }
.svc-i .n { font: 800 22px/1 "Montserrat", sans-serif; color: var(--cyan-dark); }
.svc-i h3 { font-size: clamp(21px, 2.6vw, 28px); margin-bottom: 8px; }
.svc-i p { color: rgba(32, 34, 38, 0.88); max-width: 66ch; }
.svc-i a { color: var(--graphite); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 36px 0 0; }
.tags li { border: 1px solid var(--cyan); color: var(--white); padding: 12px 20px; font-weight: 600; }
.tl { margin-top: 40px; border-top: 1px solid var(--line-light); }
.tl-i { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.tl-i b { font: 800 17px/1.3 "Montserrat", sans-serif; padding-right: 8px; }
.tl-i h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.tl-i p { color: rgba(32, 34, 38, 0.88); max-width: 70ch; font-size: 16px; }
.sec-light .lead a { color: var(--graphite); }
@media (max-width: 640px) { .svc-i, .tl-i { grid-template-columns: 1fr; gap: 6px; } }

/* galeria */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.gal figure { margin: 0; background: var(--bg); }
.gal img { width: 100%; aspect-ratio: 800 / 948; object-fit: cover; display: block; }
@media (max-width: 820px) { .gal { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 480px) { .gal { grid-template-columns: 1fr; } }
.gal figcaption { font-size: 14px; color: var(--muted); padding: 10px 14px 12px; }

/* método */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; counter-reset: s; }
.step { padding: 28px 26px 8px 0; border-top: 4px solid var(--cyan); }
.step b { display: block; font: 800 15px/1 "Montserrat", sans-serif; color: var(--cyan); letter-spacing: .12em; margin-bottom: 14px; }
.step h3 { font-size: 20px; line-height: 1.2; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 8px 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* clientes */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 44px 0 0; padding: 0; }
.logos li { list-style: none; background: var(--white); border: 1px solid var(--line-light); height: 104px; display: grid; place-items: center; padding: 14px 18px; }
.logos img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* materiais */
.mats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 48px; }
.mat { border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.mat.main { background: var(--bg); border-color: var(--cyan); }
.mat h3 { font-size: 22px; line-height: 1.2; }
.mat p { color: var(--muted); font-size: 16px; }
.mat .btn { margin-top: auto; align-self: flex-start; }
.mat .tag { font: 600 12px/1 "Inter", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
@media (max-width: 900px) { .mats { grid-template-columns: 1fr; } }

/* fundador */
.fund { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.fund img { width: 100%; height: auto; aspect-ratio: 700 / 1140; object-fit: cover; border-bottom: 6px solid var(--cyan-dark); }
.fund .nome { margin-top: 14px; font: 800 20px/1.2 "Montserrat", sans-serif; }
.fund .cargo { font-size: 14px; color: rgba(32, 34, 38, 0.75); }
.fund p + p { margin-top: 16px; }
.fund .txt { max-width: 66ch; }
.fund .txt p { color: rgba(32, 34, 38, 0.9); }
@media (max-width: 800px) { .fund { grid-template-columns: 1fr; } .fund figure { max-width: 260px; margin: 0; } }

/* contato e formulários */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.cinfo { margin-top: 32px; display: grid; gap: 14px; font-size: 18px; }
.cinfo a { text-decoration: none; border-bottom: 2px solid var(--cyan); width: fit-content; }
.cinfo small { display: block; font-size: 13px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.card { background: var(--white); color: var(--graphite); padding: clamp(24px, 4vw, 40px); }
.card h3 { font-size: 24px; margin-bottom: 6px; }
.card .sub { font-size: 15px; color: rgba(32, 34, 38, 0.8); margin-bottom: 22px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font: 600 14px/1.3 "Inter", sans-serif; margin-bottom: 6px; }
.fld input, .fld select { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px "Inter", sans-serif; color: var(--graphite); background: var(--gray-50); border: 2px solid transparent; border-bottom: 2px solid var(--graphite); border-radius: 0; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--cyan-dark); background: var(--white); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin: 6px 0 20px; }
.chk input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cyan-dark); flex: none; }
.chk a { color: var(--cyan-dark); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin-top: 16px; padding: 14px 16px; font-size: 15px; display: none; }
.msg.ok { display: block; background: #e3f4f9; border-left: 5px solid var(--cyan-dark); }
.msg.err { display: block; background: #fbe9e7; border-left: 5px solid #b3261e; }
.msg a { font-weight: 600; }
.legal { font-size: 13px; color: rgba(32, 34, 38, 0.72); margin-top: 14px; }

/* rodapé e botão flutuante */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; }
.foot a { text-decoration: none; border-bottom: 1px solid var(--line); }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--cyan); color: var(--bg); font: 600 15px/1 "Inter", sans-serif; text-decoration: none; padding: 15px 20px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.wa svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 560px) { .wa span { display: none; } .wa { padding: 16px; } }

/* página de texto (privacidade) */
.doc { max-width: 76ch; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.doc h2 { font-size: 22px; margin: 38px 0 10px; }
.doc p, .doc li { color: rgba(32, 34, 38, 0.92); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc .upd { font-size: 14px; color: rgba(32, 34, 38, 0.7); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Cantos arredondados e efeito 3D (saltando da página): fotos e quadros */
:root { --r: 18px; --pop: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .35), 0 8px 16px rgba(0, 0, 0, .28), 0 22px 40px rgba(0, 0, 0, .22); --pop-claro: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(32, 34, 38, .18), 0 8px 16px rgba(32, 34, 38, .12), 0 20px 36px rgba(32, 34, 38, .12); }
.gal figure, .prod, .ficha, .mat, .card, .logos li, .svc-i, .tl-i, .step, .tags li { border-radius: var(--r); box-shadow: var(--pop); transition: transform .25s ease, box-shadow .25s ease; }
.gal figure, .prod { overflow: hidden; }
.gal figure:hover, .prod:hover, .mat:hover, .logos li:hover { transform: translateY(-6px); }
.logos li, .svc-i, .tl-i, .card { box-shadow: var(--pop-claro); }
.svc-i, .tl-i { background: var(--white); padding: 26px 28px; border-bottom: 0; margin-bottom: 18px; }
.svc, .tl { border-top: 0; }
.step { background: var(--graphite); padding: 26px 24px 22px; border-top: 4px solid var(--cyan); }
.steps { gap: 16px; }
.tags li { background: var(--graphite); border: 0; border-radius: 14px; }
.mat { background: var(--graphite); border: 0; }
.mat.main { background: var(--graphite); }
@media (prefers-reduced-motion: reduce) { .gal figure:hover, .prod:hover, .mat:hover, .logos li:hover { transform: none; } }

/* Calculadora de ROI */
.calc { max-width: 820px; margin: 0 auto; }
.calc .sep { border: 0; border-top: 1px solid rgba(32, 34, 38, .15); margin: 26px 0 18px; }
.resultado { max-width: 820px; margin: 56px auto 0; color: var(--graphite); outline: none; }
.resultado .kicker { color: var(--graphite); }
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 28px 0; }
.res { background: var(--graphite); color: var(--white); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--pop); }
.res small { display: block; font: 600 12px/1.4 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.res strong { font: 800 clamp(22px, 3vw, 30px)/1.15 "Montserrat", sans-serif; }
