*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100vw;
  max-width: 100%;
}

header {
  width: 100%;
  background: transparent;
  padding: 1.25rem 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1004;
}

header.scrolled {
  background-color: #ffffff;
  border-radius: 0 0 20px 20px;
}

.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.logo {
  width: 9.375rem;
  height: 2.8125rem;
  z-index: 1005;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;

  background: url('/src/imagens/LogoGM.png') center/cover no-repeat;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  z-index: 1003;
  cursor: pointer;
}

.menu-icon span {
  height: 4px;
  background: #1c366b;
  border-radius: 2px;
  transition: 0.3s;
}

.menu {
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  height: 75vh;
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 2.375rem;
  padding: 103px 24px;
  list-style: none;
  z-index: 1002;

  opacity: 0;
  transform: translateY(-75vh);
  pointer-events: none;
  transition: all 0.4s ease;
}

.menu a {
  color: #1c366b;
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.menu-toggle {
  display: none;
}

.menu li {
  margin: 0;
  padding: 0.75rem 1rem;
}

.menu-link:hover {
  font-weight: 700;
  font-style: bold;
  border-bottom: 4px solid #1c366b;
  padding: 0 0 0.75rem 0;
}

.menu-link:active {
  font-weight: 700;
  font-style: bold;
  border-bottom: 4px solid #1c366b;
  padding: 0.75rem 1rem;
  background-color: #ffffff;
}

.menu-toggle:checked + .menu-icon + .menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.hero-img {
  height: 375px;
  width: 100%;
  background: url('/src/imagens/heroMobile.jpg') center/cover no-repeat;
}

.hero-text {
  padding: 1.5rem 2.5rem 2.75rem;
  color: #0a1a40;
}

.text-1 {
  font-family: Georgia;
  font-weight: 700;
  font-style: bold;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 0.25rem;
}

.title {
  width: 70%;
  font-family: Georgia;
  font-weight: 700;
  font-style: italic;
  font-size: 4rem;
  line-height: 4rem;
  margin-bottom: 0.25rem;
}

.text-2 {
  font-family: Georgia;
  font-weight: 700;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  line-height: 140%;
  margin: 0;
  width: 250px;
}

.quem-somos {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: auto;
}

.vector {
  width: 100%;
  height: 32px;
}

.quem-somos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: auto;

  padding: 2rem 0.5rem 4rem;
}

.title-2 {
  font-family: Georgia;
  font-weight: 700;
  font-style: bold;
  font-size: 32px;
  line-height: 40px;
}

.divider {
  width: 250px;
  height: 4px;
  background-color: #1c366b;
}

.quem-somos-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  margin: 48px 8px 0;
}

.container-text {
  display: flex;
  flex-direction: column;
  gap: 16px;

  padding: 8px 24px;
  margin-bottom: 48px;
}

.text {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.quem-somos-img {
  width: 327px;
  height: 330px;
  background: url('/src/imagens/quemSomosMobile.jpg') center/cover no-repeat;
  border-radius: 16px;
}

.servicos {
  width: 100%;
  height: auto;
  background: linear-gradient(
    rgba(248, 250, 252, 1),
    rgba(239, 246, 255, 1),
    rgba(248, 250, 252, 1)
  );

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 4.5rem 0.5rem 4rem;
}

.container-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  padding: 0 16px;

  transition: all 0.8s ease-out;
  opacity: 1;
}

