/* =====================================================================
   Dr. Márcio Teixeira — Dermatologia · main.css
   Light & premium. One disciplined teal, Cormorant display over Poppins,
   generous whitespace, soft teal-tinted shadows, calm motion.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Tokens                                                          */
/* ------------------------------------------------------------------ */
:root {
  /* brand teal + variants */
  --marca: #057f7f;
  --marca-deep: #044d4d;
  --marca-bright: #19b3a6;
  --marca-ink: #055f5f;
  --marca-soft: #e8f4f4;
  --marca-wash: #f1f8f8;

  /* surfaces & ink */
  --branco: #ffffff;
  --neve: #f4f9f9;
  --nevoa: #eaf3f3;
  --tinta: #16302f;
  --tinta-muted: #566b6a;
  --tinta-soft: #8aa0a0;
  --linha: rgba(5, 127, 127, 0.12);

  /* warm accent — "beleza da pele" */
  --areia: #e9ded2;
  --areia-deep: #cdb6a2;
  --nude: #d8c4b4;

  /* Método 4D eixo accents — kept within the brand family
     (four teal depths; no off-brand bronze/gold). */
  --eixo-1: #19b3a6;
  --eixo-2: #057f7f;
  --eixo-3: #044d4d;
  --eixo-4: #3f8a82;

  /* gradients */
  --grad-marca: linear-gradient(140deg, #19b3a6 0%, #057f7f 52%, #044d4d 100%);
  --grad-spa: linear-gradient(180deg, #f4f9f9 0%, #ffffff 100%);
  --grad-deep: linear-gradient(160deg, #057f7f 0%, #03403f 100%);
  --grad-pele: linear-gradient(135deg, #f4f9f9 0%, #efe6dc 100%);

  /* type */
  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-body: "Poppins", "Helvetica Neue", system-ui, sans-serif;

  /* spacing / layout */
  --container: 1200px;
  --container-narrow: 720px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 80px);
  --nav-h: 92px;

  /* radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* motion */
  --ease-calm: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-glide: cubic-bezier(0.65, 0, 0.35, 1);
  --float: 7s;

  /* z-index */
  --z-base: 0;
  --z-divider: 1;
  --z-content: 2;
  --z-float: 60;
  --z-nav: 100;
  --z-scrim: 110;
  --z-drawer: 120;
  --z-lightbox: 200;
}

/* ------------------------------------------------------------------ */
/* 2. Reset & base                                                    */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg,
video { display: block; max-width: 100%; }

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

button { font: inherit; color: inherit; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--marca);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* loading guard — body.is-loading hides reveal flashes until JS boots */
body.is-loading * { transition: none !important; }

/* font guard — hold the stats row hidden until webfonts settle, so the wider
   fallback font never paints its wrapped (scrambled) two-row state before the
   display font swaps in and reflows it back to a single row */
body.fonts-pending .stats { visibility: hidden; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--marca);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s var(--ease-soft);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }
/* Aligns a section's content to the nav edges (same max-width + padding). */
.container--diff { max-width: var(--container-wide); padding-inline: clamp(20px, 5vw, 56px); }

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

/* ------------------------------------------------------------------ */
/* 3. Reveal / reduced-motion contract                                */
/* ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-calm), transform 0.8s var(--ease-calm);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--slow { transition-duration: 0.9s; }
.reveal--quick { transition-duration: 0.7s; }
.reveal--lift { transform: translateY(28px); }
.reveal--lift.is-in { transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

.curve-draw path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease-calm);
}
.curve-draw.is-in path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .parallax { transform: none !important; }
  .curve-draw path { stroke-dashoffset: 0 !important; }
}

/* ------------------------------------------------------------------ */
/* 4. Buttons                                                         */
/* ------------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  border: 0;
  font: 600 15px/1 var(--font-body);
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  transition: transform 0.28s var(--ease-calm), box-shadow 0.28s var(--ease-soft),
    background-color 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
}
.btn__icon { width: 19px; height: 19px; flex: none; }

.btn--primary {
  background: var(--grad-marca);
  color: #fff;
  box-shadow: 0 12px 30px rgba(5, 127, 127, 0.26);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(5, 127, 127, 0.34);
}
.btn--primary:active { transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--marca-ink);
  box-shadow: inset 0 0 0 1.5px var(--marca);
}
.btn--ghost:hover {
  background: var(--marca);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1.5px var(--marca), 0 14px 32px rgba(5, 127, 127, 0.24);
}

.btn--whatsapp {
  background: var(--marca);
  color: #fff;
  box-shadow: 0 12px 30px rgba(5, 127, 127, 0.22);
}
.btn--whatsapp:hover {
  background: var(--marca-deep);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(5, 127, 127, 0.30);
}

.btn--on-deep { background: #fff; color: var(--marca-deep); box-shadow: 0 12px 30px rgba(3, 32, 31, 0.28); }
.btn--on-deep:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(3, 32, 31, 0.36); }
.btn--ghost-on-deep { background: rgba(255, 255, 255, 0.10); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.btn--ghost-on-deep:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transform: none; }
}

/* ------------------------------------------------------------------ */
/* 5. Eyebrow + section head                                          */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marca-ink);
}
.eyebrow__rule { width: 28px; height: 1.5px; border-radius: 2px; background: var(--marca); }
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.eyebrow--light .eyebrow__rule { background: rgba(255, 255, 255, 0.7); }

.head { max-width: 720px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--wide { max-width: 940px; }

.head__title,
.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: 0.005em;
  color: var(--tinta);
  text-wrap: balance;
}
.hl { color: var(--marca-ink); }
.hl--italic { font-style: italic; font-weight: 500; color: var(--marca-ink); }

.head__lede,
.section__lede {
  margin: 22px 0 0;
  max-width: 640px;
  font: 400 clamp(17px, 1.5vw, 20px)/1.7 var(--font-body);
  color: var(--tinta-muted);
}
.head--center .head__lede,
.head--center .section__lede { margin-inline: auto; }

/* ------------------------------------------------------------------ */
/* 6. Navigation (glass → solid)                                      */
/* ------------------------------------------------------------------ */
/* Floating island nav — a detached glass pill that hovers over the page */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  padding: clamp(14px, 2vw, 22px) clamp(14px, 4vw, 30px) 0;
  pointer-events: none; /* clicks pass through the gaps beside the pill */
  animation: nav-drop 0.85s var(--ease-glide) both;
}
.nav__inner {
  pointer-events: auto;
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 11px 12px 11px 26px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 18px 50px rgba(3, 64, 63, 0.22);
  transition: background 0.4s var(--ease-glide), box-shadow 0.4s var(--ease-glide),
    border-color 0.4s var(--ease-glide), padding 0.35s var(--ease-glide);
}
.nav__brand { display: inline-flex; flex: none; }
.nav__logo { height: 42px; width: auto; transition: height 0.35s var(--ease-glide); }
.nav__logo--solid { display: none; }

.nav__links {
  position: relative;
  display: flex;
  gap: 2px;
  margin-inline: auto;
}
/* sliding indicator — a single pill that glides between links on hover/focus,
   resting under the current page. Positioned via JS-set CSS vars. */
.nav__indicator {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: var(--ind-w, 0);
  transform: translateX(var(--ind-x, 0));
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  opacity: var(--ind-o, 0);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.42s var(--ease-glide), width 0.42s var(--ease-glide),
    opacity 0.3s var(--ease-soft), background 0.4s var(--ease-glide);
}
.nav__link {
  position: relative;
  z-index: 1;
  flex: none;
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font: 500 15px/1 var(--font-body);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.25s var(--ease-soft);
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] { color: #fff; }

.nav__cta { flex: none; min-height: 46px; padding: 13px 24px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
}
.nav__burger span {
  width: 24px; height: 2px; border-radius: 2px;
  background: #fff;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-glide), opacity 0.2s;
}

/* solid state (scrolled, or inner pages via .nav--solid):
   the glass pill condenses into a frosted-white floating capsule */
.nav.is-solid .nav__inner,
.nav--solid .nav__inner {
  max-width: 1160px; /* micro-shrink: the pill condenses as you scroll (fits all 7 links) */
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(5, 127, 127, 0.12);
  box-shadow: 0 16px 42px rgba(5, 127, 127, 0.16), 0 3px 10px rgba(22, 48, 47, 0.06);
  padding-top: 9px;
  padding-bottom: 9px;
}
.nav.is-solid .nav__logo,
.nav--solid .nav__logo { height: 38px; }
.nav.is-solid .nav__indicator,
.nav--solid .nav__indicator { background: var(--marca-soft); }
.nav.is-solid .nav__logo--light,
.nav--solid .nav__logo--light { display: none; }
.nav.is-solid .nav__logo--solid,
.nav--solid .nav__logo--solid { display: block; }
.nav.is-solid .nav__link,
.nav--solid .nav__link { color: var(--marca-ink); }
.nav.is-solid .nav__link:hover,
.nav.is-solid .nav__link:focus-visible,
.nav--solid .nav__link:hover,
.nav--solid .nav__link:focus-visible,
.nav.is-solid .nav__link[aria-current="page"],
.nav--solid .nav__link[aria-current="page"] { color: var(--marca-deep); }
.nav.is-solid .nav__burger span,
.nav--solid .nav__burger span { background: var(--marca-deep); }

@media (max-width: 980px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav__inner { padding: 8px 8px 8px 20px; gap: 12px; }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav { animation: none; }
  .nav__indicator { transition: opacity 0.2s var(--ease-soft); }
}

/* mobile drawer */
.nav-scrim {
  position: fixed; inset: 0;
  z-index: var(--z-scrim);
  background: rgba(4, 77, 77, 0.32);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease-soft), visibility 0.35s var(--ease-soft);
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: var(--z-drawer);
  width: min(86vw, 380px);
  padding: clamp(80px, 14vh, 120px) 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--branco);
  box-shadow: -20px 0 60px rgba(4, 77, 77, 0.18);
  transform: translateX(100%);
  transition: transform 0.42s var(--ease-glide);
  will-change: transform;
}
.drawer.is-open { transform: none; }
.drawer__link {
  padding: 14px 16px;
  border-radius: var(--r-md);
  font: 500 18px/1 var(--font-body);
  color: var(--tinta);
  transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
.drawer__link:hover,
.drawer__link[aria-current="page"] { background: var(--marca-soft); color: var(--marca-deep); }
.drawer__cta { margin-top: 22px; }
.drawer__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--marca-soft); color: var(--marca-deep);
  border: 0; cursor: pointer; font-size: 24px; line-height: 1;
}

