@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;1,400&display=swap');

:root {
  --ink: #242f35;
  --paper: #f5f4f5;
  --acid: #d2f5a3;
  --line: rgb(36 47 53 / 20%);
}

* { box-sizing: border-box; }
html, body { max-width: 100%; min-height: 100%; margin: 0; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); }
a { color: inherit; }

/* HERO */
.hero {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: #e5e4db url('assets/b4.jpg') center / cover no-repeat;
}

.site-nav {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1200px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem 0;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
  font: 500 11px/1 Manrope, sans-serif;
  letter-spacing: .02em;
}
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav__brand { font: 600 23px/.8 Manrope, sans-serif; letter-spacing: -.095em; }
.site-nav__brand span { font: 400 7px/1 'DM Mono', monospace; vertical-align: top; letter-spacing: 0; }
.site-nav__links { display: flex; align-items: center; gap: clamp(.9rem, 1.45vw, 1.8rem); }
.site-nav__links a { position: relative; transition: opacity 250ms ease; }
.site-nav__links a:hover { opacity: .55; }
.site-nav__links .is-current::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; background: currentColor; content: ''; }
.site-nav__cta { padding: .85rem 1.1rem; border: 1px solid var(--acid); border-radius: 99px; background: var(--acid); color: var(--ink) !important; white-space: nowrap; transition: background 250ms ease, color 250ms ease; }
.site-nav__cta:hover { border-color: var(--ink); background: var(--ink); color: var(--acid) !important; }
.site-nav__cta span { padding-left: .4rem; font-size: 14px; }

