/* =========================================================
   Dr. Jhon Arosquipa · Identidade Aros, versão escura
   Grafite + ouro do logo da clínica. Espaçamento compacto
   e profundidade por sombra, a pedido do Dr. Jhon.
   ========================================================= */
:root {
  --ink: #121417;
  --ink-2: #16191d;
  --slab: #1b1f24;
  --slab-2: #232830;
  --line: #2e343d;
  --text: #e8e4dc;
  --muted: #a29d93;
  --gold: #c9a45c;
  --gold-soft: #e2c78f;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 16px rgba(0, 0, 0, .35);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .5), 0 18px 40px rgba(0, 0, 0, .55);

  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(40px, 6vw, 56px);
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; }
h4, p { margin: 0; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 16px; }

.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lead { color: var(--muted); max-width: 64ch; }
.h-section { font-size: clamp(30px, 4vw, 40px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 3px; border: 0;
  font: 600 15px var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1a1408;
  box-shadow: 0 2px 0 #8a6d33, 0 8px 18px rgba(201, 164, 92, .25);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 4px 0 #8a6d33, 0 14px 28px rgba(201, 164, 92, .32); }
.btn--lg { padding: 14px 26px; letter-spacing: .02em; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

/* ---------- Cards (com brilho que segue o mouse, ver main.js) ---------- */
.card, .group {
  position: relative; overflow: hidden;
}
.card::after, .group::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(226, 199, 143, .09), transparent 60%);
  transition: opacity .3s;
}
.card:hover::after, .group:hover::after { opacity: 1; }

.card {
  background: var(--slab); border-radius: var(--radius); box-shadow: var(--shadow-1);
  padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.card { text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card p { color: var(--muted); font-size: 15px; }
.card__title { font-size: 26px; }

.chip {
  font-size: 13px; padding: 6px 12px; border-radius: 999px;
  background: var(--slab-2); box-shadow: var(--shadow-1);
}
.chip b { color: var(--gold); font-weight: 600; }

/* ---------- Cabeçalho ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(27, 31, 36, .78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(22, 25, 29, .96); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; transition: padding .3s; }
.nav.is-scrolled .nav__inner { padding-block: 8px; }
.brand { font-family: var(--display); font-size: 22px; text-decoration: none; line-height: 1.1; }
.brand small { display: block; font-family: var(--body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.nav__links { display: flex; gap: 22px; font-size: 14.5px; }
.nav__links a { color: var(--muted); text-decoration: none; position: relative; padding-block: 4px; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 10px 16px; }
.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: 6px; border: 0; cursor: pointer;
  background: var(--slab-2); box-shadow: var(--shadow-1); color: var(--text);
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative;
  transition: transform .25s var(--ease), background .25s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ''; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Rodapé ---------- */
.footer { background: #0d0f11; padding-block: 32px; box-shadow: 0 -6px 18px rgba(0, 0, 0, .4); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; font-size: 14px; }
.footer__inner a { text-decoration: none; }
.footer__inner a:hover { color: var(--gold-soft); }
.footer__muted { color: var(--muted); }
.footer__copy { margin-left: auto; align-self: flex-end; }

.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 20;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Home: topo (assinatura + foto em arco) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 75% at 80% 40%, rgba(201, 164, 92, .10), transparent 60%),
    radial-gradient(90% 90% at 10% 100%, #1a1d22, var(--ink) 70%);
}
.hero::before { /* textura sutil de grão */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 48px); align-items: center;
  padding-block: clamp(36px, 5vw, 56px) clamp(32px, 4vw, 44px);
}
.hero__text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; letter-spacing: .24em; }
.hero__eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.hero__name {
  font-weight: 500; font-size: clamp(64px, 9.4vw, 132px); line-height: .88; letter-spacing: -.01em;
  margin: 18px 0 24px; text-wrap: initial;
}
.hero__dr { display: block; font-style: italic; font-weight: 600; font-size: .3em; color: var(--gold-soft); margin-bottom: .2em; letter-spacing: 0; }
.hero__last {
  display: block; padding-left: .5em;
  background: linear-gradient(90deg, var(--text), var(--gold-soft)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 18px; max-width: 470px; color: #cfc9be; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__photo {
  position: relative; justify-self: center;
  width: min(400px, 100%); aspect-ratio: 400 / 540;
}
.hero__arch {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 200px 200px 6px 6px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 164, 92, .25);
}
.hero__photo-img { /* folga vertical para o parallax */
  position: absolute; left: 0; top: -6%; width: 100%; height: 112%; max-width: none;
  object-fit: cover; object-position: 46% 18%;
  filter: saturate(.75) brightness(.86) contrast(1.05); will-change: transform;
}
.hero__arch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 20, 23, .85)); }
.hero__ring { position: absolute; left: -5.5%; top: -4.07%; width: 111%; height: 108.15%; overflow: visible; pointer-events: none; }
.hero__ring path { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .8; vector-effect: non-scaling-stroke; }
.hero__ring .hero__ring-inner { opacity: .35; }
.js .hero__ring path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.js .hero__ring .hero__ring-inner { transition-delay: .7s; }
.js .hero__photo.is-visible .hero__ring path { stroke-dashoffset: 0; }
.hero__badge {
  position: absolute; left: -46px; bottom: 2px; display: flex; gap: 12px; align-items: center; text-decoration: none;
  background: rgba(27, 31, 36, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 6px; padding: 14px 18px; box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease);
}
.hero__badge:hover { transform: translateY(-3px); }
.hero__badge b { font-family: var(--display); font-size: 38px; line-height: 1; color: var(--gold-soft); font-weight: 600; }
.hero__badge > span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.hero__stars { display: block; color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.hero__sign {
  position: absolute; right: -64px; top: 60px; writing-mode: vertical-rl;
  font-family: var(--display); font-style: italic; font-size: 15px; letter-spacing: .3em; color: var(--muted);
}
.hero__strip { border-top: 1px solid var(--line); background: rgba(22, 25, 29, .7); }
.hero__strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-block: 22px; font-size: 14px; color: var(--muted); }
.hero__strip b { color: var(--text); font-weight: 600; }
.hero__strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ---------- Home: Videoplastic ---------- */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.benefit {
  position: relative; overflow: hidden; isolation: isolate; cursor: default;
  background: var(--slab-2); border-radius: 8px; box-shadow: var(--shadow-1);
  padding: 14px 16px; font-weight: 500; font-size: 15px;
  display: flex; gap: 12px; align-items: center;
  transition: translate .35s var(--ease), box-shadow .35s var(--ease), color .35s;
}
/* Preenchimento dourado que nasce do canto dobrado */
.benefit::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 70%);
  clip-path: circle(0 at 100% 0);
  transition: clip-path .55s var(--ease);
}
/* Pontinha dobrada: metade de cima mostra o fundo da página, metade de baixo o verso do papel */
.benefit::after {
  content: ''; position: absolute; top: 0; right: 0; width: 0; height: 0;
  background: linear-gradient(225deg, var(--ink) 50%, #a8843f 50%, #e9d3a3 100%);
  border-bottom-left-radius: 4px;
  box-shadow: -3px 3px 6px rgba(0, 0, 0, .35);
  transition: width .35s var(--ease), height .35s var(--ease);
}
.benefit__icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(201, 164, 92, .12); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .3);
  transition: background .35s, box-shadow .35s, transform .5s var(--ease);
}
.benefit__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.benefit__icon svg path { stroke-dasharray: 60; stroke-dashoffset: 0; }

