/* ==========================================================================
   Hero — Section 1 (Figma node 6311:605)
   Mobile-first — breakpoints em 1024px (Notebook) e 1440px (Desktop)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   Mídia de fundo + vídeo + vinheta
   -------------------------------------------------------------------------- */

.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 698px;
  overflow: hidden;
}

.hero__media picture,
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media picture,
.hero__media img,
.hero__video {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media img,
.hero__video {
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      ellipse 65% 85% at 50% 45%,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 72%
  );
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Expandir vídeo
   -------------------------------------------------------------------------- */

.hero__video-expand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  border: 0;
  background-color: rgba(214, 211, 203, 0.2);
  color: var(--white);
  font-family: var(--font-family-01);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-md);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background-color 300ms ease;
  width: auto;
  min-width: max-content;
}

.hero__video-expand img {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  object-fit: contain;
  transition: transform 300ms ease;
}

.hero__video-expand span {
  margin-top: .25rem;
}

.hero__video-expand:hover {
  background-color: rgba(214, 211, 203, 0.35);
}

.hero__video-expand:hover img {
  transform: scale(1.15);
}

@media (min-width: 1024px) {
  .hero__media {
    height: 700px;
  }
}

/* --------------------------------------------------------------------------
   Navegação
   -------------------------------------------------------------------------- */

.hero__nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    padding 0.3s ease;
}

.hero__nav--hidden {
  transform: translateY(-100%);
}

.hero__nav--fixed {
  position: fixed;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: var(--brand-color-secondary);
}

.hero__logo {
  display: block;
  flex-shrink: 0;
  padding: 16px 0;
  transition: padding 0.3s ease;
}

.hero__logo img {
  width: 160px;
  height: 74px;
  transition:
    width 0.3s ease,
    height 0.3s ease;
}

.hero__nav--fixed .hero__logo {
  padding: 0;
}

.hero__nav--fixed .hero__logo img {
  width: 120px;
  height: auto;
}

.hero__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
}

.hero__menu-btn img {
  width: 100%;
  height: 100%;
}

.hero__nav-links {
  display: none;
}

.hero__nav-link {
  padding: 16px 0;
  color: var(--white);
  font-family: var(--font-family-02);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-default);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__nav-divider {
  width: 1px;
  height: 16px;
  background-color: var(--white);
  opacity: var(--opacity-level-light);
}

@media (min-width: 1024px) {
  .hero__nav {
    padding: 16px 64px;
  }

  .hero__nav--fixed {
    padding: 8px 64px;
  }

  .hero__menu-btn {
    display: none;
  }

  .hero__nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   Headline
   -------------------------------------------------------------------------- */

.hero__headline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 615px;
  padding-inline: 16px;
  text-align: center;
  transform: translateY(-48px);
}

.hero__pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(545px, 100%);
  height: auto;
  transform: translate(-50%, -50%);
}

.hero__eyebrow,
.hero__location {
  color: var(--white);
}

.hero__title {
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
}

.hero__title-break {
  display: none;
}

@media (min-width: 1024px) {
  .hero__headline {
    padding-inline: 0;
  }

  .hero__title-break {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   Formulário
   -------------------------------------------------------------------------- */

.hero__form-wrap {
  position: relative;
  z-index: 1;
  margin-top: -180px;
  background-color: var(--brand-color-secondary);
  clip-path: polygon(
      50px 0,
      100% 0,
      100% 100%,
      0 100%,
      0 68px
  );
}

.hero__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: var(--container-lg);
  margin-inline: auto;
  padding: 64px 16px 56px;
}

.hero__form-title {
  width: 100%;
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
}

.hero__fields {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.hero__fields-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__form-wrap {
    margin-top: -221px;
    clip-path: polygon(
        127px 0,
        100% 0,
        100% 100%,
        0 100%,
        0 171px
    );
  }

  .hero__form {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 64px 10px 56px 64px;
  }

  .hero__form-title {
    width: 256px;
    flex-shrink: 0;
  }

  .hero__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) fit-content(100%);
    grid-template-rows: repeat(2, auto);
    align-items: end;
    column-gap: 8px;
    row-gap: 22px;
  }

  .hero__fields-row {
    display: contents;
  }
}

/* --------------------------------------------------------------------------
   Campos
   -------------------------------------------------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.field__label {
  color: var(--white);
  font-family: var(--font-family-01);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-md);
  letter-spacing: 0.1em;
}

.field__input {
  width: 100%;
  padding: 12px 20px 10px;
  border: var(--border-width-default) solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: var(--font-family-01);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-default);
  letter-spacing: 0.03em;
}

.field__input::placeholder {
  color: rgba(214, 211, 203, 0.7);
}

@media (min-width: 1024px) {
  .field__label,
  .field__input {
    letter-spacing: var(--letter-spacing-default);
  }

  .field__input::placeholder {
    color: rgba(214, 211, 203, 0.8);
  }
}

/* --------------------------------------------------------------------------
   Botão do formulário
   -------------------------------------------------------------------------- */

.hero__submit {
  width: 100%;
  padding: 14px 24px 12px;
  border: 0;
  background-color: var(--white);
  color: var(--brand-color-secondary);
  font-family: var(--font-family-02);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__submit[disabled] {
  opacity: var(--opacity-level-semi-opaque);
  cursor: not-allowed;
}

@media (min-width: 1024px) {
  .hero__submit {
    width: auto;
    line-height: var(--line-height-default);
    letter-spacing: var(--letter-spacing-md);
  }
}

/* --------------------------------------------------------------------------
   Consentimento
   -------------------------------------------------------------------------- */

.hero__consent {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
}

.hero__consent input {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: var(--border-width-default) solid var(--white);
  accent-color: var(--brand-color-secondary);
}

.hero__consent-text {
  color: var(--white);
  font-family: var(--font-family-01);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-md);
  letter-spacing: 0.1em;
}

.hero__consent-text a {
  color: inherit;
  font-weight: var(--font-weight-medium);
}

@media (min-width: 1024px) {
  .hero__consent {
    grid-column: 1 / span 2;
    grid-row: 2;
    align-items: center;
    gap: 8px;
  }

  .hero__consent-text {
    color: rgba(214, 211, 203, 0.8);
    letter-spacing: var(--letter-spacing-default);
  }
}

/* ==========================================================================
   Menu mobile
   ========================================================================== */

.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background-color: var(--color-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 250ms ease,
  transform 250ms ease,
  visibility 0s linear 250ms;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 250ms ease,
  transform 250ms ease,
  visibility 0s linear 0s;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px;
}

.menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.menu__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
}

.menu__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__link {
  display: inline-block;
  color: var(--white);
  font-family: var(--font-family-02);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-default);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.has-menu-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .menu {
    display: none;
  }
}

/* ==========================================================================
   SweetAlert
   ========================================================================== */

.swal2-title,
.swal2-html-container,
.swal2-confirm {
  font-family: "TT Norms", sans-serif !important;
  letter-spacing: var(--letter-spacing-md);
}