/* ==========================================================================
   MK Estética Avançada — editorial quiet luxury
   Paleta: pine #17251E · brass #A48153 · sand #D6BA8E · cream #FDFBF7
   ========================================================================== */

:root {
  --pine: #17251e;
  --pine-soft: #20332a;
  --pine-deep: #101a14;
  --brass: #a48153;
  --brass-deep: #8c6c42;
  --sand: #d6ba8e;
  --cream: #fdfbf7;
  --cream-2: #f5f0e8;
  --ink-soft: #3d4a43;
  --muted: #6f6a60;
  --cream-dim: rgba(253, 251, 247, 0.62);
  --line-l: rgba(23, 37, 30, 0.1);
  --line-d: rgba(253, 251, 247, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--pine);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection {
  background: var(--sand);
  color: var(--pine);
}

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

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

section[id] {
  scroll-margin-top: 80px;
}

.wrap {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 300;
  background: var(--cream);
  color: var(--pine);
  padding: 0.5rem 1rem;
}

/* Grain sutil nas seções escuras */
.theme-dark {
  position: relative;
  background: var(--pine);
  color: var(--cream);
}

/* Dourado areia — pedido da Karen */
.theme-sand {
  position: relative;
  background: linear-gradient(180deg, #e0c8a3 0%, var(--sand) 55%, #cfb083 100%);
  color: var(--pine);
}

.theme-sand::before,
.theme-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.theme-dark > *,
.theme-sand > * {
  position: relative;
  z-index: 1;
}

.theme-sand h1 em,
.theme-sand h2 em,
.theme-sand .cta-title em {
  color: var(--cream);
}

.theme-sand .label {
  color: rgba(23, 37, 30, 0.6);
}

.theme-sand .lede {
  color: rgba(23, 37, 30, 0.72);
}

/* ==========================================================================
   Reveals
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Reveals escalonados */
.g2 { transition-delay: 0.08s; }
.g3 { transition-delay: 0.12s; }
.g4 { transition-delay: 0.16s; }

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation-duration: 0.001s !important;
  }
}

/* ==========================================================================
   Tipografia base
   ========================================================================== */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 em,
h1 em,
.manifesto-text em,
.cta-title em {
  font-style: italic;
  color: var(--brass);
}

.theme-dark h2 em,
.theme-dark h1 em {
  color: var(--sand);
}

.label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.4rem;
}

.label-hash {
  text-transform: none;
  letter-spacing: 0.16em;
}

.lede {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 30rem;
  line-height: 1.75;
}

.theme-dark .lede {
  color: var(--cream-dim);
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.9rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(23, 37, 30, 0.16);
}

.btn-solid {
  background: var(--cream);
  color: var(--pine);
}

.btn-solid:hover {
  background: var(--sand);
  color: var(--pine);
}

.btn-line {
  border-color: var(--line-d);
  color: var(--cream);
  background: transparent;
}

.btn-line:hover {
  border-color: var(--sand);
  color: var(--sand);
}

.btn-outline {
  border-color: rgba(23, 37, 30, 0.35);
  color: var(--pine);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--pine);
  background: rgba(23, 37, 30, 0.06);
}

.btn-dark {
  background: var(--pine);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--brass-deep);
}

