/* Landing do produto — "Um dia no relógio": o escritório dos vídeos da Horizonte Imóveis. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --petroleo: #0f4c5c;
  --petroleo-claro: #17687b;
  --petroleo-fundo: #0a2c36;
  --tinta: #0b2a33;
  --tinta-2: #3d5a63;
  --parede: #ede6db;
  --parede-linha: #d8cbb8;
  --madeira: #c9a27c;
  --papel: #ffffff;
  --nevoa: #edf3f4;
  --laranja: #e36414;
  --laranja-botao: #c54e0c;
  --laranja-hover: #a9420a;
  --legenda: #ffb347;
  --ceu-dia: #9fd3f5;
  --noite: #1a2238;
  --noite-predio: #27324d;
  --luz: #ffd27a;
  --erro: #b3261e;
  --sombra: 0 22px 44px -22px rgba(10, 44, 54, 0.5), 0 2px 6px rgba(10, 44, 54, 0.08);
  --sombra-leve: 0 10px 28px -16px rgba(10, 44, 54, 0.35);
  --raio: 18px;
  --raio-video: 24px;
  --borda: clamp(16px, 4vw, 56px);
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--petroleo);
  scrollbar-color: var(--petroleo-claro) var(--parede);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--laranja);
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--legenda);
  color: var(--tinta);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
  border-radius: 6px;
}

.nav :focus-visible,
.hero :focus-visible,
.teste-ok :focus-visible,
.plano-destaque :focus-visible,
.fim :focus-visible,
.foot :focus-visible,
.player :focus-visible {
  outline-color: var(--legenda);
}

.ico {
  width: 22px;
  height: 22px;
  flex: none;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--papel);
  color: var(--tinta);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.fine {
  color: var(--tinta-2);
  font-size: 14px;
  line-height: 1.55;
  max-width: 72ch;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn .ico {
  transition: transform 0.25s var(--ease);
}

@media (hover: hover) {
  .btn:hover .ico {
    transform: translateX(3px);
  }
}

.btn-lg {
  min-height: 58px;
  padding: 14px 28px;
  font-size: 19px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-orange {
  background: var(--laranja-botao);
  color: var(--papel);
  box-shadow: 0 10px 22px -12px rgba(4, 22, 28, 0.55);
}

.btn-orange:hover {
  background: var(--laranja-hover);
}

.btn-orange:active {
  transform: translateY(1px);
}

.btn-orange:disabled {
  cursor: progress;
  background: #8a6a58;
  box-shadow: none;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--papel);
}

.btn-ghost-light:hover {
  background: var(--papel);
  color: var(--petroleo);
}

.btn-outline {
  background: var(--papel);
  border-color: var(--petroleo);
  color: var(--petroleo);
}

.btn-outline:hover {
  background: var(--petroleo);
  color: var(--papel);
}

.link-btn {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--tinta-2);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.link-btn:hover {
  color: var(--tinta);
}

/* ---------- marca e navegação ---------- */

/* Símbolo Reimobi (SVG oficial em /marca, ver _marca/reimobi/SPEC-marca.md) */
.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: none;
}

.brand-mark-sm {
  width: 30px;
  height: 30px;
}

/* Logo horizontal: a altura manda, a largura acompanha a proporção do SVG */
.brand-logo {
  display: block;
  width: auto;
  height: 36px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--nav-h);
  padding: 0 var(--borda);
  background: var(--petroleo);
  color: var(--papel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}