.benefit:hover, .benefit:focus-visible {
  translate: 0 -4px; color: #1a1408; outline: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .4), 0 22px 40px rgba(201, 164, 92, .22);
}
.benefit:hover::before, .benefit:focus-visible::before { clip-path: circle(150% at 100% 0); }
.benefit:hover::after, .benefit:focus-visible::after { width: 26px; height: 26px; }
.benefit:hover .benefit__icon, .benefit:focus-visible .benefit__icon {
  background: rgba(26, 20, 8, .1); box-shadow: inset 0 0 0 1px rgba(26, 20, 8, .35);
  transform: rotate(-8deg) scale(1.08);
}
.benefit:hover .benefit__icon svg, .benefit:focus-visible .benefit__icon svg { stroke: #1a1408; }
.benefit:hover .benefit__icon svg path, .benefit:focus-visible .benefit__icon svg path { animation: draw .9s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }

.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.group { background: var(--slab); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 18px 20px 6px; min-width: 0; }
.group .eyebrow { display: block; padding-bottom: 8px; }
.proc {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr auto; gap: 2px 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none;
}
.proc__name { font-weight: 600; transition: color .2s; }
.proc__name { grid-column: 2; align-self: end; }
.proc__desc { grid-column: 2; align-self: start; color: var(--muted); font-size: 14.5px; }
.proc__arrow { grid-row: 1 / 3; grid-column: 3; align-self: center; color: var(--gold); transition: transform .2s var(--ease); }
.proc:hover .proc__name { color: var(--gold-soft); }
.proc:hover .proc__arrow { transform: translateX(5px); }

/* Ilustração didática de cada procedimento (SVG leve, anima só no hover) */
.proc__thumb {
  grid-row: 1 / 3; grid-column: 1;
  width: 60px; height: 60px; border-radius: 12px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #2e281d, #1b1f24 70%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(201, 164, 92, .25);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.proc__thumb svg { width: 46px; height: 46px; overflow: visible; }
.proc__thumb path, .proc__thumb circle { fill: none; stroke: var(--gold-soft); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.proc__thumb .ill-base { stroke: var(--gold); opacity: .9; }
.proc__thumb .ill-soft { stroke: var(--gold); opacity: .35; stroke-width: 1; }
.proc__thumb .ill-before { stroke-dasharray: 2 3; }
.proc__thumb .ill-dash { stroke-dasharray: 3 3; }
.proc__thumb .ill-fill, .proc__thumb .ill-dot { fill: var(--gold-soft); stroke: none; }
.proc__thumb .ill-arrow { transition: transform .5s var(--ease); }

.proc:hover .proc__thumb, .proc:focus-visible .proc__thumb {
  transform: scale(1.06); box-shadow: 0 10px 22px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(226, 199, 143, .6);
}
.proc:hover .ill-dash, .proc:focus-visible .ill-dash { animation: flow 1.2s linear infinite; }
.proc:hover .ill-arrow, .proc:focus-visible .ill-arrow { transform: translateY(-2px); }
.proc:hover .ill-arrow--in, .proc:focus-visible .ill-arrow--in { transform: scaleX(.85); transform-origin: 24px 20px; }
.proc:hover .ill-dot, .proc:focus-visible .ill-dot { animation: breathe 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

.photo-card {
  position: relative; overflow: hidden;
  flex: 1; min-height: 170px; border-radius: var(--radius); box-shadow: var(--shadow-2);
  display: flex; align-items: flex-end; padding: 18px 20px; text-decoration: none;
}
.photo-card::before {
  content: ''; position: absolute; inset: 0;
  background: url('../fotos/dr-jhon-protese.jpg') center 28% / cover;
  transition: transform .6s var(--ease);
}
.photo-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 20, 23, .1) 30%, rgba(18, 20, 23, .92));
}
.photo-card:hover::before { transform: scale(1.05); }
.photo-card__caption { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 17px; }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Ilustração: lente da videoendoscopia ---------- */
.vp-intro { display: grid; grid-template-columns: 1fr 300px; gap: clamp(20px, 4vw, 48px); align-items: center; }
.vp-intro > .stack { min-width: 0; }
.lens {
  position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; justify-self: end;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1d2127 0%, var(--ink) 70%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(226, 199, 143, .08);
}
.lens::before { /* halo dourado */
  content: ''; position: absolute; inset: -14%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(201, 164, 92, .16), transparent 62%);
}
.lens svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lens__rim { fill: none; stroke: var(--line); stroke-width: 1.5; }
.lens__ticks line { stroke: var(--gold); stroke-width: 1.2; opacity: .55; }
.lens__ticks { transform-origin: 200px 200px; animation: spin 90s linear infinite; }
.lens__dash { fill: none; stroke: var(--gold-soft); stroke-width: 1; stroke-dasharray: 2 9; opacity: .6; transform-origin: 200px 200px; animation: spin 40s linear infinite reverse; }
.lens__iris { transition: transform .4s var(--ease); }
.lens__glass { stroke: rgba(226, 199, 143, .35); stroke-width: 1.5; }
.lens__ring { fill: none; stroke: var(--gold); stroke-width: .8; opacity: .45; }
.lens__ring--soft { opacity: .25; }
.lens__sweep { transform-origin: 200px 200px; animation: spin 6s linear infinite; mix-blend-mode: screen; }
.lens__cross { stroke: var(--gold-soft); stroke-width: 1.2; opacity: .8; }
.lens__dot { fill: var(--gold-soft); transform-origin: 200px 200px; animation: breathe 2.4s ease-in-out infinite; }
.lens__shine { fill: #fff; opacity: .06; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.8); } }

/* ---------- Ilustração: perfil em traço (cirurgias faciais) ---------- */
.faces { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: stretch; }
.faces__cards { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.faces__cards .card { flex: 1; justify-content: center; }
.face-art {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: radial-gradient(120% 90% at 70% 30%, #262119 0%, var(--slab) 55%, #15181c 100%);
  box-shadow: var(--shadow-2);
  display: grid; place-items: center; padding: 20px 10px 34px; min-height: 340px;
}
.face-art svg { width: 100%; max-width: 250px; height: auto; overflow: visible; }
.face-art__line { fill: none; stroke: url(#faceLine); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(201, 164, 92, .45)); }
.face-art__line--thin { stroke-width: 1; opacity: .5; }
.face-art__brow { fill: var(--gold-soft); stroke: none; opacity: 0; transition: opacity .8s ease 1.2s; filter: drop-shadow(0 0 5px rgba(201, 164, 92, .45)); }
.face-art__detail { stroke-width: 1.5; }
.face-art__iris { fill: var(--gold-soft); opacity: 0; transition: opacity .8s ease 1.6s; }
.face-art.is-visible .face-art__iris, .face-art.is-visible .face-art__brow,
html:not(.js) .face-art__iris, html:not(.js) .face-art__brow { opacity: 1; }
.face-art__lift path { fill: none; stroke: var(--gold-soft); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 5; animation: flow 2.8s linear infinite; }
.face-art__spark { fill: var(--gold-soft); animation: twinkle 3.2s ease-in-out infinite; }
.face-art__caption { position: absolute; left: 16px; bottom: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@keyframes flow { to { stroke-dashoffset: -16; } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

/* O traço se desenha quando a ilustração entra na tela */
.js .face-art .face-art__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.js .face-art .face-art__line--thin { transition-delay: 1.2s; }
.js .face-art .face-art__lift { opacity: 0; transition: opacity 1s ease 2s; }
.js .face-art.is-visible .face-art__line { stroke-dashoffset: 0; }
.js .face-art.is-visible .face-art__lift { opacity: 1; }

/* ---------- Home: Sobre e contato ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 4vw, 40px); align-items: center; }
.about__photo {
  min-height: 420px; border-radius: 12px; box-shadow: var(--shadow-2);
  background:
    linear-gradient(180deg, rgba(18, 20, 23, 0) 55%, rgba(18, 20, 23, .8)),
    url('../fotos/dr-jhon-centro-cirurgico.jpg') center 30% / cover;
  filter: saturate(.8) brightness(.82);
}
.about a { color: var(--gold-soft); }

.cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  background: linear-gradient(135deg, #2a2418, var(--slab) 55%); border-radius: 12px; box-shadow: var(--shadow-2);
  padding: clamp(20px, 4vw, 32px);
}

/* ---------- Página de procedimento ---------- */
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--gold-soft); }
.top { display: grid; gap: 24px; }
.top--photo { grid-template-columns: 1.3fr .7fr; align-items: center; }
.top__photo { width: 100%; max-height: 460px; object-fit: cover; object-position: center 20%; border-radius: 12px; box-shadow: var(--shadow-2); filter: brightness(.85) saturate(.9); }
.head { display: flex; flex-direction: column; gap: 10px; }
.head h1 { font-size: clamp(38px, 6vw, 60px); }
.big { font-size: 19px; color: var(--text); }
.proc-cta { font-weight: 500; }
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }

/* ---------- Animações de entrada (ativadas pelo main.js) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal="left"] { transform: translateX(-26px); }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: rgba(22, 25, 29, .98); box-shadow: 0 14px 24px rgba(0, 0, 0, .5);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .35s var(--ease), visibility .35s;
  }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav__links a { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__links a::after { display: none; }

  .hero__grid, .groups, .cards-2, .about, .top--photo, .vp-intro, .faces { grid-template-columns: 1fr; }
  .lens { justify-self: center; max-width: 240px; }
  .face-art { min-height: 300px; }
  .hero__photo { order: -1; width: min(260px, 68vw); margin-top: 8px; }
  .hero__badge { left: -16px; padding: 10px 14px; }
  .hero__badge b { font-size: 30px; }
  .hero__sign { display: none; }
  .hero__name { margin-top: 14px; }
  .hero__strip i { display: none; }
  .hero__strip-inner { justify-content: flex-start; font-size: 13px; padding-block: 16px; }
  .about__photo { min-height: 320px; }
  .photo-card { min-height: 260px; }
  .proc__thumb { width: 52px; height: 52px; }
  .proc__thumb svg { width: 40px; height: 40px; }
  .footer__copy { margin-left: 0; }
}

/* ---------- Depoimentos ---------- */
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.score {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--slab); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 12px 18px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.score:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.score__num { font-family: 'Cormorant Garamond', serif; font-size: 44px; line-height: 1; color: var(--gold-soft); }
.score__label { font-size: 13px; color: var(--muted); }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: var(--gold); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; gap: 12px; padding: 22px 22px 18px; }
.review__quote { font-family: 'Cormorant Garamond', serif; font-size: 64px; line-height: .6; height: 26px; color: var(--gold); opacity: .8; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { color: var(--text); font-size: 16px; line-height: 1.6; }
.review__by { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.review__by span { color: var(--muted); font-size: 13px; }
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.reviews__more { align-self: flex-start; color: var(--gold-soft); text-decoration: none; font-weight: 500; }
.reviews__more span { display: inline-block; transition: transform .2s var(--ease); }
.reviews__more:hover span { transform: translateX(4px); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } .review:nth-child(n+5) { display: none; } }

/* ---------- Videoplastic: painel que delimita a seção inteira ---------- */
.vp { background: var(--ink-2); border-block: 1px solid var(--line); }
.vp-panel {
  position: relative; border-radius: 14px; padding: clamp(20px, 3.5vw, 40px);
  background: linear-gradient(180deg, #1c2026, #15181c);
  box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(201, 164, 92, .18);
}
.vp-panel::before { /* filete dourado no topo marca o início */
  content: ''; position: absolute; top: 0; left: clamp(20px, 3.5vw, 40px); right: clamp(20px, 3.5vw, 40px); height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.vp-tag { display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(201, 164, 92, .1); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .35); }
.vp-panel .benefit, .vp-panel .group { background: var(--slab-2); }
.vp-sub { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.vp-sub h3 { font-size: clamp(24px, 2.6vw, 30px); }
.vp-sub p { color: var(--muted); font-size: 14.5px; }
.vp-end {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.vp-end p { font-weight: 500; font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .face-art .face-art__line { stroke-dashoffset: 0; }
  .js .face-art .face-art__lift { opacity: 1; }
}

/* Hero centralizado no celular */
@media (max-width: 860px) {
  .hero__text { align-items: center; text-align: center; }
  .hero__eyebrow::before { display: none; }
  .hero__last { padding-left: 0; }
  .hero .lead { margin-inline: auto; }
  .hero__ctas, .hero__strip-inner { justify-content: center; text-align: center; }
  .hero__strip-inner { font-size: 14.5px; letter-spacing: .05em; gap: 12px 22px; }
}

/* Frase-resumo Videoplastic */
.vp-motto { font-family: "Cormorant Garamond", serif; font-size: clamp(20px, 2.4vw, 24px); font-style: italic; color: var(--gold-soft); margin-top: 4px; }

/* ===== Procedimentos Videoplastic: cards expansíveis =====*/
.xc-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 16px; align-items: start; }
.xc-col { display: flex; flex-direction: column; gap: 10px; }
.xc {
  position: relative; border-radius: 6px; cursor: pointer; outline: none;
  background: linear-gradient(180deg, var(--slab-2), var(--slab));
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.xc:not(.is-active):hover { transform: none; box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(201,164,92,.35); }
.xc:focus-visible { box-shadow: var(--shadow-2), inset 0 0 0 2px var(--gold); }
.xc.is-active { cursor: default; box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(201,164,92,.5); }
.xc.is-active::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.xc__head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.xc__title { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.xc__cat { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.xc__name { font-weight: 600; color: var(--text); font-size: 16px; transition: color .25s; }
.xc:hover .xc__name, .xc.is-active .xc__name { color: var(--gold-soft); }
.xc__desc { color: var(--muted); font-size: 14px; line-height: 1.45; }
.xc__plus { flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(201,164,92,.4); position: relative; transition: transform .4s var(--ease), background .3s; }
.xc__plus::before, .xc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--gold-soft); transform: translate(-50%, -50%); }
.xc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .3s; }
.xc.is-active .xc__plus { transform: rotate(180deg); background: rgba(201,164,92,.12); }
.xc.is-active .xc__plus::after { opacity: 0; }
.xc__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.xc.is-active .xc__more { grid-template-rows: 1fr; }
.xc__inner { overflow: hidden; min-height: 0; display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 0 16px; opacity: 0; transition: opacity .25s, padding .55s var(--ease); }
.xc.is-active .xc__inner { opacity: 1; padding: 2px 16px 16px; transition: opacity .45s .2s, padding .55s var(--ease); }
.xc__inner .xp__ill { height: 190px; }
.xc__body { display: flex; flex-direction: column; gap: 8px; align-self: center; min-width: 0; }
.xc__tech { font-size: 13px; color: var(--gold-soft); margin: 0; }
.xc .xp__facts { margin: 0; padding: 10px 0; }
.xc .xp__facts div { grid-template-columns: 104px 1fr; }

/* coluna da direita: cards maiores */
.xc--lg .xc__head { padding: 20px 20px; gap: 18px; }
.xc--lg .proc__thumb { width: 64px; height: 64px; }
.xc--lg .proc__thumb svg { width: 50px; height: 50px; }
.xc--lg .xc__name { font-family: "Cormorant Garamond", serif; font-size: 25px; line-height: 1.1; }
.xc--lg .xc__desc { font-size: 15px; }
.xc--lg .xc__inner { grid-template-columns: 230px 1fr; padding-inline: 20px; }
.xc--lg.is-active .xc__inner { padding: 2px 20px 20px; }
.xc--lg .xc__inner .xp__ill { height: 240px; }

.xp__ill { position: relative; border-radius: 6px; background: radial-gradient(circle at 50% 45%, rgba(201,164,92,.10), transparent 70%), var(--ink); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.xp__ill::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; border: 1px dashed rgba(201,164,92,.18); pointer-events: none; }
.xp__ill svg { width: 86%; height: 80%; overflow: visible; }
.xp__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); opacity: 0; display: flex; align-items: center; gap: 7px; }
.xp__cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(201,164,92,.18); flex: none; }
.xc.is-active .xp__cap { opacity: 1; transition: opacity .5s 1.6s; }
.xp-impl { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: 0; vector-effect: non-scaling-stroke; }
.xc.is-active .xp-impl { opacity: .7; transition: opacity .6s 1.4s; }
.xp-navel { fill: none; stroke: #d9d3c7; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.xp__facts { display: grid; gap: 8px; border-block: 1px solid var(--line); }
.xp__facts div { display: grid; gap: 10px; font-size: 13.5px; }
.xp__facts dt { color: var(--muted); }
.xp__facts dd { margin: 0; color: var(--text); }
.xp__link { align-self: flex-start; color: var(--gold-soft); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }
.xp__link span { transition: transform .3s var(--ease); }
.xp__link:hover span { transform: translateX(5px); }
@keyframes xpflow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -.09; } }
.xp-ln { fill: none; stroke: #d9d3c7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.xp-gd { stroke: var(--gold-soft); stroke-width: 2.2; }
.xp-soft { stroke: var(--gold); opacity: .45; stroke-width: 1.4; }
.xc.is-active .xp-ln { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s .3s var(--ease); }
.xc.is-active .xp-gd { transition-delay: 1s; }
.xc.is-active .xp-dsh { stroke-dasharray: .05 .04; animation: xpflow 1.4s linear 2.2s infinite; }
.xc.is-active .xp-bef { stroke-dasharray: .03 .03; }
.xp-zone { fill: url(#xpZone); opacity: 0; transform-box: fill-box; transform-origin: center; }
.xc.is-active .xp-zone { opacity: 1; transition: opacity .8s .5s; animation: xpbreathe 3.2s ease-in-out 1.3s infinite; }
.xp-fill { fill: var(--gold-soft); }
.xc.is-active .xp-pulse { animation: xpbreathe 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.xp-cut path { fill: none; stroke: var(--gold-soft); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; }
.xc.is-active .xp-cut path { opacity: 1; transition: opacity .5s 1.6s; }

.xp__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; align-self: center; }
.xp__name { font-family: "Cormorant Garamond", serif; font-size: 30px; line-height: 1.05; color: var(--text); font-weight: 600; margin: 0; }
.xp__tech { font-size: 13px; color: var(--gold-soft); margin: 0; }
.xp__desc { color: #cfc9be; margin: 0; font-size: 15.5px; }
.xp__facts { display: grid; gap: 8px; margin: 6px 0 4px; padding: 12px 0; border-block: 1px solid var(--line); }
.xp__facts div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; font-size: 13.5px; }
.xp__facts dt { color: var(--muted); }
.xp__facts dd { margin: 0; color: var(--text); }
.xp__link { align-self: flex-start; color: var(--gold-soft); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }
.xp__link span { transition: transform .3s var(--ease); }
.xp__link:hover span { transform: translateX(5px); }

@keyframes xpflow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -.09; } }
@keyframes xpbreathe { 50% { transform: scale(1.06); opacity: .75; } }
.care { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.care li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 6px; background: rgba(201,164,92,.05); box-shadow: inset 0 0 0 1px rgba(201,164,92,.18); }
.care__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(201,164,92,.4); }
.care__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.care strong { display: block; color: var(--text); margin-bottom: 3px; }
.care span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .xc-grid { grid-template-columns: 1fr; }
  .xc:not(.is-active):hover { transform: none; }
  .xc__inner, .xc--lg .xc__inner { grid-template-columns: 1fr; }
  .xc__inner .xp__ill, .xc--lg .xc__inner .xp__ill { height: 220px; }
  .xc--lg .xc__head { padding: 14px 16px; gap: 14px; }
  .xc--lg .proc__thumb { width: 52px; height: 52px; }
  .xc--lg .proc__thumb svg { width: 40px; height: 40px; }
  .xc--lg .xc__name { font-size: 22px; }
  .care { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .xc, .xc__more, .xc__inner, .xp-ln { transition: none !important; animation: none !important; } }
.xp__cap { background: rgba(12, 13, 15, .86); padding: 6px 8px; border-radius: 4px; left: 12px; right: auto; max-width: calc(100% - 24px); }
.xc:not(.xc--lg) .xp__cap { display: none; }

/* Cards com foto realista */
.xc__inner--photo, .xc--lg .xc__inner--photo { grid-template-columns: 1fr; gap: 14px; }
.xc__photo { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 8.2; box-shadow: inset 0 0 0 1px var(--line); background: var(--ink); }
.xc__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(.9); transition: transform 1.6s var(--ease); }
.xc.is-active .xc__photo img { transform: scale(1); }
.xc__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,13,15,.35), transparent 45%), linear-gradient(0deg, rgba(12,13,15,.55), transparent 40%); pointer-events: none; }
.xc__ov { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.xc__ov .xp-gd { stroke: #f0d9a6; stroke-width: 2.6; filter: drop-shadow(0 0 4px rgba(0,0,0,.6)); }
.xc__photo .xp__cap { z-index: 2; }
.xc:not(.xc--lg) .xc__photo .xp__cap { display: flex; }
.xc__inner--photo .xc__body { align-self: start; }

/* ===== Dúvidas frequentes ===== */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq__intro { position: sticky; top: 96px; }
.faq__more { color: var(--gold-soft); font-weight: 600; text-decoration: none; margin-top: 6px; display: inline-block; }
.faq__more span { display: inline-block; margin-left: 6px; }
.faq__more span { transition: transform .3s var(--ease); }
.faq__more:hover span { transform: translateX(5px); }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border-radius: 6px; background: linear-gradient(180deg, var(--slab-2), var(--slab)); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(201,164,92,.45); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; color: var(--text); font-size: 16.5px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover, .faq__item[open] summary { color: var(--gold-soft); }
.faq__item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.faq__icon { flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(201,164,92,.4); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--gold-soft); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .3s; }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: rgba(201,164,92,.12); }
.faq__item[open] .faq__icon::after { opacity: 0; }
.faq__a { padding: 0 20px 18px; color: #cfc9be; }
.faq__a p { margin: 0; max-width: 64ch; }
.faq__item[open] .faq__a { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq__item summary { padding: 16px; font-size: 16px; }
  .faq__a { padding: 0 16px 16px; }
}

/* Moldura do desktop: as duas colunas têm a mesma altura e o card aberto ocupa o espaço que sobra */
@media (min-width: 861px) {
  .xc-grid { --frame: 740px; align-items: stretch; }
  .xc .xp__facts div:nth-child(2) { display: none; }
  .xc__inner .xc__photo { min-height: 170px; }
  .xc-col { height: var(--frame); }
  .xc { flex: 0 0 auto; display: flex; flex-direction: column; min-height: 0; transition: flex-grow .6s var(--ease), box-shadow .35s, transform .35s var(--ease); }
  .xc.is-active { flex: 1 1 0; }
  .xc__head, .xc--lg .xc__head { padding-block: 14px; }
  .xc__desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .3s; }
  .xc__desc > span { overflow: hidden; }
  .xc.is-active .xc__desc { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .5s var(--ease), opacity .4s .15s; }
  .xc__more { flex: 0 0 0; min-height: 0; overflow: hidden; display: block; transition: none; }
  .xc.is-active .xc__more { flex: 1 1 0; }
  .xc__inner, .xc--lg .xc__inner { height: 100%; display: flex; flex-direction: column; gap: 12px; }
  .xc__inner .xc__photo { flex: 1 1 auto; min-height: 120px; aspect-ratio: auto; }
  .xc__inner .xc__body { flex: none; gap: 6px; }
  .xc .xp__facts { padding: 8px 0; }
}

