/* Inter hospedada no próprio site (latim: cobre todo o português). Variável: pesos 300–700 + tamanho óptico.
   font-display: optional + preload: a fonte entra desde o primeiro quadro ou não troca no meio (sem deslocamento de layout). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: optional; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300 700; font-display: optional; src: url("/assets/fonts/inter-latin-italic.woff2") format("woff2"); }
/* Fonte reserva com as medidas da Inter: o texto não "pula" quando a fonte chega */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.64%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }
/* ==========================================================================
   Dra. Laís Leal — site em HTML estático, montado com o Design System do Figma
   Tokens = variáveis do Figma (Primitives / Color / Spacing / Radius).
   Modos de cor: .mode-creme (padrão) · .mode-verde · .mode-escuro
   ========================================================================== */

:root,
.mode-creme {
  --bg-base: #FEFAF6;
  --bg-surface: #FBF1E4;
  --bg-card: #FFFFFF;
  --bg-accent: #F7DFC0;
  --action-primary: #F2D1A8;
  --action-primary-hover: #DABC97;
  --action-secondary: #557669;
  --action-subtle-hover: rgba(30, 41, 37, .08);
  --text-primary: #1E2925;
  --text-secondary: #4E4842;
  --text-muted: #68615A;
  --text-accent: #4A685C;
  --text-inverse: #FFFFFF;
  --text-on-action: #1E2925;
  --border-subtle: rgba(30, 41, 37, .08);
  --border-default: #E8D9C5;
  --border-accent: #F2D1A8;
  --border-focus: #557669;
  --surface-badge: #EBEBEB;
  --surface-chip: #F2D1A8;
  --icon-accent: #557669;
  --icon-default: #1E2925;
  --fb-warning: #8A5A00;

  --spec-clinica: #F7DFC0;
  --spec-cirurgica: #E6E6E6;
  --spec-rejuvenescimento: #D1E0D7;
  --spec-capilar: #B1CCC2;
  --spec-tecnicas: #E8C79E;
  --icon-on-specialty: #4A685C;

  --sp-2xs: 4px; --sp-xs: 8px; --sp-sm: 12px; --sp-md: 16px; --sp-lg: 24px;
  --sp-xl: 32px; --sp-2xl: 48px; --sp-3xl: 64px; --sp-4xl: 96px; --sp-5xl: 120px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 15px; --r-xl: 30px; --r-2xl: 40px; --r-full: 999px;
  --shadow-card: 0 4px 24px rgba(30, 41, 37, .06);
  --shadow-floating: 0 12px 32px rgba(30, 41, 37, .14);
  --gutter: clamp(24px, 6.95vw, 100px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.mode-verde {
  --bg-base: #557669;
  --bg-surface: #4A685C;
  --bg-card: #4A685C;
  --text-primary: #FFFFFF;
  --text-secondary: #FEFAF6;
  --text-muted: #F1F5F2;
  --text-accent: #FDF8F2;
  --border-subtle: rgba(255, 255, 255, .24);
  --border-default: rgba(255, 255, 255, .24);
  --border-focus: #FEFAF6;
  --icon-accent: #F2D1A8;
  --icon-default: #FFFFFF;
  --action-subtle-hover: rgba(255, 255, 255, .12);
}

.mode-escuro {
  --bg-base: #1E2925;
  --bg-surface: #26332E;
  --bg-card: #2C3A34;
  --text-primary: #FEFAF6;
  --text-secondary: #E3ECE7;
  --text-muted: #A9B5AF;
  --text-accent: #F2D1A8;
  --border-subtle: rgba(255, 255, 255, .12);
  --border-default: rgba(255, 255, 255, .24);
  --border-focus: #F2D1A8;
  --icon-accent: #F2D1A8;
  --icon-default: #FEFAF6;
  --action-subtle-hover: rgba(255, 255, 255, .12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-variation-settings: "opsz" 18;
  font-size: 16px; line-height: 24px;
  color: var(--text-primary); background: var(--bg-base);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--border-focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[id] { scroll-margin-top: 24px; }
em { font-style: italic; font-weight: 500; }
strong { font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mark { display: inline-block; width: .6em; height: 1em; flex: none; background: var(--icon-accent);
  -webkit-mask: url(assets/traco.svg) center / contain no-repeat; mask: url(assets/traco.svg) center / contain no-repeat; }

/* ---------- Tipografia (text styles do Figma) ---------- */
.h-hero { font-size: clamp(34px, 5vw, 72px); line-height: 1.11; font-weight: 500; letter-spacing: -.02em; }
.h2 { font-size: clamp(32px, 3.34vw, 48px); line-height: 1.17; font-weight: 500; letter-spacing: -.02em; }
.h3 { font-size: 32px; line-height: 40px; font-weight: 500; letter-spacing: -.01em; }
.h4 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.01em; }
.lead { font-size: 24px; line-height: 34px; letter-spacing: -.01em; }
.body { font-size: 20px; line-height: 30px; letter-spacing: -.01em; }
.small { font-size: 16px; line-height: 24px; }
.label { font-size: 16px; line-height: 20px; font-weight: 500; }
.label-sm { font-size: 14px; line-height: 18px; font-weight: 500; }
.overline { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.caption { font-size: 14px; line-height: 20px; }
.legal { font-size: 12px; line-height: 16px; font-weight: 300; }
.muted { color: var(--text-muted); }
.sec { color: var(--text-secondary); }

@media (max-width: 899px) {
  .h2 { font-size: 32px; line-height: 40px; letter-spacing: -.01em; }
  .h3 { font-size: 28px; line-height: 34px; }
  .lead { font-size: 18px; line-height: 28px; }
  .body { font-size: 16px; line-height: 24px; }
}

/* ---------- Animações de Revelação e Tipografia (Conceito Framer Motion / Priscilla Maria) ---------- */
em, .grifo {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  text-decoration: none;
}
.hl em::after, .hl .grifo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 2px;
  background: var(--border-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.85s var(--ease);
}
.mode-verde .hl em::after, .mode-verde .hl .grifo::after { background: #F2D1A8; }
.mode-escuro .hl em::after, .mode-escuro .hl .grifo::after { background: #F2D1A8; }

.js .hl.is-in em::after, .js .hl.is-in .grifo::after {
  transform: scaleX(1);
}

.js .hl .w {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.35em, 0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: transform, opacity;
}
.js .hl.is-in .w {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Revelação suave de fotos (Hero e Páginas Internas) */
.js .hero-photo img,
.js .ihero-photo > img {
  animation: pm-reveal 1.05s var(--ease) 0.15s both;
  will-change: clip-path, transform;
}
@keyframes pm-reveal {
  from {
    clip-path: inset(5% 5% 5% 5% round var(--r-xl));
    transform: scale(0.97);
  }
  to {
    clip-path: inset(0 0 0 0 round var(--r-xl));
    transform: scale(1);
  }
}

/* Chips e proofs flutuantes (Hero desktop e páginas internas) */
.hero-float, .ihero-photo .proof {
  animation: pm-chip-in 0.8s var(--ease) var(--d, 0.4s) both,
             pm-float 6s ease-in-out calc(var(--d, 0.4s) + 0.8s) infinite;
}
.hero-float--crm, .ihero-photo .p-crm { --d: 0.45s; }
.hero-float--pac, .ihero-photo .p-pac { --d: 0.65s; }

@keyframes pm-chip-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes pm-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .hl .w { opacity: 1; transform: none; transition: none; }
  .hl em::after, .hl .grifo::after { transform: none; transition: none; }
  .js .hero-photo img, .js .ihero-photo > img, .hero-float, .ihero-photo .proof { animation: none; }
}

/* ---------- Estrutura ---------- */
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-5xl); background: var(--bg-base); color: var(--text-primary); }
.section--surface { background: var(--bg-surface); }
@media (max-width: 899px) { .section { padding-block: 72px; } }

.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-lg); max-width: 880px; margin-inline: auto; }
.sec-head--left { align-items: flex-start; text-align: left; margin-inline: 0; }
.sec-head p { color: var(--text-secondary); }
@media (max-width: 899px) { .sec-head { align-items: flex-start; text-align: left; margin-inline: 0; gap: var(--sp-md); } }

/* ---------- Componentes ---------- */
/* Badge / Section */
.badge-sec { display: inline-flex; align-items: center; gap: var(--sp-xs); padding: 8px 16px; border: 1px solid var(--border-accent); border-radius: var(--r-full); color: var(--text-secondary); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.badge-sec .mark { font-size: 16px; }
/* Badge / Tag */
.badge-tag { display: inline-flex; padding: 8px 16px; border-radius: var(--r-md); background: var(--surface-badge); color: var(--text-on-action); font-size: 16px; line-height: 20px; font-weight: 500; }
/* Badge / Credential */
.badge-cred { display: inline-flex; align-items: center; gap: var(--sp-xs); padding: 8px 14px; border-radius: var(--r-full); background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-primary); font-size: 14px; line-height: 18px; font-weight: 500; }
.badge-cred .i { font-size: 18px; color: var(--icon-accent); }

/* CTA / Assinatura */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-sm); padding: 12px 12px 12px 24px; min-height: 56px; border-radius: var(--r-md); background: var(--action-primary); color: var(--text-on-action); font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -.01em; transition: background-color 200ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease; will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .cta:hover { background: var(--action-primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30, 41, 37, .12); }
}
.cta:active { transform: scale(0.97) translateY(0); }
.cta img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.cta--sm { min-height: 48px; font-size: 18px; padding: 8px 10px 8px 20px; }
.cta--block { display: flex; width: 100%; }

.link { display: inline-flex; align-items: center; gap: var(--sp-xs); color: var(--text-accent); font-size: 16px; line-height: 20px; font-weight: 500; }
.link .i { font-size: 18px; transition: transform .2s cubic-bezier(0.23, 1, 0.32, 1); }
.link:hover .i { transform: translateX(3px); }

/* Checklist */
.checks { display: flex; flex-direction: column; gap: var(--sp-md); }
.check { display: flex; gap: var(--sp-sm); align-items: flex-start; }
.check .i, .check .mark { font-size: 22px; margin-top: 4px; color: var(--icon-accent); }
.check .mark { font-size: 20px; margin-top: 5px; margin-inline: 2px; }
.check--box { padding: var(--sp-md) var(--sp-lg); border-radius: var(--r-md); background: var(--bg-accent); color: var(--text-on-action); }
.check--box .mark { background: var(--icon-accent); }
@media (max-width: 899px) { .check .i { font-size: 20px; margin-top: 2px; } .check .mark { margin-top: 3px; } .checks { gap: var(--sp-sm); } }

/* ---------- Barra de aviso ---------- */
.notice { background: var(--action-primary); color: var(--text-on-action); text-align: center; padding: 8px var(--sp-md); font-size: 16px; line-height: 20px; font-weight: 500; }
.notice strong { font-weight: 700; }
.notice a { margin-left: 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.notice-short { display: none; }
@media (max-width: 699px) {
  .notice { font-size: 14px; padding: 8px var(--gutter); }
  .notice-full { display: none; }
  .notice-short { display: inline; }
}

/* ---------- Header + Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; background: var(--bg-base); color: var(--text-primary); }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #1E2925; overflow: hidden; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 72% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(30,41,37,.9) 0%, rgba(30,41,37,.6) 38%, rgba(30,41,37,0) 58%),
  linear-gradient(180deg, rgba(30,41,37,.7) 0%, rgba(30,41,37,0) 18%); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-lg); padding: 24px var(--gutter); max-width: 1440px; margin-inline: auto; position: relative; z-index: 30; }
.logo img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav > a, .nav .has-menu > button { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; line-height: 20px; font-weight: 500; padding: 8px 0; color: var(--text-primary); transition: color .2s; }
.nav > a:hover, .nav .has-menu > button:hover { color: var(--text-accent); }
.has-menu { position: relative; }
.has-menu > button .i { font-size: 16px; transition: transform .25s cubic-bezier(0.23, 1, 0.32, 1); }
.dropdown { position: absolute; top: 100%; left: -16px; min-width: 260px; padding: 8px; border-radius: var(--r-lg); background: var(--bg-card); box-shadow: var(--shadow-floating); border: 1px solid var(--border-subtle); color: var(--text-primary); opacity: 0; visibility: hidden; transform: scale(0.96) translateY(-6px); transform-origin: top left; transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms cubic-bezier(0.23, 1, 0.32, 1), visibility 200ms; pointer-events: none; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown, .has-menu.is-open .dropdown { opacity: 1; visibility: visible; transform: scale(1) translateY(0); pointer-events: auto; }
.has-menu:hover > button .i, .has-menu:focus-within > button .i { transform: rotate(180deg); }
.dropdown a { display: block; padding: 10px 12px; border-radius: var(--r-md); font-size: 16px; line-height: 20px; font-weight: 500; transition: background-color .15s, transform .15s; }
.dropdown a:hover { background: var(--bg-surface); transform: translateX(2px); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-md); border: 1px solid var(--border-default); font-size: 22px; }

.hero-inner { padding-top: 56px; padding-bottom: 104px; }
.hero-content { max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-xl); }
.hero-content .lead { color: var(--text-secondary); max-width: 620px; }
.hero-content .lead strong { color: var(--text-primary); }
.hero-actions { display: flex; align-items: center; gap: var(--sp-lg); flex-wrap: wrap; padding-top: var(--sp-xs); }
.hero-actions p { color: var(--text-muted); font-size: 14px; line-height: 20px; max-width: 260px; }

.proof { display: inline-flex; align-items: center; gap: var(--sp-sm); padding: 12px 16px; border-radius: var(--r-lg); background: var(--bg-card); box-shadow: var(--shadow-floating); color: var(--text-primary); }
.proof-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--bg-accent); color: var(--text-on-action); font-size: 20px; flex: none; }
.proof b { display: block; font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.01em; }
.proof div span { display: block; font-size: 14px; line-height: 20px; color: var(--text-muted); }
/* Ao lado dos braços da Dra. (Figma Home v2): % da largura acompanha o object-fit da foto */
.hero-float { position: absolute; }
.hero-float--crm { right: 28.5%; top: 50%; }
.hero-float--pac { left: 79.6%; top: 59%; }
.hero-proofs { display: none; }

@media (max-width: 1399px) {
  .hero-float { display: none; }
  .hero-proofs { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
}

@media (max-width: 899px) {
  .hero-media { inset: 0 0 auto 0; height: 174.4vw; max-height: 820px; }
  .hero-media img { object-position: center top; }
  .hero-media::after { background: linear-gradient(180deg, rgba(30,41,37,.72) 0%, rgba(30,41,37,0) 20%, rgba(30,41,37,0) 40%, rgba(30,41,37,.8) 58%, rgba(30,41,37,.95) 74%, #1E2925 90%); }
  .site-header { padding: 16px var(--gutter); }
  .logo img { width: 150px; }
  .nav { display: none; }
  .site-header .cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-inner { padding: calc(95vw - 72px) var(--gutter) 40px; }
  .hero-content { gap: var(--sp-md); }
  .hero-content .lead { font-size: 16px; line-height: 24px; }
  .hero-actions { width: 100%; }
  .hero-actions .cta { width: 100%; }
  .hero-actions p { display: none; }
  .hero-proofs { flex-wrap: nowrap; width: 100%; }
  .hero-proofs .proof { flex: 1 1 0; min-width: 0; padding: 8px 10px; gap: 8px; border-radius: var(--r-md); }
  .hero-proofs .proof-ic { width: 28px; height: 28px; font-size: 16px; border-radius: var(--r-sm); }
  .hero-proofs .proof b { font-size: 15px; line-height: 20px; white-space: nowrap; }
  .hero-proofs .proof div span { font-size: 12px; line-height: 16px; white-space: nowrap; }
}

/* Menu mobile elegante (Cortina clip-path + links em cascata) */
.menu-panel {
  position: fixed; inset: 0; z-index: 60; background: #1E2925; color: #FEFAF6;
  padding: 16px 24px 32px; display: flex; flex-direction: column; gap: var(--sp-xl);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 0.55s var(--ease), opacity 0.4s var(--ease);
}
.menu-panel.is-open {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  pointer-events: auto;
}
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-panel nav { display: flex; flex-direction: column; }
.menu-panel nav a {
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.01em;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.menu-panel.is-open nav a {
  opacity: 1; transform: translateY(0);
}
.menu-panel.is-open nav a:nth-child(1) { transition-delay: 0.12s; }
.menu-panel.is-open nav a:nth-child(2) { transition-delay: 0.18s; }
.menu-panel.is-open nav a:nth-child(3) { transition-delay: 0.24s; }
.menu-panel.is-open nav a:nth-child(4) { transition-delay: 0.30s; }
.menu-panel.is-open nav a:nth-child(5) { transition-delay: 0.36s; }
.menu-panel .sub { padding-left: 16px; font-size: 18px; line-height: 24px; font-weight: 400; color: #E3ECE7; }
.menu-panel .menu-btn { border-color: rgba(255,255,255,.24); }

/* ---------- Especialidades (abas no desktop, cards empilhados no mobile) ---------- */
.spec { display: flex; flex-direction: column; gap: 56px; }
.spec-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-sm); }
.tab { padding: 12px 20px; border-radius: var(--r-xl); background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: 16px; line-height: 20px; font-weight: 500; transition: background-color .2s, border-color .2s; }
.tab:hover { background: color-mix(in srgb, var(--tab-c) 55%, #fff); }
.tab[aria-selected="true"] { background: var(--tab-c); color: var(--text-on-action); border-color: transparent; }
.tab[data-spec="clinica"] { --tab-c: var(--spec-clinica); }
.tab[data-spec="cirurgica"] { --tab-c: var(--spec-cirurgica); }
.tab[data-spec="rejuvenescimento"] { --tab-c: var(--spec-rejuvenescimento); }
.tab[data-spec="capilar"] { --tab-c: var(--spec-capilar); }
.tab[data-spec="tecnicas"] { --tab-c: var(--spec-tecnicas); }

.spec-panels { display: flex; flex-direction: column; gap: var(--sp-md); }
.spec-panel { padding: 56px; border-radius: var(--r-lg); border: 1.5px solid var(--border-accent); background: var(--spec-c); color: #1E2925; display: flex; flex-direction: column; gap: var(--sp-xl); }
.spec-panel[data-spec="clinica"] { --spec-c: var(--spec-clinica); }
.spec-panel[data-spec="cirurgica"] { --spec-c: var(--spec-cirurgica); }
.spec-panel[data-spec="rejuvenescimento"] { --spec-c: var(--spec-rejuvenescimento); }
.spec-panel[data-spec="capilar"] { --spec-c: var(--spec-capilar); }
.spec-panel[data-spec="tecnicas"] { --spec-c: var(--spec-tecnicas); }
.spec-panel .top { display: flex; flex-direction: column; gap: var(--sp-sm); }
.spec-panel .h2 { color: #1E2925; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); align-items: start; }
.spec-list ul { display: flex; flex-direction: column; gap: var(--sp-lg); }
.spec-list li { display: flex; gap: var(--sp-sm); align-items: flex-start; font-size: 20px; line-height: 30px; letter-spacing: -.01em; }
.spec-list li .i { font-size: 22px; margin-top: 4px; color: var(--icon-on-specialty); }
.spec-cta { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
.spec-all { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; color: var(--text-primary); text-decoration: underline; text-underline-offset: 4px; }
.spec-all .i { font-size: 18px; }

/* Áreas de atendimento: um card por página de especialidade (substitui abas + grade de tratamentos) */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area { --ai:#476459; --a:#4A685C; --t:#E3ECE7; --l:#9FC2B0; display: flex; flex-direction: column; gap: 16px; padding: 12px 12px 24px; border-radius: var(--r-lg); background: var(--t); color: #1E2925; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.area--capilar    { --a:#5F6E32; --t:#EEF0E1; --l:#C9D39E; --ai:#576530; }
.area--unhas      { --a:#A0573D; --t:#F7E6DE; --l:#E3A98F; --ai:#804C37; }
.area--cirurgia   { --a:#465C6E; --t:#E2E8ED; --l:#A3B7C6; --ai:#465B6D; }
.area--rejuv      { --a:#93565B; --t:#F5E4E3; --l:#D9A4A6; --ai:#794C4F; }
.area--pediatrica { --a:#86683F; --t:#FBF1E4; --l:#E8C79E; --ai:#755E3B; }
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.area-img { height: 200px; border-radius: var(--r-md); overflow: hidden; }
.area-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.area:hover .area-img img { transform: scale(1.04); }
.area-body { display: flex; flex-direction: column; gap: 12px; padding: 8px 16px 0; flex: 1; }
.area-tag { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--ai); }
.area-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--a); flex: none; }
.area-title { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.area-body p { color: #4E4842; font-size: 16px; line-height: 24px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.area-chips li { padding: 5px 12px; border-radius: var(--r-full); background: rgba(255,255,255,.7); border: 1px solid var(--l); color: var(--ai); font-size: 13px; line-height: 18px; font-weight: 500; }
.area-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 500; color: var(--ai); }
.area-go .i { transition: transform .2s var(--ease); }
.area:hover .area-go .i { transform: translateX(3px); }
@media (max-width: 1099px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .areas { grid-template-columns: 1fr; } .spec-all { width: 100%; justify-content: center; } }

@media (min-width: 900px) {
  .spec-panel:not(.is-active) { display: none; }
}
@media (max-width: 899px) {
  .spec { gap: var(--sp-xl); }
  .spec-tabs { display: none; }
  .spec-panel { padding: var(--sp-lg); gap: var(--sp-lg); }
  .spec-panel .h2 { font-size: 24px; line-height: 32px; letter-spacing: -.01em; }
  .spec-panel .lead { font-size: 16px; line-height: 24px; }
  .spec-list { grid-template-columns: 1fr; gap: 14px; }
  .spec-list ul { gap: 14px; }
  .spec-list li { font-size: 16px; line-height: 24px; }
  .spec-list li .i { font-size: 20px; margin-top: 2px; }
  .spec-cta .cta { width: 100%; }
}

/* ---------- Cards de tratamento ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); margin-top: 56px; }
.card { display: flex; flex-direction: column; gap: var(--sp-md); padding: var(--sp-xs); border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--border-subtle); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--border-accent); }
.card-img { height: 220px; border-radius: var(--r-md); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: var(--sp-xs); padding: var(--sp-xs) var(--sp-md) 20px; }
.card-body p { color: var(--text-secondary); }
.card-body .link { margin-top: var(--sp-xs); }
@media (max-width: 1099px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .cards { grid-template-columns: 1fr; gap: var(--sp-md); margin-top: var(--sp-xl); } }

/* ---------- Para você ---------- */
.split { display: grid; grid-template-columns: 1fr 560px; gap: var(--sp-4xl); align-items: center; }
.split--rev { grid-template-columns: 600px 1fr; }
.split .col { display: flex; flex-direction: column; gap: var(--sp-2xl); align-items: flex-start; }
.photo { border-radius: var(--r-xl); overflow: hidden; background: var(--bg-surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 560 / 760; }
@media (max-width: 1099px) { .split, .split--rev { grid-template-columns: 1fr; gap: var(--sp-2xl); } .photo--tall { max-width: 560px; } }
@media (max-width: 899px) { .split .col { gap: var(--sp-xl); } .split .cta { width: 100%; } .photo--tall { aspect-ratio: 342 / 440; max-width: none; } }

/* ---------- Diferencial ---------- */
.diff { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2xl); text-align: center; }
.diff .lead { color: var(--text-secondary); max-width: 1003px; font-size: 24px; }
.diff .lead strong { color: var(--text-primary); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-md); }
.chip { display: inline-flex; align-items: center; gap: var(--sp-xs); padding: 8px 24px; border-radius: var(--r-md); background: var(--surface-chip); color: var(--text-on-action); font-size: 20px; line-height: 26px; letter-spacing: -.01em; }
.chip .i { font-size: 22px; }
.diff-close { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.01em; color: var(--text-accent); }
@media (max-width: 899px) {
  .diff { align-items: flex-start; text-align: left; gap: var(--sp-xl); }
  .diff .lead { font-size: 16px; line-height: 24px; }
  .chips { flex-direction: column; align-items: flex-start; gap: var(--sp-xs); }
  .chip { font-size: 16px; line-height: 20px; padding: 6px 12px; }
  .chip .i { font-size: 18px; }
  .diff-close { font-size: 18px; line-height: 28px; font-weight: 400; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 440px; gap: var(--sp-4xl); align-items: center; }
.about .col { display: flex; flex-direction: column; gap: var(--sp-lg); align-items: flex-start; }
.about .formacao { width: 100%; display: flex; flex-direction: column; gap: var(--sp-sm); margin-top: var(--sp-xs); }
.about .more { display: flex; flex-direction: column; gap: var(--sp-md); margin-top: var(--sp-md); width: 100%; }
.about .more p { display: flex; align-items: center; gap: var(--sp-xs); color: var(--text-secondary); font-size: 20px; line-height: 30px; }
.about .more p .i { font-size: 22px; color: var(--icon-accent); }
.about .acts { display: flex; align-items: center; gap: var(--sp-xl); flex-wrap: wrap; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 440 / 700; border-radius: var(--r-xl); overflow: hidden; background: #1E2925 url(assets/img/video-capa-v2-880.webp) center 30% / cover no-repeat; background-image: image-set(url(assets/img/video-capa-v2-880.webp) 1x, url(assets/img/video-capa-v2-1320.webp) 3x); color: #fff; text-align: left; }
/* A capa já traz o título na arte; o play fica abaixo dele, alinhado à margem do texto (9,3%) */
.video .play { position: absolute; z-index: 2; left: 9.3%; bottom: 6%; display: grid; place-items: center; font-size: 72px; line-height: 0; border-radius: 50%; background: rgba(30,41,37,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: scale .2s; }
.video .play .i { stroke-width: 1.2; filter: drop-shadow(0 4px 16px rgba(0,0,0,.35)); }
.video:hover .play { scale: 1.08; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #1E2925; z-index: 3; }
@media (max-width: 1099px) { .about { grid-template-columns: 1fr; gap: var(--sp-2xl); } .video { max-width: 440px; } }
@media (max-width: 899px) {
  .about .more p { font-size: 16px; line-height: 24px; }
  .about .acts { width: 100%; flex-direction: column; align-items: stretch; gap: var(--sp-md); }
  .about .acts .link { align-self: flex-start; }
  .video { aspect-ratio: 342 / 520; max-width: none; }
}

/* ---------- Consultório / galeria ---------- */
.gallery { position: relative; width: 100%; aspect-ratio: 600 / 720; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-card); }
.track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.track > * { flex: 0 0 100%; scroll-snap-align: center; }
.track img { width: 100%; height: 100%; object-fit: cover; }
.arrow { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.82); color: #1E2925; font-size: 20px; backdrop-filter: blur(6px); transition: background-color .2s; z-index: 2; }
.arrow:hover { background: #fff; }
.arrow--prev { left: 16px; } .arrow--next { right: 16px; }
.dots { display: flex; gap: 0; justify-content: center; align-items: center; }
.gallery .dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; }
/* alvo de toque de 24px (WCAG 2.5.8); o ponto visível é o ::before */
.dot { position: relative; width: 24px; height: 24px; margin: 0; padding: 0; background: none; border-radius: 50%; }
.dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; translate: -50% -50%; border-radius: 50%; background: rgba(255,255,255,.6); transition: width .2s, height .2s, background-color .2s; }
.dot.is-active::before { width: 9px; height: 9px; background: #fff; }
.results .dots .dot::before { background: var(--border-default); }
.results .dots .dot.is-active::before { background: var(--icon-accent); }
@media (max-width: 899px) {
  .gallery { aspect-ratio: 342 / 420; }
  .arrow { display: none; }
}

/* ---------- Resultados ---------- */
.results-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--sp-xl); margin-top: 56px; }
.results-wrap .track { gap: var(--sp-xl); height: auto; width: 100%; padding-block: 8px; }
.results-wrap .track > * { flex: 0 0 calc((100% - 2 * var(--sp-xl)) / 3); scroll-snap-align: start; }
.results-wrap .arrow { top: calc(50% - 64px); width: 48px; height: 48px; background: var(--bg-card); box-shadow: var(--shadow-floating); }
.results-wrap .arrow--prev { left: -24px; } .results-wrap .arrow--next { right: -24px; }
.rating { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-full); background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-primary); font-size: 14px; line-height: 18px; font-weight: 500; }
.rating .i { font-size: 16px; color: #F2B84B; fill: #F2B84B; }
.inline-link { color: var(--text-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.res-card { padding: 6px; border-radius: var(--r-lg); background: var(--bg-card); box-shadow: var(--shadow-card); }
.res-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.results .dots { display: flex; }
.legal-note { display: flex; gap: var(--sp-xs); align-items: flex-start; max-width: 720px; color: var(--text-muted); }
.legal-note .i { font-size: 16px; margin-top: 0; }
@media (max-width: 899px) {
  .results-wrap { margin-top: var(--sp-xl); gap: var(--sp-lg); align-items: stretch; }
  .results-wrap .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--sp-md); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); width: auto; }
  .results-wrap .track > * { flex: 0 0 min(290px, 82vw); scroll-snap-align: start; }
  .results .dots { display: flex; }
}

/* ---------- Depoimentos ---------- */
.dep-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); align-items: start; margin-top: 56px; }
.dep-col { display: flex; flex-direction: column; gap: var(--sp-lg); }
.dep { display: flex; flex-direction: column; gap: var(--sp-sm); padding: var(--sp-md); border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--border-subtle); }
.dep img { width: 100%; height: auto; border-radius: var(--r-md); }
.dep figcaption { color: var(--text-muted); font-size: 14px; line-height: 20px; }
.center { display: flex; justify-content: center; margin-top: var(--sp-2xl); }
@media (max-width: 899px) {
  .dep-cols { grid-template-columns: 1fr; gap: var(--sp-md); margin-top: var(--sp-xl); }
  .dep-col { display: contents; }
  .hide-m { display: none; }
  .center { justify-content: flex-start; margin-top: var(--sp-lg); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 440px 1fr; gap: var(--sp-4xl); align-items: start; }
.faq-side { display: flex; flex-direction: column; gap: var(--sp-xl); align-items: flex-start; }
.faq-list { display: flex; flex-direction: column; gap: var(--sp-sm); }
.qa { border-radius: var(--r-md); background: var(--bg-card); border: 1px solid var(--border-default); transition: border-color .25s ease, box-shadow .25s ease; }
.qa:hover { border-color: var(--border-accent); }
.qa[open] { border-color: var(--border-accent); box-shadow: 0 4px 16px rgba(30, 41, 37, .04); }
.qa summary { display: flex; align-items: center; gap: var(--sp-md); padding: 16px 24px; cursor: pointer; list-style: none; font-size: 20px; line-height: 30px; font-weight: 400; letter-spacing: -.01em; user-select: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { font-size: 22px; color: var(--icon-accent); transition: transform 0.35s var(--ease); }
.qa .i-minus { display: none; }
.qa[open] .i-plus { display: none; }
.qa[open] .i-minus { display: block; }
.qa[open] summary .i { transform: rotate(180deg); }
.qa p { padding: 0 24px 20px 62px; color: var(--text-secondary); }
.qa[open] p { animation: faqFadeIn 350ms var(--ease); }
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-end { display: none; }
@media (max-width: 1099px) { .faq-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); } }
@media (max-width: 899px) {
  .faq-grid { gap: var(--sp-xl); }
  .faq-side { display: contents; }
  .faq-side .sec-head { order: 1; }
  .faq-list { order: 2; gap: var(--sp-xs); }
  .faq-side .cta { order: 3; width: 100%; }
  .faq-side .link { order: 4; }
  .qa summary { font-size: 16px; line-height: 24px; font-weight: 500; padding: 14px 16px; gap: 12px; }
  .qa summary .i { font-size: 20px; }
  .qa p { padding: 0 16px 16px 48px; }
}

/* ---------- Rodapé ---------- */
.site-footer { padding: 48px var(--gutter); max-width: 1440px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--sp-md); }
.footer-photo { height: 520px; border-radius: var(--r-xl); overflow: hidden; }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; }
.footer-card { display: flex; justify-content: space-between; gap: var(--sp-3xl); padding: var(--sp-xl); border-radius: var(--r-lg); background: var(--bg-base); color: var(--text-primary); }
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-md); max-width: 460px; }
.footer-brand img { width: 180px; }
.footer-links { display: flex; gap: var(--sp-2xl); }
.footer-links div { display: flex; flex-direction: column; gap: var(--sp-xs); }
.footer-links h3 { color: var(--text-accent); margin-bottom: 4px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 18px; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-links a .i { font-size: 12px; opacity: .8; }
.footer-links a .i.lg { font-size: 16px; opacity: 1; }
.footer-legal { display: flex; justify-content: space-between; gap: var(--sp-md); padding: 12px var(--sp-xl); border-radius: var(--r-md); background: var(--action-primary); color: var(--text-on-action); }
.footer-legal b { font-weight: 600; }
.footer-legal a:hover { text-decoration: underline; }
@media (max-width: 1099px) { .footer-card { flex-direction: column; gap: var(--sp-xl); } }
@media (max-width: 899px) {
  .site-footer { padding: 32px 16px 24px; }
  .footer-photo { height: 240px; border-radius: var(--r-xl); }
  .footer-card { padding: var(--sp-lg); gap: var(--sp-lg); }
  .footer-links { flex-direction: column; gap: var(--sp-lg); }
  .footer-legal { flex-direction: column; gap: var(--sp-xs); padding: 12px var(--sp-md); }
}

/* ---------- CTA fixo (mobile) ---------- */

/* ---------- Página 404 / em construção ---------- */
.soon { min-height: 100vh; display: grid; place-items: center; padding: var(--sp-xl) var(--gutter); text-align: center; }
.soon-box { display: flex; flex-direction: column; align-items: center; gap: var(--sp-lg); max-width: 560px; }
.soon-box img { width: 200px; }
.soon-box .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-md); padding-top: var(--sp-xs); }
.btn-ghost { display: inline-flex; align-items: center; min-height: 56px; padding: 0 24px; border-radius: var(--r-md); border: 1px solid var(--border-default); font-size: 18px; font-weight: 500; }
.btn-ghost:hover { background: var(--bg-surface); }

/* ==========================================================================
   Páginas internas (Reembolso, Pediátrica)
   ========================================================================== */
.ihero { display: grid; grid-template-columns: 1fr 480px; gap: 80px; align-items: center; padding-top: 40px; padding-bottom: 96px; }
.ihero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ihero-text h1 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.14; font-weight: 500; letter-spacing: -.02em; }
.ihero-text .lead { color: var(--text-secondary); }
.ihero-text .micro { color: var(--text-muted); font-size: 14px; line-height: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--text-muted); }
.crumbs a:hover { color: var(--text-primary); }
.crumbs .i { font-size: 14px; }
.crumbs [aria-current] { color: var(--text-primary); }
.ihero-photo { position: relative; }
.ihero-photo > img { width: 100%; aspect-ratio: 480 / 600; object-fit: cover; border-radius: var(--r-xl); }
.ihero-photo .proof { position: absolute; z-index: 2; }
.ihero-photo .p-crm { left: -28px; bottom: 140px; }
.ihero-photo .p-pac { right: -28px; bottom: 36px; }
.ihero .hero-proofs { display: none; }
@media (max-width: 1099px) { .ihero { grid-template-columns: 1fr 380px; gap: 48px; } .ihero-photo .p-crm { left: -16px; bottom: 110px; } .ihero-photo .p-pac { right: -16px; bottom: 20px; } }
@media (max-width: 899px) {
  .ihero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 8px var(--gutter) 48px; }
  .ihero > * { min-width: 0; }
  .ihero .hero-proofs .proof b { font-size: 14px; }
  .ihero .hero-proofs .proof div span { white-space: normal; }
  .ihero-photo { order: -1; }
  .ihero-photo > img { aspect-ratio: 342 / 300; object-position: 50% 22%; }
  .ihero-photo .proof { display: none; }
  .ihero .hero-proofs { display: flex; }
  .ihero-text { gap: 18px; }
  .ihero-text .lead { font-size: 16px; line-height: 24px; }
  .ihero-text .cta { width: 100%; font-size: 18px; }
}

