/*
 * O site da empresa: a abertura do "Mapa vivo" (petróleo, a rota que se desenha e o piloto que a
 * percorre) e, embaixo, as três portas coloridas, uma por público. Cores, fonte e o nome vêm do
 * DESIGN.md; o canhoto aparece só em detalhe (o cartão do acompanhamento, o picote das portas).
 */

@font-face { font-family: 'Outfit'; font-weight: 400; font-display: swap; src: url('/fontes/outfit-400.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url('/fontes/outfit-600.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-display: swap; src: url('/fontes/outfit-700.woff2') format('woff2'); }

:root {
  --creme: #f3ebd8;
  --floresta: #1f4d3a;
  --petroleo: #145c6b;
  --ambar: #f2a900;
  --campo: #fbf7ee;
  --suave: #517162;
  --borda: #d9cdb4;
  --erro: #b3261e;
  --erro-fundo: #f9e3e0;
  --sai: cubic-bezier(0.16, 1, 0.3, 1);
  --margem: clamp(18px, 5vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--floresta);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

::selection { background: rgba(242, 169, 0, 0.45); color: var(--floresta); }
* { scrollbar-width: thin; scrollbar-color: var(--borda) transparent; }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 6px; }

.pular { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 12px; background: var(--floresta); color: var(--creme); font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Ainda falta o dado: aparece marcado até alguém preencher. */
.preencher { background: var(--erro-fundo); color: var(--erro); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* --- O nome e o piloto --------------------------------------------------------------------------- */

.marca { display: inline-flex; align-items: baseline; font-weight: 700; line-height: 1; white-space: nowrap; color: inherit; text-decoration: none; }
.marca > span { letter-spacing: -0.025em; }
.marca small { font-size: 0.38em; font-weight: 700; letter-spacing: 0; margin-left: 0.11em; }
.marca i { flex: none; width: 0.085em; height: 0.085em; margin-left: 0.015em; border-radius: 50%; background: var(--ambar); }

/* O piloto do ícone: a tinta e o corte vêm de quem o usa (--tinta, --corte). */
.piloto { overflow: visible; }
.ts { stroke: var(--tinta, var(--floresta)); fill: none; }
.tf { fill: var(--tinta, var(--floresta)); }
.cs { stroke: var(--corte, var(--creme)); fill: none; }
.cf { fill: var(--corte, var(--creme)); }
.vz { fill: var(--viseira, var(--ambar)); }

/* O picote: tracejado com um furo de meio círculo em cada ponta. */
.picote { position: relative; height: 18px; }
.picote::before { content: ''; position: absolute; left: 14px; right: 14px; top: 8px; border-top: 2px dashed var(--picote, var(--borda)); }
.picote::after, .picote > i { content: ''; position: absolute; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--furo, var(--creme)); }
.picote::after { right: -9px; }
.picote > i { left: -9px; }

/* --- Botão e barra --------------------------------------------------------------------------- */

.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform 300ms var(--sai), background 200ms; }
.botao::after { content: '→'; transition: transform 300ms var(--sai); }
.botao:hover { transform: translateY(-2px); }
.botao:hover::after { transform: translateX(4px); }
.botao--ambar { background: var(--ambar); color: var(--floresta); }
.botao--ambar:hover { background: #ffbb1f; }
.botao--floresta { background: var(--floresta); color: var(--creme); }
.botao--creme { background: var(--creme); color: var(--floresta); }

.topo { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px var(--margem); }
.topo .marca { font-size: 28px; }
.topo nav { display: flex; gap: 8px; }
.topo nav a { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; background: rgba(243, 235, 216, 0.08); transition: background 200ms; }
.topo nav a:hover { background: rgba(243, 235, 216, 0.18); }
.topo nav a[aria-current='page'] { background: var(--creme); color: var(--petroleo); }
@media (max-width: 620px) { .topo .so-largo { display: none; } .topo nav a { padding: 10px 12px; } }

/* --- Abertura: o mapa vivo --------------------------------------------------------------------- */

.abertura { position: relative; min-height: max(660px, 100svh); background: var(--petroleo); color: var(--creme); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.chamada { position: relative; z-index: 2; align-self: center; max-width: 46%; padding: 0 var(--margem) 64px; }
.chamada h1 { font-size: clamp(44px, 5.6vw, 88px); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; animation: aparece 1000ms var(--sai) both; }
.chamada h1 em { font-style: normal; color: var(--ambar); }
.chamada p { margin-top: 22px; max-width: 38ch; font-size: clamp(17px, 1.4vw, 20px); opacity: 0.85; animation: aparece 1000ms 120ms var(--sai) both; }
.chamada .acoes { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; animation: aparece 1000ms 240ms var(--sai) both; }
.chamada .acoes small { font-size: 14px; opacity: 0.88; }
@keyframes aparece { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* O mapa é uma ilustração de ruas, não o mapa de Corinto. */
.mapa { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 62%; --tinta: var(--creme); --corte: var(--petroleo); }
.mapa svg { width: 100%; height: 100%; }
.mapa::before { content: ''; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 22%; background: linear-gradient(90deg, var(--petroleo), transparent); pointer-events: none; }
.ruas { stroke: rgba(243, 235, 216, 0.12); fill: none; stroke-linecap: round; }
.praca { fill: rgba(243, 235, 216, 0.06); }
.rota-sombra { stroke: rgba(242, 169, 0, 0.18); fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.rota { stroke: var(--ambar); fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.onda { fill: none; stroke: var(--ambar); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: onda 2000ms ease-out infinite; }
@keyframes onda { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }

/* O cartão do acompanhamento: o canhoto da abertura, com a situação trocando no ritmo da rota. */
.acompanha { position: absolute; z-index: 3; right: var(--margem); bottom: 48px; width: 300px; background: var(--creme); color: var(--floresta); border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6); overflow: hidden; animation: aparece 1000ms 600ms var(--sai) both; --furo: var(--petroleo); }
.acompanha__topo { padding: 16px 18px 12px; }
.acompanha__rotulo { font-size: 12.5px; font-weight: 600; color: var(--suave); }
.estado { position: relative; height: 28px; margin-top: 4px; overflow: hidden; }
.estado span { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; opacity: 0; animation: 9s infinite; }
.estado span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ambar); }
.estado span:nth-child(1) { animation-name: estado1; }
.estado span:nth-child(2) { animation-name: estado2; }
.estado span:nth-child(3) { animation-name: estado3; }
.estado span:nth-child(3)::before { background: var(--floresta); }
@keyframes estado1 { 0%, 9% { opacity: 1; transform: none; } 12%, 100% { opacity: 0; transform: translateY(-100%); } }
@keyframes estado2 { 0%, 9% { opacity: 0; transform: translateY(100%); } 12%, 54% { opacity: 1; transform: none; } 57%, 100% { opacity: 0; transform: translateY(-100%); } }
@keyframes estado3 { 0%, 54% { opacity: 0; transform: translateY(100%); } 57%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.acompanha dl { padding: 6px 18px 14px; font-size: 14px; }
.acompanha dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.acompanha dt { color: var(--suave); }
.acompanha dd { font-weight: 600; }
.acompanha small { display: block; padding: 0 18px 14px; font-size: 12px; color: var(--suave); }

@media (max-width: 900px) {
  .abertura { grid-template-rows: auto auto auto; }
  .chamada { max-width: none; padding-bottom: 32px; }
  .mapa { position: relative; width: auto; height: 380px; }
  .mapa::before { display: none; }
  .acompanha { position: relative; right: auto; bottom: auto; margin: -80px var(--margem) 40px auto; }
}

/* --- As três portas ------------------------------------------------------------------------- */

.escolha { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 16px 48px; padding: clamp(72px, 10vw, 120px) var(--margem) clamp(24px, 3vw, 36px); }
.escolha h2, .passo-a-passo h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.escolha p { font-size: 18px; color: var(--suave); max-width: 34ch; }
@media (max-width: 860px) { .escolha { grid-template-columns: 1fr; } }

/* Na tela larga ficam lado a lado: a aberta cresce e as outras viram faixas com o nome em pé. */
.portas { display: flex; gap: 10px; height: clamp(460px, 60vh, 580px); padding: 0 var(--margem); }
.porta { position: relative; flex: 1 1 0; min-width: 0; border-radius: 28px; overflow: hidden; transition: flex-grow 800ms var(--sai); }
.porta[data-aberta] { flex-grow: 3.4; }
.porta--mandar { background: var(--ambar); color: var(--floresta); --tinta: var(--floresta); --corte: var(--ambar); --viseira: var(--creme); --picote: rgba(31, 77, 58, 0.35); }
.porta--loja { background: var(--petroleo); color: var(--creme); --tinta: var(--creme); --corte: var(--petroleo); --picote: rgba(243, 235, 216, 0.35); }
.porta--entregar { background: var(--floresta); color: var(--creme); --tinta: var(--creme); --corte: var(--floresta); --picote: rgba(243, 235, 216, 0.35); }

.porta__abrir { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: center; padding: 86px 0 28px; border: 0; background: none; cursor: pointer; }
.porta[data-aberta] .porta__abrir { pointer-events: none; }
.porta__rotulo { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; transition: opacity 300ms; }
.porta__mais { position: absolute; top: 22px; left: 50%; translate: -50% 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; font-size: 22px; font-weight: 600; line-height: 1; transition: opacity 300ms; }
.porta[data-aberta] .porta__rotulo, .porta[data-aberta] .porta__mais { opacity: 0; }

.porta__conteudo { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; padding: clamp(28px, 3.4vw, 48px); opacity: 0; visibility: hidden; transition: opacity 300ms, visibility 0s 300ms; }
.porta[data-aberta] .porta__conteudo { opacity: 1; visibility: visible; transition: opacity 500ms 280ms, visibility 0s; }
.porta__texto { display: flex; flex-direction: column; min-width: 0; }
.porta__tag { font-size: 15px; font-weight: 600; }
.porta h3 { margin-top: 10px; max-width: 16ch; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.porta ul { margin-top: 20px; display: grid; gap: 8px; }
.porta li { display: flex; gap: 12px; align-items: baseline; }
.porta li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; translate: 0 -2px; }
.porta .picote { margin-top: auto; margin-inline: calc(-1 * clamp(28px, 3.4vw, 48px)); }
.porta .botao { margin-top: 16px; align-self: flex-start; }

.porta__figura { position: relative; align-self: center; }
.porta__figura .piloto { width: 100%; max-width: 360px; margin-inline: auto; }
.porta[data-aberta] .porta__figura { animation: chega 1100ms 200ms var(--sai) both; }
.porta[data-aberta] .piloto { animation: motor 900ms 1300ms ease-in-out infinite alternate; }
.vento { position: absolute; left: -6%; top: 36%; display: grid; gap: 14px; }
.vento i { display: block; height: 5px; border-radius: 5px; background: currentColor; opacity: 0.5; animation: vento 1100ms linear infinite; }
.vento i:nth-child(1) { width: 70px; }
.vento i:nth-child(2) { width: 46px; margin-left: 18px; animation-delay: 300ms; }
.vento i:nth-child(3) { width: 58px; animation-delay: 600ms; }
@keyframes chega { from { transform: translateX(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes motor { to { transform: translateY(-4px) rotate(-0.6deg); } }
@keyframes vento { 0% { transform: translateX(30px); opacity: 0; } 30% { opacity: 0.55; } 100% { transform: translateX(-60px); opacity: 0; } }

@media (max-width: 860px) {
  .portas { flex-direction: column; height: auto; }
  .porta { flex: none; min-height: 76px; transition: none; }
  .porta__abrir { position: relative; inset: auto; height: 76px; align-items: center; justify-content: space-between; padding: 0 22px; text-align: left; }
  .porta[data-aberta] .porta__abrir { display: none; }
  .porta__rotulo { writing-mode: horizontal-tb; transform: none; font-size: 22px; }
  .porta__mais { position: static; translate: none; }
  .porta__conteudo { position: relative; display: none; grid-template-columns: 1fr; padding: 26px 22px; }
  .porta[data-aberta] .porta__conteudo { display: grid; }
  .porta__figura { order: -1; max-width: 220px; }
  .porta .picote { margin-top: 24px; margin-inline: -22px; }
}

/* --- Como funciona: a linha enche conforme a página rola -------------------------------------- */

.passo-a-passo { padding: clamp(88px, 12vw, 150px) var(--margem) clamp(72px, 10vw, 120px); }
.passo-a-passo h2 { max-width: 14ch; }
.passos { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; --progresso: 0; }
.passos::before, .passos::after { content: ''; position: absolute; top: 9px; left: 0; height: 3px; border-radius: 3px; }
.passos::before { right: 0; background: var(--borda); }
.passos::after { width: calc(var(--progresso) * 100%); background: var(--ambar); }
.passos li { position: relative; padding-top: 44px; }
.passos li::before { content: ''; position: absolute; top: 0; left: 0; z-index: 1; width: 21px; height: 21px; border-radius: 50%; background: var(--creme); border: 3px solid var(--borda); transition: background 400ms, border-color 400ms, transform 500ms var(--sai); }
.passos li.aceso::before { background: var(--ambar); border-color: var(--ambar); transform: scale(1.15); }
.passos h3 { font-size: 22px; letter-spacing: -0.02em; }
.passos p { margin-top: 8px; color: var(--suave); font-size: 16px; }
@media (max-width: 760px) {
  .passos { grid-template-columns: 1fr; gap: 34px; }
  .passos::before, .passos::after { top: 0; left: 9px; width: 3px; height: auto; }
  .passos::before { bottom: 0; right: auto; }
  .passos::after { height: calc(var(--progresso) * 100%); }
  .passos li { padding: 0 0 0 48px; }
}

/* --- Suporte e rodapé --------------------------------------------------------------------------- */

.suporte { margin: 0 var(--margem); padding: clamp(40px, 6vw, 80px); border-radius: 32px; background: var(--floresta); color: var(--creme); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; scroll-margin-top: 24px; }
.suporte h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.suporte p { margin-top: 18px; max-width: 40ch; font-size: 18px; opacity: 0.85; }
.suporte .botao { margin-top: 24px; }
.suporte dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(243, 235, 216, 0.2); }
.suporte dt { flex: none; opacity: 0.7; white-space: nowrap; }
.suporte dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.suporte .preencher { background: rgba(243, 235, 216, 0.15); color: var(--creme); }
@media (max-width: 860px) { .suporte { grid-template-columns: 1fr; } }

.rodape { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding: 48px var(--margem); color: var(--suave); font-size: 15px; }
.rodape .marca { font-size: 26px; color: var(--floresta); }
.rodape nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.rodape nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* --- Quem usa: a faixa que corre ------------------------------------------------------------- */

.segmentos { display: flex; overflow: hidden; background: var(--floresta); color: var(--creme); padding-block: 22px; }
.segmentos__lista { display: flex; flex: none; animation: corre 48s linear infinite; }
.segmentos:hover .segmentos__lista { animation-play-state: paused; }
.segmentos li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.segmentos li::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--ambar); }
@keyframes corre { to { transform: translateX(-100%); } }

/* --- Para sua loja: do jeito de sempre e com o Motoca Tec ------------------------------------ */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.lojas { padding: clamp(88px, 12vw, 150px) var(--margem) 0; }
.lojas__topo { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 16px 48px; }
.lojas h2, .telas h2, .perguntas h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.lojas__topo p, .telas__topo p { font-size: 18px; color: var(--suave); max-width: 40ch; }
@media (max-width: 860px) { .lojas__topo { grid-template-columns: 1fr; } }

/* A coluna "com o Motoca Tec" é uma faixa floresta inteira; as linhas se separam pelo tracejado. */
.trocas { width: 100%; margin-top: 48px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.trocas th { padding: 0 28px 16px; text-align: left; font-size: 15px; font-weight: 600; color: var(--suave); }
.trocas th:last-child { padding-top: 24px; background: var(--floresta); color: var(--ambar); border-radius: 24px 24px 0 0; }
.trocas td { position: relative; padding: 22px 28px 22px 64px; vertical-align: top; font-size: 18px; line-height: 1.4; border-top: 2px dashed var(--borda); }
.trocas td:first-child { color: var(--suave); }
.trocas td:last-child { background: var(--floresta); color: var(--creme); font-weight: 600; border-top-color: rgba(243, 235, 216, 0.22); }
.trocas tr:last-child td:last-child { border-radius: 0 0 24px 24px; padding-bottom: 30px; }
.trocas td::before { content: ''; position: absolute; left: 28px; top: 24px; width: 22px; height: 22px; border-radius: 50%; }
.trocas td:first-child::before { border: 2px solid var(--borda); background: linear-gradient(var(--borda), var(--borda)) center / 10px 2px no-repeat; }
.trocas td:last-child::before { background: var(--ambar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231f4d3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 760px) {
  .trocas, .trocas tbody, .trocas tr, .trocas td { display: block; }
  .trocas thead { display: none; }
  .trocas tr { margin-top: 14px; border-radius: 22px; overflow: hidden; border: 1px solid var(--borda); }
  .trocas td { border-top: 0; padding: 18px 20px 18px 56px; font-size: 17px; }
  .trocas td::before { left: 20px; top: 20px; }
  .trocas tr:last-child td:last-child { border-radius: 0; padding-bottom: 18px; }
}

.lojas__acao { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; padding: 26px 28px; border-radius: 24px; background: var(--ambar); }
.lojas__acao p { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; }

/* --- Um app para cada lado: abas com a tela desenhada de cada um ----------------------------- */

.telas { padding: clamp(88px, 12vw, 150px) var(--margem) 0; }
.telas__topo { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 16px 48px; }
@media (max-width: 860px) { .telas__topo { grid-template-columns: 1fr; } }

.telas__abas { display: inline-flex; gap: 4px; margin-top: 40px; padding: 5px; border-radius: 999px; background: var(--campo); border: 1px solid var(--borda); max-width: 100%; overflow-x: auto; }
.telas__abas button { flex: none; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: 15.5px; cursor: pointer; transition: background 300ms var(--sai), color 300ms; }
.telas__abas button:hover { background: rgba(31, 77, 58, 0.07); }
.telas__abas button[aria-selected='true'] { background: var(--floresta); color: var(--creme); }
@media (max-width: 560px) { .telas__abas { display: flex; width: 100%; } .telas__abas button { flex: 1 1 auto; padding: 0 10px; font-size: 14.5px; white-space: nowrap; } }

.telas__palco { margin-top: 20px; border-radius: 32px; background: var(--petroleo); color: var(--creme); overflow: hidden; }
.tela { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px 56px; padding: clamp(32px, 5vw, 64px); }
.js .tela:not([data-aberta]) { display: none; }
.js .tela[data-aberta] .tela__lista, .js .tela[data-aberta] .tela__desenho { animation: aparece 700ms var(--sai) both; }
.js .tela[data-aberta] .tela__desenho { animation-delay: 120ms; }
.tela__lista h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.tela__lista ul { margin-top: 22px; display: grid; gap: 14px; }
.tela__lista li { position: relative; padding-left: 30px; font-size: 17.5px; line-height: 1.45; }
.tela__lista li::before { content: ''; position: absolute; left: 2px; top: 0.4em; width: 14px; height: 14px; border-radius: 50%; background: var(--ambar); }
.tela__desenho { justify-self: center; width: 100%; max-width: 340px; }
.tela__desenho small { display: block; margin-top: 12px; text-align: center; font-size: 13px; opacity: 0.88; }
@media (max-width: 860px) { .tela { grid-template-columns: 1fr; } .tela__desenho { order: -1; } }

/* O celular e a janela do painel, desenhados em código com as peças do app. */
.celular { padding: 10px; border-radius: 38px; background: #0d2b20; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.celular__tela { min-height: 480px; padding: 18px 16px 20px; border-radius: 30px; background: var(--creme); color: var(--floresta); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.m-topo { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--suave); }
.m-titulo { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.m-mapa { height: 120px; border-radius: 16px; background: #dfe9e1; overflow: hidden; }
.m-mapa svg { width: 100%; height: 100%; }
.m-mapa .m-ruas { stroke: #fff; stroke-width: 8; fill: none; stroke-linecap: round; }
.m-mapa .m-rota { stroke: var(--floresta); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: desenha 3.4s var(--sai) infinite; }
@keyframes desenha { 0% { stroke-dashoffset: 300; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 300; } }
.m-cartao { border-radius: 18px; background: var(--campo); border: 1px solid var(--borda); overflow: hidden; --furo: var(--creme); }
.m-cartao dl { padding: 12px 14px; font-size: 13.5px; display: grid; gap: 6px; }
.m-cartao dl > div { display: flex; justify-content: space-between; gap: 10px; }
.m-cartao dt { color: var(--suave); }
.m-cartao dd { font-weight: 600; text-align: right; }
.m-cartao .picote { height: 14px; }
.m-cartao .picote::before { top: 6px; }
.m-cartao .picote::after, .m-cartao .picote > i { width: 14px; height: 14px; }
.m-cartao .picote::after { right: -7px; } .m-cartao .picote > i { left: -7px; }
.m-preco { padding: 8px 14px 14px; font-size: 13px; color: var(--suave); }
.m-botao { margin-top: auto; display: grid; place-items: center; min-height: 48px; border-radius: 12px; background: var(--floresta); color: var(--creme); font-weight: 600; font-size: 15px; }

.m-chamando { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--floresta); }
.m-chamando::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ambar); }
.m-trajeto { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--campo); border: 1px solid var(--borda); font-size: 14px; }
.m-trajeto li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; }
.m-trajeto li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--floresta); translate: 0 1px; }
.m-trajeto li:last-child::before { background: var(--floresta); }
.m-trajeto b { display: block; font-size: 12px; font-weight: 600; color: var(--suave); }
.m-nota { font-size: 13.5px; color: var(--suave); }
.m-deslize { position: relative; container-type: inline-size; margin-top: auto; height: 58px; border-radius: 14px; background: var(--floresta); color: var(--creme); display: grid; place-items: center; font-weight: 600; font-size: 15px; overflow: hidden; }
.m-deslize span { animation: some 2.8s var(--sai) infinite; }
.m-deslize i { position: absolute; left: 4px; top: 4px; width: 50px; height: 50px; border-radius: 11px; background: var(--creme); display: grid; place-items: center; animation: desliza 2.8s var(--sai) infinite; }
.m-deslize i::after { content: '→'; color: var(--floresta); font-style: normal; font-weight: 700; }
@keyframes desliza { 0%, 20% { transform: none; } 60%, 80% { transform: translateX(calc(100cqw - 58px)); } 100% { transform: none; } }
@keyframes some { 0%, 25% { opacity: 1; } 50%, 85% { opacity: 0; } 100% { opacity: 1; } }

.navegador { border-radius: 18px; overflow: hidden; background: #0d2b20; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.tela__desenho--largo { max-width: 460px; }
.navegador__barra { display: flex; gap: 6px; padding: 10px 12px; }
.navegador__barra i { width: 9px; height: 9px; border-radius: 50%; background: rgba(243, 235, 216, 0.25); }
.p-barra { display: flex; align-items: center; gap: 4px; padding: 10px 14px; background: var(--floresta); color: var(--creme); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.p-barra .marca { font-size: 16px; margin-right: 8px; }
.p-barra > span { padding: 4px 8px; border-radius: 7px; }
.p-barra > span.ativo { background: rgba(243, 235, 216, 0.16); }
.p-corpo { padding: 16px; background: var(--creme); color: var(--floresta); min-height: 300px; }
.p-corpo strong { font-size: 18px; letter-spacing: -0.02em; }
.p-linhas { margin-top: 12px; border-radius: 14px; background: var(--campo); border: 1px solid var(--borda); font-size: 12.5px; }
.p-linhas li { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--borda); }
.p-linhas li:first-child { border-top: 0; }
.p-linhas li.acesa { font-weight: 600; }
.p-linhas li.acesa .p-quem::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--ambar); }
.p-selo { justify-self: start; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.p-selo--buscando { background: #f6e7bf; color: #7a5300; }
.p-selo--caminho { background: rgba(31, 77, 58, 0.12); color: var(--floresta); }
.p-selo--entregue { background: #dcefdc; color: #2e6b35; }
.p-quem { color: var(--suave); }
.p-ha { color: var(--suave); font-variant-numeric: tabular-nums; }

/* --- A frase: as palavras acendem com a rolagem ------------------------------------------------- */

.frase { margin: clamp(88px, 12vw, 150px) 0 0; padding: clamp(72px, 10vw, 130px) var(--margem); background: var(--petroleo); color: var(--creme); }
.frase blockquote { margin: 0; }
.frase blockquote p { max-width: 24ch; font-size: clamp(32px, 5vw, 72px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 700; }
.frase blockquote p::before { content: '“'; display: block; height: 0.62em; color: var(--ambar); font-size: 1.6em; line-height: 1; }
.frase blockquote p::after { content: '”'; color: var(--ambar); }
.js .frase .p { color: rgba(243, 235, 216, 0.22); transition: color 300ms; }
.js .frase .p.aceso { color: var(--creme); }
.frase figcaption { margin-top: 28px; max-width: 48ch; font-size: 18px; opacity: 0.85; }

/* --- Perguntas frequentes ----------------------------------------------------------------------- */

.perguntas { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px 64px; align-items: start; padding: clamp(88px, 12vw, 150px) var(--margem) clamp(72px, 10vw, 120px); }
.perguntas h2 { position: sticky; top: 32px; }
.perguntas__lista { border-top: 2px solid var(--floresta); }
.perguntas details { border-bottom: 1px solid var(--borda); }
.perguntas summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--floresta); font-size: 20px; font-weight: 600; transition: transform 400ms var(--sai), background 300ms, color 300ms; }
.perguntas details[open] summary::after { transform: rotate(45deg); background: var(--floresta); color: var(--creme); }
.perguntas details p { padding: 0 48px 22px 0; color: var(--suave); max-width: 62ch; }
.perguntas details[open] p { animation: aparece 500ms var(--sai) both; }
@media (max-width: 860px) { .perguntas { grid-template-columns: 1fr; } .perguntas h2 { position: static; } }

/* --- Chamou, chegou: o fecho, com o piloto atravessando --------------------------------------- */

.chamou { position: relative; margin-top: clamp(72px, 10vw, 120px); padding: clamp(72px, 10vw, 130px) var(--margem) 0; background: var(--ambar); color: var(--floresta); overflow: hidden; text-align: center; --tinta: var(--floresta); --corte: var(--ambar); --viseira: var(--creme); }
.chamou h2 { font-size: clamp(64px, 14vw, 220px); line-height: 0.9; letter-spacing: -0.055em; }
.chamou p { margin: 22px auto 0; max-width: 36ch; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; }
.chamou .botao { margin-top: 28px; }
.chamou__rua { position: relative; height: clamp(120px, 14vw, 170px); margin-top: 48px; margin-inline: calc(-1 * var(--margem)); border-top: 3px dashed rgba(31, 77, 58, 0.35); }
.chamou__rua .piloto { position: absolute; bottom: 14px; left: 50%; width: clamp(110px, 11vw, 150px); translate: -50% 0; }
.js .chamou.visto .chamou__rua .piloto { animation: atravessa 2600ms var(--sai) both; }
.chamou.visto .chamou__rua .piloto use { animation: motor 700ms 2600ms ease-in-out infinite alternate; }
@keyframes atravessa { from { transform: translateX(-70vw); } to { transform: none; } }
.chamou__rua .vento { left: auto; right: calc(50% + clamp(60px, 6vw, 82px)); top: 34%; color: var(--floresta); }

/* --- Aparece ao entrar na tela (só com script; sem ele, tudo já está visível) ------------------- */

.js .surge { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--sai), transform 900ms var(--sai); transition-delay: var(--atraso, 0ms); }
.js .surge.visto { opacity: 1; transform: none; }
.atraso-1 { --atraso: 90ms; }
.atraso-2 { --atraso: 180ms; }
.atraso-3 { --atraso: 270ms; }

/* --- Política de Privacidade --------------------------------------------------------------------- */

.cabeca { background: var(--petroleo); color: var(--creme); }
.cabeca__titulo { padding: clamp(24px, 5vw, 64px) var(--margem) clamp(48px, 7vw, 88px); }
.cabeca h1 { font-size: clamp(40px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; animation: aparece 1000ms var(--sai) both; }
.cabeca .versao { margin-top: 16px; opacity: 0.8; animation: aparece 1000ms 120ms var(--sai) both; }
.cabeca .preencher { background: rgba(243, 235, 216, 0.15); color: var(--creme); }

.documento { width: min(100% - 2 * var(--margem), 800px); margin-inline: auto; padding-block: 0 clamp(64px, 10vw, 104px); }
.resumo { margin-top: calc(-1 * clamp(24px, 4vw, 44px)); position: relative; background: var(--campo); border: 1px solid var(--borda); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px -34px rgba(20, 92, 107, 0.6); }
.resumo .resumo__topo { padding: 28px clamp(22px, 4vw, 40px) 18px; }
.resumo h2 { font-size: 22px; letter-spacing: -0.02em; }
.resumo ul { margin-top: 14px; display: grid; gap: 10px; }
.resumo li { position: relative; padding-left: 22px; }
.resumo li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--ambar); }
.resumo .picote { --furo: var(--creme); }
.resumo dl { padding: 4px clamp(22px, 4vw, 40px) 22px; }
.resumo dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--borda); }
.resumo dl > div:last-child { border-bottom: 0; }
.resumo dt { flex: none; color: var(--suave); font-size: 15px; font-weight: 600; white-space: nowrap; }
.resumo dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.texto { margin-top: 48px; }
.texto h2 { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--borda); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.025em; }
.texto h3 { margin-top: 28px; font-size: 19px; letter-spacing: -0.01em; }
.texto p, .texto ul { margin-top: 12px; max-width: 68ch; }
.texto ul { display: grid; gap: 8px; }
.texto ul li { position: relative; padding-left: 20px; }
.texto ul li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--petroleo); }
.texto strong { font-weight: 600; }

