/* Hallmark · shape: 19 Map / Diagram · genre: modern-minimal · theme: brand · redesign: full · job: buy
 * paper: oklch(97.6% 0.005 230) · accent: oklch(47% 0.115 242) · display: Overpass · body: Overpass · hero: Ledge · nav: masthead over a double neat line, sticky link bar · footer: colophon block · signature: a touch leaves Rio Branco, a route draws itself to one destination and the headline names it
 * axes: survey-white/wayfinding-sans/river-blue · posture: Restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: P and R, the sheet could slide into map costume; every map device on the page keys a real fact (a destination, a format's place, a step, a price, a planned product), nothing is a stamp */
/* Hallmark · dropped onsubmit="return false", form 1 · that dead form never sent anything; the new form writes the message and opens WhatsApp (form[data-whatsapp] in pagina.js; with scripts off it submits to wa.me) */
/* Hallmark · reworded "Seu cliente aproxima o celular e chega direto ao seu WhatsApp." to "Um toque leva o seu cliente para o seu WhatsApp." · the matriz sets this headline for Topografia, its destination words cycling with the map routes */
/* Hallmark · reworded "O que a Kepzen faz pelo seu negócio." to "Cada formato no seu lugar." · craft § 6, the head names what the section shows: the four formats on a shop plan */
/* Hallmark · dropped Cartões e placas NFC · 69, that h3 repeated an offer said three times; the formats section now shows the product itself */
/* Hallmark · reworded "Tabela de preços de lançamento." to "Preços de lançamento." · 58, the shorter head, the table says it is a table */
/* Hallmark · reworded "O caminho continua." to "Outras rotas da Kepzen." · 69, the next-routes block merged with services and PDV so no product is described twice */
/* Hallmark · reworded "Perguntas frequentes." to "O que perguntam antes de pedir." · craft § 6, a head that says what the reader gets, not a category label */
/* Hallmark · dismissed 3 · the 3px left borders on .rf-fan, .ramal::after and .paradas are route lines inside the diagrams (the fan of destinations, the trunk of future routes, the order route on phones), not card stripes */
/* Hallmark · hero-review: fix · 5 findings · 4 resolved 1 partial (the offer line is now ink and bold beside the action; the product drawings open the next section; a photo of a real card or plaque is the material ask) */

@import url("./tokens.css");
@import url("./base.css");

