:root {
  --paper: #f7f3ef;
  --paper-deep: #efe9e2;
  --surface: #fffdfb;
  --ink: #263330;
  --ink-soft: #596762;
  --ink-faint: #8b958f;
  --rose: #bd928a;
  --rose-deep: #9f706a;
  --sage: #9da58e;
  --sage-deep: #72806f;
  --sage-light: #e5ebe3;
  --line: rgba(38, 51, 48, 0.14);
  --line-light: rgba(255, 255, 255, 0.17);
  --shadow: 0 24px 70px rgba(54, 55, 48, 0.08);
  --shadow-small: 0 10px 28px rgba(54, 55, 48, 0.06);
  --heading: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1180px;
  --header-height: 84px;
  --section-space: clamp(64px, 8vw, 108px);
  --section-space-compact: clamp(42px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
iframe:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

.container {
  width: min(var(--max-width), calc(100% - 72px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topline {
  min-height: 34px;
  background: var(--ink);
  color: rgba(255, 253, 251, .72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.topline-inner {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 34px;
}

.topline-dot {
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background: var(--rose);
}

.topline-spacer {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  background: rgba(247, 243, 239, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 30px;
}

.brand {
  width: 168px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--rose-deep);
  transition: right .25s ease;
}

.main-nav a:not(.nav-cta):hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a.is-active::after {
  right: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  color: var(--surface) !important;
  background: var(--ink);
  border-radius: 100px;
  transition: transform .2s ease, background .2s ease;
}

.nav-cta:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px 0 10px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform .2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 118px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(38, 51, 48, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 51, 48, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .6;
  pointer-events: none;
}

.hero-orb-left {
  width: 420px;
  height: 420px;
  left: -210px;
  top: 14%;
  background: rgba(189, 146, 138, .13);
}

.hero-orb-right {
  width: 360px;
  height: 360px;
  right: -145px;
  bottom: -90px;
  background: rgba(157, 165, 142, .17);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  padding: 78px 0 100px;
}

.eyebrow {
  margin: 0;
  color: var(--rose-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 18px 0 25px;
  font-family: var(--heading);
  font-size: clamp(44px, 5.3vw, 78px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .99;
}

.hero-lead {
  max-width: 555px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-small);
}

.button-primary {
  color: var(--surface);
  background: var(--ink);
}

.button-primary:hover {
  background: var(--sage-deep);
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .2);
}

.button-quiet:hover {
  background: var(--surface);
}

.button-outline {
  color: var(--ink);
  border-color: rgba(38, 51, 48, .26);
  background: transparent;
}

.button-outline:hover {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.button-doctoralia {
  color: var(--rose-deep);
  border-color: rgba(159, 112, 106, .4);
  background: rgba(189, 146, 138, .08);
}

.button-doctoralia:hover {
  color: var(--surface);
  border-color: var(--rose-deep);
  background: var(--rose-deep);
}

.button-light {
  color: var(--ink);
  background: var(--surface);
}

.button-light:hover {
  background: var(--rose);
  color: var(--surface);
}

.credentials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 45px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.credentials span:first-child {
  color: var(--ink);
}

.credentials-divider {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 100%;
  background: var(--rose);
}

.hero-visual {
  position: relative;
  max-width: 390px;
  justify-self: end;
  width: 100%;
  padding: 35px 34px 30px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 75%;
  height: 84%;
  border: 1px solid rgba(189, 146, 138, .5);
  border-radius: 200px 200px 10px 10px;
}

.visual-mark {
  position: absolute;
  top: -34px;
  right: -20px;
  z-index: 2;
  width: 116px;
  height: 116px;
  padding: 18px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(54, 55, 48, .06);
}

.visual-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(38, 51, 48, .15);
  background: linear-gradient(155deg, rgba(189, 146, 138, .2), rgba(157, 165, 142, .25) 52%, rgba(255, 253, 251, .65));
  isolation: isolate;
}

.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 68% 24%, rgba(255, 255, 255, .72) 0 9%, transparent 9.5%), radial-gradient(ellipse at 55% 44%, rgba(255, 255, 255, .38) 0 20%, transparent 20.5%), linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .25) 30.5% 31%, transparent 31.5% 61%, rgba(255, 255, 255, .18) 61.5% 62%, transparent 62.5%);
  opacity: .9;
}

.photo-placeholder::after {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 150px 150px 6px 6px;
}

.photo-hero {
  min-height: 570px;
  border-radius: 230px 230px 8px 8px;
  padding: 31px;
  box-shadow: var(--shadow);
  transition: transform .4s ease;
}

.photo-hero:hover,
.photo-tall:hover {
  transform: translateY(-5px);
}

.photo-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(38, 51, 48, .15);
  background: var(--paper-deep);
  isolation: isolate;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
}

.photo-frame:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.photo-frame figcaption {
  position: absolute;
  right: 20px;
  bottom: 17px;
  left: 20px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 253, 251, .86);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .25);
}