.nav-links a,
.nav-cliente {
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-cliente:hover {
  color: var(--legenda);
}

.nav-cliente {
  opacity: 0.85;
}

.nav-cta {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 16px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: var(--papel);
  content: '';
  transition: transform 0.25s var(--ease);
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded='true'] span {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- relógio de parede ---------- */

.relogio svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.relogio-aro {
  fill: var(--papel);
  stroke: var(--tinta);
  stroke-width: 6;
}

.relogio-face {
  fill: var(--papel);
}

.relogio-marcas {
  stroke: var(--tinta);
  stroke-width: 4;
  stroke-linecap: round;
  fill: none;
}

.relogio-hora,
.relogio-min {
  stroke: var(--tinta);
  stroke-linecap: round;
  transform-origin: 60px 60px;
}

.relogio-hora {
  stroke-width: 6;
}

.relogio-min {
  stroke-width: 4;
  stroke: var(--laranja);
}

.relogio-eixo {
  fill: var(--tinta);
}

/* ---------- vídeo em cartão 9:16 ---------- */

.video-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  width: 100%;
  padding: 0;
  text-decoration: none;
  overflow: hidden;
  border: 0;
  border-radius: var(--raio-video);
  background: var(--petroleo-fundo);
  box-shadow: var(--sombra);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

@media (hover: hover) {
  .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 56px -24px rgba(10, 44, 54, 0.6), 0 2px 6px rgba(10, 44, 54, 0.1);
  }
}

.video-card:active {
  transform: scale(0.985);
}

.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-som {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(11, 42, 51, 0.86);
  color: var(--papel);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.video-som .ico {
  width: 18px;
  height: 18px;
  color: var(--legenda);
}

.video-card:hover .video-som,
.video-card:active .video-som {
  background: var(--laranja-botao);
}

.video-card:hover .video-som .ico,
.video-card:active .video-som .ico {
  color: var(--papel);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 7vh, 88px) var(--borda) clamp(56px, 9vh, 104px);
  background: radial-gradient(120% 90% at 78% 22%, var(--petroleo-claro) 0%, var(--petroleo) 46%, var(--petroleo-fundo) 100%);
  color: var(--papel);
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(40px, 5.3vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--legenda);
}

.hero-lead {
  margin-top: 24px;
  max-width: 48ch;
  font-size: clamp(18px, 1.5vw, 21px);
  color: #d6e6ea;
}

.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-condicao {
  margin-top: 12px;
  color: #d6e6ea;
  font-size: 15px;
}

.hero-condicao:empty {
  display: none;
}

.hero-prova {
  margin-top: 28px;
  padding-top: 18px;
  max-width: 52ch;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 16px;
  color: #d6e6ea;
}

.hero-prova b {
  color: var(--papel);
}

.hero-cena {
  position: relative;
  justify-self: center;
  width: min(100%, calc(min(72vh, 640px) * 9 / 16 + 34px));
  margin: 0;
  padding: 34px 0 0 34px;
}

.hero-video .video-som {
  bottom: 14px;
  left: 14px;
  min-height: 44px;
  padding: 9px 16px;
  font-size: 16px;
}

.relogio-hero {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: clamp(62px, 7vw, 96px);
  height: clamp(62px, 7vw, 96px);
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(10, 44, 54, 0.42));
}

.historia {
  background: var(--parede);
  color: var(--tinta);
}

.historia > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
  padding: clamp(24px, 4vw, 52px) var(--borda);
  list-style: none;
  cursor: pointer;
}

.historia > summary::-webkit-details-marker {
  display: none;
}

.historia summary b {
  display: block;
  font-size: clamp(22px, 3.4vw, 44px);
  line-height: 1.1;
}

.historia summary small {
  color: var(--tinta-2);
  font-size: 15px;
}

.historia-horas, .dia-atalhos b {
  font-variant-numeric: tabular-nums;
}

.historia-horas {
  color: var(--petroleo);
  font-size: clamp(14px, 2.2vw, 30px);
  font-weight: 750;
}

.historia summary > .ico {
  color: var(--petroleo);
  width: 24px;
  height: 24px;
}

.historia[open] summary > .ico {
  transform: rotate(45deg);
}

.historia .dia {
  border-top: 1px solid var(--parede-linha);
  padding-top: clamp(32px, 6vh, 64px);
}

.dia-atalhos ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.dia-atalhos a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--parede-linha);
  border-radius: 999px;
  background: var(--papel);
  color: var(--petroleo);
  text-decoration: none;
  font-size: 15px;
}

.dia-atalhos a:hover {
  border-color: var(--petroleo);
}

