@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--hero-stack-h);
}

/* Fenix legado redefine html — mantém escala rem do DS em todas as páginas */
html {
  font-size: 62.5% !important;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-black);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus-visible { color: #fff; }

:focus-visible {
  outline: 2px solid var(--color-fire);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-main, .site-header, .site-footer { position: relative; z-index: 1; }

.w-full { width: 100%; }
.desktop-only { display: none !important; }
.mobile-only { display: block !important; }

@media (min-width: 992px) {
  .desktop-only { display: block !important; }
  .mobile-only { display: none !important; }
}
