/* =========================================================
   Home
   ========================================================= */

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 86px) clamp(72px, 9vw, 120px);
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(92, 191, 178, 0.16), transparent 66%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -220px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(199, 161, 90, 0.08), transparent 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.hero__copy h1 {
  margin-top: 20px;
}

.hero__copy h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--teal-700);
}

.hero__lead {
  max-width: 54ch;
  margin-top: 24px;
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.hero__stars .icon {
  width: 15px;
  height: 15px;
}

.hero__proof strong {
  display: block;
  font-size: 0.92rem;
}

.hero__proof span:not(.hero__proof-sep) {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero__proof-sep {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.hero__visual {
  position: relative;
  padding: 18px 18px 0;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0 0 26px 26px;
  z-index: 0;
  border: 1px solid var(--line-strong);
  border-radius: 280px 280px 26px 26px;
}

.hero__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 280px 280px 26px 26px;
  background: var(--mint-100);
  box-shadow: var(--shadow-lg);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__hours {
  position: absolute;
  bottom: 34px;
  left: -34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: var(--shadow-md);
}

.hero__hours .icon {
  width: 22px;
  height: 22px;
  color: var(--teal-700);
}

.hero__hours strong {
  display: block;
  font-size: 0.86rem;
}

.hero__hours span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.hero__badge {
  position: absolute;
  top: 8px;
  right: -6px;
  z-index: 2;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--cream);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.hero__badge span {
  display: block;
  margin-top: 4px;
  font-size: 0.58rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-200);
}

/* ---------- faixa de confiança ---------- */

.trust {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
}

.trust__item + .trust__item {
  border-left: 1px solid var(--line);
}

.trust__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--teal-700);
}

.trust__icon .icon {
  width: 19px;
  height: 19px;
}

.trust__item strong {
  display: block;
  font-size: 0.9rem;
}

.trust__item > div > span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- consultório ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.about__media {
  position: relative;
  z-index: 0;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  z-index: 0;
  border-radius: var(--radius-lg);
  background: var(--mint-100);
}

.about__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about__note {
  position: absolute;
  right: -18px;
  bottom: 28px;
  z-index: 2;
  max-width: 210px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.about__note strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.about__note span {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: var(--muted);
}

.about__text h2 {
  margin-top: 16px;
}

.about__text > p {
  margin-top: 20px;
  color: var(--ink-soft);
}

.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-top: 30px;
}

.about__fact {
  display: flex;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.about__fact .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--teal-700);
}

.about__fact strong {
  display: block;
  font-size: 0.88rem;
}

.about__fact span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.about__text .link-arrow {
  margin-top: 28px;
}

/* ---------- serviços ---------- */

.services {
  border-block: 1px solid var(--line);
  background: var(--mint-50);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.services__foot {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ---------- galeria ---------- */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery__item img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--mint-100);
  object-fit: cover;
}

.gallery__item--a {
  grid-column: span 7;
}

.gallery__item--a img {
  aspect-ratio: 4 / 3;
}

.gallery__item--b {
  grid-column: span 5;
  padding-top: 56px;
}

.gallery__item--b img {
  aspect-ratio: 1 / 1;
}

.gallery__item--c {
  grid-column: span 5;
}

.gallery__item--c img {
  aspect-ratio: 1 / 1;
}

.gallery__item--d {
  grid-column: span 7;
}

.gallery__item--d img {
  aspect-ratio: 4 / 3;
}

.gallery__item figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.gallery__item figcaption span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--teal-700);
}

/* ---------- avaliações ---------- */

.reviews {
  position: relative;
  overflow: hidden;
  background: var(--teal-900);
  color: var(--cream);
}

.reviews::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -160px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(92, 191, 178, 0.16), transparent 65%);
  pointer-events: none;
}

.reviews h2 {
  color: var(--cream);
}

.reviews .section-head {
  margin-bottom: 0;
}

.reviews .section-head__lead {
  color: rgba(251, 250, 246, 0.72);
}

.reviews__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.reviews__score {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
}

.reviews__score > strong {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 0.9;
}

.reviews__score span {
  display: block;
  font-size: 0.76rem;
  color: var(--teal-200);
}

.reviews__score .hero__stars {
  color: var(--gold-soft);
}

.reviews__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.review {
  padding: 26px 26px 22px;
  border: 1px solid rgba(251, 250, 246, 0.13);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.055);
}

.review__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--gold-soft);
}

.review__stars .icon {
  width: 14px;
  height: 14px;
}

.review blockquote {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(251, 250, 246, 0.86);
}

.review blockquote p + p {
  margin-top: 12px;
}

.review footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(251, 250, 246, 0.12);
}

.review__name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cream);
}

.review__source {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  color: rgba(251, 250, 246, 0.62);
}

.reviews__foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
}

.reviews__foot p {
  font-size: 0.8rem;
  color: rgba(251, 250, 246, 0.65);
}

/* ---------- localização ---------- */

.location__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: stretch;
}

.location__details h2 {
  margin-top: 14px;
}

.location__details > p {
  margin-top: 18px;
  color: var(--ink-soft);
}

.location__list {
  margin-top: 30px;
}

.location__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.location__row:last-child {
  border-bottom: 1px solid var(--line);
}

.location__row dt {
  padding-top: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.location__row dd {
  font-size: 0.92rem;
}

.location__row dd span {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--muted);
}

.location__row dd a {
  font-weight: 700;
  color: var(--teal-800);
}

.location__row dd a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.location__map {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--mint-100);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: saturate(0.75) contrast(0.95);
}

/* ---------- responsivo ---------- */

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__item:nth-child(3) {
    border-left: 0;
  }

  .trust__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 34px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero__visual {
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__media {
    width: min(100%, 520px);
  }

  .about__text {
    max-width: 640px;
  }

  .gallery__item--a,
  .gallery__item--d {
    grid-column: span 7;
  }

  .gallery__item--b,
  .gallery__item--c {
    grid-column: span 5;
  }

  .location__grid {
    grid-template-columns: 1fr;
  }

  .location__details {
    max-width: 640px;
  }

  .reviews__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reviews__score {
    padding-bottom: 0;
  }
}

@media (max-width: 700px) {
  .hero__actions .btn {
    width: 100%;
  }

  .hero__proof {
    gap: 12px 16px;
  }

  .hero__proof-sep {
    display: none;
  }

  .hero__visual {
    padding: 10px 10px 0;
  }

  .hero__hours {
    bottom: 14px;
    left: 14px;
    padding: 12px 14px;
  }

  .hero__badge {
    top: 0;
    right: 0;
    width: 84px;
    height: 84px;
  }

  .hero__badge strong {
    font-size: 1.45rem;
  }

  .hero__badge span {
    font-size: 0.5rem;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .trust__item + .trust__item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .about__facts {
    grid-template-columns: 1fr;
  }

  .about__note {
    right: 12px;
    bottom: 12px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--a,
  .gallery__item--b,
  .gallery__item--c,
  .gallery__item--d {
    grid-column: auto;
    padding-top: 0;
  }

  .gallery__item--a img,
  .gallery__item--b img,
  .gallery__item--c img,
  .gallery__item--d img {
    aspect-ratio: 4 / 3;
  }

  .location__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .location__actions .btn {
    width: 100%;
  }

  .location__map,
  .location__map iframe {
    min-height: 340px;
  }
}
