/* =====================================================================
   VectraFleet — site (prévia do lançamento)
   Identidade: Vectra Navy #0B1F3A, Vector Orange #F26419, Inter.
   Página clara; azul-marinho nas faixas escuras; laranja só para ação.
   ===================================================================== */
:root {
    --papel: #F5F6F8;
    --branco: #FFFFFF;
    --nevoa: #ECEFF4;
    --linha: #DDE2EA;
    --navy: #0B1F3A;
    --navy-2: #12294A;
    --noite: #071427;
    --texto: #3D4F68;
    --texto-2: #66778F;
    --laranja: #F26419;
    --laranja-escuro: #D9530F;
    --laranja-claro: #FFE7DA;
    --verde: #1F9D6B;
    --largura: 1200px;
    --raio: 20px;
    --sombra: 0 1px 2px rgba(11, 31, 58, .06), 0 12px 32px -12px rgba(11, 31, 58, .18);
    --titulo: 'Inter Tight', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--branco); color: var(--texto);
    font: 400 17px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-feature-settings: "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: clip;
}
html { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; border-radius: 8px; }
.largura { width: min(var(--largura), 100% - 48px); margin: 0 auto; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.pular:focus { left: 8px; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--titulo); letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }

/* ---------- botões ---------- */
.botao {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
    background: var(--laranja); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer;
    box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -8px rgba(242, 100, 25, .6);
    transition: background .15s, transform .15s, box-shadow .15s;
}
.botao:hover { background: var(--laranja-escuro); }
.botao:active { transform: translateY(1px); }
.botao.grande { height: 52px; padding: 0 30px; font-size: 16px; }
.botao.claro { background: transparent; color: var(--navy); border-color: rgba(11,31,58,.22); box-shadow: none; }
.botao.claro:hover { background: rgba(11,31,58,.05); border-color: rgba(11,31,58,.4); }
.botao.cheio { width: 100%; }
.botao:disabled { opacity: .6; cursor: wait; }

/* ---------- faixa do topo ---------- */
.faixa { background: var(--laranja); color: var(--navy); font-size: 14px; }
.faixa-in { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 8px 0; }
.faixa p { font-weight: 600; flex: 1; }
.faixa-selo { background: rgba(11, 31, 58, .14); padding: 3px 10px; border-radius: 99px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.faixa-botao { background: var(--navy); color: #fff; padding: 7px 14px; border-radius: 99px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.faixa-botao:hover { background: var(--navy-2); }
.faixa-fechar { background: none; border: 0; color: var(--navy); font-size: 24px; line-height: 1; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; }
.faixa-fechar:hover { background: rgba(11,31,58,.1); }
.faixa.fechada { display: none; }

/* ---------- cabeçalho ---------- */
.topo {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.topo.rolou { border-color: var(--linha); box-shadow: 0 6px 24px -18px rgba(11,31,58,.5); }
.topo-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 19px/1 var(--titulo); letter-spacing: -0.03em; color: var(--navy); }
.logo b { color: var(--laranja); font-weight: 800; }
.menu { display: flex; gap: 4px; margin: 0 auto; }
.menu a { padding: 8px 13px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--texto); }
.menu a:hover { background: var(--nevoa); color: var(--navy); }
.topo-acoes { display: flex; align-items: center; gap: 10px; }
.entrar { position: relative; }
.entrar summary { list-style: none; cursor: pointer; padding: 9px 14px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--navy); }
.entrar summary::-webkit-details-marker { display: none; }
.entrar summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-3px) rotate(45deg); }
.entrar summary:hover, .entrar[open] summary { background: var(--nevoa); }
.entrar-menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 8px;
    background: var(--branco); border: 1px solid var(--linha); border-radius: 16px; box-shadow: var(--sombra);
}
.entrar-menu a, .gaveta-entrar a { display: block; padding: 12px 14px; border-radius: 10px; }
.entrar-menu a:hover, .gaveta-entrar a:hover { background: var(--papel); }
.entrar-menu b, .gaveta-entrar b { display: block; color: var(--navy); font-size: 15px; }
.entrar-menu small, .gaveta-entrar small { color: var(--texto-2); font-size: 13px; }
.abrir-menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linha); background: var(--branco); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.abrir-menu span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.abrir-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.abrir-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.abrir-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.gaveta { border-top: 1px solid var(--linha); background: var(--branco); padding: 12px 24px 24px; max-height: calc(100dvh - 62px); overflow-y: auto; }
.gaveta nav { display: grid; }
.gaveta nav a { padding: 14px 4px; font: 700 22px/1.2 var(--titulo); letter-spacing: -0.02em; color: var(--navy); border-bottom: 1px solid var(--linha); }
.gaveta-entrar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 14px; }
.gaveta-entrar a { background: var(--branco); border: 1px solid var(--linha); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); overflow: hidden; background: linear-gradient(180deg, var(--papel) 0%, var(--branco) 78%); }
.hero::before {
    content: ""; position: absolute; left: 50%; top: 42%; width: min(1100px, 120%); height: 60%; transform: translateX(-50%); z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(242, 100, 25, .18), transparent 72%);
}
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(46px, 7.6vw, 100px); line-height: .98; letter-spacing: -0.05em; margin: 0 auto 26px; max-width: 13ch; }
.hero-sub { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; max-width: 40ch; margin: 0 auto; color: var(--texto); }
.hero-botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 16px; }
.micro { font-size: 14px; color: var(--texto-2); }

