/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #333;
  padding: 10px;
}

h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: bold;
}

p {
  font-size: 0.875rem;
}

.negrito {
  font-weight: bold;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  padding: 10px 0;
  font-size: 0.875rem;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
  background-color: #ddd;
  z-index: 5;
  text-align: right;
}

header img {
  width: 60%;
}

header li a:hover {
  padding-bottom: 5px;
  color: #176f6b;
  border-bottom: 2px solid #176f6b;
}

header li {
  display: inline-block;
  margin-left: 20px;
}

header li:first-child {
  margin-left: 0;
}

p.subtitulo {
  font-weight: bold;
  line-height: 1.25rem;
  margin: 20px 0;
}

/* QUEM SOMOS */

.quem-somos {
  padding-top: 150px;
  margin-bottom: 40px;
}

.quem-somos img {
  width: 300px;
}

.sub-img {
  text-align: center;
}

/* UNIDADES */

.unidades {
  background-color: #eee;
  padding: 120px 0;
}

.unidades h2,
.servicos h2 {
  text-align: center;
  margin-bottom: 40px;
}

.unidades h3 {
  text-transform: uppercase;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #176f6b;
}

.unidades p {
  text-align: center;
  line-height: 15px;
}

.unidades a {
  margin: 20px auto;
  width: 200px;
  padding: 5px 10px;
  color: white;
  background-color: #176f6b;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-align: center;
}

.unidades-detalhes {
  margin-top: 40px;
}

.unidades-links {
  margin: 20px 0;
  line-height: 2rem;
  text-align: center;
}

/* SERVICOS */

.servicos {
  padding: 120px 0;
}

.servicos-detalhes {
  border-radius: 4px;
  border: 1px solid rgba(112, 112, 112, 0.2);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
}

.servicos p.subtitulo {
  text-transform: uppercase;
  text-align: center;
}

/* FOOTER */

footer {
  background-color: #176f6b;
  color: white;
  padding: 20px 0;
}

.footer-redes-sociais {
  text-align: right;
}

.footer-redes-sociais a {
  padding: 10px;
  color: white;
  font-size: 0.875rem;
}

.footer-redes-sociais a:hover {
  padding-bottom: 5px;
  border-bottom: 2px solid white;
}

/* WHATSAPP */

.wpp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  padding: 6px !important;
}

.wpp-float:hover {
  color: white;
}

.wpp-my-float {
  margin-top: 10px;
}

/* SCROLL ANIMA */

[data-anime="scroll"] {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
  transition: 1s;
}

[data-anime="scroll"].ativo {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* MEDIA */

@media (max-width: 426px) {
  header {
    text-align: left;
  }

  header img {
    width: 20%;
  }

  header li {
    display: block;
    margin-left: 0;
    margin-bottom: 5px;
  }

  header li a {
    padding: 0;
  }

  .header-menu {
    text-align: right;
  }

  .quem-somos {
    padding-top: 100px;
  }

  .unidades a {
    display: block;
  }

  .servicos-detalhes {
    border: none;
    box-shadow: none;
  }

  .footer-redes-sociais {
    text-align: center;
  }
}

/* MENU MOBILE */

[data-menu="button"] {
  display: none;
}

@media (max-width: 426px) {
  [data-menu="button"] {
    display: inline-block;
    top: -70px;
    right: 20px;
    border: 1px solid #176f6b;
    border-radius: 4px;
    background-color: transparent;
    padding: 0.5rem 1rem;
    color: #176f6b;
    cursor: pointer;
    margin: 10px;
    align-items: center;
    position: relative;
    z-index: 300;
  }

  [data-menu="button"]::before {
    margin-right: 4px;
    content: "";
    display: inline-block;
    height: 2px;
    width: 12px;
    background: #176f6b;
    box-shadow: 0 4px #176f6b, 0 -4px #176f6b;
    transition: transform 0.3s;
  }

  [data-menu="button"].active::before {
    transform: rotate(90deg);
  }

  [data-menu="list"] {
    display: none;
    position: absolute;
    background: #ddd;
    width: 200px;
    z-index: 200;
    top: 55px;
    right: 42px;
    padding: 10px;
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #176f6b;
    border-radius: 4px;
  }

  [data-menu="list"].active {
    display: block;
    animation: show-right 0.3s forwards;
  }
}
