/* Maritsa Pochaczevsky, Odontologia Integrada */

:root {
  --bg: #F5EFE4;
  --bg-2: #EDE4D2;
  --paper: #FBF7EF;
  --ink: #2A2620;
  --ink-soft: #5C5448;
  --ink-mute: #8A8074;
  --rule: #D8CDB8;
  --gold: #A38A57;
  --gold-deep: #8A7142;
  --gold-soft: #C7B385;
  --sage: #3F4A3A;
  --sage-soft: #6B7560;

  --nav-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ───── Typography ───── */
.display, h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow .dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 10px 3px 0;
}

/* ───── Nav (always solid, sticky, never overlaps content) ───── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  display: block;
  height: 44px;
  width: auto;
}
.nav-logo img { height: 100%; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-deep);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%; left: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover {
  background: var(--gold);
  color: #fff;
}
.nav-cta svg { width: 14px; height: 14px; }

/* ───── Hero ───── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.hero-text {
  padding: 52px 80px 90px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  background: var(--bg);
}

.hero-eyebrow {
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(46px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  margin-bottom: 34px;
  color: var(--ink);
  font-weight: 300;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
}
.hero-title .amp {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.btn-primary { background: var(--gold-deep); color: var(--bg); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn svg { width: 14px; height: 14px; }

.hero-meta {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
}

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 35%;
}

/* ── Hero Ken Burns slideshow ── */
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 35%;
  display: block;
}
.hero-slide:nth-child(1).active img {
  animation: kenburns-1 9s ease-out forwards;
}
.hero-slide:nth-child(2).active img {
  animation: kenburns-2 9s ease-out forwards;
}
@keyframes kenburns-1 {
  from { transform: scale(1)    translate(0,    0);   }
  to   { transform: scale(1.10) translate(-2%,  1%);  }
}
@keyframes kenburns-2 {
  from { transform: scale(1.08) translate(2%,  -1%);  }
  to   { transform: scale(1)    translate(0,    0);   }
}

.hero-badge {
  position: absolute;
  right: 44px;
  bottom: 44px;
  background: var(--paper);
  padding: 24px 28px;
  border: 1px solid var(--rule);
  max-width: 280px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-badge::before {
  content: '“';
  display: block;
  font-size: 52px;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 6px;
  font-style: normal;
}
.hero-badge cite {
  display: block;
  margin-top: 12px;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ───── Sections ───── */
section { position: relative; }

.section-pad {
  padding: 110px 80px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.section-title {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.008em;
}
.section-title em {
  font-style: italic;
  color: var(--gold-deep);
}
.section-num {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 540px;
}

/* ───── Pillars (compact, single line of three) ───── */
.pillars {
  background: var(--bg-2);
  padding: 50px 80px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
}
.pillar:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 4px; bottom: 4px;
  right: -20px;
  width: 1px;
  background: var(--rule);
}
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 24px;
}
.pillar-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1.2;
  flex-shrink: 0;
}
.pillar-text {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ───── Perfil ───── */
.perfil {
  background: var(--paper);
  display: grid;
  grid-template-columns: 380px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "photo header"
    "photo text";
  gap: 0 80px;
  align-items: start;
}

.perfil-image-wrap {
  grid-area: photo;
  position: relative;
  align-self: stretch;
}
.perfil-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.perfil-image-wrap::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  pointer-events: none;
}

.perfil-header {
  grid-area: header;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.perfil-header .section-title {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.008em;
  margin-bottom: 18px;
}
.perfil-header .section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.perfil-text {
  grid-area: text;
}
.perfil-text h2 {
  font-size: clamp(20px, 2.3vw, 34px);
  line-height: 1.06;
  margin-bottom: 30px;
  font-weight: 300;
  white-space: nowrap;
}
.perfil-text h2 br { display: none; }
.perfil-text h2 em {
  font-style: italic;
  color: var(--gold-deep);
}
.perfil-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.perfil-text p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  line-height: 0.85;
  float: left;
  margin: 4px 12px 0 0;
  color: var(--gold-deep);
  font-style: italic;
}

