* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-padding-top: 70px;
  scroll-behavior: smooth;
}

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

p {
  font-size: 1rem;
  line-height: 1.75rem;
  margin-bottom: 20px;
  font-weight: 300;
}

/*STYLE HEADER*/

header {
  display: flex;
  width: 100%;
  height: 70px;
  background-color: #f3f3f3;
  justify-content: center;
  position: fixed;
  z-index: 999;
  top: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding-left: 20px;
}

.logo-main {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #222222;
  line-height: 1;
  letter-spacing: 4px;
}

.logo-sub {
  font-family: "Roboto", sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-top: 2px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  width: 100%;
  align-items: center;
  border-bottom: #1111113b solid 1px;
  background-color: #ffff;
}

.toggle-input {
  display: none;
}

.menu {
  display: none;
  background-color: rgba(255, 255, 255, 0.98);
  width: 60%;
  position: absolute;
  top: 70px;
  right: 3px;
  padding: 20px;
  list-style: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  flex-direction: column;
  gap: 7px;
  text-align: right;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: #007bff;
}

.menu-icon {
  cursor: pointer;
  padding: 28px 20px;
  display: inline-block;
  margin-left: auto;
}

.navicon {
  background-color: #8d8d8d;
  display: block;
  height: 2px;
  position: relative;
  width: 22px;
}

.navicon::before,
.navicon::after {
  content: "";
  background-color: #a1a1a1;
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
}

.navicon::before {
  top: -8px;
}

.navicon::after {
  top: 8px;
}

.toggle-input:checked ~ .container-nav .menu {
  display: flex;
  flex-direction: column;
}

.toggle-input:checked ~ .menu-icon .navicon {
  background: transparent;
}

.toggle-input:checked ~ .menu-icon .navicon::before {
  transform: rotate(-45deg);
  top: 0;
}

.toggle-input:checked ~ .menu-icon .navicon::after {
  transform: rotate(45deg);
  top: 0;
}

.container-logo {
  padding-left: 10px;
}

.logo-hero {
  width: 100%;
  max-width: 1240px;
  height: auto;
}

/*STYLE HEADER*/

/*STYLE MAIN*/

.main-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 70px;
}

.section-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  min-height: calc(100vh - 70px);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.section-main p {
  text-align: center;
  padding: 0 20px;
  max-width: 600px;
  margin-top: 37px;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #555;
}

.section-main h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-optical-sizing: auto;
  line-height: 1.2;
  font-weight: 500;
  color: #222;
  text-align: center;
  padding: 0 20px;
}

.btn {
  display: flex;
  width: auto;
  height: 50px;
  padding: 20px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: none;
  font-size: 18px;
  color: #f4f4f4;
  background-color: #222222;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-bottom: 25px;
}

.btn:hover {
  background-color: #444444;
  color: #d4af37;
}

#btn-submit:hover {
  background-color: #25d366;
  color: #ffffff;
}

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

.container-servicos {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px;
}

.container-servicos::-webkit-scrollbar {
  display: none;
}

.section-main h2 {
  font-family: "Roboto", sans-serif;
  line-height: 1.75rem;
  margin-bottom: 20px;
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  max-width: 320px;
  width: 100%;
  height: auto;
  min-height: 220px;
  border-radius: 15px;
  color: white;
  flex: 0 0 85%;
  scroll-snap-align: center;
  padding: 35px 20px;
  border-top: 5px solid #d4af37; /* Use a cor da sua logo aqui */
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.card h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #222222;
  text-align: center;
  margin-bottom: 15px;
}

.card p {
  font-size: 17px;
  line-height: 1.5;
  color: #666666;
  text-align: center;
  margin-bottom: 0;
}

/*STYLE MAIN*/

/*STYLE ABOUT SECTION*/

