/* RTP da Forra: visual do mockup (docs/mockup.webp). Sem framework, sem build.
   Tema escuro só (é a identidade do site): azul-marinho quase preto, dourado em
   degradê, cards com brilho laranja e chips com borda dourada. */

:root {
  --bg: #05080f;
  --bg-2: #070b17;
  --painel: #0a1022;
  --painel-2: #0d1530;
  --campo: #0d1429;
  --linha: rgba(160, 176, 214, 0.14);
  --linha-2: rgba(160, 176, 214, 0.24);
  --texto: #f3f5fa;
  --texto-2: #b9c0d2;
  --texto-3: #838ca6;
  --ouro-1: #ffe58f;
  --ouro-2: #ffc53a;
  --ouro-3: #f29a10;
  --ouro: linear-gradient(180deg, #ffe58f 0%, #ffc83a 48%, #f29a10 100%);
  --ouro-btn: linear-gradient(180deg, #ffdc6a 0%, #ffbf2e 55%, #f5a116 100%);
  --prata: linear-gradient(180deg, #ffffff 0%, #e4e8ef 45%, #a9b0bd 100%);
  --laranja: #ff7a1a;
  --raio: 14px;
  --raio-p: 10px;
  --gutter: 16px;
  --max: 1280px;
  --topo-h: 60px;
  --fonte: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

@media (min-width: 768px) {
  :root { --topo-h: 68px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
html.travado { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fonte);
  font-size: 15px;
  line-height: 1.5;
  color: var(--texto);
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(34, 52, 110, 0.35), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 60%);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* hidden vence qualquer display de componente (.chips, .gestao, .paginacao...) */
[hidden] { display: none !important; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--ouro-1);
  outline-offset: 2px;
}

.pular {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ouro-btn);
  color: #1c1303;
  font-weight: 700;
  text-decoration: none;
}
.pular:focus { top: 12px; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

section[id], main[id] { scroll-margin-top: calc(var(--topo-h) + 12px); }

/* Texto em degradê */
.ouro {
  background: var(--ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prata {
  background: var(--prata);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Borda dourada em degradê que respeita o raio (máscara no ::before) */
.borda-ouro { position: relative; }
.borda-ouro::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffe9a3 0%, #e0a128 55%, #8f5b10 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Ícones do set próprio */
.ico { width: 20px; height: 20px; flex: none; }
.ico-grad.ico-f { fill: url(#g-ouro); }
.ico-grad.ico-s { color: var(--ouro-2); }

/* ------------------------------------------------------------------ topo */

.topo {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 7, 14, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.topo__in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--topo-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex: none;
  border-radius: 8px;
}
.logo__coroa {
  width: 40px;
  height: 36px;
  fill: url(#g-ouro);
  filter: drop-shadow(0 2px 6px rgba(255, 170, 30, 0.35));
}
.logo__txt {
  display: flex;
  flex-direction: column;
  font-style: italic;
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.02em;
}
.logo__l1 { display: flex; align-items: flex-end; gap: 3px; }
.logo__l1 b {
  font-weight: 900;
  font-size: 22px;
  background: var(--prata);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo__l1 i {
  font-size: 12px;
  padding-bottom: 1px;
  background: var(--ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo__l2 {
  font-size: 25px;
  padding-right: 2px;
  background: var(--ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(120, 60, 0, 0.6));
}
.logo img { height: 44px; width: auto; }

.menu { margin-left: 28px; }
.menu__lista { display: flex; align-items: stretch; gap: 6px; height: var(--topo-h); }
.menu__lista li { display: flex; }
.menu__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: #e9ecf3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.menu__link:hover { color: #fff; }
.menu__link.ativo { color: var(--ouro-2); font-weight: 700; }
.menu__link.ativo::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--ouro);
  box-shadow: 0 0 12px rgba(255, 190, 40, 0.8);
}

.busca {
  position: relative;
  margin-left: auto;
  width: min(360px, 34vw);
}
.busca input {
  width: 100%;
  height: 42px;
  padding: 0 46px 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(214, 222, 240, 0.22);
  background: linear-gradient(180deg, #0c1328, #0a1022);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--texto);
  font-size: 14.5px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.busca input::placeholder { color: #c9cfdd; opacity: 1; }
.busca input:focus-visible { border-color: rgba(255, 205, 80, 0.7); box-shadow: 0 0 0 3px rgba(255, 197, 58, 0.18); }
.busca input::-webkit-search-cancel-button { filter: invert(1) opacity(0.6); }
.busca__btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ouro-2);
}
.busca__btn .ico { width: 21px; height: 21px; }

.topo__btn {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--linha-2);
  background: var(--campo);
  color: var(--texto);
}
.topo__btn .ico { width: 22px; height: 22px; }
.topo__btn[aria-expanded="true"] { color: var(--ouro-2); border-color: rgba(255, 197, 58, 0.6); }
.topo__btn--busca { color: var(--ouro-2); }

@media (max-width: 1099px) {
  .menu { margin-left: 12px; }
  .menu__link { padding: 0 10px; font-size: 14px; }
  .busca { width: min(280px, 30vw); }
}

/* Menu em hambúrguer abaixo de 900px */
@media (max-width: 899px) {
  .topo__btn--menu { display: grid; }
  .menu {
    display: none;
    position: absolute;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    top: 100%;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    background: rgba(5, 8, 16, 0.98);
    border-bottom: 1px solid var(--linha);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  }
  .topo--menu .menu { display: block; }
  .menu__lista { flex-direction: column; height: auto; gap: 2px; }
  .menu__link { min-height: 48px; padding: 0 12px; font-size: 16px; border-radius: 10px; }
  .menu__link.ativo { background: rgba(255, 197, 58, 0.08); }
  .menu__link.ativo::after { left: auto; right: 14px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .busca { width: auto; flex: 1; max-width: 360px; }
}

/* Celular: busca vira botão que abre uma linha abaixo do topo */
@media (max-width: 639px) {
  .topo__in { gap: 8px; }
  .logo__coroa { width: 34px; height: 30px; }
  .logo__l1 b { font-size: 19px; }
  .logo__l1 i { font-size: 11px; }
  .logo__l2 { font-size: 21px; }
  .topo__btn--busca { display: grid; margin-left: auto; }
  .busca {
    display: none;
    position: absolute;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    top: 100%;
    max-width: none;
    margin: 0;
    padding: 10px var(--gutter) 12px;
    background: rgba(5, 8, 16, 0.98);
    border-bottom: 1px solid var(--linha);
  }
  .busca__btn { right: calc(var(--gutter) + 4px); top: 14px; }
  .topo--busca .busca { display: block; }
}

/* ------------------------------------------------------------------ hero */

.hero { position: relative; background: #070b18; }
.hero__janela { position: relative; overflow: hidden; }
.hero__trilho {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.7, 0.2, 1);
  touch-action: pan-y;
  will-change: transform;
}
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 2400 / 820;
  min-height: 300px;
  max-height: 640px;
  overflow: hidden;
  background: #0a0f22;
}
.hero__slide a { display: block; height: 100%; }
.hero__slide picture, .hero__slide img {
  width: 100%;
  height: 100%;
}
.hero__slide img { object-fit: cover; object-position: center; }
.hero__slide::after {
  /* escurece o pé pra os chips lerem bem sobre a arte */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 15, 0.55));
  pointer-events: none;
}
.hero__slide--carregando {
  background:
    radial-gradient(60% 90% at 78% 40%, rgba(255, 120, 30, 0.18), transparent 70%),
    linear-gradient(120deg, #081230 0%, #150c2c 55%, #2a0f12 100%);
}
.hero__slide--vazio {
  display: flex;
  align-items: center;
  background:
    radial-gradient(55% 90% at 80% 45%, rgba(255, 140, 40, 0.28), transparent 70%),
    linear-gradient(120deg, #081236 0%, #2a0d3a 55%, #8a1d12 100%);
}
.hero__marca {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
  padding-bottom: 60px;
  font-style: italic;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.02em;
}
.hero__marca .l1 { display: block; font-size: clamp(40px, 7vw, 96px); }
.hero__marca .l2 { display: block; font-size: clamp(54px, 9.5vw, 132px); filter: drop-shadow(0 4px 0 rgba(110, 50, 0, 0.7)); }
.hero__marca .l3 {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 20px);
  letter-spacing: 0.08em;
}

.hero__pe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 2.6vw, 34px);
  display: flex;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
}
.hero__pe > * { pointer-events: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 20px 11px 14px;
  border-radius: 12px;
  background: rgba(6, 8, 16, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 16px rgba(255, 190, 50, 0.12);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
a.chip:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 190, 50, 0.25); }
.chip__ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; }
.chip__ico .ico { width: 32px; height: 32px; filter: drop-shadow(0 2px 6px rgba(255, 170, 30, 0.35)); }
.chip__txt { display: flex; flex-direction: column; line-height: 1.25; text-transform: uppercase; }
.chip__txt small { font-size: 12px; font-weight: 500; color: #eef1f7; white-space: nowrap; }
.chip__txt strong { font-size: 14px; font-weight: 800; color: #fff; white-space: nowrap; }

.hero__pontos { display: flex; gap: 8px; margin-left: auto; padding: 6px 0; }
.hero__ponto {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.25);
  transition: width 0.25s, background 0.25s;
}
.hero__ponto[aria-current="true"] { width: 26px; border-color: transparent; background: var(--ouro); box-shadow: 0 0 10px rgba(255, 190, 40, 0.6); }

/* Celular: arte quadrada (imagemMobileUrl) e chips montados no pé do hero */
@media (max-width: 639px) {
  .hero--quadrado .hero__slide { aspect-ratio: 1 / 1; min-height: 0; max-height: none; }
  .hero__slide { min-height: 190px; }
  .hero__slide::after { display: none; }
  .hero__pe {
    position: relative;
    bottom: auto;
    margin-top: -26px;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }
  .hero__pontos { position: absolute; top: -26px; left: 0; right: 0; justify-content: center; margin: 0; transform: translateY(-100%); }
  .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .chip { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px; text-align: center; }
  .chip__ico, .chip__ico .ico { width: 24px; height: 24px; }
  .chip__txt small { font-size: 9.5px; white-space: normal; }
  .chip__txt strong { font-size: 11px; white-space: normal; }
  /* 4 chips (ex.: o da parceira) = 2x2, ícone ao lado do texto, em vez de 3 + 1 sozinho */
  .chips:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips:has(> :nth-child(4):last-child) .chip { flex-direction: row; justify-content: flex-start; gap: 8px; padding: 9px 10px; text-align: left; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .chips { gap: 10px; }
  .chip { padding: 9px 14px 9px 10px; gap: 8px; }
  .chip__ico, .chip__ico .ico { width: 26px; height: 26px; }
  .chip__txt small { font-size: 10.5px; }
  .chip__txt strong { font-size: 12px; }
}

/* ------------------------------------------------------------------ painéis */

.painel {
  border-radius: var(--raio);
  border: 1px solid rgba(160, 176, 214, 0.1);
  background: linear-gradient(180deg, #0b1124 0%, #080d1b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ------------------------------------------------------------------ provedoras */

.prov { margin-top: 16px; padding: 14px 10px 14px; }
.prov__cab { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 0 12px 12px; }
.prov__titulo { font-size: 17px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; }
.prov__sub { font-size: 12.5px; color: var(--texto-2); }

.prov__car { display: flex; align-items: center; gap: 4px; }
.seta {
  flex: none;
  width: 30px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ouro-2);
}
.seta .ico { width: 22px; height: 22px; }
.seta:hover:not(:disabled) { background: rgba(255, 197, 58, 0.08); }
.seta:disabled { opacity: 0.3; cursor: default; }

.prov__lista {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
}
.prov__lista::-webkit-scrollbar { display: none; }

.prov__item {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 118px;
  height: 70px;
  padding: 6px 16px;
  border-radius: var(--raio-p);
  border: 1px solid rgba(160, 176, 214, 0.14);
  background: linear-gradient(180deg, #0c1326, #080d1b);
  color: #f3f5fa;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.prov__item:hover { border-color: rgba(255, 210, 110, 0.4); }
.prov__item[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(255, 197, 58, 0.1), rgba(255, 197, 58, 0.02)), #0b1124;
  box-shadow: 0 0 18px rgba(255, 190, 40, 0.32), inset 0 0 12px rgba(255, 190, 40, 0.1);
}
.prov__item[aria-pressed="true"]::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffe9a3, #f0a92a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.prov__item--todas { min-width: 96px; }
.prov__item--todas .ico { width: 24px; height: 24px; }
.prov__item--todas span { font-size: 14px; font-weight: 600; }
.prov__item--todas[aria-pressed="true"] span { color: var(--ouro-2); }
.prov__item img { max-height: 40px; max-width: 120px; width: auto; height: auto; object-fit: contain; }
.prov__nome {
  max-width: 130px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}
.prov__nome small { display: block; margin-top: 3px; font-size: 8.5px; font-weight: 600; letter-spacing: 0.32em; opacity: 0.75; }

/* ------------------------------------------------------------------ termômetro */

.termo {
  position: relative;
  margin-top: 16px;
  padding: 20px 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 128, 36, 0.5);
  background:
    radial-gradient(70% 140px at 0% 0%, rgba(255, 96, 20, 0.16), transparent 70%),
    radial-gradient(50% 120px at 100% 0%, rgba(255, 150, 40, 0.07), transparent 70%),
    linear-gradient(180deg, #0b0f1f 0%, #080b17 100%);
  box-shadow:
    0 0 0 1px rgba(255, 120, 30, 0.06),
    0 0 26px rgba(255, 110, 20, 0.2),
    inset 0 1px 0 rgba(255, 170, 70, 0.3);
}

.termo__cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.termo__tit { display: flex; align-items: center; gap: 14px; min-width: 0; }
.termo__fogo { width: 60px; height: 64px; flex: none; filter: drop-shadow(0 0 14px rgba(255, 110, 20, 0.55)); }
.termo__h { font-size: clamp(22px, 3vw, 34px); text-wrap: balance; font-weight: 900; line-height: 1.1; letter-spacing: -0.005em; text-transform: uppercase; }
.termo__sub { margin-top: 4px; font-size: 15px; color: #dfe3ec; }

.contador {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(8, 10, 18, 0.65);
  box-shadow: 0 0 18px rgba(255, 190, 50, 0.1);
}
.contador--btn {
  appearance: none;
  border: 1px solid rgba(255, 196, 46, 0.55);
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s;
  user-select: none;
}
.contador--btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 102, 0.9);
  background: rgba(14, 18, 32, 0.85);
  box-shadow: 0 0 24px rgba(255, 190, 50, 0.28), inset 0 0 14px rgba(255, 190, 50, 0.12);
}
.contador--btn:active {
  transform: translateY(0) scale(0.98);
}
.contador--btn:focus-visible {
  outline: 2px solid #fff3c2;
  outline-offset: 3px;
}
.contador__ico-atualizar {
  width: 32px;
  height: 32px;
  color: var(--ouro-2);
  flex: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contador--btn:hover .contador__ico-atualizar {
  transform: rotate(45deg);
}
.contador__ico-atualizar--girando {
  animation: girar 0.8s linear infinite !important;
}
@keyframes girar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.contador__relogio { width: 40px; height: 40px; color: var(--ouro-2); flex: none; }
.contador__txt { display: flex; flex-direction: column; min-width: 0; }
.contador__rot { font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: #eef1f7; text-transform: uppercase; }
.contador__tempo {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  background: var(--ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contador__tempo--btn {
  font-size: 17px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.contador__barras { width: 32px; height: 32px; margin-left: 10px; fill: url(#g-ouro); flex: none; }

/* Estado quando os 2 minutos terminam: escrita verdinha pulsante Atualizar */
.contador--pronto {
  border-color: rgba(74, 222, 128, 0.75) !important;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.35), inset 0 0 14px rgba(34, 197, 94, 0.15) !important;
  animation: bordaPulsar 2s ease-in-out infinite;
}
.contador--pronto .contador__relogio {
  color: #4ade80 !important;
  animation: pulsarVerde 1.8s ease-in-out infinite;
}
.contador--pronto .contador__rot {
  color: #86efac !important;
}
.contador__tempo--verde-pulsante {
  font-size: 26px !important;
  font-weight: 900 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #4ade80 !important;
  text-shadow: 0 0 14px rgba(74, 222, 128, 0.8), 0 0 28px rgba(34, 197, 94, 0.5);
  animation: pulsarVerde 1.6s ease-in-out infinite;
  display: inline-block;
}
.contador__relogio--girando {
  animation: girar 0.8s linear infinite !important;
}

@keyframes pulsarVerde {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.8));
  }
  50% {
    transform: scale(1.06);
    opacity: 0.85;
    filter: drop-shadow(0 0 20px rgba(74, 222, 128, 1));
  }
}

@keyframes bordaPulsar {
  0%, 100% {
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.25), inset 0 0 10px rgba(34, 197, 94, 0.08);
  }
  50% {
    box-shadow: 0 0 28px rgba(34, 197, 94, 0.5), inset 0 0 16px rgba(34, 197, 94, 0.2);
  }
}

.termo__ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 0 14px;
}
.abas { display: flex; gap: 10px; min-width: 0; }
.aba {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid rgba(160, 176, 214, 0.18);
  background: linear-gradient(180deg, #111a34, #0c1328);
  color: #eef1f7;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
.aba .ico { width: 18px; height: 18px; }
.aba:hover { border-color: rgba(255, 210, 110, 0.45); }
.aba[aria-selected="true"] {
  border-color: transparent;
  background: var(--ouro-btn);
  color: #1b1303;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(255, 190, 40, 0.3);
}

.ordenar { display: flex; align-items: center; gap: 12px; flex: none; }
.ordenar__rot { font-size: 14px; color: #e3e7ef; white-space: nowrap; }
.ordenar__caixa { position: relative; display: block; }
.ordenar select {
  height: 42px;
  min-width: 190px;
  padding: 0 40px 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(160, 176, 214, 0.18);
  background: linear-gradient(180deg, #111a34, #0c1328);
  color: #f3f5fa;
  font-size: 13.5px;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.ordenar select option { background: #0c1328; color: #f3f5fa; }
.ordenar__caixa .ico { position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: #f3f5fa; }

/* ------------------------------------------------------------------ grade e cards */

.grade {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1080px) { .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 860px) { .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 580px) { .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.card {
  --brilho: 255, 128, 26;
  --borda-1: #ffb347;
  --borda-2: #ff6a00;
  position: relative;
  display: flex;
  min-width: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #141a2f 0%, #0b0f1d 100%);
  box-shadow: 0 0 0 1px rgba(var(--brilho), 0.9), 0 0 14px rgba(var(--brilho), 0.45), inset 0 0 18px rgba(var(--brilho), 0.12);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(var(--brilho), 1), 0 0 22px rgba(var(--brilho), 0.65), inset 0 0 18px rgba(var(--brilho), 0.16); }
.card--fogo { --brilho: 255, 122, 26; }
.card--quente { --brilho: 255, 196, 46; }
.card--morno { --brilho: 150, 214, 110; }
.card--frio { --brilho: 90, 170, 255; }
.card--sem { --brilho: 140, 150, 178; }
.card--sem, .card--frio, .card--morno { box-shadow: 0 0 0 1px rgba(var(--brilho), 0.55), 0 0 10px rgba(var(--brilho), 0.22); }

.card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.card__link:focus-visible { outline: 2px solid #fff3c2; outline-offset: 3px; }

.card__capa { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #10162a; }
.card__capa img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.35s; }
.card:hover .card__capa img { transform: scale(1.04); }
.card__capa::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(180deg, rgba(11, 15, 29, 0) 0%, rgba(11, 15, 29, 0.75) 60%, #0d1120 100%);
  pointer-events: none;
}
.capa-vazia {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 60% at 50% 35%, hsla(var(--h, 30), 90%, 60%, 0.75), transparent 72%),
    linear-gradient(160deg, hsl(var(--h, 30), 70%, 28%), hsl(calc(var(--h, 30) + 40), 60%, 10%));
}
.capa-vazia span {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  transform: translateY(-14%);
}

.card__info {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -36px;
  padding: 0 10px 12px;
}
.card__nome {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__prov {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa0c0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bloco de Análise e Dicas de Bet */
.card__dica {
  margin-top: 8px;
  padding: 7px 6px 6px;
  border-radius: 9px;
  background: rgba(6, 9, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.card:hover .card__dica {
  background: rgba(8, 12, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}
.card__analise {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8b99b5;
  line-height: 1;
}
.card__bet-class {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.card__bet-dot {
  font-size: 11px;
  line-height: 1;
  display: inline-block;
}
.card__bet-txt {
  font-weight: 800;
}
/* Verde (Baixa) */
.card__dica--baixa {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: inset 0 0 10px rgba(34, 197, 94, 0.07);
}
.card__dica--baixa .card__bet-class {
  color: #4ade80;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}
.card__dica--baixa .card__analise {
  color: #86efac;
}
/* Amarelo (Média) */
.card__dica--media {
  border-color: rgba(234, 179, 8, 0.3);
  box-shadow: inset 0 0 10px rgba(234, 179, 8, 0.07);
}
.card__dica--media .card__bet-class {
  color: #facc15;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}
.card__dica--media .card__analise {
  color: #fde047;
}
/* Vermelho (Alta) */
.card__dica--alta {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: inset 0 0 10px rgba(239, 68, 68, 0.07);
}
.card__dica--alta .card__bet-class {
  color: #f87171;
  text-shadow: 0 0 8px rgba(248, 113, 113, 0.4);
}
.card__dica--alta .card__analise {
  color: #fca5a5;
}

.card__bet-valores {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #e2e8f0;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

.card__rtp { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 8px; }
.card__rtp .ico { width: 24px; height: 24px; filter: drop-shadow(0 1px 3px rgba(255, 170, 30, 0.4)); }
.rtp {
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  background: var(--ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card--sem .rtp { font-size: 15px; background: none; color: #9aa3ba; }
.card--sem .card__rtp .ico { opacity: 0.35; filter: grayscale(1); }

.barra {
  height: 10px;
  margin-top: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.barra span { display: block; height: 100%; border-radius: inherit; }
.card--fogo .barra span { background: linear-gradient(90deg, #ff9a1f, #ff5a2a 55%, #ff2d55); box-shadow: 0 0 10px rgba(255, 70, 50, 0.7); }
.card--quente .barra span { background: linear-gradient(90deg, #ffe066, #ffbf1f); box-shadow: 0 0 10px rgba(255, 200, 40, 0.6); }
.card--morno .barra span { background: linear-gradient(90deg, #d7ea5a, #8fd65a); box-shadow: 0 0 8px rgba(150, 214, 90, 0.5); }
.card--frio .barra span { background: linear-gradient(90deg, #7fdcff, #4fa6ff); box-shadow: 0 0 8px rgba(80, 170, 255, 0.5); }

.card__pos {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 9, 18, 0.86);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
/* jogo em destaque (marcado no CMS): selo no lugar do número de posição */
.card__pos--destaque {
  padding: 0 7px;
  border-color: rgba(255, 214, 102, 0.9);
  background: var(--ouro-btn);
  color: #1b1303;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.card__fav {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 9, 18, 0.72);
  color: var(--ouro-2);
  transition: transform 0.15s, background 0.15s;
}
.card__fav .ico { width: 20px; height: 20px; }
.card__fav:hover { transform: scale(1.08); background: rgba(6, 9, 18, 0.9); }
.card__fav[aria-pressed="true"] .ico { fill: var(--ouro-2); filter: drop-shadow(0 0 6px rgba(255, 190, 40, 0.7)); }

/* Esqueleto enquanto carrega */
.card--esq {
  aspect-ratio: 1 / 1.7;
  box-shadow: 0 0 0 1px rgba(160, 176, 214, 0.12);
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%) 0 0 / 220% 100%,
    linear-gradient(180deg, #10162b, #0b0f1d);
  animation: brilho 1.4s linear infinite;
}
.card--esq:hover { transform: none; box-shadow: 0 0 0 1px rgba(160, 176, 214, 0.12); }
@keyframes brilho { to { background-position: -220% 0, 0 0; } }

.grade__vazio {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 16px;
  text-align: center;
  color: var(--texto-2);
}
.grade__vazio strong { color: var(--texto); font-size: 16px; }

@media (max-width: 639px) {
  .card__info { padding: 0 8px 10px; margin-top: -30px; }
  .card__nome { font-size: 12px; }
  .card__prov { font-size: 9px; }
  .card__dica {
    margin-top: 5px;
    padding: 5px 3px 4px;
    gap: 2px;
  }
  .card__analise { font-size: 8.5px; }
  .card__bet-class { font-size: 10.5px; gap: 3px; }
  .card__bet-dot { font-size: 9.5px; }
  .card__bet-valores { font-size: 9.5px; letter-spacing: 0; }
  .rtp { font-size: 17px; }
  .card__rtp .ico { width: 20px; height: 20px; }
}

/* ------------------------------------------------------------------ paginação */

.termo__pe {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
}
/* wrap é a rede de segurança: nada sai da tela mesmo que a janela de páginas erre */
.paginacao { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%; min-width: 0; }
.mostrando { grid-column: 3; justify-self: end; font-size: 13.5px; color: #dfe3ec; white-space: nowrap; }
.pag__btn {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(160, 176, 214, 0.2);
  background: linear-gradient(180deg, #111a34, #0c1328);
  color: #f3f5fa;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pag__btn .ico { width: 18px; height: 18px; }
.pag__btn:hover:not(:disabled) { border-color: rgba(255, 210, 110, 0.5); }
.pag__btn[aria-current="page"] { border-color: transparent; background: var(--ouro-btn); color: #1b1303; box-shadow: 0 0 14px rgba(255, 190, 40, 0.35); }
.pag__btn:disabled { opacity: 0.35; cursor: default; }
.pag__reticencias { display: grid; place-items: center; min-width: 20px; color: var(--texto-3); }

/* ------------------------------------------------------------------ gestão de banca */

.gestao {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px 40px;
  align-items: center;
  margin-top: 18px;
  padding: 28px 34% 28px 40px;
  min-height: 230px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(160, 176, 214, 0.12);
  background:
    radial-gradient(60% 120% at 100% 50%, rgba(140, 60, 160, 0.18), transparent 70%),
    linear-gradient(90deg, #0a0f20 0%, #0c1227 55%, #141530 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.35);
}
.gestao__arte {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}
.gestao__arte img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gestao__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(40% 55% at 60% 55%, rgba(255, 176, 40, 0.45), transparent 70%),
    radial-gradient(70% 80% at 60% 60%, rgba(120, 50, 150, 0.35), transparent 75%);
}
.gestao__ph .ico { width: 42%; height: auto; max-width: 180px; aspect-ratio: 1; filter: drop-shadow(0 10px 30px rgba(255, 150, 20, 0.55)); }

.gestao__txt { position: relative; z-index: 1; }
.gestao__h { display: flex; flex-direction: column; text-transform: uppercase; line-height: 1.05; }
.gestao__t1 { font-size: clamp(18px, 2vw, 23px); font-weight: 800; color: #f1f3f8; }
.gestao__t2 { font-size: clamp(26px, 2.4vw, 33px); font-weight: 900; letter-spacing: -0.005em; }
@media (min-width: 1100px) { .gestao__t2 { white-space: nowrap; } }
.gestao__texto { margin-top: 10px; max-width: 46ch; font-size: 15px; line-height: 1.45; color: #e3e7ef; }

.btn-ouro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 26px;
  border: 0;
  border-radius: 10px;
  background: var(--ouro-btn);
  color: #1b1303;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255, 170, 30, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-ouro:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 170, 30, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ouro .ico { width: 20px; height: 20px; }
.btn-ouro--p { margin-top: 0; padding: 10px 22px; font-size: 14px; }

.gestao__itens { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.gestao__itens li { display: flex; align-items: flex-start; gap: 14px; }
.gestao__ico {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--ouro-2);
  box-shadow: 0 0 12px rgba(255, 190, 40, 0.25);
}
.gestao__ico .ico { width: 22px; height: 22px; }
.gestao__itens strong { display: block; font-size: 14.5px; font-weight: 700; color: #fff; }
.gestao__itens span.gestao__item-txt { display: block; margin-top: 2px; font-size: 13px; color: var(--texto-2); line-height: 1.35; }

@media (max-width: 899px) {
  .gestao { grid-template-columns: 1fr; padding: 24px 40% 24px 24px; }
}
@media (max-width: 639px) {
  .gestao { padding: 190px 18px 22px; gap: 20px; }
  .gestao__arte {
    left: 0;
    width: auto;
    height: 210px;
    bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .btn-ouro:not(.btn-ouro--p) { width: 100%; }
}

/* ------------------------------------------------------------------ rodapé */

.rodape { margin-top: 28px; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.06); background: rgba(3, 5, 11, 0.6); }
.rodape__itens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; }
.rodape__itens li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rodape__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; color: #e6eaf3; }
.rodape__ico .ico { width: 34px; height: 34px; }
.rodape__itens strong { display: block; font-size: 13.5px; font-weight: 600; color: #f1f3f8; }
.rodape__itens span.rodape__txt { display: block; margin-top: 2px; font-size: 12.5px; color: var(--texto-3); }
.rodape__legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 12px; color: var(--texto-3); text-align: center; }
.rodape__copy { margin-top: 6px; font-size: 12px; color: #626b84; text-align: center; }

@media (max-width: 999px) { .rodape__itens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .rodape__itens { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ modais */

.modal {
  width: min(100% - 32px, 580px);
  max-width: none;
  max-height: min(84vh, 680px);
  padding: 0;
  border: 1px solid rgba(255, 197, 58, 0.35);
  border-radius: 16px;
  background: linear-gradient(180deg, #0d142b, #090e1d);
  color: var(--texto);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 170, 30, 0.12);
  overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(2, 4, 10, 0.74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__caixa { display: flex; flex-direction: column; min-height: 0; max-height: min(84vh, 680px); }
.modal__cab {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.modal__titulo { font-size: 19px; font-weight: 800; }
.modal__fechar {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--linha-2);
  background: var(--campo);
}
.modal__corpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px; }
.modal__pe {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 8, 16, 0.5);
}
.modal__nota { font-size: 12.5px; color: var(--texto-3); }

.dicas { display: flex; flex-direction: column; gap: 10px; }
.dicas li {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.dicas__n {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ouro-btn);
  color: #1b1303;
  font-size: 14px;
  font-weight: 800;
}
.dicas h3 { font-size: 15px; font-weight: 700; }
.dicas p { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--texto-2); }
.sobre p { font-size: 15px; line-height: 1.6; color: #dfe3ec; }
.sobre p + p { margin-top: 12px; }

/* ------------------------------------------------------------------ estados */

.aviso-geral {
  padding: 60px 20px;
  text-align: center;
}
.aviso-geral h2 { font-size: 24px; font-weight: 900; }
.aviso-geral p { margin-top: 8px; color: var(--texto-2); }
.sem-js { padding: 16px; text-align: center; color: var(--texto-2); }

/* ------------------------------------------------------------------ celular e tablet */

@media (max-width: 899px) {
  .termo__cab { flex-direction: column; align-items: stretch; }
  .contador { justify-content: flex-start; }
  .contador__barras { margin-left: auto; }
  .termo__ctrl { flex-direction: column; align-items: stretch; }
  .abas { overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px; }
  .abas::-webkit-scrollbar { display: none; }
  .ordenar { justify-content: flex-start; }
  .ordenar__caixa { flex: 1; max-width: 320px; }
  .ordenar select { width: 100%; }

  /* paginação e "Mostrando" empilhados até 899px (no tablet o nowrap estourava o painel) */
  .termo__pe { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .paginacao, .mostrando { grid-column: 1; justify-self: center; }
}

@media (max-width: 639px) {
  .prov { padding: 12px 6px; }
  .prov__cab { padding: 0 10px 10px; }
  .prov__titulo { font-size: 15px; }
  .prov__sub { font-size: 12px; }
  .seta { width: 26px; height: 56px; }
  .prov__item { min-width: 100px; height: 58px; padding: 6px 12px; }
  .prov__item--todas { min-width: 80px; }
  .prov__nome { font-size: 11.5px; }

  .termo { padding: 16px 14px 18px; }
  .termo__fogo { width: 44px; height: 48px; }
  .termo__tit { gap: 10px; align-items: flex-start; }
  .termo__sub { font-size: 13px; }
  .contador { padding: 10px 14px; gap: 10px; }
  .contador__relogio, .contador__ico-atualizar { width: 28px; height: 28px; }
  .contador__rot { font-size: 10px; }
  .contador__tempo { font-size: 26px; }
  .contador__tempo--btn { font-size: 15px; }
  .contador__tempo--verde-pulsante { font-size: 20px !important; }
  .contador__barras { width: 26px; height: 26px; }
  .abas { margin: 0 -14px; padding: 2px 14px; gap: 8px; }
  .aba { height: 40px; padding: 0 14px; font-size: 13px; }
  .ordenar__rot { font-size: 13px; }
  .ordenar select { min-width: 0; }

  .paginacao { gap: 6px; }
  .pag__btn { min-width: 32px; height: 34px; padding: 0 7px; }
  .pag__reticencias { min-width: 16px; }

  .modal__corpo { padding: 16px; }
  .modal__cab { padding: 14px 12px 12px 16px; }
  .modal__pe { padding: 12px 12px 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* mockup de 1024px: título do termômetro numa linha só ao lado do contador */
@media (min-width: 1000px) { .termo__h { white-space: nowrap; } }

/* ------------------------------------------------------------------ top 3: feixe na borda
   Port em CSS puro da variante "md" do BorderBeam (rotação, tema escuro, paleta
   sunset): um realce branco + manchas quentes giram pela borda (::after), um
   brilho interno acompanha (::before) e um bloom desfocado fica por cima
   (.card__feixe). O ângulo é uma @property animada no próprio card e herdada
   pelas camadas. Intensidade nas 3 variáveis --feixe-*. */
@property --feixe-ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: true;
}

.card--top {
  --feixe-w: 2px;
  --feixe-traco: 1;
  --feixe-dentro: 0.55;
  --feixe-brilho: 0.85;
  --feixe-janela: conic-gradient(
    from var(--feixe-ang),
    transparent 0%, transparent 30%,
    rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%,
    #fff 52%, #fff 80%,
    rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%,
    transparent 95%, transparent 100%
  );
  animation: feixe-gira 3.3s linear infinite;
}

.card--top::after,
.card--top::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  clip-path: inset(0 round 12px);
  pointer-events: none;
  animation: feixe-matiz 12s ease-in-out infinite;
}

/* traço: realce branco girando + manchas da paleta, recortado no anel da borda */
.card--top::after {
  z-index: 4;
  padding: var(--feixe-w);
  background:
    conic-gradient(
      from var(--feixe-ang),
      transparent 0%, transparent 54%,
      rgba(255, 255, 255, 0.1) 57%, rgba(255, 255, 255, 0.3) 60%,
      rgba(255, 255, 255, 0.6) 63%, rgba(255, 255, 255, 0.75) 66%,
      rgba(255, 255, 255, 0.6) 69%, rgba(255, 255, 255, 0.3) 72%,
      rgba(255, 255, 255, 0.1) 75%, transparent 78%, transparent 100%
    ),
    radial-gradient(ellipse 70px 40px at 33% -7.4%, rgb(255, 80, 50), transparent),
    radial-gradient(ellipse 60px 35px at 12% -5%, rgb(255, 160, 40), transparent),
    radial-gradient(ellipse 40px 70px at 2.1% 68.3%, rgb(255, 120, 60), transparent),
    radial-gradient(ellipse 20px 35px at 2.1% 68.3%, rgb(255, 200, 50), transparent),
    radial-gradient(ellipse 180px 32px at 74.4% 100%, rgb(255, 100, 80), transparent),
    radial-gradient(ellipse 85px 26px at 55% 100%, rgb(255, 180, 60), transparent),
    radial-gradient(ellipse 74px 32px at 93.9% 0%, rgb(255, 60, 60), transparent),
    radial-gradient(ellipse 26px 42px at 100% 27.1%, rgb(255, 140, 50), transparent),
    radial-gradient(ellipse 52px 48px at 100% 27.1%, rgb(255, 90, 70), transparent);
  -webkit-mask: var(--feixe-janela), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-in, xor;
  mask: var(--feixe-janela), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: intersect, exclude;
  opacity: var(--feixe-traco);
}

/* brilho interno: as mesmas manchas, mais fracas, só onde a janela está passando */
.card--top::before {
  z-index: 3;
  background:
    radial-gradient(ellipse 63px 36px at 33% -7.4%, rgba(255, 80, 50, 0.45), transparent),
    radial-gradient(ellipse 54px 32px at 12% -5%, rgba(255, 160, 40, 0.45), transparent),
    radial-gradient(ellipse 36px 63px at 2.1% 68.3%, rgba(255, 120, 60, 0.45), transparent),
    radial-gradient(ellipse 18px 32px at 2.1% 68.3%, rgba(255, 200, 50, 0.45), transparent),
    radial-gradient(ellipse 162px 29px at 74.4% 100%, rgba(255, 100, 80, 0.45), transparent),
    radial-gradient(ellipse 77px 23px at 55% 100%, rgba(255, 180, 60, 0.45), transparent),
    radial-gradient(ellipse 67px 29px at 93.9% 0%, rgba(255, 60, 60, 0.45), transparent),
    radial-gradient(ellipse 23px 38px at 100% 27.1%, rgba(255, 140, 50, 0.45), transparent),
    radial-gradient(ellipse 47px 43px at 100% 27.1%, rgba(255, 90, 70, 0.45), transparent);
  -webkit-mask-image: var(--feixe-janela);
  mask-image: var(--feixe-janela);
  opacity: var(--feixe-dentro);
}

/* bloom: um anel branco desfocado que acompanha a cabeça do feixe */
.card__feixe {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: var(--feixe-w);
  border-radius: inherit;
  clip-path: inset(0 round 12px);
  background: conic-gradient(
    from var(--feixe-ang),
    transparent 0%, transparent 58%,
    rgba(255, 255, 255, 0.03) 62%, rgba(255, 255, 255, 0.08) 65%,
    rgba(255, 255, 255, 0.2) 67%, rgba(255, 255, 255, 0.45) 69%,
    rgba(255, 255, 255, 0.85) 70%, rgba(255, 255, 255, 0.85) 70.5%,
    rgba(255, 255, 255, 0.45) 71.5%, rgba(255, 255, 255, 0.2) 73%,
    rgba(255, 255, 255, 0.08) 75%, rgba(255, 255, 255, 0.03) 78%,
    transparent 82%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  filter: blur(20px) brightness(1.3) saturate(1.2);
  opacity: var(--feixe-brilho);
  pointer-events: none;
}

@keyframes feixe-gira {
  to { --feixe-ang: 360deg; }
}
@keyframes feixe-matiz {
  0%, 100% { filter: hue-rotate(-30deg) brightness(1.3) saturate(1.2); }
  50% { filter: hue-rotate(30deg) brightness(1.3) saturate(1.2); }
}

/* com movimento reduzido o feixe só fica 3x mais lento, como no componente original */
@media (prefers-reduced-motion: reduce) {
  .card--top { animation-duration: 9.9s !important; animation-iteration-count: infinite !important; }
  .card--top::after, .card--top::before { animation-duration: 36s !important; animation-iteration-count: infinite !important; }
}