/* Rodapé: Clínica Aros */
.footer__clinic { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.footer__clinic-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__clinic img { width: 190px; height: auto; display: block; transition: opacity .2s; }
.footer__clinic:hover img { opacity: .85; }

/* Depoimentos: foto + notas */
.rv-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; }
.rv-photo { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 3 / 2; }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; filter: saturate(.85) brightness(.9); }
.rv-scores { display: flex; flex-wrap: wrap; gap: 12px; }
.reviews__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* Agende: foto + locais */
.book { display: grid; grid-template-columns: minmax(240px, .75fr) 1.25fr; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-2);
  background: linear-gradient(135deg, #2a2418, var(--slab) 55%); }
.book__photo { margin: 0; min-height: 100%; }
.book__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; filter: brightness(.9) saturate(.9); }
.book__body { padding: clamp(20px, 4vw, 40px); }
.book__title, .footer__title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.bloc, .floc { list-style: none; margin: 0; padding: 0; }
.bloc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.bloc__item, .floc__item { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.bloc__num, .floc__num { font-size: 11px; letter-spacing: .1em; color: var(--gold); padding-top: 4px; white-space: nowrap; }
.bloc__body, .floc__body { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.bloc__body b, .floc__body b { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--text); }
.bloc__map, .floc__map { color: var(--gold-soft); text-decoration: none; font-size: 13px; margin-top: 2px; }

/* Rodapé em 4 colunas */
.footer { padding-block: 40px 0; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.3fr .9fr .8fr; gap: 32px 40px; font-size: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__grid a { text-decoration: none; }
.footer__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.footer__rating b { font-family: var(--display); font-size: 30px; color: var(--gold-soft); font-weight: 600; }
.floc__item { padding: 8px 0; }
.floc__body b { font-size: 17px; }
.footer__phone { font-size: 17px; color: var(--text); }
.footer__wa { align-self: flex-start; padding: 10px 16px; font-size: 14px; margin-top: 4px; }
.footer__clinic img { width: 170px; }
.footer__bar { margin-top: 32px; border-top: 1px solid var(--line); padding-block: 16px; }
.footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 13px; padding-right: 72px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__nav a { color: var(--muted); text-decoration: none; }
.footer__nav a:hover { color: var(--gold-soft); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .rv-top, .book { grid-template-columns: 1fr; }
  .book__photo { max-height: 340px; }
  .bloc { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } .footer__bar-inner { padding-right: 0; padding-bottom: 64px; } }
.footer__grid { grid-template-columns: 1.1fr 1.4fr 1fr; }
.footer__clinic { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); align-self: stretch; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__title--soft { font-family: var(--display); font-style: italic; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--gold-soft); }
.footer__clinic img { margin-top: 4px; }

/* Selo do Doctoralia, espelhado ao do Google */
.hero__badge--right { left: auto; right: -46px; }
@media (max-width: 860px) {
  .hero__badge--right { left: auto; right: -16px; }
}
@media (max-width: 480px) {
  .hero__badge { gap: 8px; padding: 8px 10px; bottom: -14px; }
  .hero__badge b { font-size: 24px; }
  .hero__badge > span { font-size: 11px; }
  .hero__stars { font-size: 10px; letter-spacing: 1px; }
}
.footer__ratings { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 8px; }
.footer__ratings .footer__rating { margin-top: 0; }

/* ---------- Carrossel de procedimentos Videoplastic ---------- */
.pcar { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pcar__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pcar__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pcar__filter {
  font: 500 14px/1 var(--body); color: var(--muted); background: transparent; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s;
}
.pcar__filter:hover { color: var(--text); border-color: var(--gold); }
.pcar__filter.is-on { color: #1a1408; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); border-color: transparent; }
.pcar__arrows { display: flex; gap: 8px; }
.pcar__arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--slab); border: 1px solid var(--line); color: var(--gold-soft); transition: border-color .2s, opacity .2s, transform .2s;
}
.pcar__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pcar__arrow:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-1px); }
.pcar__arrow:disabled { opacity: .35; cursor: default; }
.pcar__track {
  list-style: none; margin: 0; padding: 4px 2px 12px; display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pcar__track::-webkit-scrollbar { display: none; }
.pc { flex: 0 0 calc((100% - 3 * 16px) / 3.35); scroll-snap-align: start; min-width: 0; }
.pc[hidden] { display: none; }
.pc__link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: var(--slab); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-1);
  border: 1px solid rgba(201, 164, 92, .12); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pc__link:hover, .pc__link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(201, 164, 92, .45); }