/* ------------------------------------------------------------------ */
/* 7. WhatsApp float                                                  */
/* ------------------------------------------------------------------ */
.wpp {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  animation: wpp-in 0.8s var(--ease-calm) 0.7s both;
}

/* hover-reveal pill label (left of the button) */
.wpp__label {
  max-width: 0;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  font: 600 0.9rem/1 var(--font-body);
  letter-spacing: 0.005em;
  color: var(--marca-deep, #044d4d);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(5, 127, 127, 0.16);
  opacity: 0;
  transform: translateX(10px);
  transition: max-width 0.46s var(--ease-calm), opacity 0.32s var(--ease-soft),
    transform 0.46s var(--ease-calm), padding 0.46s var(--ease-calm),
    margin 0.46s var(--ease-calm);
}

/* the round button */
.wpp__btn {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex: none;
  background: linear-gradient(150deg, #2ce86c 0%, #25d366 45%, #12b34f 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(18, 179, 79, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  animation: wpp-breathe 3.8s var(--ease-calm) infinite;
  transition: transform 0.26s var(--ease-calm), box-shadow 0.26s var(--ease-soft);
}
.wpp__icon {
  width: 30px; height: 30px;
  transform-origin: 52% 58%;
  animation: wpp-wiggle 5s var(--ease-calm) 2.2s infinite;
}

/* radar ripple rings */
.wpp__rings { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.wpp__rings::before,
.wpp__rings::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wpp-ring 3s var(--ease-soft) infinite;
}
.wpp__rings::after { animation-delay: 1.5s; }

/* unread-style pip */
.wpp__pip {
  position: absolute; top: -3px; right: -3px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid; place-items: center;
  font: 700 11px/1 var(--font-body);
  color: #fff;
  background: #ec4d4d;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  animation: wpp-pip 0.5s var(--ease-calm) 1.6s both;
}

.wpp:hover .wpp__btn,
.wpp:focus-visible .wpp__btn {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 22px 48px rgba(18, 179, 79, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}
.wpp:hover .wpp__label,
.wpp:focus-visible .wpp__label {
  max-width: 260px;
  opacity: 1;
  transform: translateX(0);
  padding: 12px 18px;
  margin-right: 14px;
}

@keyframes wpp-in {
  from { opacity: 0; transform: translateY(22px) scale(0.82); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wpp-breathe {
  0%, 100% { box-shadow: 0 14px 34px rgba(18, 179, 79, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
  50% { box-shadow: 0 18px 42px rgba(18, 179, 79, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
}
@keyframes wpp-wiggle {
  0%, 84%, 100% { transform: rotate(0); }
  87% { transform: rotate(-13deg); }
  90% { transform: rotate(11deg); }
  93% { transform: rotate(-7deg); }
  96% { transform: rotate(4deg); }
}
@keyframes wpp-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.85); opacity: 0; }
}
@keyframes wpp-pip {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .wpp { animation: none; }
  .wpp__btn { animation: none; }
  .wpp__icon { animation: none; }
  .wpp__rings::before,
  .wpp__rings::after { animation: none; opacity: 0; }
  .wpp__pip { animation: none; }
}

/* ------------------------------------------------------------------ */
/* 8. Video hero                                                      */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-deep);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 77, 77, 0.55) 0%, rgba(4, 77, 77, 0.30) 40%, rgba(3, 64, 63, 0.72) 100%),
    radial-gradient(120% 90% at 18% 70%, rgba(3, 64, 63, 0.45), transparent 60%);
}

/* Lateral rails — vertical heritage marks flanking the hero.
   The strip is centred on a fixed gutter (--rail-gutter) regardless of
   text length, so both sides sit at the same inset. The hero content
   reserves --hero-px ≥ rail strip so the title never overlaps them. */
.hero {
  --rail-gutter: 30px;
  --hero-px: clamp(64px, 5vw, 76px);
}
.hero__rail {
  position: absolute;
  top: 50%;
  transform-origin: center;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  z-index: 2;
  text-shadow: 0 1px 12px rgba(3, 64, 63, 0.55);
}
.hero__rail--left  { left: var(--rail-gutter);  transform: translate(-50%, -50%) rotate(-90deg); }
.hero__rail--right { right: var(--rail-gutter); transform: translate(50%, -50%) rotate(-90deg); }
.hero__rail-bar {
  width: 30px;
  height: 1px;
  background: var(--marca-bright);
  opacity: 0.85;
}

.hero__inner {
  max-width: var(--container-wide);
  width: 100%;
  margin-inline: auto;
  padding: calc(var(--nav-h) + 40px) var(--hero-px) 80px;
  position: relative;
  z-index: 1;
}
.hero__copy { max-inline-size: 940px; }
.hero__eyebrow {
  margin: 0 0 22px;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero__title {
  margin: 0;
  max-width: 17ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: #fff;
}
.hl-light { color: #fff; font-style: italic; font-weight: 500; }
.hero__lede {
  margin: 24px 0 0;
  max-width: 56ch;
  font: 300 clamp(17px, 1.6vw, 21px)/1.6 var(--font-body);
  color: rgba(255, 255, 255, 0.90);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  z-index: 2;
}
.hero__cue-line {
  width: 1.5px; height: 40px;
  background: linear-gradient(rgba(255, 255, 255, 0.8), transparent);
  animation: cue-drift 2.6s var(--ease-calm) infinite;
}
@keyframes cue-drift {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 1; }
}

.hero__pause {
  /* Bottom-left: the WhatsApp float sits bottom-right, so the video
     control lives on the opposite corner to avoid overlapping it. */
  position: absolute;
  left: clamp(16px, 4vw, 40px); bottom: 24px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease-soft);
}
.hero__pause:hover { background: rgba(255, 255, 255, 0.26); }
.hero__pause svg { width: 18px; height: 18px; }
.hero__pause .icon-play { display: none; }
.hero__pause.is-paused .icon-pause { display: none; }
.hero__pause.is-paused .icon-play { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero__cue-line { animation: none; }
}
@media (max-width: 600px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  /* vertical rails clip off-canvas on narrow screens — reclaim the padding */
  .hero__rail { display: none; }
  .hero { --hero-px: clamp(20px, 5vw, 28px); }
  /* the scroll cue collided with the stacked CTA buttons; redundant on touch */
  .hero__cue { display: none; }
  .hero::after {
    content: "";
    position: absolute; inset: auto 0 0 0; height: 56vh; z-index: 0;
    background: linear-gradient(180deg, transparent, rgba(4, 77, 77, 0.78));
  }
  .hero__inner { z-index: 1; }
}

/* ------------------------------------------------------------------ */
/* 9. Sections — grounds, head, dividers                              */
/* ------------------------------------------------------------------ */
.section {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding-block: clamp(64px, 9vw, 134px);
  background: var(--branco);
}
.section--branco { background: var(--branco); }
.section--neve { background: var(--neve); }
.section--nevoa { background: var(--nevoa); }
.section--areia { background: var(--areia); }
.section--deep { background: var(--grad-deep); color: var(--neve); }

.section__head {
  position: relative;
  z-index: var(--z-content);
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section__head--left { margin-inline: 0; text-align: left; }
.section__head--left .section__lede { margin-inline: 0; }

.section__body { position: relative; z-index: var(--z-content); }

/* Fio de cabelo lateral — um por seção, na margem livre (gerado por main.js).
   Vive em z-base (atrás do conteúdo, acima do fundo). overflow:clip da .section
   faz o fio encostar e sumir exatamente na divisa. */
.fio-sec {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-base);
  pointer-events: none;
}
.fio-sec__main {
  stroke-width: 1.3px;
  opacity: 0.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fio-sec__sheen {
  stroke-width: 2.4px;
  opacity: 0;
  stroke-linecap: round;
  filter: url(#fio-soft);
}
@media (prefers-reduced-motion: reduce) {
  .fio-sec__sheen { opacity: 0 !important; }
}

/* fluid grids */
.grid {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr));
}
.grid--diff { --min: 220px; }
.grid--axes { --min: 250px; }
.grid--treat { --min: 260px; }

/* Diferenciais (5 cards) — flex so the row stays centered when it wraps
   (5 across on desktop, 3+2 / 2+2+1 centered below, 1 on small phones). */
.diff-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 1.8vw, 26px);
}
.diff-grid .diff-card {
  flex: 1 1 196px;
  min-width: 0; /* lets the flex algorithm size every card equally,
                   ignoring each card's longest-word intrinsic floor */
  max-width: 340px;
}
@media (max-width: 520px) {
  .diff-grid .diff-card { flex-basis: 100%; max-width: none; }
}

