/* ================================
   VORA / ESTILOS GLOBAIS
   Etapa 01 — Carregamento
   ================================ */

@font-face {
  font-family: "Recady";
  src: url("../fonts/Recady.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #2A3EF4;
  --white-blue: #E4E5F2;
  --black-blue: #0E0F28;
  --blackout: #000000;
  --muted: #60647D;
  --space-edge: clamp(24px, 4.25vw, 72px);
  --font-display: "Recady", Arial, sans-serif;
  --font-ui: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: var(--white-blue);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background-color: var(--white-blue);
  color: var(--black-blue);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

button { font: inherit; }
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.brand-dot { color: var(--blue); }

/* Controle global de idioma. Permanece visível após a abertura. */
.language {
  position: fixed;
  z-index: 20;
  top: clamp(22px, 3.6vw, 50px);
  right: var(--space-edge);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--black-blue);
}

.language__button {
  padding: 6px 1px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.language__button:hover,
.language__button.is-current {
  color: var(--black-blue);
}

.language__button.is-current { font-weight: 700; }
.language__separator { color: #A2A6B8; font-size: 12px; }

/* Conteúdo propositalmente provisório: o site começa na próxima etapa. */
.site-placeholder {
  display: grid;
  min-height: 100svh;
  padding: 48px 24px;
  place-items: center;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 650ms ease;
}

.site-placeholder.is-visible {
  visibility: visible;
  opacity: 1;
}

.site-placeholder__content {
  max-width: 520px;
}

.site-placeholder__eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.site-placeholder__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 128px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
}

.site-placeholder__description {
  max-width: 360px;
  margin: 32px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Navegação por âncora sem corte brusco; respeita movimento reduzido. */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height, 106px) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