.pc__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.pc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9) brightness(.92); transition: transform .6s var(--ease), filter .4s; }
.pc__link:hover .pc__photo img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.pc__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.pc__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pc__name { font-family: var(--display); font-size: 25px; font-weight: 600; line-height: 1.15; color: var(--text); }
.pc__line { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.pc__more { margin-top: auto; padding-top: 10px; color: var(--gold-soft); font-size: 14px; font-weight: 500; }
.pc__more span { display: inline-block; transition: transform .2s var(--ease); }
.pc__link:hover .pc__more span { transform: translateX(4px); }
.pcar__dots { display: flex; justify-content: center; gap: 8px; }
.pcar__dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--line); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.pcar__dots button.is-on { width: 24px; background: var(--gold); }
@media (max-width: 960px) { .pc { flex-basis: calc((100% - 16px) / 2.3); } }
@media (max-width: 600px) {
  .pc { flex-basis: 82%; }
  .pcar__arrows { display: none; }
  .pc__name { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .pcar__track { scroll-behavior: auto; } .pc__link, .pc__photo img { transition: none; } }
.only-touch { display: none; }
@media (max-width: 600px) { .only-desk { display: none; } .only-touch { display: inline; } }
@media (max-width: 960px) and (min-width: 601px) { .review:nth-child(3):last-child { grid-column: 1 / -1; } }
/* FAQ leve: linhas, uma aberta por vez, 5 visíveis */
.faq__list { gap: 0; counter-reset: faq; border-top: 1px solid var(--line); }
.faq__item { background: none; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--line); counter-increment: faq; }
.faq__item[open] { box-shadow: none; }
.faq__item summary { padding: 18px 0; font-weight: 500; font-size: 17px; justify-content: flex-start; }
.faq__item summary::before { content: counter(faq, decimal-leading-zero); font-size: 12px; letter-spacing: .1em; color: var(--gold); min-width: 28px; }
.faq__item summary > span:first-of-type { flex: 1; }
.faq__icon { box-shadow: none; width: 20px; height: 20px; }
.faq__a { padding: 0 36px 20px 44px; color: var(--muted); }
.faq__item--extra { display: none; }
.faq__list.is-all .faq__item--extra { display: block; }
.faq__toggle { align-self: flex-start; margin-top: 16px; background: none; border: 0; padding: 6px 0; cursor: pointer; font: 600 15px var(--body); color: var(--gold-soft); }

