:root {
  --ink: #111111;
  --ink-soft: #292726;
  --graphite: #3d3d42;
  --stone: #e7e1d8;
  --porcelain: #f7f2ea;
  --champagne: #cdbb9d;
  --sand: #b8a88f;
  --sand-dark: #756a59;
  --sage: #7d8475;
  --sage-dark: #51584d;
  --mist: #efe8dd;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(17, 17, 17, 0.18);
  --shadow-soft: 0 18px 58px rgba(17, 17, 17, 0.1);
  --ring: rgba(125, 132, 117, 0.28);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max: 1180px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(205, 187, 157, 0.32), transparent 25rem),
    radial-gradient(circle at 92% 22%, rgba(125, 132, 117, 0.16), transparent 22rem),
    linear-gradient(135deg, #faf6ef 0%, #eee7dc 48%, #ded6ca 100%);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Respiro visual no desktop: equivale ao zoom-out de ~90% do navegador,
   que dá melhor encaixe e folga aos elementos em telas grandes.
   Aplicado só no desktop — no mobile manteria o texto pequeno demais. */
@media (min-width: 1024px) {
  html {
    zoom: 0.9;
  }
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
  z-index: 20;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(247, 242, 234, 0.58);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--shadow-soft);
}

.site-header {
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
  padding-block: 9px;
  background: rgba(247, 242, 234, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 34px rgba(17, 17, 17, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--porcelain);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a,
.footer-links a,
.treatment-card a,
.back-link {
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover,
.treatment-card a:hover,
.back-link:hover {
  color: var(--sage-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 4px;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.84fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  /* Preenche exatamente uma tela limpa no desktop. O /0.9 compensa o
     zoom global (o navegador mede 100dvh ANTES do zoom e depois encolhe),
     e o -70px desconta o header sticky para o hero não vazar a seção seguinte. */
  min-height: calc(100dvh / 0.9 - 70px);
  padding-top: clamp(28px, 5vw, 68px);
  padding-bottom: 20px;
}

.hero__veil {
  position: absolute;
  inset: auto 6% 4% auto;
  width: clamp(220px, 28vw, 380px);
  height: clamp(220px, 28vw, 380px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 132, 117, 0.14), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

/* ── Floating shapes + z-index das camadas do hero ──────────── */
.hero__content,
.hero__media {
  position: relative;
  z-index: 1;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__shape {
  position: absolute;
}

.hero__shape--ring-lg {
  width: 340px;
  height: 340px;
  top: -80px;
  right: -50px;
  border: 1px solid rgba(205, 187, 157, 0.22);
  border-radius: 50%;
  animation: shape-float-a 14s ease-in-out infinite;
}

.hero__shape--ring-md {
  width: 150px;
  height: 150px;
  top: 36%;
  left: -40px;
  border: 1px solid rgba(125, 132, 117, 0.18);
  border-radius: 50%;
  animation: shape-float-b 10s ease-in-out infinite;
  animation-delay: -3s;
}

.hero__shape--dot {
  border-radius: 50%;
}

.hero__shape--dot-1 {
  width: 8px;
  height: 8px;
  top: 14%;
  left: 9%;
  background: rgba(205, 187, 157, 0.48);
  animation: shape-float-c 9s ease-in-out infinite;
  animation-delay: -1.5s;
}

.hero__shape--dot-2 {
  width: 5px;
  height: 5px;
  bottom: 24%;
  right: 36%;
  background: rgba(125, 132, 117, 0.4);
  animation: shape-float-a 11s ease-in-out infinite;
  animation-delay: -5s;
}

.hero__shape--dot-3 {
  width: 12px;
  height: 12px;
  top: 52%;
  left: 44%;
  background: rgba(184, 168, 143, 0.28);
  animation: shape-float-b 13s ease-in-out infinite;
  animation-delay: -7s;
}

@keyframes shape-float-a {
  0%,  100% { transform: translate(0,     0)     rotate(0deg);  }
  33%        { transform: translate(7px,  -16px) rotate(4deg);  }
  66%        { transform: translate(-5px,  -9px) rotate(-2deg); }
}

@keyframes shape-float-b {
  0%,  100% { transform: translate(0,     0)     rotate(0deg);  }
  40%        { transform: translate(-9px, -12px) rotate(-5deg); }
  70%        { transform: translate(6px,  -20px) rotate(3deg);  }
}

@keyframes shape-float-c {
  0%,  100% { transform: translate(0,    0);     }
  50%        { transform: translate(5px, -14px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__shape { animation: none; }
}

.hero__glow {
  position: absolute;
  inset: 8% auto auto -18%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(205, 187, 157, 0.18);
  filter: blur(92px);
  opacity: 0.78;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

h1,
h2,
blockquote {
  font-family: var(--font-display);
  font-weight: 700;
}

h1 {
  max-width: 700px;
  font-size: clamp(3.35rem, 6vw, 5.85rem);
  line-height: 0.92;
}

.hero__content h1 {
  font-size: clamp(2.85rem, 4.9vw, 4.1rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero__lead,
.section-heading p,
.split__content p,
.about__content p,
.training__content p,
.proof__panel p {
  color: rgba(17, 17, 17, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.hero__lead {
  max-width: 560px;
  margin: 1.2rem 0 0;
}

.hero__pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.2rem 0.9rem;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.06);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.45rem 0 1.1rem;
}

.button--hero {
  min-width: min(100%, 330px);
  padding-inline: 1.5rem;
  box-shadow: 0 20px 52px rgba(81, 88, 77, 0.28);
}

.hero__link {
  display: inline-flex;
  align-items: center;
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.hero__link::after {
  content: "›";
  margin-left: 0.45rem;
  font-size: 1.15rem;
}

.hero__link:hover {
  color: var(--sage-dark);
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  background-clip: padding-box;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      transparent 74deg,
      rgba(255, 255, 255, 0.22) 94deg,
      rgba(247, 242, 234, 0.9) 108deg,
      rgba(205, 187, 157, 0.62) 122deg,
      transparent 150deg,
      transparent 360deg
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.button--primary {
  color: var(--white);
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.18), transparent 2.8rem),
    radial-gradient(circle at 78% 68%, rgba(205, 187, 157, 0.2), transparent 3.1rem),
    linear-gradient(180deg, rgba(14, 14, 14, 0.96), rgba(38, 36, 33, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 42px rgba(17, 17, 17, 0.2);
}

.button--ghost {
  border: 1px solid rgba(17, 17, 17, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.button--ghost:hover {
  border-color: rgba(81, 88, 77, 0.38);
  background: rgba(255, 255, 255, 0.62);
}

.button--dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #2a2825);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(17, 17, 17, 0.16);
}

.button--small {
  min-height: 42px;
  padding: 0 1rem;
  font-size: 0.86rem;
}

/* CTA principal: ponto de luz percorrendo a borda (champagne) */
@property --glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.button--glow::before {
  opacity: 1;
  transform: none;
  animation: button-glow-travel 3.4s linear infinite;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0%,
    transparent 58%,
    rgba(205, 187, 157, 0.5) 73%,
    rgba(247, 242, 234, 0.95) 82%,
    #ffffff 85%,
    rgba(247, 242, 234, 0.95) 88%,
    rgba(205, 187, 157, 0.45) 97%,
    transparent 100%
  );
}

@keyframes button-glow-travel {
  to {
    --glow-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button--glow::before {
    animation: none;
    opacity: 0.6;
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 600px;
  margin: 0;
}

.trust-strip div,
.intro__grid article,
.treatment-card,
.lead-card,
.training,
.faq details,
.proof__panel {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.trust-strip div {
  padding: 1rem;
  border-radius: 18px;
}

.trust-strip dt {
  color: rgba(17, 17, 17, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-strip dd {
  margin: 0.25rem 0 0;
  font-weight: 900;
  line-height: 1.15;
}

.hero__media picture,
.split__media,
.about__media,
.experience__photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.24);
}

.hero__media {
  position: relative;
  min-height: 610px;
  padding-top: clamp(0px, 2vw, 24px);
}

.hero__portrait {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__portrait--main {
  inset: 2% 3% 4% 8%;
  border-radius: 40px 40px 160px 40px;
}

.hero__portrait--main img {
  width: 100%;
  height: 100%;
  object-position: 50% 28%;
  transform: scale(1.3);
  transform-origin: center 20%;
}

.media-card {
  position: absolute;
  right: -18px;
  bottom: 8%;
  width: min(250px, 72%);
  padding: 1rem;
  border-radius: 20px;
  color: var(--porcelain);
  background: rgba(17, 17, 17, 0.72);
  box-shadow: 0 22px 70px rgba(17, 17, 17, 0.22);
  backdrop-filter: blur(14px);
}

.media-card--hero {
  right: auto;
  left: 9%;
  bottom: 6%;
  width: min(250px, 48%);
}

.media-card span {
  display: block;
  color: var(--champagne);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-card strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 2rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center h2 {
  margin-inline: auto;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.treatment-card {
  border-radius: var(--radius-md);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.treatments {
  position: relative;
}

.treatment-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
}

.treatment-card p {
  color: rgba(17, 17, 17, 0.68);
}

.treatment-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin: 0 0 0.85rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.treatment-card a {
  --gallery-cta-light: #ffffff;
  --gallery-cta-ring: rgba(205, 187, 157, 0.54);
  --gallery-cta-shadow: 0 18px 42px rgba(81, 88, 77, 0.22);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding: 0.74rem 1rem;
  border: 1px solid rgba(81, 88, 77, 0.18);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(135deg, var(--sage-dark), var(--sand-dark));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    var(--gallery-cta-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  backdrop-filter: blur(16px) saturate(1.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.treatment-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background:
    conic-gradient(
      from var(--gallery-cta-angle),
      transparent 0%,
      transparent 58%,
      rgba(205, 187, 157, 0.5) 73%,
      rgba(247, 242, 234, 0.95) 82%,
      var(--gallery-cta-light) 84%,
      rgba(247, 242, 234, 0.95) 88%,
      rgba(205, 187, 157, 0.45) 97%,
      transparent 100%
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.98;
  pointer-events: none;
  animation: gallery-cta-glow 3.3s linear infinite;
}

.treatment-card--entry {
  background:
    radial-gradient(circle at 88% 18%, rgba(205, 187, 157, 0.18), transparent 12rem),
    rgba(255, 255, 255, 0.54);
}

.treatment-card--pro {
  background:
    radial-gradient(circle at 84% 18%, rgba(125, 132, 117, 0.14), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(244, 240, 233, 0.7));
}

.treatment-card--accent {
  color: var(--porcelain);
  background:
    radial-gradient(circle at 92% 8%, rgba(205, 187, 157, 0.18), transparent 12rem),
    linear-gradient(145deg, var(--ink), #393936);
}

.treatment-card--accent h3,
.treatment-card--accent p,
.treatment-card--accent a {
  color: rgba(247, 242, 234, 0.82);
}

.treatment-card--accent a {
  --gallery-cta-light: #ffffff;
  --gallery-cta-ring: rgba(247, 242, 234, 0.5);
  --gallery-cta-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  border-color: rgba(247, 242, 234, 0.18);
  background: linear-gradient(135deg, var(--sage-dark), var(--sand-dark));
}

.treatment-card--accent .treatment-card__tag {
  color: rgba(247, 242, 234, 0.72);
  background: rgba(247, 242, 234, 0.12);
}

/* ── Identidade visual por procedimento ─────────────────────────── */
.treatment-card {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-card > * {
  position: relative;
  z-index: 2;
}

/* grão orgânico + shimmer de hover — sem arquivo externo */
.treatment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(108deg, transparent 38%, rgba(255, 255, 255, 0.13) 50%, transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 300% 100%, 180px 180px;
  background-position: -200% center, 0 0;
  mix-blend-mode: soft-light;
  opacity: 0.85;
  pointer-events: none;
  transition: background-position 0.75s ease;
}

.treatment-card--accent::before {
  opacity: 0.5;
}

@media (hover: hover) {
  .treatment-card:hover::before {
    background-position: 220% center, 0 0;
  }
}

/* textura SVG por procedimento */
.treatment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: var(--tex-op, 0.18);
  transition: opacity 0.45s ease;
}

/* Botox — ondas horizontais longas: suavidade e fluidez muscular */
.treatment-card[data-proc="botox"] { --tex-op: 0.20; }
.treatment-card[data-proc="botox"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.012%200.18' numOctaves='4' seed='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
  background-position: right center;
  mix-blend-mode: soft-light;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 85% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 90% at 85% 50%, #000 30%, transparent 80%);
}

/* Preenchimento Labial — suavidade sedosa: volume e contorno */
.treatment-card[data-proc="preenchimento"] { --tex-op: 0.18; }
.treatment-card[data-proc="preenchimento"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.44' numOctaves='4' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
  background-position: center bottom;
  mix-blend-mode: soft-light;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 100%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 100%, #000 20%, transparent 75%);
}

/* Ultraformer — ondas longas e profundas: energia ultrassônica nas camadas */
.treatment-card[data-proc="ultraformer"] { --tex-op: 0.20; }
.treatment-card[data-proc="ultraformer"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.06%200.1' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
  background-position: center;
  mix-blend-mode: soft-light;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 85%, #000 15%, transparent 72%);
          mask-image: radial-gradient(ellipse 85% 80% at 50% 85%, #000 15%, transparent 72%);
}

/* CO2 — névoa densa: transformação profunda sobre o card escuro */
.treatment-card[data-proc="co2"] { --tex-op: 0.28; }
.treatment-card[data-proc="co2"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.22%200.28' numOctaves='5' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
  background-position: center top;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, #000 10%, transparent 70%);
}

/* hover: lift + borda champagne + textura intensifica */
@media (hover: hover) {
  .treatment-card:hover {
    transform: translateY(-3px);
    border-color: rgba(205, 187, 157, 0.7);
    box-shadow: 0 20px 46px rgba(125, 132, 117, 0.18);
  }

  .treatment-card--accent:hover {
    border-color: rgba(205, 187, 157, 0.4);
    box-shadow: 0 22px 52px rgba(17, 17, 17, 0.32);
  }

  .treatment-card:hover::after {
    opacity: calc(var(--tex-op, 0.18) + 0.08);
  }
}

.split,
.about {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.split__media img,
.about__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split__content,
.about__content {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.4rem 0 2rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-dark);
  box-shadow: 0 0 0 8px rgba(125, 132, 117, 0.12);
}

.proof {
  padding-block: 42px;
}

.experience {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.experience__media {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 0.52fr;
  gap: 1rem;
  align-items: end;
}

.experience__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience__photo--tall {
  border-radius: 34px 120px 34px 34px;
}

.experience__photo--wide {
  margin-top: 90px;
  aspect-ratio: 1 / 1;
  border-radius: 28px 28px 28px 110px;
}

.experience__photo--wide img {
  object-position: center 55%;
}

.experience__content {
  max-width: 600px;
}

.section-lead {
  max-width: 760px;
  color: rgba(17, 17, 17, 0.62);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.section-heading--center .section-lead {
  margin-inline: auto;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(205, 187, 157, 0.14), transparent 12rem),
    linear-gradient(158deg, rgba(247, 242, 234, 0.9), rgba(231, 225, 216, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
}

.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  flex: 1;
}

.testimonial-card blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--graphite);
}

.testimonial-card__via {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.38);
}

.testimonial-card__source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 1px;
  color: #F9AB00;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.google-logo {
  flex-shrink: 0;
}

.testimonial-card--instagram .testimonial-card__source {
  margin-bottom: 0.7rem;
}

.instagram-logo {
  flex-shrink: 0;
}

.about {
  grid-template-columns: 1fr 0.72fr;
}

.about__content h2 {
  max-width: 640px;
}

.about__content p {
  max-width: 560px;
}

.about__media {
  justify-self: end;
  max-width: 460px;
  border-radius: 40px 40px 160px 40px;
}

.about__media img {
  object-position: center 40%;
  transform: scale(1.5);
  transform-origin: center center;
}

/* Zoom suave nas fotos no hover (preserva os crops existentes) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .about__media img,
  .hero__portrait--main img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .about__media:hover img {
    transform: scale(1.57);
  }

  .hero__portrait--main:hover img {
    transform: scale(1.37);
  }
}

.lead-section {
  padding-top: 38px;
}

.lead-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 5vw, 4rem);
}

.lead-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/dra-ana-delazari-estetica-avancada-balneario-camboriu-hero.webp') 68% 30% / cover no-repeat;
  opacity: 0.25;
  pointer-events: none;
}

.lead-card > * {
  position: relative;
  z-index: 1;
}

.lead-card h2 {
  max-width: 480px;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.lead-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.lead-left > p.eyebrow,
.lead-left > h2,
.lead-left > p:not(.eyebrow) {
  align-self: flex-start;
}

.lead-photo {
  width: 100%;
  max-width: 340px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.lead-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 16px;
  padding: 0.92rem 1rem;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px var(--ring);
}

.form-note {
  margin: 0;
  color: rgba(17, 17, 17, 0.55);
  font-size: 0.82rem;
}

.faq__list {
  display: grid;
  gap: 0.9rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.faq details {
  border-radius: 20px;
  padding: 1.2rem 1.35rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin-bottom: 0;
  color: rgba(17, 17, 17, 0.68);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 38px 0 120px;
  color: rgba(17, 17, 17, 0.65);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.footer-cities {
  font-size: 0.78rem;
  color: rgba(17, 17, 17, 0.38);
  margin-top: 0.45rem !important;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-weight: 900;
}

.floating-cta {
  position: fixed;
  z-index: 11;
  right: 18px;
  bottom: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  z-index: 12;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 36px), 760px);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  color: var(--porcelain);
  background: rgba(17, 17, 17, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 70px rgba(17, 17, 17, 0.28);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.84rem;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
}

.cookie-banner .button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(247, 242, 234, 0.72);
  background: transparent;
}

.cookie-banner .button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Google rating badge ─────────────────────────────────────── */
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.06);
}

.google-rating__score {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--ink);
}

.google-rating__stars {
  color: #F9AB00;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.google-rating__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.48);
}

/* ── Cert badges (seção Sobre) ───────────────────────────────── */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(81, 88, 77, 0.22);
  background: rgba(125, 132, 117, 0.08);
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.cookie-banner.is-hiding {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.legal-page {
  /* mesma compensação de zoom do hero: evita vão na base no desktop */
  min-height: calc(100dvh / 0.9);
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-card {
  width: min(100%, 860px);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 28px;
    align-items: center;
  }

  .nav {
    display: none;
  }

  .hero,
  .split,
  .experience,
  .about,
  .lead-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__media {
    order: -1;
    max-width: 620px;
    min-height: 500px;
    justify-self: center;
    width: 100%;
    padding-top: 0;
  }

  .hero__content {
    order: 1;
  }

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

  .about__media {
    order: -1;
    max-width: 520px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  body {
    padding-bottom: 84px;
  }

  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 10px;
    gap: 0.65rem;
  }

  .brand__text {
    font-size: 0.82rem;
    letter-spacing: -0.01em;
  }

  .site-header .button {
    width: auto;
    min-height: 38px;
    padding-inline: 0.9rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .section {
    width: min(calc(100% - 24px), var(--max));
    padding-block: 54px;
  }

  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.11em;
    margin-bottom: 0.65rem;
  }

  .section-heading {
    margin-bottom: 1.25rem;
  }

  h1 {
    font-size: clamp(3.05rem, 17vw, 5rem);
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .lead-card h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  h3 {
    font-size: 1.22rem;
  }

  .hero {
    gap: 1.15rem;
    padding-top: 28px;
  }

  .hero__lead,
  .section-heading p,
  .split__content p,
  .about__content p,
  .experience__content p {
    font-size: 0.98rem;
  }

  .hero__actions,
  .treatment-grid {
    grid-template-columns: 1fr;
  }

  .hero__pill-row {
    gap: 0.6rem;
    margin-top: 0.1rem;
  }

  .hero-pill {
    min-height: 36px;
    font-size: 0.74rem;
  }

  .hero__actions {
    align-items: stretch;
    gap: 0.55rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 1rem;
    text-align: center;
  }

  .button--hero {
    min-width: 0;
  }

  .hero__link {
    justify-content: center;
    min-height: 24px;
    font-size: 0.9rem;
    text-align: center;
  }

  .trust-strip div,
  .treatment-card,
  .lead-card,
  .faq details {
    border-radius: 20px;
  }

  .hero__media {
    min-height: 420px;
  }

  .hero__portrait--main {
    inset: 0;
    border-radius: 28px 28px 82px 28px;
  }

  .media-card {
    right: 10px;
    bottom: 10px;
    width: min(230px, calc(100% - 20px));
    padding: 0.85rem;
  }

  .media-card strong {
    font-size: 1.24rem;
  }

  .lead-card {
    padding: 1.15rem;
  }

  .media-card--hero {
    left: 12px;
    bottom: 12px;
    width: min(195px, calc(100% - 24px));
  }

  .trust-strip {
    gap: 0.65rem;
  }

  .trust-strip div {
    padding: 0.85rem 0.95rem;
  }

  h1 {
    font-size: clamp(2.75rem, 12.8vw, 4.2rem);
    line-height: 0.96;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
  }

  .floating-cta .button {
    width: 100%;
    box-shadow: 0 14px 38px rgba(17, 17, 17, 0.22);
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    gap: 0.7rem;
  }

  body.has-cookie-banner .floating-cta {
    display: none;
  }

  .experience__media,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .experience__photo--wide {
    margin-top: 0;
  }

  .about__media {
    justify-self: stretch;
    max-width: none;
  }

  .about__media img {
    transform: scale(1.2);
    object-position: center 30%;
  }

  .site-footer {
    padding-bottom: 42px;
  }
}

@media (max-width: 390px) {
  .site-header .button {
    padding-inline: 0.72rem;
    font-size: 0.72rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(2.76rem, 16vw, 4.25rem);
  }
}

/* ── Social proof band ───────────────────────────────────────── */
.social-proof {
  background: var(--ink);
  width: 100%;
}

.social-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 1rem 0;
}

.social-proof__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.6rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.social-proof__item:last-child {
  border-right: 0;
}

.social-proof__number {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  color: var(--champagne);
  line-height: 1;
}

.social-proof__label {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  color: rgba(205, 187, 157, 0.55);
  line-height: 1.3;
}

.social-proof__quote {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-style: italic;
  font-weight: 400;
  color: var(--champagne);
  line-height: 1.3;
}

@media (max-width: 640px) {
  .social-proof__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem 0;
  }

  .social-proof__item:nth-child(2) {
    border-right: 0;
  }

  .social-proof__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 1rem;
  }

  .social-proof__item:nth-child(3),
  .social-proof__item:nth-child(4) {
    border-bottom: 0;
  }
}

/* ── Experience placeholders ─────────────────────────────────── */

/* ── Gallery Modal ────────────────────────────────────────────── */
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.62);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.gallery-modal__panel {
  position: relative;
  width: min(100%, 780px);
  max-height: min(88dvh, 680px);
  overflow-y: auto;
  border-radius: 28px;
  padding: clamp(1.25rem, 3vw, 2rem);
  padding-top: 3rem;
  background: var(--porcelain);
  box-shadow: 0 32px 96px rgba(17, 17, 17, 0.32);
  scrollbar-width: thin;
  scrollbar-color: var(--champagne) transparent;
}

.gallery-modal__panel::-webkit-scrollbar {
  width: 8px;
}

.gallery-modal__panel::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0;
}

.gallery-modal__panel::-webkit-scrollbar-thumb {
  background: var(--champagne);
  border-radius: 999px;
}

.gallery-modal__panel::-webkit-scrollbar-thumb:hover {
  background: var(--sand);
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-modal__panel {
    animation: modal-rise 260ms ease both;
  }
}

.gallery-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  transition: background 180ms ease;
}

.gallery-modal__close:hover {
  background: var(--white);
}

.gallery-modal__eyebrow {
  margin-bottom: 0.4rem;
}

.gallery-modal__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gallery-modal__grid {
  display: block;
  margin-bottom: 1.75rem;
}

/* ── Slider Antes/Depois ──────────────────────────────────────── */
.ba-slider {
  --ba-pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: min(100%, 460px);
  margin: 0 auto 1.4rem;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow-soft);
  user-select: none;
  touch-action: none;
}

.ba-slider.ba-slider--portrait {
  aspect-ratio: 3 / 4;
  max-width: min(100%, 300px);
}

.ba-slider__img,
.ba-slider__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba-slider__panel {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem 1.2rem;
}

.ba-slider__panel span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.5);
  color: var(--porcelain);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.ba-slider__panel--after {
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(135deg, var(--champagne), var(--porcelain));
}

.ba-slider__panel--before {
  background: linear-gradient(135deg, var(--graphite), var(--sand-dark));
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.12);
  pointer-events: none;
}

.ba-slider__handle::after {
  content: "‹  ›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* ── Grade de resultados ──────────────────────────────────────── */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.05);
  cursor: pointer;
}

.gallery-thumb--placeholder {
  cursor: default;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

.gallery-thumb__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(231, 225, 216, 0.5) 30%,
    rgba(247, 242, 234, 0.95) 50%,
    rgba(231, 225, 216, 0.5) 70%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-thumb__shimmer { animation: none; }
}

/* ── Lightbox ─────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal__footer {
  display: flex;
  justify-content: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.gallery-modal__cta {
  min-width: min(100%, 420px);
}

@media (max-width: 640px) {
  .gallery-modal {
    padding: 0;
    align-items: flex-end;
  }

  .gallery-modal__panel {
    border-radius: 24px 24px 0 0;
    max-height: min(93dvh, 93svh);
  }

  .ba-slider {
    max-width: min(100%, 360px);
  }

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

/* ── Reveal na rolagem ────────────────────────────────────────────
   Elementos com [data-reveal] entram conforme cruzam o viewport.
   O IntersectionObserver (script.js) adiciona .is-visible.
   Elementos acima da dobra revelam no load (já estão visíveis). */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  [data-reveal="left"]  { transform: translateX(-40px); }
  [data-reveal="right"] { transform: translateX(40px); }
  [data-reveal="scale"] { transform: scale(0.94); }
  [data-reveal="blur"]  { filter: blur(8px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1), filter 0.9s ease; }

  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Parallax sutil dos elementos decorativos do hero */
@media (prefers-reduced-motion: no-preference) {
  .hero__glow,
  .hero__veil {
    will-change: transform;
  }
}

/* Links "Ver os resultados" — texto limpo com seta que desliza no hover */
.treatment-card a[data-gallery] {
  gap: 0.45rem;
  padding-right: 0.88rem;
}

.treatment-card a[data-gallery]::after {
  content: "›";
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  transition: transform 180ms ease, text-shadow 180ms ease;
}

.treatment-card a[data-gallery]:hover {
  transform: translateY(-2px);
  border-color: var(--gallery-cta-ring);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 44px rgba(81, 88, 77, 0.26);
}

.treatment-card a[data-gallery]:hover::after {
  transform: translateX(4px);
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.34);
}

.treatment-card a[data-gallery]:focus-visible {
  outline: none;
  border-color: var(--gallery-cta-ring);
  color: var(--white);
  box-shadow:
    0 0 0 4px rgba(205, 187, 157, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 36px rgba(81, 88, 77, 0.22);
}

@property --gallery-cta-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes gallery-cta-glow {
  to {
    --gallery-cta-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .treatment-card a::before {
    animation: none;
    opacity: 0.7;
  }
}

@media (max-width: 640px) {
  .treatment-card a {
    min-height: 42px;
    padding: 0.66rem 0.88rem;
    font-size: 0.78rem;
    letter-spacing: -0.01em;
  }

  .treatment-card a[data-gallery] {
    gap: 0.36rem;
    padding-right: 0.72rem;
  }

  .treatment-card a[data-gallery]::after {
    font-size: 0.9rem;
  }
}


/* Link ghost do hero — underline que cresce no hover */
.hero__link {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size 220ms ease, color 180ms ease;
}

.hero__link:hover {
  background-size: 100% 1.5px;
}

.hero__link::after {
  transition: transform 180ms ease;
}

.hero__link:hover::after {
  transform: translateX(3px);
}