.hidden {
  opacity: 0;
  transform: translateY(80px);
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.card {
  width: 20.4375rem;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;

  background-color: #ffffff;
  border-top: 8px solid #1c366b;
  border-radius: 16px;
  padding: 24px;
}

.title-img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.title-3 {
  font-family: Georgia;
  font-weight: 700;
  font-style: bold;
  font-size: 1rem;
  line-height: 140%;
}

.text-card {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.card-list {
  list-style: none;
  padding: 0 0 0 8px;

  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.card-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.card-list li:last-child {
  margin-bottom: 0;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #1d2329;
  border-radius: 50%;
}

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

  padding: 64px 8px 72px;
}

.contato-content {
  min-width: 19.5rem;
  margin: 2rem 1.5rem 1.875rem;
}

.contato-content .text {
  text-align: center;
}

.mobile-break {
  display: block;
}

.info-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
}

.info-content {
  width: 344px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 8px 30px;
}

.info {
  display: flex;
  gap: 16px;
  margin: 0 16px;

  transition: all 0.8s ease-out;
  opacity: 1;
}

.info-text-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-info {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  line-height: 140%;
  color: #0a1a40;
}

.text-info {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #1d2329;
}

.phone a {
  text-decoration: none;
}

.text-info.phone a {
  color: #1d2329;
}

.text-link {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #1d2329;
  text-decoration: none;
}

.text-link:hover {
  font-weight: 700;
  font-style: bold;
  text-decoration: underline;
}

.map-container {
  width: 98%;
  height: 18.75rem;
  padding: 0 1.5rem;

  transition: all 0.8s ease-out;
  opacity: 1;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.footer {
  width: 100%;
  background-color: #1c366b;

  display: flex;
  flex-direction: column;
  gap: 2rem;

  padding: 3rem 1.5rem 1.75rem;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2rem;
}

.logo-footer {
  width: 19.5rem;
  height: 5.9375rem;

  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;

  background: url('/src/imagens/LogoBranca.png') center/cover no-repeat;

  margin-bottom: 1.5rem;
}

.header-footer-content {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #ffffff;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.info-footer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.text-footer {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.25rem;
  color: #ffffff;
}

.text-footer.phone a {
  color: #ffffff;
}

.text-footer.link {
  text-decoration: none;
  white-space: nowrap;
}

.text-footer.link:hover {
  font-weight: 700;
  font-style: bold;
}

.text-footer.address {
  width: 17.5rem;
}

.divider-footer {
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  margin-top: 2rem;
}

.copyright {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .menu-icon {
    display: none;
  }

  header {
    display: flex;
    padding: 1.25rem 4rem 1.25rem 1.5rem;
  }

  header.scrolled {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }

  .logo {
    width: 15.625rem;
    height: 4.6875rem;
  }

  .menu {
    width: 100%;
    position: static;
    height: auto;
    background: none;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    gap: 0.5rem;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hero-img {
    position: relative;
    height: 38.625rem;
    background: url('/src/imagens/heroDesktop.jpg') center/cover no-repeat;
  }

  .hero-text {
    position: absolute;
    top: 4.6875rem;
    width: 100%;
    padding: 8.75rem 2.625rem 10rem;
    z-index: 1;
  }

  .title {
    width: 100%;
  }

  .text-2 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .subtitle {
    width: 28.125rem;
  }

  .quem-somos-container {
    margin: 32px 0 96px;
  }

  .title-2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .quem-somos-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;

    padding: 8px 96px;
    margin: 48px 0 0;
  }

  .container-text {
    width: 48%;

    padding: 0;
    margin: 0;
  }

  .quem-somos-img {
    width: 430px;
    height: 330px;
    background: url('/src/imagens/quemSomosDesktop.jpg') center/contain
      no-repeat;
  }

  .container-cards {
    max-width: 1100px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 32px;
    flex: 1 1 calc(33.333% - 32px);
  }

  .card {
    justify-content: flex-start;
  }

  .container-card-list {
    display: flex;
    gap: 16px;
  }

  .card:last-child {
    width: 460px;
  }

  .mobile-break {
    display: inline;
  }

  .info-container {
    width: 100%;
    max-width: 1280px;
    flex-direction: row;
    justify-content: space-between;
    gap: 72px;
    padding: 0 60px 0 46px;
    margin: 0;
  }

  .info-content {
    width: 420px;
    margin: 0;
  }

  .map-container {
    width: 608px;
    height: 332px;
    padding: 0;
  }

  .footer {
    padding: 48px 64px 40px;
  }

  .logo-footer {
    width: 324px;
    height: 98px;
    margin: 0;
  }
}

@media (min-width: 1356px) {
  .footer-content {
    flex-direction: row;
    gap: 76px;
  }
}