.btn-big {
  min-height: 60px;
  padding: 1rem 2.8rem;
  font-size: 0.88rem;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled,
.nav.open,
.nav-solid {
  background: rgba(253, 251, 247, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom-color: var(--line-l);
}

.nav-inner {
  width: min(1400px, calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  transition: min-height 0.4s var(--ease);
}

.nav.is-scrolled .nav-inner {
  min-height: 62px;
}

.nav-logo img {
  height: 34px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.nav.is-scrolled .nav-logo img {
  height: 28px;
}

.nav-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brass), var(--sand));
  pointer-events: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  position: relative;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 37, 30, 0.72);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s var(--ease);
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 1px;
  background: var(--brass-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-links a:not(.btn):hover {
  color: var(--pine);
}

.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.is-current {
  color: var(--pine);
}

.nav-links a.is-current::after {
  transform: scaleX(1);
}

.nav-links .btn {
  min-height: 40px;
  padding: 0.5rem 1.4rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--pine);
  content: "";
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle span::before {
  top: -7px;
  left: 0;
}

.menu-toggle span::after {
  top: 7px;
  left: 0;
}

.nav.open .menu-toggle span {
  background: transparent;
}

.nav.open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  top: clamp(6.5rem, 13vh, 9rem);
  bottom: clamp(4.5rem, 10vh, 7rem);
  right: max(4vw, calc((100vw - 1400px) / 2));
  width: clamp(300px, 32vw, 500px);
  z-index: 1 !important;
  transition-delay: 0.25s;
  border: 10px solid var(--cream);
  box-shadow:
    0 30px 90px rgba(140, 108, 66, 0.45),
    0 8px 26px rgba(23, 37, 30, 0.18);
}

/* filete externo da moldura */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(23, 37, 30, 0.22);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.92) contrast(1.02);
}

/* véu suave nas bordas para fundir com o areia */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(214, 186, 142, 0.14), transparent 24%, transparent 70%, rgba(23, 37, 30, 0.32));
  box-shadow: inset 0 0 46px rgba(214, 186, 142, 0.3);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2 !important;
  width: min(1400px, calc(100% - 3rem));
  margin-inline: auto;
  padding: 9rem 0 5.5rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 3rem;
}

.hero-eyebrow i,
.marquee i {
  font-style: normal;
  font-size: 0.6em;
  vertical-align: 0.2em;
  opacity: 0.7;
  padding-inline: 0.9em;
}

.hero-title {
  font-size: clamp(3.6rem, 10.5vw, 10rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 2.2rem;
}

.ht-line {
  display: block;
}

.ht-line:nth-child(2) {
  transition-delay: 0.1s;
}

.ht-line:nth-child(3) {
  transition-delay: 0.2s;
}

.ht-indent {
  margin-left: clamp(1.5rem, 7vw, 9rem);
}

.hero-sub {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: rgba(23, 37, 30, 0.82);
  margin-bottom: 3rem;
  transition-delay: 0.3s;
}

.hero-sub em {
  font-style: italic;
  color: var(--brass-deep);
}

.hero-sub-rule {
  flex: 0 0 auto;
  width: clamp(2.4rem, 5vw, 4.5rem);
  height: 1px;
  background: var(--brass-deep);
  opacity: 0.7;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 46rem;
  transition-delay: 0.4s;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-side {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  z-index: 2;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right top;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(23, 37, 30, 0.5);
  white-space: nowrap;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  bottom: 1.7rem;
  right: max(4vw, calc((100vw - 1400px) / 2));
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(23, 37, 30, 0.55);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: max(4vw, calc((100vw - 1400px) / 2));
  bottom: 0;
  height: 4.4rem;
  width: 1px;
  background: rgba(23, 37, 30, 0.2);
  overflow: hidden;
}

.hero-scroll span {
  position: absolute;
  left: 0;
  top: -50%;
  width: 1px;
  height: 50%;
  background: var(--pine);
  animation: scrollcue 2.2s var(--ease) infinite;
}

@keyframes scrollcue {
  0% { top: -50%; }
  100% { top: 110%; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  background: var(--pine-deep);
  border-block: 1px solid var(--line-d);
  overflow: hidden;
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--sand);
  white-space: nowrap;
  padding-right: 0.9em;
}

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

/* ==========================================================================
   Manifesto + pilares
   ========================================================================== */

.manifesto {
  padding: 9rem 0 7rem;
  background: var(--cream);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 5rem;
  align-items: center;
}

.manifesto-text {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 44rem;
}

.manifesto-sign {
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brass-deep);
}

.manifesto-photo {
  position: relative;
  justify-self: end;
  width: min(24rem, 100%);
  border: 8px solid #fff;
  box-shadow:
    0 24px 60px rgba(140, 108, 66, 0.28),
    0 6px 18px rgba(23, 37, 30, 0.1);
}

.manifesto-photo::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(23, 37, 30, 0.14);
  pointer-events: none;
}

