/* Tipos alojados no próprio site (sem pedidos a terceiros): Outfit para títulos e marca, Mukta para texto. Ver docs/BRAND.md. */
@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-latin-var.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mukta'; src: url('/fonts/mukta-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mukta'; src: url('/fonts/mukta-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mukta'; src: url('/fonts/mukta-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mukta'; src: url('/fonts/mukta-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --navy: #1a3254; --navy-2: #12233d; --teal: #00837d; --teal-2: #006b66; --teal-soft: #e3f3f1;
  --ink: #18212d; --muted: #5b6878; --line: #dde3ea; --bg: #ffffff; --bg-2: #f4f7f9; --warn: #b45309; --ok: #0f7a4d; --err: #b42318;
  --radius: 14px; --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
  --font: 'Mukta', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --lime: #7fbf2a; --sun: #ffc21a; --navy-950: #061224;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--teal-2); }
img, svg { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.015em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .18s cubic-bezier(.22, 1, .36, 1), border-color .18s cubic-bezier(.22, 1, .36, 1), transform .12s cubic-bezier(.22, 1, .36, 1); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* cabeçalho */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand b { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--navy); letter-spacing: -.025em; }
.brand b span { color: var(--teal); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.nav a:hover { color: var(--teal); }
.nav .btn { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 12px; }
  .nav.open { display: flex; }
}