/* ---------- Folha ---------- */
:root { --mast-h: 72px; --bar-h: 52px; --grid-step: 48px; }
body {
  background-color: var(--color-paper);
  background-image: linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
  background-position: center top;
  font-size: var(--text-md); line-height: 1.6; font-synthesis: none;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.s-fill { fill: currentColor; }
.s-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.s-signal-fill { fill: var(--color-signal); }
.s-signal-line { fill: none; stroke: var(--color-signal); stroke-width: 1.6; }
.m-o { fill: none; stroke: var(--color-ink); stroke-width: 2; }
.m-c { fill: none; stroke: var(--color-river); stroke-width: 1.6; stroke-linecap: round; }
.m-p { fill: var(--color-accent); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* moldura da folha: duas linhas de borda do cabeçalho até o fim do ponto de encontro, marcas na margem */
:root { --frame-x: max(calc(var(--gutter) - 24px), calc((100% - var(--container)) / 2 + var(--gutter) - 24px)); }
main { position: relative; }
main::before { content: ""; position: absolute; top: var(--space-xs); bottom: 0; left: var(--frame-x); right: var(--frame-x); border: 1px solid var(--color-ink); outline: 2px solid var(--color-ink); outline-offset: 4px; pointer-events: none; }
main::after { content: ""; position: absolute; top: var(--space-xs); bottom: 0; left: calc(var(--frame-x) - 20px); right: calc(var(--frame-x) - 20px); pointer-events: none;
  background: linear-gradient(180deg, var(--color-ink) 0 1px, transparent 1px) left 0 top var(--space-2xl) / 9px var(--grid-step) repeat-y, linear-gradient(180deg, var(--color-ink) 0 1px, transparent 1px) right 0 top var(--space-2xl) / 9px var(--grid-step) repeat-y; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 48px; padding: var(--space-3xs) var(--space-lg) 0; border: 1px solid var(--color-ink); border-radius: var(--radius-input);
  font: 700 var(--text-md)/1 var(--font-body); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn-quiet { background: var(--color-paper); color: var(--color-ink); }
.btn-quiet:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Cabeçalho da folha ---------- */
.mast { background: var(--color-paper); border-bottom: 2px solid var(--color-ink); padding-bottom: var(--space-3xs); }
.mast-row { display: flex; align-items: center; justify-content: center; min-height: var(--mast-h); }
.wordmark, .bar-mark { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.wordmark { font-size: var(--text-3xl); }
.wordmark svg { width: 34px; height: 34px; flex-shrink: 0; }
.wordmark span, .bar-mark span { padding-top: 0.12em; }
.wordmark:focus-visible, .bar-mark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-top: 1px solid var(--color-ink); border-bottom: 1px solid var(--color-rule); }
.bar-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--bar-h); }
.bar-mark { justify-self: start; font-size: var(--text-lg); }
.bar-mark svg { width: 22px; height: 22px; }
.js .bar-mark { opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.js .bar.is-stuck .bar-mark { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s; }
.menu { display: contents; }
.menu-links { display: flex; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.menu-links a { display: inline-flex; align-items: center; min-height: 44px; padding-top: var(--space-3xs); color: var(--color-ink-2); font-size: 0.9375rem; text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.menu-links a:hover, .menu-links a[aria-current="true"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.menu-links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.bar-cta { justify-self: end; min-height: 44px; padding-inline: var(--space-md); font-size: 0.9375rem; }
.menu-btn { display: none; }

/* ---------- Hero: o campo do mapa e, na base, o bloco de título (a cartela da folha) ---------- */
:root { --margin-col: clamp(300px, 25vw, 360px); --h1: clamp(2.375rem, 3.9vw + 0.75rem, 4.75rem); }
.hero { padding-block: var(--space-lg) var(--space-2xl); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--margin-col); grid-template-rows: minmax(0, 1fr) auto; row-gap: var(--space-xl);
  height: calc(100svh - var(--mast-h) - var(--bar-h) - var(--space-lg) - var(--space-lg)); min-height: 440px; max-height: 1000px;
}
.cartouche { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: subgrid; align-items: stretch; }
.cartouche h1 { grid-column: 1; align-self: end; max-width: none; padding-right: var(--space-lg); font-size: var(--h1); line-height: 1; letter-spacing: -0.03em; }
.h1-a, .h1-b { display: block; }
.dest { display: inline-grid; vertical-align: top; color: var(--color-accent); }
.dest-stack { display: inline-grid; }
.dest-ph { grid-area: 1 / 1; white-space: nowrap; }
.js .dest-ph { opacity: 0; transform: translateY(0.14em); transition: opacity var(--dur-short) var(--ease-in), transform var(--dur-short) var(--ease-in); }
.js .dest-ph.is-on { opacity: 1; transform: none; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.cartouche-side { grid-column: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: var(--space-sm); padding: calc(var(--h1) * 0.1) 0 calc(var(--h1) * 0.02) var(--space-lg); }
.cartouche-side .lead { color: var(--color-ink); font-size: var(--text-lg); line-height: 1.35; }
.cartouche-side .btn { padding-inline: var(--space-md); }
.actions { flex-wrap: nowrap; }
.cartouche-side .lead b { font-weight: 700; white-space: nowrap; }
@media (max-height: 760px) and (min-width: 60.0625rem) { .legend .lg-note { display: none; } .legend .lg-item { min-height: 36px; } .map .legend { gap: var(--space-xs); } }
@media (max-height: 840px) and (min-width: 60.0625rem) { .legend .lg-foot, .legend .lg-conv { display: none; } .cartouche-side { gap: var(--space-sm); } .cartouche-side .lead { font-size: var(--text-lg); } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; padding-top: var(--space-3xs); color: var(--color-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--color-rule); text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.text-link:hover { text-decoration-color: var(--color-accent); }
.text-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.map {
  grid-column: 1 / -1; grid-row: 1; position: relative; display: grid; grid-template-columns: subgrid; grid-template-rows: minmax(0, 1fr);
  min-height: 0; border: 1px solid var(--color-ink); outline: 2px solid var(--color-ink); outline-offset: 5px; background: var(--color-paper);
}
.field { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.terrain { position: absolute; inset: 0; }
.terrain canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 700ms var(--ease-out); }
.terrain.gl-ready canvas { opacity: 1; }
.plan { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 700ms var(--ease-out); }
.terrain.gl-ready .plan { opacity: 0; }
.pl-min { fill: none; stroke: var(--color-sepia-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl-idx { fill: none; stroke: var(--color-sepia); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pl-rio { fill: none; stroke: var(--color-river); stroke-width: 3.2; stroke-linecap: round; }
.pl-rio-i { stroke-width: 1.8; }
.pl-rota { fill: none; stroke: var(--color-ink); stroke-width: 1.4; stroke-dasharray: 6 5; opacity: 0.55; vector-effect: non-scaling-stroke; transition: stroke var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.pl-rota.is-lit { stroke: var(--color-accent); stroke-width: 3; stroke-dasharray: none; opacity: 1; }
.pl-dest { color: var(--color-ink); }
.pl-names { display: none; font: 700 17px/1 var(--font-body); fill: var(--color-ink); paint-order: stroke; stroke: var(--color-paper); stroke-width: 5px; stroke-linejoin: round; }
.pl-names .pl-n0 { fill: var(--color-accent); }
.pl-names .pl-rio-n { font: italic 400 17px/1 var(--font-hydro); fill: var(--color-accent-2); }
.terrain:not(.has-labels) .pl-names { display: inline; }
@media (max-width: 40rem) { .terrain:not(.has-labels) .pl-names { display: none; } }
.pl-dest[data-dest="0"], .pl-dest.is-lit { color: var(--color-accent); }

/* etiquetas presas ao mapa */
.terrain-labels { position: absolute; inset: 0; z-index: var(--z-raised); pointer-events: none; }
html:not(.js) .terrain-labels { display: none; }
.tl { position: absolute; left: 0; top: 0; pointer-events: auto; color: var(--color-ink); visibility: hidden; }
.tl.is-placed { visibility: visible; }
.tl-sym { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; }
.tl-chip { position: absolute; left: 0; top: 0; display: block; padding: var(--space-3xs) var(--space-xs) 0; border-radius: 3px; background: var(--color-scrim); font: 700 var(--text-sm)/1.5 var(--font-body); white-space: nowrap; }
.tl-dest { cursor: pointer; }
.tl-dest[data-dest="0"] .tl-sym, .tl-dest.is-lit .tl-sym, .tl-dest.is-lit .tl-chip { color: var(--color-accent); }
.tl-dest[data-dest="0"] .tl-chip { font-size: var(--text-md); }
.tl-dest.is-lit .tl-sym { animation: chega 900ms var(--ease-out) 1; }
@keyframes chega { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.tl-rb { padding: 0; border: 0; background: none; color: var(--color-ink); cursor: pointer; font: inherit; text-align: left; }
.tl-rb .tl-sym { left: -14px; top: -14px; width: 28px; height: 28px; }
.tl-rb .tl-chip { display: grid; gap: var(--space-3xs); padding: var(--space-2xs) var(--space-xs) var(--space-3xs); background: var(--color-scrim); }
.tl-rb .tl-chip small { font: 400 0.75rem/1.2 var(--font-outlier); color: var(--color-muted); letter-spacing: 0; }
.tl-rb:focus-visible { outline: none; }
.tl-rb:focus-visible .tl-chip { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tl-rio { font: italic 400 0.9375rem/1 var(--font-hydro); color: var(--color-accent-2); white-space: nowrap; transform-origin: 0 0; text-shadow: none; }

.field-foot { position: absolute; left: var(--space-md); right: var(--space-md); bottom: var(--space-sm); z-index: var(--z-raised); display: flex; align-items: flex-end; gap: var(--space-md); pointer-events: none; }
.field-foot > * { pointer-events: auto; }
.pause {
  display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: var(--space-3xs) var(--space-sm) 0; border: 1px solid var(--color-rule); border-radius: var(--radius-input);
  background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.pause .ic { width: 12px; height: 12px; flex-shrink: 0; }
.ic-pause path { fill: none; stroke: currentColor; stroke-width: 2.4; }
.ic-play path { fill: currentColor; }
.pause .ic-play, .pause[aria-pressed="true"] .ic-pause { display: none; }
.pause[aria-pressed="true"] .ic-play { display: block; }
.pause:hover { background: var(--color-paper-2); border-color: var(--color-muted); }
.pause:active { transform: translateY(1px); }
.pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.scale { margin-left: auto; display: grid; grid-template-columns: auto auto; justify-content: space-between; column-gap: var(--space-3xl); padding: var(--space-xs) var(--space-xs) var(--space-3xs); border-radius: 3px; background: var(--color-scrim); font: 400 0.75rem/1 var(--font-outlier); color: var(--color-muted); }
.scale i { grid-column: 1 / -1; height: 6px; margin-bottom: var(--space-2xs); border: 1.5px solid var(--color-ink); border-top: 0; background: linear-gradient(90deg, var(--color-ink) 50%, transparent 50%); }

/* legenda, na margem da folha */
.legend { margin: 0; padding: var(--space-md) var(--space-lg); border-left: 1px solid var(--color-ink); background: var(--color-paper); display: flex; flex-direction: column; gap: var(--space-sm); min-width: 0; min-height: 0; overflow-y: auto; }
.legend figcaption { padding-bottom: var(--space-xs); border-bottom: 1px solid var(--color-rule); font: 700 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink); }
.lg-dest, .lg-conv { margin: 0; padding: 0; list-style: none; }
.lg-dest { display: grid; gap: 0; }
.lg-item {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: var(--space-sm); align-items: center; width: calc(100% + var(--space-md)); min-height: 44px; white-space: nowrap;
  margin-inline: calc(-1 * var(--space-xs)); padding: var(--space-3xs) var(--space-xs); border: 0; border-radius: var(--radius-input); background: transparent; color: var(--color-ink); text-align: left; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out);
}
.lg-item .sym { grid-row: span 2; width: 22px; height: 22px; color: var(--color-ink); }
.lg-item .sym-lead, .lg-item.is-lit .sym { color: var(--color-accent); }
.lg-name { font-weight: 700; font-size: var(--text-md); line-height: 1.15; padding-top: var(--space-3xs); white-space: nowrap; }
.lg-note { font-size: var(--text-sm); line-height: 1.2; color: var(--color-muted); white-space: nowrap; }
.lg-item:hover, .lg-item.is-lit { background: var(--color-paper-2); }
.lg-item.is-lit .lg-name { color: var(--color-accent-2); }
.lg-item:active { transform: translateY(1px); }
.lg-item:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; }
.lg-conv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); font-size: var(--text-xs); line-height: 1.3; color: var(--color-ink-2); }
.hint-touch { display: none; }
@media (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.lg-foot { margin: 0; font-size: var(--text-xs); line-height: 1.4; color: var(--color-muted); }
.lg-conv li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: var(--space-xs); align-items: center; white-space: nowrap; }
.lg-conv .sym { width: 20px; height: 20px; }
.lg-conv .key { width: 20px; }
.key { display: block; width: 24px; height: 0; }
.key-rota { border-top: 1.5px dashed var(--color-ink); }
.key-rio { border-top: 3px solid var(--color-river); }
.key-curva { border-top: 1.5px solid var(--color-sepia); }

/* ---------- Telas menores ---------- */
@media (max-width: 60rem) {
  :root { --bar-h: 56px; --frame-x: 10px; }
  .planta .planta-wide { display: none; }
  .formatos .trabalho { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); column-gap: var(--space-lg); }
  .formatos .trabalho figcaption { font-size: var(--text-md); }
  .planta .planta-tall { display: block; max-width: 30rem; }
  main::after { display: none; }
  .actions { flex-wrap: wrap; }
  .mast { display: none; }
  .bar { border-top: 0; border-bottom: 2px solid var(--color-ink); }
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-mark, .js .bar-mark { opacity: 1; visibility: visible; transform: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: var(--space-3xs) var(--space-md) 0; border: 1px solid var(--color-ink); border-radius: var(--radius-input);
    background: var(--color-paper); color: var(--color-ink); font: 700 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out);
  }
  .menu-btn::after { content: ""; width: 14px; height: 9px; border-block: 1.5px solid currentColor; box-sizing: border-box; }
  .menu-btn[aria-expanded="true"] { background: var(--color-paper-3); }
  .menu-btn:hover { background: var(--color-paper-2); }
  .menu-btn:active { transform: translateY(1px); }
  .menu-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: var(--space-md); padding: var(--space-sm) var(--gutter) var(--space-lg);
    background: var(--color-paper); border-bottom: 2px solid var(--color-ink);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity var(--dur-short) var(--ease-in), transform var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short);
  }
  .bar.is-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s; }
  html:not(.js) .menu { position: static; opacity: 1; visibility: visible; transform: none; grid-column: 1 / -1; padding-inline: 0; border-bottom: 0; }
  .menu-links { flex-direction: column; gap: 0; }
  .menu-links li + li { border-top: 1px solid var(--color-rule); }
  .menu-links a { width: 100%; min-height: 48px; font-size: var(--text-lg); color: var(--color-ink); }
  .bar-cta { justify-self: stretch; min-height: 48px; font-size: var(--text-md); }

  .hero { padding-top: var(--space-md); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: var(--space-lg); height: auto; min-height: 0; max-height: none; }
  .map { display: contents; }
  .field { grid-row: 1; height: clamp(320px, 86vw, 500px); margin: var(--space-2xs); border: 1px solid var(--color-ink); outline: 2px solid var(--color-ink); outline-offset: 4px; background: var(--color-paper); }
  .cartouche { grid-row: 2; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); padding-top: var(--space-xs); }
  .cartouche h1 { grid-column: 1; padding-right: 0; font-size: clamp(2.125rem, 5.4vw + 0.6rem, 3.5rem); }
  .cartouche-side { grid-column: 1; padding: 0; }
  .legend { grid-row: 3; padding: var(--space-md) 0 0; border-left: 0; border-top: 1px solid var(--color-ink); background: transparent; overflow: visible; }
  .lg-dest { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); column-gap: var(--space-md); }
  .lg-conv { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); column-gap: var(--space-lg); }
  .scale { column-gap: var(--space-xl); }
}
@media (max-width: 40rem) {
  :root { --frame-x: 5px; }
  .formatos .trabalho { grid-template-columns: minmax(0, 13rem); row-gap: var(--space-md); }
  main::before { outline: 0; }
  .field { outline: 0; }
  .h1-a, .h1-b { display: inline; }
  .cartouche h1 { font-size: clamp(2rem, 7.4vw + 0.4rem, 2.75rem); line-height: 1.04; }
  .actions .btn { flex: 1 1 100%; }
  .tl-rb .tl-chip small { display: none; }
  .field:has(.no-webgl) { height: calc((100vw - 2 * var(--gutter) - 8px) / 1.08); }
  .tl-dest[data-dest="5"] .tl-chip { width: max-content; max-width: 6.4em; white-space: normal; line-height: 1.2; padding-bottom: var(--space-3xs); }
  .tl-chip { font-size: var(--text-xs); }
  .tl-dest[data-dest="0"] .tl-chip { font-size: var(--text-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .js .dest-ph, .js .dest-ph.is-on, .terrain canvas, .plan, .bar-mark, .menu, .btn, .lg-item, .pause { transition: none; }
  .tl-dest.is-lit .tl-sym { animation: none; }
  .pause { display: none; }
}
html.shot .bar { position: relative; }
@media (min-width: 60.0625rem) { html.shot.js .bar-mark { opacity: 0; visibility: hidden; } }
html.shot.js .dest-ph, html.shot .terrain canvas, html.shot .plan { transition: none; }
html.shot .tl-dest.is-lit .tl-sym { animation: none; }

/* =====================================================================
   A folha continua: costuras em curva de nível, planta, rotas, perfil, quadro, notas, ponto de encontro, colofão
   ===================================================================== */
.sec { padding-block: var(--space-3xl); }
.sec-head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); max-width: 52rem; }
.sec-head .lead { color: var(--color-ink-2); }
.sec-head-split { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap-columns); align-items: end; }
.sec-head-split .lead { max-width: 34ch; justify-self: end; }
h2 { font-size: var(--text-section); line-height: 1.02; letter-spacing: -0.03em; max-width: 20ch; }
h3 { font-size: var(--text-title); letter-spacing: -0.015em; }

