@import url("satoshi.css");

:root {
  font-size: 16px;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Satoshi-Variable", sans-serif;
  font-size: 1em;
  line-height: 1em;
  font-weight: normal;
}

p,
a,
div,
span,
section {
  font-family: "DM Sans", sans-serif;
  font-size: 1em;
  line-height: 1em;
  font-weight: normal;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 3px;

  & div.title-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 0.5em;

    & h2 {
      color: #999;
      font-size: 2em;
      font-style: normal;
      font-weight: 500;
      line-height: normal;
      letter-spacing: 0.3em;
      text-transform: uppercase;

      @media screen and (max-width: 1200px) {
        & {
          font-size: 4vw;
        }
      }

      @media screen and (max-width: 600px) {
        & {
          font-size: 5vw;
        }
      }
    }

    & h3 {
      color: #014e68;
      font-size: 3.5em;
      font-style: normal;
      font-weight: 900;
      line-height: 90%;

      @media screen and (max-width: 1200px) {
        & {
          font-size: 6vw;
        }
      }

      @media screen and (max-width: 600px) {
        & {
          font-size: 9vw;
        }
      }
    }
  }

  & div.text-block {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 1em;

    & p {
      color: #000;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
      opacity: 0.7;
    }
  }
}

#mobile-menu {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  flex-direction: column;
  gap: 3rem;
  padding: 3rem 2rem;

  @media (max-width: 1200px) {
    display: flex;
  }

  & > div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;

    & img#close-menu {
      width: 32px;
      height: 32px;
      cursor: pointer;
    }
  }

  & nav {
    display: flex;
    flex-direction: column;
    gap: 2em;

    & a {
      color: white;
      font-size: 1.125em;
      font-style: normal;
      font-weight: 500;
      line-height: 1em;
      letter-spacing: 0.9px;
      text-transform: uppercase;
      position: relative;

      &::after {
        content: "";
        display: block;
        height: 2px;
        width: 0;
        background: white;
        transition: width 0.3s;
        position: absolute;
        left: 0;
        bottom: -8px;
        pointer-events: none;
      }

      &:hover::after {
        width: 100%;
      }
    }
  }
}

header {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  @media (max-width: 800px) {
    & img {
      max-width: 150px;
    }
  }

  & div.container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid white;
    padding: 1.5em 0;

    @media (max-width: 1200px) {
      & {
        padding: 1.5em;
      }
    }
  }

  & nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.2em;

    & a {
      color: white;
      font-size: 1em;
      font-style: normal;
      font-weight: 500;
      line-height: 1em;
      letter-spacing: 0.9px;
      text-transform: uppercase;
      position: relative;

      &::after {
        content: "";
        display: block;
        height: 2px;
        width: 0;
        background: white;
        transition: width 0.3s;
        position: absolute;
        left: 0;
        bottom: -8px;
        pointer-events: none;
      }

      &:hover::after {
        width: 100%;
      }

      @media screen and (max-width: 1200px) {
        & {
          display: none;
        }
      }
    }
  }

  & #menu-icon {
    display: none;

    @media screen and (max-width: 1200px) {
      display: block;
      width: 32px;
      height: 32px;
      cursor: pointer;
    }
  }
}

#hero {
  background: url("/public/assets/images/hero-bg.jpg"), rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 80dvh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding-top: 130px;

  border-bottom: solid 12px #329344;

  @media screen and (max-width: 1200px) {
    & {
      padding: 0 2em;
    }
  }

  @media screen and (max-width: 800px) {
    & {
      min-height: 60dvh;
    }
  }

  & h1 {
    color: #fff;
    font-size: 4.5em;
    line-height: 0.9em;
    font-weight: 900;

    @media screen and (max-width: 1200px) {
      & {
        font-size: 8vw;
      }
    }
  }
}

#quem-somos {
  padding: 7.5rem 0;

  @media (max-width: 1200px) {
    & {
      padding: 5em 2em;
    }
  }

  & div.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    gap: 3.125em;

    @media (max-width: 1200px) {
      & {
        grid-template-columns: 1fr;

        & img {
          width: 100%;
        }
      }
    }
  }
}

hr {
  border: 2px solid rgba(0, 0, 0, 0.1);
}

#metodologia {
  padding: 7.5rem 0;

  @media (max-width: 1200px) {
    & {
      padding: 5em 2em;
    }
  }

  & div.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    gap: 3.125em;

    @media (max-width: 1200px) {
      grid-template-columns: 1fr;

      & img {
        width: 100%;
        order: -1;
      }
    }
  }

  & h3 {
    color: #1e6e34;
  }
}

