* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

:root {
  --primary: #0b1f3a;
  --secondary: #123a5e;
  --background: #ffffff;
  --text: #1f2933;
  --accent: #c9a14a;
}
.buttonHeader,
.buttonMain {
  transition: background-color 0.3s ease;
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  font-size: 1.6rem; /* 16px */
}
a:focus,
button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.bgHeader {
  background-color: var(--background);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.4rem 0;
  gap: 1.6rem;
}
.logo a {
  text-decoration: none;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo a:hover {
  color: var(--primary);
}

.menuHeader {
  display: none;
}

.mobileWrapper {
  display: none;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

#menu-btn {
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
}

.menuMobile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin-top: 2.4rem;
}
.menuMobile li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.8rem;
}
.active {
  display: flex;
}
.buttonHeader {
  background-color: var(--secondary);
  color: var(--background);
  border: 1px solid var(--accent);
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 4px;
}
.buttonHeader:hover {
  background-color: var(--accent);
}
/*Main css*/
.mainSection {
  padding: 4.8rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
}

.textMain {
  max-width: 80rem;
}
.textMain h1 {
  font-size: 3.2rem;
  color: var(--primary);
  margin-bottom: 1.6rem;
}
.textMain p {
  font-size: 1.8rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.buttonMain {
  background-color: var(--secondary);
  color: var(--background);
  border: 1px solid var(--accent);
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 4px;
}
.buttonMain:hover {
  background-color: var(--accent);
}

.imageMain {
  width: 100%;
  max-width: 60rem;
  height: auto;
}
.imageMain img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.areaAtuacao {
  padding: 4.8rem 0;
  text-align: center;
}
.areaAtuacao h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 2.4rem;
}
.cardsContainer {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1.6rem;
}

.cardArea {
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 8px;
  padding: 2.4rem;
}

.cardArea img {
  width: 6.4rem;
  height: 6.4rem;
  object-fit: cover;
  margin-bottom: 1.6rem;
}

.cardArea h3 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 1.6rem;
}
.cardArea p {
  font-size: 1.6rem;
  color: var(--secondary);
  line-height: 1.6;
}

.aboutSection {
  padding: 4.8rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.aboutImage {
  width: 100%;
  max-width: 60rem;
  height: auto;
}
.aboutImage img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.aboutText {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  max-width: 80rem;
}

.aboutText h2 {
  font-size: 2.8rem;
  color: var(--primary);
}
.aboutText p {
  font-size: 1.8rem;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 80rem;
  margin: 0 auto;
}

.depoimentosSection {
  padding: 4.8rem 0;
  text-align: center;
}
.depoimentosSection h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 2.4rem;
}
.depoimentosContainer {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1.6rem;
}
.depoimentoCard {
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 8px;
  padding: 2.4rem;
  max-width: 60rem;
}
.depoimentoCard p {
  font-size: 1.6rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}
.depoimentoCard h3 {
  font-size: 2rem;
  color: var(--primary);
}
.depoimentoCard img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}

.depoimentoImgCard {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
}
.depoimentoCard {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.depoimentoCard:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.contatosSection h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 2.4rem;
  text-align: center;
}

.containerContatos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8rem;
}

.map {
  width: 100%;
  max-width: 100%;
  height: 40rem;
  border-radius: 8px;
  overflow: hidden;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.sectionPost {
  text-align: center;
}

.sectionPost h2 {
  margin-bottom: 1.2rem;
}

.cardsPost {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.card {
  border: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}
.card h3 {
  font-size: 1.8rem;
}

.card p {
  font-size: 1.6rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

form label {
  font-size: 1.6rem;
  color: var(--primary);
}

form label:nth-child(1) {
  margin-top: 1.2rem;
}

form input,
form textarea {
  padding: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.6rem;
}

form button {
  height: 4.8rem;
  width: 100%;
  border: none;
  background-color: var(--secondary);
  color: var(--background);
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: var(--accent);
}

form input:focus,
form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

footer {
  background-color: var(--secondary);
  color: var(--background);
  text-align: center;
  padding: 2.4rem 0;
  font-size: 1.4rem;
  margin-top: 4.8rem;
}
.none {
  display: none;
}

/* Desktop Styles */
@media (min-width: 1024px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 0;
    gap: 0;
  }
  .menuHeader {
    display: flex;
    list-style: none;
    gap: 2.4rem;
  }
  .menuHeader li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 1.6rem;
  }
  .menuHeader li a:hover {
    color: var(--accent);
  }
  .menuMobile,
  #menu-btn,
  .mobileWrapper {
    display: none;
  }
  .mainSection {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    gap: 4.8rem;
    min-height: calc(100vh - 80px);
  }
  .textMain h1 {
    font-size: 4.8rem;
    line-height: 1.2;
  }
  .imageMain {
    max-width: 70rem;
  }
  .imageMain img {
    border-radius: 16px;
  }
  .cardsContainer {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    gap: 2.4rem;
  }
  .cardArea {
    transition: all 0.3s ease;
  }
  .cardArea:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
  }
  .aboutSection {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    gap: 4.8rem;
  }
  .aboutImage {
    max-width: 50rem;
  }
  .depoimentosContainer {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    gap: 2.4rem;
  }
  .depoimentoImgCard {
    justify-content: flex-start;
  }
  form {
    max-width: 50rem;
    text-align: center;
    margin: 0 auto;
  }
  .contatosSection {
    text-align: center;
  }

  .contatosSection h2 {
    text-align: center;
    margin-bottom: 4.8rem;
  }

  .containerContatos {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4.8rem;
  }
  form input,
  form textarea {
    font-size: 1.8rem;
    width: 40rem;
    height: 4.8rem;
  }
  form textarea {
    height: 12rem;
  }

  .map {
    max-width: 80rem;
  }
  .cardsPost {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    gap: 2.4rem;
  }
}

.slide-fwd-center {
  animation: slide-fwd-center 0.6s ease both;
}

@keyframes slide-fwd-center {
  0% {
    transform: translateY(8px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