/* --- formatos: uma planta anotada, cada formato ligado ao seu lugar --- */
.planta { margin: 0; }
.planta-svg { display: block; width: 100%; height: auto; }
.planta-tall { display: none; }
.p-wall { fill: none; stroke: var(--color-ink); stroke-width: 6; stroke-linejoin: miter; }
.p-door { fill: none; stroke: var(--color-ink); stroke-width: 1.5; }
.p-swing { fill: none; stroke: var(--color-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.p-glass { fill: none; stroke: var(--color-river); stroke-width: 1.5; }
.p-curb { fill: none; stroke: var(--color-muted); stroke-width: 1; stroke-dasharray: 10 6; }
.p-counter { fill: var(--color-paper-3); stroke: var(--color-ink); stroke-width: 1.5; }
.p-cash { fill: var(--color-paper); stroke: var(--color-ink); stroke-width: 1.2; }
.p-table { fill: var(--color-paper); stroke: var(--color-ink); stroke-width: 1.5; }
.p-chair { fill: none; stroke: var(--color-ink-2); stroke-width: 1; }
.p-leader { fill: none; stroke: var(--color-ink); stroke-width: 1.25; }
.p-leader-dot { fill: var(--color-ink); }
.fk-fill { fill: var(--color-accent); stroke: var(--color-paper); stroke-width: 1.5; }
.fk-line { fill: var(--color-paper); stroke: var(--color-accent); stroke-width: 2.2; }
.pt-lbl { fill: var(--color-ink-2); font-family: var(--font-body); paint-order: stroke; stroke: var(--color-paper); stroke-width: 4px; stroke-linejoin: round; }
.pt-rua { fill: var(--color-muted); }
.pt-name { fill: var(--color-ink); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
.pt-place { fill: var(--color-muted); font-family: var(--font-body); }
.d-black { fill: var(--color-ink); stroke: var(--color-ink); stroke-width: 1.2; stroke-linejoin: round; }
.d-hollow { fill: var(--color-paper-3); stroke: var(--color-ink-2); stroke-width: 0.8; }
.d-chip { fill: none; stroke: var(--color-river); stroke-width: 2.6; stroke-linecap: round; }
.d-sticker { fill: var(--color-paper); }
.d-card { fill: var(--color-paper-2); stroke: var(--color-ink); stroke-width: 1.4; }
.d-ground { fill: none; stroke: var(--color-muted); stroke-width: 1; }
.d-grain { fill: none; stroke: var(--color-paper); stroke-width: 0.9; stroke-linecap: round; opacity: 0.55; }
.d-sk-text { fill: var(--color-ink); font-family: var(--font-body); font-weight: 700; font-size: 11px; }
.d-sk-line { fill: none; stroke: var(--color-ink); stroke-width: 1; stroke-linecap: round; }
.d-sk-fill { fill: var(--color-ink); }
.trabalho { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 26rem); column-gap: var(--space-3xl); align-items: end; margin: var(--space-2xl) 0 0; }
.trabalho-placa { position: relative; padding: var(--space-xs); border-radius: 3px; background: var(--color-ink); }
.trabalho-placa img { width: 100%; height: auto; border-radius: 1px; }
.trabalho-grao { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--color-paper); stroke-width: 0.5; stroke-linecap: round; opacity: 0.45; pointer-events: none; }
.trabalho figcaption { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink); max-width: 30ch; padding-bottom: var(--space-xs); }
.planta figcaption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); max-width: 70ch; }

