.unit-page header {
  position: relative;
  background: #000;
  color: var(--off);
}

.unit-main {
  min-height: min(820px, calc(100svh - 84px));
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(390px, .85fr);
  background: #fff;
  color: #000;
}

.unit-photo {
  min-height: 680px;
  background: #171717 url("../imagens/home-visual-3.jpg") center/cover no-repeat;
}

.unit-information {
  align-self: center;
  width: min(100%, 620px);
  padding: clamp(36px, 5vw, 76px) clamp(28px, 5vw, 76px);
}

.unit-eyebrow {
  margin-bottom: 8px;
  color: #555;
  font-size: .82rem;
}

.unit-information h1 {
  margin: 0;
  font-stretch: 78%;
  font-size: clamp(2.2rem, 3.3vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .98;
}

.unit-address {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}

.unit-address svg {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--red);
}

.unit-address address {
  font-size: .93rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.unit-description {
  color: #343434;
  font-size: .98rem;
  line-height: 1.65;
}

.unit-information h2 {
  margin: 30px 0 18px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.unit-features {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.unit-features li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.unit-features li > span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #c90000;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
}

.unit-features p {
  color: #343434;
  font-size: .91rem;
  line-height: 1.5;
}

.unit-features strong {
  color: #000;
}

.unit-shop-visit {
  margin-top: 20px;
  color: #343434;
  font-size: .95rem;
  line-height: 1.5;
}

.unit-shop-visit a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.unit-shop-visit a:hover,
.unit-shop-visit a:focus-visible {
  color: #000;
}

.unit-enroll {
  width: fit-content;
  min-width: 315px;
  min-height: 66px;
  margin-top: 32px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .98rem;
  font-weight: 900;
  transition: background .2s, transform .2s;
}

.unit-enroll:hover {
  transform: translateY(-2px);
  background: #000;
}

@media (max-width: 420px) {
  .unit-enroll {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1040px) {
  .unit-main {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  }

  .unit-photo {
    min-height: 620px;
  }

  .unit-information {
    padding: 38px 30px;
  }
}

@media (max-width: 760px) {
  .unit-main {
    grid-template-columns: 1fr;
  }

  .unit-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .unit-information {
    width: 100%;
    padding: 36px 24px 48px;
  }
}