#presidente {
  padding: 7.5rem 0;
  background: #fcf9f0;

  @media (max-width: 800px) {
    padding: 0;
  }

  & div.container {
    max-width: 780px;

    & div.president-heading {
      background: #1e6e34;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 3rem 3rem;
      gap: 3rem;

      & img {
        width: 160px;
        border-radius: 9999px;
      }

      @media (max-width: 800px) {
        justify-content: center;
        padding: 3rem 1rem;
        gap: 1.3rem;

        & img {
          width: 130px;
        }
      }

      & div {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 1.2rem;
        width: 100%;

        @media (max-width: 800px) {
          gap: 0.625rem;
        }

        & h2 {
          color: #fff;
          font-size: 3.5rem;
          font-style: normal;
          font-weight: 900;
          line-height: 90%;

          @media (max-width: 800px) {
            font-size: 2rem;
          }
        }

        & h3 {
          color: #fff;
          font-size: 1.5rem;
          font-style: normal;
          font-weight: 400;
          line-height: normal;
          letter-spacing: 0.45rem;
          text-transform: uppercase;
          opacity: 0.7;

          @media (max-width: 800px) {
            font-size: 5vw;
            letter-spacing: 0.2rem;
            font-size: 1rem;
          }
        }
      }
    }
  }

  & .content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 1em;
    padding: 3rem;
    padding-bottom: 0;

    border-left: 6px solid #329344;

    @media (max-width: 800px) {
      padding: 2rem;
    }

    & p {
      color: #000;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
    }
  }
}

#contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 100dvw;

  @media (max-width: 800px) {
    grid-template-columns: 1fr;

    & iframe {
      max-width: 100dvw;
      order: 2;
    }
  }

  & iframe {
    width: 100%;
  }

  & > div {
    width: 100%;
    max-width: 100dvw;
    color: white;
    padding: 0 4.5rem;
    background: #014e68;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 3.125rem;

    @media (max-width: 800px) {
      padding: 2rem;
    }

    & h2 {
      font-size: 3.5rem;
      font-style: normal;
      font-weight: 900;
      line-height: 90%;
    }

    & #content {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      justify-content: start;
      align-items: start;
      font-size: 18px;

      @media (max-width: 800px) {
        font-size: 16px;
      }

      & p,
      a {
        font-style: normal;
        line-height: 150%;
      }

      & a {
        font-weight: 600;
      }

      & p.schedule {
        font-weight: 400;
        font-size: 16px;

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

footer {
  background: #0f371a;
  padding: 4.5rem 0;
  gap: 1.5rem;

  @media (max-width: 800px) {
    padding: 7.5rem 2rem;
  }

  & div.socials {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 1.5rem;

    @media (max-width: 800px) {
      width: 100%;
      flex-direction: column-reverse;

      & a {
        width: 100%;
        & img#footer-logo {
          width: 100%;
        }
      }
    }

    & hr {
      border: none;
      border-bottom: solid white 2px;
      width: 100%;
    }
  }

  & div.content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    gap: 3rem;

    @media (max-width: 1200px) {
      flex-direction: column;
      justify-content: start;
      align-items: start;
    }

    & nav {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 2em;

      @media (max-width: 1200px) {
        flex-direction: column;
        justify-content: start;
        align-items: start;
      }

      & a {
        color: white;
        font-size: 1.125em;
        font-style: normal;
        font-weight: 500;
        line-height: 1em;
        letter-spacing: 0.9px;
        text-transform: uppercase;
        position: relative;

        &::after {
          content: "";
          display: block;
          height: 2px;
          width: 0;
          background: white;
          transition: width 0.3s;
          position: absolute;
          left: 0;
          bottom: -8px;
          pointer-events: none;
        }

        &:hover::after {
          width: 100%;
        }
      }
    }
  }

  & .copyright {
    width: 100%;
    display: block;
    text-align: center;
    color: #fff;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.07px;
    padding-top: 4rem;
  }
}

#botao-colaboradores {
  display: flex;
  flex-direction: column;
  background-color: #014E68;
  color: white;
  width: fit-content;
  margin: auto;
  margin-top: 40px;
  padding: 20px;
  border-radius: 8px;
  align-items: center;

  & p {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
  }
}