.manifesto-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pillars {
  margin-top: 6rem;
  border-top: 1px solid var(--line-l);
}

.pillar {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line-l);
}

.pillar:nth-child(2) { transition-delay: 0.08s; }
.pillar:nth-child(3) { transition-delay: 0.16s; }

.pillar-num {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 1;
  color: rgba(23, 37, 30, 0.12);
  transition: color 0.5s var(--ease);
}

.pillar:hover .pillar-num {
  color: var(--brass);
}

.pillar-body {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: baseline;
}

.pillar-body h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  letter-spacing: -0.01em;
}

.pillar-body p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 30rem;
}

/* ==========================================================================
   A clínica — galeria editorial
   ========================================================================== */

.clinica {
  background: var(--cream-2);
  padding: 8rem 0 9rem;
}

.clinica-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.clinica-head .lede {
  padding-bottom: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.g-tile {
  position: relative;
}

.g-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0);
  transition: transform 1.4s var(--ease);
}

.g-tile figcaption {
  margin-top: 0.9rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.g-tile figcaption span {
  color: var(--brass);
}

.g-tile figcaption::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-l);
}

.g-tile:hover > img {
  transform: scale(1.04);
}

.g1 { grid-column: 1 / 6; }
.g1 img { aspect-ratio: 3 / 4; }

.g2 { grid-column: 7 / 13; margin-top: 7rem; }
.g2 img { aspect-ratio: 4 / 4.6; }

.g3 { grid-column: 1 / 7; margin-top: 2rem; }

.g4 { grid-column: 8 / 13; margin-top: 8rem; }
.g4 img { aspect-ratio: 3 / 4; }

.g-carousel-stage {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
}

.g-carousel-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
  pointer-events: none;
}

.g-carousel-stage img.is-active {
  opacity: 1;
  z-index: 1;
}

.g-tile:hover .g-carousel-stage img.is-active {
  transform: scale(1.04);
}

.g-carousel-dots {
  position: absolute;
  right: 1rem;
  bottom: 3.2rem;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
}

.g-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(253, 251, 247, 0.45);
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.g-carousel-dots button.is-active {
  background: var(--cream);
  transform: scale(1.25);
}

/* ==========================================================================
   Menu clínico
   ========================================================================== */

.treatments {
  padding: 8.5rem 0 7.5rem;
}

.treat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 4.5rem;
}

.treat-head .lede {
  padding-bottom: 0.5rem;
}

.ps {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4.5rem;
  align-items: start;
}

.ps-list {
  list-style: none;
  border-top: 1px solid var(--line-d);
}

.ps-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.7rem 7.5rem 1.7rem 0;
  border-bottom: 1px solid var(--line-d);
  cursor: pointer;
  outline-offset: 6px;
  box-shadow: inset 0 0 0 0 var(--brass);
  transition: padding-left 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.ps-item.is-active {
  padding-left: 1.4rem;
  box-shadow: inset 2px 0 0 0 var(--brass);
}

.ps-num {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--brass);
  transition: color 0.4s var(--ease);
}

.ps-item.is-active .ps-num {
  color: var(--sand);
}