.tabela { margin-top: 16px; overflow-x: auto; }
.tabela table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.tabela th { padding: 0 16px 10px 0; color: var(--suave); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-align: left; border-bottom: 2px solid var(--floresta); }
.tabela td { padding: 12px 16px 12px 0; vertical-align: top; border-bottom: 1px solid var(--borda); }
.tabela td:first-child { min-width: 11rem; font-weight: 600; }
.tabela tr > :last-child { padding-right: 0; }
@media (max-width: 640px) {
  .tabela table, .tabela tbody, .tabela tr, .tabela td { display: block; }
  .tabela thead { display: none; }
  .tabela tr { padding: 12px 0; border-bottom: 1px solid var(--borda); }
  .tabela td { padding: 2px 0; border: 0; }
  .tabela td[data-rotulo]::before { content: attr(data-rotulo); display: block; margin-top: 6px; color: var(--suave); font-size: 13px; font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .surge { opacity: 1; transform: none; }
  /* Sem movimento, o cartão mostra a entrega já entregue, e o mapa (parado pelo script) a rota inteira. */
  .estado span { animation: none !important; }
  .estado span:nth-child(3) { opacity: 1; }
  /* A faixa de quem usa para e quebra em linhas; os desenhos das telas ficam no quadro final. */
  .segmentos { flex-wrap: wrap; justify-content: center; }
  .segmentos__lista { animation-name: none; flex-wrap: wrap; justify-content: center; row-gap: 8px; padding-inline: var(--margem); }
  .segmentos__lista + .segmentos__lista { display: none; }
  .m-mapa .m-rota { animation-name: none; stroke-dashoffset: 0; }
  .m-deslize i, .m-deslize span { animation-name: none; }
}
