/* ==========================================================================
   LP Dra. Luiza Ottoni — Tricologia & Dermatologia Estética
   Identidade visual baseada em tricologiabh.com.br
   ========================================================================== */

:root {
  --brand-50: #f9f7ff;
  --brand-100: #e3dff9;
  --brand-200: #beb7e1;
  --brand-400: #7a6dab;
  --brand-500: #594c87;
  --brand-600: #3b2f5f;
  --brand-700: #1e1734;
  --brand-800: #0e0a1b;

  --n-0: #fff;
  --n-50: #f7f7f7;
  --n-100: #f0f0f0;
  --n-200: #e6e6e6;
  --n-300: #d9d9d9;
  --n-400: #b3b3b3;
  --n-500: #757575;
  --n-600: #444;
  --n-800: #2c2c2c;
  --n-900: #1e1e1e;
  --n-950: #111;
  --black: #000;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--n-600);
  background: var(--n-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--n-950); font-family: var(--font-head); font-weight: 300; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand-500); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; }

.section { padding: 88px 0; position: relative; overflow-x: clip; }
.section--gray { background: var(--n-50); }
.section--dark { background: var(--black); color: var(--n-300); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--n-500);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--n-400); }
.title { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 18px; }
.title em { color: inherit; }
.title--accent em { color: var(--brand-400); }
.lead { font-size: 17px; color: var(--n-500); max-width: 620px; }
.section--dark .lead { color: var(--n-400); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.btn { white-space: nowrap; }
.eyebrow { overflow-wrap: anywhere; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 48px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--brand-500); color: #fff;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 24px -10px rgba(89, 76, 135, .8);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(89, 76, 135, .9); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost svg { width: 18px; height: 18px; }
.btn--light { background: #fff; color: var(--n-950); box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.btn--light:hover { background: var(--brand-50); }
.btn--ghost { background: transparent; color: var(--brand-500); box-shadow: inset 0 0 0 1.5px var(--brand-200); }
.btn--ghost:hover { background: var(--brand-50); box-shadow: inset 0 0 0 1.5px var(--brand-400); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.cta-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-note { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--n-500); padding-left: 6px; }
.center .cta-wrap { align-items: center; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__logo { display: block; width: 150px; position: relative; }
.header__logo img { width: 100%; }
.header__logo .logo-dark { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.header__logo .logo-light { transition: opacity .3s; }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav a:not(.btn) { color: #fff; text-decoration: none; font-size: 15px; transition: color .3s, opacity .2s; }
.header__nav a:not(.btn):hover { opacity: .7; }
.header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--n-200); backdrop-filter: blur(10px); }
.header.is-scrolled .logo-dark { opacity: 1; }
.header.is-scrolled .logo-light { opacity: 0; }
.header.is-scrolled .header__nav a:not(.btn) { color: var(--n-800); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--brand-800); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 60px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg picture { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__bg picture.is-active { opacity: 1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,10,27,.92) 0%, rgba(14,10,27,.7) 38%, rgba(14,10,27,.05) 70%),
              linear-gradient(0deg, rgba(14,10,27,.85) 0%, rgba(14,10,27,0) 40%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero__content { max-width: 600px; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 68px); margin-bottom: 20px; }
.hero__sub { font-size: 18px; color: rgba(255,255,255,.82); max-width: 520px; margin-bottom: 32px; }
.hero .cta-note { color: rgba(255,255,255,.75); }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--brand-800); object-fit: cover; }
.avatars img + img { margin-left: -12px; }
.hero__proof-text { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.85); }
.hero__proof-text strong { color: #fff; font-size: 15px; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 14px; }

.doctor-card {
  width: 230px; padding: 10px 10px 16px;
  background: rgba(30, 23, 52, .55); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  backdrop-filter: blur(12px); font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.9);
}
.doctor-card img { width: 100%; aspect-ratio: 16/12; object-fit: cover; object-position: top; border-radius: 10px; background: var(--brand-500); margin-bottom: 12px; }
.doctor-card p { margin: 0 6px; }
.doctor-card strong { color: #fff; display: block; font-size: 15px; font-weight: 600; }

.hero-band { display: none; }

/* ---------- Faixa de números ---------- */
.stats { background: var(--brand-700); color: #fff; padding: 34px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; align-items: center; gap: 12px; }
.stat__num { font-family: var(--font-serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--brand-200); white-space: nowrap; }
.stat__label { font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.8); }

/* ---------- Na mídia ---------- */
.media { background: var(--n-0); padding: 40px 0; }
.media__inner { display: flex; align-items: center; gap: 40px; }
.media__label { margin: 0; flex: none; max-width: 230px; }
.media__label .eyebrow { display: block; margin-bottom: 4px; }
.media__title { font-family: var(--font-head); font-weight: 300; font-size: 22px; line-height: 1.15; color: var(--n-900); }
.media__viewport { flex: 1; min-width: 0; overflow: hidden; }
.media__logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.media__logos li { flex: none; }
.media__logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.media__logos li:nth-child(5) img { height: 48px; }
.media__logos--dup { display: none; }
@media (hover: hover) { .media__logos img:hover { filter: none; opacity: 1; } }

/* ---------- Escolha do objetivo ---------- */
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.goal {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--n-0); border: 1px solid var(--n-200);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.goal:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(30,23,52,.5); }
.goal__img { aspect-ratio: 16/9; overflow: hidden; }
.goal__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.goal:hover .goal__img img { transform: scale(1.04); }
.goal__body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.goal__tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-500); margin-bottom: 8px; }
.goal h3 { font-size: 34px; margin-bottom: 12px; }
.goal p { color: var(--n-500); }
.checklist { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--n-800); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23594C87' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: inset 0 0 0 1px var(--brand-100);
}
.goal__ctas { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.goal__ctas .btn { flex: 1 1 auto; }

/* ---------- Antes e depois ---------- */
.ba {
  display: grid; grid-template-columns: 1fr 1.25fr; column-gap: 56px; align-items: center;
  grid-template-areas: "head media" "cta media";
}
.ba__head { grid-area: head; align-self: end; }
.ba__media { grid-area: media; }
.ba__cta { grid-area: cta; align-self: start; margin-top: 8px; }
.compare__hint { display: none; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--brand-500); margin: 12px 0 0; }
.tabs { display: inline-flex; padding: 5px; background: var(--n-100); border-radius: 999px; gap: 4px; margin-bottom: 20px; }
.tab {
  border: 0; background: transparent; padding: 10px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--n-600); transition: background .2s, color .2s;
}
.tab[aria-selected="true"] { background: var(--brand-500); color: #fff; }
.hide-xs { display: inline; }
.compare {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--n-100); user-select: none; touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare__handle {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.25);
  display: grid; place-items: center; color: var(--brand-500);
}
.compare__label {
  position: absolute; bottom: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none;
}
.compare__label--before { left: 14px; }
.compare__label--after { right: 14px; }
.compare { cursor: ew-resize; }
.compare__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compare:focus-within { outline: 2px solid var(--brand-400); outline-offset: 3px; }
.compare.is-dragging .compare__handle { transform: translate(-50%, -50%) scale(1.1); }
.compare__handle { transition: transform .15s var(--ease); }
.disclaimer { font-size: 12px; color: var(--n-500); margin-top: 12px; }