.hero__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(980px, calc(100% - 40px));
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
}
.hero__eyebrow { width: 100%; margin: 0 0 .25rem; font: 400 10px/1.2 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.hero__eyebrow span { padding: 0 .4em; color: rgb(36 47 53 / 55%); }
.hero__title { width: 100%; margin: 0; font: 400 clamp(38px, 4.18vw, 63px)/.92 'Playfair Display', Georgia, serif; letter-spacing: -.07em; text-align: center; }
.hero__title em { font-style: italic; }
.hero__support { display: flex; width: 100%; flex-direction: column; align-items: center; text-align: center; }
.hero__support > p { width: 100%; margin: 0; font: 400 clamp(12px, .95vw, 14px)/1.6 Manrope, sans-serif; }
.hero__actions { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.5rem; font: 500 11px/1 Manrope, sans-serif; }
.hero__actions a { color: var(--ink); text-decoration: none; }
.hero__primary-action { padding: .95rem 1.05rem; background: var(--acid); transition: background 250ms ease, transform 250ms ease; }
.hero__primary-action:hover { background: var(--paper); transform: translateY(-2px); }
.hero__text-action { padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.hero__primary-action span, .hero__text-action span { padding-left: .5rem; }

.hero > .hero__credentials {
  position: absolute;
  z-index: 2;
  bottom: clamp(1.3rem, 2.4vw, 2.5rem);
  left: 50%;
  display: grid;
  width: min(760px, calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  background: rgb(210 245 163 / 82%);
  backdrop-filter: blur(8px);
}
.hero > .hero__credentials div { display: flex; min-width: 0; align-items: baseline; justify-content: center; gap: .7rem; padding: 1rem 1.15rem; border-right: 1px solid rgb(36 47 53 / 22%); text-align: center; transition: background .38s ease, color .38s ease; }
.hero > .hero__credentials div:last-child { border-right: 0; }
.hero > .hero__credentials dt { color: var(--ink); font: 600 17px/1 'Playfair Display', Georgia, serif; letter-spacing: -.04em; transform-origin: center; transition: color .35s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
.hero > .hero__credentials dd { margin: 0; color: rgb(36 47 53 / 76%); font: 600 9px/1.25 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; transition: color .35s ease; }
.hero > .hero__credentials div:hover { background: var(--ink); }
.hero > .hero__credentials div:hover dt,
.hero > .hero__credentials div:hover dd { color: var(--acid); }
.hero > .hero__credentials div:hover dt { transform: scale(1.55); }

/* MANIFESTO / CARDS */
.care { position: relative; height: 420svh; background: var(--paper); color: var(--ink); }
.care__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.care__grid {
  display: grid;
  width: min(1200px, calc(100% - 40px));
  height: 100%;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1px minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 1.8rem);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 0 1.6rem;
}
.care__header {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: clamp(185px, 25vh, 260px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-top: clamp(3rem, 4vw, 4rem);
}
.care__heading { min-width: 0; align-self: center; }
.care__title { margin: 0; color: var(--ink); font: 400 clamp(38px, 3.8vw, 58px)/.94 'Playfair Display', Georgia, serif; letter-spacing: -.07em; }
.care__title em { font-style: italic; }
.care__manifesto { position: relative; align-self: center; justify-self: end; width: min(100%, 400px); min-width: 0; min-height: 9rem; overflow: hidden; margin-bottom: .15rem; }
.care__message { position: absolute; top: 0; right: 0; bottom: auto; left: 0; width: 100%; max-width: 100%; margin: 0; color: var(--ink); opacity: 0; transform: translateY(28px); overflow-wrap: break-word; transition: opacity .55s ease, transform .85s cubic-bezier(.16, 1, .3, 1); font: 400 clamp(18px, 1.7vw, 27px)/1.25 Manrope, sans-serif; letter-spacing: -.035em; }
.care__message.is-active { opacity: 1; transform: translateY(0); }
.care__message--closing { font-weight: 500; }
.care__mobile-break { display: none; }
.care__count { position: absolute; top: 0; right: 0; margin: 0; padding: .65rem .8rem; background: var(--acid); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .1em; }
.care__count b { font-size: 13px; }
.care__progress { width: 100%; min-width: 0; overflow: hidden; background: var(--line); }
.care__progress span { display: block; width: 100%; height: 1px; background: var(--ink); transform: scaleX(var(--care-progress, 0)); transform-origin: left; }

.care__cards-window {
  position: relative;
  left: 50%;
  width: 100vw;
  min-width: 0;
  max-width: none;
  min-height: 0;
  overflow: hidden;
  transform: translateX(-50%);
  scrollbar-width: none;
}
.care__cards-window::-webkit-scrollbar { display: none; }
.care__cards { display: flex; width: max-content; height: 100%; align-items: center; gap: clamp(12px, 1.5vw, 22px); will-change: transform; }
.care__card { width: clamp(260px, 28vw, 370px); margin: 0; flex: 0 0 auto; transform: translateY(var(--card-y, 0)) scale(.97); opacity: .72; transition: transform .7s cubic-bezier(.16, 1, .3, 1), opacity .55s ease; }
.care__card:nth-child(4n + 2) { --card-y: 28px; }
.care__card:nth-child(4n + 3) { --card-y: -14px; }
.care__card:nth-child(4n + 4) { --card-y: 38px; }
.care__card.is-active { transform: translateY(var(--card-y, 0)) scale(1); opacity: 1; }
.care__card-image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--acid); }
.care__card-image::after { position: absolute; inset: 0; border: 0 solid var(--acid); content: ''; pointer-events: none; transition: border-width .55s ease; }
.care__card.is-active .care__card-image::after { border-width: 5px; }
.care__card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.care__card.is-active img { transform: scale(1.035); }
.care__card figcaption { display: flex; align-items: center; gap: .75rem; margin-top: .8rem; color: var(--ink); font: 500 11px/1.2 Manrope, sans-serif; }
.care__card figcaption span { color: rgb(36 47 53 / 52%); font: 400 8px/1 'DM Mono', monospace; }
.care__footer { display: flex; justify-content: space-between; padding-top: .8rem; border-top: 1px solid var(--line); color: rgb(36 47 53 / 65%); font: 500 8px/1 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 780px) {
  .site-nav { width: calc(100% - 28px); padding: 1.45rem 0; }
  .site-nav__links { display: none; }
  .hero__content { width: calc(100% - 28px); }
  .hero__title { font-size: clamp(38px, 9vw, 56px); }
  .hero__support > p br { display: none; }
  .hero > .hero__credentials { width: calc(100% - 28px); }
  .care { height: 390svh; }
  .care__grid { width: calc(100% - 28px); padding-top: 2rem; }
  .care__header { min-height: 260px; grid-template-columns: 1fr; gap: 1.5rem; }
  .care__manifesto { justify-self: start; width: 100%; max-width: 31rem; min-height: 7.25rem; }
  .care__title { font-size: clamp(36px, 8vw, 50px); }
  .care__message { font-size: clamp(15px, 3.8vw, 21px); }
  .care__card { width: min(72vw, 330px); }
}

@media (max-width: 500px) {
  .site-nav__cta { padding: .75rem .9rem; font-size: 10px; }
  .hero__content { top: 47%; }
  .hero__title { font-size: clamp(36px, 9vw, 47px); }
  .hero__actions { flex-direction: column; gap: 1rem; margin-top: 1.2rem; }
  .hero > .hero__credentials { bottom: 1rem; padding: .8rem .5rem; }
  .hero > .hero__credentials div { display: block; padding: 0 .3rem; }
  .hero > .hero__credentials dd { margin-top: .35rem; font-size: 7px; }
  .care__grid { gap: .9rem; padding-bottom: 1rem; }
  .care__header { min-height: 280px; }
  .care__title { font-size: 36px; }
  .care__card { width: 76vw; }
  .care__card:nth-child(n) { --card-y: 0px; }
  .care__footer { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .care__message, .care__card, .care__card img { transition: none; }
}
/* Foco individual na região do sorriso de cada retrato. */
.care__card:nth-child(4n + 1) { --smile-x: 52%; --smile-y: 55%; }
.care__card:nth-child(4n + 2) { --smile-x: 50%; --smile-y: 48%; }
.care__card:nth-child(4n + 3) { --smile-x: 52%; --smile-y: 50%; }
.care__card:nth-child(4n + 4) { --smile-x: 50%; --smile-y: 55%; }
.care__card-image { cursor: zoom-in; }
.care__card img {
  transform-origin: var(--smile-x) var(--smile-y);
  transition: transform 1.05s cubic-bezier(.16, 1, .3, 1), filter .7s ease;
}
.care__card-image:hover img {
  transform: scale(1.72);
  filter: contrast(1.025) saturate(1.02);
}
@media (hover: none) { .care__card-image:hover img { transform: none; filter: none; } }
/* O hover assume temporariamente a moldura; ao sair, o scroll reassume o estado. */
.care__card-image::after {
  border-width: 5px;
  opacity: 0;
  clip-path: inset(48%);
  transform: scale(.92);
  transition: opacity .3s ease, clip-path .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1);
}
.care__card.is-active .care__card-image::after {
  opacity: 1;
  clip-path: inset(0);
  transform: scale(1);
}
.care__cards.is-hovering .care__card.is-active:not(.is-hovered) .care__card-image::after {
  opacity: 0;
  clip-path: inset(48%);
  transform: scale(.92);
}
.care__card.is-hovered .care__card-image::after {
  opacity: 1;
  clip-path: inset(0);
  transform: scale(1);
  animation: smile-frame-in .7s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes smile-frame-in {
  from { opacity: 0; clip-path: inset(48%); transform: scale(.9); }
  to { opacity: 1; clip-path: inset(0); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .care__card.is-hovered .care__card-image::after { animation: none; } }
.care__card.is-hovered {
  opacity: 1;
  transform: translateY(var(--card-y, 0)) scale(1);
}
/* BENTO TREATMENTS */
.treatments { padding: clamp(6rem, 10vw, 10rem) 0; background: var(--acid); color: var(--ink); }
.treatments__inner { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.treatments__header { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); padding-bottom: 2rem; border-bottom: 1px solid rgb(36 47 53 / 28%); }
.treatments__eyebrow { grid-column: 1 / -1; margin: 0 0 .3rem; font: 500 9px/1 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.treatments__header h2 { margin: 0; font: 400 clamp(44px, 5.4vw, 82px)/.98 'Playfair Display', Georgia, serif; letter-spacing: -.075em; }
.treatments__header h2 em { font-style: italic; }
.treatments__index { align-self: end; margin: 0 0 .6rem; font: 500 9px/1 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.treatments__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 12px; }
.treatment-card { --mx: 50%; --my: 50%; position: relative; display: grid; min-height: 430px; grid-template-rows: auto auto auto minmax(145px, 1fr); grid-column: span 7; gap: 1rem; overflow: hidden; padding: clamp(1.2rem, 2vw, 1.8rem); border: 1px solid rgb(36 47 53 / 24%); background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .55s cubic-bezier(.16, 1, .3, 1), box-shadow .55s ease, background .4s ease, color .4s ease; }
.treatment-card--compact { grid-column: span 5; }
.treatment-card--third { grid-column: span 4; min-height: 390px; }
.treatment-card--feature { grid-column: span 8; min-height: 390px; }
.treatment-card--dark { background: var(--ink); color: var(--paper); }
.treatment-card:hover, .treatment-card:focus-visible { z-index: 2; transform: translateY(-6px); box-shadow: 0 24px 60px rgb(36 47 53 / 16%); outline: none; }
.treatment-card__head { display: flex; justify-content: space-between; font: 500 9px/1 'DM Mono', monospace; letter-spacing: .1em; }
.treatment-card__head .treatment-card__mark { position: relative; display: block; width: 24px; height: 26px; overflow: hidden; border: 0; border-radius: 0; background: transparent; transition: width .65s cubic-bezier(.16, 1, .3, 1), background .35s ease; }
.treatment-card__mark img { position: absolute; top: 50%; left: 6px; display: block; width: 62px; max-width: none; height: auto; transform: translateY(-50%); transition: left .65s cubic-bezier(.16, 1, .3, 1); }
.treatment-card:hover .treatment-card__mark, .treatment-card:focus-visible .treatment-card__mark { width: 72px; }
.treatment-card:hover .treatment-card__mark img, .treatment-card:focus-visible .treatment-card__mark img { left: 3px; }
.treatment-card h3 { max-width: 12ch; margin: .5rem 0 0; font: 400 clamp(28px, 3vw, 47px)/.94 'Playfair Display', Georgia, serif; letter-spacing: -.055em; }
.treatment-card > p { max-width: 43ch; margin: 0; opacity: .72; font: 400 12px/1.55 Manrope, sans-serif; }
.treatment-card__media { position: relative; align-self: end; min-height: 145px; overflow: hidden; background: radial-gradient(circle at var(--mx) var(--my), rgb(210 245 163 / 92%) 0, rgb(210 245 163 / 25%) 27%, transparent 52%), linear-gradient(135deg, #d8ddd9, #aab8b3); transition: min-height .65s cubic-bezier(.16, 1, .3, 1); }
.treatment-card--dark .treatment-card__media { background: radial-gradient(circle at var(--mx) var(--my), rgb(210 245 163 / 80%) 0, rgb(210 245 163 / 14%) 30%, transparent 56%), linear-gradient(135deg, #35454b, #101a1e); }
.treatment-card:hover .treatment-card__media { min-height: 190px; }
.treatment-card__media::before, .treatment-card__media::after { position: absolute; border: 1px solid rgb(36 47 53 / 28%); border-radius: 50%; content: ''; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.treatment-card__media::before { width: 42%; aspect-ratio: 1; top: 18%; left: 17%; }
.treatment-card__media::after { width: 24%; aspect-ratio: 1; right: 13%; bottom: -7%; }
.treatment-card:hover .treatment-card__media::before { transform: translate(22%, -13%) scale(1.12); }
.treatment-card:hover .treatment-card__media::after { transform: translate(-28%, -30%) scale(.84); }
.treatment-card__media small { position: absolute; z-index: 1; right: .7rem; bottom: .65rem; font: 500 8px/1 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.treatments__footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(36 47 53 / 28%); }
.treatments__footer p { margin: 0; font: 400 12px/1.5 Manrope, sans-serif; }
.treatments__footer a { padding: 1rem 1.25rem; background: var(--ink); color: var(--paper); font: 500 11px/1 Manrope, sans-serif; text-decoration: none; transition: transform .3s ease, background .3s ease; }
.treatments__footer a:hover { transform: translateY(-3px); background: #34444b; }
.treatments__footer a span { padding-left: .7rem; }
@media (max-width: 780px) { .treatments__inner { width: calc(100% - 28px); } .treatments__header { grid-template-columns: 1fr; } .treatments__index { position: absolute; top: 0; right: 0; } .treatment-card, .treatment-card--compact, .treatment-card--third, .treatment-card--feature { grid-column: span 12; min-height: 390px; } }
@media (max-width: 500px) { .treatments { padding: 5rem 0; } .treatments__header h2 { font-size: 43px; } .treatment-card { min-height: 360px; } .treatments__footer { align-items: flex-start; flex-direction: column; } }
/* MEET THE DENTIST */
.dentist { padding: clamp(6rem, 11vw, 11rem) 0 2.5rem; overflow: hidden; background: var(--ink); color: var(--paper); }
.dentist__inner { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.dentist__topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(3rem, 6vw, 6rem); padding-bottom: 1rem; border-bottom: 1px solid rgb(245 244 245 / 25%); }
.dentist__topline p, .dentist__topline span { margin: 0; color: rgb(245 244 245 / 72%); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.dentist__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7.5rem); align-items: stretch; }
.dentist__portrait { margin: 0; opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.dentist.is-visible .dentist__portrait { opacity: 1; transform: translateY(0); }
.dentist__portrait-art { --px: 50%; --py: 42%; position: relative; min-height: clamp(570px, 67vw, 790px); overflow: hidden; background: radial-gradient(circle at var(--px) var(--py), rgb(210 245 163 / 45%), transparent 22%), linear-gradient(145deg, #52646a, #26343a 52%, #172227); }
.dentist__portrait-art::before { position: absolute; inset: 8% 8% auto; height: 1px; background: rgb(245 244 245 / 35%); content: ''; }
.dentist__portrait-art::after { position: absolute; top: 8%; right: 8%; bottom: 8%; width: 1px; background: rgb(245 244 245 / 22%); content: ''; }
.dentist__light { position: absolute; top: -10%; left: -9%; width: 65%; aspect-ratio: 1; border-radius: 50%; background: rgb(210 245 163 / 23%); filter: blur(38px); transform: translate(calc((var(--px) - 50%) * .08), calc((var(--py) - 50%) * .08)); }
.dentist__silhouette { position: absolute; right: 8%; bottom: -6%; width: 67%; height: 76%; border-radius: 47% 47% 8% 8% / 32% 32% 8% 8%; background: linear-gradient(160deg, #aab7b5, #65777a 48%, #35464b); box-shadow: -42px -20px 90px rgb(210 245 163 / 12%); }
.dentist__silhouette::before { position: absolute; top: -21%; left: 25%; width: 53%; aspect-ratio: .83; border-radius: 48% 48% 44% 44%; background: linear-gradient(135deg, #c7d1ce, #7d8e8e); content: ''; }
.dentist__portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; color: rgb(245 244 245 / 60%); font: 400 8px/1.3 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.dentist__content { display: grid; align-content: space-between; min-width: 0; }
.dentist__identity, .dentist__content blockquote, .dentist__bio { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform 1s cubic-bezier(.16, 1, .3, 1); }
.dentist.is-visible .dentist__identity { opacity: 1; transform: none; transition-delay: .12s; }
.dentist.is-visible .dentist__content blockquote { opacity: 1; transform: none; transition-delay: .25s; }
.dentist.is-visible .dentist__bio { opacity: 1; transform: none; transition-delay: .38s; }
.dentist__identity > p { margin: 0 0 1.2rem; color: var(--acid); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .13em; text-transform: uppercase; }
.dentist__identity h2 { margin: 0; color: var(--paper); font: 400 clamp(58px, 7.1vw, 108px)/.82 'Playfair Display', Georgia, serif; letter-spacing: -.085em; }
.dentist__identity h2 em { font-style: italic; }
.dentist__identity > span { display: inline-block; margin-top: 1.3rem; padding: .6rem .75rem; border: 1px solid rgb(245 244 245 / 35%); font: 400 8px/1 'DM Mono', monospace; letter-spacing: .11em; text-transform: uppercase; }
.dentist__content blockquote { max-width: 22ch; margin: clamp(3rem, 6vw, 6rem) 0; color: var(--paper); font: 400 clamp(25px, 2.7vw, 40px)/1.05 'Playfair Display', Georgia, serif; letter-spacing: -.04em; }
.dentist__bio { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; padding-top: 1.5rem; border-top: 1px solid rgb(245 244 245 / 25%); }
.dentist__bio > span { color: var(--acid); font: 400 clamp(38px, 4vw, 58px)/.8 'Playfair Display', Georgia, serif; letter-spacing: -.06em; }
.dentist__bio small { display: block; max-width: 8ch; margin-top: .8rem; color: rgb(245 244 245 / 58%); font: 400 8px/1.35 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.dentist__bio p { max-width: 47ch; margin: 0; color: rgb(245 244 245 / 72%); font: 400 13px/1.65 Manrope, sans-serif; }
.dentist__footer { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(4rem, 7vw, 7rem); border-top: 1px solid rgb(245 244 245 / 25%); }
.dentist__footer span { padding: 1.25rem 0; border-right: 1px solid rgb(245 244 245 / 25%); color: rgb(245 244 245 / 68%); font: 400 8px/1 'DM Mono', monospace; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.dentist__footer span:last-child { border-right: 0; }
@media (max-width: 780px) { .dentist__inner { width: calc(100% - 28px); } .dentist__layout { grid-template-columns: 1fr; } .dentist__portrait-art { min-height: 72svh; } .dentist__content { margin-top: 1.5rem; } .dentist__content blockquote { margin: 3rem 0; } }
@media (max-width: 500px) { .dentist { padding-top: 5rem; } .dentist__portrait-art { min-height: 560px; } .dentist__identity h2 { font-size: 65px; } .dentist__bio { grid-template-columns: 1fr; } .dentist__footer { grid-template-columns: 1fr; } .dentist__footer span { border-right: 0; border-bottom: 1px solid rgb(245 244 245 / 25%); } }
/* Versão mais compacta da seção da dentista. */
.dentist { padding-top: clamp(4.5rem, 7vw, 7rem); padding-bottom: 2rem; }
.dentist__topline { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.dentist__portrait-art { min-height: clamp(450px, 48vw, 610px); }
.dentist__identity h2 { font-size: clamp(50px, 5.8vw, 88px); line-height: .84; }
.dentist__content blockquote { margin: clamp(2.2rem, 3.8vw, 3.8rem) 0; font-size: clamp(22px, 2.15vw, 32px); }
.dentist__bio { gap: clamp(1.25rem, 2.8vw, 2.5rem); padding-top: 1.2rem; }
.dentist__bio > span { font-size: clamp(34px, 3.2vw, 48px); }
.dentist__bio small { max-width: none; }
.dentist__bio p { font-size: 12px; line-height: 1.58; }
.dentist__footer { margin-top: clamp(3rem, 4.5vw, 4.5rem); }
@media (max-width: 780px) { .dentist__portrait-art { min-height: 520px; } }
@media (max-width: 500px) { .dentist { padding-top: 4rem; } .dentist__portrait-art { min-height: 460px; } .dentist__identity h2 { font-size: 56px; } }
/* Textos da dentista ocupam integralmente a coluna definida pelo grid. */
.dentist__content { width: 100%; }
.dentist__content blockquote {
  width: 100%;
  max-width: none;
  font-size: clamp(20px, 1.85vw, 29px);
  line-height: 1.08;
  text-wrap: balance;
}
.dentist__bio { grid-template-columns: minmax(82px, auto) minmax(0, 1fr); }
.dentist__bio p {
  width: 100%;
  max-width: none;
  text-wrap: pretty;
}
@media (max-width: 780px) { .dentist__content blockquote { font-size: clamp(21px, 4.8vw, 29px); } }
/* OUR SPACE — galeria horizontal conduzida pelo scroll vertical */
.space { position: relative; height: 320svh; background: var(--paper); color: var(--ink); }
.space__stage { position: sticky; top: 0; display: grid; height: 100svh; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: clamp(.8rem, 1.6vw, 1.4rem); overflow: hidden; padding: clamp(1.6rem, 3vw, 3rem) 0 1.4rem; }
.space__header { position: relative; display: grid; width: min(1200px, calc(100% - 40px)); grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); gap: .8rem clamp(3rem, 9vw, 9rem); align-items: end; margin: 0 auto; }
.space__eyebrow { grid-column: 1 / -1; margin: 0; font: 500 9px/1 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.space__header h2 { max-width: 14ch; margin: 0; font: 400 clamp(40px, 4.7vw, 70px)/.98 'Playfair Display', Georgia, serif; letter-spacing: -.075em; }
.space__header h2 em { font-style: italic; }
.space__intro { max-width: 40ch; margin: 0 0 .25rem; font: 400 12px/1.58 Manrope, sans-serif; }
.space__index { position: absolute; top: 0; right: 0; margin: 0; padding: .65rem .8rem; background: var(--acid); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .1em; }
.space__index b { font-size: 13px; }
.space__categories { position: relative; width: min(1200px, calc(100% - 40px)); margin: 0 auto; overflow: hidden; background: rgb(36 47 53 / 10%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.space__categories-track { display: flex; width: max-content; min-width: 100%; will-change: transform; }
.space__categories span { position: relative; z-index: 0; display: grid; width: clamp(250px, 30vw, 330px); min-width: 0; flex: 0 0 auto; place-items: center; padding: .85rem 1.2rem; border: 0; color: var(--ink); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .08em; text-align: center; text-transform: uppercase; white-space: nowrap; cursor: default; transition: color .3s ease, background .4s ease, box-shadow .45s ease; }
.space__categories span:last-child { border: 0; }
.space__categories span:hover {
  z-index: 1;
  background: rgb(210 245 163 / 65%);
  color: var(--ink);
  box-shadow: 0 12px 30px rgb(36 47 53 / 10%);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.space__categories span.is-active {
  z-index: 2;
  background: var(--ink);
  color: var(--acid);
  box-shadow: 0 12px 30px rgb(36 47 53 / 18%);
}
.space__gallery-window { min-height: 0; overflow: hidden; }
.space__gallery { display: flex; width: max-content; height: 100%; align-items: center; gap: clamp(10px, 1.2vw, 18px); padding-inline: max(20px, calc((100vw - 1200px) / 2)); will-change: transform; }
.space__visual { position: relative; width: clamp(440px, 55vw, 790px); height: min(100%, 470px); min-height: 250px; margin: 0; flex: 0 0 auto; overflow: hidden; background: #dbe0dc; opacity: .58; transform: scale(.965); transition: opacity .55s ease, transform .75s cubic-bezier(.16, 1, .3, 1); }
.space__visual.is-active { opacity: 1; transform: scale(1); }
/* Imagens reais da galeria Our Space. */
.space__visual--reception { --space-image: url('assets/Reception (2).png'); }
.space__visual--detail { --space-image: url('assets/Materials & Details.png'); }
.space__visual--room { --space-image: url('assets/Therapy Rooms.png'); }
.space__visual--privacy { --space-image: url('assets/Comfort & Privacy.png'); }
.space__visual--experience { --space-image: url('assets/Client Experience.png'); }
.space__image { position: absolute; inset: 0; background: var(--space-image, linear-gradient(140deg, #cbd5d1, #718286 58%, #34454b)) center / cover no-repeat; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.space__visual--detail .space__image { background-image: var(--space-image, radial-gradient(circle at 37% 42%, #d2f5a3 0 8%, transparent 9%), linear-gradient(135deg, #e8e8df, #83918d)); }
.space__visual--room .space__image { background-image: var(--space-image, linear-gradient(115deg, #56686c 0 18%, #d9dfda 18% 63%, #9aaba6 63%)); }
.space__visual--privacy .space__image { background-image: var(--space-image, radial-gradient(circle at 67% 42%, #d2f5a3 0 13%, transparent 13.5%), linear-gradient(145deg, #26363b, #718287)); }
.space__visual--experience .space__image { background-image: var(--space-image, linear-gradient(165deg, #edf0eb, #a9b6b2 55%, #405258)); }
.space__visual.is-active .space__image, .space__visual:hover .space__image { transform: scale(1.045); }
.space__image::before { position: absolute; inset: 6%; border: 1px solid rgb(245 244 245 / 38%); content: ''; }
.space__visual figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: .9rem 1rem; background: linear-gradient(0deg, rgb(36 47 53 / 78%), transparent); color: var(--paper); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.space__visual figcaption span { color: var(--acid); }
.space__footer { display: flex; width: min(1200px, calc(100% - 40px)); align-items: center; justify-content: space-between; margin: 0 auto; padding-top: .9rem; border-top: 1px solid var(--line); }
.space__footer p, .space__footer span { margin: 0; color: rgb(36 47 53 / 65%); font: 500 8px/1 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 780px) { .space { height: 300svh; } .space__stage { padding-top: 1.5rem; } .space__header, .space__categories, .space__footer { width: calc(100% - 28px); } .space__header { grid-template-columns: 1fr; } .space__header h2 { max-width: 11ch; font-size: 43px; } .space__intro { max-width: 35rem; margin-top: .5rem; } .space__categories { display: block; overflow: hidden; } .space__categories span { width: min(68vw, 260px); min-width: 0; padding-inline: 1rem; } .space__gallery { padding-inline: 14px; } .space__visual { width: 82vw; min-height: 240px; } }
@media (max-width: 500px) { .space__stage { grid-template-rows: auto auto minmax(0, 1fr) auto; } .space__header h2 { font-size: 38px; } .space__intro { font-size: 10px; } .space__visual { width: 88vw; height: min(100%, 390px); } .space__footer span { display: none; } }
@media (prefers-reduced-motion: reduce) { .space__visual, .space__image { transition: none; } }
/* PATIENT STORIES */
.testimonials { padding: clamp(5.5rem, 9vw, 9rem) 0 2.5rem; overflow: hidden; background: var(--ink); color: var(--paper); }
.testimonials__inner { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.testimonials__header { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; margin-bottom: clamp(3rem, 5vw, 5rem); padding-bottom: 2rem; border-bottom: 1px solid rgb(245 244 245 / 25%); }
.testimonials__header > p { grid-column: 1 / -1; margin: 0 0 .4rem; color: var(--acid); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.testimonials__header h2 { margin: 0; color: var(--paper); font: 400 clamp(52px, 6.5vw, 96px)/.88 'Playfair Display', Georgia, serif; letter-spacing: -.08em; }
.testimonials__header h2 em { font-style: italic; }
.testimonials__header > span { margin-bottom: .5rem; color: rgb(245 244 245 / 58%); font: 400 9px/1 'DM Mono', monospace; letter-spacing: .12em; }
.testimonials__layout { display: grid; grid-template-rows: minmax(410px, 47vw) auto; gap: clamp(2.5rem, 5vw, 4.5rem); min-width: 0; }
.testimonials__quotes { position: relative; min-width: 0; }
.testimonial { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; opacity: 0; transform: translateY(30px); pointer-events: none; transition: opacity .6s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.testimonial.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.testimonial__portrait { width: 100%; height: min(100%, 520px); min-height: 340px; overflow: hidden; background-position: center; background-size: cover; box-shadow: inset 0 0 0 1px rgb(245 244 245 / 18%); transform: scale(.97); transition: transform 1s cubic-bezier(.16, 1, .3, 1), filter .6s ease; }
.testimonial.is-active .testimonial__portrait { transform: scale(1); }
.testimonial__portrait--mariana { background-image: linear-gradient(rgb(36 47 53 / 5%), rgb(36 47 53 / 5%)), url('assets/sorriso.png'); }
.testimonial__portrait--lucas { background-image: linear-gradient(rgb(36 47 53 / 5%), rgb(36 47 53 / 5%)), url('assets/sorriso (3).png'); }
.testimonial__portrait--sophia { background-image: linear-gradient(rgb(36 47 53 / 5%), rgb(36 47 53 / 5%)), url('assets/sorriso (2).png'); }
.testimonial__content { min-width: 0; align-self: center; }
.testimonial blockquote { width: 100%; max-width: 23ch; margin: 0; color: var(--paper); font: 400 clamp(28px, 3.25vw, 49px)/1.04 'Playfair Display', Georgia, serif; letter-spacing: -.05em; }
.testimonial p { margin: 1.25rem 0 0; color: var(--acid); font: 500 10px/1 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.testimonials__people { grid-row: 2; display: flex; width: 100%; overflow-x: auto; background: rgb(245 244 245 / 6%); scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testimonials__people::-webkit-scrollbar { display: none; }
.testimonials__people button { display: flex; width: min(46vw, 480px); min-width: min(46vw, 480px); flex: 0 0 auto; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; border: 0; background: transparent; color: rgb(245 244 245 / 68%); font: 500 13px/1 Manrope, sans-serif; text-align: left; scroll-snap-align: center; cursor: pointer; transition: color .35s ease, background .45s ease, padding-left .5s cubic-bezier(.16, 1, .3, 1); }
.testimonials__people button span { color: inherit; font: 400 8px/1 'DM Mono', monospace; }
.testimonials__people button:hover { color: var(--paper); }
.testimonials__people button.is-active { padding-left: 2rem; background: var(--acid); color: var(--ink); }
.testimonials__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgb(245 244 245 / 25%); }
.testimonials__footer p { margin: 0; color: rgb(245 244 245 / 58%); font: 400 9px/1 'DM Mono', monospace; letter-spacing: .1em; }
.testimonials__footer p span { color: var(--acid); font-size: 13px; }
.testimonials__footer div { display: flex; gap: .6rem; }
.testimonials__footer button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(245 244 245 / 40%); background: transparent; color: var(--paper); cursor: pointer; transition: background .3s ease, color .3s ease, transform .3s ease; }
.testimonials__footer button:hover { background: var(--acid); color: var(--ink); transform: translateY(-2px); }
@media (max-width: 780px) {
  .testimonials__inner { width: calc(100% - 28px); }
  .testimonials__layout { grid-template-rows: minmax(650px, 82svh) auto; gap: 2rem; }
  .testimonial { grid-template-columns: 1fr; grid-template-rows: minmax(300px, 48svh) auto; gap: 2rem; align-content: start; }
  .testimonial__portrait { height: 100%; min-height: 300px; }
  .testimonial blockquote { max-width: 20ch; font-size: clamp(29px, 7vw, 45px); }
  .testimonials__people button { width: min(70vw, 360px); min-width: min(70vw, 360px); }
}
@media (max-width: 500px) {
  .testimonials { padding-top: 5rem; }
  .testimonials__header h2 { font-size: 52px; }
  .testimonials__layout { grid-template-rows: 650px auto; }
  .testimonial { grid-template-rows: 330px auto; }
  .testimonial blockquote { font-size: 30px; }
  .testimonials__people button { width: 76vw; min-width: 76vw; }
}
@media (prefers-reduced-motion: reduce) { .testimonial, .testimonial__portrait, .testimonials__people, .testimonials__people button { transition: none; scroll-behavior: auto; } }
/* MAIN CTA */
.main-cta { --cta-x: 50%; --cta-y: 50%; isolation: isolate; position: relative; display: grid; min-height: 92svh; place-items: center; overflow: hidden; background: var(--acid); color: var(--ink); scroll-margin-top: 2rem; }
.main-cta__glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle 340px at var(--cta-x) var(--cta-y), rgb(245 244 245 / 75%), transparent 72%); pointer-events: none; transition: opacity .3s ease; }
.main-cta__inner { position: relative; z-index: 2; display: flex; width: min(1200px, calc(100% - 40px)); min-height: 92svh; flex-direction: column; align-items: center; justify-content: center; padding: clamp(5rem, 9vw, 9rem) 0 8rem; text-align: center; }
.main-cta__eyebrow { margin: 0 0 1.6rem; font: 500 10px/1.2 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.main-cta h2 { width: 100%; max-width: none; margin: 0; font: 400 clamp(45px, 4.8vw, 72px)/.95 'Playfair Display', Georgia, serif; letter-spacing: -.075em; text-wrap: balance; }
.main-cta h2 em { font-style: italic; }
.main-cta__copy { max-width: 54ch; margin: 1.8rem 0 0; font: 500 14px/1.6 Manrope, sans-serif; }
.main-cta__button { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; padding: .75rem .75rem .75rem 1.35rem; background: var(--ink); color: var(--paper); font: 500 11px/1 Manrope, sans-serif; text-decoration: none; transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease; }
.main-cta__button b { display: grid; width: 38px; height: 38px; place-items: center; background: var(--paper); color: var(--ink); font-size: 15px; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.main-cta__button:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgb(36 47 53 / 20%); }
.main-cta__button:hover b { transform: rotate(45deg); }
.main-cta__footer { position: absolute; right: 0; bottom: 1.6rem; left: 0; display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: end; padding-top: 1.2rem; border-top: 1px solid rgb(36 47 53 / 26%); text-align: left; }
.main-cta__footer p { display: flex; gap: .55rem; flex-direction: column; margin: 0; }
.main-cta__footer strong, .main-cta__footer > a { color: var(--ink); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.main-cta__footer p span { font: 400 11px/1.3 Manrope, sans-serif; }
.main-cta__watermark { position: absolute; z-index: 0; bottom: -6vw; left: 50%; display: block; width: clamp(560px, 72vw, 960px); height: auto; opacity: .07; transform: translateX(-50%); pointer-events: none; }
@media (max-width: 780px) { .main-cta__inner { width: calc(100% - 28px); } .main-cta h2 { font-size: clamp(44px, 11vw, 68px); } .main-cta__footer { grid-template-columns: 1fr 1fr; } .main-cta__footer > a { display: none; } }
@media (max-width: 500px) { .main-cta { min-height: 100svh; } .main-cta__inner { min-height: 100svh; padding-bottom: 10rem; } .main-cta h2 { font-size: 45px; } .main-cta h2 br { display: none; } .main-cta__copy { font-size: 12px; } .main-cta__footer { grid-template-columns: 1fr; gap: 1rem; } .main-cta__footer p:last-of-type { padding-top: 1rem; border-top: 1px solid rgb(36 47 53 / 20%); } }
@media (prefers-reduced-motion: reduce) { .main-cta__button, .main-cta__button b { transition: none; } }
/* LOCATION / CONTACT */
.location { padding: clamp(6rem, 11vw, 11rem) 0 2rem; background: var(--paper); color: var(--ink); scroll-margin-top: 0; }
.location__inner { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.location__header { position: relative; margin-bottom: clamp(3rem, 6vw, 6rem); padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.location__header > p { margin: 0 0 1rem; font: 500 9px/1 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.location__header h2 { margin: 0; font: 400 clamp(55px, 7vw, 105px)/.84 'Playfair Display', Georgia, serif; letter-spacing: -.085em; }
.location__header h2 em { font-style: italic; }
.location__header > span { position: absolute; top: 0; right: 0; padding: .65rem .8rem; background: var(--acid); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .1em; }
.location__layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: stretch; }
.location__map { position: relative; min-height: clamp(470px, 49vw, 650px); overflow: hidden; background: var(--ink); color: var(--paper); text-decoration: none; }
.location__map-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgb(245 244 245 / 40%) 1px, transparent 1px), linear-gradient(90deg, rgb(245 244 245 / 40%) 1px, transparent 1px); background-size: 52px 52px; transform: perspective(500px) rotateX(13deg) scale(1.2); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.location__map:hover .location__map-grid { transform: perspective(500px) rotateX(8deg) scale(1.3) translate(-1%, -1%); }
.location__map::before, .location__map::after { position: absolute; border: 1px solid rgb(210 245 163 / 36%); border-radius: 50%; content: ''; }
.location__map::before { width: 62%; aspect-ratio: 1; top: -18%; right: -12%; }.location__map::after { width: 34%; aspect-ratio: 1; bottom: -12%; left: -9%; }
.location__pin { position: absolute; top: 48%; left: 53%; display: grid; width: 74px; aspect-ratio: 1; place-items: center; border: 1px solid var(--acid); border-radius: 50%; transform: translate(-50%, -50%); animation: location-pulse 2.8s ease-in-out infinite; }
.location__pin i { display: block; width: 13px; aspect-ratio: 1; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 8px rgb(210 245 163 / 15%); }
.location__map-label { position: absolute; top: 1.5rem; left: 1.5rem; font: 500 12px/1.4 Manrope, sans-serif; }
.location__map-label small { color: rgb(245 244 245 / 56%); font: 400 8px/1 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.location__map-action { position: absolute; right: 1.5rem; bottom: 1.5rem; padding: .75rem .9rem; background: var(--acid); color: var(--ink); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.location__details { display: flex; min-width: 0; flex-direction: column; }
.location__address > p { margin: 0 0 1.1rem; color: rgb(36 47 53 / 58%); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .13em; text-transform: uppercase; }
.location__address h3 { margin: 0 0 1.4rem; font: 400 clamp(34px, 3.2vw, 49px)/.95 'Playfair Display', Georgia, serif; letter-spacing: -.055em; }
.location__address address { font: 400 15px/1.55 Manrope, sans-serif; }
.location__contact { margin: clamp(3rem, 6vw, 6rem) 0 0; border-top: 1px solid var(--line); }
.location__contact div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.location__contact dt { color: rgb(36 47 53 / 58%); font: 500 8px/1.4 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.location__contact dd { margin: 0; font: 400 12px/1.45 Manrope, sans-serif; overflow-wrap: anywhere; }
.location__contact a { color: inherit; text-decoration: none; }
.location__directions { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 1rem 1.1rem; background: var(--ink); color: var(--paper); font: 500 11px/1 Manrope, sans-serif; text-decoration: none; transition: background .3s ease, transform .3s ease; }
.location__directions:hover { background: #34444b; transform: translateY(-3px); }.location__directions span { color: var(--acid); font-size: 16px; }
.location__footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; margin-top: clamp(5rem, 9vw, 9rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.location__footer a, .location__footer p { margin: 0; color: var(--ink); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }.location__footer p { text-align: center; }.location__footer a:last-child { text-align: right; }
@keyframes location-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(210 245 163 / 0%); } 50% { box-shadow: 0 0 0 18px rgb(210 245 163 / 10%); } }
@media (max-width: 780px) { .location__inner { width: calc(100% - 28px); } .location__layout { grid-template-columns: 1fr; } .location__map { min-height: 65svh; } .location__directions { margin-top: 2rem; } }
@media (max-width: 500px) { .location { padding-top: 5rem; } .location__header h2 { font-size: 58px; } .location__map { min-height: 520px; } .location__contact div { grid-template-columns: 90px minmax(0, 1fr); } .location__footer { grid-template-columns: 1fr auto; gap: 1rem; } .location__footer p { display: none; } }
@media (prefers-reduced-motion: reduce) { .location__pin { animation: none; } .location__map-grid { transition: none; } }
/* Alinhamento das caixas editoriais à borda direita do grid. */
@media (min-width: 781px) {
  .space__intro {
    width: 100%;
    justify-self: end;
  }

  .testimonial__content {
    width: min(100%, 760px);
    justify-self: end;
  }

  .testimonial blockquote {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}
/* TESTIMONIAL FOLDER LAYOUT */
.testimonials {
  padding-top: clamp(4.5rem, 7vw, 7rem);
  padding-bottom: 2rem;
}
.testimonials__header {
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}
.testimonials__layout {
  grid-template-rows: auto clamp(330px, 34vw, 420px);
  gap: 0;
  min-height: 0;
}
.testimonials__people {
  grid-row: 1;
  position: relative;
  z-index: 3;
  align-items: stretch;
  background: transparent;
}
.testimonials__people button {
  width: min(38vw, 390px);
  min-width: min(38vw, 390px);
  padding: 1.15rem 1.35rem;
  border-top: 3px solid transparent;
  background: rgb(245 244 245 / 7%);
}
.testimonials__people button:hover {
  background: rgb(245 244 245 / 12%);
}
.testimonials__people button.is-active {
  padding-left: 1.7rem;
  border-top-color: var(--acid);
  background: var(--paper);
  color: var(--ink);
}
.testimonials__quotes {
  grid-row: 2;
  min-height: 0;
  background: var(--paper);
  color: var(--ink);
}
.testimonial {
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.25rem, 2.4vw, 2.25rem);
  transform: translateX(30px);
}
.testimonial.is-active {
  transform: translateX(0);
}
.testimonial__portrait {
  height: 100%;
  min-height: 0;
  box-shadow: none;
}
.testimonial__content {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}
.testimonial blockquote {
  width: 100%;
  max-width: 25ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.65vw, 40px);
  line-height: 1.06;
}
.testimonial p {
  margin-top: 1rem;
  color: var(--ink);
}
.testimonials__footer {
  margin-top: 1rem;
}
@media (max-width: 780px) {
  .testimonials__layout {
    grid-template-rows: auto 560px;
    gap: 0;
  }
  .testimonials__people button {
    width: min(68vw, 340px);
    min-width: min(68vw, 340px);
  }
  .testimonial {
    grid-template-columns: 1fr;
    grid-template-rows: 290px auto;
    gap: 1.5rem;
    align-content: start;
  }
  .testimonial__portrait {
    height: 290px;
    min-height: 0;
  }
  .testimonial blockquote {
    max-width: 22ch;
    font-size: clamp(25px, 6vw, 34px);
  }
}
@media (max-width: 500px) {
  .testimonials {
    padding-top: 4rem;
  }
  .testimonials__layout {
    grid-template-rows: auto 535px;
  }
  .testimonials__people button {
    width: 76vw;
    min-width: 76vw;
  }
  .testimonial {
    grid-template-rows: 260px auto;
    padding: 1rem;
  }
  .testimonial__portrait {
    height: 260px;
  }
  .testimonial blockquote {
    font-size: 27px;
  }
}
/* TESTIMONIAL EDGE FIX */
@media (min-width: 781px) {
  .testimonials__people button {
    width: 40%;
    min-width: 40%;
  }
}
.testimonials__footer {
  justify-content: flex-start;
  margin-top: .65rem;
  padding-top: .65rem;
  border-top: 0;
}

/* TESTIMONIAL ACCORDION TABS */
.testimonials__people {
  overflow: hidden;
  scroll-snap-type: none;
}
.testimonials__people button {
  width: 68px;
  min-width: 68px;
  flex: 0 0 68px;
  justify-content: center;
  gap: 0;
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
  transition: flex-basis .7s cubic-bezier(.16, 1, .3, 1), width .7s cubic-bezier(.16, 1, .3, 1), min-width .7s cubic-bezier(.16, 1, .3, 1), padding .7s cubic-bezier(.16, 1, .3, 1), color .35s ease, background .45s ease;
}
.testimonials__people button.is-active {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 1rem;
  padding-right: 1.7rem;
  padding-left: 1.7rem;
}
.testimonials__people button .testimonial-tab__number {
  flex: 0 0 auto;
  font: 500 9px/1 'DM Mono', monospace;
  letter-spacing: .08em;
}
.testimonial-tab__name {
  display: block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-10px);
  white-space: nowrap;
  font: 500 13px/1 Manrope, sans-serif !important;
  transition: .45s cubic-bezier(.16, 1, .3, 1), opacity .25s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
}
.testimonials__people button.is-active .testimonial-tab__name {
  max-width: 180px;
  opacity: 1;
  transform: translateX(0);
  transition-delay: .14s;
}
@media (max-width: 500px) {
  .testimonials__people button {
    width: 54px;
    min-width: 54px;
    flex-basis: 54px;
  }
  .testimonials__people button.is-active {
    width: auto;
    min-width: 0;
    flex-basis: auto;
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }
}
/* Imagens reais dos tratamentos. */
.treatment-card__media {
  background: #d8ddd9;
}
.treatment-card--dark .treatment-card__media {
  background: #35454b;
}
.treatment-card__media::before,
.treatment-card__media::after {
  display: none;
}
.treatment-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .5s ease;
}
.treatment-card:hover .treatment-card__media img,
.treatment-card:focus-visible .treatment-card__media img {
  transform: scale(1.055);
}
.treatment-card--wide.treatment-card--dark .treatment-card__media img {
  object-position: center 55%;
}

/* Fotografia da Dra. Helena. */
.dentist__portrait-art {
  background: #35464b;
}
.dentist__portrait-art img,
.dentist__portrait-art video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}
.dentist__portrait-art:hover img,
.dentist__portrait-art:hover video {
  transform: scale(1.025);
}

/* Ajuste final da seção Meet Your Dentist. */
.dentist {
  padding-bottom: 1.5rem;
}
.dentist__content {
  align-content: start;
}
.dentist__identity h2 {
  line-height: .9;
}
.dentist__content blockquote {
  margin: clamp(1.5rem, 2.3vw, 2.3rem) 0 0;
}
.dentist__bio {
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Alinhamento vertical da seção da dentista pela fotografia. */
@media (min-width: 781px) {
  .dentist__portrait {
    position: relative;
  }
  .dentist__portrait figcaption {
    position: absolute;
    top: calc(100% + .8rem);
    right: 0;
    left: 0;
    margin-top: 0;
  }
  .dentist__content {
    height: 100%;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
  }
  .dentist__content blockquote {
    align-self: center;
    margin: 0;
  }
  .dentist__bio {
    align-self: end;
    margin-top: 0;
  }
}

/* Centralização vertical do conjunto da dentista. */
@media (min-width: 781px) {
  .dentist {
    padding-top: clamp(4.5rem, 6vw, 6.5rem);
    padding-bottom: clamp(4.5rem, 6vw, 6.5rem);
  }
}

/* Enquadramento vertical do vídeo da Dra. Helena. */
.dentist__portrait-art video {
  object-position: center 25%;
}

/* Remove a linha vertical sobre o vídeo. */
.dentist__portrait-art::after {
  display: none;
}

/* Enquadramento mobile do vídeo da Dra. Helena. */
@media (max-width: 780px) {
  .dentist__portrait-art video {
    object-position: center 17%;
  }
}

/* Logo SVG no header. */
.site-nav__brand {
  display: flex;
  align-items: center;
}
.site-nav__brand img {
  display: block;
  width: auto;
  height: 25px;
}
@media (max-width: 500px) {
  .site-nav__brand img { height: 23px; }
}

/* Contraste claro do hero B2. */
.hero {
  color: var(--paper);
}
.site-nav {
  border-bottom-color: rgb(245 244 245 / 38%);
}
.site-nav a,
.hero__actions a {
  color: var(--paper);
}
.hero__eyebrow span {
  color: rgb(245 244 245 / 68%);
}
.hero__primary-action {
  color: var(--ink) !important;
}

/* Header glass persistente. */
.site-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  width: min(1240px, calc(100% - 20px));
  padding: 1.4rem 1.25rem;
  border: 1px solid rgb(245 244 245 / 12%);
  border-top: 0;
  background: rgb(36 47 53 / 18%);
  box-shadow: 0 10px 35px rgb(20 31 36 / 4%);
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  transition: top .5s cubic-bezier(.16, 1, .3, 1), width .65s cubic-bezier(.16, 1, .3, 1), padding .65s cubic-bezier(.16, 1, .3, 1), background .45s ease, border-color .45s ease, box-shadow .45s ease, backdrop-filter .45s ease;
}
.site-nav.is-scrolled {
  top: 10px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgb(245 244 245 / 17%);
  border-color: rgb(245 244 245 / 17%);
  border-radius: 3px;
  background: rgb(36 47 53 / 82%);
  box-shadow: 0 18px 50px rgb(20 31 36 / 20%);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
}
@media (max-width: 780px) {
  .site-nav {
    width: calc(100% - 16px);
    padding: 1.15rem .9rem;
  }
  .site-nav.is-scrolled {
    top: 8px;
    padding-top: .9rem;
    padding-bottom: .9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav {
    transition: none;
  }
}
/* Header full-bleed no topo. */
.site-nav:not(.is-scrolled) {
  width: 100%;
  padding-right: max(20px, calc((100% - 1200px) / 2));
  padding-left: max(20px, calc((100% - 1200px) / 2));
}
.site-nav.is-scrolled {
  width: min(1240px, calc(100% - 20px));
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}
@media (max-width: 780px) {
  .site-nav:not(.is-scrolled) {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }
  .site-nav.is-scrolled {
    width: calc(100% - 16px);
    padding-right: .9rem;
    padding-left: .9rem;
  }
}

/* Indicador deslizante do menu. */
.site-nav__links {
  position: relative;
}
.site-nav__links .is-current::after {
  display: none;
}
.site-nav__indicator {
  position: absolute;
  right: auto;
  bottom: -6px;
  left: 0;
  display: block;
  width: var(--nav-indicator-width, 0);
  height: 1px;
  background: var(--paper);
  transform: translate3d(var(--nav-indicator-x, 0), 0, 0);
  transform-origin: left;
  pointer-events: none;
  transition: width .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .site-nav__indicator {
    transition: none;
  }
}
/* Centralização vertical de Patient Stories. */
.testimonials {
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}


/* MOBILE SYSTEM — centralização, tipografia equilibrada e ritmo compacto. */
@media (max-width: 780px) {
  body {
    text-align: center;
  }

  .hero__content,
  .hero__support,
  .care__heading,
  .care__manifesto,
  .treatments__header,
  .treatment-card,
  .treatments__footer,
  .dentist__inner,
  .dentist__content,
  .space__header,
  .space__intro,
  .testimonials__header,
  .testimonial__content,
  .main-cta__inner,
  .location__header,
  .location__details,
  .location__address {
    text-align: center;
  }

  .hero__title,
  .care__title,
  .treatments__header h2,
  .dentist__identity h2,
  .space__header h2,
  .testimonials__header h2,
  .main-cta h2,
  .location__header h2 {
    width: 100%;
    max-width: 14ch;
    margin-right: auto;
    margin-left: auto;
    line-height: 1;
    text-wrap: balance;
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 38px);
  }

  .care__title,
  .treatments__header h2,
  .space__header h2,
  .testimonials__header h2,
  .main-cta h2,
  .location__header h2 {
    font-size: clamp(34px, 9.5vw, 46px);
  }

  .dentist__identity h2 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .hero__support > p,
  .care__message,
  .treatment-card > p,
  .treatments__footer p,
  .dentist__bio p,
  .space__intro,
  .testimonial blockquote,
  .main-cta__copy,
  .location__address address,
  .location__contact dd {
    margin-right: auto;
    margin-left: auto;
    font-weight: 400;
    text-align: center;
    text-wrap: balance;
  }

  .hero__support > p,
  .treatment-card > p,
  .treatments__footer p,
  .dentist__bio p,
  .space__intro,
  .main-cta__copy,
  .location__address address,
  .location__contact dd {
    max-width: 38ch;
    font-size: clamp(12px, 3.35vw, 14px);
    line-height: 1.55;
  }

  .hero__eyebrow,
  .treatments__eyebrow,
  .dentist__topline p,
  .dentist__topline span,
  .space__eyebrow,
  .testimonials__eyebrow,
  .main-cta__eyebrow,
  .location__header > p {
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
  }

  .hero__content {
    gap: .9rem;
  }

  .hero__actions,
  .treatments__footer,
  .dentist__topline,
  .dentist__bio,
  .location__footer {
    align-items: center;
    justify-content: center;
  }

  .hero > .hero__credentials dd {
    font-weight: 500;
  }

  .care__header {
    align-content: center;
    justify-items: center;
    gap: 1.15rem;
  }

  .care__manifesto {
    justify-self: center;
    max-width: 34rem;
  }

  .care__message {
    right: 0;
    left: 0;
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.4;
  }

  .care__footer {
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
  }

  .treatments {
    padding: 4.5rem 0;
  }

  .treatments__header {
    justify-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
  }

  .treatments__index {
    position: static;
    margin: 0;
  }

  .treatment-card {
    justify-items: center;
    gap: .85rem;
    padding: 1.25rem;
  }

  .treatment-card__head {
    width: 100%;
  }

  .treatment-card h3,
  .treatment-card > p {
    margin-right: auto;
    margin-left: auto;
  }

  .treatment-card h3 {
    max-width: 15ch;
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1;
    text-wrap: balance;
  }

  .treatments__footer {
    flex-direction: column;
    gap: 1.25rem;
  }

  .dentist {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .dentist__topline {
    flex-wrap: wrap;
    gap: .65rem 1rem;
    margin-bottom: 2.5rem;
  }

  .dentist__content {
    margin-top: 2rem;
  }

  .dentist__identity {
    text-align: center;
  }

  .dentist__identity p {
    text-align: center;
  }

  .dentist__content blockquote {
    max-width: 24ch;
    margin: 1.75rem auto;
    font-size: clamp(21px, 5.7vw, 27px);
    line-height: 1.16;
    text-align: center;
    text-wrap: balance;
  }

  .dentist__bio {
    justify-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .dentist__bio > span {
    text-align: center;
  }

  .space__stage {
    padding-top: 2rem;
  }

  .space__header {
    justify-items: center;
    gap: 1rem;
  }

  .space__header h2 {
    max-width: 13ch;
  }

  .space__intro {
    justify-self: center;
    max-width: 38ch;
  }

  .space__categories span {
    text-align: center;
  }

  .space__footer {
    justify-content: center;
    text-align: center;
  }

  .testimonials {
    justify-content: center;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .testimonials__inner {
    text-align: center;
  }

  .testimonials__header {
    justify-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.4rem;
  }

  .testimonials__layout {
    grid-template-rows: auto 535px;
  }

  .testimonial {
    justify-items: center;
    gap: 1.4rem;
  }

  .testimonial blockquote {
    max-width: 23ch;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(24px, 6.3vw, 31px);
    line-height: 1.12;
    text-align: center;
  }

  .testimonial p {
    margin-top: .85rem;
    text-align: center;
  }

  .testimonials__people button,
  .testimonials__people button.is-active {
    text-align: center;
  }

  .testimonials__people button.is-active {
    justify-content: center;
  }

  .main-cta__inner {
    padding-top: 5rem;
  }

  .main-cta__eyebrow {
    margin-bottom: 1.2rem;
  }

  .main-cta__copy {
    margin-top: 1.25rem;
  }

  .main-cta__button {
    margin-top: 1.75rem;
  }

  .main-cta__footer {
    justify-items: center;
    text-align: center;
  }

  .main-cta__footer p {
    align-items: center;
  }

  .location {
    padding-top: 4.5rem;
  }

  .location__header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
  }

  .location__header > span {
    position: static;
    display: inline-block;
    margin-top: 1rem;
  }

  .location__layout {
    gap: 2rem;
  }

  .location__contact {
    margin-top: 2.5rem;
  }

  .location__contact div {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .5rem;
  }

  .location__directions {
    justify-content: center;
    gap: 1rem;
  }

  .location__footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .location__footer a,
  .location__footer a:last-child,
  .location__footer p {
    text-align: center;
  }
}

@media (max-width: 500px) {
  .hero__support > p br,
  .main-cta h2 br {
    display: initial;
  }

  .hero__title,
  .care__title,
  .treatments__header h2,
  .space__header h2,
  .testimonials__header h2,
  .main-cta h2,
  .location__header h2 {
    letter-spacing: -.055em;
  }

  .hero__title {
    font-size: clamp(27px, 7.8vw, 34px);
  }

  .care__title,
  .treatments__header h2,
  .space__header h2,
  .testimonials__header h2,
  .main-cta h2,
  .location__header h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .hero__actions {
    gap: .85rem;
  }

  .hero > .hero__credentials div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
  }

  .hero > .hero__credentials dd {
    margin-top: 0;
    line-height: 1.25;
  }

  .care__header {
    min-height: 275px;
  }

  .dentist__identity h2 {
    font-size: clamp(41px, 11.5vw, 52px);
  }

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

  .space__intro {
    font-size: 12px;
  }

  .testimonials__layout {
    grid-template-rows: auto 520px;
  }

  .testimonial {
    grid-template-rows: 250px auto;
    padding: 1rem;
  }

  .testimonial__portrait {
    height: 250px;
  }

  .testimonial blockquote {
    font-size: clamp(22px, 6vw, 27px);
  }

  .main-cta__inner {
    padding-bottom: 10rem;
  }

  .main-cta__footer {
    grid-template-columns: 1fr;
  }

  .location__map {
    min-height: 460px;
  }
}


/* Correção mobile: preserva as imagens dos cards de tratamentos. */
@media (max-width: 780px) {
  .treatment-card__media {
    width: 100%;
    min-width: 100%;
    justify-self: stretch;
  }
}


/* Hero mobile: fotografia à direita e conteúdo apoiado pelo degradê inferior. */
@media (max-width: 780px) {
  .hero {
    isolation: isolate;
    background-position: right center;
  }

  .hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(
      to top,
      rgb(8 14 17 / 97%) 0%,
      rgb(8 14 17 / 88%) 30%,
      rgb(8 14 17 / 58%) 52%,
      rgb(8 14 17 / 16%) 72%,
      transparent 86%
    );
    content: '';
    pointer-events: none;
  }

  .hero__content {
    top: auto;
    bottom: clamp(7.4rem, 16svh, 9rem);
    width: min(620px, calc(100% - 28px));
    transform: translateX(-50%);
  }

  .hero > .hero__credentials {
    bottom: 1rem;
  }
}

@media (max-width: 500px) {
  .hero__content {
    top: auto;
    bottom: clamp(7rem, 15svh, 8rem);
    transform: translateX(-50%);
  }
}


/* Hero mobile: texto de apoio em três linhas. */
@media (max-width: 500px) {
  .hero__support > p {
    max-width: 52ch;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: -.015em;
  }

  .hero__support > p br {
    display: none;
  }
}


/* Enquadramento refinado do banner no mobile. */
@media (max-width: 500px) {
  .hero {
    background-position: right 62%;
    background-size: auto 108%;
  }
}


/* Ajuste adicional de zoom e elevação do banner mobile. */
@media (max-width: 500px) {
  .hero {
    background-position: right 76%;
    background-size: auto 118%;
  }
}


/* Banner dedicado para a versão mobile. */
@media (max-width: 780px) {
  .hero {
    background-image: url('assets/mobile.jpg');
    background-position: center;
    background-size: cover;
  }
}


/* Header sempre acima das seções no mobile. */
@media (max-width: 780px) {
  .hero {
    isolation: auto;
  }

  .site-nav {
    z-index: 9999;
  }
}


/* Our Philosophy mobile: composição compacta e centralizada. */
@media (max-width: 780px) {
  .care__grid {
    height: 100%;
    grid-template-rows: auto 1px auto auto;
    align-content: center;
    gap: clamp(.8rem, 2.2svh, 1.2rem);
    padding-top: clamp(5.5rem, 12svh, 6.5rem);
    padding-bottom: 1.25rem;
  }

  .care__header {
    min-height: 0;
    align-content: center;
    gap: .85rem;
    padding-top: 0;
  }

  .care__manifesto {
    min-height: 6.5rem;
    margin-bottom: 0;
  }

  .care__count {
    display: none;
  }

  .care__cards-window,
  .care__cards {
    height: auto;
  }

  .care__cards {
    align-items: center;
  }

  .care__footer {
    padding-top: .45rem;
  }
}

@media (max-width: 500px) {
  .care__grid {
    gap: .75rem;
    padding-top: 5.25rem;
    padding-bottom: .85rem;
  }

  .care__header {
    min-height: 0;
    gap: .7rem;
  }

  .care__manifesto {
    min-height: 6rem;
  }
}


/* Meet Your Dentist mobile: tipografia e espaçamento compactos. */
@media (max-width: 780px) {
  .dentist__content {
    margin-top: 1.4rem;
  }

  .dentist__identity > p {
    margin-bottom: .8rem;
  }

  .dentist__identity h2 {
    max-width: none;
    font-size: clamp(30px, 8.7vw, 44px);
    line-height: 1;
    letter-spacing: -.065em;
    white-space: nowrap;
  }

  .dentist__identity h2 br {
    display: none;
  }

  .dentist__content blockquote {
    max-width: 29ch;
    margin: 1.35rem auto;
    font-size: clamp(19px, 5.2vw, 24px);
    line-height: 1.16;
  }

  .dentist__bio {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .dentist__bio > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    font-size: clamp(34px, 9vw, 43px);
    line-height: 1;
  }

  .dentist__bio small {
    max-width: 12ch;
    margin-top: 0;
    line-height: 1.3;
    text-align: left;
  }

  .dentist__bio p {
    max-width: 44ch;
    line-height: 1.5;
  }
}

@media (max-width: 500px) {
  .dentist {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .dentist__identity h2 {
    font-size: clamp(29px, 8.6vw, 38px);
  }

  .dentist__content blockquote {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: clamp(18px, 5.1vw, 22px);
  }

  .dentist__bio {
    margin-top: 1rem;
  }
}


/* Vídeo da doutora mobile: recorte inferior 15% mais compacto. */
@media (max-width: 500px) {
  .dentist__portrait-art {
    min-height: 390px;
  }

  .dentist__portrait-art video {
    object-position: center 17%;
  }
}


/* Our Space mobile: duas linhas, sem contador e conjunto centralizado. */
@media (max-width: 780px) {
  .space__stage {
    grid-template-rows: auto auto clamp(240px, 38svh, 340px) auto;
    align-content: center;
    gap: .9rem;
    padding-top: 5rem;
    padding-bottom: 1rem;
  }

  .space__header {
    align-content: center;
    gap: .65rem;
  }

  .space__header h2 {
    max-width: 20ch;
    font-size: clamp(30px, 8vw, 39px);
    line-height: 1;
  }

  .space__intro {
    width: 100%;
    max-width: 63ch;
    margin-top: 0;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: -.02em;
  }

  .space__index {
    display: none;
  }

  .space__gallery-window {
    height: 100%;
  }

  .space__footer {
    padding-top: .45rem;
  }
}

@media (max-width: 500px) {
  .space__stage {
    grid-template-rows: auto auto clamp(230px, 37svh, 300px) auto;
    gap: .75rem;
    padding-top: 4.75rem;
    padding-bottom: .75rem;
  }

  .space__header h2 {
    max-width: 100%;
    font-size: clamp(29px, 8.4vw, 34px);
  }

  .space__intro {
    max-width: 63ch;
    font-size: 10px;
  }
}


/* Our Space mobile: escala +8% e respiro antes da galeria. */
@media (max-width: 780px) {
  .space__header {
    margin-bottom: .5rem;
  }

  .space__header h2 {
    font-size: clamp(32px, 8.65vw, 42px);
  }

  .space__intro {
    font-size: 10.8px;
  }
}

@media (max-width: 500px) {
  .space__header {
    margin-bottom: .45rem;
  }

  .space__header h2 {
    font-size: clamp(31px, 9.05vw, 37px);
  }

  .space__intro {
    font-size: 10.8px;
  }
}


/* Patient Stories mobile: cabeçalho em um único eixo central. */
@media (max-width: 780px) {
  .testimonials__header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .testimonials__header > p {
    grid-column: 1;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .testimonials__header h2 {
    grid-column: 1;
    justify-self: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
}


/* Patient Stories mobile: centralização vertical da faixa de abertura. */
@media (max-width: 780px) {
  .testimonials {
    padding-top: 0;
  }

  .testimonials__header {
    min-height: 0;
    align-content: center;
    margin-bottom: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 500px) {
  .testimonials {
    padding-top: 0;
  }

  .testimonials__header {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}


/* Our Philosophy mobile: progresso centralizado entre texto e galeria. */
@media (max-width: 780px) {
  .care__grid {
    gap: 0;
  }

  .care__header {
    gap: .7rem;
  }

  .care__manifesto {
    min-height: 4.5rem;
  }

  .care__message {
    top: 50%;
    bottom: auto;
    transform: translateY(calc(-50% + 28px));
  }

  .care__message.is-active {
    transform: translateY(-50%);
  }

  .care__progress {
    margin-top: .8rem;
    margin-bottom: 1.3rem;
  }

  .care__footer {
    margin-top: .75rem;
  }
}

@media (max-width: 500px) {
  .care__manifesto {
    min-height: 4.25rem;
  }

  .care__message--journey {
    white-space: nowrap;
  }

  .care__message--journey .care__mobile-break {
    display: initial;
  }

  .care__progress {
    margin-top: .7rem;
    margin-bottom: 1.15rem;
  }
}


/* Fachada real no bloco Open Map — alinhada à direita em todas as telas. */
.location__map {
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgb(8 14 17 / 28%) 0%, rgb(8 14 17 / 8%) 58%, rgb(8 14 17 / 18%) 100%),
    url('assets/fachada.png');
  background-position: center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.location__map-grid,
.location__pin {
  display: none;
}

.location__map::before,
.location__map::after {
  display: none;
}


/* Our Space desktop: conteúdo abaixo do header fixo, sem rodapé editorial. */
@media (min-width: 781px) {
  .space__stage {
    grid-template-rows: auto auto minmax(0, 1fr);
    padding-top: clamp(7rem, 12vh, 8.5rem);
    padding-bottom: 2rem;
  }
}


/* CTAs sem setas: rótulos centralizados; o CTA principal mantém seu ícone. */
.site-nav__cta,
.hero__primary-action,
.hero__text-action,
.treatments__footer a,
.location__map-action,
.location__directions {
  text-align: center;
}

.location__directions {
  justify-content: center;
}


/* Start Your NURA Experience mobile: altura compacta e fluxo contínuo. */
@media (max-width: 780px) {
  .main-cta {
    min-height: 0;
  }

  .main-cta__inner {
    min-height: 0;
    padding-top: clamp(4rem, 9vw, 5rem);
    padding-bottom: 2.75rem;
  }

  .main-cta__footer {
    position: static;
    width: 100%;
    margin-top: clamp(3rem, 8vw, 4rem);
  }
}

@media (max-width: 500px) {
  .main-cta,
  .main-cta__inner {
    min-height: 0;
  }

  .main-cta__inner {
    padding-top: 4rem;
    padding-bottom: 2.25rem;
  }

  .main-cta__footer {
    margin-top: 3rem;
  }
}

/* SESSION BOOKING */
body.has-booking-modal { overflow: hidden; }
.booking-modal [hidden] { display: none !important; }
.booking-modal {
  width: min(980px, calc(100% - 32px));
  max-width: none;
  max-height: min(92svh, 820px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.booking-modal::backdrop { background: rgb(15 24 27 / 72%); backdrop-filter: blur(8px); }
.booking-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.35fr);
  max-height: min(92svh, 820px);
  overflow: auto;
  border: 1px solid rgb(210 245 163 / 72%);
  background: var(--paper);
  box-shadow: 0 36px 100px rgb(8 14 17 / 40%);
}
.booking-modal__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(36 47 53 / 20%);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: 400 24px/1 Manrope, sans-serif;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.booking-modal__close:hover { background: var(--ink); color: var(--acid); transform: rotate(6deg); }
.booking-modal__intro {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--ink);
  color: var(--paper);
}
.booking-modal__intro > p:first-child,
.booking-form__heading > p,
.booking-success > p:first-of-type {
  margin: 0;
  color: var(--acid);
  font: 500 9px/1 'DM Mono', monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.booking-modal__intro h2,
.booking-success h2 {
  margin: 1.4rem 0;
  font: 400 clamp(34px, 4vw, 54px)/.94 'Playfair Display', Georgia, serif;
  letter-spacing: -.055em;
}
.booking-modal__intro h2 em,
.booking-success h2 em { font-weight: 400; }
.booking-modal__intro > p:nth-of-type(2) { margin: 0; color: rgb(245 244 245 / 72%); font: 400 12px/1.65 Manrope, sans-serif; }
.booking-modal__intro dl { display: grid; gap: 0; margin: auto 0 0; }
.booking-modal__intro dl div { display: grid; grid-template-columns: 34px 1fr; gap: .75rem; padding: .9rem 0; border-top: 1px solid rgb(245 244 245 / 18%); }
.booking-modal__intro dt { color: var(--acid); font: 500 9px/1.4 'DM Mono', monospace; }
.booking-modal__intro dd { margin: 0; font: 500 11px/1.4 Manrope, sans-serif; }
.booking-form { display: flex; min-width: 0; flex-direction: column; padding: clamp(3.8rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem); }
.booking-form__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.booking-form__heading > p { color: var(--ink); }
.booking-form__heading > span { color: rgb(36 47 53 / 54%); font: 400 9px/1.4 'DM Mono', monospace; }
.booking-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1rem; }
.booking-field { display: grid; gap: .5rem; min-width: 0; }
.booking-field--wide { grid-column: 1 / -1; }
.booking-field > span,
.booking-times legend { color: rgb(36 47 53 / 67%); font: 500 9px/1 'DM Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.booking-field input,
.booking-field select {
  width: 100%;
  min-height: 46px;
  padding: .75rem .8rem;
  border: 1px solid rgb(36 47 53 / 22%);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 400 12px/1.3 Manrope, sans-serif;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.booking-field input:focus,
.booking-field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgb(210 245 163 / 60%); }
.booking-times { margin: 1.35rem 0 0; padding: 0; border: 0; }
.booking-times legend { margin-bottom: .7rem; }
.booking-times > div { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.booking-times label { min-width: 0; cursor: pointer; }
.booking-times input { position: absolute; opacity: 0; pointer-events: none; }
.booking-times span { display: grid; min-height: 40px; place-items: center; border: 1px solid rgb(36 47 53 / 22%); font: 500 10px/1 'DM Mono', monospace; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.booking-times input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--acid); }
.booking-times input:focus-visible + span { outline: 3px solid rgb(210 245 163 / 80%); outline-offset: 2px; }
.booking-consent { display: flex; align-items: flex-start; gap: .65rem; margin-top: 1.25rem; cursor: pointer; color: rgb(36 47 53 / 67%); font: 400 10px/1.45 Manrope, sans-serif; }
.booking-consent input { margin: .1rem 0 0; accent-color: var(--ink); }
.booking-form__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-top: auto; padding-top: 2rem; }
.booking-form__footer p { max-width: 25ch; margin: 0; color: rgb(36 47 53 / 56%); font: 400 9px/1.5 'DM Mono', monospace; }
.booking-form__footer button,
.booking-success button { min-height: 46px; padding: .8rem 1.15rem; border: 1px solid var(--acid); background: var(--acid); color: var(--ink); cursor: pointer; font: 500 11px/1 Manrope, sans-serif; transition: background 200ms ease, border-color 200ms ease, color 200ms ease; }
.booking-form__footer button:hover,
.booking-success button:hover { border-color: var(--ink); background: var(--ink); color: var(--acid); }
.booking-form__footer button span { margin-left: 1rem; }
.booking-success { grid-column: 2; display: flex; min-height: 640px; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(3rem, 6vw, 5rem); }
.booking-success[hidden] { display: none; }
.booking-success > span { display: grid; width: 54px; height: 54px; margin-bottom: 2rem; place-items: center; border-radius: 50%; background: var(--acid); font: 600 20px/1 Manrope, sans-serif; }
.booking-success > p[data-booking-feedback] { max-width: 40ch; margin: 0 0 2rem; color: rgb(36 47 53 / 68%); font: 400 12px/1.65 Manrope, sans-serif; }

@media (max-width: 760px) {
  .booking-modal { width: min(100% - 20px, 620px); max-height: 94svh; }
  .booking-modal__panel { grid-template-columns: 1fr; max-height: 94svh; }
  .booking-modal__intro { min-height: 0; padding: 2rem 4.2rem 2rem 1.5rem; }
  .booking-modal__intro h2 { max-width: 12ch; margin: 1rem 0; font-size: 36px; }
  .booking-modal__intro dl { display: none; }
  .booking-form { padding: 2rem 1.5rem; }
  .booking-success { grid-column: 1; min-height: 420px; padding: 2.5rem 1.5rem; }
}

@media (max-width: 500px) {
  .booking-form__heading { display: grid; gap: .45rem; }
  .booking-form__grid { grid-template-columns: 1fr; }
  .booking-field--wide { grid-column: auto; }
  .booking-times > div { grid-template-columns: repeat(3, 1fr); }
  .booking-form__footer { align-items: stretch; flex-direction: column; }
  .booking-form__footer button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal::backdrop { backdrop-filter: none; }
  .booking-modal__close,
  .booking-field input,
  .booking-field select,
  .booking-times span,
  .booking-form__footer button,
  .booking-success button { transition: none; }
}