@media (max-width: 540px) {
  .historia > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .historia-horas {
    grid-column: 1;
    grid-row: 2;
  }

  .historia summary > .ico {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.capitulo .cap-video-largo {
  aspect-ratio: 16 / 9;
}

.capitulo-fechamento {
  grid-template-columns: minmax(0, 1fr);
}

.dia-cabeca .btn {
  margin-top: 14px;
}

/* ---------- o dia ---------- */

.dia {
  --ceu: var(--ceu-dia);
  --predio: #a9c6dc;
  --acesas: 0;
  padding: clamp(64px, 10vh, 120px) var(--borda) clamp(48px, 8vh, 96px);
  background: var(--parede);
}

.dia-cabeca {
  max-width: 820px;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.dia-cabeca p {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--tinta-2);
}

.dia-grade {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.dia-fixo {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: grid;
  gap: 18px;
  justify-items: center;
}

.janela {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 10px;
  border-radius: 16px;
  background: var(--papel);
  box-shadow: var(--sombra-leve);
}

.janela svg {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.janela-ceu {
  fill: var(--ceu);
  transition: fill 0.4s linear;
}

.janela-predios rect {
  fill: var(--predio);
  transition: fill 0.4s linear;
}

.janela-luzes rect {
  fill: var(--luz);
  opacity: var(--acesas);
  transition: opacity 0.4s linear;
}

.janela-cruz {
  stroke: var(--papel);
  stroke-width: 8;
}

.relogio-dia {
  width: 132px;
  height: 132px;
  margin-top: -54px;
  filter: drop-shadow(0 10px 14px rgba(10, 44, 54, 0.22));
}

.dia-agora {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.dia-agora span {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.dia-agora small {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--tinta-2);
}

.capitulos {
  margin: 0;
  padding: 0;
  list-style: none;
}

.capitulo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 20vw, 300px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 6vh, 64px) 0;
  border-top: 1px solid var(--parede-linha);
}

.capitulo:first-child {
  border-top: 0;
  padding-top: 0;
}

.cap-dor {
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Placa de legenda: a mesma caixa escura das legendas dos vídeos. */
.placa {
  padding: 0.06em 0.34em 0.1em;
  border-radius: 0.22em;
  background: var(--tinta);
  color: var(--papel);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.placa-hora {
  color: var(--legenda);
  font-variant-numeric: tabular-nums;
}

.cap-caos {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--tinta-2);
  font-size: 18px;
}

.cap-tela {
  margin: 26px 0 0;
}

.cap-janela {
  overflow: hidden;
  border-radius: 14px;
  background: var(--papel);
  box-shadow: var(--sombra);
}

.cap-barra {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #e4ecee;
}

.cap-barra i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c3cfd2;
  flex: none;
}

.cap-barra i:first-child {
  background: var(--laranja);
}

.cap-barra span {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--papel);
  color: var(--tinta-2);
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cap-tela img {
  width: 100%;
  height: auto;
}

.cap-tela-celular img {
  width: min(56%, 240px);
  border: 6px solid var(--tinta);
  border-radius: 30px;
  background: var(--papel);
  box-shadow: var(--sombra);
}

.arquivo {
  font-weight: 700;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(11, 42, 51, 0.08);
  color: var(--tinta);
  overflow-wrap: anywhere;
}

.cap-tela figcaption {
  margin-top: 14px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--tinta-2);
}

.cap-tela figcaption b {
  color: var(--petroleo);
  font-weight: 800;
}

.capitulo-fim .btn {
  margin-top: 26px;
}

.dia-fine {
  margin-top: 28px;
}

/* ---------- fluxo ---------- */

.fluxo {
  padding: clamp(64px, 10vh, 120px) var(--borda);
  background: var(--papel);
}

.fluxo-cabeca {
  max-width: 860px;
}

.fluxo-cabeca p {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--tinta-2);
}

.trilho {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: clamp(40px, 6vh, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.trilho li {
  position: relative;
  padding: 36px 16px 0 0;
}

.trilho li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--petroleo);
}

.trilho li:first-child::before {
  left: 9px;
}

.trilho li:last-child::before {
  right: auto;
  width: 12px;
}

.trilho li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 4px solid var(--petroleo);
  border-radius: 50%;
  background: var(--papel);
}

.trilho li:first-child::after,
.trilho li:last-child::after {
  border-color: var(--laranja);
  background: var(--laranja);
}

.estante {
  width: 100%;
  margin-top: 4px;
}

.estante-tabua {
  fill: var(--madeira, #c9a27c);
}

.estacao {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--petroleo);
}

.trilho p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tinta-2);
}

.fluxo-extra {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: 28px;
  border-top: 1px solid #dfe7e9;
}

.fluxo-extra p {
  font-size: 16px;
  color: var(--tinta-2);
}

.fluxo-extra b {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: var(--tinta);
}

/* ---------- teste grátis ---------- */

.teste {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(64px, 10vh, 120px) var(--borda);
  background: var(--nevoa);
}

.teste-intro > p {
  margin-top: 16px;
  max-width: 50ch;
  color: var(--tinta-2);
}

.navegador {
  margin-top: 32px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--papel);
  box-shadow: var(--sombra);
}

.navegador-barra {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #e4ecee;
}

.navegador-bolas {
  display: flex;
  gap: 6px;
  flex: none;
}