/* ---------- Seções de serviço (dermatologia / tricologia) ---------- */
.service__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 88px; }
.service__intro--rev .service__img { order: -1; }
.service__tagline { font-family: var(--font-serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--brand-500); margin-bottom: 24px; }
.service__q { font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--n-900); margin-bottom: 8px; }
.service__img { position: relative; }
.service__img .photo { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); position: relative; }
.service__img .spiral { width: 170px; top: -56px; right: -48px; }
.service__intro--rev .service__img .spiral { right: auto; left: -48px; }
.pillars { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pillars li { background: var(--n-0); border: 1px solid var(--n-200); border-radius: 12px; padding: 14px 14px 16px; font-size: 13.5px; line-height: 1.45; color: var(--n-500); }
.section--gray .pillars li { border-color: var(--n-200); }
.section:not(.section--gray) .pillars li { background: var(--n-50); border-color: var(--n-100); }
.pillars strong { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 21px; color: var(--brand-500); margin-bottom: 4px; }
.title--sm { font-size: clamp(30px, 3.6vw, 42px); }

.treat { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.treat__nav { display: grid; gap: 6px; position: sticky; top: calc(var(--header-h) + 20px); }
.treat__tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent;
  font-size: 15px; font-weight: 500; color: var(--n-600); transition: background .2s, color .2s, border-color .2s;
}
@media (hover: hover) { .treat__tab:not([aria-selected="true"]):hover { background: rgba(89,76,135,.06); color: var(--n-900); } }
.treat__tab[aria-selected="true"] { background: var(--n-0); border-color: var(--brand-100); color: var(--brand-600); font-weight: 600; box-shadow: 0 10px 30px -18px rgba(30,23,52,.35); }
.section:not(.section--gray) .treat__tab[aria-selected="true"] { background: var(--brand-50); }
.treat__num { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--brand-400); min-width: 22px; }
.treat__chev { display: none; }
.treat__panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; background: var(--n-0); border: 1px solid var(--n-200); border-radius: var(--radius-lg); padding: 24px; animation: fadeIn .4s var(--ease); }
.section:not(.section--gray) .treat__panel { background: var(--n-50); border-color: var(--n-100); }
.treat__panel[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.treat__img { margin: 0; }
.treat__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; background: var(--brand-700); }
.treat__img figcaption { font-size: 12px; color: var(--n-500); margin-top: 8px; }
.treat__area { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-500); }
.treat__body h3 { font-size: 36px; margin: 6px 0 12px; }
.treat__body > p { color: var(--n-500); }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 15px; }