.ps-problem {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1.3;
  color: var(--cream-dim);
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.ps-item:hover .ps-problem,
.ps-item.is-active .ps-problem {
  color: var(--cream);
  transform: translateX(0.4rem);
}

.ps-action {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(-8px, -50%);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
}

.ps-item:hover .ps-action,
.ps-item:focus-visible .ps-action {
  opacity: 1;
  transform: translate(0, -50%);
}

.ps-item.is-active .ps-action {
  opacity: 1;
  transform: translate(0, -50%);
  color: var(--brass);
}

.ps-inline {
  display: none;
}

.ps-stage {
  position: sticky;
  top: 100px;
}

.ps-swap {
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.ps-photo {
  position: relative;
  border: 8px solid var(--cream);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.ps-photo::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid var(--line-d);
  pointer-events: none;
}

.ps-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ps-sol {
  padding-top: 1.7rem;
}

.ps-sol-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.ps-label {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}

.ps-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--sand);
  letter-spacing: 0.08em;
}

.ps-count-cur {
  color: var(--cream);
}

.ps-title {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.ps-desc {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--cream-dim);
  max-width: 28rem;
  margin-bottom: 1.2rem;
}

.ps-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  border-bottom: 1px solid rgba(214, 186, 142, 0.4);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.ps-cta:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.treat-cta {
  margin-top: 4rem;
  text-align: center;
}

/* ==========================================================================
   Visite
   ========================================================================== */

.visit {
  background: var(--cream);
  padding: 8.5rem 0;
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 4.5rem;
  align-items: center;
}

.visit-card address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 1.6rem 0 2.2rem;
  color: var(--ink-soft);
}

.visit-meta {
  list-style: none;
  border-top: 1px solid var(--line-l);
  margin-bottom: 2.4rem;
}

.visit-meta li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-l);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.visit-meta li span {
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  align-self: center;
}

.map {
  position: relative;
  min-height: 480px;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) sepia(0.14) contrast(0.96);
}

/* ==========================================================================
   CTA final
   ========================================================================== */

.cta {
  padding: 9rem 0;
  text-align: center;
}

.cta .label {
  color: var(--sand);
}

.cta-title {
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.8rem;
}

.cta .lede {
  margin: 0 auto 3rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--pine-deep);
  padding: 6rem 0 2.5rem;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4.5rem;
}

.footer-logo {
  display: block;
  height: 130px;
  width: auto;
  margin-bottom: 1.8rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--cream-dim);
  max-width: 17rem;
}

.footer-hash {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sand) !important;
}

.footer-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--cream-dim);
}

.footer-hours {
  margin-top: 0.9rem;
}

.footer-col a {
  position: relative;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--cream-dim);
  transition: color 0.3s var(--ease);
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-col a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-d);
  padding-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
}

