:root {
  --bege: #f6f3e8;
  --cinza-claro: #c9c6be;
  --cinza-escuro: #605f5a;
  --verde-claro: #e7ede8;
  --verde-medio: #b9cabb;
  --verde-escuro: #7f8b83;
  --verde-profundo: #494f4a;
  --rosa-claro: #feefef;
  --rosa-medio: #fbd8d9;
  --rosa-intenso: #e49fa0;
  --rosa-escuro: #8a4547;
  --page-width: 1200px;
  --content-padding: clamp(1.5rem, 5vw, 5rem);
  --desktop-gutter: max(1.5rem, calc((100vw - var(--page-width)) / 2 + var(--content-padding)));
  --font-display: "Aptos Display", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Aptos", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bege);
  color: var(--verde-profundo);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.site-header { position: relative; background: var(--verde-claro); }

.navigation {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 7.25rem;
  padding: .9rem var(--content-padding);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: clamp(12rem, 17vw, 15.5rem);
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.4vw, 2.5rem);
}

.navigation a {
  color: var(--cinza-escuro);
  font-size: clamp(.64rem, .76vw, .76rem);
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.navigation a:hover { color: #e49fa0; }
.navigation a[aria-current="page"] { color: #e49fa0; }

.skip-link {
  position: absolute;
  z-index: 2;
  top: .5rem;
  left: .5rem;
  transform: translateY(-200%);
  padding: .5rem .75rem;
  background: var(--verde-profundo);
  color: #fff;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(15rem, .9fr) minmax(21rem, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  min-height: clamp(31rem, 54vw, 42rem);
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--content-padding);
}

.hero-photo {
  position: relative;
  width: min(100%, 25rem);
  justify-self: end;
  overflow: hidden;
  border-radius: 1.8rem 1.8rem 3.7rem 0;
  background: var(--cinza-claro);
  box-shadow: .55rem .55rem 0 var(--rosa-intenso);
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
}

.hero-content { max-width: 35rem; text-align: center; }

h1 {
  max-width: 31ch;
  margin: 0 auto;
  color: var(--verde-profundo);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.35vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.17;
}

.hero-content p {
  max-width: 28ch;
  margin: 1.5rem auto 1.85rem;
  color: var(--verde-escuro);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.3;
}

.consultation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 5rem;
  padding: .75rem 1.8rem .75rem 1rem;
  border-radius: 1rem;
  background: var(--verde-medio);
  color: var(--verde-profundo);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.consultation-button:hover { background: var(--verde-claro); transform: translateY(-2px); }
.consultation-button img { width: 3.25rem; height: 3.25rem; object-fit: contain; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 7.4rem;
  padding: 1.15rem var(--desktop-gutter);
  background: var(--verde-claro);
}

.footer-logo { width: min(18rem, 60vw); height: auto; }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: 50%; }
.social-links a:hover { background: rgb(255 255 255 / 20%); }
.social-links img { width: 100%; height: 100%; object-fit: contain; }

:focus-visible { outline: 3px solid var(--rosa-escuro); outline-offset: 4px; }

@media (max-width: 767px) {
  .site-shell { width: 100%; margin: 0; }
  .navigation { align-items: flex-start; flex-direction: column; gap: .85rem; min-height: auto; padding-block: 1.1rem 1.25rem; }
  .brand { width: 12.5rem; }
  .nav-links { flex-wrap: wrap; justify-content: flex-start; gap: .65rem 1.1rem; }
  .navigation a { font-size: .65rem; }
  .hero { grid-template-columns: 1fr; gap: 2.4rem; min-height: 0; padding-block: 2.6rem 3.4rem; }
  .hero-content { display: contents; }
  h1 { grid-row: 1; font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .hero-photo { grid-row: 2; justify-self: center; width: min(73vw, 17.5rem); border-radius: 1.5rem 1.5rem 3.1rem 0; box-shadow: .45rem .45rem 0 var(--rosa-intenso); }
  .hero-content p { grid-row: 3; margin: 0 auto; font-size: 1rem; }
  .consultation-button { grid-row: 4; justify-self: center; min-width: min(100%, 15rem); }
  .site-footer { flex-direction: column; justify-content: center; gap: .75rem; min-height: 9.5rem; padding-inline: var(--content-padding); text-align: center; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero { gap: 3.25rem; }
  .hero-photo { justify-self: center; }
  .brand { width: 11rem; }
  .nav-links { gap: 1.1rem; }
}

/* Sobre */
.section-wrap { width: min(100% - 3rem, 1040px); margin-inline: auto; }
.about-intro { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(4rem, 7vw, 6rem); text-align: center; }
.eyebrow { margin: 0 0 .7rem; color: var(--rosa-escuro); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.about-intro h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3.75rem); }
.intro-copy { max-width: 54rem; margin: 2.4rem auto 0; color: var(--cinza-escuro); font-size: clamp(.95rem, 1.25vw, 1.08rem); line-height: 1.65; }
.intro-copy p + p, .text-column p + p { margin-top: 1rem; }
.professional-profile { padding-bottom: clamp(4.5rem, 8vw, 7rem); }
.section-heading { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
h2 { margin: 0; color: var(--verde-profundo); font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.profile-card { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; max-width: 59rem; margin-inline: auto; overflow: hidden; border-radius: 2rem; background: var(--bege); }
.credentials { display: grid; gap: .9rem; margin: 0; padding: clamp(2rem, 4vw, 4rem); list-style: none; color: var(--verde-profundo); font-size: clamp(.86rem, 1.1vw, 1rem); font-weight: 750; line-height: 1.24; text-align: center; }
.profile-photo { height: 100%; min-height: 28rem; margin: 0; overflow: hidden; border-radius: 2rem 0 0 2rem; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.trajectory { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; padding: clamp(4rem, 8vw, 7rem) 0 1.5rem; border-top: 1px solid var(--verde-claro); }
.text-column { color: var(--cinza-escuro); font-size: .98rem; line-height: 1.68; }
.text-column h2 { margin-bottom: 1.4rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 1rem; }
.gallery-column { display: flex; flex-direction: column; align-items: center; gap: 1.9rem; }
.gallery-image { display: block; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 1rem; background: var(--cinza-claro); cursor: zoom-in; }
.gallery-image img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s ease; }
.gallery-image:hover img { transform: scale(1.045); }
.gallery-image:nth-child(2) img { object-position: 54% 42%; transform: scale(1.12) translate(-3%, -4%); }
.trajectory .lattes-button { margin: 3.5rem 0 0; }
.beyond-office { display: block; padding: 1.25rem 0 clamp(4rem, 7vw, 6rem); }
.beyond-office .text-column { max-width: 42rem; }
.lattes-button { display: inline-flex; align-items: center; gap: 1rem; min-width: 19rem; padding: .85rem 1.5rem; border-radius: 1rem; background: var(--verde-claro); color: var(--verde-profundo); font-size: 1.05rem; font-weight: 800; line-height: 1.35; text-align: center; text-decoration: none; text-transform: uppercase; }
.lattes-button:hover { background: var(--verde-medio); }
.lattes-button img { width: 3.25rem; height: 3.25rem; object-fit: contain; }
.lattes-button strong { text-decoration: none; }
.image-dialog { position: fixed; width: 96vw; max-width: none; max-height: 96vh; padding: 0; overflow: visible; border: 0; background: transparent; }
.image-dialog::backdrop { background: #fff; backdrop-filter: none; }
.image-dialog > img { display: block; max-width: 96vw; max-height: 92vh; margin: 0 auto; border-radius: 1rem; object-fit: contain; touch-action: none; will-change: transform; }
.dialog-close { position: absolute; z-index: 1; top: -1rem; right: -1rem; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--verde-profundo); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.image-tools { position: absolute; z-index: 2; top: -1rem; left: 50%; display: flex; overflow: hidden; border: 2px solid #fff; border-radius: 999px; background: var(--verde-profundo); transform: translateX(-50%); }
.image-tools button { min-width: 2.8rem; height: 2.75rem; border: 0; border-right: 1px solid rgb(255 255 255 / 30%); background: transparent; color: #fff; font: inherit; font-size: 1.15rem; font-weight: 800; cursor: pointer; }
.image-tools button:last-child { border-right: 0; }
.image-tools button:hover { background: rgb(255 255 255 / 16%); }

/* Cuidado farmacêutico */
.care-section { display: grid; place-items: center; gap: clamp(1.6rem, 3vw, 2.8rem); padding: clamp(3rem, 7vw, 7rem) 1.5rem; }
.care-section--intro { gap: clamp(.75rem, 1.4vw, 1.35rem); padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem); background: linear-gradient(180deg, #fff 0%, var(--rosa-claro) 100%); }
.care-section--soft { padding-top: clamp(1.5rem, 2.5vw, 2.5rem); padding-bottom: clamp(2.5rem, 4vw, 4rem); background: var(--bege); }
.care-section--benefits { padding-top: clamp(2.5rem, 4vw, 4rem); background: #fff; }
.care-section--outcomes { background: var(--rosa-claro); }
.care-section--discharge-section { background: #fff; }
.care-artwork { position: relative; width: min(100%, 70rem); overflow: hidden; border-radius: clamp(1rem, 2vw, 1.8rem); box-shadow: 0 1.2rem 3rem rgb(73 79 74 / 9%); }
.care-artwork--narrow { width: min(100%, 49rem); }
.care-artwork--outcomes { width: min(100%, 60rem); }
.care-artwork--discharge { width: min(100%, 50rem); }
.care-intro-composition { position: relative; width: min(100%, 82rem); padding: 0 clamp(1.5rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem); }
.care-intro-composition::before { position: absolute; z-index: 0; top: 15%; right: 0; bottom: 0; left: 0; background: var(--rosa-medio); content: ""; }
.care-section--intro .care-artwork { z-index: 1; width: 100%; height: auto; margin-inline: 0; overflow: visible; border-radius: 0; box-shadow: none; }
.care-section--intro .care-artwork img { width: 100%; max-width: none; margin-left: 0; object-position: center top; }
.care-section--intro .care-copy--center p { margin-top: 2.15rem; }
.care-section--benefits { gap: .85rem; padding-bottom: clamp(1.5rem, 3vw, 3rem); }
.care-section--benefits .care-artwork { width: min(100%, 78rem); aspect-ratio: 1459 / 620; border-radius: 0; box-shadow: none; }
.care-section--outcomes { padding-top: clamp(2.5rem, 4vw, 4rem); }
.care-copy { width: min(100%, 54rem); color: var(--cinza-escuro); }
.care-copy--center { text-align: center; }
.care-copy h1, .care-copy h2 { max-width: 24ch; margin-inline: auto; }
.care-copy h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.care-copy h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.care-copy p { max-width: 48rem; margin: 1.4rem auto 0; color: var(--verde-escuro); font-size: clamp(1.1rem, 1.55vw, 1.35rem); font-weight: 650; line-height: 1.55; }
.care-copy--problem { position: relative; z-index: 1; width: 100%; margin-top: 0; padding: clamp(1.8rem, 4vw, 3.5rem) 0 0; border-radius: 0; background: transparent; }
.care-copy--problem h2 { max-width: none; margin-inline: 0; }
.care-copy--problem h2 { font-size: clamp(1.55rem, 2.5vw, 2.35rem); }
.care-copy--problem p { max-width: 62rem; margin-inline: 0; color: var(--verde-profundo); font-weight: 500; }
.care-copy--bottom { max-width: 51rem; }
.care-copy--discharge { margin-top: clamp(1.5rem, 3vw, 3rem); }
.discharge-references { width: min(100%, 50rem); margin-top: .35rem; color: var(--verde-escuro); font-size: clamp(.55rem, .7vw, .68rem); font-weight: 500; line-height: 1.4; text-align: left; }
.discharge-references p { margin: 0 0 .45rem; }
.discharge-references p:first-child { font-weight: 800; }
.care-section--benefits .care-copy--bottom { position: absolute; top: 86%; right: 10%; bottom: auto; left: 10%; z-index: 1; width: auto; max-width: none; }
.care-section--benefits .care-copy--bottom p { margin-top: 0; }
.protected-media { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: zoom-in; }
.protected-media img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.care-consultation { margin-top: .3rem; }

/* Outros */
.other-section { padding: clamp(4rem, 8vw, 7rem) 1.5rem; }
.other-copy { width: min(100%, 58rem); color: var(--cinza-escuro); }
.other-copy--center { margin-inline: auto; text-align: center; }
.other-copy h1, .other-copy h2 { max-width: 25ch; margin-inline: auto; }
.other-copy h1 { font-size: clamp(2.15rem, 4vw, 3.7rem); }
.other-copy h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.other-copy p { margin: 1.6rem auto 0; color: var(--verde-escuro); font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 650; line-height: 1.6; }
.other-copy--indication { margin-top: clamp(3.5rem, 7vw, 6.5rem); }
.resource-frame { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.45rem 1.7rem; width: min(100%, 63rem); margin: clamp(2rem, 4vw, 3.2rem) auto 0; padding: 1.45rem 2rem; border: 1px solid var(--verde-claro); background: var(--verde-claro); box-shadow: .9rem .9rem 0 var(--verde-escuro); color: var(--verde-escuro); font-size: clamp(.95rem, 1.25vw, 1.16rem); font-weight: 750; letter-spacing: .025em; }
.resource-frame i { color: var(--rosa-intenso); font-size: 1.25rem; font-style: normal; }
.resource-frame--image { display: block; padding: 0; border: 0; background: transparent; box-shadow: none; }
.other-guidance { background: var(--bege); }
.other-artwork { width: min(100%, 62rem); margin: clamp(2.5rem, 5vw, 4.5rem) auto 0; overflow: hidden; border-radius: 1.4rem; box-shadow: 0 1rem 2.8rem rgb(73 79 74 / 9%); }
.other-artwork img { display: block; width: 100%; height: auto; pointer-events: none; }
.other-benefits { background: var(--verde-claro); }
.other-artwork--timeline { width: min(100%, 42rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.other-conclusion { padding-block: clamp(4rem, 7vw, 6rem); }

/* Contato */
.contact-hero { width: min(100%, var(--page-width)); height: clamp(14rem, 23vw, 20rem); margin: 0 auto; overflow: hidden; }
.contact-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.contact-section { width: min(100%, var(--page-width)); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--content-padding) clamp(5rem, 9vw, 8rem); background: #fff; text-align: center; }
.contact-section h1 { max-width: none; font-size: clamp(1.5rem, 2.5vw, 2.15rem); letter-spacing: -.035em; text-transform: uppercase; }
.contact-layout { display: grid; grid-template-columns: minmax(25rem, 1.08fr) minmax(22rem, .92fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 72rem; margin: clamp(2rem, 5vw, 3.6rem) auto 0; text-align: left; }
.contact-artwork { display: block; width: 100%; padding-right: clamp(1.5rem, 3vw, 2.8rem); border-right: 2px solid var(--verde-profundo); }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding-right: clamp(1.5rem, 3vw, 2.8rem); border-right: 2px solid var(--verde-profundo); }
.contact-card { display: grid; min-height: 10rem; padding: 1rem .7rem; place-items: center; border-radius: .9rem; color: var(--cinza-escuro); text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 .75rem 1.4rem rgb(73 79 74 / 12%); }
.contact-card--green { background: var(--verde-claro); }
.contact-card--pink { background: var(--rosa-claro); }
.contact-card img, .contact-icon { width: 3.4rem; height: 3.4rem; object-fit: contain; filter: grayscale(1) brightness(.6); }
.contact-icon { display: grid; place-items: center; color: var(--cinza-escuro); font-size: 3.65rem; line-height: 1; }
.contact-card strong { font-size: .9rem; letter-spacing: .21em; text-transform: none; }
.contact-card span:last-child { color: var(--verde-escuro); font-size: .68rem; letter-spacing: .15em; line-height: 1.25; }
.contact-map { overflow: hidden; aspect-ratio: 4 / 3; background: #dcebfa; }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-cta { margin-top: clamp(3rem, 6vw, 5rem); }

@media (max-width: 767px) {
  .section-wrap { width: min(100% - 2.5rem, 34rem); }
  .about-intro { padding-block: 3.8rem 3.5rem; }
  .intro-copy { margin-top: 1.8rem; font-size: .95rem; text-align: left; }
  .profile-card, .trajectory, .beyond-office { grid-template-columns: 1fr; }
  .profile-card { border-radius: 1.5rem; }
  .profile-photo { min-height: 23rem; order: -1; border-radius: 1.5rem 1.5rem 0 0; }
  .credentials { padding: 2rem 1.5rem 2.3rem; }
  .trajectory { gap: 2rem; padding: 3.5rem 0 1.5rem; }
  .beyond-office { gap: 2rem; padding: 2rem 0 3.5rem; }
  .photo-grid { gap: .65rem; }
  .gallery-image { border-radius: .7rem; }
  .trajectory .lattes-button { width: min(100%, 20rem); margin-top: 2rem; min-width: 0; }
  .care-section { padding-inline: 1rem; }
  .care-section--intro { padding-top: 3.5rem; }
  .care-intro-composition { padding-inline: 1.25rem; }
  .care-copy--problem { padding-inline: 0; }
  .care-section--intro .care-artwork { width: calc(100% + 2rem); margin-inline: -1rem; }
  .care-section--intro .care-artwork img { width: 115%; margin-left: -7.5%; }
  .care-copy--problem { margin-top: .25rem; padding-top: 1rem; }
  .care-section--benefits .care-artwork { aspect-ratio: auto; overflow: visible; }
  .care-section--benefits .care-copy--bottom { position: static; width: auto; margin-top: 1.25rem; }
  .care-section--discharge-section { padding-top: .8rem; }
  .other-section { padding-inline: 1.25rem; }
  .resource-frame { gap: 1rem 1.25rem; padding: 1.3rem; box-shadow: .5rem .5rem 0 var(--verde-escuro); }
  .resource-frame--image { width: 100%; padding: 0; border: 0; box-shadow: none; }
  .other-artwork--timeline { overflow: visible; border-radius: 0; box-shadow: none; }
  .other-artwork--timeline img { width: 100%; max-width: none; margin-left: 0; }
  .other-guidance .other-artwork { overflow: visible; border-radius: 0; box-shadow: none; }
  .other-guidance .other-artwork img { width: 108%; max-width: none; margin-left: -4%; }
  .contact-hero { height: 13rem; }
  .contact-section { padding-inline: 1.25rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-artwork { padding: 0; border-right: 0; }
  .contact-cards { padding: 0; border-right: 0; }
  .contact-card { min-height: 9rem; }
  .contact-map { width: 100%; }
}

@media (min-width: 768px) {
  .care-section--discharge-section { padding-top: 2rem; }
  .care-copy--discharge { margin-top: 0; }
}
