* {
  font-family: "Montserrat", sans-serif;
}

:root {
  --cinza: #484848;
  --titulos: #1b1c1c;
  --sombra: 4px 4px 20px 2px #56596759;
  --verde: #007141;
  --amarelo: #fdb933;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--titulos);
  font-weight: 600;
}

.hero-breadcrumb a {
  color: white;
}

a {
  color: inherit;
}

body.page-id-6 {
  height: 100dvh;
  overflow: hidden;
  header {
    height: 0;
    display: none;
    visibility: hidden;
    pointer-events: none;
  }
}
html {
  margin: 0 !important;
}
#wpadminbar {
  height: 0;
  display: none;
  visibility: hidden;
  pointer-events: none;
}
section {
  margin-top: 64px;
}

@media (min-width: 768px) {
  section {
    margin-top: 80px;
  }
}

@media (min-width: 992px) {
  section {
    margin-top: 96px;
  }
}

header {
  background-color: var(--verde);
  nav {
    a.menu-item {
      color: white;
      opacity: 0.7;
      transition: opacity 0.2s ease;
      &.active,
      &:hover {
        opacity: 1;
      }
    }
  }
}

footer {
  p, h4, span, li {
    color: white;
  }
}

section {
  h2 {
    font-weight: 600;
    font-size: 22px;
    line-height: 135%;
    color: var(--verde);
  }
  h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 135%;
    color: var(--verde);
  }
  span {
    font-weight: 600;
    font-size: 13px;
    line-height: 135%;
    text-align: center;
    text-transform: uppercase;
    color: var(--verde);
  }
}

@media (min-width: 768px) {
  section h2 { font-size: 30px; }
  section h3 { font-size: 22px; }
  section span { font-size: 16px; }
}

@media (min-width: 992px) {
  section h2 { font-size: 36px; }
  section h3 { font-size: 26px; }
  section span { font-size: 20px; }
}

section.bg-\(--verde\) span,
section[style*="background-color: var(--verde)"] span,
section[style*="background:#007141"] span {
  color: white;
}

footer {
  background-color: var(--verde);
}

h1 {
  font-weight: 500;
  font-size: 24px;
  line-height: 135%;
  text-align: center;
}

@media (min-width: 768px) {
  h1 { font-size: 30px; }
}

@media (min-width: 992px) {
  h1 { font-size: 36px; }
}

a.cta,
button.cta {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--amarelo);
  color: #252525;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: background-color 0.3s ease;
  @media (max-width: 640px) {
    text-align: center;
  }
}

.card {
  padding: 30px;
  border: 1px solid var(--verde);
  border-radius: 10px;
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out,
    border-color 0.3s ease-in-out;

  svg path {
    transition: fill 0.3s ease-in-out;
  }

  &:hover {
    background-color: var(--verde);
    color: white;
    border-color: transparent;
    h3 {
      color: white;
    }
    svg {
      path {
        fill: var(--amarelo);
      }
    }
  }

  &.card.card-small {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;

    h3 {
      font-size: 20px;
      line-height: 130%;
    }
  }

  img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    &.thumbnail {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease-in-out;
    }
  }

  @media (max-width: 640px) {
    p {
      font-size: 14px;
    }
  }
}

.thumbnail-holder {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  clip-path: polygon(100% 0, 100% 65%, 70% 100%, 0% 100%, 0 49%, 0% 0%);
  overflow: hidden;
  &.thumbnail-holder--small {
    height: 130px;
    clip-path: polygon(100% 0, 100% 55%, 65% 100%, 0% 100%, 0 49%, 0% 0%);
  }
}

@media (min-width: 768px) {
  .thumbnail-holder { height: 300px; }
  .thumbnail-holder.thumbnail-holder--small { height: 160px; }
}

@media (min-width: 992px) {
  .thumbnail-holder { height: 370px; }
  .thumbnail-holder.thumbnail-holder--small { height: 185px; }
}

.card-outer:hover .thumbnail-holder img.thumbnail {
  transform: scale(1.1);
}

.card-outer {
  transition: transform 0.3s ease-in-out;
  img.seta {
    transition: transform 0.3s ease-in-out;
  }
  &:hover {
    img.seta {
      transform: rotate(45deg);
    }
  }
}

.card-seta {
  padding: 30px;
}

.swiper.hero {
  overflow: visible;
}

.swiper-button-next,
.swiper-button-prev {
  color: #252525;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  label {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: var(--verde);
  }
  input,
  select {
    padding: 8px 16px;
    border-bottom: 1px solid #e2e4e5;
    transition: 300ms ease-in-out;
    &:focus-visible {
      outline: none;
      border-bottom: 1px solid var(--cinza);
      color: var(--verde);
    }
  }
}

.dif-2 {
  @media (max-width: 640px) {
    display: none !important;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #1b1c1c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu__close span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #ffffff;
  position: absolute;
}

.mobile-menu__close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu__close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .mobile-menu__nav { gap: 2.5rem; }
  .form-group label { font-size: 18px; }
}

@media (min-width: 992px) {
  .form-group label { font-size: 20px; }
}

.mobile-menu__nav a {
  color: #ffffff;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  text-decoration: none;
}

.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}
