body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 48px), 1200px);
  margin-inline: auto;
}

/* Hero */

.hero {
  display: flex;
  min-height: 735px;
  overflow: hidden;
  background: #087db3 var(--hero-background-image, url("../images/banner-bg.jpg")) no-repeat center / cover;
  color: var(--color-white);
}

.hero__content {
  display: flex;
  flex-direction: column;
  padding-block: 37px 80px;
}

.header {
  display: flex;
  justify-content: center;
  width: 100%;
}

.header__logo {
  display: flex;
  width: 200px;
  height: 23px;
}

.header__logo img,
.landing-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 586px);
  margin-top: 98px;
}

.hero__copy h1 {
  max-width: 586px;
  color: var(--color-white);
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.hero__copy p {
  max-width: 586px;
  margin-top: 24px;
  color: var(--color-white);
  font-size: 20px;
  line-height: 1.4;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 62px;
  margin-top: 56px;
  padding: 15px 48px;
  border: 1px solid var(--color-primary);
  border-radius: 80px;
  background: linear-gradient(90deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 20%));
  box-shadow: 0 4px 40px rgb(0 0 0 / 6%);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.cta-button:hover {
  border-color: var(--color-cyan-300);
  background: linear-gradient(90deg, rgb(0 186 255 / 90%), rgb(255 255 255 / 12%));
  box-shadow: 0 12px 32px rgb(3 36 78 / 22%);
  color: var(--color-white);
  transform: translateY(-2px);
}

.cta-button:focus-visible {
  outline-color: var(--color-white);
}

.section-transition {
  z-index: 2;
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: min(calc(100% - 48px), 1094px);
  margin-top: -29px;
  color: var(--color-primary);
  text-decoration: none;
}

.section-transition > span:not(.section-transition__icon) {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary));
}