/* ── Perfil: formação ── */
.perfil-formacao {
  margin-bottom: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.perfil-formacao-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.perfil-formacao-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.perfil-formacao-list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}
.perfil-formacao-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.perfil-sig {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.perfil-sig-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--gold-deep);
}
.perfil-sig-role {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ───── Tratamentos ───── */
.tratamentos { background: var(--bg); }

.tratamentos-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  align-items: start;
}

.trat-list {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
}
.trat-item {
  display: grid;
  grid-template-columns: 36px 1fr 12px;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: padding 0.25s, color 0.25s;
  text-align: left;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  width: 100%;
  color: var(--ink);
}
.trat-item:first-child { border-top: 1px solid var(--rule); }
.trat-item:hover { padding-left: 8px; }
.trat-num {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  font-weight: 400;
}
.trat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.2s;
}
.trat-arrow {
  width: 12px; height: 12px;
  opacity: 0.3;
  transition: opacity 0.25s, transform 0.25s;
}
.trat-item.active .trat-num { color: var(--gold-deep); }
.trat-item.active .trat-name {
  color: var(--gold-deep);
  font-style: italic;
}
.trat-item.active .trat-arrow {
  opacity: 1;
  transform: translateX(3px);
}
.trat-item:hover .trat-name { color: var(--gold-deep); }

.trat-detail {
  background: var(--paper);
  padding: 56px;
  min-height: 520px;
  position: relative;
  border: 1px solid var(--rule);
  transition: opacity 0.32s;
  opacity: 1;
}
.trat-detail.fading { opacity: 0; transition: opacity 0.18s; }
.trat-detail-num {
  position: absolute;
  top: 32px; right: 46px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 72px;
  color: var(--bg-2);
  line-height: 1;
  user-select: none;
}
.trat-detail h3 {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.06;
  margin-bottom: 26px;
  max-width: 540px;
  font-weight: 300;
}
.trat-detail h3 em {
  font-style: italic;
  color: var(--gold-deep);
}
.trat-detail-body {
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 620px;
}
.trat-detail-body p { margin-bottom: 14px; }
.trat-detail-body ul {
  list-style: none;
  margin-top: 18px;
}
.trat-detail-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.trat-detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 12px; height: 1px;
  background: var(--gold);
}

.trat-detail-meta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.trat-detail-meta div {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.trat-detail-meta strong {
  display: block;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ───── Consultório, slideshow ───── */
.consultorio { background: var(--paper); }

.consultorio-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.consultorio-photo {
  overflow: hidden;
}
.consultorio-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.consultorio-photo:hover img {
  transform: scale(1.06);
}

.consultorio-note {
  margin-top: 80px;
  padding: 60px 70px;
  background: var(--sage);
  color: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.consultorio-note h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 300;
  color: var(--bg);
}
.consultorio-note h3 em {
  font-style: italic;
  color: var(--gold-soft);
}
.consultorio-note p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245,239,228,0.78);
  font-weight: 300;
}

/* ───── Contato ───── */
.contato {
  background: var(--ink);
  color: var(--bg);
  padding: 110px 80px 80px;
}
.contato .section-title { color: var(--bg); }
.contato .section-title em { color: var(--gold); }
.contato .section-intro { color: rgba(245,239,228,0.7); }
.contato .section-num { color: var(--gold-soft); }
.contato .section-head { border-bottom-color: rgba(245,239,228,0.15); }

.contato-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
}
.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(245,239,228,0.15);
}
.contact-row:first-child { border-top: 1px solid rgba(245,239,228,0.15); }
.contact-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.contact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--bg);
}
.contact-value a:hover { color: var(--gold-soft); }
.contact-action {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
}
.contact-action:hover { color: var(--bg); gap: 12px; }