/* hero */
.hero { background: linear-gradient(180deg, #f2f7f8 0%, #fff 100%); padding: 72px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13.5px; padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; position: relative; }
.sheet .badge { position: absolute; top: -12px; right: 18px; background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* secções */
section { padding: 76px 0; }
section.alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g4, .g2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.shadow { box-shadow: var(--shadow); border-color: transparent; }
.step .n { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-2); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* produto e simulador */
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.sim label { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); margin: 14px 0 6px; }
.sim .total { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: baseline; }
.sim .total b { font-size: 34px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
input[type=range] { padding: 0; border: 0; accent-color: var(--teal); }
input[type=checkbox] { width: auto; accent-color: var(--teal); }

/* preços */
.price { display: flex; flex-direction: column; }
.price .amount { font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; margin: 8px 0 4px; }
.price .amount small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price.best { border: 2px solid var(--teal); position: relative; }
.price.best::after { content: 'Mais escolhido'; position: absolute; top: -12px; left: 20px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.price .btn { margin-top: auto; }
.sub { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; margin-top: 28px; }
.sub h3, .sub .amount { color: #fff; }
.sub .ticks li::before { border-color: #7fd6cd; }
@media (max-width: 800px) { .sub { grid-template-columns: 1fr; } }
.soon { opacity: .75; }
.soon .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--warn); background: #fff4e5; padding: 2px 8px; border-radius: 99px; margin-bottom: 8px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
details summary::after { content: '+'; float: right; color: var(--teal); font-weight: 700; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--muted); }

/* rodapé */
footer { background: var(--navy-950); color: #c8d3e0; padding: 44px 0 28px; font-size: 15px; }
footer a { color: #fff; text-decoration: none; }
footer .cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
footer .brand b { color: #fff; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; z-index: 50; display: none; gap: 12px; align-items: center; }
.cookie.show { display: flex; }

/* aplicação */
.app-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px); }
.side { border-right: 1px solid var(--line); padding: 20px 14px; background: var(--bg-2); }
.side a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 500; }
.side a.on { background: #fff; color: var(--teal-2); box-shadow: var(--shadow); }
.side .credits { margin: 16px 6px; padding: 14px; border-radius: 12px; background: var(--navy); color: #fff; }
.side .credits b { font-size: 28px; display: block; }
.main { padding: 28px 32px 60px; max-width: 1040px; }
@media (max-width: 820px) { .app-shell { grid-template-columns: 1fr; } .side { border-right: 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px; } .side .credits { width: 100%; } .main { padding: 20px; } }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--bg-2); color: var(--navy); }
.pill.aguarda_engenheiro { background: #fff4e5; color: var(--warn); }
.pill.em_geracao, .pill.em_revisao { background: var(--teal-soft); color: var(--teal-2); }
.pill.entregue { background: #e7f6ee; color: var(--ok); }
.pill.cancelado { background: #fdecea; color: var(--err); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { font-size: 14.5px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 5px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.notice { padding: 12px 14px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-2); margin: 14px 0; }
.notice.err { background: #fdecea; color: var(--err); }
.notice.warn { background: #fff4e5; color: var(--warn); }
.auth { max-width: 460px; margin: 48px auto; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.tabs button { flex: 1; padding: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); }
.tabs button.on { border-color: var(--teal); color: var(--teal-2); background: var(--teal-soft); }
.legal { max-width: 820px; padding: 48px 20px; margin: 0 auto; }
.legal h1 { font-size: 34px; }
/* quadro de frações e potências */
.qd-wrap { overflow-x: auto; }
.qd { min-width: 760px; }
.qd th { font-size: 13px; white-space: nowrap; }
.qd td { padding: 6px 6px; vertical-align: middle; }
.qd select, .qd input { padding: 6px 8px; font-size: 14.5px; width: auto; max-width: 100%; }
.qd input[data-q="nome"] { width: 150px; }
/* matriz de frações */
.mz { display: flex; flex-direction: column; gap: 14px; }
.mz-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.mz-box { border: 1px solid #dde3ea; border-radius: 12px; padding: 10px 12px; background: #f8fafc; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; }
.mz-box > b { width: 100%; color: var(--navy, #1a3254); }
.mz-box label { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin: 0; }
.mz-box input[type=number] { width: 64px; padding: 5px 6px; }
.mz-box select { width: auto; padding: 5px 6px; }
.mz-col { flex-direction: column; align-items: stretch; }
.mz-grid { display: flex; flex-direction: column; gap: 8px; }
.mz-floor { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: start; border-top: 1px solid #e8edf2; padding-top: 8px; }
.mz-lab { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.mz-lab .btn { padding: 3px 8px; font-size: 12.5px; }
.mz-cells { display: flex; flex-wrap: wrap; gap: 6px; }
.mz-empty { font-size: 13.5px; padding: 6px 0; }
.mz-cell { width: 150px; border: 1px solid #cfd8e2; border-left: 4px solid #2f7dd1; border-radius: 8px; padding: 5px 6px; background: #fff; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mz-cell.mz-C { border-left-color: #d08a00; } .mz-cell.mz-S { border-left-color: #7a3db8; } .mz-cell.mz-G { border-left-color: #6b7785; }
.mz-cell select, .mz-cell input { padding: 2px 4px; font-size: 13px; width: auto; min-width: 0; }
.mz-top, .mz-row { display: flex; gap: 4px; align-items: center; }
.mz-des { flex: 1; font-weight: 600; }
.mz-x { border: 0; background: none; color: #8a94a0; cursor: pointer; padding: 0 2px; }
.mz-u { color: #6b7785; font-size: 12px; }
.mz-two { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
@media (max-width: 800px) { .mz-two { grid-template-columns: 1fr; } .mz-floor { grid-template-columns: 1fr; } }
.mz-qsc { width: 100%; font-size: 13.5px; border-collapse: collapse; }
.mz-qsc th { text-align: left; font-weight: 600; color: #5b6878; font-size: 12.5px; }
.mz-qsc td { padding: 3px 4px; border-top: 1px solid #e8edf2; }
.mz-qsc input[type=number], .mz-qsc input:not([type]) { width: 58px; padding: 3px 5px; }
.mz-qsc td:nth-child(2) input { width: 100%; }
.mz-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 12px; border-radius: 12px; background: #eef6f5; font-size: 14px; }
.mz-tot { width: 100%; font-size: 16px; color: var(--navy, #1a3254); }
.mz-col label { display: flex; justify-content: flex-start; text-align: left; gap: 8px; }
.mz-box input[type=radio], .mz-box input[type=checkbox], .mz-qsc input[type=checkbox] { width: auto; margin: 0; flex: 0 0 auto; }
.mz-cell { width: 168px; }
.mz-cell .mz-area { width: 64px; }
.mz-grp { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
@media (min-width: 900px) { .mz-tools { grid-template-columns: 0.8fr 1.6fr 1.4fr; } }
.mz-grp { width: 100%; }
.mz-box label { white-space: nowrap; }
.mz-key { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #fff7e6; border: 1px solid #f0c36d; }
.mz-key label { font-weight: 600; white-space: normal; }
.mz-key select { font-weight: 600; }
.mz-cell.mz-bte { box-shadow: 0 0 0 2px #c0392b inset; }
.mz-cell.mz-bte::after { content: 'BTE'; align-self: flex-end; font-size: 11px; font-weight: 700; color: #c0392b; }
.mz-btewarn { width: 100%; color: #8a2a1c; font-size: 13.5px; }
.mz-cell { width: 192px; }
.mz-cell select[data-k="p"] { flex: 1; }
.mz-bteval { width: 92px !important; border-color: #c0392b !important; }
.mz-chg { width: 100%; font-size: 14px; padding: 4px 8px; border-radius: 8px; background: #eef6f5; }
.mz-chg.mz-over { background: #fdecea; color: #8a2a1c; font-weight: 600; }

/* progresso do pedido */
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 14px 0 4px; font-size: 14.5px; color: var(--muted, #6b7785); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); color: var(--navy); font-size: 13px; font-weight: 700; }
.steps li.done { color: var(--ok); } .steps li.done span { background: #e7f6ee; color: var(--ok); }
.steps li.now { color: var(--navy); font-weight: 600; } .steps li.now span { background: var(--navy); color: #fff; }

/* filtros das listas e linhas de equipamentos */
.filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.filtros input { max-width: 340px; flex: 1 1 220px; } .filtros select { width: auto; }
.eq-table td { padding: 4px 6px 4px 0; } .eq-table input, .eq-table select { width: 100%; min-width: 0; }
@media (max-width: 640px) { .eq-table, .eq-table tbody, .eq-table tr, .eq-table td { display: block; width: auto !important; } .eq-table tr:first-child { display: none; } .eq-table tr { border-bottom: 1px solid var(--line); padding: 6px 0; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