/* ---------- Instituto Aros (logo provisório em texto até chegar o arquivo) ---------- */
.inst-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-soft); text-decoration: none; }
.inst-logo__ring { width: 46px; height: 46px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--gold); position: relative; }
.inst-logo__ring::after { content: 'IA'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 17px; letter-spacing: .06em; color: var(--gold-soft); }
.inst-logo__txt { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--display); text-transform: uppercase; letter-spacing: .18em; }
.inst-logo__txt b { font-weight: 500; font-size: 13px; color: var(--muted); }
.inst-logo__txt b + b { font-size: 22px; color: var(--gold-soft); letter-spacing: .22em; }
.inst-logo img { display: block; width: 180px; height: auto; }
.teach { display: flex; align-items: center; gap: 20px; margin-top: 8px; padding: 18px 20px; border-radius: 10px; background: var(--slab); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.teach__txt { display: flex; flex-direction: column; gap: 4px; }
.teach__txt p { margin: 0; color: var(--text); }
.teach__link { color: var(--muted); font-size: 14px; }
a.teach__link { color: var(--gold-soft); text-decoration: none; font-weight: 600; }
.footer__inst { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
a.inst-logo:hover { opacity: .85; }
@media (max-width: 600px) { .teach { flex-direction: column; align-items: flex-start; } }

/* ---------- Rodapé elegante (fx) ---------- */
#duvidas { padding-bottom: clamp(64px, 9vw, 104px); }
.fx { position: relative; padding-block: clamp(64px, 8vw, 96px) 0; background: #0b0d0f; box-shadow: none; }
.fx::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(720px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .55), transparent); }
.fx__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.fx__orn { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--gold); margin-bottom: 8px; }
.fx__name { font-family: var(--display); font-size: clamp(28px, 3.2vw, 36px); letter-spacing: .02em; color: var(--text); }
.fx__sub { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fx__rates { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin-top: 6px; font-size: 13.5px; }
.fx__rates a { color: var(--muted); text-decoration: none; transition: color .2s; }
.fx__rates a:hover { color: var(--gold-soft); }
.fx__rates i { font-style: normal; color: var(--gold); }
.fx__mid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 40px 64px; margin-top: clamp(48px, 6vw, 64px); padding-top: 40px; border-top: 1px solid rgba(46, 52, 61, .7); }
.fx__title { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.fx__locs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
.fx__locs a, .fx__locs div { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.fx__locs b { font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--text); transition: color .2s; }
.fx__locs span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.fx__locs a:hover b { color: var(--gold-soft); }
.fx__contact { display: flex; flex-direction: column; }
.fx__phone { font-family: var(--display); font-size: 24px; color: var(--text); text-decoration: none; }
.fx__wa { margin-top: 8px; color: var(--gold-soft); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.fx__wa span { display: inline-block; transition: transform .2s var(--ease); }
.fx__wa:hover span { transform: translateX(4px); }
.fx__partners { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 6vw, 72px); margin-top: clamp(48px, 6vw, 64px); }
.fx__partner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; }
.fx__partner > span:first-child { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--muted); }
.fx__partner img, .fx .inst-logo img { width: 150px; height: auto; display: block; opacity: .9; transition: opacity .2s; }
a.fx__partner:hover img, .fx a.inst-logo:hover img { opacity: 1; }
.fx__sep { width: 1px; height: 64px; background: var(--line); }
.fx .footer__bar { margin-top: clamp(48px, 6vw, 64px); border-top-color: rgba(46, 52, 61, .7); }
@media (max-width: 960px) {
  .fx__mid { grid-template-columns: 1fr; }
  .fx__locs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fx__sub { font-size: 11px; letter-spacing: .1em; line-height: 1.7; }
  .fx__rates { flex-direction: column; align-items: center; }
  .fx__mid { text-align: left; }
  .fx__partners { flex-direction: column; gap: 28px; }
  .fx__sep { width: 64px; height: 1px; }
}
.fx__head .fx__partners { margin-top: 28px; }
.fx__sub > span { white-space: nowrap; }
@media (max-width: 600px) { .fx__sub > span { display: block; } }
.fx__dot { font-style: normal; }
@media (max-width: 600px) {
  .fx__dot { display: none; }
  .fx__head .fx__partners { flex-direction: row; gap: 20px; }
  .fx__head .fx__sep { width: 1px; height: 56px; }
  .fx__partner img, .fx .inst-logo img { width: 128px; }
  .fx__partner > span:first-child { font-size: 14px; }
}