.navegador-bolas i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c3cfd2;
}

.navegador-bolas i:first-child {
  background: var(--laranja);
}

.navegador-url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--papel);
  font-size: 16px;
  line-height: 1.3;
}

.navegador-url .ico {
  width: 16px;
  height: 16px;
  color: var(--tinta-2);
}

.navegador-host {
  min-width: 0;
}

.addr-slug {
  color: var(--laranja-botao);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.addr-slug.is-empty {
  color: #74878d;
  font-weight: 600;
}

#addr-base {
  color: var(--tinta-2);
  white-space: nowrap;
}

.navegador-corpo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding: 28px 24px 30px;
}

.navegador-corpo .brand-mark {
  grid-row: 1 / 3;
  width: 52px;
  height: 52px;
}

.navegador-nome {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.addr-status {
  font-size: 15px;
  color: var(--tinta-2);
}

.addr-status.ok {
  color: #1c7a4b;
  font-weight: 600;
}

.addr-status.bad {
  color: var(--erro);
  font-weight: 600;
}

.passos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}

.passos li {
  counter-increment: passo;
  font-size: 15px;
  line-height: 1.4;
  color: var(--tinta-2);
}

.passos li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--petroleo);
  color: var(--papel);
  font-weight: 800;
  font-size: 15px;
}

.passos b {
  display: block;
  color: var(--tinta);
  font-size: 17px;
}

.teste-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 22px;
  background: var(--papel);
  box-shadow: var(--sombra);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field label,
.field legend {
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--tinta);
}

.field input,
.slug-row {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1.5px solid #9fb1b6;
  border-radius: 12px;
  background: var(--papel);
  color: var(--tinta);
  font-size: 17px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input::placeholder,
.slug-row input::placeholder {
  color: #6b7f85;
}

.field input:focus,
.slug-row:focus-within {
  border-color: var(--petroleo);
  box-shadow: 0 0 0 4px rgba(15, 76, 92, 0.15);
  outline: none;
}

.field input[aria-invalid='true'] {
  border-color: var(--erro);
}

.slug-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.slug-row input {
  flex: 1 1 auto;
  min-width: 60px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--laranja-botao);
  font-weight: 700;
  outline: none;
}

.slug-base {
  flex: none;
  font-size: 15px;
  color: var(--tinta-2);
  white-space: nowrap;
}

.hint {
  font-size: 14px;
  color: var(--tinta-2);
}

.porte-opts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.porte-opts label {
  position: relative;
  cursor: pointer;
}

.porte-opts input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.porte-opts span {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 6px;
  border: 1.5px solid #9fb1b6;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.porte-opts label:hover span {
  border-color: var(--petroleo);
}

.porte-opts input:checked + span {
  background: var(--petroleo);
  border-color: var(--petroleo);
  color: var(--papel);
}

.porte-opts input:focus-visible + span {
  outline: 3px solid var(--laranja);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.aceite {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--tinta-2);
  cursor: pointer;
}

.aceite input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--petroleo);
}

.form-err {
  color: var(--erro);
  font-size: 15px;
  font-weight: 600;
}

.form-err:empty {
  display: none;
}

.form-err a {
  color: var(--petroleo);
}

.form-alt {
  font-size: 15px;
  color: var(--tinta-2);
  text-align: center;
}

.form-alt a {
  color: var(--petroleo);
  font-weight: 600;
}

.teste-ok {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-column: 2;
  grid-row: 1;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 22px;
  background: var(--petroleo);
  color: var(--papel);
  box-shadow: var(--sombra);
}

.teste-ok[hidden] {
  display: none;
}

.ok-selo {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--legenda);
  font-size: 15px;
  font-weight: 700;
}

.ok-selo .ico {
  width: 18px;
  height: 18px;
}

.teste-ok h3 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.teste-ok p {
  color: #d6e6ea;
}

.ok-link {
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

/* ---------- planos ---------- */

.planos {
  padding: clamp(64px, 10vh, 120px) var(--borda);
  background: var(--papel);
}

.planos-cabeca {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.ciclo {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--nevoa);
}

.ciclo-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--tinta);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.ciclo-btn small {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--legenda);
  color: var(--tinta);
  font-size: 13px;
}

.ciclo-btn.is-on {
  background: var(--petroleo);
  color: var(--papel);
}

