* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

::selection {
  background-color: var(--apoio-color);
  color: var(--primary-color);
}

:root {
  --primary-color: #00352f;
  --second-color: #00594f;
  --bg-color: rgba(0, 89, 79, .9);
  --apoio-color: #cedc00;
  --text-color: #fff;
  --text-black: #000;
  --text-btn: #00352f;
  --bg-body: #eeeeee;
  --bg-white: #fff;
  --box-shadow: rgba(0, 0, 0, 0.1);
  --bg-video: rgba(0, 0, 0, .5);
  --bg-video-full: rgba(0, 0, 0, .8);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  transition: 0.3s;
  color: var(--text-color);
}

body {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-size: 1.4rem;
  margin: 0 auto;
  background-color: var(--bg-white);
  font-family: "Noto Sans", sans-serif;
}

input, select, textarea {
  font-family: "Noto Sans", sans-serif;
}

/* Estilizando a barra de rolagem */
::-webkit-scrollbar {
  width: .6rem;
}
::-webkit-scrollbar-track {
  background: #b1b1b1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
  transition: .3s;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* SCROLLING */
.to_op {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.to_op.visible {
  opacity: 1;
}

.to_right {
  transform: translateX(-30%);
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.to_right.visible {
  transform: translateX(0);
  opacity: 1;
}

.to_up {
  transform: translateY(30%);
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.to_up.visible {
  transform: translateY(0);
  opacity: 1;
}

/* btn whats */
.whats {
  width: max-content;
  height: max-content;
  position: fixed;
  bottom: 2rem;
  right: 3rem;
  background: none;
  border: none;
  z-index: 999;
}

.whats img {
  cursor: pointer;
  transform-origin: bottom right;
  margin-bottom: 1rem;
  transition: transform 0.3s;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.whats img:hover {
  transform: scale(1.03) translateY(-1rem);
  transform-origin: bottom right;
}

/* NAV BAR */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  padding: 5rem 0rem;
  position: fixed;
  z-index: 9999;
  transition: .4s ease-in-out;
}

.nav.scroll {
  background-color: var(--bg-body);
  padding: 1.5rem 0rem;
  box-shadow: 0px 4px 6px var(--box-shadow);
}

.nav.scroll .logo {
  filter: none;
  width: 75%;
}

.nav.scroll .list_menu_itens li a {
  color: var(--primary-color);
}

.nav.scroll .btn_ponto a {
  background-color: var(--second-color);
  color: var(--text-color);
}

.nav.scroll .btn_ponto a:hover {
  background-color: var(--apoio-color);
  color: var(--primary-color);
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo {
  filter: grayscale(100%) brightness(1000);
  width: 85%;
  height: auto;
  transition: width .4s ease-in-out;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: max-content;
}

.list_menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.list_menu_itens {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  list-style: none;
}

.list_menu_itens li {
  position: relative;
  font-weight: 600;
  font-size: 1.5rem;
}

.list_menu_itens li::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  left: 50%;
  height: .3rem;
  background-color: var(--apoio-color);
  border-radius: 1rem;
  transform: translateX(-50%);
  transition: .2s ease-out;
}

.list_menu_itens li:hover::after, 
.list_menu_itens li.active::after {
  width: 100%;
}

.btn_ponto {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn_ponto a {
  background-color: var(--bg-white);
  padding: 1rem 2rem;
  border-radius: 20rem;
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: .7s ease-out;
}

.btn_ponto a:hover {
  background-color: var(--apoio-color);
}

.btn_ponto a::before {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  position: absolute;
  display: block;
  background-color: var(--apoio-color);
  transition: .3s ease-in-out;
}

.btn_ponto a:hover::before {
  left: 0;
  opacity: 0;
}

/* NAV MOBILE */
body.active {
  overflow: hidden;
}

.nav_mobile {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.menu_hamb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: .7rem;
  cursor: pointer;
}

.line {
  background-color: var(--bg-white);
  width: 3.5rem;
  height: .4rem;
  border-radius: 1rem;
  transition: .3s ease-out;
  z-index: 999;
}

.nav.scroll .line {
  background-color: var(--primary-color);
}

.menu_hamb.active .line:nth-child(1) {
  transform: rotate(45deg) translateY(1.5rem);
  background-color: var(--bg-white);
}

.menu_hamb.active .line:nth-child(2) {
  opacity: 0;
}

.menu_hamb.active .line:nth-child(3) {
  transform: rotate(-45deg) translateY(-1.5rem);
  background-color: var(--bg-white);
}

.menu_mobile {
  width: 0;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  background-color: var(--primary-color);
  top: 0;
  right: 0;
  z-index: 99;
  transition: width .3s ease-out, display .3s ease-out;
}

.menu_mobile ul {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  list-style: none;
}

.menu_mobile ul li a {
  font-weight: 600;
  font-size: 1.6rem;
}

.menu_mobile ul li {
  position: relative;
}

.menu_mobile ul li::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: .3rem;
  border-radius: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--apoio-color);
  transition: .2s ease-out;
}

.menu_mobile ul li.active::after {
  width: 100%;
}

.menu_mobile.active ul {
  display: flex;
}

.menu_mobile.active {
  width: 85vw;
}

.bg_menu_mobile {
  width: 0;
  height: 100vh;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: rgba(206, 220, 0, .8);
  transition: width .3s ease-out;
}

.bg_menu_mobile.active {
  width: 100vw;
}

.redes_sociais_mobile {
  position: absolute;
  bottom: 2%;
  left: 0;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  padding: 5rem 2rem;
  opacity: 50%;
}

.menu_mobile.active .redes_sociais_mobile {
  display: flex;
}

/* TO TOP  */

.toTop {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  height: max-content;
  padding: 5rem 0;
}

.toTop svg {
  transform: rotate(-90deg);
  color: var(--primary-color);
  transition: .3s ease-out;
  cursor: pointer;
}

.toTop svg:hover {
  color: var(--second-color);
  transform: translateY(-0.8rem) rotate(-90deg);
}

.toTop p {
  color: var(--primary-color);
  font-weight: 600;
}


/* FOOTER */

footer {
  width: 100%;
  height: max-content;
  padding: 10rem 0 0 0;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  background-image: linear-gradient(45deg, var(--primary-color), var(--second-color));
}

footer ul {
  list-style: none;
}

.box_footer {
  width: 100%;
  max-width: 85%;
  height: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 5rem 0 10rem 0;
}

.box_logo_footer {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 2rem;
  padding-right: 20rem;
}

.box_logo_footer img {
  filter: invert(1) grayscale(1000) brightness(1000%);
}

.box_logo_footer p {
  color: var(--text-color);
  line-height: 2rem;
  font-size: 1.3rem;
  text-align: justify;
}

.redes_sociais {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
}

.redes_sociais svg {
  width: 3rem;
  height: auto;
  color: var(--bg-white);
  cursor: pointer;
  transition: .3s ease-out;
}

.redes_sociais svg:hover {
  color: var(--apoio-color);
}

.institucional_footer, 
.produtos_institucional,
.contatos_institucional {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 3rem;
}

.institucional_footer p,
.produtos_institucional p,
.contatos_institucional p {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.8rem;
}

.institucional_footer ul, 
.produtos_institucional ul, 
.contatos_institucional ul {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.institucional_footer ul li, 
.produtos_institucional ul li,
.contatos_institucional ul li {
  color: var(--text-color);
  cursor: pointer;
  transition: .3s ease;
  line-height: 2rem;
}

.contatos_institucional ul li {
  list-style: inside;
}

.institucional_footer ul li a:hover, 
.produtos_institucional ul li a:hover, 
.contatos_institucional ul li a:hover,
.contatos_institucional ul li:hover {
  color: var(--apoio-color);
}

.contatos_institucional ul li:nth-child(1) {
  list-style-image: url(/src/icons/svg/whatsapp.svg);
}

.contatos_institucional ul li:nth-child(2) {
  list-style-image: url(/src/icons/svg/email.svg);
}

.contatos_institucional ul li:nth-child(3) {
  list-style-image: url(/src/icons/svg/map.svg);
}

.box_copy_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: max-content;
  background-color: var(--bg-white);
  padding: 2rem 0rem;
}

.copy {
  display: flex;
  width: 100%;
  height: max-content;
  justify-content: center;
  align-items: center;
}

.copy p {
  color: var(--text-black);
  font-weight: 500;
  font-size: 1.3rem;
  text-align: center;
}

/* DEV */

.dev {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: max-content;
}

.dev p {
  font-size: 1.3rem;
  color: var(--text-black);
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
}

.logotipo-acrovisual {
  filter: grayscale(100%);
  opacity: 80%;
  transition: .3s;
  cursor: pointer;
}

.logotipo-acrovisual:hover {
  filter: grayscale(0);
  opacity: 100%;
}

/* NAV BOTTOM >= 728px */

.nav_bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 8rem;
  padding: 2rem 0;
  background-color: var(--second-color);
  position: fixed;
  transform: translateY(100%);
  opacity: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  transition: transform .3s ease-out, opacity .2s ease-out;
}

.nav_bottom.show {
  transform: translateY(0);
  opacity: 1;
}

.box_btn_email, .box_btn_orcamento, .box_btn_upTo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: .5rem;
  cursor: pointer;
}

.box_btn_orcamento p {
  margin-top: 2.5rem;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.3rem;
}

.box_btn_upTo p,
.box_btn_email p {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-color);
}

