* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #017dd0;
    --primary-color-rgb: 1, 125, 208;
    --second-color: #fffb7a;
    --terc-color: #f80300;
    --bg-white: #fff;
    --bg-gray: #fafafa;
    --text-white: #fff;
    --text-black: #212121;
    --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: var(--text-black);
    font-weight: 600;
}

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: "Poppins", sans-serif;
}

input, select, textarea {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
}

/* 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: 1;
  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;
} */

/* btnTop */
.btnTop {
  z-index: 50;
  width: 4rem;
  height: 4rem;
  position: fixed;
  bottom: 0;
  right: 0;
  margin-bottom: 12rem;
  margin-right: 4.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.5s, transform 0.5s;
  transform: translateY(2rem);
  opacity: 0;
}

.btnTop img {
  transition: 0.3s;
  border-radius: 50%;
}

.btnTop img:hover {
  scale: 1.08;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.endereco-text {
  font-size: 1.3rem !important;
  font-weight: 500 !important;
}

/* GERAIS */
.btn-site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border: none;
  padding: 1.5rem 5rem;
  border-radius: 10rem;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

.align-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.align-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.align-start-flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.align-direction-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.all-display {
  width: 100%;
  height: max-content;
  padding: 8rem 0;
}

/* 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 */
.main-header {
  position: fixed;
  z-index: 9999;
  width: 100%;
  margin: 3rem auto;
  transition: .4s;
}

.main-header.scrolling {
  margin: 0 auto;
}

.main-header.scrolling .box-nav {
  width: 100%;
  border-radius: 0rem;
}

.logo a img {
  width: 90%;
  height: auto;
}

.box-nav {
  background-color: var(--bg-white);
  padding: 1rem 8rem;
  border-radius: 20rem;
  width: 90%;
  box-shadow: var(--box-shadow);
  transition: .4s;
}

.list-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  list-style: none;
}

.list-menu li,
.dropdown-toggle {
  position: relative;
  font-weight: 600;
  font-size: 1.5rem;
  cursor: pointer;
}

.dropdown-toggle {
  gap: 1rem;
}

.list-menu li a,
.dropdown-toggle {
  color: var(--text-black);
  font-size: 1.4rem;
}

.list-menu li::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  left: 50%;
  height: .3rem;
  background-color: var(--primary-color);
  border-radius: 1rem;
  transform: translateX(-50%);
  transition: .2s ease-out;
}

.list-menu li:hover::after, 
.list-menu li.active::after {
  width: 100%;
}

.btn-header {
  background-color: var(--primary-color);
  color: var(--text-white);
  transition: .3s;
}

.btn-header:hover {
  background-color: var(--second-color);
  color: var(--text-black);
}

/* NAV MOBILE */
body.active {
  overflow: hidden;
}

.nav_mobile {
  display: none;
  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(--primary-color);
  width: 3.5rem;
  height: .4rem;
  border-radius: 1rem;
  transition: .3s ease-out;
  z-index: 999;
}

.container.scrolling .line {
  background-color: var(--primary-color);
}

.menu_hamb.active .line:nth-child(1) {
  transform: rotate(45deg) translateY(1.5rem);
  background-color: var(--primary-color);
}

.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(--primary-color);
}

.menu_mobile {
  width: 0;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  background-color: var(--second-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;
  color: var(--text-black);
}

.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(--bg-white);
  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: var(--primary-color);
  transition: width .3s ease-out;
}

.bg_menu_mobile.active {
  width: 100vw;
}

/* Container do dropdown */
.item-menu-drop {
    position: relative; 
}

.dropdown-menu {
    list-style: none;
    padding: 1rem 0;
    margin: 1rem 0 0;
    background-color: var(--bg-white);
    border-radius: .8rem;
    box-shadow: 0 .8rem 2rem rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 22rem;
}

/* Estado visível do dropdown */
.item-menu-drop.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-toggle {
  background: none;
  border: none;
}

/* Gira a seta quando o menu está aberto */
.item-menu-drop.show .dropdown-toggle svg {
    transform: rotate(180deg);
}

/* Estilo dos itens dentro do dropdown */
.dropdown-menu li a {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--text-black);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 1.3rem;
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* FAQ */

.quarta_dobra {
    flex-direction: column;
}

.list_questions {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    height: max-content;
    padding: 5rem 0;
    max-width: 102.4rem;
    list-style: none;
}

.list_questions li {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-direction: column;
    box-shadow: var(--box-shadow);
    border-radius: 1rem;
    padding: 2rem 3rem;
    overflow: hidden;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.list_questions li .title_question {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color);
    position: relative;
    width: 100%;
    transition: .3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list_questions li:hover .title_question {
    color: var(--text-black);
    opacity: 80%;
}

.title_question img {
    position: absolute;
    top: 50%;
    right: .5rem;
    transform: translateY(-50%);
    transform-origin: center;
}

.list_questions li .content_question {
    font-size: 1.3rem;
    line-height: 2rem;
    text-align: justify;
    hyphens: auto;
    width: 100%;
    display: none;
}

.list_questions li.active .content_question {
    display: block;
}

.list_questions li.active img {
    transform: rotate(90deg);
}

/* TITLE */
.title_segunda_dobra,
.title_quarta_dobra {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
    height: max-content;
}

.title_segunda_dobra p,
.title_quarta_dobra p {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.8rem;
    text-align: center;
}

.title_element {
    width: 100%;
    font-size: 3.3rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-black);
}