/* Teste grátis desligado no console da plataforma. */
.planos-grid {
  display: grid;
  grid-template-columns: repeat(var(--planos, 3), minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.plano {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.4vw, 36px);
  border: 1.5px solid #dbe4e6;
  border-radius: 22px;
  background: var(--papel);
}

.plano-destaque {
  border-color: var(--petroleo);
  background: var(--petroleo);
  color: var(--papel);
}

.plano-selo {
  position: absolute;
  top: -14px;
  left: clamp(24px, 2.4vw, 36px);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--legenda);
  color: var(--tinta);
  font-size: 14px;
  font-weight: 800;
}

.plano-nome {
  font-size: 30px;
  line-height: 1.1;
}

.plano-para {
  min-height: 3.2em;
  font-size: 16px;
  color: var(--tinta-2);
}

.plano-destaque .plano-para,
.plano-destaque .preco-anual,
.plano-destaque .preco .per {
  color: #d6e6ea;
}

.preco {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.preco .rs {
  font-size: 22px;
  font-weight: 700;
}

.preco .valor {
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.preco .per {
  font-size: 17px;
  color: var(--tinta-2);
}

.preco-anual {
  min-height: 1.5em;
  font-size: 15px;
  color: var(--tinta-2);
}

.plano ul {
  flex: 1;
  margin: 8px 0 18px;
  padding: 0;
  list-style: none;
}

.plano li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-top: 1px solid #e3eaec;
  font-size: 16px;
  line-height: 1.45;
}

.plano li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 16px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--petroleo-claro);
  border-bottom: 2.5px solid var(--petroleo-claro);
  transform: rotate(-45deg);
}

.plano-destaque li {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.plano-destaque li::before {
  border-color: var(--legenda);
}

.planos-fine {
  margin-top: 28px;
}

/* ---------- dúvidas ---------- */

.duvidas {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(32px, 7vw, 104px);
  padding: clamp(60px, 9vh, 112px) var(--borda);
  background: var(--papel);
  border-top: 1px solid var(--parede-linha);
}

.duvidas-intro p {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--tinta-2);
}

.duvidas-intro .btn {
  margin-top: 20px;
}

.faq {
  min-width: 0;
  border-top: 1px solid var(--parede-linha);
}

.faq details {
  border-bottom: 1px solid var(--parede-linha);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .ico {
  margin-top: 3px;
  color: var(--laranja-botao);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary .ico {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 22px;
  max-width: 60ch;
  color: var(--tinta-2);
}

/* ---------- fechamento: 19h ---------- */

.fim {
  position: relative;
  padding: clamp(80px, 13vh, 150px) var(--borda) clamp(140px, 20vh, 220px);
  background: var(--noite);
  color: var(--papel);
  overflow: hidden;
}

.fim-cidade {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 30%;
}

.fim-cidade rect {
  fill: #20294a;
}

.fim-cidade .acesa {
  fill: var(--luz);
}

.fim-in {
  position: relative;
  max-width: 860px;
}

.fim-hora {
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--luz);
  font-variant-numeric: tabular-nums;
}

.fim h2 {
  margin-top: 12px;
}

.fim-in > p:not(.fim-hora) {
  margin-top: 18px;
  max-width: 54ch;
  font-size: clamp(18px, 1.5vw, 21px);
  color: #d3d8e8;
}

.fim .btn-ghost-light {
  background: var(--noite);
}

.fim .btn-ghost-light:hover {
  background: var(--papel);
}

.fim-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 26px var(--borda) calc(26px + env(safe-area-inset-bottom));
  background: var(--tinta);
  color: #b9cbd0;
  font-size: 15px;
}

.foot > span:nth-child(2) {
  margin-right: auto;
}

.foot a,
.foot .nav-cliente {
  color: var(--papel);
  font-size: 15px;
}

/* ---------- dock mobile ---------- */

.dock {
  display: none;
}

/* ---------- diálogos ---------- */

dialog {
  padding: 0;
  border: 0;
  color: var(--tinta);
  background: transparent;
}

dialog::backdrop {
  background: rgba(10, 44, 54, 0.8);
}

@media (prefers-reduced-motion: no-preference) {
  dialog[open] {
    animation: dialogo 0.4s var(--ease);
  }
}

@keyframes dialogo {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.player {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
}

.player-in {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(260px, 380px);
  align-items: end;
  justify-content: center;
  gap: 32px;
  height: 100%;
  padding: 28px var(--borda);
  color: var(--papel);
}

.player-media {
  height: calc(100dvh - 56px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--raio-video);
  background: #000;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.player-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 12px;
}

.player-titulo {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
}

.player-side p {
  color: #d6e6ea;
}

.player-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--papel);
  color: var(--tinta);
}