/* Método 4D (4 cards) — explicit grid: 4 across → 2×2 → 1, never an orphan. */
.axes-grid {
  display: grid;
  gap: clamp(20px, 2.2vw, 26px);
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .axes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .axes-grid { grid-template-columns: 1fr; }
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
@media (max-width: 880px) {
  .grid-12 { grid-template-columns: 1fr; gap: clamp(24px, 5vw, 40px); }
  .col-7, .col-6, .col-5 { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ */
/* 10. Before/After comparison                                        */
/* ------------------------------------------------------------------ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.compare__copy { max-width: 520px; }
.compare__note {
  margin: 22px 0 0;
  font: 500 13.5px/1.6 var(--font-body);
  color: var(--tinta-soft);
}

.ba {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  /* horizontal drag controls the slider; vertical still scrolls the page */
  touch-action: pan-y;
  box-shadow: 0 22px 56px rgba(5, 127, 127, 0.16), 0 6px 16px rgba(22, 48, 47, 0.08);
  --pos: 50%;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  pointer-events: none;
}
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* "Depois" sits higher in its source photo — drop it so features line up with "Antes". */
.ba__img--after { object-position: center 9%; }

.ba__label {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  background: rgba(4, 77, 77, 0.6);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }

.ba__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(4, 77, 77, 0.12);
  z-index: 3;
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  color: var(--marca-ink);
  box-shadow: 0 6px 18px rgba(4, 77, 77, 0.28);
}
.ba__handle svg { width: 22px; height: 22px; }

/* invisible range = the accessible, keyboard control. Pointer dragging is
   handled on .ba itself (main.js), so the range ignores pointer events to
   avoid the native "thumb-only" touch behavior. */
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  z-index: 4;
  opacity: 0;
  cursor: ew-resize;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 56px; height: 100%;
  cursor: ew-resize;
}
.ba__range::-moz-range-thumb {
  width: 56px; height: 480px;
  border: 0; background: transparent;
  cursor: ew-resize;
}
.ba__range:focus-visible { outline: 3px solid var(--marca); outline-offset: 4px; }

@media (max-width: 880px) {
  .compare { grid-template-columns: 1fr; }
  .compare__copy { max-width: none; }
}

/* ------------------------------------------------------------------ */
/* 11. Differentials                                                  */
/* ------------------------------------------------------------------ */
.diff-card {
  background: var(--branco);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 14px 38px rgba(5, 127, 127, 0.08), 0 4px 12px rgba(22, 48, 47, 0.05);
  transition: transform 0.26s var(--ease-calm), box-shadow 0.26s var(--ease-soft);
}
.diff-card:hover,
.diff-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 30px 66px rgba(5, 127, 127, 0.16), 0 8px 20px rgba(22, 48, 47, 0.08);
}
.diff-card__icon {
  width: 60px; height: 60px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--marca-soft);
  color: var(--marca-ink);
}
.diff-card__icon svg { width: 28px; height: 28px; }
.diff-card__title { font: 600 21px/1.25 var(--font-body); color: var(--tinta); }
.diff-card__text { font: 400 16px/1.7 var(--font-body); color: var(--tinta-muted); }

/* Brand-gradient icon strokes (vanilla equivalent of the 21st.dev
   lucide-icon-drawer: a calm stroke "draw-in" on reveal + redraw on hover).
   Each shape carries pathLength="1" so one dash length fits any path. */
.diff-card__icon svg { stroke: url(#mt-icon-grad); }
.diff-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.diff-card__icon svg :is(path, circle, rect, polyline, line, polygon) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.95s var(--ease-calm);
  transition-delay: calc(var(--i, 0) * 80ms + 220ms);
}
.diff-card.is-in .diff-card__icon svg :is(path, circle, rect, polyline, line, polygon) {
  stroke-dashoffset: 0;
}
@keyframes mt-icon-redraw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
.diff-card:hover .diff-card__icon svg :is(path, circle, rect, polyline, line, polygon),
.diff-card:focus-within .diff-card__icon svg :is(path, circle, rect, polyline, line, polygon) {
  animation: mt-icon-redraw 0.85s var(--ease-calm) both;
}

@media (prefers-reduced-motion: reduce) {
  .diff-card:hover, .axis-card:hover, .treat-card:hover { transform: none; }
  .diff-card__icon svg :is(path, circle, rect, polyline, line, polygon) {
    stroke-dashoffset: 0;
    transition: none;
  }
  .diff-card:hover .diff-card__icon svg :is(path, circle, rect, polyline, line, polygon),
  .diff-card:focus-within .diff-card__icon svg :is(path, circle, rect, polyline, line, polygon) {
    animation: none;
  }
}

/* ------------------------------------------------------------------ */
/* 12. Método 4D axis cards                                           */
/* ------------------------------------------------------------------ */
.axis-card {
  position: relative;
  background: var(--branco);
  border-radius: var(--r-lg);
  padding: 38px 30px 32px;
  box-shadow: 0 14px 38px rgba(5, 127, 127, 0.08), 0 4px 12px rgba(22, 48, 47, 0.05);
  transition: transform 0.26s var(--ease-calm), box-shadow 0.26s var(--ease-soft);
}
.axis-card:hover,
.axis-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 30px 66px rgba(5, 127, 127, 0.16), 0 8px 20px rgba(22, 48, 47, 0.08);
}
.axis-card__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1; letter-spacing: 0.01em;
  color: var(--marca);
}
.axis-card__title { margin-bottom: 10px; font: 600 19px/1.3 var(--font-body); color: var(--tinta); }
.axis-card__desc { font: 400 15.5px/1.7 var(--font-body); color: var(--tinta-muted); }

.metodo__cta { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------------------------------------------ */
/* 13. Doctor / About block                                           */
/* ------------------------------------------------------------------ */
.sobre__portrait {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(5, 127, 127, 0.14), 0 6px 16px rgba(22, 48, 47, 0.06);
}
.sobre__portrait img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

.sobre__bio { margin: 6px 0 0; font: 400 17px/1.75 var(--font-body); color: var(--tinta-muted); }
.sobre__chips { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--marca-soft);
  color: var(--marca-ink);
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.04em;
}
.sobre__quote { margin: 30px 0 0; padding-left: 22px; border-left: 2px solid var(--marca); }
.sobre__quote p {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  color: var(--marca-deep);
}
.sobre__quote-by {
  display: block; margin-top: 12px; font-style: normal;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tinta-muted);
}
.sobre__copy .btn { margin-top: 34px; }
@media (max-width: 880px) {
  .sobre__portrait { order: -1; }
  .sobre__portrait img { aspect-ratio: 4 / 3; }
}

/* ------------------------------------------------------------------ */
/* 14. Treatment cards                                                */
/* ------------------------------------------------------------------ */
.treat-card {
  background: var(--branco);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(5, 127, 127, 0.08), 0 4px 12px rgba(22, 48, 47, 0.05);
  transition: transform 0.28s var(--ease-calm), box-shadow 0.28s var(--ease-soft);
}
.treat-card:hover,
.treat-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 30px 66px rgba(5, 127, 127, 0.16), 0 8px 20px rgba(22, 48, 47, 0.08);
}
.treat-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--neve); }
.treat-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-calm);
}
.treat-card:hover .treat-card__media img { transform: scale(1.05); }
.treat-card__body { padding: 24px 26px 28px; }
.treat-card__title { margin-bottom: 8px; font: 600 20px/1.25 var(--font-body); color: var(--tinta); }
.treat-card__eixo {
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--marca-ink);
}
.treat__cta { margin-top: clamp(36px, 5vw, 56px); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .treat-card:hover .treat-card__media img { transform: none; }
}

/* ------------------------------------------------------------------ */
/* 14b. Treatment avatars (home) — circular "avatar group", title      */
/*      always visible, the Método 4D eixo revealed on hover.          */
/* ------------------------------------------------------------------ */
.treat-avatars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px 22px;
  max-width: 880px;
  margin-inline: auto;
}
.tav {
  width: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.tav__ring {
  position: relative;
  width: 112px; height: 112px;
  border-radius: 50%;
  padding: 5px;
  background: var(--branco);
  box-shadow: 0 14px 32px rgba(5, 127, 127, 0.14), 0 4px 12px rgba(22, 48, 47, 0.06);
  transition: transform 0.34s var(--ease-calm), box-shadow 0.34s var(--ease-soft),
    opacity 0.3s var(--ease-soft);
}
.tav__ring::after {
  /* gradient border (uniform brand gradient) revealed on hover —
     painted as a ring via the mask-composite trick, since border-color
     can't itself be a gradient on a circle. */
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: var(--grad-marca);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
}
.tav__img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.tav__title {
  margin-top: 16px;
  font: 600 15px/1.34 var(--font-body);
  color: var(--tinta);
}
.tav__eixo {
  margin-top: 7px;
  min-height: 1.1em; /* reserves the line so the hover reveal never shifts layout */
  font: 600 11.5px/1.1 var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #057f7f;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease-calm);
}

/* hover / keyboard-focus: lift the avatar, draw the eixo ring, reveal the eixo */
.tav:hover .tav__ring,
.tav:focus-visible .tav__ring {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 28px 52px rgba(5, 127, 127, 0.2), 0 8px 18px rgba(22, 48, 47, 0.08);
}
.tav:hover .tav__ring::after,
.tav:focus-visible .tav__ring::after { opacity: 0.92; }
.tav:hover .tav__eixo,
.tav:focus-visible .tav__eixo { opacity: 1; transform: none; }
.tav:focus-visible { outline: none; }
.tav:focus-visible .tav__title { color: var(--marca-deep); }

/* group spotlight: dim the siblings so the hovered avatar stands out */
.treat-avatars:hover .tav:not(:hover) .tav__ring { opacity: 0.55; }

@media (max-width: 520px) {
  .treat-avatars { gap: 28px 18px; }
  .tav { width: 132px; }
}

/* touch devices have no hover — show the eixo at rest, no dim */
@media (hover: none) {
  .tav__eixo { opacity: 1; transform: none; }
  .treat-avatars:hover .tav:not(:hover) .tav__ring { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .tav:hover .tav__ring, .tav:focus-visible .tav__ring { transform: none; }
  .tav__eixo { transition: opacity 0.3s var(--ease-soft); transform: none; }
}

/* ------------------------------------------------------------------ */
/* 15. Stats                                                          */
/* ------------------------------------------------------------------ */
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 48px);
  background: var(--branco);
  border-radius: var(--r-xl);
  box-shadow: 0 14px 38px rgba(5, 127, 127, 0.08), 0 4px 12px rgba(22, 48, 47, 0.05);
}
.stat { text-align: center; }
.stat__num {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1; letter-spacing: 0.01em;
  color: var(--marca-deep);
}
.stat__key {
  display: block; margin-top: 10px;
  font: 600 13px/1.3 var(--font-body);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tinta-muted);
}
.stat__sep { width: 1px; height: 56px; background: var(--linha); }
@media (max-width: 640px) {
  .stat__sep { display: none; }
  .stats { gap: 32px 40px; }
  .stat { flex: 1 1 40%; }
}