.sec-inner { display: flex; flex-direction: column; gap: 48px; }
.row2 { display: grid; grid-template-columns: 1fr 440px; gap: 80px; align-items: center; }
.row2--top { align-items: start; }
.row2--faq { grid-template-columns: 400px 1fr; gap: 96px; align-items: start; }
.row2--rev { grid-template-columns: 520px 1fr; }
.left-col { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.tipbox { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r-lg); background: var(--bg-accent); color: var(--text-on-action); }
.tipbox h3 { display: flex; align-items: center; gap: 10px; }
.tipbox .i { font-size: 22px; color: var(--icon-on-specialty); }

.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 24px; width: 100%; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--border-subtle); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease); will-change: transform; }
@media (hover: hover) and (pointer: fine) { .step:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(30, 41, 37, .08); border-color: var(--border-accent); } }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--action-primary); color: var(--text-on-action); font-size: 16px; font-weight: 500; transition: transform 0.35s var(--ease), background-color 0.25s var(--ease); }
.step:hover .step-n { transform: scale(1.08); }
.step p { color: var(--text-secondary); }
.center-col { display: flex; flex-direction: column; align-items: center; gap: 48px; }

.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.quotes { display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 500; }
.stars .i { font-size: 20px; color: #F2B84B; fill: #F2B84B; }
.stars span { margin-left: 8px; }
.quote { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--border-subtle); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease); will-change: transform; }
@media (hover: hover) and (pointer: fine) { .quote:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(30, 41, 37, .08); border-color: var(--border-accent); } }
.quote .i { font-size: 24px; color: var(--icon-accent); }
.quote small { color: var(--text-muted); font-size: 14px; }
.photo-wide { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 520 / 560; }
.photo-wide img { width: 100%; height: 100%; object-fit: cover; }

