:root {
  --ink: #2f201c;
  --coffee: #4a2c25;
  --coffee-2: #5c3930;
  --clay: #bd765d;
  --clay-soft: #d9a48f;
  --clay-text: #9a5641;
  --cream: #f5f0e9;
  --cream-2: #ebe2d7;
  --paper: #fbf8f3;
  --sage: #9b9b86;
  --line: rgba(74, 44, 37, 0.17);
  --shadow: 0 24px 70px rgba(64, 38, 29, 0.13);
  --font-display: "Italiana", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--coffee);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(251, 248, 243, 0.9);
  box-shadow: 0 8px 30px rgba(74, 44, 37, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  transition: min-height 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid var(--coffee);
  border-radius: 50%;
  color: var(--coffee);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -2px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
}

.brand-copy small {
  margin-top: 5px;
  color: rgba(47, 32, 28, 0.62);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 14px;
  font-weight: 500;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--clay);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.primary-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 19px;
  border: 1px solid var(--coffee);
  border-radius: 100px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  color: var(--paper);
  background: var(--coffee);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: none;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--coffee);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  padding: 148px 0 60px;
  background:
    radial-gradient(circle at 4% 70%, rgba(189, 118, 93, 0.1), transparent 22%),
    linear-gradient(110deg, #fbf8f3 0%, #fbf8f3 52%, #f0e8de 52%, #f0e8de 100%);
}

.hero::before {
  position: absolute;
  top: 125px;
  right: -170px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(189, 118, 93, 0.17);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  min-height: 580px;
  align-items: center;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 68px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 35px 0 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--clay-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 33px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--clay-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 590px;
  margin-bottom: 27px;
  font-family: var(--font-display);
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--clay);
  font-weight: 400;
}

.hero-lead {
  max-width: 500px;
  margin-bottom: 35px;
  color: rgba(47, 32, 28, 0.8);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: #fff;
  background: var(--coffee);
  box-shadow: 0 13px 25px rgba(74, 44, 37, 0.18);
}

.button-dark:hover {
  background: var(--coffee-2);
  box-shadow: 0 17px 33px rgba(74, 44, 37, 0.23);
}

.button-outline {
  border-color: rgba(74, 44, 37, 0.35);
}

.button-outline:hover {
  color: var(--paper);
  background: var(--coffee);
}

.button-light {
  color: var(--coffee);
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(74, 44, 37, 0.25);
  font-size: 13px;
  font-weight: 600;
  line-height: 2.1;
}

.text-link span {
  color: var(--clay);
  font-size: 17px;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 40px;
}

.hero-signature img {
  width: 46px;
  height: 46px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 8px 17px rgba(74, 44, 37, 0.14);
  object-fit: cover;
}

.hero-signature div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-signature strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.hero-signature span {
  color: rgba(47, 32, 28, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.hero-visual {
  position: relative;
  align-self: stretch;
}

.hero-image-wrap {
  position: absolute;
  inset: 0 35px 0 0;
  overflow: hidden;
  border-radius: 230px 230px 22px 22px;
  box-shadow: var(--shadow);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(56, 33, 24, 0.15), transparent 36%);
  content: "";
  pointer-events: none;
}

.hero-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.hero-image-wrap:hover > img {
  transform: scale(1.025);
}

.image-note {
  position: absolute;
  z-index: 2;
  right: 21px;
  bottom: 23px;
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 11px;
  background: rgba(251, 248, 243, 0.88);
  box-shadow: 0 15px 35px rgba(56, 33, 24, 0.15);
  backdrop-filter: blur(13px);
}

.note-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--clay);
  background: rgba(189, 118, 93, 0.1);
}