/* ------------------------------------------------------------------ */
/* 16. CTA band                                                       */
/* ------------------------------------------------------------------ */
.cta-band { text-align: center; }
.cta-band .section__title { color: #fff; }
/* On the deep-teal band the teal-ink highlight would vanish — keep it white italic. */
.cta-band .section__title .hl,
.cta-band .section__title .hl--italic { color: #fff; }
.cta-band__lede {
  margin: 18px auto 0;
  max-width: 560px;
  font: 400 clamp(17px, 1.5vw, 20px)/1.7 var(--font-body);
  color: rgba(255, 255, 255, 0.88);
}
.cta-band__actions {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.cta-band__logo { margin: 0 auto 30px; height: 56px; width: auto; }
@media (max-width: 600px) {
  .cta-band__actions { flex-direction: column; align-items: stretch; }
}

/* ------------------------------------------------------------------ */
/* 17. Footer                                                         */
/* ------------------------------------------------------------------ */
.footer {
  position: relative;
  background: var(--grad-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(64px, 8vw, 96px) 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}
.footer__logo { height: 54px; width: auto; margin-bottom: 22px; }
.footer__tagline { max-width: 30ch; font: 400 15px/1.7 var(--font-body); color: rgba(255, 255, 255, 0.75); }
.footer__col-title {
  margin-bottom: 18px;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a,
.footer__contact a,
.footer__contact span { font: 400 15px/1.5 var(--font-body); color: rgba(255, 255, 255, 0.82); }
.footer__links a { transition: color 0.2s var(--ease-soft); }
.footer__links a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a:hover { color: #fff; }

.footer__social { display: flex; gap: 12px; margin-top: 6px; }
.footer__social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  transition: background 0.2s var(--ease-soft), transform 0.26s var(--ease-calm);
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }

.footer__creds {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font: 500 13px/1.6 var(--font-body);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}
.footer__bottom {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font: 400 13px/1.6 var(--font-body);
  color: rgba(255, 255, 255, 0.55);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.7); }
.footer__bottom a:hover { color: #fff; }

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  /* logo is display:block, so text-align can't center it — center + enlarge */
  .footer__logo { height: 80px; margin-inline: auto; }
  .footer__tagline { margin-inline: auto; }
  .footer__links, .footer__contact { align-items: center; }
  .footer__social { justify-content: center; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ------------------------------------------------------------------ */
/* 18. Subpage header plate (stub pages)                              */
/* ------------------------------------------------------------------ */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 110px);
  background: var(--neve);
  overflow: clip;
  isolation: isolate;
}
.page-head__inner { position: relative; z-index: var(--z-content); max-width: 760px; }
.page-head__soon {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--marca-soft);
  color: var(--marca-ink);
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.04em;
}
.page-head__soon::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--marca);
}

/* ------------------------------------------------------------------ */
/* 19. Antes e Depois — full-bleed before/after gallery               */
/* ------------------------------------------------------------------ */
.section--casos {
  --casos-off-step: clamp(8px, 1.4vw, 18px);
  position: relative;
  padding-block: clamp(72px, 9vw, 130px);
  /* "verde claro" — light teal-green wash, kept inside the brand family */
  background: linear-gradient(180deg, #ecf6f1 0%, #dcefe7 100%);
  isolation: isolate;
}
/* header: intro on the left, arrows on the right (like the reference) */
.casos__top { position: relative; z-index: var(--z-content); }
.casos__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.casos__intro { max-width: 720px; }
.casos__hint { margin-top: 16px; }

.casos__nav { display: inline-flex; gap: 12px; flex: none; padding-bottom: 6px; }
.casos__arrow {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--marca-ink);
  border: 0;
  box-shadow: 0 12px 30px rgba(5, 127, 127, 0.12), inset 0 0 0 1px var(--linha);
  cursor: pointer;
  transition: transform 0.26s var(--ease-calm), box-shadow 0.26s var(--ease-soft),
    background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
.casos__arrow svg { width: 22px; height: 22px; }
.casos__arrow:hover {
  background: var(--marca); color: #fff; transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(5, 127, 127, 0.26);
}
.casos__arrow:disabled {
  opacity: 0.4; cursor: default; pointer-events: none;
  background: #fff; color: var(--tinta-soft); transform: none;
  box-shadow: inset 0 0 0 1px var(--linha);
}

/* full-bleed horizontal track */
.casos__viewport {
  position: relative; z-index: var(--z-content);
  margin-top: clamp(34px, 4vw, 56px);
}
.casos__track {
  --per: 6;
  --gap: clamp(14px, 1.3vw, 22px);
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  margin: 0;
  padding: 18px var(--gutter) 26px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.casos__track::-webkit-scrollbar { display: none; }
.casos__track:focus-visible { outline: 3px solid var(--marca); outline-offset: -3px; border-radius: var(--r-md); }

.caso-item {
  flex: 0 0 calc((100vw - 2 * var(--gutter) - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
}
.caso { margin-top: calc(var(--off, 0) * var(--casos-off-step)); }

.caso__toggle {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.caso__media {
  position: relative;
  display: block;
  aspect-ratio: 5 / 8;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--nevoa);
  box-shadow: 0 16px 40px rgba(5, 127, 127, 0.12), 0 4px 12px rgba(22, 48, 47, 0.06);
  transition: transform 0.4s var(--ease-calm), box-shadow 0.4s var(--ease-soft);
}
.caso__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.55s var(--ease-glide), transform 0.8s var(--ease-calm);
}
.caso__img--depois { opacity: 0; transform: scale(1.04); }

/* reveal "depois" on hover / keyboard focus / tap-toggled */
.caso__toggle:hover .caso__img--depois,
.caso__toggle:focus-visible .caso__img--depois,
.caso.is-revealed .caso__img--depois { opacity: 1; transform: none; }
.caso__toggle:hover .caso__img--antes,
.caso__toggle:focus-visible .caso__img--antes,
.caso.is-revealed .caso__img--antes { opacity: 0; }

.caso__toggle:hover .caso__media,
.caso__toggle:focus-visible .caso__media {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(5, 127, 127, 0.2), 0 8px 20px rgba(22, 48, 47, 0.08);
}

/* tag (Antes / Depois) + category chip */
.caso__meta {
  position: absolute; left: 12px; top: 12px; right: 12px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  pointer-events: none;
}
.caso__tag {
  display: inline-grid;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(5, 127, 127, 0.14);
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--marca-ink);
}
.caso__tag-state { grid-area: 1 / 1; transition: opacity 0.4s var(--ease-glide); }
.caso__tag-state--depois { opacity: 0; color: var(--marca-deep); }
.caso__toggle:hover .caso__tag-state--antes,
.caso__toggle:focus-visible .caso__tag-state--antes,
.caso.is-revealed .caso__tag-state--antes { opacity: 0; }
.caso__toggle:hover .caso__tag-state--depois,
.caso__toggle:focus-visible .caso__tag-state--depois,
.caso.is-revealed .caso__tag-state--depois { opacity: 1; }

.caso__cat {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(4, 77, 77, 0.42);
  backdrop-filter: blur(6px);
  font: 600 11px/1.2 var(--font-body);
  letter-spacing: 0.03em;
  color: #fff;
  text-align: right;
}

@media (max-width: 1200px) { .casos__track { --per: 5; } }
@media (max-width: 980px)  { .casos__track { --per: 4; } }
@media (max-width: 760px)  { .casos__track { --per: 3; } }
@media (max-width: 560px)  {
  .casos__track { --per: 2.2; }
  .casos__head { align-items: flex-start; }
  /* narrow cards can't fit tag + category side by side — stack them, left-aligned,
     and clamp to the card width so the text never spills over the neighbor */
  .caso__meta {
    flex-direction: column;
    align-items: flex-start;
    right: auto;
    max-width: calc(100% - 20px);
    gap: 6px;
  }
  .caso__tag { padding: 5px 10px; letter-spacing: 0.08em; }
  .caso__cat {
    max-width: 100%;
    padding: 5px 10px;
    font-size: 10px;
    text-align: left;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .caso__img { transition: opacity 0.001ms; }
  .caso__img--depois { transform: none; }
  .caso__toggle:hover .caso__media,
  .caso__toggle:focus-visible .caso__media { transform: none; }
}

/* ------------------------------------------------------------------ */
/* 13. Avaliações (reviews carousel)                                  */
/* ------------------------------------------------------------------ */
.reviews {
  position: relative;
  padding-block: clamp(72px, 9vw, 130px);
  overflow: hidden;
}
.reviews__top { position: relative; z-index: var(--z-content); }
.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.reviews__intro { max-width: 720px; }

/* Google rating chip — the trust anchor; one calm pill, real Google mark */
.reviews__rating {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 26px; padding: 11px 22px 11px 15px;
  border-radius: var(--r-pill);
  background: var(--branco);
  box-shadow: 0 12px 30px rgba(5, 127, 127, 0.10), inset 0 0 0 1px var(--linha);
  transition: transform 0.26s var(--ease-calm), box-shadow 0.26s var(--ease-soft);
}
.reviews__rating:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(5, 127, 127, 0.16), inset 0 0 0 1px var(--linha);
}
.reviews__rating-g { width: 30px; height: 30px; flex: none; display: grid; place-items: center; }
.reviews__rating-g svg { width: 24px; height: 24px; }
.reviews__rating-meta { display: flex; flex-direction: column; gap: 4px; }
.reviews__rating-stars { display: inline-flex; gap: 2px; color: #fbbc05; }
.reviews__rating-stars svg { width: 16px; height: 16px; }
.reviews__rating-score { font: 500 13px/1 var(--font-body); color: var(--tinta-muted); }
.reviews__rating-score strong { color: var(--tinta); font-weight: 700; font-size: 14.5px; }

/* arrows — mirror the casos carousel controls */
.reviews__nav { display: inline-flex; gap: 12px; flex: none; padding-bottom: 6px; }
.reviews__arrow {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff; color: var(--marca-ink); border: 0;
  box-shadow: 0 12px 30px rgba(5, 127, 127, 0.12), inset 0 0 0 1px var(--linha);
  cursor: pointer;
  transition: transform 0.26s var(--ease-calm), box-shadow 0.26s var(--ease-soft),
    background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
.reviews__arrow svg { width: 22px; height: 22px; }
.reviews__arrow:hover {
  background: var(--marca); color: #fff; transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(5, 127, 127, 0.26);
}
.reviews__arrow:disabled {
  opacity: 0.4; cursor: default; pointer-events: none;
  background: #fff; color: var(--tinta-soft); transform: none;
  box-shadow: inset 0 0 0 1px var(--linha);
}

/* boxed horizontal track — aligns with the container like the header */
.reviews__viewport { position: relative; z-index: var(--z-content); margin-top: clamp(34px, 4vw, 56px); }
.reviews__track {
  --per: 3;
  --gap: clamp(16px, 1.6vw, 26px);
  /* distance from viewport edge to the boxed content (matches .container) */
  --edge: calc(max(0px, (100vw - var(--container)) / 2) + var(--gutter));
  display: flex; align-items: stretch; gap: var(--gap); margin: 0;
  padding: 18px var(--edge) 26px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--edge);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track:focus-visible { outline: 3px solid var(--marca); outline-offset: -3px; border-radius: var(--r-lg); }

.review-item {
  flex: 0 0 calc((100vw - 2 * var(--edge) - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
  display: flex;
}
.review-card {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  width: 100%; min-height: 300px;
  background: var(--branco); border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: 0 14px 38px rgba(5, 127, 127, 0.08), 0 4px 12px rgba(22, 48, 47, 0.05);
  transition: transform 0.28s var(--ease-calm), box-shadow 0.28s var(--ease-soft);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 66px rgba(5, 127, 127, 0.16), 0 8px 20px rgba(22, 48, 47, 0.08);
}
.review-card__stars { display: inline-flex; gap: 3px; color: #fbbc05; }
.review-card__stars svg { width: 19px; height: 19px; }
.review-card__text {
  margin: 0; font: 400 16px/1.72 var(--font-body); color: var(--tinta);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden;
}
.review-card__by { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 4px; }
.review-card__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--av-bg, var(--marca-soft)); color: var(--av-ink, var(--marca-ink));
  font: 600 15px/1 var(--font-body); letter-spacing: 0.03em;
}
.review-card__id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.review-card__name { font: 600 15px/1.25 var(--font-body); color: var(--tinta); }
.review-card__src { font: 500 12px/1 var(--font-body); color: var(--tinta-soft); }

.reviews__more {
  margin-top: clamp(30px, 4vw, 44px);
  text-align: center;
  position: relative; z-index: var(--z-content);
}

@media (max-width: 1080px) { .reviews__track { --per: 2; } }
@media (max-width: 680px) {
  .reviews__track { --per: 1.12; }
  .reviews__head { align-items: flex-start; }
  .review-card__text { -webkit-line-clamp: 11; }
}

/* footer Google review icon: monochrome to match the other social marks */
.footer__social--g svg { width: 19px; height: 19px; }

@media (prefers-reduced-motion: reduce) {
  .review-card, .review-card:hover,
  .reviews__rating, .reviews__rating:hover,
  .reviews__arrow, .reviews__arrow:hover { transform: none; }
}

/* ================================================================== */
/* 21. Tratamentos — índice por eixo + filtro                         */
/* ================================================================== */
/* Filter chips live in the page-head plate; they hide whole eixo groups. */
.treat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 40px);
}
.filter-chip {
  padding: 11px 21px;
  border-radius: var(--r-pill);
  background: var(--branco);
  color: var(--marca-ink);
  box-shadow: inset 0 0 0 1.5px var(--linha);
  font: 600 13.5px/1 var(--font-body);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-calm), background 0.25s var(--ease-soft),
    color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.filter-chip:hover { box-shadow: inset 0 0 0 1.5px var(--marca); transform: translateY(-2px); }
.filter-chip[aria-pressed="true"] {
  background: var(--marca);
  color: #fff;
  box-shadow: 0 10px 26px rgba(5, 127, 127, 0.24);
}
.filter-chip:focus-visible { outline: 3px solid var(--marca); outline-offset: 3px; }

/* one eixo block: big serif number + serif name + página-mãe intro, then a card grid */
.eixo-group { padding-block: clamp(56px, 8vw, 104px); }
.eixo-group[hidden] { display: none; }
.eixo-group__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 3vw, 34px);
  align-items: start;
  max-width: 900px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: left;
}
.eixo-group__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.82;
  letter-spacing: 0.01em;
  color: var(--marca);
}
.eixo-group__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marca-ink);
}
.eixo-group__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
  color: var(--tinta);
}
.eixo-group__intro {
  margin: 16px 0 0;
  font: 400 clamp(16px, 1.4vw, 18px)/1.75 var(--font-body);
  color: var(--tinta-muted);
}
@media (max-width: 560px) {
  .eixo-group__head { grid-template-columns: 1fr; gap: 6px; }
  .eixo-group__num { font-size: 60px; }
}