.who { display: flex; align-items: center; gap: 48px; }
.who img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.who-text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; width: 100%; }
.bento .sinal { grid-column: span 2; }
.bento .sinal:nth-child(-n+2) { grid-column: span 3; }
.sinal { display: flex; flex-direction: column; gap: 16px; padding: 14px 14px 24px; border-radius: var(--r-lg); background: var(--spec-c); color: #1E2925; }
.sinal:nth-child(1) { --spec-c: var(--spec-clinica); } .sinal:nth-child(2) { --spec-c: var(--spec-cirurgica); } .sinal:nth-child(3) { --spec-c: var(--spec-rejuvenescimento); } .sinal:nth-child(4) { --spec-c: var(--spec-capilar); } .sinal:nth-child(5) { --spec-c: var(--spec-tecnicas); }
.sinal-img { position: relative; width: 100%; height: 200px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.3); }
.sinal:nth-child(-n+2) .sinal-img { height: 280px; }
.sinal-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.sinal:hover .sinal-img img { transform: scale(1.03); }
.sinal p { display: flex; gap: 10px; padding-inline: 8px; font-size: 20px; line-height: 30px; letter-spacing: -.01em; margin-top: auto; }
.sinal p .i { font-size: 22px; margin-top: 4px; color: var(--icon-on-specialty); flex-shrink: 0; }