.photo-frame figcaption::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -17px;
  left: -20px;
  z-index: -1;
  height: 90px;
  background: linear-gradient(transparent, rgba(38, 51, 48, .42));
}

.photo-hero {
  padding: 0;
}

.photo-hero img {
  object-position: 34% center;
}

.photo-tall {
  padding: 0;
}

.photo-tall img {
  object-position: center 28%;
}

.placeholder-kicker {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.placeholder-title {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 23px;
  line-height: 1.1;
}

.placeholder-note {
  max-width: 210px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.placeholder-note code {
  font-size: 9px;
}

.placeholder-corner {
  position: absolute;
  top: 27px;
  right: 27px;
  color: var(--rose-deep);
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 600;
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  padding: 14px 2px 0;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 25px;
  background: var(--rose);
}

.intro-strip {
  background: var(--ink);
  color: var(--surface);
}

.intro-strip-grid {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 70px;
  align-items: center;
  padding: 0;
}

.intro-statement {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(20px, 2.3vw, 31px);
  letter-spacing: -.02em;
  line-height: 1.18;
}

.intro-statement em {
  color: var(--rose);
  font-style: normal;
}

.intro-detail {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line-light);
  color: rgba(255, 253, 251, .66);
  font-size: 12px;
  line-height: 1.65;
}

.section {
  padding: var(--section-space) 0;
}

/* Espaçamento vertical controlado por seção. */
.section-inicio {
  padding: 0;
}

.section-apresentacao {
  padding-block: clamp(26px, 3vw, 38px);
}

.section-sobre,
.section-atendimento,
.section-servicos,
.section-consultorio {
  padding-block: var(--section-space);
}

.section-formacao-e-trajetoria {
  padding-top: var(--section-space);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.section-contexto {
  padding-block: clamp(72px, 9vw, 124px);
}

.section-pesquisa {
  padding-top: clamp(22px, 3vw, 38px);
  padding-bottom: var(--section-space-compact);
}

.section-contato {
  padding-block: var(--section-space-compact);
}

.about-section {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(290px, .78fr) minmax(0, 1.08fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
}

.about-image-column {
  max-width: 405px;
}

.photo-tall {
  min-height: 590px;
  border-radius: 5px 190px 5px 5px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .4s ease;
}

.logo-side-note {
  display: flex;
  align-items: center;
  margin-top: 17px;
}

.logo-side-note img {
  width: min(185px, 54%);
  height: auto;
  object-fit: contain;
}

.about-copy {
  max-width: 680px;
}

.about-copy h2,
.section-heading h2,
.context-copy h2,
.contact-copy h2 {
  margin: 16px 0 27px;
  font-family: var(--heading);
  font-size: clamp(36px, 4.4vw, 61px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.copy-flow {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 15px;
}

.copy-flow p {
  margin: 0 0 17px;
}

.credential-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 34px;
}

.credential-cards div {
  padding: 16px 17px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.credential-cards span {
  display: block;
  color: var(--rose-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.credential-cards strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 600;
}

.care-section {
  background: var(--paper);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 52px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
  max-width: none;
}

.section-heading-split>p {
  margin: 0 0 3px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.section-heading h2 {
  margin-bottom: 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.topic-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 21px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, .42);
  transition: background .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.topic-card:hover {
  background: var(--surface);
  border-color: rgba(189, 146, 138, .6);
  box-shadow: var(--shadow-small);
  transform: translateY(-4px);
}

.topic-number,
.service-index {
  color: var(--rose-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.topic-card h3 {
  max-width: 185px;
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.section-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 560px;
  margin: 27px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.6;
}

.section-note span {
  color: var(--rose-deep);
  font-size: 15px;
  line-height: 1.1;
}

.services-section {
  background: var(--surface);
}

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

.service-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 28px 29px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -80px;
  bottom: -80px;
  border: 1px solid rgba(189, 146, 138, .35);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card-featured {
  color: var(--surface);
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

.service-card-featured .service-index,
.service-card-featured .service-icon {
  color: rgba(255, 253, 251, .7);
}

.service-icon {
  margin: 48px 0 23px;
  color: var(--rose-deep);
  font-family: var(--heading);
  font-size: 36px;
  line-height: 1;
}

.service-card h3 {
  max-width: 300px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.service-card p {
  max-width: 310px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.service-card-featured p {
  color: rgba(255, 253, 251, .72);
}

.context-section {
  color: var(--surface);
  background: var(--sage-deep);
  overflow: hidden;
}

.context-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(360px, .92fr);
  gap: clamp(60px, 9vw, 145px);
  align-items: center;
}

.context-copy {
  max-width: 560px;
}

.context-copy .eyebrow {
  color: rgba(255, 253, 251, .65);
}

.context-copy h2 {
  margin-bottom: 28px;
}

.context-copy p {
  max-width: 510px;
  margin: 0 0 17px;
  color: rgba(255, 253, 251, .76);
  font-size: 14px;
  line-height: 1.85;
}

.editorial-placeholder {
  position: relative;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 251, .28);
  background: linear-gradient(135deg, rgba(189, 146, 138, .55), rgba(157, 165, 142, .26) 62%, rgba(38, 51, 48, .18));
}

.editorial-placeholder::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 253, 251, .32);
  border-radius: 50% 50% 5px 5px;
}

.editorial-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 32%, rgba(255, 253, 251, .1) 32.5% 33%, transparent 33.5% 56%, rgba(255, 253, 251, .12) 56.5% 57%, transparent 57.5%);
}

.editorial-placeholder .placeholder-kicker,
.editorial-placeholder .placeholder-title,
.editorial-placeholder .placeholder-note {
  position: relative;
  z-index: 1;
  color: var(--surface);
}

.editorial-placeholder .placeholder-note {
  color: rgba(255, 253, 251, .68);
}

.editorial-line {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(255, 253, 251, .44);
  border-radius: 50%;
}

.editorial-line-one {
  width: 115px;
  height: 115px;
  top: 80px;
  left: 95px;
}

.editorial-line-two {
  width: 60px;
  height: 60px;
  top: 170px;
  right: 95px;
}

.trajectory-section {
  background: var(--paper-deep);
}

.research-section {
  background: var(--paper-deep);
}

.section-heading-centered {
  max-width: none;
  text-align: center;
}

.section-heading-centered h2 {
  max-width: none;
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr);
  gap: clamp(55px, 9vw, 135px);
  align-items: start;
}

.timeline-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 5px 0;
}

.timeline-track {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 24px;
  width: 1px;
  background: rgba(114, 128, 111, .34);
}

.timeline-track span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--rose-deep);
  transition: height .5s ease;
}

.timeline-tab {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 20px;
  gap: 15px;
  align-items: center;
  min-height: 76px;
  padding: 10px 15px 10px 0;
  border: 0;
  color: var(--ink-faint);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.timeline-marker {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(114, 128, 111, .34);
  border-radius: 50%;
  color: var(--ink-faint);
  background: var(--paper-deep);
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 600;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.timeline-tab-copy {
  min-width: 0;
}

.timeline-tab-copy small {
  display: block;
  margin-bottom: 3px;
  color: var(--rose-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.timeline-tab-copy strong {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color .25s ease;
}

.timeline-arrow {
  color: var(--ink-faint);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .25s ease, transform .25s ease, color .25s ease;
}

.timeline-tab:hover .timeline-marker,
.timeline-tab.is-active .timeline-marker {
  color: var(--surface);
  border-color: var(--rose-deep);
  background: var(--rose-deep);
  transform: scale(1.07);
}

.timeline-tab:hover .timeline-tab-copy strong,
.timeline-tab.is-active .timeline-tab-copy strong {
  color: var(--ink);
}

.timeline-tab:hover .timeline-arrow,
.timeline-tab.is-active .timeline-arrow {
  color: var(--rose-deep);
  opacity: 1;
  transform: translateX(0);
}

.timeline-panels {
  min-height: 300px;
  padding-top: 4px;
}

.timeline-panel {
  max-width: none;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: 36px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose);
  background: rgba(255, 253, 251, .62);
  box-shadow: var(--shadow-small);
  animation: panel-in .45s ease both;
}

.timeline-panel[hidden] {
  display: none;
}

.panel-label {
  display: block;
  color: var(--rose-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.timeline-panel h3 {
  max-width: 470px;
  margin: 9px 0 8px;
  font-family: var(--heading);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.timeline-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.research-note {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 90px;
  padding: clamp(18px, 3vw, 28px) 0 0;
  border-top: 1px solid var(--line);
}

.research-section .research-note {
  margin-top: 0;
}

.research-note h3 {
  margin: 11px 0 0;
  font-family: var(--heading);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -.035em;
}

.research-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid rgba(38, 51, 48, .28);
  transition: color .2s ease, border-color .2s ease;
}

.research-link:hover {
  color: var(--rose-deep);
  border-color: var(--rose-deep);
}

.research-note>p {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.clinic-section {
  background: var(--surface);
}

.clinic-heading {
  margin-bottom: clamp(34px, 4vw, 52px);
}

.clinic-heading h2 {
  margin: 16px 0 22px;
  font-family: var(--heading);
  font-size: clamp(36px, 4.4vw, 61px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.clinic-description {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.clinic-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(430px, 1.18fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: stretch;
}

.clinic-details {
  display: flex;
  flex-direction: column;
}

.detail-block {
  padding: 0 0 26px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.detail-label,
.footer-label {
  display: block;
  margin-bottom: 9px;
  color: var(--rose-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

address,
.detail-block p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-style: normal;
  line-height: 1.75;
}

.clinic-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.clinic-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 28px;
}

.clinic-gallery figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.clinic-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(38, 51, 48, .14);
  pointer-events: none;
}

.clinic-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.clinic-gallery figure:hover img {
  transform: scale(1.035);
}

.clinic-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctoralia-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-top: 22px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid rgba(38, 51, 48, .28);
  transition: color .2s ease, border-color .2s ease;
}

.doctoralia-link:hover {
  color: var(--rose-deep);
  border-color: var(--rose-deep);
}

.map-card {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  filter: grayscale(.82) sepia(.12) saturate(.74);
}

.map-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  color: var(--ink);
  background: rgba(255, 253, 251, .92);
  box-shadow: var(--shadow-small);
  font-size: 11px;
  line-height: 1.45;
}

.map-label small {
  color: var(--ink-faint);
  font-size: 10px;
}

.map-pin {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--rose-deep);
  font-size: 18px;
  line-height: 1;
}

.contact-section {
  background: var(--ink);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: clamp(44px, 6vw, 75px);
  color: var(--surface);
  background: var(--ink);
}

.eyebrow-light {
  color: rgba(255, 253, 251, .58);
}

.contact-copy h2 {
  margin-bottom: 20px;
}

.contact-copy>p:last-child {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 253, 251, .7);
  font-size: 14px;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-number {
  margin-top: 16px;
  color: rgba(255, 253, 251, .78);
  font-size: 12px;
  letter-spacing: .08em;
}

.emergency-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 370px;
  margin: 25px 0 0;
  color: rgba(255, 253, 251, .49);
  font-size: 10px;
  line-height: 1.55;
}

.emergency-note span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 253, 251, .4);
  border-radius: 50%;
  font-size: 9px;
}

.site-footer {
  color: var(--ink-soft);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.35fr .8fr;
  gap: 35px;
  padding: 56px 0 48px;
}

.footer-brand {
  max-width: 190px;
}

.footer-brand img {
  width: 155px;
  height: auto;
}

.footer-brand p {
  margin: 13px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
}

.footer-column p,
.footer-column a {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.footer-column a {
  display: block;
  transition: color .2s ease;
}

.footer-column a+a {
  margin-top: 7px;
}

.footer-column a:hover {
  color: var(--rose-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 25px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.5;
}

.footer-bottom p {
  max-width: 530px;
  margin: 0;
}

.footer-bottom>div {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.text-button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(38, 51, 48, .25);
  color: var(--ink-soft);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.text-button:hover {
  color: var(--rose-deep);
  border-color: var(--rose-deep);
}

/* Preserve the original proportions of supplied photos. */
.photo-hero {
  aspect-ratio: 336 / 763;
  min-height: 0;
}

.photo-hero img {
  object-position: center top;
}

.photo-tall {
  min-height: 0;
}

.photo-tall img {
  object-position: center center;
}

.clinic-gallery figure {
  min-height: 0;
}

.clinic-gallery>figure {
  aspect-ratio: 720 / 1280;
}

.clinic-gallery-stack figure:first-child {
  aspect-ratio: 1280 / 960;
}

.clinic-gallery-stack figure:last-child {
  aspect-ratio: 1 / 1.01;
}

.clinic-gallery-stack figure:last-child img {
  object-position: center bottom;
}

.clinic-gallery img {
  height: 100%;
  object-fit: cover;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  z-index: 15;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(38, 51, 48, .18);
  transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}

.floating-whatsapp {
  right: 22px;
  bottom: 22px;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--sage-deep);
  font-size: 24px;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
}

.back-to-top {
  right: 22px;
  bottom: 80px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-size: 17px;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 51, 48, .56);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(550px, 100%);
  padding: 40px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .18);
  transform: translateY(14px);
  transition: transform .3s ease;
}

.modal.is-open .modal-content {
  transform: translateY(0);
}

.modal-content h2 {
  margin: 14px 0 21px;
  font-family: var(--heading);
  font-size: 39px;
  letter-spacing: -.05em;
  line-height: 1;
}

.modal-content p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .18s;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .container {
    width: min(var(--max-width), calc(100% - 48px));
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .hero-grid {
    gap: 45px;
  }

  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-tab strong {
    font-size: 10px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .topline {
    font-size: 9px;
  }

  .topline-inner {
    gap: 8px;
  }

  .topline-inner>span:last-child {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 243, 239, .98);
    box-shadow: 0 18px 35px rgba(38, 51, 48, .08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav .nav-cta {
    justify-content: center;
    margin-top: 14px;
    border: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 75px 0 96px;
  }

  .hero-copy h1 {
    max-width: 600px;
    font-size: clamp(44px, 11vw, 66px);
  }

  .hero-visual {
    justify-self: center;
    max-width: 360px;
    padding-top: 30px;
  }

  .photo-hero {
    min-height: 490px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-strip-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-detail {
    padding: 0;
    border: 0;
  }

  .about-grid,
  .context-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-image-column {
    max-width: 430px;
  }

  .about-copy {
    max-width: 700px;
  }

  .section-heading-split,
  .research-note {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .service-card {
    min-height: 290px;
  }

  .service-icon {
    margin-top: 36px;
  }

  .editorial-placeholder {
    min-height: 400px;
    max-width: 550px;
  }

  .timeline {
    overflow: hidden;
  }

  .timeline-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .timeline-nav {
    gap: 3px;
    padding: 0;
    overflow: visible;
  }

  .timeline-track {
    top: 24px;
    bottom: 24px;
    left: 24px;
  }

  .timeline-tab {
    flex: none;
    min-height: 70px;
  }

  .timeline-panels {
    min-height: 245px;
  }

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

  .clinic-details {
    max-width: 550px;
  }

  .map-card,
  .map-card iframe {
    min-height: 430px;
  }

  .map-card {
    height: 430px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 520px) {
  .container {
    width: min(var(--max-width), calc(100% - 36px));
  }

  .topline-inner>span:first-child {
    color: var(--surface);
  }

  .brand {
    width: 145px;
  }

  .hero-grid {
    padding-top: 58px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 12.5vw, 58px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .credentials {
    gap: 6px;
    margin-top: 30px;
    font-size: 8px;
    letter-spacing: .045em;
  }

  .credentials-divider {
    width: 2px;
    height: 2px;
  }

  .hero-visual {
    width: calc(100% - 8px);
    padding: 25px 20px 25px;
  }

  .visual-mark {
    top: -27px;
    right: -4px;
    width: 86px;
    height: 86px;
    padding: 14px;
  }

  .photo-hero {
    min-height: 400px;
    border-radius: 180px 180px 6px 6px;
    padding: 0;
  }

  .placeholder-title {
    font-size: 19px;
  }

  .section {
    padding: clamp(58px, 12vw, 78px) 0;
  }

  .section-formacao-e-trajetoria {
    padding-bottom: 28px;
  }

  .about-copy h2,
  .section-heading h2,
  .clinic-heading h2,
  .context-copy h2,
  .contact-copy h2 {
    font-size: 39px;
  }

  .photo-tall {
    min-height: 450px;
    padding: 0;
  }

  .credential-cards {
    gap: 5px;
  }

  .credential-cards div {
    padding: 12px 10px;
  }

  .credential-cards strong {
    font-size: 14px;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .topic-card {
    min-height: 140px;
    padding: 16px 14px;
  }

  .topic-card h3 {
    font-size: 13px;
  }

  .service-card {
    min-height: 310px;
    padding: 22px;
  }

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

  .editorial-placeholder {
    min-height: 340px;
  }

  .timeline-nav {
    margin-right: 0;
    padding-right: 0;
  }

  .timeline-tab {
    flex-basis: auto;
  }

  .timeline-panel {
    min-height: 245px;
    padding: 24px 20px;
  }

  .timeline-panel h3 {
    font-size: 22px;
  }

  .research-note {
    margin-top: 60px;
  }

  .clinic-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .clinic-actions .button {
    width: 100%;
  }

  .map-card,
  .map-card iframe {
    min-height: 350px;
  }

  .map-card {
    height: 350px;
  }

  .map-label {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .clinic-gallery {
    grid-template-columns: 1fr;
  }

  .clinic-gallery-stack figure:last-child {
    aspect-ratio: 960 / 1280;
  }

  .contact-card {
    padding: 35px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 90px;
  }

  .footer-bottom>div {
    flex-wrap: wrap;
    gap: 10px;
    white-space: normal;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .back-to-top {
    right: 16px;
    bottom: 73px;
  }

  .modal-content {
    padding: 34px 24px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