/* card becomes a full link with a "saiba mais" affordance */
a.treat-card { display: flex; flex-direction: column; color: inherit; }
.treat-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.treat-card__desc {
  margin: 2px 0 0;
  font: 400 14.5px/1.6 var(--font-body);
  color: var(--tinta-muted);
}
.treat-card__more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.04em;
  color: var(--marca-ink);
}
.treat-card__more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-calm); }
a.treat-card:hover .treat-card__more svg { transform: translateX(4px); }

/* ================================================================== */
/* 22. Tratamento — sub-página (artigo de conversão)                  */
/* ================================================================== */
.treat-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(36px, 6vw, 72px)) 0 clamp(48px, 7vw, 88px);
  background: var(--neve);
  overflow: clip;
  isolation: isolate;
}
.treat-hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.treat-hero__copy { position: relative; z-index: var(--z-content); max-width: 620px; }
.treat-hero__title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--tinta);
  text-wrap: balance;
}
.treat-hero__lede {
  margin: 22px 0 0;
  font: 400 clamp(16.5px, 1.5vw, 19px)/1.75 var(--font-body);
  color: var(--tinta-muted);
}
.treat-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.treat-hero__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 22px 56px rgba(5, 127, 127, 0.12), 0 6px 16px rgba(22, 48, 47, 0.06);
}
.treat-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .treat-hero__grid { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 40px); }
  .treat-hero__media { order: -1; aspect-ratio: 16 / 10; max-height: 360px; }
}

/* breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font: 500 13px/1 var(--font-body);
  letter-spacing: 0.02em;
  color: var(--tinta-soft);
}
.crumbs a { color: var(--marca-ink); transition: color 0.2s var(--ease-soft); }
.crumbs a:hover { color: var(--marca-deep); }
.crumbs__sep { color: var(--tinta-soft); opacity: 0.7; }
.crumbs__current { color: var(--tinta-muted); }

/* the reading column */
.treat-body { max-width: 820px; margin-inline: auto; }
.t-block { margin-top: clamp(42px, 5.5vw, 68px); }
.t-block:first-child { margin-top: 0; }
.t-block__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--tinta);
}
.t-prose p {
  margin: 0 0 16px;
  font: 400 clamp(16px, 1.05vw, 17.5px)/1.8 var(--font-body);
  color: var(--tinta-muted);
}
.t-prose p:last-child { margin-bottom: 0; }
.t-prose strong { color: var(--tinta); font-weight: 600; }

