/* Base comum das propostas da IDEIA 2 — cores e elementos da IDEIA 1,
   legendas em Geist Mono e informações em cartões de vidro */
:root {
  --bg: #000;
  --orange: #ff4100;
  --white: #fff;
  --bar: 52px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display: Arial, "Helvetica Neue", Helvetica, sans-serif;
  /* vidro: escuro translúcido, desfoca e satura o que passa por trás, borda laranja fina */
  --glass-bg: rgba(14, 10, 8, .74);
  --glass-blur: blur(22px) saturate(1.5);
  --glass-line: rgba(255, 65, 0, .22);
  --glass-radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
  color: var(--orange);
  font-family: var(--display);
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a, button, input { color: inherit; cursor: none; font: inherit; }
button { background: none; border: 0; }

/* legendas pequenas em mono */
.micro {
  font-family: var(--mono);
  font-size: 10px; line-height: 1.35;
  font-weight: 500; text-transform: uppercase;
  letter-spacing: .04em;
}
.micro .dim, .micro.dim { opacity: .5; }

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  border-radius: var(--glass-radius);
}

/* ---------- Cabeçalho: logo cheko + ficha ---------- */
.head {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 40px 96px 72px 96px;
  min-height: 52vh;
}
.head .corner { line-height: 1.4; }
.head .sign { width: min(440px, 42vw); }
.head .sign svg { display: block; width: 100%; height: auto; overflow: visible; }
.ficha {
  display: grid; grid-template-columns: auto auto;
  column-gap: 14px; row-gap: 8px;
  margin-top: 22px;
}
.ficha dt { text-align: right; opacity: .5; }

/* ---------- Relógio vertical (glifos do .ai) ---------- */
.clock-side {
  position: fixed; left: 22px; top: 50%;
  height: 40vh; transform: translateY(-50%);
  z-index: 20; pointer-events: none;
}
.clock-side svg { height: 100%; width: auto; overflow: visible; fill: var(--orange); }

/* ---------- BRASIL / WORLDWIDE (esmaecido, como a pilha de pastas) ---------- */
.lang-side {
  position: fixed; right: 18px; bottom: calc(var(--bar) + 40px);
  z-index: 20;
  display: flex; gap: 2px;
}
.lang-side button {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--display);
  font-weight: 700; font-size: 26px; line-height: 1;
  letter-spacing: -0.12em;
  color: var(--orange);
  opacity: .25; transition: opacity .3s ease;
  padding: 2px;
}
.lang-side button:hover { opacity: .5; }
.lang-side button.on { opacity: 1; }

/* ---------- Barra inferior: cartão de vidro flutuante ---------- */
.bar {
  position: fixed; left: 14px; right: 14px; bottom: 12px; height: calc(var(--bar) - 14px);
  z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 18px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  border-radius: var(--glass-radius);
  white-space: nowrap;
}
.bar nav { display: flex; align-items: center; gap: 22px; min-width: 0; }
.bar .filters { display: flex; gap: 14px; }
.bar .filters button { opacity: .45; transition: opacity .25s ease; }
.bar .filters button:hover { opacity: .8; }
.bar .filters button.on { opacity: 1; }
.bar .cols, .bar .zoom { display: flex; align-items: center; gap: 8px; }
.bar .zoom button { font-size: 15px; line-height: 1; width: 16px; }
.bar .zoom .n { min-width: 34px; }
.bar input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 90px; height: 2px; background: rgba(255,65,0,.4);
}
.bar input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: var(--orange);
}
.bar input[type=range]::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--orange); }
.bar .links { display: flex; gap: 18px; }
.bar a { text-decoration: none; }
.bar a::after { content: " ↗"; }
.bar a .s { display: none; }
/* chamada para contato: a "aba laranja" da barra */
.bar .cta {
  background: var(--orange); color: var(--bg);
  padding: 7px 12px 6px; border-radius: 999px;
  font-weight: 700; letter-spacing: .05em;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.bar .cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(255,65,0,.18); }
.bar .cta .s { display: none; }

/* ---------- Cursor © ---------- */
.cursor {
  position: fixed; left: 0; top: 0; width: 22px; height: 22px;
  fill: var(--white); pointer-events: none; z-index: 1000;
  transform: translate(-50%, -50%); opacity: 0;
  mix-blend-mode: difference;
}
@media (hover: none) {
  body, a, button, input { cursor: auto; }
  .cursor { display: none; }
}
@media (max-width: 1100px) {
  .bar .filters { display: none; }
}
@media (max-width: 760px) {
  .head { flex-direction: column-reverse; gap: 32px; padding: 24px 20px 48px; min-height: 0; }
  .head .sign { width: 100%; }
  .clock-side { display: none; }
  .lang-side { right: 10px; }
  .lang-side button { font-size: 19px; }
  .bar { left: 8px; right: 8px; bottom: 8px; padding: 0 12px; }
  .bar .copy, .bar .cols { display: none; }
  .bar nav { width: 100%; justify-content: space-between; gap: 12px; }
  .bar .zoom input { width: 64px; }
  .bar .links { gap: 12px; }
  .bar a .l { display: none; }
  .bar a .s { display: inline; }
  .bar .cta .l { display: none; }
  .bar .cta .s { display: inline; }
}

/* conteúdo para buscadores e leitores de tela: está na página, mas fora da vista */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