.cta-final { position: relative; overflow: hidden; text-align: center; background: #557669 !important; padding-block: 96px; }
.cta-final .center-col { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.cta-final .sec-head { gap: 20px; text-align: center; }
.cta-final .sec-head p { max-width: 640px; color: #FEFAF6; font-size: 20px; line-height: 30px; }
.cta-final .h2 { color: #FFFFFF; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.16; font-weight: 500; }
.cta-final .wm { position: absolute; right: 80px; top: 50%; transform: translateY(-50%); width: 252px; height: 420px; color: #FFFFFF; fill: #FFFFFF; opacity: .14; pointer-events: none; }
.pending { color: var(--fb-warning) !important; }

/* Dark mode specific elements matching Figma #407:3 & #409:787 */
.mode-escuro { background-color: #1E2925 !important; }
.mode-escuro .site-header { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mode-escuro .site-header .nav > a,
.mode-escuro .site-header .nav .has-menu > button { color: #FEFAF6; }
.mode-escuro .site-header .nav > a:hover,
.mode-escuro .site-header .nav .has-menu > button:hover { color: #F2D1A8; }
.mode-escuro .site-header .menu-btn { border-color: rgba(255, 255, 255, .24); color: #FEFAF6; }

.mode-escuro .crumbs { color: #A9B5AF; }
.mode-escuro .crumbs a { color: #A9B5AF; }
.mode-escuro .crumbs a:hover { color: #FEFAF6; }
.mode-escuro .crumbs [aria-current] { color: #FEFAF6; }
.mode-escuro .badge-tag { background: transparent; border: 1px solid #F2D1A8; color: #E3ECE7; }
.mode-escuro .ihero-text h1 { color: #FEFAF6; }
.mode-escuro .ihero-text .lead { color: #E3ECE7; }
.mode-escuro .ihero-text .micro { color: #A9B5AF; }
.mode-escuro .rating { background: #2C3A34; border: 1px solid rgba(255, 255, 255, .12); color: #FEFAF6; }
.mode-escuro .rating .i { color: #F2D1A8; fill: #F2D1A8; }

.mode-escuro .proof { background: #2C3A34; border: 1px solid rgba(255, 255, 255, .12); color: #FEFAF6; box-shadow: 0px 12px 32px 0px rgba(30, 41, 37, .24); }
.mode-escuro .proof-ic { background: #F7DFC0; color: #1E2925; border-radius: 10px; width: 40px; height: 40px; }
.mode-escuro .proof-ic .i,
.mode-escuro .proof-ic svg { color: #1E2925; stroke: #1E2925; }
.mode-escuro .proof b { color: #FEFAF6; }
.mode-escuro .proof div span { color: #A9B5AF; }

.mode-escuro .badge-sec { border-color: rgba(255, 255, 255, .24); color: #E3ECE7; }
.mode-escuro .badge-sec .mark { background: #F2D1A8; }
.mode-escuro .sec-head .h2 { color: #FEFAF6; }
.mode-escuro .sec-head .body { color: #E3ECE7; }
.mode-escuro .badge-cred { background: #2C3A34; border: 1px solid rgba(255, 255, 255, .12); color: #FEFAF6; }
.mode-escuro .badge-cred .i { color: #F2D1A8; }
.mode-escuro .stars { color: #FEFAF6; }
.mode-escuro .stars .i { color: #F2D1A8; fill: #F2D1A8; }
.mode-escuro .quote { background: #2C3A34; border: 1px solid rgba(255, 255, 255, .12); color: #FEFAF6; }
.mode-escuro .quote .i { color: #F2D1A8; }
.mode-escuro .quote p { color: #FEFAF6; }
.mode-escuro .quote small { color: #A9B5AF; }

@media (max-width: 1099px) {
  .row2, .row2--faq, .row2--rev { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .row2 > * { min-width: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  .sec-inner, .center-col { gap: 28px; align-items: stretch; }
  .cta-final { text-align: left; }
  .cta-final .wm { right: 4px; width: 156px; height: 260px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 20px; }
  .tipbox { padding: 24px; }
  .who { flex-direction: column; align-items: flex-start; gap: 20px; }
  .who img { width: 88px; height: 88px; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento .sinal, .bento .sinal:nth-child(-n+2) { grid-column: auto; }
  .sinal-img, .sinal:nth-child(-n+2) .sinal-img { height: 180px; }
  .sinal p { font-size: 16px; line-height: 24px; }
  .photo-wide { aspect-ratio: 342 / 280; }
  .center-col .cta, .left-col .cta { width: 100%; font-size: 18px; }
}

/* Política de privacidade */
.legal-wrap { max-width: 960px; }
.legal-doc { display: flex; flex-direction: column; gap: 40px; }
.legal-doc h2 { font-size: 24px; line-height: 1.3; font-weight: 500; margin-bottom: 12px; color: var(--text-primary); }
.legal-doc p, .legal-doc li { color: var(--text-secondary); font-size: 18px; line-height: 1.6; }
.legal-doc p + p { margin-top: 12px; }
.legal-doc ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-doc a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc strong { color: var(--text-primary); font-weight: 500; }

/* Provas do hero no mobile (Home e páginas internas): no celular um card por linha,
   ícone à esquerda; em tablet, dois lado a lado */
@media (max-width: 899px) {
  body :is(.hero, .ihero) .hero-proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 8px; }
  body :is(.hero, .ihero) .hero-proofs .proof { flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-md); min-width: 0; }
  body :is(.hero, .ihero) .hero-proofs .proof-ic { width: 36px; height: 36px; font-size: 18px; border-radius: 8px; }
  body :is(.hero, .ihero) .hero-proofs .proof b { font-size: 17px; line-height: 24px; white-space: nowrap; }
  body :is(.hero, .ihero) .hero-proofs .proof div span { font-size: 13px; line-height: 18px; white-space: normal; }
}
@media (max-width: 599px) {
  body :is(.hero, .ihero) .hero-proofs { grid-template-columns: 1fr; }
}

/* Endereço visível no rodapé (NAP para SEO local) */
.footer-addr { font-style: normal; font-size: 14px; line-height: 22px; color: #FFFFFF; }

/* Sublinhado dos destaques (em/.grifo): acompanha só o texto de cada linha.
   Antes era um bloco único e, com o título quebrado em 2 linhas, o traço esticava até a foto. */
.hl em, .hl .grifo { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: linear-gradient(var(--ul, var(--border-accent)), var(--ul, var(--border-accent)));
  background-repeat: no-repeat; background-position: 0 calc(100% - .04em); background-size: 0 2px;
  transition: background-size .85s var(--ease) .35s; }
.hl em::after, .hl .grifo::after { display: none; }
.mode-verde .hl, .mode-escuro .hl { --ul: #F2D1A8; }
.js .hl.is-in em, .js .hl.is-in .grifo { background-size: 100% 2px; }
@media (prefers-reduced-motion: reduce) { .hl em, .hl .grifo { background-size: 100% 2px; transition: none; } }

/* Animações de entrada (piloto: Saúde Capilar).
   Regras: só transform/opacity (+ blur em títulos curtos), nada muda o layout,
   o estado "escondido" só existe se o JS marcar o elemento (sem JS tudo aparece). */
:root { --ease-cine: cubic-bezier(.22, 1, .36, 1); }

/* 1) Hero em cascata (CSS puro) */
:is(.ihero-text, .hero-content) > :not(.hl):not(.hero-proofs) { animation: av-up .95s var(--ease-cine) both; animation-delay: calc(var(--i, 1) * 90ms + 80ms); }
:is(.ihero-text, .hero-content) > :nth-child(1) { --i: 0; } :is(.ihero-text, .hero-content) > :nth-child(2) { --i: 1; } :is(.ihero-text, .hero-content) > :nth-child(4) { --i: 3; }
:is(.ihero-text, .hero-content) > :nth-child(5) { --i: 4; } :is(.ihero-text, .hero-content) > :nth-child(6) { --i: 5; } :is(.ihero-text, .hero-content) > :nth-child(7) { --i: 6; }
@keyframes av-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }

/* 2) Revelação ao rolar (JS adiciona .rv e depois .rv-in; ao terminar remove tudo) */
.rv { opacity: 0; transform: translate3d(var(--rv-x, 0px), var(--rv-y, 28px), 0) scale(var(--rv-s, 1)); will-change: opacity, transform;
  transition: opacity 1s var(--ease-cine) var(--rv-d, 0s), transform 1.2s var(--ease-cine) var(--rv-d, 0s), filter 1s var(--ease-cine) var(--rv-d, 0s); }
.rv--blur { filter: blur(6px); }
.rv.rv-in { opacity: 1; transform: none; filter: none; }
/* foto "assenta": começa um pouco ampliada */
.rv:not(.rv-in) :is(.sinal-img, .area-img) img { scale: 1.12; }
.rv :is(.sinal-img, .area-img) img { transition: scale 1.6s var(--ease-cine) var(--rv-d, 0s), transform .5s var(--ease-cine); }

/* 3) Foto do "Quem atende" com deslocamento suave ao rolar (compositor, sem JS) */
@supports (animation-timeline: view()) {
  .who-v2 .about-foto img { scale: 1.1; animation: av-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  @keyframes av-par { from { translate: 0 -5%; } to { translate: 0 5%; } }
}

/* 4) Luz suave nas faixas escuras; só anima enquanto a seção está na tela */
.av-light { position: relative; isolation: isolate; overflow: hidden; }
.av-light::before { content: ""; position: absolute; z-index: -1; left: -25vmax; top: -30vmax; width: 70vmax; height: 70vmax; pointer-events: none;
  background: radial-gradient(closest-side, var(--av-glow, rgba(201, 211, 158, .15)), rgba(201, 211, 158, 0) 70%);
  animation: av-drift 28s ease-in-out infinite alternate; animation-play-state: paused; will-change: transform; }
.av-light.is-live::before { animation-play-state: running; }
.mode-verde.av-light { --av-glow: rgba(242, 209, 168, .16); }
@keyframes av-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(34vmax, 22vmax, 0) scale(1.18); } }

/* 5) Microinterações (só com mouse) */
@media (hover: hover) {
  .sinal--foto { transition: transform .5s var(--ease-cine), box-shadow .5s var(--ease-cine); }
  .sinal--foto:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(30, 41, 37, .3); }
}

@media (prefers-reduced-motion: reduce) {
  .ihero-text > *, .hero-content > * { animation: none !important; }
  .rv, .rv--blur { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .av-light::before { animation: none !important; }
  .who-v2 .about-foto img { animation: none !important; scale: 1; }
}

/* Faixa final das páginas de tratamento e reembolso (a Home não tem .cta-final): fundo com imagem (listras verdes) e véu escuro para o texto ficar legível */
.cta-final { background: linear-gradient(rgba(10, 36, 24, .40), rgba(10, 36, 24, .40)), #1B4332 url("/assets/img/cta-fundo-2000.webp") center / cover no-repeat !important; }
.cta-final.av-light::before { display: none; }
@media (max-width: 700px) {
  .cta-final { background: linear-gradient(rgba(10, 36, 24, .40), rgba(10, 36, 24, .40)), #1B4332 url("/assets/img/cta-fundo-900.webp") center / cover no-repeat !important; }
}

/* Quebras de linha desejadas na faixa final da Saúde Capilar (só em telas largas; no celular o texto quebra sozinho) */
.dbr { display: none; }
@media (min-width: 700px) { .dbr { display: inline; } }
.cta-final .sec-head :is(h2, p) { text-wrap: balance; }

/* Poster do vídeo da Home: versão menor no celular e só carrega quando a seção está perto da tela */
@media (max-width: 899px) { .video { background-image: image-set(url(assets/img/video-capa-v2-660.webp) 1x, url(assets/img/video-capa-v2-660.webp) 1.9x, url(assets/img/video-capa-v2-880.webp) 2.6x, url(assets/img/video-capa-v2-1320.webp) 3x); } }
.js .video:not(.has-capa) { background-image: none; }

/* Reembolso v2.0 (Unimed): recibo ilustrado, checklist e selos de planos */
.reemb-note { text-align: center; color: var(--text-muted); font-size: 16px; }
.reemb-obj { max-width: 880px; }
.reemb-docs { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; }
.reemb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.reemb-list li { display: flex; gap: 16px; align-items: flex-start; }
.reemb-list h3 { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text-primary); }
.reemb-list p { color: var(--text-secondary); font-size: 16px; line-height: 24px; }
.reemb-n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #F7DFC0; color: #1E2925; font-size: 15px; font-weight: 500; }
.reemb-strong { margin-top: 24px; font-weight: 500; color: var(--text-primary); }
.reemb-recibo { margin: 0; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(30, 41, 37, .12); display: flex; flex-direction: column; gap: 18px; }
.reemb-recibo figcaption { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--text-muted); padding-bottom: 18px; border-bottom: 1px solid var(--border-subtle); }
.reemb-recibo dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.reemb-recibo dl > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; }
.reemb-recibo dl .reemb-n { grid-row: span 2; width: 22px; height: 22px; font-size: 11px; }
.reemb-recibo dt { font-size: 12px; line-height: 16px; color: var(--text-muted); }
.reemb-recibo dd { margin: 0; font-size: 15px; line-height: 21px; font-weight: 500; color: #1E2925; }
.reemb-recibo > p { padding-top: 18px; border-top: 1px solid var(--border-subtle); font-size: 13px; color: var(--text-secondary); }
.reemb-planos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.reemb-planos li { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border-default); background: var(--bg-card); font-size: 16px; font-weight: 500; color: var(--text-primary); }
@media (max-width: 899px) {
  .reemb-docs { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .reemb-docs > * { min-width: 0; }
  .reemb-recibo { padding: 24px; }
  .reemb-planos { justify-content: flex-start; }
  .reemb-note { text-align: left; }
  .reemb-list h3 { font-size: 18px; line-height: 26px; }
}

/* Cards de especialidade da Home: o título é o link principal (esticado sobre o card) e os chips com página própria são links por cima */
.area { position: relative; }
.area-stretch { color: inherit; text-decoration: none; }
.area-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.area-stretch:focus-visible { outline: none; }
.area-stretch:focus-visible::after { outline: 2px solid var(--a); outline-offset: 2px; }
.area-chips li a { position: relative; z-index: 2; color: inherit; text-decoration: underline; text-decoration-color: var(--l); text-underline-offset: 3px; }
.area-chips li:has(a) { background: #fff; }
.area-chips li a:hover { text-decoration-color: var(--a); }