/* indicações list with teal checks */
.t-list { display: grid; gap: 13px; margin: 4px 0 0; }
.t-list li {
  position: relative;
  padding-left: 36px;
  font: 400 16.5px/1.6 var(--font-body);
  color: var(--tinta-muted);
}
.t-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--marca-soft);
}
.t-list li::after {
  content: "";
  position: absolute;
  left: 8.5px;
  top: 6px;
  width: 6px;
  height: 11px;
  border: solid var(--marca);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* warm "para quem não é / cuidado" callout */
.callout {
  margin-top: 26px;
  border-radius: var(--r-md);
  padding: 24px 28px;
  background: linear-gradient(180deg, #faf6f1 0%, #f4ece2 100%);
  border-left: 3px solid var(--eixo-4);
}
.callout__title {
  margin: 0 0 8px;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eixo-4);
}
.callout p { margin: 0; font: 400 15.5px/1.7 var(--font-body); color: #6f5a44; }

/* "como funciona" numbered steps */
.steps { display: grid; gap: 20px; margin: 6px 0 0; padding: 0; counter-reset: tstep; }
.steps li {
  position: relative;
  padding-left: 62px;
  list-style: none;
}
.steps li::before {
  counter-increment: tstep;
  content: counter(tstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -4px;
  width: 46px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: var(--marca);
}
.steps__t { display: block; font: 600 16.5px/1.4 var(--font-body); color: var(--tinta); }
.steps__d { display: block; margin-top: 4px; font: 400 15.5px/1.65 var(--font-body); color: var(--tinta-muted); }

/* small muted caption (ex.: "Resultados variam individualmente.") */
.t-note {
  margin-top: 14px;
  font: 400 14px/1.6 var(--font-body);
  font-style: italic;
  color: var(--tinta-soft);
}

/* ilustrative case — calm teal-wash quote */
.case {
  position: relative;
  margin-top: clamp(42px, 5.5vw, 68px);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 46px);
  background: var(--marca-wash);
  isolation: isolate;
}
.case__label {
  margin: 0 0 14px;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marca-ink);
}
.case__text {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.5;
  color: var(--marca-deep);
}
.case__note { margin: 16px 0 0; font: 400 13px/1.6 var(--font-body); color: var(--tinta-soft); }

/* FAQ accordion (component §12) */
.faq { margin-top: 8px; }
.faq__item {
  background: var(--branco);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(5, 127, 127, 0.06);
  transition: background 0.3s var(--ease-soft);
}
.faq__item[open] { background: var(--marca-soft); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font: 600 17px/1.4 var(--font-body);
  color: var(--tinta);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 3px solid var(--marca); outline-offset: -3px; border-radius: var(--r-md); }
.faq__sign { position: relative; width: 18px; height: 18px; flex: none; }
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--marca);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-glide), opacity 0.25s var(--ease-soft);
}
.faq__sign::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq__sign::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 26px 24px; font: 400 16px/1.7 var(--font-body); color: var(--tinta-muted); }
.faq__a p { margin: 0; }

/* author / E-E-A-T block */
.author {
  margin-top: clamp(48px, 6vw, 72px);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-radius: var(--r-lg);
  background: var(--branco);
  box-shadow: 0 14px 38px rgba(5, 127, 127, 0.08), 0 4px 12px rgba(22, 48, 47, 0.05);
}
.author__avatar { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex: none; }
.author__role {
  margin: 0 0 4px;
  font: 600 11.5px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marca-ink);
}
.author__name { margin: 0 0 4px; font: 600 16px/1.3 var(--font-body); color: var(--tinta); }
.author__meta { margin: 0; font: 400 13px/1.6 var(--font-body); color: var(--tinta-muted); }
.author__meta a { color: var(--marca-ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 520px) {
  .author { flex-direction: column; text-align: center; align-items: center; }
}

/* "veja também" related links */
.related { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.related__chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--marca-soft);
  color: var(--marca-ink);
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), transform 0.25s var(--ease-calm);
}
.related__chip:hover { background: var(--marca); color: #fff; transform: translateY(-2px); }

/* medical / CFM disclaimer */
.med-disclaimer {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--linha);
  font: 400 13px/1.7 var(--font-body);
  color: var(--tinta-soft);
}

/* ================================================================== */
/* 23. Tratamento — seções de conversão (sub-página seccionada)        */
/*     Substitui o layout de "artigo" por bandas alternadas, splits    */
/*     imagem+texto, grade de benefícios e um CTA por seção.           */
/* ================================================================== */

/* hero: trust row under the actions */
.treat-trust {
  list-style: none;
  margin: clamp(28px, 4vw, 38px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
}
.treat-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 400 13.5px/1.3 var(--font-body);
  color: var(--tinta-muted);
}
.treat-trust__item svg { width: 30px; height: 30px; flex: none; color: var(--marca); }
.treat-trust__item span { display: block; }
.treat-trust__item strong { display: block; font-weight: 600; color: var(--tinta); }

/* section head used by every treatment band */
.ts-head { margin-bottom: clamp(26px, 3.6vw, 40px); }
.ts-head--left { text-align: left; max-width: 560px; }
.ts-head--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4.4vw, 52px);
}
.ts-head--center .eyebrow { justify-content: center; }
.ts-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--tinta);
  text-wrap: balance;
}
.ts-lede {
  margin: 16px 0 0;
  font: 400 clamp(16.5px, 1.4vw, 19px)/1.72 var(--font-body);
  color: var(--tinta-muted);
}
.ts-head--center .ts-lede { margin-inline: auto; max-width: 660px; }
.ts-subhead {
  margin: clamp(30px, 4vw, 44px) 0 18px;
  text-align: center;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marca-ink);
}

/* image + text split (reuses .grid-12 / .col-*) */
.tsplit { align-items: center; }
.tsplit--top { align-items: start; }
.tsplit__copy { min-width: 0; }
.ts-narrow { max-width: 900px; }

.media-frame {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--neve);
  box-shadow: 0 22px 56px rgba(5, 127, 127, 0.12), 0 6px 16px rgba(22, 48, 47, 0.06);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame--tall { aspect-ratio: 3 / 4; }

/* centered prose (resultados / por que) */
.t-prose--center { max-width: 680px; margin-inline: auto; text-align: center; }

/* inline text CTA inside a split */
.ts-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 14.5px/1 var(--font-body);
  letter-spacing: 0.01em;
  color: var(--marca-ink);
  transition: color 0.2s var(--ease-soft);
}
.ts-link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-calm); }
.ts-link:hover { color: var(--marca-deep); }
.ts-link:hover svg { transform: translateX(4px); }

/* per-section CTA row */
.ts-cta { margin-top: clamp(30px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 14px; }
.ts-cta--center { justify-content: center; }

/* benefícios / indicações cards */
.bene-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 18px);
  /* default: keep every card on a single row (3 cards => 1 row) */
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(6px, 1.6vw, 14px);
}
/* 1-2 cards: only as many columns as there are cards */
.bene-grid[data-count="1"] { grid-template-columns: minmax(248px, 0.5fr); }
.bene-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
/* 4 cards: all four side by side on one row */
.bene-grid[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
/* 5 cards => 3 + 2, 6 cards => 3 + 3 (inherit the 3-col default) */
.bene-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--branco);
  border-radius: var(--r-md);
  box-shadow: 0 12px 30px rgba(5, 127, 127, 0.07), 0 3px 10px rgba(22, 48, 47, 0.04);
}
.bene-card p { margin: 0; font: 400 15.5px/1.55 var(--font-body); color: var(--tinta-muted); }
.bene-card__ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--marca-soft);
  color: var(--marca);
}
.bene-card__ico svg { width: 18px; height: 18px; }

/* soft "cuidados" card */
.info-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--marca-wash); }
.info-card .t-prose p { color: var(--tinta-muted); }

/* author as a stacked sidebar (cuidados + médico split) */
.author--stacked {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  padding: clamp(24px, 3vw, 32px);
}
.author--stacked .author__avatar { width: 84px; height: 84px; }
.author__cta { margin-top: 14px; }

/* "veja também" under the FAQ */
.ts-related { margin-top: clamp(34px, 4.5vw, 48px); text-align: center; }
.ts-related__label {
  margin: 0 0 16px;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marca-ink);
}
.ts-related .related { justify-content: center; }

/* case quote sits centered on the warm band */
.tsec .case { margin-inline: auto; max-width: 880px; }
.tsec .case__text { quotes: none; }