.note-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.image-note > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.image-note small {
  color: rgba(47, 32, 28, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-note strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.vertical-caption {
  position: absolute;
  z-index: 4;
  top: 120px;
  right: -7px;
  margin: 0;
  color: rgba(74, 44, 37, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right top;
}

.hero-line {
  position: absolute;
  right: calc(50% + 476px);
  bottom: 60px;
  width: 180px;
  height: 1px;
  background: var(--line);
}

.section {
  padding: 130px 0;
}

.section-number {
  color: rgba(47, 32, 28, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-number span {
  margin-right: 10px;
  color: var(--clay);
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.36fr 1.1fr 0.8fr;
  gap: 55px;
}

.intro-title .eyebrow {
  margin-bottom: 24px;
}

.intro-title h2,
.section-heading h2,
.experience-content h2,
.doctor-copy h2,
.doctor-heading h2,
.faq-heading h2,
.final-cta h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 65px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.intro-copy {
  padding-top: 51px;
}

.intro-copy p {
  margin-bottom: 18px;
  color: rgba(47, 32, 28, 0.8);
  font-size: 16px;
  line-height: 1.8;
}

.intro-copy .text-link {
  margin-top: 10px;
}

.care {
  color: #fff;
  background: var(--coffee);
}

.care .section-number {
  margin-bottom: 55px;
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 100px;
}

.section-heading h2 {
  max-width: 690px;
}

.section-heading > p {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.8;
}

.care-grid {
  display: grid;
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  grid-template-columns: repeat(2, 1fr);
}

.care-card {
  position: relative;
  min-height: 480px;
  padding: 42px 39px 35px;
  transition: background 0.35s ease;
}

.care-card + .care-card {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.care-card:hover {
  background: rgba(255, 255, 255, 0.045);
}

.care-index {
  position: absolute;
  top: 25px;
  right: 27px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.care-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 46px;
  place-items: center;
  border: 1px solid rgba(217, 164, 143, 0.35);
  border-radius: 50%;
  color: var(--clay-soft);
}

.care-icon svg {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.care-card h3 {
  margin-bottom: 17px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.care-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.8;
}

.care-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 52px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.55;
  list-style: none;
}

.care-list li {
  position: relative;
  padding-left: 17px;
}

.care-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay-soft);
  content: "";
}

.care-card a {
  position: absolute;
  bottom: 35px;
  display: inline-flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.83);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 2;
  text-transform: uppercase;
}

.care-card a span {
  color: var(--clay-soft);
}

.care-disclaimer {
  margin: 19px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.07em;
}

.experience {
  background: #efe7dd;
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 95px;
}

.experience-aside {
  display: flex;
  min-height: 570px;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 55px;
  border-right: 1px solid var(--line);
}

.experience-aside blockquote {
  margin: 0;
  color: rgba(74, 44, 37, 0.75);
  font-family: var(--font-serif);
  font-size: 27px;
  font-style: italic;
  line-height: 1.35;
  font-weight: 500;
}

.experience-content h2 {
  max-width: 690px;
}

.steps {
  margin: 66px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 62px 1fr;
}

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

.steps > li > span {
  padding-top: 4px;
  color: var(--clay-text);
  font-size: 11px;
  font-weight: 600;
}

.steps h3 {
  margin-bottom: 7px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: rgba(47, 32, 28, 0.78);
  font-size: 14px;
}

.doctor {
  overflow: hidden;
  background: var(--paper);
}

.doctor-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 105px;
}

.doctor-portrait {
  position: relative;
  min-height: 550px;
}

.doctor-portrait::before {
  position: absolute;
  top: 28px;
  right: -30px;
  width: 84%;
  height: 88%;
  border: 1px solid rgba(189, 118, 93, 0.28);
  border-radius: 220px 220px 20px 20px;
  content: "";
}

.portrait-frame {
  position: absolute;
  inset: 0 20px 35px 0;
  overflow: hidden;
  border-radius: 220px 220px 20px 20px;
  background:
    radial-gradient(circle at 50% 35%, rgba(251, 248, 243, 0.18), transparent 34%),
    #c8aa98;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  image-rendering: auto;
  object-fit: cover;
  transform: scale(1.02);
}

.portrait-stamp {
  position: absolute;
  right: -23px;
  bottom: 0;
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: #fff;
  background: var(--clay);
  box-shadow: 0 13px 28px rgba(74, 44, 37, 0.18);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.65;
  text-align: center;
  text-transform: uppercase;
}

.doctor-copy {
  max-width: 590px;
}

/* Apresentação logo após o hero: o retrato já aparece no topo */
.doctor-grid-text {
  align-items: start;
  grid-template-columns: 0.9fr 1.1fr;
}

.doctor-heading .eyebrow {
  margin-bottom: 24px;
}

.doctor-grid-text .doctor-copy > p:first-child {
  margin-top: 0;
}

.doctor-copy h2 {
  margin-bottom: 33px;
}

.doctor-copy > p:not(.eyebrow) {
  color: rgba(47, 32, 28, 0.8);
  font-size: 16px;
  line-height: 1.8;
}

.doctor-meta {
  display: grid;
  margin: 35px 0;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
}

.doctor-meta div {
  display: flex;
  flex-direction: column;
}

.doctor-meta div + div {
  padding-left: 35px;
  border-left: 1px solid var(--line);
}

.doctor-meta small {
  margin-bottom: 5px;
  color: rgba(47, 32, 28, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.doctor-meta strong {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
}

.faq {
  background: #eee5da;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 115px;
}

.faq-heading .section-number {
  margin-bottom: 60px;
}

.faq-heading h2 {
  margin-bottom: 23px;
}

.faq-heading > p:last-child {
  max-width: 340px;
  color: rgba(47, 32, 28, 0.78);
  font-size: 15px;
}

.accordion-item {
  border-top: 1px solid var(--line);
}

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

.accordion-item button {
  display: flex;
  width: 100%;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  text-align: left;
  background: none;
  cursor: pointer;
}

.accordion-item button > span:first-child {
  padding-right: 20px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
}

.plus {
  position: relative;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border: 1px solid rgba(74, 44, 37, 0.25);
  border-radius: 50%;
}

.plus::before,
.plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--coffee);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item.is-open .plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion-panel {
  display: grid;
  overflow: hidden;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel p {
  min-height: 0;
  margin: 0;
  padding: 0 55px 0 0;
  color: rgba(47, 32, 28, 0.8);
  font-size: 15px;
  line-height: 1.8;
  opacity: 0;
  transition: padding 0.35s ease, opacity 0.25s ease;
}

.accordion-item.is-open .accordion-panel p {
  padding-bottom: 28px;
  opacity: 1;
}

.final-cta {
  padding: 110px 0;
  color: #fff;
  background: #a7614a;
}

.final-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.final-cta h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(48px, 6vw, 72px);
}

.cta-address {
  max-width: 620px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.7;
}

.final-cta h2 em {
  color: var(--coffee);
}

/* Consultório */
.clinic {
  background: var(--paper);
}

.clinic-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 0.9fr 0.9fr;
  gap: 34px;
}

.clinic-copy {
  padding-right: 30px;
}

.clinic-copy .section-number {
  margin-bottom: 48px;
}

.clinic-copy .eyebrow {
  margin-bottom: 24px;
}

.clinic-copy h2 {
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.clinic-copy > p:not(.eyebrow) {
  color: rgba(47, 32, 28, 0.8);
  font-size: 16px;
  line-height: 1.8;
}

.clinic-address {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 28px 0 26px;
  padding: 4px 0 4px 20px;
  border-left: 1px solid var(--clay);
  color: rgba(47, 32, 28, 0.8);
  font-size: 15px;
  font-style: normal;
  line-height: 1.7;
}

.clinic-address strong {
  color: var(--ink);
  font-weight: 600;
}

.clinic-photo {
  margin: 0;
}

.clinic-photo img,
.intro-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px 18px 18px;
  box-shadow: 0 22px 48px rgba(74, 44, 37, 0.14);
}

.clinic-photo-detail {
  margin-top: 90px;
}

.clinic-photo figcaption {
  margin-top: 16px;
  color: rgba(47, 32, 28, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Foto da seção Sobre */
.intro-grid {
  grid-template-columns: 0.36fr 1.3fr 0.75fr;
}

.intro-main .intro-copy {
  max-width: 560px;
  padding-top: 34px;
}

.intro-photo {
  margin: 0;
}

.cta-orbit {
  position: absolute;
  top: -45px;
  left: 6%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.site-footer {
  padding: 60px 0 25px;
  color: #fff;
  background: #2d1d19;
}

.footer-top {
  display: grid;
  align-items: center;
  padding-bottom: 50px;
  grid-template-columns: 1.3fr 0.8fr 0.55fr;
}

.brand-light .brand-mark {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.brand-light .brand-copy small {
  color: rgba(255, 255, 255, 0.45);
}

.footer-location {
  display: flex;
  flex-direction: column;
}

.footer-location small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-location strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-contact {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: flex;
  height: 49px;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: #fff;
  background: var(--coffee);
  box-shadow: 0 10px 30px rgba(47, 32, 28, 0.25);
  font-size: 11px;
  font-weight: 600;
  transition: transform 0.25s ease;
}

.floating-contact:hover {
  transform: translateY(-3px);
}

.floating-contact svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* Só esconde quando o JS está ativo; sem ele o conteúdo continua visível. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.65, 0.3, 1);
}

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

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

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

/* Bio page */
.bio-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 15%, rgba(217, 164, 143, 0.58), transparent 26%),
    radial-gradient(circle at 87% 83%, rgba(155, 155, 134, 0.32), transparent 24%),
    #4a2c25;
}

.bio-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  padding: 38px 20px;
  place-items: center;
}

.bio-shell::before {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.15;
  pointer-events: none;
}

.bio-decor {
  position: fixed;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.bio-decor-one {
  top: -95px;
  left: -100px;
}

.bio-decor-two {
  right: -115px;
  bottom: -110px;
}

.bio-card {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  padding: 21px 29px 28px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 31px;
  background: rgba(249, 244, 237, 0.95);
  box-shadow: 0 36px 100px rgba(27, 13, 9, 0.34);
  backdrop-filter: blur(18px);
}

.bio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-monogram,
.share-button {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(74, 44, 37, 0.2);
  border-radius: 50%;
  background: transparent;
}

.mini-monogram {
  color: var(--coffee);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -1px;
}

.share-button {
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.share-button:hover {
  color: #fff;
  background: var(--coffee);
}

.share-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.bio-profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 5px;
  text-align: center;
}

.bio-avatar-wrap {
  position: relative;
  display: grid;
  width: 110px;
  height: 110px;
  margin-bottom: 17px;
  place-items: center;
}

.avatar-ring {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(189, 118, 93, 0.55);
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(20deg);
}

.bio-avatar {
  width: 100px;
  height: 100px;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 9px 25px rgba(74, 44, 37, 0.17);
  object-fit: cover;
}

.bio-kicker {
  margin: 4px 0 12px;
  color: var(--clay-text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bio-profile h1 {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.bio-role {
  margin-bottom: 9px;
  color: rgba(47, 32, 28, 0.8);
  font-size: 13px;
  font-weight: 500;
}

.bio-role span {
  margin: 0 5px;
  color: var(--clay);
}

.bio-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 0;
  color: rgba(47, 32, 28, 0.72);
  font-size: 12px;
  font-weight: 500;
}

.bio-location svg {
  width: 12px;
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.5;
}

.bio-links {
  display: grid;
  gap: 10px;
  margin-top: 27px;
}

.bio-link {
  display: grid;
  min-height: 67px;
  align-items: center;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(74, 44, 37, 0.15);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.52);
  grid-template-columns: 45px 1fr 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bio-link:hover {
  border-color: rgba(189, 118, 93, 0.55);
  box-shadow: 0 11px 25px rgba(74, 44, 37, 0.09);
  transform: translateY(-2px);
}

.bio-link-primary {
  color: #fff;
  border-color: var(--coffee);
  background: var(--coffee);
  box-shadow: 0 12px 25px rgba(74, 44, 37, 0.2);
}

.bio-link-primary:hover {
  border-color: var(--coffee-2);
  box-shadow: 0 15px 30px rgba(74, 44, 37, 0.25);
}

.bio-link-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--clay);
  background: rgba(189, 118, 93, 0.1);
}

.bio-link-primary .bio-link-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.bio-link-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.bio-link > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.bio-link small {
  margin-bottom: 2px;
  color: rgba(47, 32, 28, 0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bio-link-primary small {
  color: rgba(255, 255, 255, 0.8);
}

.bio-link strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.bio-arrow {
  justify-self: end;
  color: var(--clay);
  font-size: 15px;
}

.bio-link-primary .bio-arrow {
  color: var(--clay-soft);
}

.bio-note {
  display: grid;
  align-items: center;
  margin: 24px 0 17px;
  color: var(--clay);
  grid-template-columns: 17px 1fr 17px;
  text-align: center;
}

.bio-note p {
  margin: 0;
  color: rgba(47, 32, 28, 0.55);
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
}

.bio-note span {
  font-size: 8px;
}

.bio-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.social-row {
  display: flex;
  gap: 8px;
}

.social-row a {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(74, 44, 37, 0.17);
  border-radius: 50%;
  color: var(--coffee);
  transition: color 0.2s ease, background 0.2s ease;
}

.social-row a:hover {
  color: #fff;
  background: var(--coffee);
}

.social-row svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.bio-footer p {
  margin: 8px 0 0;
  color: rgba(47, 32, 28, 0.65);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 10;
  bottom: 28px;
  left: 50%;
  padding: 10px 17px;
  border-radius: 100px;
  color: #fff;
  background: #231713;
  box-shadow: 0 12px 25px rgba(27, 13, 9, 0.25);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 960px) {
  .primary-nav {
    position: fixed;
    z-index: 99;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 27px;
    color: #fff;
    background: rgba(47, 32, 28, 0.98);
    font-family: var(--font-display);
    font-size: 27px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav .nav-cta {
    margin-top: 10px;
    border-color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 12px;
  }

  .menu-toggle {
    position: relative;
    z-index: 101;
    display: block;
  }

  .menu-open .menu-toggle > span:not(.sr-only) {
    background: #fff;
  }

  .menu-open .menu-toggle > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-open .menu-toggle > span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, #efe7dd 55%, #efe7dd 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-copy {
    max-width: 680px;
    padding-top: 20px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .hero-image-wrap {
    inset: 0 20px;
  }

  .vertical-caption {
    right: -2px;
  }

  .intro-grid {
    grid-template-columns: 0.32fr 1fr;
  }

  .intro-copy {
    padding-top: 10px;
    grid-column: 2;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .care-card {
    min-height: 335px;
  }

  .care-card + .care-card {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .care-icon {
    margin-bottom: 30px;
  }

  .experience-grid,
  .doctor-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

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

  .clinic-copy {
    padding-right: 0;
    grid-column: 1 / -1;
  }

  .clinic-photo-detail {
    margin-top: 60px;
  }

  .intro-main,
  .intro-photo {
    grid-column: 2;
  }

  .intro-photo {
    width: min(100%, 380px);
  }

  .doctor-grid-text {
    gap: 40px;
  }

  .doctor-grid-text .doctor-copy {
    margin-inline: 0;
  }

  .experience-aside {
    min-height: auto;
    padding-right: 0;
    border-right: 0;
  }

  .experience-aside blockquote {
    max-width: 450px;
    margin-top: 70px;
  }

  .doctor-portrait {
    width: min(100%, 540px);
    min-height: 650px;
    margin-inline: auto;
  }

  .doctor-copy {
    margin-inline: auto;
  }

  .faq-heading .section-number {
    margin-bottom: 40px;
  }

  .footer-top {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    align-items: flex-start;
    grid-column: 1 / -1;
  }
}

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

  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .hero {
    padding-top: 98px;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 68px);
  }

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

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-signature {
    margin-top: 33px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-image-wrap {
    inset: 0;
    border-radius: 170px 170px 18px 18px;
  }

  .image-note {
    right: 12px;
    bottom: 12px;
    min-width: 195px;
  }

  .vertical-caption {
    display: none;
  }

  .section {
    padding: 90px 0;
  }

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

  .intro-copy {
    grid-column: auto;
  }

  .intro-title h2,
  .section-heading h2,
  .experience-content h2,
  .doctor-copy h2,
  .doctor-heading h2,
  .faq-heading h2,
  .final-cta h2 {
    font-size: 44px;
  }

  .care .section-number {
    margin-bottom: 42px;
  }

  .care-grid {
    margin-top: 50px;
  }

  .care-card {
    padding-inline: 20px;
  }

  .experience-grid,
  .doctor-grid,
  .faq-grid {
    gap: 55px;
  }

  .experience-aside blockquote {
    margin-top: 50px;
    font-size: 24px;
  }

  .steps {
    margin-top: 45px;
  }

  .doctor-portrait {
    min-height: 465px;
  }

  .doctor-portrait::before {
    right: -10px;
  }

  .portrait-frame {
    inset: 0 10px 25px 0;
    border-radius: 170px 170px 18px 18px;
  }

  .portrait-stamp {
    right: -3px;
    width: 90px;
    height: 90px;
  }

  .doctor-meta {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .doctor-meta div + div {
    padding-top: 19px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .accordion-item button {
    min-height: 74px;
  }

  .accordion-item button > span:first-child {
    font-size: 21px;
  }

  .final-cta {
    padding: 90px 0;
  }

  .final-cta h2 {
    font-size: 46px;
  }

  .clinic-grid {
    gap: 40px 14px;
  }

  .clinic-photo img {
    border-radius: 120px 120px 14px 14px;
  }

  .clinic-photo-detail {
    margin-top: 40px;
  }

  .intro-main,
  .intro-photo {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-column: auto;
  }

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

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }

  .bio-shell {
    padding: 0;
    align-items: start;
  }

  .bio-card {
    width: 100%;
    min-height: 100vh;
    padding: 18px 19px 25px;
    border: 0;
    border-radius: 0;
    background: rgba(249, 244, 237, 0.97);
  }

  .bio-profile h1 {
    font-size: 37px;
  }

  .bio-links {
    gap: 9px;
  }

  .bio-link {
    min-height: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* Official brand assets */
.official-logo {
  display: block;
  width: 158px;
  height: auto;
}

.official-logo-light {
  width: 170px;
}

.bio-official-link {
  display: block;
  width: 156px;
  line-height: 0;
}

.bio-official-logo {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 620px) {
  .official-logo {
    width: 140px;
  }

  .official-logo-light {
    width: 150px;
  }

  .bio-official-link {
    width: 142px;
  }
}

/* Real clinic photography */
.experience-photo {
  width: min(100%, 305px);
  aspect-ratio: 4 / 5;
  margin: 42px 0 34px;
  overflow: hidden;
  border-radius: 160px 160px 18px 18px;
  box-shadow: 0 20px 48px rgba(74, 44, 37, 0.14);
}

.experience-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portrait-frame img {
  object-position: center 38%;
}

@media (max-width: 960px) {
  .experience-photo {
    width: min(100%, 420px);
  }
}