.band {
  margin-top: 64px; padding: 36px 44px; border-radius: var(--radius-lg);
  background: var(--brand-500); position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.band::after {
  content: ""; position: absolute; z-index: -1; right: -40px; top: 50%; width: 220px; height: 220px; transform: translateY(-50%);
  background: url("../img/espiral.svg") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .14; pointer-events: none;
}
.band .eyebrow { color: rgba(255,255,255,.75); margin-bottom: 8px; }
.band h3 { color: #fff; font-size: clamp(26px, 3vw, 36px); max-width: 620px; }

/* ---------- Como funciona ---------- */
.method { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 10px; counter-reset: s; }
.step { background: #fff; border-radius: 12px; border: 1px solid var(--n-200); }
.step summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; font-weight: 600; color: var(--n-900);
}
.step summary::-webkit-details-marker { display: none; }
.step__n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-500); font-family: var(--font-serif); font-style: italic; font-size: 18px;
}
.step summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--n-500); border-bottom: 2px solid var(--n-500); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.step[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.step p { padding: 0 18px 16px 64px; margin: 0; color: var(--n-500); font-size: 15px; }
.method__img { position: relative; }
.method__img img.photo { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 533/650; object-fit: cover; }
.spiral { position: absolute; width: 180px; pointer-events: none; }
.method__img .spiral { top: -60px; right: -50px; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__img { position: relative; display: flex; justify-content: center; }
.about__img .spiral { width: 92%; top: 50%; left: 50%; transform: translate(-50%, -55%); opacity: .9; }
.about__img img.photo { position: relative; max-height: 640px; width: auto; }
.about__badge {
  position: absolute; left: 0; bottom: 30px; background: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 18px 40px -20px rgba(30,23,52,.45); font-size: 13px; line-height: 1.4; color: var(--n-500);
}
.about__badge strong { display: block; color: var(--n-950); font-size: 15px; }
.about__stats { display: flex; gap: 36px; margin: 28px 0 32px; flex-wrap: wrap; }
.about__stats .stat__num { color: var(--brand-500); font-size: 46px; }
.about__stats .stat__label { color: var(--n-500); }

.education { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
.education li { position: relative; padding-left: 22px; font-size: 15px; color: var(--n-600); }
.education li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-400); }
.education strong { color: var(--n-900); font-weight: 600; }

/* ---------- Localização ---------- */
.location { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.location__img img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.location__addr { font-style: normal; margin: 8px 0 28px; padding: 18px 20px; border-left: 3px solid var(--brand-400); background: var(--n-50); border-radius: 0 12px 12px 0; color: var(--n-600); }
.location__addr strong { display: block; color: var(--n-950); font-weight: 600; margin-bottom: 4px; }
.location__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Galeria ---------- */
.gallery { overflow: hidden; display: grid; gap: 14px; margin-top: 48px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.gallery__row { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.gallery__row--rev { animation-direction: reverse; }
.gallery__row img { width: 200px; height: 200px; object-fit: cover; border-radius: 10px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Depoimentos ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin: 88px 0 36px; }
.google { display: flex; align-items: center; gap: 12px; }
.google img.g { width: 36px; }
.google img.s { width: 100px; }
.google small { display: block; color: var(--n-400); font-size: 13px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--n-950); border: 1px solid var(--n-800); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 24px; font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 1.4; color: #fff; }
.review blockquote::before { content: "“"; display: block; font-size: 48px; line-height: .6; color: var(--brand-400); margin-bottom: 10px; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.review footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review footer strong { display: block; color: #fff; font-weight: 600; }
.review footer span { color: var(--n-500); font-size: 13px; }

/* ---------- CTA final + formulário ---------- */
.final { background: var(--black); padding: 0 0 88px; }
.final__box {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--brand-500); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
}
.final__copy { padding: 56px; position: relative; z-index: 1; }
.final__copy .eyebrow { color: rgba(255,255,255,.75); }
.final__copy h2 { color: #fff; font-size: clamp(32px, 4vw, 46px); margin-bottom: 16px; }
.final__copy p { color: rgba(255,255,255,.85); }
.final__copy .people { margin-top: 28px; max-width: 340px; }
.final__copy .spiral { right: -40px; bottom: -60px; width: 220px; opacity: .14; filter: brightness(0) invert(1); }
.final__form { background: #fff; padding: 44px; color: var(--n-600); }
.final__form h3 { font-size: 30px; margin-bottom: 6px; }
.final__form > p { font-size: 15px; color: var(--n-500); margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--n-900); }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--n-300);
  font: inherit; font-size: 16px; color: var(--n-900); background: var(--n-0);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-50); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.field .err { font-size: 13px; color: #c0392b; display: none; }
.field input[aria-invalid="true"] + .err { display: block; }
.form-note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--n-500); margin: 14px 0 0; }
.form-note svg { width: 16px; height: 16px; flex: none; color: var(--brand-500); }

/* ---------- FAQ ---------- */
.faq-section { background: var(--n-950); }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--black); border: 1px solid var(--n-800); border-radius: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px;
  color: #fff; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand-200); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--n-400); font-size: 15px; }
.faq-cta { text-align: center; margin-top: 40px; }
.faq-cta p { color: var(--n-400); }

/* ---------- Rodapé ---------- */
.footer { background: var(--black); color: var(--n-400); padding: 56px 0 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--n-800); }
.footer__logo { width: 150px; margin-bottom: 14px; }
.footer h4 { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 600; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--n-500); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--n-800); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }

/* ---------- WhatsApp flutuante + barra mobile ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--brand-500); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(30,23,52,.6);
  transition: transform .2s var(--ease), background .2s;
}
.wa-float:hover { transform: scale(1.06); background: var(--brand-600); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(89,76,135,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(89,76,135,0); } 100% { box-shadow: 0 0 0 0 rgba(89,76,135,0); } }
.mobile-bar { display: none; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__nav a:not(.btn) { display: none; }
  .treat { grid-template-columns: 240px 1fr; }
  .treat__panel { grid-template-columns: 1fr; }
  .treat__img img { aspect-ratio: 16/10; }
}

@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .header.is-scrolled { height: 68px; }
  .section { padding: 64px 0; }
  /* Header mobile: só a logo, maior (como na referência) */
  .header__nav { display: none; }
  .header__logo { width: 190px; }
  .header.is-scrolled .header__logo { width: 150px; }
  .header__logo { transition: width .3s var(--ease); }
  .hide-mobile { display: none; }
  /* Topo mobile igual à referência: foto em tela cheia, título grande e botão */
  .hero { align-items: flex-end; min-height: 100svh; padding: calc(var(--header-h) + 24px) 0 56px; }
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,.15) 65%, rgba(0,0,0,.35) 100%); }
  .hero__bg img { object-position: center top; }
  .hero .eyebrow { font-weight: 400; font-size: 15px; letter-spacing: .12em; color: rgba(255,255,255,.9); margin-bottom: 12px; }
  .hero h1 { font-size: 50px; line-height: 1.06; margin-bottom: 28px; }
  .hero__content h1 { max-width: 300px; }
  .hero .container, .header .container { padding-left: 24px; padding-right: 24px; }
  .hero__sub, .hero__proof { display: none; }
  .hero .cta-wrap { width: auto; align-items: flex-start; }
  .hero .btn { width: auto; font-weight: 500; }
  .hero .cta-note { padding-left: 14px; }

  .hero-band { display: block; background: var(--brand-500); color: #fff; padding: 56px 0; }
  .hero-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .hero-band__avatars { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; }
  .hero-band .avatars img { border-color: var(--brand-500); }
  .hero-band__proof p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.88); margin: 0; }
  .hero-band__proof a { color: #fff; }
  .hero-band__doctor {
    padding: 12px 12px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.22);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(14,10,27,.5));
    font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.92);
  }
  .hero-band__doctor img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; border-radius: 10px; background: var(--brand-400); margin-bottom: 10px; }
  .hero-band__doctor p { margin: 0; }
  .doctor-card { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .goals, .ba, .method, .about, .final__box, .location, .service__intro { grid-template-columns: minmax(0, 1fr); }
  .field select, .field input { min-width: 0; }

  /* Textos longos justificados no mobile */
  .lead, .hero__sub, .goal__body p, .service__intro p, .treat__body > p, .about p, .step p,
  .faq details p, .final__copy p, .review blockquote, .location .lead {
    text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3;
  }
  .service__intro .service__tagline { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
  .center .lead { text-align-last: center; }
  .service__intro { gap: 36px; margin-bottom: 56px; }
  .service__intro .service__img, .service__intro--rev .service__img { order: -1; }
  .service__img .spiral { width: 110px; top: -30px; right: -10px; }
  .service__intro--rev .service__img .spiral { left: -10px; }
  .service__tagline { font-size: 21px; }
  /* Tratamentos viram sanfona no mobile (o JS move cada painel para baixo do seu título) */
  .treat { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .treat__panels { display: none; }
  .treat__nav { position: static; display: grid; gap: 10px; }
  .treat__tab {
    padding: 16px; font-size: 16px; font-weight: 600; color: var(--n-900);
    background: var(--n-0); border: 1px solid var(--n-200); border-radius: 14px; box-shadow: none;
  }
  .section:not(.section--gray) .treat__tab { background: var(--n-50); border-color: var(--n-100); }
  .treat__tab[aria-selected="true"], .section:not(.section--gray) .treat__tab[aria-selected="true"] {
    background: var(--brand-500); border-color: var(--brand-500); color: #fff; box-shadow: none; border-radius: 14px 14px 0 0;
  }
  .treat__tab[aria-selected="true"] .treat__num { color: var(--brand-200); }
  .treat__chev { display: block; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; opacity: .6; }
  .treat__tab[aria-selected="true"] .treat__chev { transform: rotate(-135deg) translateY(-2px); opacity: 1; }
  .treat__nav .treat__panel {
    margin-top: -10px; border-radius: 0 0 14px 14px; border: 1px solid var(--brand-100); border-top: 0;
    background: var(--n-0); padding: 16px; gap: 16px; grid-template-columns: 1fr;
  }
  .section:not(.section--gray) .treat__nav .treat__panel { background: var(--brand-50); }
  .treat__img img { aspect-ratio: 4/3; }
  .treat__img figcaption { display: none; }
  .treat__area { display: none; }
  .treat__body h3 { display: none; }
  .treat__body > p { font-size: 15px; }

  /* Resultados: título → comparação → botão */
  .ba { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "cta"; row-gap: 24px; }
  .ba__cta { margin-top: 0; }
  .ba__cta .cta-wrap { width: 100%; align-items: center; }
  .ba__cta .btn { width: 100%; }
  .tabs--ba { display: flex; width: 100%; }
  .tabs--ba .tab { flex: 1; padding: 10px 6px; font-size: 13px; }
  .compare__hint { display: flex; }
  .compare__handle { width: 48px; height: 48px; }
  .band { padding: 28px 24px; margin-top: 48px; }
  .band::after { width: 150px; height: 150px; top: 0; transform: translateY(-30%); }
  .location { gap: 32px; }
  .location__img img { max-height: 340px; }
  .method { gap: 40px; }
  .method__img { order: -1; max-width: 460px; margin: 0 auto; }
  .method__img .spiral { width: 120px; top: -30px; right: -10px; }
  .about { gap: 32px; }
  .about__img img.photo { max-height: 480px; }
  .reviews { grid-template-columns: 1fr; }
  .reviews-head { margin-top: 64px; }
  .final__copy { padding: 40px 28px 32px; }
  .final__form { padding: 32px 24px; }
  .final__copy .people { max-width: min(280px, 100%); margin-left: auto; margin-right: auto; }
  .gallery__row img { width: 140px; height: 140px; }

  .final__copy .spiral { display: none; }
  .footer { padding-bottom: 110px; }

  /* Na mídia: faixa contínua no mobile */
  .media { padding: 32px 0; }
  .media__inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .media__label { max-width: none; text-align: center; }
  .media__title { font-size: 20px; }
  .media__viewport {
    margin: 0 calc(var(--gutter) * -1);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }
  .media__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
  .media__logos { justify-content: flex-start; gap: 36px; padding-right: 36px; }
  .media__logos--dup { display: flex; }
  .media__logos img { height: 38px; }
  .media__logos li:nth-child(5) img { height: 42px; }

  .wa-float { display: none; }
  .mobile-bar {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .goal__ctas .btn, .location__ctas .btn, .band .btn { width: 100%; }
  .goal .cta-wrap { width: 100%; align-items: center; }
  .stats__grid .stat { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stat__num { font-size: 32px; }
  .goal__body { padding: 24px 22px 26px; }
  .goal h3 { font-size: 30px; }
  .pillars { grid-template-columns: 1fr; gap: 8px; }
  .pillars li { padding: 10px 14px; }
  .pillars strong { display: inline; font-size: 18px; margin: 0 6px 0 0; }
  .checklist--2 { grid-template-columns: 1fr; }
  .tab { padding: 9px 16px; font-size: 14px; }
  .step summary { padding: 14px; gap: 12px; }
  .step p { padding: 0 14px 16px 58px; }
  .final__copy { padding: 32px 20px 24px; }
  .final__form { padding: 28px 20px; }
  .band { padding: 24px 20px; }
  .location__addr { padding: 14px 16px; }
  .about__stats { gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Telas bem estreitas (iPhone SE / 320–400px) */
@media (max-width: 400px) {
  .hide-xs { display: none; }
  .btn { padding: 0 20px; font-size: 15px; gap: 8px; }
  .btn--sm { padding: 0 16px; font-size: 14px; }
  .header__logo { width: 176px; }
  .header.is-scrolled .header__logo { width: 140px; }
  .hero h1 { font-size: 46px; }
  .hero-band__proof p, .hero-band__doctor { font-size: 13px; }
  .hero-band__grid { gap: 12px; }
  .title { font-size: 31px; }
  .title--sm { font-size: 28px; }
  .goal h3, .treat__body h3 { font-size: 28px; }
  .service__tagline { font-size: 19px; }
  .stats__grid { gap: 18px 12px; }
  .stat__num { font-size: 28px; }
  .stat__label { font-size: 13px; }
  .tabs--ba { border-radius: 14px; }
  .tabs--ba .tab { border-radius: 10px; padding: 8px 4px; font-size: 14px; line-height: 1.2; }
  .tab__k { display: block; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
  .tab__sep { display: none; }
  .step p { padding: 0 14px 16px; }
  .treat__tab { padding: 14px; gap: 10px; font-size: 15px; }
  .about__stats .stat__num { font-size: 38px; }
  .review { padding: 22px; }
  .review blockquote { font-size: 18px; }
  .faq summary { padding: 16px; }
  .faq details p { padding: 0 16px 16px; }
  .final__copy h2 { font-size: 30px; }
  .final__form h3 { font-size: 27px; }
}

@media (max-width: 340px) {
  .header__logo { width: 160px; }
  .hero h1 { font-size: 40px; }
  .hero__content h1 { max-width: 250px; }
  .hero .container, .header .container { padding-left: 20px; padding-right: 20px; }
}