.contato-card {
  background: var(--paper);
  color: var(--ink);
  padding: 46px 42px;
  position: relative;
}
.contato-card-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.contato-card h3 {
  font-size: 34px;
  line-height: 1.06;
  margin-bottom: 20px;
  font-weight: 300;
  color: var(--ink);
}
.contato-card h3 em {
  font-style: italic;
  color: var(--gold-deep);
}
.contato-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.wa-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s;
  border: none;
}
.wa-btn:hover { background: var(--gold-deep); }
.wa-btn .wa-number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-soft);
}

.contato-hours {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.8;
}
.contato-hours strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 8px;
}

/* ───── Home extras ───── */
.home-cta {
  padding: 100px 80px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--rule);
}
.home-cta h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.06;
  font-weight: 300;
}
.home-cta h2 em {
  font-style: italic;
  color: var(--gold-deep);
}
.home-cta-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 30px;
}

/* ───── Footer ───── */
.footer {
  background: var(--ink);
  color: rgba(245,239,228,0.55);
  padding: 44px 80px 36px;
  border-top: 1px solid rgba(245,239,228,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.footer-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-soft);
}
.footer-phone {
  color: rgba(245,239,228,0.7);
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 300;
  text-transform: none;
}
.footer-mark img {
  height: 32px;
  width: auto;
  opacity: 0.95;
}
.footer-rights {
  color: rgba(245,239,228,0.9);
  font-size: 9px;
  letter-spacing: 0.18em;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(245,239,228,0.35);
  font-family: 'Jost', sans-serif;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-weight: 300;
  transition: color 0.25s;
}
.footer-credit:hover { color: var(--gold-soft); }
.footer-credit-name {
  font-family: 'Jost', sans-serif;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-weight: 400;
}

/* ───── Floating WhatsApp ───── */
.float-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.08);
  z-index: 80;
  transition: transform 0.25s;
}
.float-wa:hover { transform: scale(1.06); }
.float-wa svg { width: 28px; height: 28px; }
.float-wa::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid #25D366;
  opacity: 0.4;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ───── Hero mobile reorder ───── */
.hero-mobile {
  display: flex;
  flex-direction: column;
  min-height: auto;
}
.hero-mobile .hero-text {
  padding: 36px 40px 28px;
  justify-content: flex-start;
}
.hero-image-mobile {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-image-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 35%;
}
.hero-bottom {
  padding: 32px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--bg);
}
.hero-bottom .hero-meta {
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.hero-bottom .hero-badge {
  position: static;
  max-width: 100%;
  background: var(--paper);
  padding: 22px 24px;
  border: 1px solid var(--rule);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ───── Accordion (tratamentos mobile) ───── */
.trat-accordion {
  display: flex;
  flex-direction: column;
}
.trat-accordion-item {
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: calc(var(--nav-h) + 12px);
}
.trat-accordion-item:first-child {
  border-top: 1px solid var(--rule);
}
.trat-accordion-item .trat-item {
  border-bottom: none;
  border-top: none;
}
.trat-accordion-item.active .trat-arrow {
  transform: rotate(90deg);
  opacity: 1;
}
.trat-accordion-body {
  padding: 20px 0 28px;
}
.trat-accordion-body h3 {
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.08;
  margin-bottom: 18px;
  font-weight: 300;
  font-family: 'Cormorant Garamond', serif;
}
.trat-accordion-body h3 em {
  font-style: italic;
  color: var(--gold-deep);
}

/* ───── Hamburger + Mobile Menu ───── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  z-index: 99;
  padding: 28px 40px 36px;
  display: flex;
  flex-direction: column;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
}
.mobile-menu-links a {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}
.mobile-menu-links a:first-child { border-top: 1px solid var(--rule); }
.mobile-menu-links a.active,
.mobile-menu-links a:hover { color: var(--gold-deep); }
.mobile-menu-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  align-self: flex-start;
  transition: background 0.25s;
}
.mobile-menu-cta:hover { background: var(--gold-deep); }
.mobile-menu-cta svg { width: 14px; height: 14px; }

/* ───── Themes ───── */
body.theme-cream { --bg: #FAF5EB; --bg-2: #F2EBDB; --paper: #FFFCF4; }
body.theme-warm  { --bg: #F0E5D2; --bg-2: #E5D9C2; --paper: #FBF3E1; }

/* ───── Depoimentos marquee ───── */
.depoimentos { background: var(--paper); overflow: hidden; }
.depoimentos .section-head { margin-bottom: 60px; }

.depoimentos-marquee {
  position: relative;
  overflow: hidden;
}
.depoimentos-marquee::before,
.depoimentos-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.depoimentos-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--paper), transparent);
}
.depoimentos-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--paper), transparent);
}
.depoimentos-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.depoimentos-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.depoimento-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 28px 30px 24px;
  display: flex;
  flex-direction: column;
}
.depoimento-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.depoimento-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
  margin-bottom: 20px;
}
.depoimento-author {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.depoimento-source {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: 4px;
}

/* ───── Elfsight container ───── */
.depoimentos-elfsight {
  max-width: 1100px;
  margin: 0 auto;
}

/* ───── Antes e Depois — slider drag ───── */
.antesdepois { background: var(--bg); }
.antesdepois-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.ba-pair {}
.ba-slider {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  gap: 0;
}
.ba-handle::before,
.ba-handle::after {
  content: '';
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
.ba-handle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.22);
  color: var(--ink);
  flex-shrink: 0;
  gap: 2px;
}
.ba-handle-btn svg { width: 10px; height: 10px; }
.ba-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(43,38,32,0.6);
  color: #fff;
  padding: 4px 10px;
  backdrop-filter: blur(4px);
  z-index: 5;
  transition: opacity 0.25s;
}
.ba-label--depois {
  left: auto;
  right: 12px;
  background: rgba(158,120,76,0.8);
}
.ba-desc {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding-top: 14px;
}