.player-demo .player-in {
  grid-template-columns: minmax(0, 1040px);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  align-content: center;
  gap: 16px;
  padding-top: 68px;
}

.player-demo .player-media {
  width: min(100%, calc((100dvh - 236px) * 16 / 9));
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.player-demo .player-side {
  align-items: center;
  text-align: center;
}

/* ---------- link "assinar sem teste" no plano em destaque ---------- */

.link-claro {
  display: block;
  width: 100%;
  margin-top: 6px;
  color: #d6e6ea;
  font-size: 15px;
  text-align: center;
}

.link-claro:hover {
  color: var(--papel);
}

@media (max-width: 1180px) {
  .trilho {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 36px;
  }

  .trilho li:nth-child(4)::before {
    right: auto;
    width: 12px;
  }

  .trilho li:nth-child(5)::before {
    left: 9px;
  }

  .teste {
    grid-template-columns: minmax(0, 1fr);
  }

  .teste-ok {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 60px;
  }

  body {
    font-size: 17px;
  }

  .nav {
    gap: 10px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--borda) 20px;
    background: var(--petroleo);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-cliente {
    padding: 14px 0;
    font-size: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .brand-logo {
    height: 32px;
  }

  /* No toque o botão quebra linha em vez de cortar o texto. */
  .btn {
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 32px;
  }

  .hero-acoes .btn {
    width: 100%;
  }

  .hero-cena {
    width: min(76vw, 300px);
    padding: 21px 0 0 12px;
  }

  .relogio-hero {
    left: 0;
  }

  .duvidas {
    grid-template-columns: minmax(0, 1fr);
  }

  .dia-grade {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .dia-fixo {
    top: var(--nav-h);
    z-index: 5;
    grid-template-columns: auto auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 12px;
    margin: 0 calc(var(--borda) * -1);
    padding: 10px var(--borda);
    background: var(--parede);
    border-bottom: 1px solid var(--parede-linha);
  }

  .janela {
    width: 64px;
    padding: 4px;
    border-radius: 10px;
  }

  .janela svg {
    border-radius: 6px;
  }

  .relogio-dia {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .dia-agora {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }

  .dia-agora span {
    font-size: 28px;
  }

  .dia-agora small {
    margin: 0;
    font-size: 15px;
  }

  .estante {
    display: none;
  }

  .capitulo {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    /* Reserva espaço para o relógio fixo ao abrir um capítulo pelo horário. */
    scroll-margin-top: 70px;
  }

  .capitulo:first-child {
    padding-top: 36px;
  }

  .capitulo .video-card {
    justify-self: center;
    width: min(70vw, 300px);
  }

  .cap-tela-celular img {
    margin-inline: auto;
  }

  .capitulo-fim .btn,
  .fim-acoes .btn {
    width: 100%;
  }

  .cap-dor {
    font-size: 23px;
  }

  .trilho {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .trilho li {
    padding: 0 0 26px 40px;
  }

  .trilho li::before,
  .trilho li:first-child::before,
  .trilho li:nth-child(4)::before,
  .trilho li:nth-child(5)::before {
    top: 0;
    bottom: 0;
    left: 9px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .trilho li:first-child::before {
    top: 11px;
  }

  .trilho li:last-child::before {
    bottom: auto;
    height: 12px;
  }

  .fluxo-extra,
  .faq,
  .planos-grid,
  .field-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .planos-grid {
    gap: 28px;
  }

  .plano-para {
    min-height: 0;
  }

  .porte-opts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .passos {
    grid-template-columns: minmax(0, 1fr);
  }

  .passos li {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 12px;
    align-items: center;
  }

  .passos li::before {
    grid-row: 1 / 3;
    margin: 0;
  }

  .slug-row .slug-base {
    display: none;
  }

  .dock {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--papel);
    box-shadow: 0 -10px 24px -14px rgba(10, 44, 54, 0.4);
    transform: translateY(120%);
    transition: transform 0.35s var(--ease);
  }

  .dock.is-on {
    transform: none;
  }

  .foot {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .foot > span:nth-child(2) {
    flex-basis: calc(100% - 54px);
  }

  .foot a,
  .foot .nav-cliente {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .link-claro {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  /* Links de texto: área de toque maior sem mexer no fluxo da linha. */
  .form-alt a,
  .teste-intro > p a {
    padding-block: 10px;
  }

  .player-in {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: center;
    gap: 16px;
    padding: 12px;
  }

  .player-media {
    height: auto;
    max-height: calc(100dvh - 120px);
    width: min(100%, calc((100dvh - 120px) * 9 / 16));
  }

  .player-side p,
  .player-titulo {
    display: none;
  }

  .player-close {
    top: 10px;
    right: 10px;
  }

  .player-demo .player-in {
    grid-template-rows: auto auto;
    padding: 64px 12px 20px;
  }

  .player-demo .player-media {
    width: min(100%, calc((100dvh - 148px) * 16 / 9));
  }
}

@media (max-width: 480px) {
  /* Telefone: o CTA do topo sai e o dock fixo embaixo assume (zona do polegar). */
  .nav-cta {
    display: none;
  }

  .hero h1 {
    font-size: clamp(34px, 10.4vw, 44px);
  }

  .ciclo {
    width: 100%;
  }

  .ciclo-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 12px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    height: 30px;
  }

  .so-largo {
    display: none;
  }

  .btn-lg {
    font-size: 18px;
    padding: 14px 20px;
  }

  .porte-opts span {
    font-size: 14px;
  }

  /* Telas estreitas: o endereço da imobiliária ganha a largura das bolinhas da janela. */
  .navegador-bolas {
    display: none;
  }

  .navegador-url {
    font-size: 15px;
  }
}

/* ---------- comparação completa dos planos ---------- */

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.planos-tudo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed #cfdcdf;
}

.planos-tudo[hidden] {
  display: none;
}

.planos-tudo p {
  color: var(--tinta-2);
  font-size: 16px;
}

.comparativo {
  width: min(1240px, calc(100vw - 24px));
  max-width: none;
  height: calc(100dvh - 24px);
  max-height: none;
  margin: auto;
  overflow: hidden;
}

.cmp-in {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: var(--papel);
  box-shadow: var(--sombra);
}

.cmp-topo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 14px 24px;
  padding: clamp(20px, 2.6vw, 32px) clamp(20px, 2.6vw, 36px) 14px;
  background: linear-gradient(180deg, var(--nevoa), var(--papel));
  border-bottom: 1px solid #e3eaec;
}

.cmp-kicker {
  margin-bottom: 6px;
  color: var(--petroleo-claro);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmp-titulos h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

.cmp-filtro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 16px 6px 10px;
  border: 1.5px solid #cfdcdf;
  border-radius: 999px;
  background: var(--papel);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.cmp-filtro input {
  width: 20px;
  height: 20px;
  accent-color: var(--petroleo);
}

.cmp-fechar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--petroleo);
  color: var(--papel);
  cursor: pointer;
}

.cmp-indice {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.cmp-chip {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--papel);
  border: 1px solid #dbe4e6;
  color: var(--tinta);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cmp-chip:hover,
.cmp-chip.is-on {
  border-color: var(--petroleo);
  background: var(--petroleo);
  color: var(--papel);
}

.cmp-rolagem {
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 170px;
}

.cmp-tabela {
  width: 100%;
  min-width: calc(260px + var(--cmp-planos, 3) * 150px);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 15px;
}

.cmp-tabela thead th,
.cmp-tabela thead td {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--papel);
  border-bottom: 1px solid #dbe4e6;
  vertical-align: bottom;
}

.cmp-canto {
  width: 36%;
  padding: 16px clamp(16px, 2.6vw, 36px);
  left: 0;
  z-index: 4 !important;
}

.cmp-legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--tinta-2);
  font-size: 13px;
}

.cmp-legenda > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cmp-plano {
  padding: 22px 12px 16px;
  text-align: center;
  font-weight: 400;
}

.cmp-plano > span {
  display: block;
}

.cmp-plano.is-destaque {
  background: var(--petroleo) !important;
  color: var(--papel);
  border-radius: 18px 18px 0 0;
}

.cmp-selo {
  width: max-content;
  margin: 0 auto 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--legenda);
  color: var(--tinta);
  font-size: 12px;
  font-weight: 800;
}

.cmp-plano-nome {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.cmp-plano-preco {
  margin-top: 4px;
  font-size: 14px;
  color: var(--tinta-2);
  font-variant-numeric: tabular-nums;
}

.cmp-plano-preco b {
  font-size: 22px;
  color: var(--tinta);
}

.cmp-plano.is-destaque .cmp-plano-preco,
.cmp-plano.is-destaque .cmp-plano-preco b,
.cmp-plano.is-destaque .cmp-plano-total {
  color: #e4f0f2;
}

.cmp-plano-total {
  margin: 4px 0 12px;
  font-size: 12.5px;
  color: var(--tinta-2);
}

.cmp-cta {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 15px;
}

.cmp-plano.is-destaque .btn-outline {
  border-color: var(--papel);
}

.cmp-tabela tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 12px clamp(16px, 2.6vw, 36px);
  background: var(--papel);
  text-align: left;
  font-weight: 500;
  line-height: 1.35;
  border-bottom: 1px solid #eef2f3;
}

.cmp-cel {
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #eef2f3;
}

.cmp-cel.is-destaque {
  background: rgba(15, 76, 92, 0.055);
}

.cmp-linha:hover th,
.cmp-linha:hover .cmp-cel {
  background: #f4f8f9;
}

.cmp-linha:hover .cmp-cel.is-destaque {
  background: rgba(15, 76, 92, 0.1);
}

.cmp-ok {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(23, 104, 123, 0.12);
  color: var(--petroleo-claro);
  vertical-align: middle;
}

.cmp-legenda .cmp-ok {
  width: 20px;
  height: 20px;
  padding: 3px;
}

.cmp-nao {
  display: inline-block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #c3cfd2;
  vertical-align: middle;
}

.cmp-addon {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid #f3c7a8;
  border-radius: 999px;
  background: #fff3ea;
  color: var(--laranja-hover);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.is-texto b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.is-texto small {
  display: block;
  margin-top: 2px;
  color: var(--tinta-2);
  font-size: 12px;
}

.cmp-novo {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--legenda);
  color: var(--tinta);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: 2px;
}

.cmp-grupo-cab th,
.cmp-grupo-cab td {
  padding-top: 26px !important;
  background: var(--papel);
  border-bottom: 2px solid var(--petroleo) !important;
}

.cmp-grupo-titulo {
  display: block;
  font-size: 19px;
  font-weight: 800;
}

.cmp-grupo-cab small {
  display: block;
  color: var(--tinta-2);
  font-size: 13.5px;
  font-weight: 400;
}

.cmp-medidor small {
  display: block;
  margin-top: 6px;
  color: var(--tinta-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.cmp-barra {
  display: block;
  width: min(110px, 90%);
  height: 6px;
  margin: 0 auto;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--petroleo-claro) var(--pct, 0%), #e3eaec var(--pct, 0%));
}

.so-dif .cmp-linha.is-igual,
.so-dif .cmp-grupo.sem-dif {
  display: none;
}

.cmp-rodape {
  max-width: none;
  padding: 12px clamp(20px, 2.6vw, 36px) 16px;
  border-top: 1px solid #e3eaec;
}

/* Telas baixas (notebook): cabeçalho compacto para sobrar espaço às linhas. */
@media (max-height: 760px) {
  .cmp-topo {
    padding-top: 16px;
    padding-bottom: 10px;
  }

  .cmp-kicker {
    display: none;
  }

  .cmp-titulos h2 {
    font-size: 28px;
  }

  .cmp-plano {
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .cmp-selo,
  .cmp-plano-total {
    display: none !important;
  }

  .cmp-plano-preco {
    margin-bottom: 8px;
  }

  .cmp-rodape {
    display: none;
  }
}

@media (max-width: 760px) {
  .comparativo {
    width: 100vw;
    height: 100dvh;
  }

  .cmp-in {
    border-radius: 0;
  }

  .cmp-topo {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cmp-filtro {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cmp-tabela {
    min-width: calc(124px + var(--cmp-planos, 3) * 86px);
    font-size: 13px;
  }

  .cmp-canto {
    width: 124px;
    padding: 10px 12px;
  }

  .cmp-tabela tbody th {
    padding: 10px 12px;
    font-size: 13px;
  }

  .cmp-cel {
    padding: 8px 4px;
  }

  .cmp-plano {
    padding: 10px 4px 8px;
  }

  .cmp-plano-preco,
  .cmp-plano-preco b {
    font-size: 13px;
  }

  .cmp-cta {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .cmp-addon {
    padding: 2px 6px;
    font-size: 11.5px;
  }

  .cmp-grupo-titulo {
    font-size: 16px;
  }

  .cmp-grupo-cab small,
  .cmp-medidor small {
    display: none;
  }

  .cmp-legenda {
    display: none;
  }

  .cmp-plano-nome {
    font-size: 15px;
  }
}
