/* ClikHydro · página inicial. Tokens do portal (frontend/style.css), uma família (IBM Plex Sans). */
:root {
  color-scheme: light;
  --bg: #f4f5f2;
  --surface: #ffffff;
  --field: #e9eae5;
  --line: #e2e3de;
  --ink: #191919;
  --muted: #5c5c5a;
  --accent: #257de0;
  --accent-ink: #ffffff;
  --fill: #1d6bcf;           /* acento para superfícies com texto branco (contraste ≥ 4,5) */
  --fill-hover: #1757ac;
  --accent-deep: #1757ac;
  --seq: #cce3fd, #9dc8f7, #6aabf1, #338ced, #2370cd, #1757ac, #0e3d7e;
  --night: #121a24;
  --night-ink: #eef2f6;
  --radius: 4px;
  --m: 32px;                 /* margem externa */
  --bar-h: 72px;
  --gap: 24px;
  --sec: clamp(120px, 14vw, 200px);
  --t-sm: 15px;
  --t-body: 18px;
  --t-mid: 22px;
  --t-h2: clamp(32px, 3.4vw, 52px);
  --t-xl: clamp(48px, 6vw, 96px);
  --t-fig: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-feature-settings: "tnum" 1;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --bg: #111211; --surface: #1b1c1b; --field: #232523; --line: #2e2f2d;
    --ink: #efefef; --muted: #a3a3a0; --accent: #338ced; --accent-deep: #84b9f3;
    --night: #0b1118;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111211; --surface: #1b1c1b; --field: #232523; --line: #2e2f2d;
  --ink: #efefef; --muted: #a3a3a0; --accent: #338ced; --accent-deep: #84b9f3;
  --night: #0b1118;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--m); }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  background: var(--fill); color: #fff; border: 0; border-radius: var(--radius); white-space: nowrap;
  font: 600 var(--t-sm)/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.button:hover { background: var(--fill-hover); }
.button:active { transform: scale(.97); }
.button.ghost { background: var(--field); color: var(--ink); }
.button.ghost:hover { background: var(--line); }
.button.invert { background: var(--surface); color: var(--ink); }

/* ------------------------------------------------------------ barra */
.bar { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; gap: 32px; height: var(--bar-h); background: var(--bg);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
/* Sobre o hero: a barra some no vídeo (transparente, texto claro) e ganha fundo ao rolar. */
.bar.over { background: transparent; color: #fff; }
.bar.over nav a { color: rgba(255, 255, 255, .78); }
.bar.over nav a:hover { color: #fff; }
.bar:not(.over) { box-shadow: 0 1px 0 var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -.01em; }
.bar nav { display: flex; gap: 28px; margin-left: auto; font-size: var(--t-sm); }
.bar nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.bar nav a:hover { color: var(--ink); }

/* ------------------------------------------------------------ hero */
/* Faixa inteira sobre chuva real: o fundo é sempre noturno, nos dois temas. */
.hero {
  margin-top: calc(-1 * var(--bar-h));   /* o vídeo começa atrás do menu */
  position: relative; isolation: isolate; overflow: hidden; color: #f3f6fa;
  background: #0c1420;
  --surface: rgba(10, 18, 30, .62); --bg: rgba(255, 255, 255, .07); --field: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .16); --ink: #f3f6fa; --muted: #b4c0cd; --accent: #5aa4f5;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 24, .55) 0, rgba(8, 14, 24, 0) 160px),
              linear-gradient(90deg, rgba(8, 14, 24, .9) 0%, rgba(8, 14, 24, .72) 45%, rgba(8, 14, 24, .45) 100%),
              linear-gradient(0deg, rgba(8, 14, 24, .85) 0%, rgba(8, 14, 24, 0) 40%);
}
.hero-in {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center;
  min-height: min(100svh, calc(880px + var(--bar-h)));
  padding-top: calc(var(--bar-h) + clamp(48px, 6vw, 96px)); padding-bottom: clamp(48px, 6vw, 96px);
}
.hero-text { grid-column: 1 / 7; display: grid; gap: 32px; align-content: center; }
.hero h1 { font-size: clamp(60px, 8.4vw, 136px); line-height: .92; letter-spacing: -.05em; font-weight: 600; color: #fff; text-wrap: balance; }
.lede { font-size: var(--t-mid); line-height: 1.45; max-width: 30ch; color: #dbe3ec; }
main p { max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .button { min-height: 52px; padding: 0 26px; font-size: 16px; }
.button.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.button.line:hover { background: rgba(255, 255, 255, .1); }
.hero-figs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin: 56px 0 0; }
.hero-figs div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero-figs dd { margin: 0; font-size: clamp(32px, 3.2vw, 48px); line-height: 1; font-weight: 600; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.hero-figs dt { font-size: 14px; color: var(--muted); max-width: 16ch; line-height: 1.3; }
figcaption { margin-top: 10px; font-size: var(--t-sm); color: var(--muted); max-width: 34em; }
.hero .station { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero .st-days .fill { background: #4a9af2; }
.hero .st-days .ghost .fill { background: var(--field); }
.hero .st-link { color: #9ccbff; }

/* fragmento: estação (interface do produto) */
.station {
  grid-column: 8 / 13; background: var(--surface); border-radius: 8px; padding: 28px;
  display: grid; gap: 22px; font-size: 14px; border: 1px solid var(--line);
}
.st-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 12px; }
.st-search label { font-size: 15px; font-weight: 500; }
.st-search input {
  font: inherit; font-size: 15px; height: 40px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--bg); color: var(--ink); min-width: 0;
}
.st-search button { font: 600 14px inherit; font-family: inherit; height: 40px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--fill); color: #fff; cursor: pointer; }
.st-search button:hover { background: var(--accent-deep); }
.st-hint { grid-column: 2 / 4; font-size: 13px; color: var(--muted); }
.st-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.st-name { font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.015em; }
.st-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.st-total { text-align: right; }
.st-total strong { display: block; font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--accent); }
.st-total span { font-size: 13px; color: var(--muted); }
.st-days { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 230px; align-items: end; }
.st-days li { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 6px; text-align: center; }
.st-days .v { font-size: 13px; font-weight: 600; }
.st-days .col { position: relative; background: var(--bg); border-radius: 4px; display: flex; align-items: end; overflow: hidden; }
.st-days .ghost .fill { background: var(--field); }
.st-days .fill { width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; transform-origin: bottom; transition: height .5s var(--ease); }
.st-days .norm { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--muted); }
.st-days .d { font-size: 12px; color: var(--muted); line-height: 1.25; }
.st-foot { font-size: 13px; color: var(--muted); }
.st-link { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ------------------------------------------------------------ panorama (palco fixo) */
.panorama { padding-top: clamp(80px, 9vw, 144px); padding-bottom: var(--sec); }
.sec-title { font-size: var(--t-h2); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; max-width: 18ch; }
.panorama .sec-title { margin-bottom: 56px; max-width: none; text-wrap: balance; }
.pan-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.pan-stage { grid-column: 1 / 9; position: sticky; top: 88px; align-self: start; height: calc(100svh - 120px); display: grid; grid-template-rows: 1fr auto; gap: 12px; }
.pan-map { border-radius: var(--radius); background: var(--field); min-height: 320px; }
.pan-legend { display: flex; gap: 2px; flex-wrap: wrap; font-size: 13px; color: var(--muted); align-items: center; }
.pan-legend .t { margin-right: 12px; color: var(--ink); font-weight: 500; }
.pan-legend .sw { display: grid; gap: 4px; min-width: 56px; }
.pan-legend .sw i { height: 10px; display: block; }
.pan-steps { grid-column: 9 / 13; }
.step { cursor: pointer; min-height: 92svh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-left: 8px; opacity: .35; transition: opacity .4s var(--ease); }
.step.on { opacity: 1; }
.step:first-child { min-height: 70svh; justify-content: flex-start; padding-top: 12svh; }
.step h3 { font-size: var(--t-h2); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.step p { font-size: var(--t-body); max-width: 26em; }
.step strong { font-weight: 600; }

/* ------------------------------------------------------------ estados (barras na borda) */
.states { position: relative; min-height: 90svh; display: grid; grid-template-rows: auto 1fr; background: var(--field); padding-top: 64px; overflow: hidden; }
.states-head { display: grid; gap: 8px; position: relative; z-index: 2; }
.figure { font-size: var(--t-fig); line-height: .9; letter-spacing: -.045em; font-weight: 600; }
.claim { font-size: var(--t-mid); line-height: 1.35; max-width: 30ch; }
.bars { display: grid; grid-template-columns: repeat(var(--n, 14), 1fr); gap: 8px; align-items: end; height: 62svh; align-self: end; }
.bar-item { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; outline-offset: -3px; }
.bar-item .b { background: color-mix(in srgb, var(--ink) 16%, var(--field)); height: var(--h); transform-origin: bottom; transition: transform .9s var(--ease), background-color .2s; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; }
.bar-item.top .b { background: var(--fill); }
.bar-item .uf { font-size: 15px; font-weight: 600; color: var(--ink); }
.bar-item.top .uf { color: #fff; }
.bar-item .val { font-size: clamp(20px, 2vw, 30px); font-weight: 600; text-align: center; padding-bottom: 8px; letter-spacing: -.02em; visibility: hidden; }
.bar-item.lab .val, .bar-item:hover .val, .bar-item:focus .val { visibility: visible; }
.bar-item:hover .b { background: color-mix(in srgb, var(--ink) 30%, var(--field)); }
.bar-item.top:hover .b { background: var(--accent-deep); }

/* ------------------------------------------------------------ três leituras */
.reads { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: var(--sec); }
.reads .sec-title { grid-column: 4 / 13; margin-bottom: 72px; }
.reads-list { grid-column: 1 / 13; display: grid; gap: 56px; }
.read { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.read-word { grid-column: 1 / 4; text-align: right; font-size: var(--t-mid); color: var(--muted); }
.row { grid-column: 4 / 10; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; font-size: 14px; display: grid; gap: 12px; }
.row-top { display: flex; align-items: baseline; gap: 12px; }
.row-top b { font-size: 16px; font-weight: 600; }
.row-top .sub { color: var(--muted); font-size: 13px; }
.row-top .amt { margin-left: auto; font-size: 20px; font-weight: 600; }
.spark { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; height: 40px; align-items: end; }
.spark i { display: block; background: var(--accent); border-radius: 2px 2px 0 0; min-height: 2px; }
.models { display: grid; grid-template-columns: auto 1fr auto auto; gap: 6px 14px; align-items: center; font-size: 13px; }
.models .mbar { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.models .mbar i { display: block; height: 100%; background: var(--accent); }
.models .raw { color: var(--muted); }
.row .act { justify-self: start; font: 600 13px inherit; font-family: inherit; height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: background-color .15s, transform .15s; }
.row .act:hover { background: var(--field); }
.row .act:active { transform: scale(.97); }
.row .act[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.skill { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.skill div { background: var(--bg); border-radius: 6px; padding: 10px 12px; }
.skill b { display: block; font-size: 20px; font-weight: 600; }
.skill span { font-size: 12px; color: var(--muted); }
.ok { color: #0b8a5f; } .bad { color: #c0392b; }
.reads-note { grid-column: 4 / 10; margin-top: 56px; max-width: 62ch; }

/* ------------------------------------------------------------ bacias */
.basins { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-bottom: var(--sec); align-items: start; }
.basins-photo { grid-column: 1 / 7; position: sticky; top: 96px; }
.basins-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.basins-text { grid-column: 7 / 13; display: grid; gap: 24px; }
.basins-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.basins-table td { white-space: nowrap; }
.basins-table td:first-child { white-space: normal; }
.basins-table th, .basins-table td { text-align: right; padding: 12px 10px; }
.basins-table th:first-child, .basins-table td:first-child { text-align: left; padding-left: 0; }
.basins-table thead th { font-size: var(--t-sm); font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); }
.basins-table tbody tr:nth-child(odd) td { background: color-mix(in srgb, var(--field) 55%, transparent); }
.basins-table tbody tr td:first-child { font-weight: 500; }
.pill { display: inline-block; min-width: 56px; padding: 2px 8px; border-radius: 4px; font-weight: 600; text-align: center; }

/* ------------------------------------------------------------ fontes */
.sources { display: flex; align-items: center; gap: 48px; padding-block: 140px; }
.sources-lead { font-size: var(--t-body); font-weight: 400; color: var(--muted); white-space: nowrap; }
.sources ul { list-style: none; padding: 0; display: flex; justify-content: space-between; flex: 1; gap: 24px; flex-wrap: wrap; }
.sources li { font-size: var(--t-mid); font-weight: 600; letter-spacing: -.01em; }

/* ------------------------------------------------------------ API */
.api { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-bottom: var(--sec); }
.api-col { grid-column: 4 / 10; display: grid; gap: 24px; min-width: 0; }
.api-col > *, .ex > * { min-width: 0; }
.api-col > p { max-width: 34em; }
.api-col > p a { color: var(--accent); font-weight: 600; }
.ex { display: grid; gap: 16px; margin-top: 64px; }
.ex-say { font-size: var(--t-mid); font-weight: 500; }
.call { position: relative; background: var(--field); border-radius: 8px; padding: 20px; }
pre { margin: 0; overflow-x: auto; font: 14px/1.6 "IBM Plex Mono", ui-monospace, monospace; }
.call pre { padding-right: 84px; }
.copy { position: absolute; top: 14px; right: 14px; font: 600 13px "IBM Plex Sans", sans-serif; height: 32px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .15s; }
.copy:active { transform: scale(.96); }
.resp { margin-left: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.resp-wide { grid-column: 4 / 13; margin: 16px 0 0 56px; padding: 0; overflow-x: auto; min-width: 0; }
.uf-table td { white-space: nowrap; }
.uf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uf-table th, .uf-table td { padding: 9px 16px; text-align: right; border-bottom: 1px solid var(--line); }
.uf-table th:first-child, .uf-table td:first-child { text-align: left; font-weight: 600; }
.uf-table thead th { color: var(--muted); font-weight: 500; background: var(--bg); }
.uf-table tbody tr:hover td { background: var(--bg); }

/* ------------------------------------------------------------ planos */
.plans { padding-bottom: var(--sec); }
.plans-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--t-mid); }
.plans-table th, .plans-table td { padding: 20px 24px; text-align: left; vertical-align: top; font-weight: 400; }
.plans-table thead th { vertical-align: bottom; padding-top: 32px; }
.plans-table .corner { width: 33%; vertical-align: top; padding-left: 0; }
.plans-table .corner h2 { font-size: var(--t-h2); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.plans-table tbody th { padding-left: 0; }
.p-name { display: block; font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.p-price { display: block; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.03em; line-height: 1.15; }
.p-price small { font-size: 16px; letter-spacing: 0; }
.plans-table tbody tr:nth-child(odd):not(.actions) > * { background: var(--field); }
.plans-table tbody tr:nth-child(odd):not(.actions) > th { padding-left: 16px; }
.plans-table tbody tr:nth-child(even) > th { padding-left: 16px; }
.plans-table .rec { background: var(--fill) !important; color: #fff; }
.plans-table .actions td { padding-top: 28px; padding-bottom: 32px; }
.plans-table .actions .button { width: 100%; }

/* ------------------------------------------------------------ chave */
.cta { padding-bottom: var(--sec); }
.cta-line { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; max-width: 15em; }
.cta-line input, .cta-line button { font: inherit; letter-spacing: inherit; height: 1.12em; vertical-align: baseline; border: 0; border-radius: var(--radius); padding: 0 .25em; }
.cta-line input { width: 7.5em; background: var(--field); color: var(--ink); }
.cta-line input::placeholder { color: var(--muted); }
.cta-line button { background: var(--fill); color: #fff; cursor: pointer; transition: background-color .15s, transform .15s; }
.cta-line button:hover { background: var(--accent-deep); }
.cta-line button:active { transform: scale(.98); }
.cta-note { margin-top: 24px; font-size: var(--t-sm); color: var(--muted); max-width: 40em; }
.cta-note.err { color: #c0392b; }
.key-out { margin-top: 24px; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; max-width: 760px; }
.key-out[hidden] { display: none; }
.key-out code { font: 15px "IBM Plex Mono", monospace; word-break: break-all; flex: 1; }
.key-out button { font: 600 13px inherit; font-family: inherit; height: 36px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--fill); color: #fff; cursor: pointer; }

/* ------------------------------------------------------------ rodapé de blocos */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 0 10px 10px; }
.tile { border-radius: var(--radius); padding: 24px; background: var(--field); min-height: 220px; }
.t-statement { grid-column: 1 / 5; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.t-statement p { font-size: var(--t-mid); line-height: 1.25; letter-spacing: -.01em; }
.t-statement small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.t-nav { grid-column: 5 / 8; display: flex; flex-direction: column; gap: 8px; font-size: var(--t-body); }
.t-nav a { text-decoration: none; width: fit-content; }
.t-nav a:hover { text-decoration: underline; }
.t-time { grid-column: 8 / 10; display: flex; flex-direction: column; justify-content: space-between; font-size: var(--t-mid); }
.t-soft { font-size: 15px; color: var(--muted); }
.t-video { grid-column: 10 / 13; padding: 0; overflow: hidden; position: relative; }
.t-video { margin: 0; }
.t-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.t-word { grid-column: 1 / 9; min-height: 320px; background: var(--night); color: var(--night-ink); display: grid; place-items: center; font-size: clamp(56px, 9vw, 150px); font-weight: 700; letter-spacing: -.05em; }
.t-go { grid-column: 9 / 13; min-height: 320px; background: var(--fill); color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; font-size: 28px; font-weight: 600; transition: background-color .2s; }
.t-go svg { align-self: flex-end; transition: transform .25s var(--ease); }
.t-go:hover { background: var(--accent-deep); }
.t-go:hover svg { transform: translate(6px, -6px); }

/* ------------------------------------------------------------ mapa (Leaflet) */
.leaflet-container { font-family: inherit; background: var(--field); }
.leaflet-tooltip { font-size: 13px; }

/* ------------------------------------------------------------ movimento */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .bars:not(.in) .b { transform: scaleY(0); }
.js .read { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .read.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .read { opacity: 1; transform: none; transition: none; }
  .js .bars:not(.in) .b { transform: none; }
  .bar-item .b, .st-days .fill, .t-go svg { transition: none; }
}

/* ------------------------------------------------------------ tablet */
@media (max-width: 1080px) {
  .hero-in { min-height: 0; }
  .hero-text { grid-column: 1 / 13; }
  .hero .station { grid-column: 1 / 13; margin-top: 48px; }
  .pan-stage { grid-column: 1 / 13; position: static; height: 62svh; }
  .pan-steps { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
  .step, .step:first-child { min-height: 0; padding: 20px; justify-content: flex-start; background: var(--field); border-radius: var(--radius); opacity: 1; gap: 10px; }
  .step.on { background: var(--fill); color: #fff; }
  .step h3 { font-size: var(--t-mid); }
  .step p { font-size: 16px; }
  .plans-table { display: none; }
  .plans-m { display: grid !important; gap: 40px; }
  .plans-m .corner-h { font-size: var(--t-h2); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
  .reads .sec-title, .reads-note { grid-column: 1 / 13; }
  .read-word { grid-column: 1 / 4; }
  .row { grid-column: 4 / 13; }
  .basins-photo { grid-column: 1 / 13; position: static; margin-bottom: 40px; }
  .basins-text { grid-column: 1 / 13; }
  .api-col, .resp-wide { grid-column: 1 / 13; }
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .t-statement { grid-column: 1 / 7; }
  .t-nav { grid-column: 1 / 4; } .t-time { grid-column: 4 / 7; }
  .t-video { grid-column: 1 / 7; min-height: 260px; }
  .t-word { grid-column: 1 / 7; } .t-go { grid-column: 1 / 7; min-height: 200px; }
}

/* ------------------------------------------------------------ telefone */
@media (max-width: 640px) {
  :root { --m: 16px; --gap: 12px; --t-body: 17px; --t-mid: 19px; --sec: 104px; }
  :root { --bar-h: 60px; }
  .bar { gap: 12px; }
  .bar nav { gap: 14px; font-size: 14px; }
  .bar nav { display: none; }
  .bar .button { margin-left: auto; }
  .bar .button { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .hero h1 { font-size: 15vw; }
  .hero-cta .button { flex: 1; padding: 0 16px; }
  .hero-figs { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .hero-figs div:last-child { grid-column: 1 / 3; }
  .station { padding: 18px; gap: 18px; }
  .st-search { grid-template-columns: 1fr auto; }
  .st-search label { grid-column: 1 / 3; }
  .st-hint { grid-column: 1 / 3; }
  .st-name { font-size: 21px; }
  .st-total strong { font-size: 34px; }
  .st-days { height: 190px; gap: 4px; }
  .st-days .v { font-size: 12px; }
  .pan-stage { height: 56svh; }
  .pan-steps { grid-template-columns: 1fr; }
  .pan-legend .sw { min-width: 40px; }
  .states { min-height: auto; padding-top: 48px; }
  .figure { font-size: 26vw; }
  .claim { font-size: 22px; }
  .bars { grid-template-columns: 1fr; grid-auto-rows: 28px; height: auto; gap: 6px; margin-top: 32px; padding-bottom: 32px; }
  .bar-item { flex-direction: row; justify-content: flex-start; height: 28px; }
  .bar-item .b { height: 100%; width: var(--w); padding: 0 8px; justify-content: space-between; align-items: center; transform-origin: left; }
  .js .bars:not(.in) .b { transform: scaleX(0); }
  .bar-item .val { display: none; }
  .bar-item .b::after { content: attr(data-v); font-size: 15px; font-weight: 600; }
  .bar-item.top .b::after { color: #fff; }
  .bar-item:nth-child(n+9) { display: none; }
  .read { grid-template-columns: 1fr; gap: 10px; }
  .read-word { grid-column: 1; text-align: left; font-size: 17px; order: 2; }
  .row { grid-column: 1; }
  .reads-list { gap: 48px; }
  .skill { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .skill b { font-size: 17px; }
  .basins-table { font-size: 14px; }
  .basins-table th, .basins-table td { padding: 10px 6px; }
  .sources { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 88px; }
  .sources ul { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; width: 100%; }
  .resp { margin-left: 0; }
  .resp-wide { margin-left: 0; }
  .cta-line { font-size: 24px; line-height: 1.3; }
  .cta-line input, .cta-line button { height: 1.6em; }
  .cta-line input { display: block; width: 100%; margin: .15em 0; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 var(--m) var(--m); }
  .tile { padding: 20px; }
  .t-word { grid-column: 1 / 3; min-height: 160px; order: -2; font-size: 17vw; }
  .t-go { grid-column: 1 / 3; order: -1; min-height: 160px; }
  .t-nav { grid-column: 1 / 2; } .t-time { grid-column: 2 / 3; }
  .t-video { grid-column: 1 / 3; min-height: 200px; }
  .t-statement { grid-column: 1 / 3; }
}
.plans-m { display: none; }
.plans-m .corner-h { margin-bottom: 8px; }
.plan-block { background: var(--field); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.plan-block.rec { background: var(--fill); color: #fff; }
.plan-block .p-name, .plan-block .p-price { font-size: clamp(30px, 7vw, 44px); }
.plan-block dl { margin: 0; display: grid; gap: 10px; font-size: 17px; }
.plan-block dt { opacity: .75; }
.plan-block dd { margin: 0 0 4px; }
.plan-block .button { width: 100%; margin-top: 8px; }