/* ───── Responsive ───── */
@media (max-width: 1100px) {
  .nav { padding: 0 32px; }
  .section-pad, .perfil, .contato { padding-left: 40px; padding-right: 40px; }
  .pillars, .home-cta { padding-left: 40px; padding-right: 40px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 36px 40px 60px; }
  .hero-title { font-size: clamp(56px, 10vw, 80px); }
  .hero-image { min-height: 300px; }
  .pillars { padding-top: 38px; padding-bottom: 38px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 18px; }
  .pillar:not(:last-child)::after { display: none; }
  .pillar { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .pillar:last-child { border-bottom: none; }
  .tratamentos-layout, .contato-grid, .consultorio-note, .home-cta {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .perfil {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "header"
      "photo"
      "text";
    gap: 0;
  }
  .perfil-header {
    margin-bottom: 0;
    padding-bottom: 24px;
  }
  .perfil-image-wrap {
    max-width: 100%;
    margin: 0 -40px;
    width: calc(100% + 80px);
    height: auto;
    align-self: auto;
  }
  .perfil-image-wrap img { height: auto; aspect-ratio: 4/5; object-fit: cover; }
  .perfil-image-wrap::after { display: none; }
  .perfil-text h2 { padding-top: 24px; white-space: normal; font-size: clamp(34px, 8vw, 48px); }
  .perfil-text h2 br { display: inline; }
  .trat-list { position: static; }
  .consultorio-note { padding: 40px 30px; }
  .consultorio-photos { grid-template-columns: repeat(2, 1fr); }
  .antesdepois-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ba-slider { aspect-ratio: 4/3; }
  .depoimentos-marquee::before, .depoimentos-marquee::after { width: 40px; }
  .footer { flex-direction: column; gap: 16px; padding: 40px; text-align: center; }
  .section-head { grid-template-columns: 1fr; gap: 26px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-badge { right: 24px; bottom: 24px; max-width: 240px; padding: 18px 22px; font-size: 16px; }
  .trat-detail { padding: 40px 28px; }
}

@media (max-width: 640px) {
  .nav-cta span { display: none; }
  .nav-logo { height: 36px; }
  .contact-row { grid-template-columns: 1fr; gap: 8px; }
  .contact-row .contact-action { justify-self: start; }
  .perfil-text p:first-of-type::first-letter { font-size: 48px; }
  :root { --nav-h: 72px; }
}
