/* Família Linu (07/11/2026, segunda versão): o mapa das ilhas. A página é uma carta náutica em pixel art: o mapa na
   abertura, a legenda, as rotas (os pacotes que passam por mais de uma ilha). Letra de pixel nos títulos (Pixelify
   Sans), Nunito no texto, cantos retos, bordas grossas e sombra dura, como as placas do mapa. Três versões
   (DIRETRIZES-UX.md, seção 3): celular até 699 px, tablet de 700 a 1099 px, computador a partir de 1100 px; o mapa
   troca de formato em 800 px e só aparece em 2× ou 3× exatos. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fontes/nunito-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fontes/nunito-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --grafite: #1F2A44;
  --cor: #2563EB;          /* o azul da marca (5,2:1 sobre o branco) */
  --cor-forte: #1D4ED8;
  --cor-clara: #DBEAFE;
  --azul: #1D4ED8;
  --fundo: #EEF4F7;        /* o papel da carta */
  --grade: rgba(37, 99, 235, .07);
  --mar: #DCEAF2;
  --cartao: #FFFDF7;       /* a placa */
  --tinta: #0F172A;
  --tinta-suave: #475569;
  --borda: #1F2A44;
  --sombra: #1F2A44;
  --placa: #FFF6DC;
  --sites: #1D4ED8; --digital: #C2410C; --seguro: #0E7490;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cor: #60A5FA; --cor-forte: #93C5FD; --cor-clara: #172554; --azul: #93C5FD;
    --fundo: #0A1628; --grade: rgba(147, 197, 253, .06); --mar: #0E2440; --cartao: #13233D; --tinta: #E2E8F0;
    --tinta-suave: #A3B1C6; --borda: #7FA3CC; --sombra: #020617; --placa: #1C2F4F;
    --sites: #93C5FD; --digital: #FB923C; --seguro: #22D3EE;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --cor: #60A5FA; --cor-forte: #93C5FD; --cor-clara: #172554; --azul: #93C5FD;
  --fundo: #0A1628; --grade: rgba(147, 197, 253, .06); --mar: #0E2440; --cartao: #13233D; --tinta: #E2E8F0;
  --tinta-suave: #A3B1C6; --borda: #7FA3CC; --sombra: #020617; --placa: #1C2F4F;
  --sites: #93C5FD; --digital: #FB923C; --seguro: #22D3EE;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--tinta); font-family: "Nunito", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  background-color: var(--fundo);
  background-image: linear-gradient(var(--grade) 1px, transparent 1px), linear-gradient(90deg, var(--grade) 1px, transparent 1px);
  background-size: 32px 32px; }
