@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  --colorPrimary: #162448;
  --colorSecondary: #c2b068;
  --colorPrimaryLight: #4975ae;
  --light: #ffffff;
  --valueBorder: 1rem;
  --fontTitleNav: 1.5rem;
  --htmlFont: 12px;
  --margin: 0.2rem;
  --spacing: 0.5rem;
  --fontText: 1.2rem;
  --fontTitleMain: 2.6rem;
}

/* Reset dos estilos */
* {
  box-sizing: border-box;
}

body,
h1,
h2,
p,
.menu,
.navigation {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", "Arial Narrow", Arial, sans-serif;
  color: #333333;
}

p,
a {
  font-family: "Inter", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  color: #333333;
}

/* Padronificação dos Elementos */
html {
  font-size: var(--htmlFont);
}

body {
  background-color: var(--light);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.limiter {
  margin: auto;
  max-width: 1400px;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
}

.whatsapp-float > i {
  font-size: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Estilização de barra de navegação */
header {
  background-color: rgba(22, 36, 72, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--spacing);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

header .limiter {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  margin: var(--margin);
  padding: var(--spacing);
  & a {
    font-size: var(--fontTitleNav);
    color: #c2b068;
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
  }
}

.navigation {
  display: none;
  list-style: none;
  & li,
  li a,
  p {
    color: var(--light);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    margin: var(--margin);
    padding: var(--spacing);
    font-size: var(--fontText);
  }
}

.navigation a:hover,
.navigation a:focus {
  color: var(--colorSecondary);
}

.btnBudget,
.btnBudget a {
  border-radius: calc(var(--valueBorder) - 5px);
  font-weight: bold;
  padding: var(--spacing);
  max-width: 270px;
  align-self: center;
  display: flex;
  justify-content: end;

  & a {
    border: 2px solid var(--colorSecondary);
    color: var(--colorSecondary);
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
    font-size: var(--fontText);
  }
  &:hover,
  a:hover {
    color: var(--light);
    border-color: var(--light);
  }
}

.btnComputer {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.menu a {
  color: var(--light);
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  font-size: var(--fontTitleNav);
  padding: var(--spacing);
}

.navigation.open {
  background-color: var(--colorPrimary);
  z-index: 1;
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  left: 0;
  padding: 1.2rem;
  margin-top: 10px;
}

.icon {
  font-size: var(--fontTitleNav);
}

/* Estilização do conteúdo */

.carousel-item img {
  height: auto;
  width: 100%;
  object-fit: cover;
}

.title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--colorPrimary);
  text-decoration: underline;
}

.aboutUs {
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.aboutText {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: var(--margin);
  padding: var(--spacing);

  & h2 {
    text-align: center;
    width: 100%;
  }

  & p {
    width: 100%;
    padding-top: 20px;
    font-size: clamp(var(--fontText), 3.5vw, 1.8rem);
    margin: var(--margin);
  }
}

.topicsArea {
  width: 100%;
  display: flex;
  text-align: center;
  flex-direction: column;
  margin: var(--margin);
  padding: var(--spacing);
  justify-content: center;

  & h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: clamp(var(--fontTitleMain), 2.5vw, 2.5rem);
    margin: var(--margin);
    padding: var(--spacing);
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    & b {
      margin-top: 10px;
      color: #262d69;
      font-size: clamp(3.5rem, 3.5vw, 3rem);
    }
  }
}

.services {
  margin-top: 100px;
}

.servicesArea {
  padding: 40px 20px;
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
  gap: 2rem;
}

.serviceCard {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 30rem;
  background-color: #f8f8f8;
  border: 4.5px solid var(--colorPrimaryLight);
  border-radius: 15px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.25);
  transition: 0.2s ease-in-out;

  & img {
    width: 100%;
    height: 100px;
    border-radius: 10px 10px 0px 0px;
    object-fit: cover;
  }

  & div {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.5rem 1rem;

    & h3 {
      width: 100%;
      text-align: center;
      font-size: clamp(var(--fontText), 2vw, 2rem);
      font-weight: bold;
      color: var(--colorPrimary);
      margin-bottom: 10px;
    }

    & p {
      font-size: clamp(var(--fontText), 1.5vw, 1.5rem);
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 5;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    & a {
      display: flex;
      justify-content: end;
      width: 100%;
      text-decoration: none;
      padding-top: 20px;
      cursor: default;

      & i {
        background-color: var(#f8f8f8);
        font-size: 30px;
        padding: 4px 12px;
        border: 4px solid var(--colorPrimaryLight);
        border-radius: 90px;
        color: var(--colorPrimaryLight);
        transition: 0.2s ease-in-out;
        cursor: pointer;
      }

      & i:hover {
        color: #ffffff !important;
        background-color: var(--colorPrimaryLight) !important;
        transform: scale(1.1);
      }
    }
  }
}
.serviceCard:hover {
  transform: scale(1.03);
  background-color: #ffffff;

  & div > a > i {
    background-color: #bbc9db;
  }
}

.swiper {
  width: 90%;
  height: 430px;
}

.title-review {
  margin-top: 100px;
  margin-bottom: 40px;
}

.slider-wrapper {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 70px 55px;
}

.carousel-item-reviews {
  display: flex;
  flex-direction: column;
  background-color: #f8f8f8;
  border-radius: 8px;
  border: 3px solid var(--colorSecondary);
  width: 300px;
  height: 210px;
  padding: 16px;
  justify-content: space-around;
  margin-right: 20px;
  transition: transform 1s ease-in-out;

  & h4 {
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  & p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  & p:last-child {
    text-align: end;
    font-weight: 700;
  }
}

.stars {
  list-style: none;
  display: flex;
  color: var(--colorSecondary);

  & li {
    margin-right: 5px;

    & i {
      font-size: 12px;
    }
  }
}

.carousel-item-reviews.active {
  background-color: #f0f0f0;
  transform: scale(1.05);
  transition: 2s;
}

.gallery {
  padding: 100px 0 100px 0;
}

.contactContainer {
  background-color: var(--colorPrimary);

  & .contactText,
  h2,
  .btn {
    color: var(--light);
    text-decoration: none;
    min-width: 260px;
    padding: var(--spacing);
    margin: var(--margin);
  }

  & article {
    min-width: 260px;
    max-width: 600px;
  }

  & .contactLimiter {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row wrap;
    padding: 3.5rem 1.5rem;
  }

  & h2 {
    text-align: center;
  }

  & p,
  form label {
    font-weight: 400;
    color: var(--light);
  }

  & form {
    margin: var(--margin);
    padding: 1.5rem;
    max-width: 836px;
    margin: auto;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    & input,
    select,
    textarea {
      display: block;
      width: 100%;
      padding: 0.8rem;
      border-left: 0.6rem solid var(--colorSecondary);
      border-radius: var(--valueBorder);
    }

    & textarea {
      height: 120px;
    }

    & p {
      text-align: center;
      & .btnSend {
        background-color: var(--colorSecondary);
        &:hover,
        :focus {
          opacity: 0.9;
        }
      }
    }
  }

  .contactText {
    font-size: 18px;
  }

  & .contactNumber {
    background: rgb(95, 216, 107);
    background: linear-gradient(
      50deg,
      rgba(95, 216, 107, 1) 0%,
      rgba(41, 151, 52, 1) 100%
    );
    padding: 0.5rem;
    border: 0.3rem solid var(--colorSecondary);
    border-radius: var(--valueBorder);
    font-size: 2rem;
    font-weight: bold;
  }
  & .contactLocalization {
    background: #232f43;
    background: linear-gradient(250deg, #232f43 0%, #425575 100%);
    padding: 0.5rem;
    border: 0.3rem solid var(--colorSecondary);
    border-radius: var(--valueBorder);
    font-size: 2rem;
    font-weight: bold;
  }
  & .contactMail {
    background: #b51d1d;
    background: linear-gradient(250deg, #b51d1d 0%, #fb9090 100%);
    padding: 0.5rem;
    border: 0.3rem solid var(--colorSecondary);
    border-radius: var(--valueBorder);
    font-size: 2rem;
    font-weight: bold;
  }

  & .info {
    font-size: 0.9rem;
  }

  & picture figure {
    padding: var(--spacing);
    margin: 1.5rem;
    text-align: center;

    & img {
      width: 450px;
    }
  }
}

.footerIndex {
  background-color: var(--colorPrimary);
  display: flex;
  align-items: center;
  justify-content: center;

  & .infosFooter {
    width: 100%;
    margin: var(--margin);
    padding: var(--spacing);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    & p {
      margin: 1rem;
    }
  }

  & .copyrightText {
    color: var(--light);
    font-weight: 400;
    text-align: center;
  }

  & .developerText {
    color: #5f77b6;
    text-align: center;
  }
}

.footerIndex {
  & .infosFooter {
    justify-content: space-between;
  }
}

@media screen and (min-width: 300px) {
  .gallery {
    padding: none;
  }
}

@media screen and (min-width: 1100px) {
  .menu {
    display: none;
  }

  .navigation {
    display: flex;
    justify-content: center;
  }

  header .limiter {
    justify-content: space-between;
  }

  nav {
    width: 70%;
  }

  .titleSocialMedia {
    display: none;
  }

  .navigation li {
    width: min-content;
    border-right: 3.5px solid var(--light);
    padding: 0px 20px;
  }
  .navigation li:last-child {
    width: 150px;
    border-right: none;
  }

  .btnCellphone {
    display: none;
  }

  .btnComputer {
    display: flex;
  }

  .btnBudget {
    width: 220px;
  }

  .navigation.open {
    display: none;
  }

  .carousel-item img {
    height: 90vh;
    object-fit: cover;
  }

  .aboutUs {
    flex-direction: row;
  }

  .aboutText {
    width: 50%;

    & p {
      max-width: 90%;
    }
  }

  .topicsArea {
    width: 50%;
    align-items: center;

    & h3 {
      flex-direction: row;
      align-items: end;

      & b {
        margin-right: 5px;
      }
    }
  }

  .serviceCard {
    flex-direction: row;
    width: 95%;

    & img {
      width: 200px;
      height: 100%;
      border-radius: 10px 0px 0px 10px;
      border-right: 6px solid var(--colorPrimaryLight);
    }

    & div {
      padding: 20px 30px;

      & h3 {
        padding-bottom: 20px;
      }

      & p {
        -webkit-line-clamp: 8;
      }
    }
  }
}

@media screen and (min-width: 1660px) {
  .servicesArea {
    grid-template-columns: repeat(auto-fit, minmax(50rem, 1fr));
  }
}
