/* Fibra Goiânia — folha de estilo do site
   Direção: "relatório impresso". Papel branco, tinta quase preta, dois cinzas e verde-menta em blocos.
   Uma fonte (Bricolage Grotesque), cantos retos, sem linhas finas, sem sombras em repouso, sem degradês. */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --surface-2: #e8e8e8;
  --ink: #232323;
  --ink-2: #2e2e2e;
  --muted: #5f5f5f;
  --accent: #a1ffcb;
  --accent-ink: #232323;
  --accent-forte: #00b25d;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1rem + 5.6vw, 6.5rem);

  --m: clamp(16px, 3vw, 40px);
  --gap: 8px;
  --eixo: 42%;
  --secao: clamp(88px, 10vw, 180px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 50; }
.pular:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 0; cursor: pointer;
  font-weight: 600; font-size: var(--step-body); line-height: 1.1; text-decoration: none;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.botao:hover { background: #000; text-decoration: none; }
.botao:active { transform: translateY(1px) scale(.98); }
.link { background: none; border: 0; padding: 8px 0; text-decoration: underline; cursor: pointer; }

/* ---------------------------------------------------------------- topo: uma fileira de blocos */
.topo {
  display: grid; grid-template-columns: 60px 1fr auto; gap: var(--gap);
  padding: var(--gap) var(--gap) 0; height: calc(60px + var(--gap));
  position: relative; z-index: 20;
}
.topo-marca { background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.topo-nav { background: var(--surface); display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 20px; }
.topo-nome { font-weight: 650; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; }
.topo-nav ul { list-style: none; display: flex; gap: 26px; }
.topo-nav ul a { text-decoration: none; font-size: 1rem; padding: 6px 0; }
.topo-nav ul a:hover, .topo-nav ul a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; }
.topo-acao { background: var(--ink); color: #fff; display: flex; align-items: center; gap: 10px; padding: 0 20px; text-decoration: none; font-weight: 600; transition: background-color .18s; }
.topo-acao span { font-weight: 400; color: var(--accent); }
.topo-acao:hover { background: #000; }
.topo-menu { display: none; }
.menu-celular { background: var(--ink); color: #fff; margin: var(--gap) var(--gap) 0; padding: 12px 20px; }
.menu-celular ul { list-style: none; }
.menu-celular a { display: block; padding: 14px 0; font-size: 1.25rem; text-decoration: none; }

/* trilha (breadcrumbs) */
.trilha { padding: 20px var(--m) 0; font-size: var(--step-small); color: var(--muted); }
.trilha ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.trilha li + li::before { content: "/"; margin-right: 6px; }
.trilha a { color: var(--muted); }
.trilha [aria-current] { color: var(--ink); }

/* ---------------------------------------------------------------- QUADRO (primeira tela da home) */
.quadro {
  display: grid; gap: var(--gap); padding: var(--gap);
  grid-template-columns: 1.15fr 0.85fr 1.05fr;
  grid-template-rows: 1.1fr auto 0.9fr;
  grid-template-areas:
    "titulo titulo mapa"
    "cep    cep    mapa"
    "foto   frase  mapa";
  min-height: calc(100svh - 68px);
}
.quadro > * { min-width: 0; }
.q-titulo { grid-area: titulo; background: var(--surface); padding: clamp(20px, 2.4vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.q-titulo h1 { font-size: var(--step-display); letter-spacing: -0.045em; line-height: .92; max-width: 11ch; }
.q-titulo p { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.q-foto { grid-area: foto; overflow: hidden; background: var(--surface-2); min-height: 220px; }
.q-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.q-cep { grid-area: cep; background: var(--accent); color: var(--accent-ink); padding: clamp(20px, 2.2vw, 32px); }
.q-mapa { grid-area: mapa; background: var(--ink); color: #fff; padding: 16px; display: grid; place-items: center; overflow: hidden; min-height: 420px; }
.q-frase { grid-area: frase; background: var(--ink); color: #fff; padding: clamp(20px, 2vw, 28px); }
.q-frase p { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }

/* formulário do CEP */
.cep-form label { display: block; font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 12px; }
.cep-linha { display: flex; gap: var(--gap); }
.cep-linha input {
  flex: 1; min-width: 0; height: 64px; padding: 0 18px;
  background: #fff; border: 0; border-radius: 0;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 600; letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
}
.cep-linha input::placeholder { color: #9a9a9a; }
.cep-linha .botao { height: 64px; padding: 0 26px; }
.cep-ajuda { margin-top: 10px; font-size: var(--step-small); }
.cep-ajuda.erro { font-weight: 600; }

/* rede (mapa esquemático) */
.rede { width: 100%; height: 100%; max-height: calc(100svh - 110px); }
.rede-linhas path { stroke: #4a4a4a; stroke-width: 1.4; fill: none; transition: stroke .3s; }
.rede-linhas path.aceso { stroke: var(--accent); stroke-width: 3.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: acender 1.1s var(--ease) forwards; }
.rede-linhas path.cidade { stroke: #7d7d7d; }
@keyframes acender { to { stroke-dashoffset: 0; } }
.rede-pontos circle { fill: #9a9a9a; transition: fill .3s, r .3s; }
.rede-pontos text { fill: #d9d9d9; font-size: 14px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.rede-pontos text.fixo { opacity: .85; }
.rede-pontos g:hover text { opacity: 1; }
.rede-pontos g.aceso circle { fill: var(--accent); r: 9; }
.rede-pontos g.aceso text { opacity: 1; fill: var(--accent); font-size: 18px; font-weight: 600; }
.rede-centro circle { fill: var(--accent); }
.rede-centro text { fill: #fff; font-size: 15px; font-weight: 600; }
.rede-cidade { fill: #fff; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- resultado da consulta */
.resultado { margin: var(--gap); background: var(--surface); padding: clamp(24px, 3vw, 48px); scroll-margin-top: 16px; }
.resultado-cabeca { display: grid; grid-template-columns: var(--eixo) 1fr; gap: 24px; margin-bottom: 32px; }
.resultado-cabeca h2 { font-size: var(--step-head); }
.resultado-cabeca p { font-size: var(--step-body); max-width: 60ch; align-self: end; }
.res-op { display: grid; grid-template-columns: var(--eixo) 1fr; gap: 24px; padding: 24px 0; }
.res-op + .res-op { margin-top: 4px; }
.res-op h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.res-op h3 small { display: block; font-size: var(--step-small); font-weight: 400; letter-spacing: 0; margin-top: 8px; }
.res-planos { list-style: none; display: grid; gap: 4px; }
.res-planos li { display: grid; grid-template-columns: 9rem 9rem 1fr auto; gap: 16px; align-items: center; background: var(--bg); padding: 12px 12px 12px 20px; }
.res-planos li.destaque { background: var(--accent); }
.res-vel { font-size: 1.375rem; letter-spacing: -0.02em; }
.res-preco { font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.res-preco small, .res-nome { font-size: var(--step-small); font-weight: 400; }
.res-nome { color: var(--muted); }
.res-carregando { font-size: var(--step-lead); }
.res-vazio { display: grid; gap: 16px; justify-items: start; max-width: 60ch; }

/* ---------------------------------------------------------------- tabela grande */
.tabela-sec { padding: var(--secao) var(--m) 0; }
.tabela-rolar { overflow-x: auto; }
.tabela-grande { width: 100%; border-collapse: collapse; min-width: 980px; font-size: 1.25rem; }
.tabela-grande th, .tabela-grande td { text-align: left; vertical-align: top; padding: 20px 18px; font-weight: 400; }
.tabela-grande thead th { padding-bottom: 28px; vertical-align: bottom; }
.tabela-grande thead th:first-child { width: 30%; }
.tabela-grande thead h2 { font-size: var(--step-head); max-width: 9ch; }
.tabela-grande thead a { display: block; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.75rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1; text-decoration: none; }
.tabela-grande thead a:hover { text-decoration: underline; }
.tg-preco { display: block; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.25rem); letter-spacing: -0.03em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.tg-mes { display: block; font-size: var(--step-small); color: var(--muted); margin-top: 4px; }
.tabela-grande tbody tr:nth-child(odd) { background: var(--surface); }
.tabela-grande tbody th { font-size: 1.25rem; }
.tabela-grande td { font-variant-numeric: tabular-nums; }
.tabela-grande .col-destaque { background: var(--accent); }
.tabela-grande tbody tr:nth-child(odd) .col-destaque { background: #8ff2bb; }
.tg-acoes td, .tg-acoes th { padding-top: 24px; padding-bottom: 24px; }
.tg-acoes .botao { width: 100%; font-size: 1rem; padding: 12px 10px; }
.nota-precos { margin: 20px 0 0; max-width: 72ch; font-size: var(--step-small); color: var(--muted); }

/* ---------------------------------------------------------------- escada (como funciona) */
.escada { padding: var(--secao) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); row-gap: 56px; }
.degrau { grid-column: span 6; }
.degrau:nth-child(1) { grid-column: 1 / span 6; }
.degrau:nth-child(2) { grid-column: 3 / span 6; }
.degrau:nth-child(3) { grid-column: 5 / span 6; }
.degrau:nth-child(4) { grid-column: 7 / span 6; }
.degrau h2, .degrau-linha { font-size: clamp(2.25rem, 1rem + 3.6vw, 4.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.degrau-linha.destaque { background: var(--accent); display: inline; padding: 0 6px; box-decoration-break: clone; }
.degrau p:not(.degrau-linha) { margin-top: 12px; font-size: 1.0625rem; max-width: 34ch; color: var(--muted); }

/* ---------------------------------------------------------------- bairros (abas + faixas) */
.bairros { padding: var(--secao) var(--m) 0; }
.bairros-cabeca { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; }
.bairros-cabeca h2 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem); max-width: 16ch; }
.bairros-cabeca h2 span { display: block; color: var(--muted); }
.bairros-corpo { display: grid; grid-template-columns: 170px 1fr; gap: 40px; }
.bairros-abas { display: flex; flex-direction: column; gap: 6px; }
.bairros-abas button { background: var(--surface); border: 0; text-align: left; padding: 14px 16px; height: 72px; cursor: pointer; font-size: 1.0625rem; font-weight: 600; transition: background-color .2s; }
.bairros-abas button small { display: block; font-size: var(--step-small); font-weight: 400; }
.bairros-abas button[aria-selected="true"] { background: var(--ink); color: #fff; }
.bairros-abas button:hover:not([aria-selected="true"]) { background: var(--surface-2); }
.faixas { list-style: none; display: grid; gap: 4px; }
.faixas a { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: center; min-height: 76px; padding: 12px 20px; background: var(--surface); text-decoration: none; transition: background-color .2s; }
.faixas li:nth-child(even) a { background: var(--surface-2); }
.faixas a:hover { background: var(--accent) !important; }
.fx-num { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.fx-nome { font-weight: 600; font-size: 1.125rem; }
.fx-nome small { display: block; font-weight: 400; font-size: var(--step-small); color: var(--muted); margin-top: 2px; }
.fx-ops { font-size: .9375rem; text-align: right; }
.fx-mais a { grid-template-columns: 1fr; background: var(--ink) !important; color: #fff; font-weight: 600; }
.fx-mais a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- por que fibra (metade clara, metade escura) */
.porque { margin-top: var(--secao); display: grid; grid-template-columns: 1fr 1fr; }
.porque-claro { background: var(--surface); padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 90svh; }
.zigue { font-size: clamp(2.5rem, 1rem + 3.8vw, 4.5rem); letter-spacing: -0.045em; line-height: .98; }
.zigue span { display: block; }
.zigue .dir { text-align: right; }
.porque-pe { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.porque-pe p { max-width: 30ch; }
.porque-escuro { display: grid; grid-auto-rows: 1fr; background: var(--ink); color: #fff; }
.linha-esc { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 20px; padding: 28px; align-items: start; }
.linha-esc:nth-child(even) { background: var(--ink-2); }
.linha-esc h3 { font-size: 1.75rem; letter-spacing: -0.03em; }
.linha-esc p { font-size: 1rem; }
.linha-esc .termos { font-size: .9375rem; color: var(--accent); }

/* ---------------------------------------------------------------- guias (uma faixa por artigo) */
.guias { padding: var(--secao) var(--m) 0; display: grid; grid-template-columns: 13% 1fr; gap: 32px; }
.guias-trilho { position: sticky; top: 24px; align-self: start; display: grid; gap: 10px; }
.guias-trilho h2 { font-size: 1.75rem; }
.guias-trilho a { font-size: .9375rem; }
.guias-lista { display: grid; gap: 45px; }
.guia a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; column-gap: 28px; text-decoration: none; }
.guia-img { grid-row: 1 / span 2; width: 285px; height: 190px; overflow: hidden; background: var(--surface); }
.guia-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.guia a:hover .guia-img img { transform: scale(1.04); }
.guia-texto strong { display: block; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; max-width: 26ch; }
.guia a:hover strong { text-decoration: underline; text-decoration-thickness: 3px; }
.guia-texto span { display: block; margin-top: 10px; max-width: 60ch; }
.guia-meta { font-size: var(--step-small); color: var(--muted); align-self: end; }
.guias-lista:hover .guia:not(:hover) { opacity: .55; }
.guia { transition: opacity .25s; }

/* ---------------------------------------------------------------- perguntas (uma banda por pergunta) */
.faq { margin-top: var(--secao); }
.faq-cabeca { background: var(--accent); min-height: 40svh; display: flex; align-items: end; padding: var(--m); }
.faq-cabeca h2 { font-size: clamp(3rem, 1rem + 6vw, 7rem); letter-spacing: -0.05em; max-width: 12ch; line-height: .92; }
.faq-banda { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: 56px var(--m); background: var(--bg); }
.faq-banda:nth-child(odd) { background: var(--surface); }
.faq-banda h3 { grid-column: 1 / span 5; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.025em; line-height: 1.1; }
.faq-banda p, .faq-banda div { grid-column: 7 / span 6; font-size: 1.125rem; }

/* ---------------------------------------------------------------- chamada final */
.chamada-fotos { display: grid; grid-template-columns: repeat(3, 1fr); }
.chamada-fotos img { width: 100%; height: 40svh; min-height: 260px; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.chamada-campo { background: var(--ink); color: #fff; min-height: 44svh; padding: clamp(32px, 5vw, 72px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); align-content: center; }
.chamada-frase { grid-column: 1 / span 8; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); line-height: 1.2; letter-spacing: -0.02em; }
.chamada-frase a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.chamada-nota { grid-column: 1 / span 8; margin-top: 32px; font-size: 1rem; }

/* ---------------------------------------------------------------- rodapé */
.rodape { background: var(--accent); color: var(--ink); min-height: 90svh; padding: 40px var(--m) 28px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 40px; }
.rodape-notas { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 32px; font-size: .9375rem; }
.rodape-notas p:last-child { text-align: right; }
.rodape-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rodape-links h2 { font-size: 1.125rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.rodape-links ul { list-style: none; display: grid; gap: 6px; font-size: .9375rem; }
.rodape-contato { align-self: end; font-size: clamp(3rem, 0.5rem + 10vw, 11rem); font-weight: 600; letter-spacing: -0.05em; line-height: .9; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rodape-contato:hover { text-decoration: underline; text-decoration-thickness: 6px; }
.rodape-meta { display: flex; justify-content: space-between; gap: 16px; font-size: .875rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------- janela do pedido */
.pedido { border: 0; padding: 0; width: min(560px, calc(100vw - 16px)); max-height: calc(100svh - 16px); background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.pedido::backdrop { background: rgba(20,20,20,.6); }
.pedido-form, .pedido-ok { padding: 28px; display: grid; gap: 14px; }
.pedido-topo { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.pedido h2 { font-size: 1.75rem; }
.pedido-fechar { background: var(--surface); border: 0; padding: 10px 14px; cursor: pointer; }
.pedido-escolha { background: var(--accent); padding: 12px 14px; font-weight: 600; }
.campo { display: grid; gap: 6px; }
.campo span { font-size: .9375rem; font-weight: 600; }
.campo input { height: 52px; padding: 0 14px; background: var(--surface); border: 2px solid var(--surface); border-radius: 0; font-size: 1.0625rem; }
.campo input:focus { outline: none; border-color: var(--ink); background: #fff; }
.campo input[aria-invalid="true"] { border-color: #b00020; }
.campo-par { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aceite { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .9375rem; align-items: start; }
.aceite input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.pedido-erro { background: #ffe1e1; padding: 10px 14px; font-weight: 600; }
.pedido-nota { font-size: var(--step-small); color: var(--muted); }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* aviso de cookies */
.cookies { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 40; background: var(--ink); color: #fff; padding: 16px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.cookies p { flex: 1 1 320px; font-size: .9375rem; }
.cookies button { background: var(--accent); color: var(--ink); border: 0; padding: 12px 18px; font-weight: 600; cursor: pointer; }
.cookies button.sec { background: transparent; color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- páginas internas (eixo editorial) */
.cabeca { padding: clamp(32px, 5vw, 72px) var(--m) 0; display: grid; grid-template-columns: var(--eixo) 1fr; gap: 0 24px; }
.cabeca h1 { grid-column: 2; font-size: clamp(2.5rem, 1rem + 4.6vw, 6rem); letter-spacing: -0.045em; line-height: .95; max-width: 15ch; }
.cabeca .linha-fina { grid-column: 2; margin-top: 24px; font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.cabeca .lateral { grid-column: 1; grid-row: 1 / span 2; align-self: end; font-size: var(--step-small); color: var(--muted); max-width: 26ch; }
.faixa-img { margin: clamp(32px, 4vw, 56px) var(--gap) 0; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0; height: clamp(240px, 42vh, 460px); }
.faixa-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.faixa-img .bloco { background: var(--accent); padding: 24px; display: flex; align-items: end; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; }
.faixa-img .bloco.escuro { background: var(--ink); color: #fff; }
.texto-eixo { padding: var(--secao) var(--m) 0; display: grid; grid-template-columns: var(--eixo) 1fr; gap: 24px; }
.texto-eixo > h2 { grid-column: 1; font-size: var(--step-head); max-width: 12ch; }
.texto-eixo > .corpo { grid-column: 2; max-width: 68ch; }
.corpo > * + * { margin-top: 1em; }
.corpo h3 { font-size: 1.5rem; margin-top: 1.6em; letter-spacing: -0.02em; line-height: 1.15; }
.corpo ul, .corpo ol { padding-left: 1.2em; }
.corpo li + li { margin-top: .4em; }

/* lista de planos (página Planos e de operadora) */
.planos-op { padding: var(--secao) var(--m) 0; display: grid; grid-template-columns: var(--eixo) 1fr; gap: 24px; }
.planos-op > header h2 { font-size: var(--step-head); }
.planos-op > header p { margin-top: 16px; max-width: 34ch; }
.planos-op > header a { display: inline-block; margin-top: 16px; font-weight: 600; }
.cartela { list-style: none; display: grid; gap: 4px; }
.cartela > li { display: grid; grid-template-columns: 10rem 1fr 11rem; gap: 20px 28px; background: var(--surface); padding: 24px; align-items: start; }
.cartela > li:nth-child(even) { background: var(--surface-2); }
.cartela > li.destaque { background: var(--accent); }
.c-vel { font-size: 2rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.c-vel small { display: block; font-size: var(--step-small); font-weight: 400; letter-spacing: 0; margin-top: 6px; }
.c-info h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
.c-info ul { list-style: none; margin-top: 10px; display: grid; gap: 4px; font-size: 1rem; }
.c-info ul li::before { content: "+ "; font-weight: 600; }
.c-info .obs { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.c-preco { text-align: right; display: grid; gap: 10px; justify-items: end; }
.c-preco strong { font-size: 2rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.c-preco del { font-size: var(--step-small); color: var(--muted); }
.c-preco span { font-size: var(--step-small); }

/* filtros da página Planos */
.filtros { padding: 40px var(--m) 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filtros button { background: var(--surface); border: 0; padding: 12px 18px; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.filtros button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filtros button:hover:not([aria-pressed="true"]) { background: var(--surface-2); }

/* tabela por preço do mega */
.tabela-simples { width: 100%; border-collapse: collapse; font-size: 1.0625rem; min-width: 640px; }
.tabela-simples th, .tabela-simples td { text-align: left; padding: 14px 16px; }
.tabela-simples thead th { background: var(--ink); color: #fff; font-weight: 600; }
.tabela-simples tbody tr:nth-child(even) { background: var(--surface); }
.tabela-simples td { font-variant-numeric: tabular-nums; }

/* páginas de operadora: mosaico */
.mosaico { margin: clamp(32px, 4vw, 56px) var(--gap) 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 22vw, 300px); }
.mosaico > * { overflow: hidden; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.mosaico .t { padding: 24px; display: flex; flex-direction: column; justify-content: end; gap: 6px; }
.mosaico .t strong { font-size: clamp(2rem, 1rem + 2.6vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.mosaico .t span { font-size: 1rem; }
.mosaico .menta { background: var(--accent); }
.mosaico .tinta { background: var(--ink); color: #fff; }
.mosaico .cinza { background: var(--surface); }
.mosaico .largo { grid-column: span 2; }

/* lista de operadoras */
.ops-lista { padding: var(--secao) var(--m) 0; display: grid; gap: 4px; }
.op-linha { display: grid; grid-template-columns: var(--eixo) 1fr auto; gap: 24px; background: var(--surface); padding: 32px; align-items: center; }
.op-linha:nth-child(even) { background: var(--surface-2); }
.op-linha h2 { font-size: clamp(2.25rem, 1rem + 3vw, 4rem); letter-spacing: -0.045em; }
.op-linha h2 a { text-decoration: none; }
.op-linha h2 a:hover { text-decoration: underline; }
.op-linha p { max-width: 52ch; }
.op-linha .op-precos { margin-top: 10px; font-weight: 600; }

/* bairro e cidade */
.bairro-mapa { background: var(--ink); padding: 16px; height: 100%; min-height: 320px; display: grid; place-items: center; }
.vizinhos { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.vizinhos a { display: block; background: var(--surface); padding: 12px 16px; text-decoration: none; font-weight: 600; transition: background-color .2s; }
.vizinhos a:hover { background: var(--accent); }

/* disponibilidade: mapa grande */
.disp { display: grid; grid-template-columns: minmax(320px, 0.9fr) 1.1fr; gap: var(--gap); padding: var(--gap); min-height: calc(100svh - 120px); }
.disp-painel { background: var(--accent); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.disp-painel h1 { font-size: clamp(2.5rem, 1rem + 3.6vw, 5rem); letter-spacing: -0.045em; line-height: .95; max-width: 11ch; }
.disp-painel .linha-fina { margin-top: 16px; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.disp-mapa { background: var(--ink); min-height: 520px; position: relative; }
.disp-mapa .mapa-leaflet { position: absolute; inset: 0; }
.disp-mapa .rede { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); max-height: none; }
.leaflet-container { background: #2a2a2a; font: inherit; }
.leaflet-tile-pane { filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
.leaflet-control-attribution { font-size: 12px; }

/* blog */
.blog-pilar { margin: clamp(32px, 4vw, 56px) var(--gap) 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); }
.blog-pilar a { text-decoration: none; display: contents; }
.blog-pilar .bp-img { overflow: hidden; min-height: 420px; }
.blog-pilar .bp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-pilar:hover .bp-img img { transform: scale(1.03); }
.blog-pilar .bp-texto { background: var(--accent); padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; justify-content: end; gap: 18px; }
.blog-pilar h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.75rem); letter-spacing: -0.04em; line-height: 1; }
.blog-pilar:hover h2 { text-decoration: underline; text-decoration-thickness: 4px; }
.cats { padding: 40px var(--m) 0; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.cats a { display: block; background: var(--surface); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.cats a[aria-current] { background: var(--ink); color: #fff; }
.paginas { padding: 56px var(--m) 0; display: flex; gap: 6px; list-style: none; }
.paginas a, .paginas span { display: block; padding: 12px 18px; background: var(--surface); text-decoration: none; font-weight: 600; }
.paginas span { background: var(--ink); color: #fff; }

/* artigo */
.artigo-cabeca { padding: clamp(32px, 5vw, 72px) var(--m) 0; display: grid; grid-template-columns: var(--eixo) 1fr; gap: 0 24px; }
.artigo-cabeca h1 { grid-column: 2; font-size: clamp(2.25rem, 1rem + 3.4vw, 4.75rem); letter-spacing: -0.04em; line-height: 1; max-width: 18ch; }
.artigo-cabeca .linha-fina { grid-column: 2; margin-top: 24px; font-size: var(--step-lead); line-height: 1.35; max-width: 44ch; }
.artigo-cabeca .meta { grid-column: 1; grid-row: 1 / span 2; align-self: end; font-size: var(--step-small); color: var(--muted); display: grid; gap: 4px; }
.artigo-capa { margin: clamp(32px, 4vw, 56px) var(--gap) 0; overflow: hidden; }
.artigo-capa img { width: 100%; height: clamp(260px, 52vh, 620px); object-fit: cover; }
.artigo-capa figcaption, .corpo figcaption { font-size: var(--step-small); color: var(--muted); padding: 8px var(--m) 0; }
.corpo figcaption { padding: 8px 0 0; }
.artigo { padding: clamp(48px, 6vw, 96px) var(--m) 0; display: grid; grid-template-columns: var(--eixo) minmax(0, 1fr); gap: 24px; }
.sumario { grid-column: 1; position: sticky; top: 24px; align-self: start; max-width: 300px; background: var(--surface); padding: 22px; }
.sumario h2 { font-size: 1.125rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.sumario ol { list-style: none; display: grid; gap: 8px; font-size: .9375rem; line-height: 1.3; }
.sumario a { text-decoration: none; }
.sumario a:hover, .sumario a.ativo { text-decoration: underline; text-decoration-thickness: 2px; }
.sumario a.ativo { font-weight: 600; }
.artigo .corpo { grid-column: 2; max-width: 70ch; font-size: 1.1875rem; line-height: 1.65; }
.artigo .corpo > p:first-child { font-size: var(--step-lead); line-height: 1.45; }
.corpo h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; margin-top: 2.2em; scroll-margin-top: 24px; }
.corpo h2 + *, .corpo h3 + * { margin-top: .7em; }
.corpo strong { font-weight: 650; }
.corpo figure { margin: 2em 0; }
.corpo figure img { width: 100%; }
.corpo table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; margin: 1.6em 0; }
.corpo .tabela-rolar { margin: 1.6em 0; }
.corpo .tabela-rolar table { margin: 0; min-width: 560px; }
.corpo th, .corpo td { text-align: left; padding: 12px 14px; vertical-align: top; }
.corpo thead th { background: var(--ink); color: #fff; font-weight: 600; }
.corpo tbody tr:nth-child(even) { background: var(--surface); }
.corpo blockquote, .corpo .destaque { margin: 2em 0; background: var(--accent); padding: 24px 28px; font-size: 1.25rem; line-height: 1.45; }
.corpo .destaque p + p { margin-top: .6em; }
.corpo .alerta { background: var(--surface); padding: 22px 26px; }
.corpo .resumo-caixa { background: var(--ink); color: #fff; padding: 26px 28px; }
.corpo .resumo-caixa h2, .corpo .resumo-caixa h3 { margin-top: 0; color: var(--accent); font-size: 1.375rem; }
.corpo .resumo-caixa ul { margin-top: 12px; }
.corpo .cta-inline { background: var(--accent); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.corpo .cta-inline p { flex: 1 1 280px; font-weight: 600; font-size: 1.25rem; line-height: 1.3; }
.corpo .fonte { font-size: var(--step-small); color: var(--muted); }
.autor { margin-top: 56px; background: var(--surface); padding: 24px 28px; display: grid; gap: 6px; font-size: 1rem; }
.autor strong { font-size: 1.125rem; }
.relacionados { padding: var(--secao) var(--m) 0; }
.relacionados h2 { font-size: var(--step-head); margin-bottom: 40px; }
.rel-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.rel-grade a { display: grid; gap: 14px; text-decoration: none; background: var(--surface); padding-bottom: 22px; }
.rel-grade img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rel-grade strong { padding: 0 20px; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; }
.rel-grade a:hover strong { text-decoration: underline; }

/* 404 e obrigado */
.aviso { min-height: 70svh; margin: var(--gap); background: var(--accent); padding: clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: end; gap: 24px; align-items: start; }
.aviso h1 { font-size: clamp(3rem, 1rem + 6vw, 7.5rem); letter-spacing: -0.05em; line-height: .92; max-width: 12ch; }
.aviso p { font-size: var(--step-lead); max-width: 40ch; }

/* ---------------------------------------------------------------- entrada das seções (movimento) */
.js .entra { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.js .entra.visto { opacity: 1; transform: none; }
.q-foto img, .artigo-capa img, .blog-pilar .bp-img img { animation: obturador 1.1s var(--ease) both; }
@keyframes obturador { from { clip-path: inset(0 0 100% 0); transform: scale(1.12); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
.q-foto img { animation-delay: .15s; }
.chamada-fotos img { transition: transform 8s linear; }
.chamada-fotos:hover img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .entra { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1100px) {
  .topo-nav ul { gap: 16px; }
  .topo-acao span { display: none; }
  .quadro { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto; grid-template-areas: "titulo titulo" "cep cep" "mapa foto" "mapa frase"; min-height: 0; }
  .q-mapa { min-height: 460px; }
  .porque { grid-template-columns: 1fr; }
  .porque-claro { min-height: 0; }
  .rodape-notas { grid-template-columns: 1fr 1fr; }
  .rodape-notas p:last-child { text-align: left; }
  .res-planos li { grid-template-columns: 7rem 8rem 1fr; }
  .res-planos li .botao { grid-column: 1 / -1; }
  .linha-esc { grid-template-columns: 1fr 1fr; }
  .linha-esc .termos { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- celular */
@media (max-width: 760px) {
  :root { --eixo: 100%; --gap: 6px; }
  .topo { grid-template-columns: 52px 1fr auto; height: calc(56px + var(--gap)); }
  .topo-nav ul, .topo-acao { display: none; }
  .topo-nav { grid-template-columns: 1fr; padding: 0 14px; }
  .topo-menu { display: block; background: var(--ink); color: #fff; border: 0; padding: 0 18px; font-weight: 600; cursor: pointer; }
  .quadro { grid-template-columns: 1fr 1fr; grid-template-areas: "titulo titulo" "cep cep" "mapa mapa" "foto foto" "frase frase"; }
  .q-titulo { min-height: 36svh; }
  .q-titulo h1 { font-size: clamp(2.75rem, 13vw, 4.5rem); }
  .q-mapa { min-height: 0; aspect-ratio: 4 / 5; }
  .q-foto { aspect-ratio: 4 / 3; min-height: 0; }
  .cep-linha { flex-direction: column; }
  .cep-linha .botao { width: 100%; }
  .resultado-cabeca, .res-op { grid-template-columns: 1fr; }
  .res-planos li { grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 16px; }
  .res-nome { grid-column: 1 / -1; }
  .escada { row-gap: 40px; }
  .degrau, .degrau:nth-child(n) { grid-column: 1 / -1; }
  .degrau:nth-child(2) { padding-left: 6vw; }
  .degrau:nth-child(3) { padding-left: 12vw; }
  .degrau:nth-child(4) { padding-left: 18vw; }
  .degrau h2, .degrau-linha { font-size: 8.4vw; }
  .bairros-cabeca { flex-direction: column; align-items: stretch; margin-bottom: 32px; }
  .bairros-corpo { grid-template-columns: 1fr; gap: 16px; }
  .bairros-abas { flex-direction: row; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 6px 0; }
  .bairros-abas button { flex: 1; height: 64px; }
  .faixas a { grid-template-columns: 40px 1fr; padding: 16px; }
  .fx-ops { grid-column: 2; text-align: left; font-size: .875rem; }
  .porque-pe { flex-direction: column; align-items: start; }
  .zigue { font-size: 10vw; }
  .linha-esc { grid-template-columns: 1fr; gap: 10px; padding: 24px 20px; }
  .guias { grid-template-columns: 1fr; gap: 24px; }
  .guias-trilho { position: static; display: flex; justify-content: space-between; align-items: baseline; }
  .guia a { grid-template-columns: 1fr; row-gap: 14px; }
  .guia-img { grid-row: auto; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .faq-cabeca { min-height: 30svh; }
  .faq-cabeca h2 { font-size: 13vw; }
  .faq-banda { grid-template-columns: 1fr; padding: 32px 20px; gap: 12px; }
  .faq-banda h3, .faq-banda p, .faq-banda div { grid-column: 1; }
  .faq-banda h3 { font-size: 1.375rem; }
  .faq-banda p { font-size: 1.0625rem; }
  .chamada-fotos { grid-template-columns: 1fr 1fr; }
  .chamada-fotos img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; height: auto; }
  .chamada-fotos img { height: auto; aspect-ratio: 1; min-height: 0; }
  .chamada-frase, .chamada-nota { grid-column: 1 / -1; }
  .chamada-frase { font-size: 1.375rem; }
  .rodape { min-height: 0; }
  .rodape-notas, .rodape-links { grid-template-columns: 1fr; gap: 20px; }
  .rodape-contato { font-size: 12.5vw; }
  .rodape-meta { flex-direction: column; font-size: .8125rem; }
  .cabeca, .artigo-cabeca, .texto-eixo, .planos-op, .artigo { grid-template-columns: 1fr; }
  .cabeca h1, .cabeca .linha-fina, .cabeca .lateral, .artigo-cabeca h1, .artigo-cabeca .linha-fina, .artigo-cabeca .meta, .texto-eixo > h2, .texto-eixo > .corpo, .artigo .corpo, .sumario { grid-column: 1; grid-row: auto; }
  .cabeca .lateral, .artigo-cabeca .meta { margin-top: 20px; }
  .faixa-img { grid-template-columns: 1fr 1fr; height: auto; }
  .faixa-img > :first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .faixa-img > * { aspect-ratio: 1; }
  .cartela > li { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .c-preco { text-align: left; justify-items: start; }
  .mosaico { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .op-linha { grid-template-columns: 1fr; padding: 24px 20px; }
  .disp { grid-template-columns: 1fr; }
  .disp-mapa { min-height: 0; aspect-ratio: 4 / 5; }
  .blog-pilar { grid-template-columns: 1fr; }
  .blog-pilar .bp-img { min-height: 0; aspect-ratio: 4 / 3; }
  .sumario { position: static; max-width: none; }
  .artigo .corpo { font-size: 1.0625rem; }
  .rel-grade { grid-template-columns: 1fr; }
  .tabela-grande { font-size: 1.0625rem; }
  .campo-par { grid-template-columns: 1fr; }
}

/* tabela grande no celular: cada operadora vira um bloco */
@media (max-width: 760px) {
  .tabela-sec .tabela-rolar { overflow: visible; }
  .tabela-grande, .tabela-grande thead, .tabela-grande tbody, .tabela-grande tr, .tabela-grande th, .tabela-grande td { display: block; min-width: 0; }
  .tabela-grande thead tr { display: none; }
  .tabela-grande tbody { display: none; }
  .tabela-movel { display: grid; gap: var(--gap); }
}
@media (min-width: 761px) { .tabela-movel { display: none; } }
.tm-op { background: var(--surface); padding: 24px 20px; display: grid; gap: 14px; }
.tm-op.destaque { background: var(--accent); }
.tm-op h3 { font-size: 9vw; letter-spacing: -0.04em; }
.tm-op h3 span { display: block; font-size: 6vw; font-weight: 400; margin-top: 6px; }
.tm-op dl { display: grid; gap: 10px; margin: 0; }
.tm-op dt { font-size: 1rem; color: var(--muted); }
.tm-op dd { margin: 2px 0 0; font-size: 1.0625rem; }
.tm-op .botao { width: 100%; }
.tabela-movel h2 { font-size: 2.25rem; margin-bottom: 12px; }