img { display: block; max-width: 100%; height: auto; }
.pixel { image-rendering: pixelated; }
a { color: var(--azul); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.topo :focus-visible, .contato :focus-visible, .rodape :focus-visible { outline-color: #7DD3FC; }
.dentro { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: "Pixelify Sans", "Nunito", system-ui, sans-serif; font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
[hidden] { display: none !important; }

/* Botões: placas quadradas com sombra dura; afundam ao tocar */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 3px solid var(--borda); background: var(--cor); color: #FFFFFF; font: 500 1.05rem "Pixelify Sans", "Nunito", sans-serif; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--sombra); transition: transform .12s ease-out, box-shadow .12s ease-out, background-color .2s ease-out; }
:root[data-theme="dark"] .botao:not(.botao-linha):not(.botao-linha-clara):not(.botao-whatsapp) { color: #0A1628; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .botao:not(.botao-linha):not(.botao-linha-clara):not(.botao-whatsapp) { color: #0A1628; } }
.botao:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--sombra); }
.botao:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sombra); }
.botao-linha { background: var(--cartao); color: var(--tinta); }
.botao-whatsapp { background: #15803D; color: #FFFFFF; }
.botao-linha-clara { background: transparent; color: #FFFFFF; border-color: #FFFFFF; box-shadow: 4px 4px 0 #020617; }

/* Topo: fino, a faixa do título da carta */
.topo { background: var(--grafite); color: #FFFFFF; position: sticky; top: 0; z-index: 20; border-bottom: 3px solid #020617; }
.topo-dentro { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.marca { display: flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; font: 500 1.35rem "Pixelify Sans", sans-serif; white-space: nowrap; min-height: 44px; }
.marca img { image-rendering: pixelated; }
.menu { display: flex; align-items: center; gap: 14px; }
.menu-links { display: none; align-items: center; gap: 22px; }
.menu-links a { color: #E2E8F0; text-decoration: none; font: 500 1rem "Pixelify Sans", sans-serif; white-space: nowrap; }
.menu-links a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.luz { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 2px solid rgba(255, 255, 255, .35); background: transparent; color: #FFFFFF; cursor: pointer; }
.luz:hover { background: rgba(255, 255, 255, .12); }
.luz svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icone-lua { display: none; }
:root[data-theme="dark"] .icone-sol { display: none; }
:root[data-theme="dark"] .icone-lua { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icone-sol { display: none; }
  :root:not([data-theme="light"]) .icone-lua { display: inline; }
}

/* Abertura: o título e o mapa */
.abertura { padding: 36px 0 40px; }
.abertura h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
.destaque { color: var(--cor); }
.abertura-sub { color: var(--tinta-suave); max-width: 64ch; margin: 0 0 24px; }
.mapa { display: flex; justify-content: center; }
.mapa-largo, .mapa-alto { position: relative; border: 3px solid var(--borda); box-shadow: 6px 6px 0 var(--sombra); background: #2A6DB0; }
.mapa-largo { display: none; width: 774px; }   /* 384 × 2 + as bordas */
.mapa-largo img { width: 768px; height: 432px; }
.mapa-alto { width: 358px; }                   /* 176 × 2 + as bordas */
.mapa-alto img { width: 352px; height: 624px; }
.mapa-noite { position: absolute; top: 0; left: 0; display: none; }
/* o Linu que anda no mapa (js/mapa-linu.js): 9 × 12 na grade, na mesma escala do mapa; à noite, mais escuro */
.mapa-largo img.mapa-linu, .mapa-alto img.mapa-linu { position: absolute; top: 0; left: 0; width: 18px; height: 24px; pointer-events: none; }
:root[data-theme="dark"] img.mapa-linu { filter: brightness(.72) saturate(.85); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) img.mapa-linu { filter: brightness(.72) saturate(.85); } }
:root[data-theme="dark"] .mapa-noite { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mapa-noite { display: block; } }
.marcas { position: absolute; inset: 0; }
.marca-ilha { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; padding: 2px 8px; border: 2px solid #1F2A44; background: #FFF6DC; color: #1F2A44; font: 500 .95rem/1.4 "Pixelify Sans", sans-serif; text-decoration: none; box-shadow: 3px 3px 0 #1F2A44; }
a.marca-ilha::after { content: ""; position: absolute; inset: -8px; }   /* área de toque maior que a placa */
a.marca-ilha:hover { background: #FDE68A; transform: translate(-50%, calc(-50% - 2px)); }
.marca-vaga { background: rgba(255, 246, 220, .7); border-style: dashed; color: #475569; box-shadow: none; font-size: .85rem; }
.m-l-familia, .m-a-familia { background: #2563EB; color: #FFFFFF; border-color: #1F2A44; }
@media (max-width: 380px) {
  .marca-ilha { font-size: .85rem; padding: 1px 6px; }
}

/* As ilhas: a legenda do mapa */
.secao { padding: 56px 0; }
.secao-mar { background: var(--mar); border-top: 3px solid var(--borda); border-bottom: 3px solid var(--borda); }
.secao-sub { color: var(--tinta-suave); max-width: 65ch; margin: 0 0 24px; }
.ilhas { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ilha { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 16px; background: var(--cartao); border: 3px solid var(--borda); box-shadow: 6px 6px 0 var(--sombra); }
.ilha-img { width: 132px; height: auto; }
@media (max-width: 520px) { .ilha { grid-template-columns: 1fr; } }
.ilha-texto h3 { font-size: 1.45rem; margin-bottom: .2em; }
.ilha-texto p { margin: 0 0 6px; color: var(--tinta-suave); }
.ilha-texto .ilha-preco { color: var(--tinta); font-weight: 800; }
.ilha .botao { margin-top: 6px; }
.vagas { display: flex; align-items: center; gap: 16px; margin: 28px 0 0; padding: 14px 16px; border: 3px dashed var(--borda); color: var(--tinta-suave); }
.vagas img { width: 143px; flex: none; }   /* o Linu com o álbum em 1× */
.vagas b { color: var(--tinta); font-family: "Pixelify Sans", sans-serif; font-weight: 500; font-size: 1.15rem; }

/* Para onde ir */
.casos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.casos a { display: grid; gap: 4px; min-height: 64px; padding: 14px 18px; background: var(--cartao); border: 3px solid var(--borda); box-shadow: 4px 4px 0 var(--sombra); color: var(--tinta); text-decoration: none; transition: transform .12s ease-out, box-shadow .12s ease-out; }
.casos a:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--sombra); }
.casos a:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sombra); }
.casos b { font: 500 1.15rem "Pixelify Sans", sans-serif; }
.casos span { color: var(--tinta-suave); font-size: .95rem; }
.casos .casos-ir { color: var(--cor); font-weight: 800; }

/* Rotas: as paradas em ilhas, os itens com quem faz, o total */
.rotas { display: grid; gap: 22px; }
.rota { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--cartao); border: 3px solid var(--borda); box-shadow: 6px 6px 0 var(--sombra); }
.rota-destaque { border-color: var(--cor); box-shadow: 6px 6px 0 var(--cor); }
.rota-nome { margin: 0; font-size: 1.5rem; }
.rota > p { margin: 0; color: var(--tinta-suave); }
.rota-paradas { list-style: none; margin: 4px 0; padding: 10px 6px; display: flex; align-items: flex-end; background: var(--mar); border: 2px dashed var(--borda); }
/* as paradas numa linha só, em colunas iguais: a ponte pontilhada vai do centro de uma ao centro da outra, sem nunca
   sobrar solta numa quebra de linha (11/11/2026) */
.rota-paradas li { position: relative; flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 2px; font: 500 .8rem "Pixelify Sans", sans-serif; color: var(--tinta); text-align: center; }
.rota-paradas img { max-width: 100%; height: auto; }
.rota-paradas li + li::before { content: ""; position: absolute; left: calc(-50% + 36px); right: calc(50% + 36px); bottom: 26px; border-top: 3px dotted var(--borda); }
.rota-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.rota-itens li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline; padding-bottom: 8px; border-bottom: 2px dotted rgba(71, 85, 105, .35); }
.rota-itens small { grid-column: 1 / -1; font-weight: 800; font-size: .8rem; }
.rota-itens .valor { font-size: .92rem; color: var(--tinta-suave); white-space: nowrap; }
.de-sites { color: var(--sites); } .de-digital { color: var(--digital); } .de-seguro { color: var(--seguro); }
.rota-detalhe { flex: 1; }
.rota-detalhe > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; margin-bottom: 8px; border: 2px solid var(--borda); background: var(--placa); font: 500 1rem "Pixelify Sans", sans-serif; cursor: pointer; list-style: none; transition: background-color .15s ease-out; }
.rota-detalhe > summary::-webkit-details-marker { display: none; }
.rota-detalhe > summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .2s ease-out; }
.rota-detalhe[open] > summary::after { transform: rotate(45deg); }
.rota-detalhe[open] .rota-itens { animation: abre-rota .2s ease-out; }
@keyframes abre-rota { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 700px) { .rota-detalhe > summary { display: none; } }
@media (prefers-reduced-motion: reduce) { .rota-detalhe[open] .rota-itens { animation: none; } .rota-detalhe > summary::after { transition: none; } }
.rota-total { margin: 4px 0 0; font-size: 1.05rem; }
.rota-total b { white-space: nowrap; }
.rota .botao { align-self: flex-start; }
.rotas-nota { margin: 22px 0 0; max-width: 70ch; color: var(--tinta-suave); font-size: .92rem; }

/* Uma conversa só */
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: passo; }
.passos li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 14px; counter-increment: passo; }
.passos li::before { content: counter(passo); grid-row: 1 / span 2; width: 48px; height: 48px; display: grid; place-items: center; background: var(--cartao); border: 3px solid var(--borda); box-shadow: 3px 3px 0 var(--sombra); font: 500 1.4rem "Pixelify Sans", sans-serif; color: var(--cor); }
.passos b { font: 500 1.2rem "Pixelify Sans", sans-serif; }
.passos span { color: var(--tinta-suave); }

/* A identidade, chamada para a página dela */
.chamada-identidade { display: grid; gap: 18px; align-items: center; }
.chamada-cores { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.chamada-cores li { width: 44px; height: 44px; border: 3px solid var(--borda); }
.c-azul { background: #2563EB; } .c-grafite { background: #1F2A44; } .c-aurora { background: #0F766E; } .c-fogo { background: #EA580C; }
.c-iglu { background: #0E7490; } .c-pergaminho { background: #FBF3E3; } .c-gelo { background: #EFF8FF; }

/* Contato */
.contato { background: var(--grafite); color: #FFFFFF; border-top: 3px solid #020617; }
.contato-dentro { display: grid; gap: 24px; align-items: end; }
.contato p { color: #CBD5E1; max-width: 60ch; }
.contato-canais { font-weight: 700; }
.botoes { display: flex; flex-wrap: wrap; gap: 14px; }
.contato-linu { width: 172px; justify-self: center; }
/* o formulário (11/11/2026): celular, uma coluna; tablet, o texto ao lado do Linu e o formulário embaixo, em duas
   colunas; computador, texto, formulário e Linu lado a lado */
.contato-form { display: grid; gap: 4px 16px; padding: 18px; background: #16203A; border: 3px solid #020617; box-shadow: 6px 6px 0 #020617; }
.contato-form .campo { display: grid; gap: 6px; }
.contato-form .campo:not(:has(.campo-erro))::after { content: ""; min-height: 1.2em; }  /* o mesmo respiro dos campos com aviso */
.contato-form label { font: 500 1rem "Pixelify Sans", "Nunito", sans-serif; color: #FFFFFF; }
.contato-form .opcional { font: 400 .85rem "Nunito", sans-serif; color: #A3B1C6; }
.contato-form input, .contato-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid #7FA3CC; border-radius: 0; background: #0A1628; color: #FFFFFF; font: inherit; transition: border-color .15s ease-out; }
.contato-form textarea { resize: vertical; }
.contato-form input::placeholder, .contato-form textarea::placeholder { color: #8695AD; }
.contato-form input:focus, .contato-form textarea:focus { border-color: #93C5FD; outline: none; box-shadow: 0 0 0 2px #93C5FD; }
.contato-form [aria-invalid="true"] { border-color: #FCA5A5; }
.campo-erro { margin: 0; min-height: 1.2em; color: #FCA5A5; font-size: .9rem; font-weight: 700; }
.contato-form .botoes { margin-top: 6px; }
.contato .formulario-status { margin: 4px 0 0; font-weight: 700; }
.formulario-status:empty { display: none; }
.formulario-status.ok { color: #86EFAC; }
.formulario-status.erro { color: #FCA5A5; }
.contato .formulario-privacidade { margin: 8px 0 0; font-size: .82rem; color: #A3B1C6; }
.contato-form .botao[disabled] { opacity: .7; cursor: progress; }
.pote { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Rodapé */
.rodape { background: #111827; color: #CBD5E1; padding: 28px 0; font-size: .95rem; }
.rodape-dentro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rodape p { margin: 0; }
.rodape a { color: #7DD3FC; }
/* O © e a licença (3/12/2026, regra 15): uma linha inteira embaixo */
.rodape-direitos { flex-basis: 100%; font-size: .85rem; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.rodape-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }

/* Identidade visual (a página /identidade) */
.identidade { background: transparent; }
.pagina-identidade main { min-height: 70vh; }
.identidade h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.identidade h3 { font-size: 1.3rem; }
.botao-pequeno { min-height: 44px; padding: 0 14px; font-size: .95rem; }
.identidade-grade { display: grid; gap: 28px; }
.identidade-grade > * { min-width: 0; }
.identidade h3 { font-size: 1.2rem; }
.identidade-linu { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.identidade-linu img { width: 96px; }
.identidade-linu figcaption b { display: block; font-size: 1.2rem; margin-bottom: 4px; }
.identidade-linu figcaption { color: var(--tinta-suave); }
.identidade-linu figcaption b { color: var(--tinta); }
.identidade-dica { margin: 0 0 10px; color: var(--tinta-suave); font-size: .92rem; }
.cores { list-style: none; margin: 0 -16px; padding: 2px 16px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
.cores li { scroll-snap-align: start; }
.cor { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr; align-content: start; gap: 2px; padding: 10px; border-radius: 12px; border: 2px solid var(--linha); background: var(--cartao); color: var(--tinta); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease-out, transform .15s ease-out; }
.cor:hover { border-color: var(--cor); }
.cor:active { transform: scale(.97); }
.cor-amostra { height: 56px; border-radius: 8px; margin-bottom: 6px; border: 1px solid rgba(15, 23, 42, .12); }
.cor code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; color: var(--tinta-suave); }
.cor small { color: var(--tinta-suave); font-size: .82rem; line-height: 1.4; }
.cor-azul { background: #2563EB; } .cor-grafite { background: #1F2A44; } .cor-fogo { background: #EA580C; } .cor-fogo-escuro { background: #C2410C; }
.cor-papel-vegetal { background: #F3F7FC; } .cor-cianotipo { background: #0C2A5B; } .cor-marca-texto { background: #FDE047; } .cor-pergaminho { background: #FBF3E3; }
.identidade-copiado { margin: 6px 0 0; min-height: 1.4em; font-weight: 800; color: var(--cor); }
.letra-amostra { margin: 0 0 8px; font-size: 2.6rem; font-weight: 900; line-height: 1.1; }
.identidade-bloco p { margin: 0 0 8px; }
.familia, .nunca { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.familia li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--linha); background: var(--cartao); }
.familia span { color: var(--tinta-suave); }
.familia a { justify-self: start; min-height: 32px; display: inline-flex; align-items: center; font-weight: 700; }
.familia-aqui { border-color: var(--cor) !important; }
.familia em { font-style: normal; font-size: .82rem; font-weight: 800; color: var(--cor); margin-left: 6px; }
.nunca li { padding-left: 26px; position: relative; color: var(--tinta-suave); }
.nunca-x { position: absolute; left: 4px; color: #B91C1C; font-weight: 900; }
:root[data-theme="dark"] .nunca-x { color: #FCA5A5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nunca-x { color: #FCA5A5; } }
.cor-iglu { background: #0E7490; }
.cor-farol { background: #C81E1E; }
.letras { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--tinta-suave); }
.letras b { color: var(--tinta); }
.cor, .familia li { border-radius: 0 !important; border: 3px solid var(--borda) !important; box-shadow: 4px 4px 0 var(--sombra); background: var(--cartao) !important; }
.familia-aqui { border-color: var(--cor) !important; box-shadow: 4px 4px 0 var(--cor); }
.cor-amostra { border-radius: 0 !important; }

/* Entradas ao rolar: js/movimento.js e css/movimento.css (o kit do linuarquivos) */

/* ===== Celular (até 699 px) ===== */
/* A placa de baixo (07/11/2026): o menu, com o nome da parte da carta em que a pessoa está, e a conversa, ao alcance do
   polegar. O menu sobe de baixo, como uma placa de legenda. */
.barra { display: none; }
@media (max-width: 699px) {
  body { padding-bottom: 84px; }
  .barra:not([hidden]) { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 19; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 8px; background: var(--grafite); color: #FFFFFF; border: 3px solid #020617; box-shadow: 4px 4px 0 #020617; transition: transform .2s ease-in, opacity .2s ease-in; }
  .barra.escondida { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
  .barra-menu { display: flex; align-items: center; gap: 8px; min-height: 48px; min-width: 0; padding: 0 10px 0 4px; border: 2px solid rgba(255, 255, 255, .35); background: transparent; color: #FFFFFF; font: inherit; text-align: left; cursor: pointer; }
  .barra-menu svg { flex: none; image-rendering: pixelated; shape-rendering: crispEdges; }
  .rosa-n { fill: #FCA5A5; } .rosa-s, .rosa-l { fill: #E2E8F0; }
  .barra-menu[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
  .barra-menu span { display: grid; min-width: 0; line-height: 1.15; }
  .barra-menu b { font: 500 1.05rem "Pixelify Sans", sans-serif; }
  .barra-menu small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #CBD5E1; font-size: .82rem; }
  .barra .botao { flex: none; min-height: 48px; padding: 0 14px; box-shadow: 3px 3px 0 #020617; border-color: #020617; }
  .menu-links.aberto { position: fixed; left: 10px; right: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); display: grid; gap: 0; padding: 8px; background: var(--grafite); border: 3px solid #020617; box-shadow: 4px 4px 0 #020617; }
  .menu-links.aberto a { display: flex; align-items: center; min-height: 52px; padding: 0 12px; font-size: 1.15rem; border-bottom: 2px dotted rgba(226, 232, 240, .25); }
  .menu-links.aberto a:last-child { border-bottom: 0; }

  /* as ilhas e as rotas numa faixa que corre de lado, uma placa por vez, com a próxima aparecendo na beira */
  .ilhas, .rotas { grid-auto-flow: column; grid-auto-columns: 86%; align-items: stretch; margin: 0 -16px; padding: 4px 16px 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: thin; }
  .ilhas > li, .rotas > .rota { scroll-snap-align: start; }
  .rotas { align-items: start; } /* abrir o que entra de uma rota não estica as outras */
  .ilha { grid-template-columns: 1fr; align-content: start; }
  .ilha .botao { justify-self: start; }
  .faixa-dica { margin: -6px 0 14px; color: var(--tinta-suave); font: 500 .9rem "Pixelify Sans", sans-serif; }
}
.faixa-dica { display: none; }
@media (max-width: 699px) { .faixa-dica { display: block; } }

/* ===== Tablet (700 px ou mais) ===== */
@media (min-width: 700px) {
  .dentro { padding: 0 28px; }
  .menu-links { display: flex; }
  .ilhas { grid-template-columns: repeat(2, 1fr); }
  .casos { grid-template-columns: repeat(2, 1fr); }
  .rotas { grid-template-columns: repeat(2, 1fr); }
  /* tablet: a ilha que sobra (a LinuPedia) e a rota que sobra (Tudo junto) deitam na largura toda */
  .ilhas > li:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: auto 1fr; }
  .rotas > .rota:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rotas > .rota:last-child:nth-child(odd) .rota-itens { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .passos { grid-template-columns: repeat(3, 1fr); }
  .passos li { grid-template-columns: 1fr; }
  .passos li::before { grid-row: auto; margin-bottom: 8px; }
  .chamada-identidade { grid-template-columns: 1fr auto; }
  .contato-dentro { grid-template-columns: 1fr auto; }
  .contato-form { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 1fr 1fr; }
  .contato-form .campo-largo { grid-column: 1 / -1; }
  .identidade-grade { grid-template-columns: repeat(2, 1fr); }
  .identidade-linu, .identidade-grade > .identidade-bloco:nth-child(2) { grid-column: 1 / -1; }
  .cores { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
}
/* o mapa largo a partir de 800 px, em 2×; a partir de 1200 px, em 3× */
@media (min-width: 800px) {
  .mapa-largo { display: block; }
  .mapa-alto { display: none; }
}
@media (min-width: 1200px) {
  .mapa-largo { width: 1158px; }
  .mapa-largo img { width: 1152px; height: 648px; }
  .mapa-largo img.mapa-linu { width: 27px; height: 36px; }
  .marca-ilha { font-size: 1.1rem; padding: 3px 10px; }
}
/* ===== Computador (1100 px ou mais) ===== */
@media (min-width: 1100px) {
  .casos { grid-template-columns: repeat(4, 1fr); }
  .rotas { grid-template-columns: repeat(3, 1fr); }
  .rotas > .rota:last-child:nth-child(odd) { grid-column: auto; }
  .rotas > .rota:last-child:nth-child(odd) .rota-itens { grid-template-columns: 1fr; }
  .identidade-grade { grid-template-columns: 300px 1fr 1fr; align-items: start; }
  .identidade-linu { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 100px; grid-template-columns: 1fr; }
  .identidade-linu img { width: 172px; }
  .identidade-grade > .identidade-bloco:nth-child(2) { grid-column: 2 / -1; }
  .identidade-grade > .identidade-bloco:last-child { grid-column: 2 / -1; }
  .nunca { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .cor-amostra { height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}
.erro { min-height: 100vh; display: grid; align-items: center; }
.sobretitulo { margin: 0 0 8px; color: var(--cor); font-weight: 800; }

/* computador: texto, formulário e o Linu lado a lado (11/11/2026) */
@media (min-width: 1100px) {
  .contato-dentro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: start; }
  .contato-form { grid-column: auto; grid-row: auto; }
  .contato-linu { align-self: end; }
}

/* Os links da bio do Instagram (/links, 11/11/2026): uma placa por ilha, com a ilha do mapa à esquerda. No celular e
   no tablet, os links primeiro e o mapa no fim; no computador, o mapa fica parado à esquerda e as placas em duas colunas. */
.links-dentro { padding-top: 24px; padding-bottom: 48px; }
.links-abertura h1 { font: 500 clamp(2rem, 7vw, 2.8rem)/1.05 "Pixelify Sans", sans-serif; margin: 10px 0 8px; }
.links-abertura p { margin: 0 0 16px; color: var(--tinta-suave); max-width: 38rem; }
.links-linu { display: block; width: 86px; height: auto; }
.links-mapa { display: block; width: 100%; max-width: 768px; height: auto; border: 3px solid var(--borda); box-shadow: 6px 6px 0 var(--sombra); }
.links-grupo { margin-top: 32px; }
.links-mapa-lado { display: none; }
.links-mapa-fim { margin-top: 36px; }
.links-grupo h2 { font: 500 1.6rem/1.1 "Pixelify Sans", sans-serif; margin: 0 0 12px; }
.links-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.link-placa { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 10px 14px 10px 10px; background: var(--placa); color: var(--tinta); border: 3px solid var(--borda); box-shadow: 4px 4px 0 var(--sombra); text-decoration: none; transition: transform .15s ease-out, box-shadow .15s ease-out; }
.link-placa:hover, .link-placa:focus-visible { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sombra); }
.link-placa:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sombra); }
.link-ilha { flex: none; display: grid; place-items: center; width: 112px; height: 80px; overflow: hidden; background: #3586C8; border: 2px solid var(--borda); }
.link-ilha img { width: auto; height: auto; max-width: none; image-rendering: pixelated; }
.link-ilha .link-ilha-2x { width: 124px; height: 100px; }
.link-ilha-clara { background: #FEF8EF; }
.link-ilha-clara img { width: 64px; height: auto; image-rendering: auto; }
.link-texto { display: grid; gap: 2px; min-width: 0; }
.link-texto b { font: 500 1.3rem/1.1 "Pixelify Sans", sans-serif; }
.link-texto span { font-size: .95rem; color: var(--tinta-suave); }
.links-nota { margin: 0 0 12px; color: var(--tinta-suave); }
.links-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 760px) {
  .links-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .links-dentro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start; }
  .links-abertura { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 96px; }
  .links-grupo { grid-column: 2; }
  .links-abertura + .links-grupo { margin-top: 0; }
  .links-mapa-lado { display: block; }
  .links-mapa-fim { display: none; }
}
@media (prefers-reduced-motion: reduce) { .link-placa { transition: none; } }

/* Termos de uso e Privacidade (regra 15, 3/12/2026): índice em faixa no celular, etiquetas no tablet e coluna parada no
   computador; as cores vêm do tema do site */
.legal { box-sizing: border-box; max-width: 1080px; margin: 0 auto; padding: 20px 16px 56px; line-height: 1.6; }
.legal * { box-sizing: border-box; }
.legal-voltar { display: inline-block; padding: 12px 0; }
.legal h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); line-height: 1.15; margin: 4px 0 6px; }
.legal-data { font-size: .9rem; margin: 0 0 16px; }
.legal-indice { margin: 0 -16px 8px; padding: 0 16px; overflow-x: auto; scroll-snap-type: x proximity; }
.legal-indice ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0 0 8px; width: max-content; }
.legal-indice li { scroll-snap-align: start; }
.legal-indice a { display: inline-block; padding: 10px 14px; min-height: 44px; border: 1px solid; border-radius: 999px;
  text-decoration: none; white-space: nowrap; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.legal-texto { max-width: 72ch; }
.legal-texto h2 { font-size: 1.2rem; line-height: 1.3; margin: 1.8em 0 .4em; scroll-margin-top: 16px; }
.legal-texto p, .legal-texto li { margin: 0 0 .7em; }
.legal-texto ul { padding-left: 1.2em; margin: 0 0 .7em; }
.legal-texto code { font-size: .9em; overflow-wrap: anywhere; }
.legal-rodape { font-size: .875rem; margin-top: 2.5em; padding-top: .5em; border-top: 1px solid;
  border-color: color-mix(in srgb, currentColor 25%, transparent); }
.legal-rodape a { display: inline-block; padding: 12px 2px; }
@media (min-width: 700px) {
  .legal { padding: 32px 32px 64px; }
  .legal-indice { margin: 0 0 8px; padding: 0; overflow: visible; }
  .legal-indice ol { flex-wrap: wrap; width: auto; }
}
@media (min-width: 1100px) {
  .legal { display: grid; grid-template-columns: 240px minmax(0, 72ch); column-gap: 56px; align-items: start; padding-top: 48px; }
  .legal-cabeca { grid-column: 1 / -1; }
  .legal-indice { position: sticky; top: 24px; }
  .legal-indice ol { flex-direction: column; gap: 2px; }
  .legal-indice a { border: 0; border-radius: 6px; padding: 8px 10px; min-height: 0; white-space: normal; }
  .legal-texto h2:first-child { margin-top: 0; }
  .legal-rodape { grid-column: 2; }
}
@media (prefers-reduced-motion: no-preference) { .legal-indice a { transition: background-color .2s ease-out; } }
.legal-indice a:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.rodape-direitos a { display: inline-block; padding: 10px 0; }