@media (max-width: 880px) {
  /* media on top when a split stacks, mirroring the home doctor block */
  .tsplit .media-frame { order: -1; aspect-ratio: 16 / 10; max-height: 380px; }
  .tsplit--top .media-frame { order: 0; }
  .ts-head--left { max-width: none; }
  /* benefit cards reflow to 2 columns on tablet, whatever the card count */
  .bene-grid,
  .bene-grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
  .bene-grid[data-count="1"] { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ts-cta .btn { width: 100%; }
  .treat-trust { gap: 14px 22px; }
  /* single column on phones */
  .bene-grid,
  .bene-grid[data-count="2"],
  .bene-grid[data-count="4"] { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ts-link:hover svg { transform: none; }
}

/* ================================================================== */
/* Tricologia — hero square media + contained composite frames        */
/* ================================================================== */
/* antes/depois composites are wide (antes | depois). A normal cover   */
/* frame would crop one half, so these variants show the whole image.  */
.treat-hero__media--square { aspect-ratio: 1 / 1; }
.media-frame--contain {
  aspect-ratio: 1 / 1;
  background: #1f2e2d; /* deep neutral that matches the studio backdrops */
}
.media-frame--contain img { object-fit: contain; }
@media (max-width: 880px) {
  /* keep composites whole when the split stacks (override the cover rule) */
  .tsplit .media-frame--contain { aspect-ratio: 1 / 1; max-height: none; }
}
@media (max-width: 860px) {
  .treat-hero__media--square { aspect-ratio: 1 / 1; max-height: none; }
}

/* ================================================================== */
/* Tricologia — "Resultados reais" antes/depois carousel              */
/* ================================================================== */
/* Reuses the .casos viewport + arrow JS (data-casos-*), but each card */
/* shows a full pre-composed antes/depois image instead of a portrait  */
/* cross-fade pair.                                                     */
.casos__track--results { scroll-snap-type: x proximity; }
.result-item {
  flex: 0 0 clamp(266px, 40vw, 440px);
  scroll-snap-align: start;
}
.result { margin: 0; }
.result__frame {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #1f2e2d;
  box-shadow: 0 16px 40px rgba(5, 127, 127, 0.12), 0 4px 12px rgba(22, 48, 47, 0.06);
  transition: transform 0.4s var(--ease-calm), box-shadow 0.4s var(--ease-soft);
}
.result__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.result:hover .result__frame {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(5, 127, 127, 0.2), 0 8px 20px rgba(22, 48, 47, 0.08);
}
.result__cap {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 2px 0;
  font: 500 14px/1.4 var(--font-body);
  color: var(--tinta-soft);
}
.result__tag,
.sessoes__tag {
  flex: none;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--marca);
  color: #fff;
  font: 600 10.5px/1 var(--font-body);
  letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 760px) { .result-item { flex-basis: clamp(244px, 80vw, 360px); } }
@media (prefers-reduced-motion: reduce) { .result:hover .result__frame { transform: none; } }

/* ================================================================== */
/* Tricologia — evolução por sessões (faixas horizontais rotuladas)   */
/* ================================================================== */
.sessoes {
  display: grid;
  /* minmax(0,1fr): keeps the track from inheriting the image's min-content
     width, so the frame can scroll internally instead of widening the page */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 2.8vw, 34px);
  margin-top: clamp(28px, 3.6vw, 46px);
}
.sessoes__item { margin: 0; min-width: 0; }
.sessoes__scroll {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--neve);
  box-shadow: 0 22px 56px rgba(5, 127, 127, 0.12), 0 6px 16px rgba(22, 48, 47, 0.06);
}
.sessoes__scroll:focus-visible { outline: 2px solid var(--marca); outline-offset: 3px; }
.sessoes__img { display: block; width: 100%; height: auto; }
.sessoes__cap {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin: 14px 2px 0;
  font: 500 14px/1.5 var(--font-body);
  color: var(--tinta-soft);
}
.sessoes__hint { display: none; }

/* the strips hold 4 panels side by side: below ~760px they would shrink   */
/* past legibility, so the frame scrolls and the image keeps a floor width */
@media (max-width: 760px) {
  .sessoes__scroll { overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .sessoes__img { width: 640px; max-width: none; }
  .sessoes__hint {
    display: block;
    margin: 16px 0 0;
    text-align: center;
    font: 500 13px/1.5 var(--font-body);
    color: var(--tinta-soft);
  }
}

/* ===================== BLOG ===================== */
.blog-hero .ts-lede { max-width: 56ch; margin-inline: auto; }

.blog-filter {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin: clamp(20px, 3vw, 32px) 0 clamp(28px, 4vw, 44px);
}
.blog-filter__chip {
  --chip: var(--marca);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--tinta-muted); background: var(--branco);
  border: 1px solid var(--linha); border-radius: 999px;
  padding: 8px 18px; cursor: pointer;
  transition: color .25s var(--ease-soft), background .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
.blog-filter__chip:hover { color: var(--marca-ink); border-color: var(--marca); }
.blog-filter__chip.is-active {
  color: #fff; background: var(--chip); border-color: var(--chip);
}

.blog-grid {
  display: grid; gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.blog-card {
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: 18px; overflow: hidden;
  transition: transform .4s var(--ease-calm), box-shadow .4s var(--ease-calm);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(5,95,95,.12); }
.blog-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.blog-card__cover { aspect-ratio: 16 / 10; background: var(--marca-soft); overflow: hidden; }
.blog-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__cover--empty {
  background: linear-gradient(135deg, color-mix(in srgb, var(--chip) 16%, #fff), var(--marca-wash));
}
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.blog-card__tag {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: var(--chip); background: color-mix(in srgb, var(--chip) 12%, #fff);
  padding: 4px 12px; border-radius: 999px;
}
.blog-card__title { font-family: var(--font-display); font-size: 22px; line-height: 1.18; color: var(--tinta); margin: 2px 0; }
.blog-card__excerpt { font-size: 14.5px; color: var(--tinta-muted); line-height: 1.55; }
.blog-card__meta { margin-top: auto; font-size: 13px; color: var(--tinta-soft); padding-top: 6px; }

/* Artigo */
.post-hero { padding: calc(var(--nav-h) + clamp(28px,5vw,56px)) 0 clamp(20px,3vw,32px); background: var(--grad-spa); }
.post-hero__inner { max-width: var(--container-narrow); }
.post-hero__title { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; color: var(--tinta); margin: 8px 0; }
.post-hero__meta { font-size: 14px; color: var(--tinta-soft); }
/* Layout do artigo: coluna de leitura + sidebar (Categorias · Tags · Recentes) */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  padding-top: clamp(8px, 2vw, 20px);
  padding-bottom: clamp(44px, 6vw, 80px);
}
.post-main { min-width: 0; }

.post-cover { margin: 0 0 clamp(20px, 3vw, 34px); }
.post-cover img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-prose img { width: 100%; border-radius: 14px; margin: 18px 0; }

/* Sidebar */
.post-side {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  position: sticky;
  top: calc(var(--nav-h) + 18px);
}
.side-card {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 14px 34px rgba(5, 127, 127, .06);
}
.side-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.1;
  color: var(--marca-deep);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--linha);
}
.side-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-cats a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 12px;
  font-size: 14.5px; color: var(--tinta-muted); text-decoration: none;
  transition: background .25s var(--ease-soft), color .25s var(--ease-soft);
}
.side-cats a:hover { background: var(--marca-wash); color: var(--marca-ink); }
.side-cats .is-current a { background: var(--marca-soft); color: var(--marca-deep); font-weight: 600; }
.side-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--chip, var(--marca)); flex: none; }

.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tag {
  font-size: 13px; color: var(--marca-ink);
  background: color-mix(in srgb, var(--marca) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--marca) 18%, #fff);
  padding: 5px 12px; border-radius: 999px;
}

.side-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-recent a {
  display: flex; gap: 12px; align-items: center;
  padding: 8px; border-radius: 12px;
  text-decoration: none; color: var(--tinta);
  transition: background .25s var(--ease-soft);
}
.side-recent a:hover { background: var(--marca-wash); }
.side-recent__thumb {
  width: 58px; height: 58px; border-radius: 10px; overflow: hidden;
  flex: none; background: var(--marca-soft);
}
.side-recent__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-recent__thumb--empty { background: linear-gradient(135deg, var(--marca-soft), var(--marca-wash)); }
.side-recent__t { font-size: 13.5px; line-height: 1.35; color: var(--tinta); }
.side-recent a:hover .side-recent__t { color: var(--marca-ink); }

@media (max-width: 920px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; max-width: 640px; }
}

/* CTAs no meio do artigo — padrão em todo post do blog */
.article-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(18px, 3vw, 36px);
  margin: clamp(34px, 5vw, 52px) 0;
  padding: clamp(24px, 3.4vw, 38px);
  border-radius: var(--r-lg);
  position: relative; overflow: hidden;
}
.article-cta__body { display: grid; gap: 6px; }
.article-cta__eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--marca-ink);
}
.article-cta__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.16; color: var(--tinta);
}
.article-cta__text { font-size: 15px; line-height: 1.6; color: var(--tinta-muted); }
.article-cta__btn { flex: 0 0 auto; white-space: nowrap; }
.article-cta--consulta {
  background: var(--marca-wash);
  box-shadow: 0 18px 44px rgba(5,127,127,.10), inset 0 0 0 1px var(--linha);
}
.article-cta--ebook {
  background: var(--grad-pele);
  box-shadow: 0 18px 44px rgba(168,122,78,.12), inset 0 0 0 1px rgba(168,122,78,.18);
}
.article-cta--ebook .article-cta__eyebrow { color: var(--eixo-4); }
@media (max-width: 640px) {
  .article-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .article-cta__btn { width: 100%; text-align: center; justify-content: center; }
}