/* --- duas formas: uma figura, duas pistas com a mesma origem e o mesmo destino --- */
.opcoes-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-3xl); align-items: center; }
.opcoes-txt { display: grid; gap: var(--space-xl); align-content: start; }
.opcoes-txt h2 { max-width: 12ch; }
.opcao { display: grid; gap: var(--space-sm); padding-top: var(--space-md); border-top: 1px solid var(--color-ink); }
.opcao-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-md); }
.opcao h3 { font-size: var(--text-xl); }
.desde { font-size: var(--text-md); color: var(--color-muted); }
.opcao > p { max-width: 46ch; color: var(--color-ink-2); }
.duas { margin: 0; min-height: 440px; display: grid; align-content: center; gap: var(--space-lg); }
.duas-grid { display: grid; grid-template-columns: [o] 6.5rem [r] minmax(2rem, 1fr) [h] 10rem [d] minmax(0, 13rem); grid-template-rows: auto auto var(--space-2xl) auto auto; align-items: center; }
.duas svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--color-ink); }
.duas .sym-lead { color: var(--color-accent); }
.lane-cap { grid-column: r / -1; margin: 0 0 var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.lane-cap.lane-a { grid-row: 1; }
.lane-cap.lane-b { grid-row: 4; }
.d-origin { grid-column: o; display: inline-flex; align-items: center; justify-content: flex-end; gap: var(--space-xs); padding-right: var(--space-xs); font-weight: 700; }
.d-origin svg { width: 40px; height: 40px; }
.d-origin.lane-a, .d-route.lane-a, .d-fan.lane-a { grid-row: 2; }
.d-origin.lane-b, .d-route.lane-b, .phone.lane-b, .d-fan.lane-b { grid-row: 5; }
.d-route { height: 0; border-top: 4px solid var(--color-accent); }
.d-route.lane-a { grid-column: r / d; }
.d-route.lane-b { grid-column: r; }
.d-fan { grid-column: d; list-style: none; margin: 0; padding: var(--space-2xs) 0 var(--space-2xs) var(--space-xl); display: grid; gap: var(--space-sm); border-left: 4px solid var(--color-accent); font-size: var(--text-md); font-weight: 700; }
.d-fan li { position: relative; display: flex; align-items: center; gap: var(--space-xs); white-space: nowrap; }
.d-fan li::before { content: ""; position: absolute; left: calc(-1 * var(--space-xl)); width: calc(var(--space-xl) - var(--space-xs)); top: 50%; border-top: 3px solid var(--color-accent); }
.d-pick { border-left: 2px dashed var(--color-muted); font-weight: 400; color: var(--color-muted); }
.d-pick li::before { border-top: 2px dashed var(--color-muted); }
.d-pick li svg { color: var(--color-muted); }
.d-pick li.is-on { font-weight: 700; color: var(--color-ink); }
.d-pick li.is-on::before { left: calc(-1 * var(--space-xl) - 3px); width: calc(var(--space-xl) - var(--space-xs) + 3px); border-top: 4px solid var(--color-accent); }
.draw .duas:not(.is-in) .d-route, .draw .duas:not(.is-in) .d-fan:not(.d-pick) { clip-path: inset(0 100% 0 0); }
.draw .duas.is-in .d-route { clip-path: inset(0 0 0 0); transition: clip-path 800ms var(--ease-out) 150ms; }
.draw .duas.is-in .d-fan:not(.d-pick) { clip-path: inset(0 0 0 0); transition: clip-path 600ms var(--ease-out) 800ms; }
.phone { grid-column: h; justify-self: center; width: 9rem; display: grid; gap: var(--space-2xs); padding: var(--space-xs) var(--space-xs) var(--space-sm); border: 1.5px solid var(--color-ink); border-radius: 20px; background: var(--color-paper); }
.ph-cover { height: 40px; border-radius: 12px 12px 2px 2px; background: var(--color-paper-3); }
.ph-logo { width: 30px; height: 30px; margin: calc(-1 * var(--space-md)) auto 0; border-radius: 50%; border: 1.5px solid var(--color-ink); background: var(--color-paper); }
.ph-name { text-align: center; font-weight: 700; font-size: var(--text-sm); line-height: 1.2; }
.ph-bar { height: 4px; margin-inline: var(--space-sm); border-radius: 2px; background: var(--color-paper-3); }
.ph-bar-s { margin-inline: var(--space-lg); margin-bottom: var(--space-2xs); }
.ph-btn { display: block; padding: var(--space-3xs) 0 0; border: 1px solid var(--color-ink); border-radius: 4px; font-size: 0.75rem; font-weight: 700; line-height: 1.7; text-align: center; }
.phone[data-slot] { overflow: visible; background: var(--color-paper); }
.duas figcaption { font-size: var(--text-sm); color: var(--color-muted); }

/* --- como funciona: perfil da rota --- */
.perfil { position: relative; }
.perfil-svg { display: block; width: 100%; height: 200px; border-bottom: 1px solid var(--color-sepia); }
.perfil-fill { fill: url(#hachura); }
.hach { stroke: var(--color-sepia-soft); stroke-width: 1; }
.perfil-line { fill: none; stroke: var(--color-sepia); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.perfil-rota { fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; transform: translateY(-6px); }
.draw .perfil:not(.is-in) .perfil-rota { stroke-dashoffset: 1; }
.draw .perfil.is-in .perfil-rota { transition: stroke-dashoffset 1800ms var(--ease-out); }
.paradas { list-style: none; counter-reset: parada; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.paradas li { position: relative; counter-increment: parada; padding-top: var(--space-xl); }
.paradas li::before { content: counter(parada); position: absolute; left: 0; top: calc(-200px + 200px * var(--yy, 0.5) - 18px); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-paper); border: 2px solid var(--color-ink); font-weight: 700; font-size: var(--text-sm); line-height: 1; padding-top: var(--space-3xs); box-sizing: border-box; }
.paradas li:nth-child(1) { --yy: 0.66; } .paradas li:nth-child(2) { --yy: 0.52; } .paradas li:nth-child(3) { --yy: 0.40; } .paradas li:nth-child(4) { --yy: 0.26; }
.paradas .parada-fim::before { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.relevo { display: none; }
.rl-chao { fill: url(#hachura); }
.rl-linha { fill: none; stroke: var(--color-sepia); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rl-rota { fill: none; stroke: var(--color-accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.paradas h3 { margin-bottom: var(--space-xs); }
.paradas p { color: var(--color-ink-2); max-width: 30ch; }

/* --- preços: o quadro --- */
.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable thead th { padding: var(--space-md) var(--space-lg) var(--space-sm); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-md); font-weight: 700; text-align: left; white-space: nowrap; }
.ptable thead th:first-child { width: 34%; }
.th-note { margin-left: var(--space-xs); font-weight: 400; font-size: var(--text-sm); color: var(--color-paper-3); }
.ptable tbody th, .ptable tbody td { padding: 0; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: middle; }
.ptable tbody th { padding: var(--space-md) var(--space-lg) var(--space-md) 0; }
.pt-name { display: block; font-size: var(--text-lg); font-weight: 700; line-height: 1.25; }
.pt-place { display: block; font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }
.ptable td.hi { background: color-mix(in oklch, var(--color-accent) 5%, transparent); }
.price { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; padding: var(--space-xs) var(--space-lg) 0; color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.price-v { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-go { font-size: var(--text-md); font-weight: 700; color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.ptable-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-lg); }
.ptable-cta p { font-size: var(--text-sm); color: var(--color-muted); }
.price:hover, .price:focus-visible { background: var(--color-paper-2); }
.price:hover .price-go, .price:focus-visible .price-go { color: var(--color-accent-2); }
.price:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.price:active { color: var(--color-accent-2); }
.pnotes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: var(--space-xl) 0 0; }
.pnotes > div { padding-top: var(--space-sm); border-top: 2px solid var(--color-ink); }
.pnotes dt { font-weight: 700; margin-bottom: var(--space-2xs); }
.pnotes dd { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); }

/* --- outras rotas: ramais cheios e tracejados --- */
.rotas-key { display: grid; gap: var(--space-2xs); font-size: var(--text-md); }
.rotas-key span { display: flex; align-items: center; gap: var(--space-sm); }
.key-inline { display: inline-block; flex-shrink: 0; width: 32px; height: 0; }
.key-cheia { border-top: 3px solid var(--color-accent); }
.key-trac { border-top: 3px dashed var(--color-muted); }
.ramais { list-style: none; margin: 0; padding: 0 0 0 var(--space-2xl); position: relative; }
.ramais::before { content: ""; position: absolute; left: -7px; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); }
.ramal { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-3xl); min-height: 112px; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.ramal::before { content: ""; position: absolute; left: calc(-1 * var(--space-2xl)); width: calc(var(--space-2xl) - var(--space-md)); top: 50%; border-top: 3px dashed var(--color-muted); }
.ramal-hoje::before { border-top-style: solid; border-top-color: var(--color-accent); }
.ramal::after { content: ""; position: absolute; left: calc(-1 * var(--space-2xl) - 1.5px); top: 0; bottom: 0; border-left: 3px dashed var(--color-muted); }
.ramal-hoje::after { border-left-style: solid; border-left-color: var(--color-accent); }
.ramal:last-child::after { bottom: 50%; }
.ramal-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-sm); margin-bottom: var(--space-2xs); }
.ramal-txt p { color: var(--color-ink-2); max-width: 58ch; }
.breve { padding: var(--space-3xs) var(--space-xs) 0; border: 1px dashed var(--color-muted); border-radius: 3px; font-size: var(--text-sm); color: var(--color-ink-2); }
.draw .ramal:not(.is-in)::before { clip-path: inset(0 100% 0 0); }
.draw .ramal.is-in::before { clip-path: inset(0 0 0 0); transition: clip-path 700ms var(--ease-out) 100ms; }

/* --- dúvidas --- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gap-columns); align-items: start; }
.faq-list { border-top: 1px solid var(--color-ink); }
.faq-list details { border-bottom: 1px solid var(--color-rule); }
.faq-list summary { position: relative; display: block; min-height: 56px; padding: var(--space-md) var(--space-2xl) var(--space-md) 0; font-weight: 700; font-size: var(--text-lg); line-height: 1.35; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: var(--space-xs); top: calc(var(--space-md) + 0.65em); width: 14px; border-top: 2px solid var(--color-ink); transition: transform var(--dur-short) var(--ease-in-out); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--color-accent-2); }
.faq-list summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq-list details p { padding: 0 var(--space-2xl) var(--space-lg) 0; color: var(--color-ink-2); max-width: 62ch; }

/* --- ponto de encontro --- */
.contato { padding-bottom: var(--space-3xl); }
.contato-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-3xl); align-items: start; }
.contato-info { display: grid; gap: var(--space-lg); }
.contato-info .lead { color: var(--color-ink-2); max-width: 40ch; }
.contato-dl { display: grid; gap: var(--space-sm); margin: var(--space-xs) 0 0; }
.contato-dl > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); column-gap: var(--space-md); align-items: baseline; padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); }
.contato-dl dt { font-size: var(--text-sm); color: var(--color-muted); }
.contato-dl dd { margin: 0; }
.contato-dl a { color: var(--color-ink); text-decoration-color: var(--color-rule); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.contato-dl a:hover { text-decoration-color: var(--color-accent); }
.contato-dl a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tel-big { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.tel-call { margin-left: var(--space-sm); font-size: var(--text-sm); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-lg); padding: var(--space-xl); background: var(--color-paper); border: 1px solid var(--color-ink); }
.field-row { display: grid; gap: var(--space-xs); }
.field-full { grid-column: 1 / -1; }
.form label { font-size: var(--text-sm); font-weight: 700; }
.opt { font-weight: 400; color: var(--color-muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md) var(--space-xs); border: 1px solid var(--color-muted); border-radius: var(--radius-input);
  background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.4 var(--font-body); outline: 2px solid transparent; outline-offset: -3px;
}
.form textarea { resize: vertical; min-height: 96px; }
.form select { appearance: none; padding-right: var(--space-2xl); background-image: linear-gradient(45deg, transparent 50%, var(--color-ink) 50%), linear-gradient(135deg, var(--color-ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline-color: var(--color-focus); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--color-ink); }
.form input[aria-invalid="true"] { border-color: var(--color-error); }
.form-foot { display: grid; justify-items: start; gap: var(--space-sm); }
.form-help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.form-help a { color: var(--color-accent-2); font-weight: 700; }

/* --- colofão: a margem de baixo da folha --- */
.colofao { padding-block: var(--space-xl) var(--space-3xl); }
.colofao-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-3xl); align-items: start; }
.colofao-text { font-size: var(--text-md); line-height: 1.65; color: var(--color-ink-2); max-width: 64ch; }
.colofao-text a { color: var(--color-ink); text-decoration-color: var(--color-rule); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.colofao-text a:hover { text-decoration-color: var(--color-accent); }
.colofao-text a:focus-visible, .privacidade a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wordmark-s { display: inline-flex; vertical-align: -0.2em; margin-right: var(--space-2xs); font-size: var(--text-lg); gap: var(--space-2xs); text-decoration: none; }
.wordmark-s svg { width: 22px; height: 22px; }
.colofao-text .wordmark-s { text-decoration: none; }
.privacidade { padding-top: var(--space-sm); border-top: 2px solid var(--color-ink); }
.privacidade h2 { font-size: var(--text-md); letter-spacing: 0; margin-bottom: var(--space-xs); }
.privacidade p { font-size: var(--text-sm); line-height: 1.6; color: var(--color-ink-2); }
.privacidade a { color: var(--color-ink); }

@media (max-width: 60rem) {
  .sec { padding-block: var(--space-2xl); }
  .hero { padding-bottom: var(--space-xl); }
  .sec-head-split, .formatos-grid, .faq-grid, .contato-grid, .colofao-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .sec-head-split .lead { justify-self: start; }
  .opcoes-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .duas { min-height: 0; }
  .pnotes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-lg); }
  .perfil-svg { display: none; }
  .paradas { grid-template-columns: minmax(0, 1fr); padding-left: var(--space-2xl); }
  .paradas li { padding: var(--space-xs) 0 var(--space-xl); border-top: 0; }
  .paradas li::before { left: calc(-1 * var(--space-2xl) + 2px); top: 0; z-index: 1; }
  .relevo { display: block; position: absolute; left: calc(-1 * var(--space-2xl)); top: 0; width: 40px; height: 100%; }
}
@media (max-width: 40rem) {
  .duas-grid { grid-template-columns: [o] 3rem [r] minmax(1rem, 1fr) [h] 7.25rem [d] auto; }
  .d-origin span { display: none; }
  .d-origin svg { width: 32px; height: 32px; }
  .d-fan { padding-left: var(--space-lg); font-size: var(--text-sm); gap: var(--space-xs); }
  .d-fan li::before { left: calc(-1 * var(--space-lg)); width: calc(var(--space-lg) - var(--space-2xs)); }
  .d-pick li.is-on::before { left: calc(-1 * var(--space-lg) - 3px); width: calc(var(--space-lg) - var(--space-2xs) + 3px); }
  .duas svg { width: 18px; height: 18px; }
  .phone { width: 7rem; }
  .ph-btn { font-size: 0.625rem; }
  .ptable thead th { padding: var(--space-sm) var(--space-sm) var(--space-xs); font-size: var(--text-sm); white-space: normal; }
  .ptable thead th:first-child { width: 30%; }
  .th-note { display: block; margin: 0; }
  .ptable tbody th { padding-right: var(--space-sm); }
  .pt-name { font-size: var(--text-md); }
  .price { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding-inline: var(--space-sm); }
  .price-v { font-size: var(--text-xl); }
  .pnotes { grid-template-columns: minmax(0, 1fr); }
  .ramais { padding-left: var(--space-xl); }
  .ramal { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); justify-items: start; }
  .ramal::before { left: calc(-1 * var(--space-xl)); width: calc(var(--space-xl) - var(--space-sm)); top: calc(var(--space-lg) + 0.8em); }
  .ramal::after { left: calc(-1 * var(--space-xl) - 1.5px); }
  .ramal:last-child::after { bottom: auto; height: calc(var(--space-lg) + 0.8em); }
  .form { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); }
  .contato-dl > div { grid-template-columns: minmax(0, 1fr); }
  .tel-big { font-size: var(--text-xl); }
}
@media (prefers-reduced-motion: reduce) {
  .perfil-rota, .d-route, .d-fan, .ramal::before, .price, .price-go, .faq-list summary::before, .faq-list summary::after { transition: none !important; }
}
