a.cta {
  background-color: #72b838;
  padding: 14px 42px;
  border-radius: 8px;
  line-height: normal;
  border: none;
  color: #f5f5f5;
  font-weight: 600;
  width: fit-content;
  text-wrap-mode: nowrap;
  transition: 300ms all ease-in-out;
  &:hover {
    background-color: #559228;
    color: #f9f9f9;
  }
}

header {
  min-height: 100px;
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.05);
  align-content: center;
  width: 100%;
  background-color: #345320;
  position: fixed;
  z-index: 999;
  color: #f5f5f5;
  font-weight: 600;

  a.cta {
    background-color: #72b838;
  }

  .navbar-brand {
    img {
      max-width: 250px;
    }
  }

  .menu-items {
    a {
      color: #e6e6e6;
      position: relative;

      &.active {
        color: #fff;

        &::after {
          content: "";
          position: absolute;
          bottom: 12px;
          left: 25%;
          width: 50%;
          height: 2px;
          background-color: #936037;
          z-index: 99;
          border-radius: 8px;
        }
      }
    }
  }

  .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
  }

  .nav-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #e6e6e6;
    text-decoration: none;
    position: relative;
    cursor: pointer;

    .material-symbols-outlined {
      font-size: 18px;
      font-variation-settings:
        "FILL" 0,
        "wght" 400;
      transition: transform 0.25s ease;
      user-select: none;
    }

    &.active {
      color: #fff;

      &::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 25%;
        width: 50%;
        height: 2px;
        background-color: #936037;
        border-radius: 8px;
      }
    }
  }

  .subnav {
    position: absolute;
    top: calc(100% + 4px);
    left: 100%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    opacity: 0;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
    min-width: 220px;
    background: #345320;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    pointer-events: none;
    z-index: 1000;

    li {
      width: 100%;
      a {
        display: block;
        padding: 10px 20px;
        color: #e6e6e6;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        transition:
          color 0.15s,
          background 0.15s;

        &:hover {
          color: #91c961;
          background: rgba(255, 255, 255, 0.06);
        }

        &::after {
          display: none !important;
        }
      }
    }
  }

  .nav-dropdown.open .subnav {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
    pointer-events: auto;
  }

  .nav-dropdown.open .nav-dropdown__trigger .material-symbols-outlined {
    transform: rotate(180deg);
  }

  .navbar-toggler {
    border: none !important;
  }
}

.hero-section {
  overflow: hidden;
  /* padding-top: 48px; */
  position: relative;
  min-height: 50svh;
  /* padding-top: 100px; */

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: 0;
    filter: brightness(0.4);
  }

  .hero-content {
    position: absolute;
    top: 30%;
    width: 100%;
    /* background-color: #2C267B; */
    z-index: 2;
    pointer-events: none;

    h1,
    p {
      color: #f5f5f5;
      font-size: 20px;
    }

    a {
      pointer-events: auto;
    }

    h1 {
      font-size: 46px;
      line-height: 1.2;
      font-weight: 700;
    }
  }
}

main {
  padding-top: 100px;
  font-family: "Poppins", sans-serif;
}

footer {
  background-color: #345320;
  color: #f5f5f5;

  h6 {
    color: #72b838;
  }

  a {
    color: #f5f5f5;
  }
}

.h-available {
  height: -webkit-fill-available !important;
}

span {
  color: #936037;
}

section.cotacao {
  background: linear-gradient(150deg, #1f3412 0%, #2d4a1e 50%, #3e6528 100%);
  padding-top: 72px;

  .cotacao__texto {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-right: 48px;
  }

  h2 {
    font-size: 40px;
    font-weight: 700;
    color: #fafcfb;
    line-height: 1.2;
    margin: 0;

    span {
      color: #72b838;
    }
  }

  p {
    font-size: 16px;
    color: rgba(250, 252, 251, 0.75);
    line-height: 1.6;
    margin: 0;
  }

  .cotacao__cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    background: #35a85a;
    color: #fafcfb;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition:
      background 0.3s ease,
      color 0.3s ease;
  }

  .cotacao__cta:hover {
    background: #72b838;
    color: #1e3d28;
  }

  .cotacao__img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    margin-inline: auto;
  }
}

/* Overlay full-screen */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

/* Abre o menu */
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Conteúdo interno */
.mobile-menu-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.2rem;
  transform: translateY(20px);
  transition: 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-inner {
  transform: translateY(0);
}

/* Botão fechar */
.close-mobile {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* Links */
.mobile-nav a {
  color: #f1f1f1;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 1rem;
  display: block;
  transition: 0.2s ease;
}

.mobile-nav a:hover {
  color: #c8e7ff;
}

.mobile-nav__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.5rem 0 0.1rem;
}

/* CTA */
.mobile-cta {
  padding: 12px 24px;
  background: #72b838;
  color: #fff;
  width: fit-content;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.mobile-cta:hover {
  background: #559228;
}

/* Esconde desktop */
@media (min-width: 992px) {
  .mobile-menu-overlay {
    display: none;
  }
}

@media (max-width: 992px) {
  section.cotacao {
    padding-top: 48px;

    .cotacao__texto {
      padding-right: 0;
      margin-bottom: 32px;
    }

    h2 {
      font-size: 30px;
    }

    .cotacao__cta {
      width: 100%;
      justify-content: center;
    }

    .cotacao__img {
      max-height: 260px;
    }
  }

  header {
    & .navbar-brand {
      img {
        max-width: 210px;
      }
    }
  }

  a.cta {
    width: 100% !important;
    text-align: center;
    font-size: 20px;
  }
}