/* Curtidas */
.like { display: flex; align-items: center; gap: 14px; margin: clamp(28px,4vw,40px) 0; }
.like__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--branco); border: 1px solid var(--linha); border-radius: 999px;
  padding: 10px 18px; cursor: pointer; color: var(--tinta-muted);
  transition: border-color .25s, color .25s, transform .15s;
}
.like__btn:hover { border-color: var(--marca); color: var(--marca-ink); }
.like__btn.is-liked { color: #e0556b; border-color: #e0556b; }
.like__heart { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.like__btn.is-liked .like__heart { fill: currentColor; }
.like__count { font-weight: 600; font-size: 15px; }
.like__hint { font-size: 13px; color: var(--tinta-soft); }

.post-cta { margin: clamp(24px,4vw,40px) 0; }
.blog-empty { text-align: center; color: var(--tinta-muted); padding: 40px 0; }

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ==================================================================== */
/* PÁGINAS INTERNAS — Método 4D · Sobre · Contato                       */
/* ==================================================================== */

/* Built subpage header plate (lede + optional actions) */
.page-head__lede { margin: 22px 0 0; max-width: 620px; font: 400 clamp(17px, 1.5vw, 20px)/1.7 var(--font-body); color: var(--tinta-muted); }
.page-head__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 560px) {
  .page-head__actions { flex-direction: column; align-items: stretch; }
}

/* ---- Método 4D · intro split ------------------------------------- */
.metodo-intro__body p { font: 400 17px/1.8 var(--font-body); color: var(--tinta-muted); }
.metodo-intro__body p + p { margin-top: 18px; }
.metodo-intro__media {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 22px 56px rgba(5, 127, 127, 0.14), 0 6px 16px rgba(22, 48, 47, 0.06);
}
.metodo-intro__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---- Método 4D · axis switcher (tabs → wrap on mobile) ------------ */
.axes-switch { margin-top: clamp(40px, 5vw, 60px); }
.axes-switch__tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.axes-switch__tab {
  --c: var(--marca);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  text-align: left; padding: 18px 20px;
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-md);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(5, 127, 127, 0.06);
  transition: transform 0.26s var(--ease-calm), box-shadow 0.26s var(--ease-soft),
    border-color 0.26s var(--ease-soft), background 0.26s var(--ease-soft);
}
.axes-switch__tab:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(5, 127, 127, 0.12); }
.axes-switch__tab[aria-selected="true"] {
  border-color: transparent; background: var(--marca-soft);
  box-shadow: 0 16px 36px rgba(5, 127, 127, 0.16);
}
.axes-switch__tab-num { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1; color: var(--c); }
.axes-switch__tab-name { font: 600 14.5px/1.3 var(--font-body); color: var(--tinta); }
.axes-switch__tab[aria-selected="true"] .axes-switch__tab-name { color: var(--marca-deep); }

.axes-switch__stage { display: grid; }
.axis-panel {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.45s var(--ease-glide), transform 0.45s var(--ease-glide), visibility 0.45s;
}
.axis-panel.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.axis-panel__media {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 22px 56px rgba(5, 127, 127, 0.14), 0 6px 16px rgba(22, 48, 47, 0.06);
}
.axis-panel__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.axis-panel__num { --c: var(--marca); display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--c); }
.axis-panel__title { margin: 6px 0 0; font: 600 clamp(24px, 2.8vw, 32px)/1.15 var(--font-display); letter-spacing: 0.01em; color: var(--tinta); }
.axis-panel__lede { margin: 14px 0 0; font: 400 16.5px/1.7 var(--font-body); color: var(--tinta-muted); }
.axis-panel__list { margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.axis-panel__list li { position: relative; padding-left: 32px; font: 500 15.5px/1.5 var(--font-body); color: var(--tinta); }
.axis-panel__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--marca-soft); }
.axis-panel__list li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 7px; height: 4px; border-left: 2px solid var(--marca-ink); border-bottom: 2px solid var(--marca-ink); transform: rotate(-45deg); }

@media (max-width: 768px) {
  .axes-switch__tabs { grid-template-columns: repeat(2, 1fr); }
  .axis-panel { grid-template-columns: 1fr; gap: clamp(22px, 5vw, 32px); }
  .axis-panel__media { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .axes-switch__tab:hover { transform: none; }
  .axis-panel { transition: opacity 0.2s, visibility 0.2s; transform: none; }
}

/* ---- Método 4D · e-book card ------------------------------------- */
.ebook {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(22px, 3.5vw, 44px); padding: clamp(28px, 4vw, 48px);
  background: var(--branco); border-radius: var(--r-xl);
  box-shadow: 0 22px 56px rgba(5, 127, 127, 0.12), 0 6px 16px rgba(22, 48, 47, 0.06);
}
.ebook__icon { width: 76px; height: 76px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; background: var(--marca-soft); color: var(--marca-ink); }
.ebook__icon svg { width: 38px; height: 38px; }
.ebook__title { font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--font-display); color: var(--tinta); }
.ebook__text { margin-top: 8px; font: 400 16px/1.6 var(--font-body); color: var(--tinta-muted); max-width: 54ch; }
.ebook .btn { flex: none; }
@media (max-width: 760px) {
  .ebook { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ebook__text { max-width: none; }
  .ebook .btn { width: 100%; }
}

/* ---- Sobre · clinic gallery ("Nosso Espaço") --------------------- */
.gallery__grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px);
}
.gallery__item {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-md); background: var(--neve); aspect-ratio: 4 / 3;
  box-shadow: 0 14px 38px rgba(205, 182, 162, 0.20), 0 4px 12px rgba(22, 48, 47, 0.05);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-calm); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--marca-ink);
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease-calm);
}
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__zoom svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery__grid { grid-template-columns: 1fr; } }

/* ---- Lightbox ----------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox);
  display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
  background: rgba(4, 40, 40, 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease-glide), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { margin: 0; max-width: min(1100px, 100%); display: flex; flex-direction: column; gap: 14px; }
.lightbox__img { width: auto; max-width: 100%; max-height: 80vh; margin-inline: auto; border-radius: var(--r-md); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox__cap { text-align: center; color: rgba(255, 255, 255, 0.82); font: 400 14.5px/1.5 var(--font-body); }
.lightbox__close, .lightbox__btn {
  position: absolute; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.25s var(--ease-soft);
}
.lightbox__close:hover, .lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); width: 48px; height: 48px; }
.lightbox__btn { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__btn--prev { left: clamp(12px, 3vw, 32px); }
.lightbox__btn--next { right: clamp(12px, 3vw, 32px); }
.lightbox__close svg, .lightbox__btn svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .lightbox__btn { width: 44px; height: 44px; } }

/* ---- Sobre · Missão / Visão / Valores ---------------------------- */
.valores__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 32px); }
.valor-card { background: var(--branco); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); box-shadow: 0 14px 38px rgba(5, 127, 127, 0.08), 0 4px 12px rgba(22, 48, 47, 0.05); }
.valor-card__label { font: 600 12.5px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--marca-ink); }
.valor-card__text { margin-top: 14px; font: 400 17px/1.7 var(--font-body); color: var(--tinta-muted); }
.valores__list { margin-top: clamp(24px, 3vw, 32px); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.valores__list li { display: flex; align-items: center; gap: 12px; background: var(--branco); border-radius: var(--r-md); padding: 18px 22px; font: 500 15.5px/1.4 var(--font-body); color: var(--tinta); box-shadow: 0 8px 24px rgba(5, 127, 127, 0.06); }
.valores__list li svg { width: 22px; height: 22px; flex: none; color: var(--marca); }
@media (max-width: 700px) { .valores__top { grid-template-columns: 1fr; } }

/* ---- Contato · info rows + form ---------------------------------- */
.contact-info__rows { display: flex; flex-direction: column; gap: 22px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row__icon { width: 46px; height: 46px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; background: var(--marca-soft); color: var(--marca-ink); }
.contact-row__icon svg { width: 22px; height: 22px; }
.contact-row__label { margin-bottom: 5px; font: 600 12px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-soft); }
.contact-row__value { font: 400 16px/1.55 var(--font-body); color: var(--tinta); }
.contact-row__value a:hover { color: var(--marca-ink); }
.contact-info__social { display: flex; gap: 12px; margin-top: 30px; }
.contact-info__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--marca-soft); color: var(--marca-ink); transition: background 0.25s var(--ease-soft), transform 0.26s var(--ease-calm); }
.contact-info__social a:hover { background: var(--marca); color: #fff; transform: translateY(-3px); }
.contact-info__social svg { width: 20px; height: 20px; }

.contact-form { background: var(--branco); border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 44px); box-shadow: 0 22px 56px rgba(5, 127, 127, 0.10), 0 6px 16px rgba(22, 48, 47, 0.05); }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 13.5px/1 var(--font-body); color: var(--tinta); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--linha); background: var(--neve); font: 400 15.5px/1.5 var(--font-body); color: var(--tinta); transition: border-color 0.25s var(--ease-soft), background 0.25s var(--ease-soft); }
.field input:focus, .field textarea:focus { border-color: var(--marca); background: #fff; }
.field textarea { resize: vertical; min-height: 132px; }
.contact-form__actions { margin-top: 22px; }
.contact-form__actions .btn { width: 100%; }
.contact-form__note { margin-top: 14px; font: 400 13px/1.5 var(--font-body); color: var(--tinta-soft); text-align: center; }
@media (max-width: 520px) { .contact-form__grid { grid-template-columns: 1fr; } }

/* ---- Contato · formulário embutido (MeuTrack) --------------------- */
.contact-embed__title { font: 500 clamp(25px, 2.5vw, 33px)/1.15 var(--font-display); color: var(--tinta); text-align: center; }
.contact-embed__lede { margin: 10px auto 24px; max-width: 34ch; text-align: center; font: 400 15px/1.6 var(--font-body); color: var(--tinta-soft); }
.contact-embed iframe { border-radius: var(--r-md); }
.contact-embed .contact-form__note { margin-top: 18px; }

/* ---- Contato · map ----------------------------------------------- */
.map__frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--linha); box-shadow: 0 22px 56px rgba(5, 127, 127, 0.10), 0 6px 16px rgba(22, 48, 47, 0.05); aspect-ratio: 16 / 7; background: var(--neve); }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map__frame { aspect-ratio: 4 / 3; } }