.hero-aparelhos { position: relative; text-align: left; width: min(1020px, 100%); aspect-ratio: 100 / 62; margin: clamp(48px, 7vw, 88px) auto 0; }
.hero-aparelhos .notebook { position: absolute; left: 3%; top: 0; width: 80%; }
.celular.hero-cel { position: absolute; right: 2%; bottom: 0; width: 25%; filter: drop-shadow(0 40px 50px rgba(11,31,58,.3)); }

.publico { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; position: relative; z-index: 1; }
.publico li { padding: 10px 22px; border-radius: 99px; background: var(--branco); border: 1px solid var(--linha); color: var(--navy); font-weight: 600; font-size: 15px; }

/* ---------- frase de impacto ---------- */
.frase { padding: clamp(80px, 11vw, 160px) 0; text-align: center; }
.frase p { max-width: 980px; font: 700 clamp(28px, 3.7vw, 48px)/1.16 var(--titulo); letter-spacing: -0.035em; color: var(--navy); }
.frase span { color: #A3AEBE; }

/* ---------- celular (desenhado em CSS, escala com o tamanho) ---------- */
.celular { container-type: inline-size; width: 300px; max-width: 100%; }
.cel-tela {
    position: relative; aspect-ratio: 9 / 18.4; overflow: hidden;
    border: 3.4cqw solid #0A1220; border-radius: 15cqw; background: var(--navy);
    box-shadow: 0 0 0 .6cqw #2A3446, 0 40px 70px -30px rgba(11, 31, 58, .55);
    font-size: 4.7cqw; line-height: 1.35; color: #DCE5F1; display: flex; flex-direction: column;
}
.cel-status { display: flex; align-items: center; justify-content: space-between; padding: 3.6cqw 7cqw 0; font-weight: 600; font-size: .82em; color: #fff; position: relative; height: 9cqw; flex: none; }
.cel-status i { position: absolute; left: 50%; top: 2.6cqw; width: 30cqw; height: 8cqw; margin-left: -15cqw; background: #0A1220; border-radius: 99px; }
.cel-icones { width: 13cqw; height: 3.4cqw; border-radius: 2px; background: linear-gradient(90deg, #fff 0 40%, transparent 40% 48%, #fff 48% 70%, transparent 70% 78%, #fff 78%); opacity: .85; }
.app { flex: 1; padding: 4cqw 5cqw 0; display: flex; flex-direction: column; gap: 2.6cqw; min-height: 0; }
.app-titulo { font: 800 1.55em/1.1 var(--titulo); color: #fff; letter-spacing: -0.03em; margin-top: 2cqw; }
.app-sub { font-size: .78em; font-weight: 600; color: #8DA0BB; margin-top: 1.6cqw; }
.app-abas { display: flex; gap: 1.4cqw; background: rgba(255,255,255,.06); padding: 1.2cqw; border-radius: 3.4cqw; }
.app-abas span { flex: 1; text-align: center; padding: 1.6cqw 0; border-radius: 2.4cqw; font-size: .8em; font-weight: 600; color: #8DA0BB; }
.app-abas .on { background: var(--laranja); color: #fff; }
.carga { background: #10284A; border: 1px solid #1D3A63; border-radius: 4cqw; padding: 3.6cqw; }
.carga.destaque { border-color: var(--laranja); box-shadow: 0 0 0 1px var(--laranja) inset; }
.carga-rota { color: #fff; font-weight: 700; font-size: .98em; }
.carga-rota em { font-style: normal; color: var(--laranja); }
.carga-chips { display: flex; flex-wrap: wrap; gap: 1.4cqw; margin-top: 2cqw; }
.carga-chips span { font-size: .72em; padding: .6cqw 2.2cqw; border-radius: 99px; background: rgba(255,255,255,.08); color: #C5D2E4; }
.carga-acoes { display: flex; gap: 2cqw; margin-top: 3cqw; }
.carga-acoes span { flex: 1; text-align: center; padding: 2.2cqw 0; border-radius: 2.8cqw; font-size: .8em; font-weight: 700; background: rgba(255,255,255,.08); }
.carga-acoes .laranja { background: var(--laranja); color: #fff; }
.app-barra { flex: none; display: flex; justify-content: space-around; padding: 3.6cqw 4cqw 6cqw; border-top: 1px solid #1D3A63; background: #0A1B33; font-size: .72em; color: #6F84A3; font-weight: 600; }
.app-barra .on { color: var(--laranja); }

.notificacao {
    position: absolute; z-index: 3; left: 3.6cqw; right: 3.6cqw; top: 11cqw;
    display: flex; gap: 3cqw; align-items: center; padding: 3.4cqw;
    background: rgba(245, 247, 251, .96); color: var(--navy); border-radius: 5cqw;
    box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
}
.notificacao img { width: 10cqw; height: 10cqw; padding: 1.8cqw; background: var(--navy); border-radius: 2.6cqw; flex: none; }
.notificacao b { display: block; font-size: .86em; }
.notificacao span { display: block; font-size: .74em; color: var(--texto); line-height: 1.3; }

/* filtros */
.filtro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1cqw; background: #10284A; border: 1px solid #1D3A63; border-radius: 3.4cqw; padding: 3.2cqw 3.6cqw; font-size: .86em; }
.filtro span { color: #8DA0BB; }
.filtro b { color: #fff; }
.filtro b.ok { color: #4CC796; }
.filtro.barra i { display: block; position: relative; width: 100%; height: 1.4cqw; margin-top: 2.4cqw; background: #1D3A63; border-radius: 99px; }
.filtro.barra em { position: absolute; top: 0; bottom: 0; background: var(--laranja); border-radius: 99px; }
.estados { display: flex; flex-wrap: wrap; gap: 1.6cqw; }
.estados span { font-size: .8em; font-weight: 600; padding: 1.2cqw 3cqw; border-radius: 99px; background: rgba(242,100,25,.16); color: #FFB48A; }
.estados .mais { background: transparent; border: 1px dashed #36547E; color: #8DA0BB; }

/* calculadora */
.mini-mapa { width: 100%; height: auto; border-radius: 3.4cqw; background: #0E2442; border: 1px solid #1D3A63; }
.mm-estrada { fill: none; stroke: #1F3D66; stroke-width: 2; }
.mm-vazio { fill: none; stroke: #8DA0BB; stroke-width: 2.5; stroke-dasharray: 4 4; }
.mm-rota { fill: none; stroke: var(--laranja); stroke-width: 4; stroke-linecap: round; }
.mm-voce { fill: #8DA0BB; }
.mm-ponto { fill: #0E2442; stroke: #fff; stroke-width: 2.5; }
.mm-ponto.fim { stroke: var(--laranja); }
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.estados.pref span { background: rgba(76,199,150,.14); color: #7FE0B6; }
.numeros div { background: #10284A; border: 1px solid #1D3A63; border-radius: 3cqw; padding: 2.4cqw; }
.numeros small { display: block; font-size: .68em; color: #8DA0BB; }
.numeros b { color: #fff; font-size: .95em; }
.tabela { border: 1px solid #1D3A63; border-radius: 3.4cqw; overflow: hidden; }
.tabela p { display: flex; justify-content: space-between; padding: 2.2cqw 3.6cqw; font-size: .84em; border-top: 1px solid #1D3A63; }
.tabela p:first-child { border-top: 0; }
.tabela b { color: #fff; }
.tabela .on { background: rgba(242,100,25,.18); }
.tabela .on span, .tabela .on b { color: #FFB48A; }
.app-botao { display: block; text-align: center; margin-top: auto; margin-bottom: 7cqw; padding: 3.6cqw 0; border-radius: 3.6cqw; background: var(--laranja); color: #fff; font-weight: 700; font-size: .92em; }

/* chat do Telegram */
.cel-tela.chat { background: #0E1C30; }
.chat-topo { flex: none; display: flex; align-items: center; gap: 3cqw; padding: 3cqw 5cqw 3.4cqw; border-bottom: 1px solid #1D3A63; background: #0B1F3A; }
.chat-topo img { width: 11cqw; height: 11cqw; padding: 2cqw; border-radius: 50%; background: #10284A; border: 1px solid #1D3A63; }
.chat-topo b { display: block; color: #fff; font-size: .92em; }
.chat-topo small { color: #8DA0BB; font-size: .74em; }
.chat-corpo { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.4cqw; padding: 4cqw 4cqw 7cqw;
    background-image: radial-gradient(#16304F 1px, transparent 1px); background-size: 6cqw 6cqw; }
.msg { align-self: flex-start; max-width: 88%; background: #182E4C; color: #E3EBF6; padding: 2.8cqw 3.4cqw; border-radius: 1.4cqw 4cqw 4cqw 4cqw; font-size: .82em; line-height: 1.4; }
.msg b { color: #fff; }
.msg small { color: #9FB2CC; }
.msg.ok { background: #1E4733; }
.msg-botao { display: block; margin-top: 2.4cqw; padding: 2cqw 0; text-align: center; border-radius: 2.4cqw; background: rgba(255,255,255,.08); color: #8EC5FF; font-weight: 600; }
.chat-dia { align-self: center; font-size: .7em; font-weight: 600; color: #8DA0BB; background: rgba(255,255,255,.06); padding: .8cqw 3cqw; border-radius: 99px; }

/* ---------- notebook ---------- */
.notebook { container-type: inline-size; }
.nb-tampa { background: #0A1220; padding: 1.6cqw 1.6cqw 2.2cqw; border-radius: 2.6cqw 2.6cqw .6cqw .6cqw; box-shadow: 0 0 0 .25cqw #2A3446 inset, 0 40px 70px -40px rgba(11,31,58,.6); }
.nb-tela { aspect-ratio: 16 / 10; display: grid; grid-template-columns: 23% 1fr; overflow: hidden; border-radius: .6cqw; background: #0F1624; font-size: 1.5cqw; line-height: 1.35; color: #C7D2E2; }
.nb-base { position: relative; height: 2.4cqw; margin: 0 -6%; background: linear-gradient(#E3E7ED, #A9B1BE); border-radius: 0 0 3cqw 3cqw; box-shadow: 0 24px 30px -18px rgba(11,31,58,.45); }
.nb-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; margin-left: -8%; background: #C3C9D3; border-radius: 0 0 1cqw 1cqw; }
.pn-lado { background: #0B101B; border-right: 1px solid #1F2A3D; padding: 1.6em 1em; display: flex; flex-direction: column; gap: .3em; }
.pn-logo { display: flex; align-items: center; gap: .5em; font: 800 1.05em/1 var(--titulo); color: #fff; margin-bottom: 1em; letter-spacing: -0.02em; }
.pn-logo img { width: 1.5em; }
.pn-logo b { color: var(--laranja); }
.pn-cat { font-size: .7em; font-weight: 700; color: #5F6F87; margin: .9em 0 .2em .6em; }
.pn-item { padding: .55em .7em; border-radius: .5em; font-size: .86em; color: #A8B5C8; }
.pn-item.on { background: linear-gradient(90deg, rgba(242,100,25,.28), rgba(242,100,25,.06)); color: #fff; box-shadow: 2px 0 0 var(--laranja) inset; }
.pn-corpo { padding: 1.6em 1.8em; display: flex; flex-direction: column; gap: .8em; min-width: 0; }
.pn-titulo { font: 800 1.6em/1.1 var(--titulo); color: #fff; letter-spacing: -0.03em; }
.pn-abas { display: flex; gap: .4em; }
.pn-abas span { padding: .4em .9em; border-radius: 99px; font-size: .8em; font-weight: 600; background: #151E2E; color: #8392A8; }
.pn-abas .on { background: rgba(242,100,25,.18); color: #FFB48A; }
.pn-linha { display: flex; align-items: center; gap: 1em; padding: .9em 1em; background: #141C2B; border: 1px solid #1F2A3D; border-radius: .8em; }
.pn-linha div { flex: 1; min-width: 0; }
.pn-linha b { display: block; color: #fff; font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-linha small { color: #7B8AA1; font-size: .78em; }
.pn-valor { font-weight: 800; color: #fff; font-size: 1.05em; }
.pn-tag { font-size: .72em; font-weight: 700; padding: .3em .7em; border-radius: 99px; background: #1F2A3D; color: #A8B5C8; }
.pn-tag.novo { background: rgba(76,199,150,.16); color: #6FD8AC; }
.pn-tag.alerta { background: rgba(242,176,74,.16); color: #F2C46E; }
.pn-rates { display: flex; gap: .5em; margin-top: auto; }
.pn-rates span { flex: 1; text-align: center; padding: .6em 0; border-radius: .6em; background: #151E2E; border: 1px solid #1F2A3D; font-size: .82em; font-weight: 700; color: #A8B5C8; }
.pn-rates .on { background: var(--laranja); border-color: var(--laranja); color: #fff; }
.pn-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.pn-kpis div { background: #141C2B; border: 1px solid #1F2A3D; border-radius: .8em; padding: .9em 1em; box-shadow: 0 -2px 0 var(--laranja) inset; }
.pn-kpis small { display: block; font-size: .74em; color: #7B8AA1; }
.pn-kpis b { font: 800 1.35em/1.2 var(--titulo); color: #fff; letter-spacing: -0.02em; }
.pn-grafico { flex: 1; display: flex; align-items: flex-end; gap: .9em; padding: 1em; background: #141C2B; border: 1px solid #1F2A3D; border-radius: .8em; }
.pn-grafico i { flex: 1; background: #263450; border-radius: .4em .4em .15em .15em; }
.pn-grafico i.on { background: var(--laranja); }

/* ---------- blocos do produto ---------- */
.produto { padding: 0 0 clamp(48px, 6vw, 96px); }
.bloco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; }
.bloco.invertido .bloco-texto { order: 2; }
.rotulo { color: var(--laranja-escuro); font-weight: 600; font-size: 17px; margin-bottom: 12px; letter-spacing: -0.01em; }
.bloco-texto h2 { margin-bottom: 18px; max-width: 14ch; }
.bloco-texto > p { font-size: 19px; line-height: 1.55; max-width: 44ch; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; color: var(--navy); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--laranja-claro); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 5px; height: 9px; border: solid var(--laranja-escuro); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bloco-tela {
    display: flex; justify-content: center; padding: clamp(32px, 5vw, 56px) 24px;
    border-radius: 36px; background-color: var(--papel);
    background-image: radial-gradient(rgba(11,31,58,.09) 1.2px, transparent 1.2px), radial-gradient(circle at 50% 35%, rgba(242,100,25,.13), transparent 62%);
    background-size: 18px 18px, 100% 100%;
}
.bloco-tela .celular { width: min(300px, 78%); }

/* ---------- faixa escura: como funciona ---------- */
.noite { background: var(--navy); color: #B9C6D8; padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.noite::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(242,100,25,.22), transparent 70%); pointer-events: none; }
.noite h2 { color: #fff; max-width: 16ch; margin: 0 auto; text-align: center; }
.noite-sub { font-size: 19px; margin: 18px auto 0; max-width: 48ch; text-align: center; }
.passos { list-style: none; counter-reset: passo; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.passos li { counter-increment: passo; position: relative; padding: 30px 26px 34px; border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--laranja); color: #fff; font: 800 18px/1 var(--titulo); margin-bottom: 22px; }
.passos b { display: block; color: #fff; font: 700 20px/1.2 var(--titulo); letter-spacing: -0.02em; margin-bottom: 8px; }
.passos span { font-size: 15.5px; }

/* ---------- frotas: mosaico ---------- */
.frotas { padding: clamp(80px, 10vw, 140px) 0; background: var(--papel); }
.frotas .cabeca h2 { max-width: 16ch; margin: 0 auto; }
.mosaico { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.peca { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; min-height: 340px; padding: 32px; border-radius: 30px; background: var(--branco); }
.peca.grande { grid-column: span 2; }
.peca.larga { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
.peca.larga .peca-texto { flex: 0 0 30%; }
.peca h3 { font-size: 24px; }
.peca-texto p { margin-top: 6px; font-size: 16px; }
.peca.escura { background: var(--navy); color: #B9C6D8; }
.peca.escura h3 { color: #fff; }
.peca .notebook { width: 92%; margin: auto auto -6% ; }
.vis-bids { margin-top: auto; display: grid; gap: 10px; }
.vis-bids p { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.vis-bids b { color: #fff; font-weight: 600; }
.vis-bids span { color: #fff; font-weight: 800; font-size: 18px; }
.vis-bids .rates, .vis-bids .resp { background: none; border: 0; padding: 0; }
.vis-bids i { flex: 1; text-align: center; font-style: normal; font-weight: 700; padding: 10px 0; border-radius: 99px; background: rgba(255,255,255,.08); color: #C5D2E4; }
.vis-bids .rates .on { background: var(--laranja); color: #fff; }
.vis-bids .resp .ok { background: rgba(76,199,150,.18); color: #7FE0B6; }
.vis-pdf { margin-top: auto; display: flex; justify-content: center; }
.folha { width: 74%; aspect-ratio: 8.5 / 7; background: var(--branco); border: 1px solid var(--linha); border-radius: 12px 12px 0 0; border-bottom: 0; padding: 18px 18px 0; box-shadow: 0 -10px 30px -16px rgba(11,31,58,.3); display: flex; flex-direction: column; gap: 10px; margin-bottom: -32px; }
.folha-topo { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--navy); }
.folha-topo img { width: 20px; }
.folha i { display: block; height: 8px; border-radius: 4px; background: var(--nevoa); }
.folha i.curta { width: 60%; }
.folha-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding: 12px 0 44px; border-top: 2px solid var(--navy); font-size: 13px; }
.folha-total b { font: 700 20px/1 var(--titulo); color: var(--navy); }
.vis-radar { position: relative; margin: auto auto -40px; width: 78%; aspect-ratio: 1; }
.vis-radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242,100,25,.35); }
.vis-radar i:nth-child(2) { inset: 18%; }
.vis-radar i:nth-child(3) { inset: 36%; background: rgba(242,100,25,.1); }
.vis-radar b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--laranja); box-shadow: 0 0 0 6px rgba(242,100,25,.2), 60px -40px 0 -2px var(--navy), -70px 20px 0 -2px var(--navy), 30px 70px 0 -2px var(--navy), -40px -80px 0 -2px #A3AEBE, 90px 40px 0 -2px #A3AEBE; }
.vis-calc { margin-top: auto; display: grid; gap: 8px; }
.vis-calc p { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: var(--papel); font-size: 15px; }
.vis-calc b { color: var(--navy); }
.vis-calc .on { background: var(--laranja-claro); }
.vis-calc .on b { color: var(--laranja-escuro); font-size: 18px; }
.vis-mapa { flex: 1; height: 200px; border-radius: 20px; background: var(--papel); }
.vm-rota { fill: none; stroke: var(--laranja); stroke-width: 4; stroke-linecap: round; }
.vm-rota.velha { stroke: #B7C1CF; stroke-width: 3; stroke-dasharray: 2 8; }
.vm-ponto { fill: var(--branco); stroke: var(--navy); stroke-width: 3; }
.vm-ponto.fim { stroke: var(--laranja); }
.vm-van { fill: var(--laranja); stroke: var(--branco); stroke-width: 4; }

/* ---------- história ---------- */
.historia { padding: clamp(80px, 10vw, 140px) 0; }
.historia-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.historia-cartao { background: var(--navy); border-radius: 32px; padding: clamp(28px, 4vw, 48px); color: #B9C6D8; position: relative; overflow: hidden; }
.historia-cartao::after { content: ""; position: absolute; right: -30%; top: -30%; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(242,100,25,.25), transparent 70%); }
.tempo { list-style: none; padding: 0; margin: 32px 0 0; position: relative; z-index: 1; }
.tempo li { position: relative; padding: 0 0 26px 34px; }
.tempo li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #4A6488; background: var(--navy); }
.tempo li::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 2px; width: 2px; background: #22385A; }
.tempo li:last-child { padding-bottom: 0; }
.tempo li:last-child::after { display: none; }
.tempo li:last-child::before { border-color: var(--laranja); background: var(--laranja); }
.tempo b { display: block; color: #fff; font: 700 22px/1.2 var(--titulo); letter-spacing: -0.02em; }
.tempo span { font-size: 15.5px; }
.historia-texto h2 { margin-bottom: 20px; }
.historia-texto > p { font-size: 18px; max-width: 50ch; margin-bottom: 14px; }
.assinatura { margin-top: 28px !important; padding-top: 20px; border-top: 1px solid var(--linha); font-size: 15px !important; color: var(--texto-2); }
.assinatura b { display: block; color: var(--navy); font-size: 17px; }

/* ---------- planos ---------- */
.planos-secao { padding: clamp(80px, 10vw, 140px) 0; background: var(--papel); }
.cabeca { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.cabeca p { margin-top: 14px; font-size: 18px; }
.planos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plano { display: flex; flex-direction: column; padding: 36px 30px; border-radius: 30px; background: var(--branco); border: 1px solid transparent; }
.plano-desc { margin: 8px 0 20px; font-size: 15.5px; min-height: 3.2em; }
.plano-preco { font: 700 22px/1.2 var(--titulo); color: var(--navy); letter-spacing: -0.02em; padding-bottom: 22px; border-bottom: 1px solid var(--linha); }
.plano .checks { margin: 22px 0 28px; flex: 1; align-content: start; }
.plano.principal { background: var(--navy); border-color: var(--navy); color: #B9C6D8; box-shadow: 0 30px 60px -30px rgba(11,31,58,.6); position: relative; }
.plano.principal h3, .plano.principal .plano-preco { color: #fff; }
.plano.principal .plano-preco { border-color: rgba(255,255,255,.12); }
.plano.principal .checks li { color: #fff; }
.plano.principal .checks li::before { background: rgba(242,100,25,.2); }
.plano.principal .checks li::after { border-color: #FF9A5E; }
.plano-selo { position: absolute; top: -13px; left: 28px; background: var(--laranja); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }

/* ---------- empresas ---------- */
.empresas { padding: clamp(80px, 10vw, 140px) 0; }
.empresas-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.empresas-texto h2 { margin-bottom: 18px; max-width: 13ch; }
.empresas-texto > p { font-size: 18px; max-width: 44ch; }
.empresas-texto .pt { margin-top: 28px; font-size: 15px; color: var(--texto-2); }

/* ---------- formulários ---------- */
.formulario { display: grid; gap: 16px; padding: clamp(22px, 3vw, 40px); border-radius: 30px; background: var(--papel); border: 1px solid transparent; }
.form-titulo { font: 700 22px/1.2 var(--titulo); color: var(--navy); letter-spacing: -0.02em; }
.duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formulario label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--navy); }
.formulario input, .formulario select, .formulario textarea {
    width: 100%; font: 400 16px/1.4 'Inter', system-ui, sans-serif; color: var(--navy);
    padding: 12px 16px; min-height: 50px; border-radius: 14px; border: 1px solid #D3D9E2; background-color: var(--branco);
    transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.formulario select { background-image: linear-gradient(45deg, transparent 50%, var(--texto) 50%), linear-gradient(-45deg, transparent 50%, var(--texto) 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.formulario textarea { resize: vertical; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: none; border-color: var(--laranja); box-shadow: 0 0 0 4px rgba(242,100,25,.18); }
.formulario .botao { margin-top: 4px; }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.retorno { font-size: 15px; font-weight: 600; min-height: 1.2em; }
.retorno.ok { color: var(--verde); }
.retorno.erro { color: #C43D2B; }

/* ---------- perguntas ---------- */
.perguntas { padding: 0 0 clamp(80px, 10vw, 140px); }
.perguntas-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); }
.sanfona { border-top: 1px solid var(--linha); }
.sanfona details { border-bottom: 1px solid var(--linha); }
.sanfona summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 19px/1.35 var(--titulo); color: var(--navy); letter-spacing: -0.01em; }
.sanfona summary::-webkit-details-marker { display: none; }
.sanfona summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--papel); border: 1px solid var(--linha); font: 400 20px/1 'Inter', sans-serif; color: var(--navy); transition: transform .2s; }
.sanfona details[open] summary::after { transform: rotate(45deg); background: var(--laranja); border-color: var(--laranja); color: #fff; }
.sanfona details p { padding: 0 48px 24px 0; font-size: 17px; }

/* ---------- final ---------- */
.final { background: var(--navy); padding: clamp(88px, 11vw, 160px) 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: -20%; top: -40%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(242,100,25,.25), transparent 70%); pointer-events: none; }
.final-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.final h2 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); max-width: 13ch; }
.final-texto p { color: #B9C6D8; font-size: 18px; margin-top: 18px; max-width: 40ch; }
.formulario.escuro { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.formulario.escuro label { color: #DCE5F1; }
.formulario.escuro input, .formulario.escuro select { background-color: #0F2848; border-color: #2A4670; color: #fff; }
.formulario.escuro select { background-image: linear-gradient(45deg, transparent 50%, #B9C6D8 50%), linear-gradient(-45deg, transparent 50%, #B9C6D8 50%); }
.formulario.escuro input::placeholder { color: #6F84A3; }
.formulario.escuro .retorno.ok { color: #6FD8AC; }
.formulario.escuro .retorno.erro { color: #FF9A8C; }

/* ---------- rodapé ---------- */
.rodape { background: var(--noite); color: #8DA0BB; padding: 64px 0 28px; font-size: 15px; }
.rodape-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.rodape .logo { color: #fff; margin-bottom: 14px; }
.rodape-marca p { max-width: 34ch; }
.rodape nav { display: grid; gap: 10px; align-content: start; }
.rodape nav p { color: #fff; font-weight: 700; margin-bottom: 4px; }
.rodape nav a:hover { color: #fff; }
.rodape-fim { margin-top: 48px; padding-top: 22px; border-top: 1px solid #1A2B45; font-size: 14px; }

/* ---------- movimento: um aviso chegando e as telas aparecendo ---------- */
.hero-cel .notificacao { animation: chegar .7s cubic-bezier(.2, .9, .3, 1.2) .9s both; }
@keyframes chegar { from { transform: translateY(-160%); opacity: 0; } }
.js .revelar { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-cel .notificacao { animation: none; }
    .js .revelar { opacity: 1; transform: none; transition: none; }
}

/* ===================== telas menores ===================== */
@media (max-width: 1080px) {
    .menu { display: none; }
    .topo-in { justify-content: space-between; }
}
@media (max-width: 960px) {
    .topo-acoes .entrar, .topo-acoes > .botao { display: none; }
    .abrir-menu { display: inline-flex; }
    .bloco, .historia-in, .empresas-in, .final-in, .perguntas-in { grid-template-columns: minmax(0, 1fr); }
    .mosaico { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .peca.grande { grid-column: 1 / -1; }
    .bloco { padding: 36px 0; gap: 32px; }
    .bloco.invertido .bloco-texto { order: 0; }
    .bloco-texto h2, .empresas-texto h2, .final h2 { max-width: 18ch; }
    .passos { grid-template-columns: 1fr 1fr; }
    .historia-cartao { order: 2; }
    .planos { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; gap: 28px; }
    .plano-desc { min-height: 0; }
    .rodape-in { grid-template-columns: 1fr 1fr 1fr; }
    .rodape-marca { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .largura { width: min(var(--largura), 100% - 40px); }
    .faixa p { display: none; }
    .faixa-in { justify-content: space-between; }
    .gaveta { max-height: calc(100dvh - 62px); }
    html { scroll-padding-top: 76px; }
    .hero { padding: 48px 0 56px; }
    .hero h1 { font-size: clamp(42px, 12vw, 56px); margin-bottom: 20px; }
    .hero-sub { font-size: 18px; }
    .hero-botoes { flex-direction: column; }
    .hero-botoes .botao { width: 100%; }
    .hero-aparelhos { aspect-ratio: 100 / 70; margin-top: 44px; }
    .hero-aparelhos .notebook { left: 0; width: 86%; }
    .celular.hero-cel { width: 33%; right: 0; }
    .publico li { font-size: 14px; padding: 8px 16px; }
    .frase { text-align: left; }
    .frase p { font-size: 27px; }
    .produto { padding-top: 24px; }
    .bloco-tela { border-radius: 24px; margin: 0 -8px; }
    .bloco-tela .celular { width: min(280px, 82%); }
    .bloco-texto > p, .historia-texto > p, .empresas-texto > p, .noite-sub, .cabeca p, .final-texto p { font-size: 17px; }
    .noite h2, .noite-sub { text-align: left; margin-left: 0; }
    .passos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 40px -20px 0; padding: 0 20px 8px; scrollbar-width: none; }
    .passos::-webkit-scrollbar { display: none; }
    .passos li { flex: 0 0 80%; scroll-snap-align: start; scroll-margin-left: 20px; }
    .mosaico { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .peca { padding: 26px; border-radius: 26px; min-height: 300px; }
    .peca.larga { flex-direction: column; align-items: stretch; }
    .vis-mapa { flex: none; height: 160px; }
    .frotas .cabeca, .cabeca { text-align: left; }
    .frotas .cabeca h2 { margin: 0; }
    .duplo { grid-template-columns: minmax(0, 1fr); }
    .sanfona summary { font-size: 17px; padding: 18px 0; }
    .sanfona details p { padding-right: 0; font-size: 16px; }
    .rodape-in { grid-template-columns: 1fr 1fr; }
    .gaveta-entrar { grid-template-columns: minmax(0, 1fr); }
}