.title_element span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 5rem;
}

.title_element span::after,
.title_element span:before {
    content: "";
    display: block;
    background-color: var(--primary-color);
    width: 20%;
    height: .5rem;
    border-radius: 2rem;
}

/* FOOTER */
footer {
  width: 100%;
  height: max-content;
  padding: 10rem 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
}

footer ul {
  list-style: none;
}

.box_footer {
  width: 100%;
  max-width: 192rem;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 5rem 0 10rem 0;
  gap: 5rem;
}

.box_logo_footer {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 2rem;
}

.box_logo_footer p {
  color: var(--text-color);
  line-height: 2rem;
  font-size: 1.3rem;
}

.redes_sociais {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
}

.redes_sociais svg {
  width: 4rem;
  height: auto;
  color: var(--primary-color);
  cursor: pointer;
  transition: .3s ease-out;
}

.redes_sociais svg:hover {
  color: var(--text-black);
}

.institucional_footer, 
.contatos_institucional,
.contatos_endereco {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 3rem;
  margin: 0 auto;
}

.institucional_footer p,
.contatos_institucional p,
.contatos_endereco p {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.8rem;
}

.institucional_footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-direction: row;
}

.contatos_institucional ul,
.contatos_endereco ul {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.institucional_footer ul li, 
.contatos_institucional ul li,
.contatos_endereco ul li {
  color: var(--text-black);
  cursor: pointer;
  transition: .3s ease;
  line-height: 2rem;
  font-weight: 600;
}

.contatos_institucional ul li {
  list-style: inside;
}

.institucional_footer ul li a:hover, 
.contatos_institucional ul li a:hover,
.contatos_institucional ul li a:hover,
.contatos_endereco ul li a:hover {
  color: var(--primary-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-gray);
  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;
}

.maps iframe {
  border-radius: 2rem;
}

.selos-caldas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

/* 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-andre {
  filter: grayscale(100%);
  opacity: 80%;
  transition: .3s;
  cursor: pointer;
}

.logotipo-andre:hover {
  filter: grayscale(0);
  opacity: 100%;
}

  .trabalhe-conosco {
    background-image: linear-gradient(
        to right, 
        var(--primary-color) 0%, 
        rgba(var(--primary-color-rgb), 0) 90%
    ), 
    url("/src/images/trabalhe-conosco.webp");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 10rem 0;
  }

  .container-trabalhe-conosco {
    max-width: 160rem;
    padding: 10rem 0;
    gap: 5rem;
  }

  .left-container-trabalhe,
  .title-right-trabalhe {
    width: 50%;
  }

  .left-container-trabalhe h3 {
    color: var(--text-white);
    font-size: 6rem;
    line-height: 6rem;
    font-weight: 400;
  }

  .left-container-trabalhe p {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-top: 1.5rem;
  }

  .left-container-trabalhe span {
    font-size: 10rem;
    font-weight: 700;
    color: var(--second-color);
  }

  .btn-curriculo {
    transition: .3s;
    background-color: var(--bg-white);
  }

  .btn-curriculo:hover {
    color: var(--text-white);
    background-color: var(--primary-color);
  }

@media (max-width: 1920px) {
  .box_footer {
    max-width: 90%;
  }
}



@media (max-width: 1600px) {
  .box_footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem;
  }

  .institucional_footer, 
.contatos_institucional,
.contatos_endereco {
  margin: 0;
}
}

@media (max-width: 1200px) {
  .title_quarta_dobra,
  .list_questions {
    max-width: 90%;
  }
}

@media(max-width: 1180px) {
  .main-nav,
  .btn-header {
    display: none;
  }

  .nav_mobile {
    display: flex;
  }

  .box_copy_footer {
    padding: 2rem 5rem;
  }
}

@media (max-width: 996px) {
  .box_footer {
    grid-template-columns: repeat(1, 1fr);
  }

  .container-trabalhe-conosco {
    flex-direction: column;
    padding: 5rem 0;
  }

  .left-container-trabalhe {
    text-align: center;
    width: 100%;
  }

  .box_copy_footer {
    flex-direction: column;
    gap: 2rem;
  }

  .institucional_footer, 
.contatos_institucional,
.contatos_endereco {
  margin: 0 auto;
  text-align: center;
  max-width: 90%;
}

.institucional_footer ul, 
.contatos_institucional ul,
.contatos_endereco ul {
  justify-content: center;
  align-items: center;
}

.box_logo_footer,
.institucional_footer,
.contatos_institucional,
.contatos_endereco {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.main-header {
  margin: 0 auto;
}

.main-header .box-nav {
  width: 100%;
  border-radius: 0rem;
  padding: 2rem 10rem;
}

@media (max-width: 614px) {
  .main-header .box-nav {
    padding: 2rem 3rem;
  }

   .left-container-trabalhe h3 {
    font-size: 4rem;
    line-height: 5rem;
  }

  .left-container-trabalhe p {
    width: 90%;  
    margin: 0 auto;
  }

  .left-container-trabalhe span {
    font-size: 8rem;
  }
}

@media (max-width: 426px) {

   .left-container-trabalhe h3 {
    font-size: 3rem;
    line-height: 4rem;
  }

  .left-container-trabalhe p {
    width: 90%;  
    max-width: 90%;
    margin: 0 auto;
  }

  .left-container-trabalhe span {
    font-size: 6rem;
  }
}

.logo a img {
  width: 100%;
  height: auto;
}

}