:root {
  --marca-ouro: #ac8a36;
  --marca-areia: #ccab58;
  --marca-cinza: #666666;
  --marca-claro: #cccccc;
  --hero-mask-top: rgba(0, 0, 0, 0.15);
  --hero-mask-mid: rgba(0, 0, 0, 0.4);
  --hero-mask-bottom: rgba(0, 0, 0, 0.88);
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  background: #fff;
  color: #000;
  font-family: "Studio Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    Inter, Arial;
}

.hero {
  position: relative;
  height: calc(var(--vh, 1vh) * 100);
  height: 100dvh;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: center/cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--hero-mask-top) 0%,
    var(--hero-mask-mid) 55%,
    var(--hero-mask-bottom) 100%
  );
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: clamp(16px, 4vw, 48px);
  max-width: min(92vw, 1100px);
}

.location-chip {
  display: inline-block;
  white-space: nowrap;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  opacity: 0;
}

.location-chip .char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-8px);
  will-change: transform, opacity;
}

.brand-logo {
  height: clamp(120px, 22vw, 140px) !important;
  width: auto;
}

@media (min-width: 1200px) {
  .brand-logo {
    height: 180px !important;
  }
}

@media (min-width: 1400px) {
  .brand-logo {
    height: 180px !important;
  }
}

.brand-logo,
.tagline .line,
.cta,
.nav-primaria {
  opacity: 0;
}

.sep {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  will-change: transform, opacity;
}

.tagline {
  position: relative;
  border-left-color: transparent !important;
  --vline-scale: 0;
}

.tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  transform: scaleY(var(--vline-scale));
  transform-origin: bottom;
  will-change: transform;
}

.menu-flutuante {
  position: fixed;
  z-index: 1081;
}

.menu-toggle {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  z-index: 1082;
}

.hamburger {
  display: inline-block;
  width: 24px;
  height: 18px;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.25s ease, top 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    bottom 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 8px;
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

.menu-painel {
  position: fixed;
  width: min(92vw, 360px);
  max-height: calc(100dvh - 32px);
  border-radius: 3px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: auto;
  transform-origin: top right;
  transform: scale(0.82);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.35s ease;
  z-index: 1080;
}

.menu-links {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  display: grid;
  gap: 10px;
}

.menu-links a {
  display: block;
  text-decoration: none;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 8px;
  border-radius: 10px;
  position: relative;
}

.menu-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--marca-areia);
  border-radius: 2px;
  opacity: 0;
  transition: left 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    right 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease;
}

.menu-links a:hover::after,
.menu-links a:focus-visible::after {
  left: 0;
  right: 0;
  opacity: 1;
}

.menu-social .social-link {
  color: #111 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.25s ease;
}
.menu-social .social-link i {
  font-size: 1.5rem;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.25s ease;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1079;
}

.menu-flutuante.aberto .menu-painel {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.menu-flutuante.fechando .menu-painel {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.menu-flutuante.aberto + .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
.menu-flutuante.aberto .hamburger span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.menu-flutuante.aberto .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-flutuante.aberto .hamburger span:nth-child(3) {
  bottom: auto;
  top: 8px;
  transform: rotate(-45deg);
}

.nav-primaria {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0;
}
.nav-primaria .nav-link {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  opacity: 0.9;
  position: relative;
  padding: 0.75rem 1rem;
  transition: color 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-primaria .nav-link:hover,
.nav-primaria .nav-link:focus-visible {
  color: #fff;
  opacity: 1;
}
.nav-primaria .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--marca-areia);
  transition: left 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    right 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-primaria .nav-link:hover::after,
.nav-primaria .nav-link:focus-visible::after {
  left: 0.5rem;
  right: 0.5rem;
}

.sweep-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.sweep-base {
  display: inline-flex;
  align-items: center;
  color: #fff;
}
.sweep-overlay {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  color: var(--marca-areia);
  white-space: nowrap;
  overflow: hidden;
  width: 0%;
  pointer-events: none;
  will-change: width;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn-glass-dark:hover .sweep-overlay,
.btn-glass-dark:focus-visible .sweep-overlay {
  width: 100%;
}