.container-image {
  display: flex;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.image-profile {
  width: 300px;
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.container-textos-sobre h4 {
  font-size: 14px;
}

.section-main h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #222;
  text-align: center;
  margin-bottom: 5px;
}

.section-main h4 {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #888;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;

  margin-bottom: 25px;
}

/*STYLE ABOUT SECTION*/
.form {
  display: flex;
  flex-direction: column;
  width: 88%;
  max-width: 500px;
  gap: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/*STYLE CONTACT SECTION*/

/*STYLE FOOTER*/
footer {
  width: 100%;
  background-color: #222222;
  color: #f4f4f4;
}

.container-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px 30px 20px;
  gap: 40px;
}

.container-infos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.footer-brand {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
}

.footer-slogan {
  font-size: 0.95rem;
  color: #aaaaaa;
  margin-bottom: 0;
}

.container-redes {
  display: flex;
  gap: 30px;
}

.container-redes a {
  color: #ffffff;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.container-redes a:hover {
  color: #d4af37;
  transform: translateY(-3px);
}

.container-copyright p {
  font-size: 0.8rem;
  color: #777777;
  margin-bottom: 0;
  text-align: center;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  width: 100%;
}

.footer-item h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: #d4af37; /* Usando o dourado para destacar os títulos */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.footer-item p {
  font-size: 0.9rem;
  color: #aaaaaa;
  line-height: 1.5;
  margin-bottom: 0; /* Zera a margem global de <p> para não desalinhar */
}

/*STYLE FOOTER*/

/*RESPONSIVIDADE TABLET*/
@media (min-width: 768px) {
  /*STYLE HEADER*/

  .logo-hero {
    width: 550px;
  }
  .menu-icon {
    display: none;
  }

  .menu {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    top: 0;
    padding: 0;
    background-color: transparent;
  }

  .container-nav {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    padding-right: 30px;
  }

  .menu li a {
    padding: 10px 15px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }

  .menu li a:hover {
    color: #d4af37;
  }

  .navbar {
    justify-content: space-around;
  }

  /*STYLE HEADER*/

  /*STYLE SECTION SERVICOS*/

  .section-main > h2 {
    margin: 25px 0;
    font-size: 40px;
  }

  .section-main > p {
    font-size: 24px;
  }

  .card {
    flex: none;
    max-width: none;
    height: 100%;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .card:hover {
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }

  .card > h4 {
    font-size: 20px;
  }

  .card > p {
    font-size: 16px;
  }

  .container-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    overflow-x: visible;
    padding: 40px 0;
  }

  /*STYLE SECTION SERVICOS*/

  /*STYLE SECTION SOBRE*/

  .container-sobre {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 90%;
    max-width: 1000px;
    margin: 50px 0px;
  }

  .container-textos-sobre p {
    margin-bottom: 15px; /* Cria o respiro entre os dois parágrafos */
    text-align: justify; /* Opcional: deixa o bloco de texto bem alinhado nas laterais */
  }

  .container-image {
    width: 45%;
    justify-content: flex-end;
  }

  .container-textos-sobre {
    width: 55%;
    display: flex;
    flex-direction: column;

    align-items: flex-start;
  }

  .container-textos-sobre h3,
  .container-textos-sobre h4,
  .container-textos-sobre p {
    text-align: left;
  }

  .container-textos-sobre p {
    max-width: none;
    padding: 0;
    margin-top: 20px;
  }

  /*STYLE SECTION SOBRE*/

  /*STYLE FOOTER*/
  .footer-grid {
    flex-direction: row; /* Coloca os itens lado a lado */
    justify-content: space-around; /* Distribui o espaço entre eles */
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
  }

  .footer-item {
    flex: 1; /* Garante que as colunas tenham larguras iguais */
  }
  /*STYLE FOOTER*/

  @media (min-width: 1440px) {
    .container-sobre {
      display: flex;
      gap: 70px;
    }

    .image-profile {
      width: 400px;
    }
  }
}
/*RESPONSIVIDADE TABLET/DESKTOP*/