.circle_btn_orcamento {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 6.2rem;
  height: 6.2rem;
  background-color: var(--apoio-color);
  border-radius: 100%;
  border: solid .2rem var(--bg-white);
  color: var(--primary-color);
  padding: 1rem;
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  transition: .3s ease-out;
  z-index: 999;
}

.btn_email img,
.btn_upTo img {
  color: var(--bg-white);
  transition: .3s ease-out;
}

.box_btn_email:hover img,
.box_btn_upTo:hover img {
  scale: 1.1;
  transform: translateY(-0.2rem);
}

/* RESPONSIVIDADE */

@media (max-width: 1280px) {

  /* NAVBAR */
  .list_menu_itens {
    gap: 3rem;
  }

  .logo {
    width: 75%;
    height: auto;
  }

  /* FOOTER */

  .box_footer {
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    width: 90%
  }

  .box_logo_footer {
    padding-right: 0rem;
  }

  .box_footer p {
    text-align: left;
  }
  
  .institucional_footer,
  .produtos_institucional {
    padding-left: 5rem;
  }

}

@media (max-width: 1024px) {
  /* HEADER */
  .nav {
    padding: 2rem 4rem;
  }

  .container {
    justify-content: flex-start;
  }

  .nav.scroll {
    padding: 2rem 4rem;
  }

  .menu,
  .btn_ponto {
    display: none;
  }


  .logo {
    width: 100% !important;
  }

  /* FOOTER */

  .box_footer {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10rem;
  }

  .box_logo_footer {
    grid-column: 1 / -1;
    align-items: center;
  }

  .box_logo_footer p {
    text-align: center;
  }

  .institucional_footer,
  .institucional_footer ul,
  .produtos_institucional,
  .produtos_institucional ul,
  .contatos_institucional,
  .contatos_institucional ul {
    padding-left: 0rem;
    align-items: center;
  }

  .institucional_footer ul li,
  .produtos_institucional ul li,
  .contatos_institucional ul li {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .box_footer {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .box_copy_footer {
    padding-bottom: 12rem;
    flex-direction: column;
    gap: 2rem;
  }

  .copy p {
    width: 80%;
  }
  
}