.footer-bottom a {
  color: var(--cream);
  border-bottom: 1px solid var(--line-d);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer-bottom a:hover {
  color: var(--sand);
  border-color: var(--sand);
}

.footer-top {
  border-bottom: 0 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */

.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.wa-float:hover {
  background: #1ebe57;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

/* ==========================================================================
   Página legal (privacidade)
   ========================================================================== */

.legal {
  padding: 10rem 0 6rem;
  max-width: 44rem;
}

.legal h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 2rem;
}

.legal p {
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-photo {
    right: 4vw;
    width: clamp(260px, 36vw, 420px);
    opacity: 0.85;
  }
}

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: 76px 0 auto;
    background: rgba(253, 251, 247, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 2rem;
    gap: 0.3rem;
    border-bottom: 1px solid var(--line-l);
  }

  .nav.open .nav-links {
    display: flex;
  }

  /* Hero mobile: foto vira background em tela cheia, texto por cima */
  .hero {
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
  }

  .hero-photo {
    position: absolute;
    inset: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    overflow: hidden;
  }

  .hero-photo::before {
    content: none;
  }

  .hero-photo img {
    /* Karen + Matheus juntos — rostos um pouco mais altos */
    object-position: 48% 8%;
    transform: none;
  }

  /* rostos limpos no topo; texto na faixa escura da base */
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(23, 37, 30, 0.22) 0%, rgba(23, 37, 30, 0.02) 26%, rgba(23, 37, 30, 0.28) 48%, rgba(23, 37, 30, 0.86) 64%, rgba(23, 37, 30, 0.97) 100%);
    box-shadow: none;
  }

  .hero-inner {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* texto abaixo dos rostos — sem crop da Karen */
    padding: 64svh 0 4.2rem;
    gap: 0;
  }

  /* Eyebrow colado no topo, logo abaixo da nav */
  .hero-eyebrow {
    position: absolute;
    top: calc(5.4rem + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    margin: 0;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--sand);
    z-index: 3;
  }

  .hero .hero-title {
    color: var(--cream);
  }

  .hero .hero-title em {
    color: var(--sand);
  }

  .hero-sub {
    color: rgba(253, 251, 247, 0.94);
  }

  .hero-sub em {
    color: var(--sand);
  }

  .hero-sub-rule {
    background: var(--sand);
  }

  .hero-actions .btn-dark {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--pine);
  }

  .hero-actions .btn-outline {
    border-color: rgba(253, 251, 247, 0.55);
    color: var(--cream);
  }

  /* Nav sempre em vidro cream no mobile (legível sobre a foto) */
  .nav {
    background: rgba(253, 251, 247, 0.86);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
    border-bottom-color: var(--line-l);
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.6vw, 2.5rem);
    line-height: 0.98;
    margin-bottom: 0.6rem;
  }

  .ht-indent {
    margin-left: 0;
  }

  .hero-sub {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    gap: 0.65rem;
    margin-bottom: 1.1rem;
  }

  .hero-sub-rule {
    width: 1.8rem;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-side,
  .hero-caption,
  .hero-scroll {
    display: none;
  }

  .manifesto {
    padding: 5.5rem 0 4.5rem;
  }

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

  .manifesto-photo {
    justify-self: center;
    width: min(19rem, calc(100% - 2rem));
  }

  .manifesto-sign {
    margin-top: 1.4rem;
  }

  .pillars {
    margin-top: 3.5rem;
  }

  .pillar {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 2.2rem 0;
  }

  .pillar-num {
    font-size: 2.6rem;
    color: var(--brass);
  }

  .pillar-body {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .clinica {
    padding: 5.5rem 0 6rem;
  }

  .clinica-head {
    margin-bottom: 3rem;
  }

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

  .g1, .g2, .g3, .g4 {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .g-carousel-dots {
    bottom: 3.4rem;
  }

  .treatments {
    padding: 5.5rem 0 5rem;
  }

  .treat-head {
    margin-bottom: 2.5rem;
  }

  .ps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ps-stage {
    display: none;
  }

  .ps-item {
    grid-template-columns: 2.2rem 1fr;
    padding: 1.4rem 0;
  }

  .ps-action {
    display: none;
  }

  .ps-item:hover .ps-problem,
  .ps-item.is-active .ps-problem {
    transform: none;
  }

  .ps-item.is-active {
    padding-left: 0.9rem;
  }

  .ps-inline {
    grid-column: 1 / -1;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease);
  }

  .ps-item.is-active .ps-inline {
    display: block;
    max-height: 40rem;
    opacity: 1;
    margin-top: 1rem;
  }

  .ps-inline {
    display: block;
  }

  .ps-inline img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 4px solid var(--cream);
    margin-bottom: 1rem;
  }

  .ps-inline-title {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 0.4rem;
  }

  .ps-inline-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--cream-dim);
    margin-bottom: 0.6rem;
  }

  .treat-cta {
    margin-top: 2.6rem;
  }

  .treat-cta .btn {
    width: 100%;
  }

  .visit {
    padding: 5.5rem 0;
  }

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

  .map {
    min-height: 320px;
  }

  .cta {
    padding: 6rem 0;
  }

  .cta .btn-big {
    width: 100%;
  }

  .footer {
    padding-top: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-bottom: 3rem;
  }

  .footer-logo {
    height: 110px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .legal {
    padding: 8rem 0 4rem;
  }
}