/* Monograma J do Dr. Jhon */
.brand--mark { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: auto; height: 42px; display: block; flex: none; }
.fx__mono { width: auto; height: 64px; display: block; margin-bottom: 6px; }
@media (max-width: 600px) { .brand__mark { height: 36px; } .brand--mark { gap: 10px; } }
.fx__partner { align-items: flex-start; align-self: stretch; justify-content: flex-start; }
.fx__partner > span:first-child { line-height: 1.2; padding-left: 4px; }

/* Sobre: cartões Instituto + Clínica (links) */
.teach + .teach { margin-top: 0; }
a.teach { text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
a.teach:hover { transform: translateY(-2px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--gold); }
.teach__p { margin: 0; color: var(--text); }
.teach__link--on { color: var(--gold-soft); font-weight: 600; }
/* Rodapé: legenda curta sob cada logo */
.fx__note { display: block; text-align: left; font-size: 12.5px; line-height: 1.35; color: var(--muted); max-width: 22ch; padding-left: 4px; }
a.fx__partner .fx__note { color: var(--gold-soft); }
a.fx__partner:hover .fx__note { text-decoration: underline; text-underline-offset: 3px; }
.teach > .inst-logo { flex: none; width: 180px; }
@media (max-width: 600px) { .teach > .inst-logo { width: auto; } }

/* Sobre: links para Clínica e Instituto no fim do texto */
.about__links { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 0; }
.about__link { color: var(--gold-soft); font-weight: 600; text-decoration: none; font-size: 17px; }
a.about__link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.about__soon { margin-left: 10px; font-weight: 400; font-size: 13px; color: var(--muted); }
