.hero {
  position: relative;
  width: 100%;
  height: clamp(465px, 43.05vw, 720px);
  margin: 0 auto;
  background-color: var(--color-hero-bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(150, 79, 76, 0.20));
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__brand {
  position: absolute;
  top: clamp(47px, 4.35vw, 72px);
  left: clamp(45px, 4.2vw, 78px);
  display: inline;
  width: clamp(280px, 25.9vw, 430px);
  height: clamp(200px, 18.5vw, 307px);
  max-width: 32%;
  object-fit: contain;
  z-index: 2;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__banner {
  position: absolute;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: filter 420ms ease, opacity 420ms ease, object-position 420ms ease, transform 420ms ease;
}

.hero__banner--momentos {
  top: 0;
  left: 0;
  width: calc(100% - clamp(178px, 16.5vw, 276px));
  object-position: left center;
  image-rendering: optimizeSpeed;
}

.hero__banner--lateral {
  top: 0;
  right: 0;
  width: clamp(178px, 16.5vw, 276px);
  object-position: right center;
}

.hero__banner-text {
  position: absolute;
  top: clamp(52px, 4.8vw, 78px);
  right: clamp(64px, 5.9vw, 104px);
  width: clamp(401px, 37.1vw, 620px);
  max-width: 38%;
  height: auto;
  z-index: 2;
  transition: filter 420ms ease, transform 420ms ease;
}

.btn-custom {
  position: absolute;
  top: clamp(203px, 18.8vw, 314px);
  right: clamp(120px, 11.1vw, 184px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-sizing: border-box;
  width: clamp(274px, 25.4vw, 378px);
  height: clamp(56px, 5.2vw, 76px);
  padding: 0 28px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-events-text);
  font-family: "Lato", sans-serif;
  font-size: clamp(20px, 1.9vw, 29px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(86, 3, 3, 0.14);
  transition:
    border-color 180ms ease,
    background-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.btn-custom:hover,
.btn-custom:focus-visible {
  border-color: var(--color-header-bg);
  background-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(86, 3, 3, 0.2);
}

.btn-custom:active {
  transform: translateY(0) scale(0.98);
}

.btn-custom__text {
  display: block;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.btn-custom:hover .btn-custom__text,
.btn-custom:focus-visible .btn-custom__text {
  color: var(--color-header-bg);
  text-shadow: 2px 2px 8px rgba(150, 79, 76, 0.28);
}

.btn-custom:hover,
.btn-custom:focus-visible {
  border-color: var(--color-header-bg);
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(78px, 7vw, 104px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background-color: var(--color-header-bg);
  box-shadow: 0 12px 28px rgba(86, 3, 3, 0.22);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  transition: opacity 220ms ease, transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background-color: var(--color-events-text);
  box-shadow: 0 16px 34px rgba(86, 3, 3, 0.30);
  transform: translateY(-4px) scale(1.04);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}