.section-transition > span:last-child {
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

.section-transition__icon {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgb(17 55 104 / 8%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.section-transition__icon img {
  width: 24px;
  height: 24px;
}

.section-transition:hover .section-transition__icon {
  box-shadow: 0 12px 30px rgb(17 55 104 / 14%);
  transform: translateY(4px);
}

/* Cabeçalhos de seção */

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-heading h2,
.location__info h2 {
  color: var(--color-primary);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.section-heading h3 {
  color: var(--color-secondary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.section-heading--inverse {
  align-items: center;
  text-align: center;
}

.section-heading--inverse h2 {
  line-height: 1;
}

.section-heading--inverse h3 {
  color: var(--color-white);
}

/* Quem somos */

.about {
  display: flex;
  background: var(--color-white);
}

.about__content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 87px 120px;
}

.about__image {
  display: flex;
  flex: 0 1 612px;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
}

.about__image img {
  width: 100%;
  aspect-ratio: 612 / 375;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.about__image:hover img {
  transform: scale(1.025);
}

.about__info {
  display: flex;
  flex: 1 1 564px;
  flex-direction: column;
  gap: 26px;
  padding-left: 0;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-secondary);
  font-size: 16px;
  line-height: 1.5;
}

/* O que fazemos */

.services {
  display: flex;
  overflow: hidden;
  background: #087db3 var(--services-background-image, url("../images/bg-services.jpg")) no-repeat center / cover;
  color: var(--color-white);
}

.services__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 108px;
}

.services__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 788px);
}

.services__description {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 200;
  line-height: 1.5;
  text-align: center;
}

.services__cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin-top: 56px;
}

.service-card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 638px;
  padding: 29px 36px 43px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgb(0 186 255 / 10%);
  color: var(--color-white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.service-card:hover {
  border-color: rgb(17 214 253 / 45%);
  background: rgb(0 186 255 / 18%);
  box-shadow: 0 24px 50px rgb(3 36 78 / 16%);
  transform: translateY(-6px);
}

.service-card--featured {
  border-color: rgb(17 214 253 / 60%);
  background: rgb(0 186 255 / 40%);
}

.service-card--featured:hover {
  background: rgb(0 186 255 / 46%);
}

.service-card h3 {
  color: var(--color-white);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.service-card h3 span {
  font-weight: 200;
}

.service-card h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  margin-top: 23px;
  padding: 12px 8px;
  border-radius: 8px;
  background: rgb(255 255 255 / 30%);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.service-card__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 200;
  line-height: 1.5;
}

.service-card .cta-button {
  width: 100%;
  margin-top: 32px;
  padding-inline: 24px;
  white-space: nowrap;
}

.service-card .cta-button--featured {
  background: linear-gradient(90deg, rgb(0 186 255 / 90%), rgb(255 255 255 / 0%));
}

/* Onde estamos */

.location {
  display: flex;
  min-height: 367px;
  background: linear-gradient(90deg, #f5f5f5 39.711%, #fff);
}

.location__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.location__map {
  position: relative;
  flex: 0 1 380px;
  width: min(100%, 380px);
  min-width: 0;
  aspect-ratio: 380 / 278;
}

.location__map-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  height: auto;
  mix-blend-mode: multiply;
}

.location__map-word {
  position: absolute;
  z-index: 0;
  display: block;
}

.location__map-word img {
  display: block;
  max-width: 100%;
  height: auto;
}

.location__map-word--minas {
  top: 21.223%;
  left: 0;
  width: 76.71%;
}

.location__map-word--gerais {
  top: 45.683%;
  left: 20%;
  width: 78.208%;
}

.location__info {
  display: flex;
  flex: 0 1 410px;
  flex-direction: column;
  gap: 16px;
}

.location__info h2 {
  line-height: 1;
}

.location__info p {
  color: var(--color-blue-700);
  font-size: 16px;
  line-height: 1.5;
}

.location__info strong {
  font-weight: 600;
}

/* Rodapé */

.landing-footer {
  display: flex;
  min-height: 283px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  color: var(--color-white);
}

.landing-footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-block: 72px;
}

.landing-footer__logo {
  display: flex;
  flex: 0 1 282px;
  width: 282px;
  height: 32px;
}

.landing-footer__nav,
.landing-footer__contact,
.landing-footer__address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.landing-footer__nav {
  flex: 0 0 112px;
  gap: 16px;
}

.landing-footer__contact {
  flex: 0 0 180px;
  gap: 10px;
}

.landing-footer__address {
  flex: 0 1 283px;
  gap: 16px;
}

.landing-footer a,
.landing-footer p,
.landing-footer address {
  color: var(--color-white);
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
}

.landing-footer a {
  text-decoration: none;
}

.landing-footer a:hover {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.landing-footer strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Responsividade */

@media (max-width: 75rem) {
  .service-card {
    padding-inline: 28px;
  }

  .service-card h3 {
    font-size: 28px;
  }

  .service-card .cta-button {
    padding-inline: 18px;
    font-size: 15px;
  }

  .landing-footer__content {
    gap: 32px;
  }
}

@media (max-width: 63.99rem) {
  .hero {
    min-height: 680px;
    background-position: 58% center;
  }

  .hero__content {
    padding-bottom: 70px;
  }

  .hero__copy {
    margin-top: 88px;
  }

  .hero__copy p {
    max-width: 520px;
  }

  .about__content {
    align-items: stretch;
    gap: 36px;
    padding-block: 88px;
  }

  .about__image,
  .about__info {
    flex-basis: 50%;
  }

  .about__image img {
    height: 100%;
  }

  .services__content {
    padding-block: 88px;
  }

  .services__cards {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }

  .service-card:last-child {
    flex-basis: 100%;
    max-width: 588px;
  }

  .landing-footer__content {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-block: 64px;
  }

  .landing-footer__logo {
    flex-basis: calc(50% - 16px);
  }

  .landing-footer__nav {
    flex-basis: calc(50% - 16px);
  }

  .landing-footer__contact,
  .landing-footer__address {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 47.99rem) {
  .container {
    width: min(calc(100% - 40px), 1200px);
  }

  .hero {
    min-height: 660px;
    background-image:
      linear-gradient(90deg, rgb(3 56 105 / 88%) 0%, rgb(3 56 105 / 60%) 58%, rgb(3 56 105 / 24%) 100%),
      var(--hero-background-image, url("../images/banner-bg.jpg"));
    background-position: 62% center;
  }

  .hero__content {
    padding-block: 28px 64px;
  }

  .header__logo {
    width: 174px;
    height: auto;
  }

  .hero__copy {
    width: min(100%, 560px);
    margin-top: 86px;
  }

  .hero__copy h1 {
    max-width: 480px;
    font-size: clamp(2.35rem, 10vw, 3rem);
    line-height: 1.1;
  }

  .hero__copy p {
    max-width: 500px;
    font-size: 18px;
  }

  .cta-button {
    min-height: 58px;
    margin-top: 40px;
    padding: 13px 30px;
  }

  .section-transition {
    width: calc(100% - 40px);
  }

  .about__content {
    flex-direction: column;
    gap: 40px;
    padding-block: 72px 80px;
  }

  .about__image {
    flex-basis: auto;
    width: 100%;
  }

  .about__image img {
    height: auto;
  }

  .about__info {
    flex-basis: auto;
    gap: 24px;
  }

  .section-heading h2,
  .location__info h2 {
    font-size: clamp(2.1rem, 9vw, 2.625rem);
  }

  .section-heading h3 {
    font-size: 18px;
  }

  .services__content {
    padding-block: 76px;
  }

  .services__intro {
    gap: 28px;
  }

  .services__description {
    text-align: left;
  }

  .services__cards {
    flex-direction: column;
    margin-top: 48px;
  }

  .service-card,
  .service-card:last-child {
    flex-basis: auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 30px 28px 32px;
  }

  .service-card h4 {
    min-height: 72px;
  }

  .service-card .cta-button {
    margin-top: 32px;
    white-space: normal;
  }

  .location {
    min-height: 0;
  }

  .location__content {
    flex-direction: column;
    gap: 12px;
    padding-block: 56px 72px;
  }

  .location__map {
    flex-basis: auto;
    width: min(100%, 380px);
  }

  .location__info {
    flex-basis: auto;
    width: min(100%, 410px);
    text-align: center;
  }

  .landing-footer__content {
    flex-direction: column;
    gap: 36px;
    padding-block: 56px;
  }

  .landing-footer__logo,
  .landing-footer__nav,
  .landing-footer__contact,
  .landing-footer__address {
    flex-basis: auto;
    width: 100%;
  }

  .landing-footer__logo {
    width: min(100%, 240px);
    height: auto;
    margin-bottom: 8px;
  }

  .landing-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
}

@media (max-width: 29.99rem) {
  .container {
    width: min(calc(100% - 32px), 1200px);
  }

  .hero {
    min-height: 550px;
    background-position: 67% center;
  }

  .hero__copy {
    margin-top: 78px;
  }

  .hero__copy h1 {
    font-size: 2.25rem;
  }

  .hero__copy p {
    font-size: 17px;
    line-height: 1.45;
  }

  .hero__copy .cta-button {
    width: 100%;
  }

  .section-transition {
    width: calc(100% - 32px);
  }

  .service-card {
    padding-inline: 22px;
  }

  .service-card h3 {
    font-size: 26px;
  }

  .service-card h4 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about__image img,
  .cta-button,
  .section-transition__icon,
  .service-card {
    transition: none;
  }
}
