/*
══════════════════════════════════════════════════════════════════
  ALLMED CLÍNICA — Premium Design System v3.0
  Medicina Estética e Saúde · Ipatinga, MG
  Responsável Técnica: Dra. Vanessa Alves · CRM-MG 74481
══════════════════════════════════════════════════════════════════
*/

/* ── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Colors */
  --ink:        #0E0B09;
  --ink-2:      #1A1512;
  --dark:       #2C2420;
  --rose:       #C4817B;
  --rose-2:     #D4A09A;
  --rose-pale:  #F5EDEC;
  --rose-light: #EDD8D6;
  --gold:       #B8965A;
  --gold-light: #E8D5B8;
  --cream:      #FAF8F5;
  --off-white:  #F4F1EE;
  --gray-100:   #EBE7E3;
  --gray-200:   #D8D3CE;
  --gray-400:   #9E9690;
  --gray-600:   #6B6358;
  --white:      #FFFFFF;

  /* Typography */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'Montserrat', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --nav-h:    72px;
  --max-w:    1280px;
  --radius:   2px;

  /* Motion */
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --t-fast:    0.2s var(--ease);
  --t-mid:     0.4s var(--ease);
  --t-slow:    0.7s var(--ease-out);

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(14,11,9,.06);
  --shadow-sm: 0 4px 16px rgba(14,11,9,.08);
  --shadow-md: 0 12px 40px rgba(14,11,9,.12);
  --shadow-lg: 0 32px 80px rgba(14,11,9,.16);
}

/* ── 2. RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a, button, [role="button"], .estrip-panel, .nucleo-card, .team-card, .procedure-item, .faq-q { cursor: none; }

img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ── 3. SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--rose); }

/* ── 4. CUSTOM CURSOR ─────────────────────────────────────────── */
#c-dot {
  position: fixed; top: -100px; left: -100px;
  pointer-events: none; z-index: 999999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--rose);
  transition: transform .12s ease;
  will-change: left, top;
}
#c-ring {
  position: fixed; top: -100px; left: -100px;
  pointer-events: none; z-index: 999998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  width: 32px; height: 32px;
  border: 1px solid rgba(196,129,123,.6);
  transition: width .4s cubic-bezier(.16,1,.3,1),
              height .4s cubic-bezier(.16,1,.3,1),
              border-color .4s ease,
              background .4s ease;
  will-change: left, top;
}
.c-hover #c-dot  { transform: translate(-50%,-50%) scale(2); }
.c-hover #c-ring {
  width: 52px; height: 52px;
  border-color: rgba(196,129,123,.4);
  background: rgba(196,129,123,.07);
}
@media (pointer: coarse) {
  #c-dot, #c-ring { display: none; }
  body, a, button, [role="button"] { cursor: auto; }
}

/* ── 5. TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
h5 { font-size: 1rem; font-family: var(--sans); font-weight: 600; }

p {
  font-size: clamp(0.85rem, 1.1vw, 0.93rem);
  line-height: 1.9;
  color: var(--gray-600);
  font-weight: 300;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--sans); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rose);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: currentColor;
}

blockquote {
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic; font-weight: 300; line-height: 1.6;
  color: var(--dark); border-left: 2px solid var(--rose);
  padding-left: 1.5rem; margin: 2rem 0;
}

/* ── 6. LAYOUT ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.section    { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 4vw, 4rem) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.mx-auto     { margin-left: auto; margin-right: auto; }
.max-560     { max-width: 560px; }
.max-720     { max-width: 720px; }

/* ── 7. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem; padding: 0.9rem 2.2rem;
  font-family: var(--sans); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer;
  position: relative; overflow: hidden;
  transition: color var(--t-mid), border-color var(--t-mid), background var(--t-mid);
  white-space: nowrap;
}
.btn-arrow { transition: transform var(--t-fast); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-primary {
  background: var(--dark); color: var(--white);
  border: 1.5px solid var(--dark);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: var(--rose); transform: scaleX(0);
  transform-origin: right; transition: transform var(--t-mid);
  z-index: 0;
}
.btn-primary:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover { border-color: var(--rose); }

.btn-outline {
  background: transparent; color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-rose {
  background: var(--rose); color: var(--white);
  border: 1.5px solid var(--rose);
}
.btn-rose:hover { background: #b36e68; border-color: #b36e68; }

.btn-ghost-light {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost-light:hover {
  background: var(--white); color: var(--dark);
  border-color: var(--white);
}

/* Hero CTA — equal-width buttons */
#home-hero .btn {
  flex: 1; justify-content: center;
}
@media (max-width: 600px) {
  #home-hero .hero-reveal { flex-direction: column !important; }
  #home-hero .btn { flex: unset; width: 100%; max-width: 320px; }
}

/* ── 8. NAV ───────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--t-mid), box-shadow var(--t-mid), height var(--t-mid);
}
#nav > .container { flex: 1; width: 100%; }
#nav.scrolled {
  background: rgba(14,11,9,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  height: 88px;
}
.nav-wrap {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--serif); font-size: 1.5rem;
  letter-spacing: 0.06em; color: var(--white);
  transition: color var(--t-mid); flex-shrink: 0;
}
#nav.scrolled .nav-logo { color: var(--white); }
#nav.scrolled .nav-logo img { mix-blend-mode: screen !important; }
.nav-logo b { color: var(--rose); font-weight: 400; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  position: relative; padding-bottom: 2px;
  transition: color var(--t-fast);
}
#nav.scrolled .nav-links a { color: rgba(255,255,255,.75); }
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--rose); transform: scaleX(0);
  transition: transform var(--t-fast);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
#nav.scrolled .nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white); cursor: pointer;
  transition: all var(--t-fast); white-space: nowrap;
}
.nav-cta:hover { background: var(--rose); border-color: var(--rose); }
#nav.scrolled .nav-cta { border-color: var(--rose); color: var(--rose); }
#nav.scrolled .nav-cta:hover { background: var(--rose); color: var(--white); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  transition: all var(--t-mid); transform-origin: center;
}
#nav.scrolled .nav-burger span { background: var(--white); }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu */
#mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-mid);
}
#mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav-link {
  font-family: var(--serif); font-size: clamp(2rem, 6vw, 3rem);
  color: rgba(255,255,255,.6); padding: 0.6rem 0;
  transition: color var(--t-fast);
  border-bottom: 1px solid rgba(255,255,255,.06);
  width: 100%; text-align: center;
}
.mobile-nav-link:hover { color: var(--white); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 2rem;
  color: var(--white); font-size: 1.5rem; cursor: pointer;
  opacity: 0.5; transition: opacity var(--t-fast);
}
.mobile-close:hover { opacity: 1; }
.mobile-nav-sub {
  margin-top: 2rem; display: flex; gap: 1.5rem; flex-wrap: wrap;
  justify-content: center; padding: 0 2rem;
}
.mobile-nav-sub a {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rose);
}

/* ── 9. SCROLL REVEAL ─────────────────────────────────────────── */
/* Só esconde se JS estiver ativo (classe .js adicionada pelo script) */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }
.js .reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-up.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }
.delay-5 { transition-delay: 0.6s; }

/* ── 10. SECTION HEADER ───────────────────────────────────────── */
.sec-head { }
.sec-head h2 { margin-bottom: 1rem; }
.sec-head p  { max-width: 520px; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin: 0 auto; }

/* ── 11. DIVIDER / ORNAMENT ───────────────────────────────────── */
.ornament {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; color: var(--gray-200);
}
.ornament-line { flex: 1; height: 1px; background: currentColor; max-width: 48px; }
.ornament-diamond {
  width: 8px; height: 8px;
  background: var(--rose); transform: rotate(45deg);
}

/* ── 12. SERVICE CARDS (homepage bento) ───────────────────────── */
.service-card {
  position: relative; overflow: hidden;
  padding: 2.5rem 2rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: border-color var(--t-mid), box-shadow var(--t-mid), transform var(--t-mid);
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 0;
  background: var(--ink); transition: height 0.45s var(--ease);
  z-index: 0;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.sc-num {
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--serif); font-size: 5rem; font-weight: 300;
  line-height: 1; color: rgba(14,11,9,.04);
  pointer-events: none; z-index: 1;
  transition: color var(--t-mid);
}
.service-card:hover .sc-num { color: rgba(255,255,255,.04); }

.sc-icon {
  font-size: 1.4rem; margin-bottom: 1.2rem;
  position: relative; z-index: 1;
  color: var(--rose); transition: color var(--t-mid);
}
.service-card:hover .sc-icon { color: var(--rose-2); }

.sc-title {
  font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 0.8rem; color: var(--dark);
  position: relative; z-index: 1;
  transition: color var(--t-mid);
}
.service-card:hover .sc-title { color: var(--white); }

.sc-desc {
  font-size: 0.83rem; line-height: 1.8; color: var(--gray-600);
  position: relative; z-index: 1;
  transition: color var(--t-mid); flex: 1;
}
.service-card:hover .sc-desc { color: rgba(255,255,255,.6); }

.sc-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rose); margin-top: 1.8rem;
  position: relative; z-index: 1;
  transition: gap var(--t-fast), color var(--t-mid);
}
.service-card:hover .sc-link { color: var(--rose-2); }
.sc-link:hover { gap: 0.9rem; }
.sc-link svg { transition: transform var(--t-fast); }
.sc-link:hover svg { transform: translateX(4px); }

.service-card.featured {
  background: var(--ink); border-color: var(--ink);
}
.service-card.featured::before { display: none; }
.service-card.featured .sc-title { color: var(--white); }
.service-card.featured .sc-num  { color: rgba(255,255,255,.04); }
.service-card.featured .sc-desc { color: rgba(255,255,255,.55); }
.service-card.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── 13. TEAM CARDS ───────────────────────────────────────────── */
.team-card {
  background: var(--white); border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }

.tc-photo {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
}
.tc-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.team-card:hover .tc-photo img { transform: scale(1.04); }

.tc-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 3.5rem;
  font-weight: 300; color: rgba(255,255,255,.6);
}

.tc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,11,9,.8) 0%, rgba(14,11,9,.1) 50%, transparent 100%);
  opacity: 0; transition: opacity var(--t-mid);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.5rem;
}
.team-card:hover .tc-overlay { opacity: 1; }
.tc-overlay-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); padding: 0.6rem 1rem;
  border: 1px solid rgba(255,255,255,.4);
  transition: background var(--t-fast); align-self: flex-start;
}
.tc-overlay-cta:hover { background: var(--white); color: var(--dark); }

.tc-info { padding: 1.5rem 1.5rem 1.8rem; }
.tc-crm {
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--rose);
  text-transform: uppercase; margin-bottom: 0.3rem;
}
.tc-name { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.25rem; }
.tc-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gray-400); text-transform: uppercase; }
.tc-bio  { font-size: 0.81rem; line-height: 1.75; margin-top: 0.8rem; color: var(--gray-600); }

/* ── 14. SERVICE PAGE: HERO ───────────────────────────────────── */
.sp-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.sp-hero-bg {
  position: absolute; inset: 0;
  background: var(--ink);
}
/* Orbs — animated by JS-toggled CSS */
.sp-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  animation: orbFloat 18s ease-in-out infinite;
}
.sp-hero-orb-1 {
  width: 55vw; height: 55vw; max-width: 800px; max-height: 800px;
  top: -20%; right: -10%;
  animation-duration: 18s;
}
.sp-hero-orb-2 {
  width: 35vw; height: 35vw; max-width: 500px; max-height: 500px;
  bottom: -10%; left: -5%;
  animation-duration: 22s; animation-delay: -8s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(2%,-3%) scale(1.04); }
  66%     { transform: translate(-2%,2%) scale(0.96); }
}

.sp-hero-grid {
  display: grid; grid-template-columns: 1fr 0.7fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 2;
  width: 100%;
}
.sp-hero-kicker {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.sp-hero-kicker::before {
  content: ''; display: block;
  width: 30px; height: 1px;
  background: var(--rose);
}
.sp-hero-title { color: var(--white); margin-bottom: 1.4rem; }
.sp-hero-title em { color: var(--rose); font-style: normal; }
.sp-hero-desc {
  font-size: 0.95rem; line-height: 1.9;
  color: rgba(255,255,255,.55); max-width: 480px;
  margin-bottom: 2.5rem;
}
.sp-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Right side: doctor spotlight in hero */
.sp-hero-doctor {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.sp-hero-photo-frame {
  position: relative; width: 100%; max-width: 360px;
}
.sp-hero-photo-frame::before {
  content: '';
  position: absolute; top: -1.5rem; right: -1.5rem; bottom: 1.5rem; left: 1.5rem;
  border: 1px solid rgba(255,255,255,.1); z-index: 0;
}
.sp-hero-photo {
  position: relative; z-index: 1;
  aspect-ratio: 3/4; overflow: hidden;
}
.sp-hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.sp-hero-photo .tc-placeholder {
  background: rgba(255,255,255,.05);
}
.sp-hero-doctor-tag {
  position: absolute; bottom: -1.2rem; left: 50%; transform: translateX(-50%);
  background: var(--rose); padding: 0.8rem 1.8rem;
  white-space: nowrap; z-index: 2;
}
.sp-hero-doctor-tag .crm {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,.7); display: block;
}
.sp-hero-doctor-tag .name {
  font-family: var(--serif); font-size: 1.1rem;
  color: var(--white); display: block; margin-top: 0.2rem;
}

/* Scroll hint */
.sp-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,.3); font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.sp-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollAnim 2.5s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { opacity: .3; transform: scaleY(1); transform-origin: top; }
  50% { opacity: .8; transform: scaleY(.5); transform-origin: top; }
}

/* ── 15. DOCTOR PROFILE SECTION ───────────────────────────────── */
.doctor-profile {
  background: var(--cream);
}
.doctor-profile-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.doctor-photo-col { position: relative; }
.doctor-photo-wrap {
  position: relative;
}
.doctor-photo-wrap::after {
  content: '';
  position: absolute; bottom: -2rem; right: -2rem;
  width: 70%; height: 70%; border: 1px solid var(--rose-light);
  z-index: 0; pointer-events: none;
}
.doctor-photo {
  position: relative; z-index: 1;
  aspect-ratio: 3/4; overflow: hidden;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .tc-placeholder {
  background: linear-gradient(160deg, var(--rose-light), var(--gold-light));
}
.doctor-badge {
  position: absolute; bottom: -2.5rem; left: -2rem; z-index: 2;
  background: var(--dark); padding: 1.2rem 1.5rem;
  min-width: 140px;
}
.doctor-badge-num {
  font-family: var(--serif); font-size: 2.8rem;
  color: var(--rose); line-height: 1; display: block;
}
.doctor-badge-label {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-top: 0.3rem;
}
.doctor-info-col { padding-top: 0.5rem; }
.doctor-crm-tag {
  display: inline-block; padding: 0.35rem 0.9rem;
  background: var(--rose-pale); border: 1px solid var(--rose-light);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 1.2rem;
}
.doctor-name { margin-bottom: 0.3rem; }
.doctor-specialty {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 1.5rem;
}
.doctor-bio p { margin-bottom: 1rem; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.doctor-tag {
  padding: 0.35rem 0.9rem;
  background: var(--white); border: 1px solid var(--gray-200);
  font-size: 0.7rem; font-weight: 500; color: var(--gray-600);
}

/* ── 16. SERVICE CONTENT ──────────────────────────────────────── */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.benefit-card {
  padding: 2rem 1.8rem;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}
.benefit-card:hover { border-color: var(--rose-light); box-shadow: var(--shadow-sm); }
.benefit-icon {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  opacity: .7;
  margin-bottom: 1rem;
  line-height: 1;
  display: block;
}
.benefit-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.benefit-card p  { font-size: 0.82rem; }

/* ── Procedures grid ───────────────────────────────────────────── */
.procedures-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(14,11,9,.07);
  border: 1px solid rgba(14,11,9,.07);
  max-width: none;
}
.procedure-item {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 0; padding: 2rem 2rem 1.6rem;
  background: var(--white);
  transition: background var(--t-mid);
  cursor: default;
}
/* Ghost number */
.procedure-item::before {
  content: attr(data-num);
  position: absolute; top: -.3rem; right: 1rem;
  font-family: var(--serif); font-size: 5.5rem; font-weight: 700; line-height: 1;
  color: var(--ink); opacity: .04;
  transition: opacity var(--t-mid), transform var(--t-mid);
  pointer-events: none; user-select: none;
}
/* Rose top-border accent on hover */
.procedure-item::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.procedure-item:hover { background: #fdf9f7; }
.procedure-item:hover::before { opacity: .07; transform: translateY(-4px); }
.procedure-item:hover::after { transform: scaleX(1); }

.procedure-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.procedure-num {
  font-family: var(--serif); font-size: .72rem; font-weight: 400;
  color: var(--rose); letter-spacing: .06em;
  line-height: 1; padding-top: .15rem;
  flex-shrink: 0;
}
.procedure-body { flex: 1; margin-top: 1.1rem; }
.procedure-name {
  font-family: var(--serif); font-size: 1.08rem; font-weight: 400;
  color: var(--ink); line-height: 1.3;
  margin-bottom: .4rem;
}
.procedure-sub {
  font-family: var(--sans); font-size: .72rem; font-weight: 400;
  color: rgba(14,11,9,.45); line-height: 1.5;
}
.procedure-arrow {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(196,129,123,.3);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.procedure-arrow svg { width: 13px; height: 13px; stroke: var(--rose); transition: stroke var(--t-fast); }
.procedure-item:hover .procedure-arrow {
  background: var(--rose); border-color: var(--rose); transform: translate(1px,-1px);
}
.procedure-item:hover .procedure-arrow svg { stroke: #fff; }
@media (max-width: 640px) {
  .procedures-list { grid-template-columns: 1fr; }
  .procedure-item { padding: 1.6rem 1.4rem 1.3rem; }
  .procedure-item::before { font-size: 4rem; }
}

/* How it works */
.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-top: 3rem; counter-reset: step;
}
.how-step { counter-increment: step; position: relative; }
.how-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 3.5rem;
  color: var(--rose-light); line-height: 1; display: block;
  margin-bottom: 1rem;
}
.how-step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.how-step p  { font-size: 0.8rem; }
.how-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 1.75rem; left: calc(100% + 0.5rem); right: -1.5rem;
  height: 1px; background: var(--gray-100);
}

/* ── 17. FAQ ──────────────────────────────────────────────────── */
.faq-section { background: var(--ink); }
.faq-section .sec-head h2 { color: var(--white); }
.faq-section .eyebrow { color: var(--rose); }

.faq-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.07); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.5rem 0;
  font-family: var(--serif); font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.85); text-align: left; cursor: pointer;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--white); }
.faq-q.open  { color: var(--rose-2); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem; color: rgba(255,255,255,.5);
  transition: all var(--t-mid);
}
.faq-q.open .faq-icon { background: var(--rose); border-color: var(--rose); color: var(--white); transform: rotate(45deg); }
.faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height 0.5s var(--ease-out), padding 0.4s;
}
.faq-a.open { max-height: 400px; }
.faq-a-inner { padding-bottom: 1.5rem; }
.faq-a p { font-size: 0.9rem; color: rgba(255,255,255,.5); line-height: 1.9; }

/* ── 18. CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  background: var(--dark);
  position: relative; overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(196,129,123,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 700px; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.55); margin-bottom: 2.5rem; }
.cta-banner-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── 19. TICKER ───────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--rose-pale);
  border-top: 1px solid var(--rose-light);
  border-bottom: 1px solid var(--rose-light);
  padding: 1.2rem 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 2rem; white-space: nowrap;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose);
}
.ticker-dot { width: 4px; height: 4px; background: var(--rose); border-radius: 50%; opacity: .5; }

/* ── 20. STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2.2rem 2rem;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark); line-height: 1; display: block;
}
.stat-num span { color: var(--rose); }
.stat-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-400); margin-top: 0.4rem; display: block;
}

/* ── 21. TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-bg { background: var(--ink); }
.testimonials-track-outer {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.testimonials-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: testimonialScroll 40s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes testimonialScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testi-card {
  width: 340px; flex-shrink: 0;
  padding: 2.5rem; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column; gap: 1.2rem;
}
.testi-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: .1rem; }
.testi-text {
  font-family: var(--serif); font-size: 1.05rem; font-style: italic;
  color: rgba(255,255,255,.75); line-height: 1.7; flex: 1;
}
.testi-author {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose);
}

/* ── 22. CONTACT ──────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
.contact-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem 0; border-bottom: 1px solid var(--gray-100);
}
.contact-item:first-child { border-top: 1px solid var(--gray-100); }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--rose-pale); border: 1px solid rgba(196,129,123,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.ci-icon svg { width: 18px; height: 18px; stroke: var(--rose); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-item:hover .ci-icon { background: var(--rose); border-color: var(--rose); }
.contact-item:hover .ci-icon svg { stroke: #fff; }
.ci-label { font-size: 0.63rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin-bottom: .2rem; }
.ci-value { font-size: 0.88rem; color: var(--dark); line-height: 1.5; }
.ci-value a { color: var(--dark); transition: color var(--t-fast); }
.ci-value a:hover { color: var(--rose); }

.contact-social { display: flex; gap: 0.8rem; margin-top: 2rem; }
.cs-link {
  width: 40px; height: 40px; background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast); font-size: 0.9rem;
}
.cs-link:hover { background: var(--rose); border-color: var(--rose); }
.cs-link:hover svg { stroke: white; fill: white; }

/* Form */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-600); margin-bottom: 0.45rem;
}
.form-input {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--off-white); border: 1px solid var(--gray-200);
  font-size: 0.85rem; color: var(--dark); outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
  border-radius: 0; appearance: none;
}
.form-input:focus { border-color: var(--rose); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
textarea.form-input { min-height: 110px; resize: vertical; }

/* ── 23. FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--ink-2);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--serif); font-size: 2.8rem; color: var(--white);
  letter-spacing: .06em; margin-bottom: 1.5rem;
}
.footer-logo b { color: var(--rose); font-weight: 400; }
.footer-tagline {
  font-size: 0.8rem; color: rgba(255,255,255,.35);
  line-height: 1.85; max-width: 260px;
}
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--rose); border-color: var(--rose); }
.footer-col h5 {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a {
  font-size: 0.8rem; color: rgba(255,255,255,.35);
  transition: color var(--t-fast);
}
.footer-col ul a:hover { color: var(--rose-2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.7rem; color: rgba(255,255,255,.22); }
.footer-bottom a { color: var(--rose); }
.footer-resp {
  font-size: 0.62rem; color: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.08); padding: .3rem .8rem;
}

/* ── 24. WHATSAPP FLOAT ───────────────────────────────────────── */
#wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: waFloat 5s ease-in-out infinite;
}
#wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
}
@keyframes waFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
#wa-float svg { width: 26px; height: 26px; fill: white; }
#wa-float span { display: none; }

/* ── 25. BACK LINK ────────────────────────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 3rem;
  transition: gap var(--t-fast);
}
.back-link:hover { gap: 1rem; }
.back-link svg { transition: transform var(--t-fast); }
.back-link:hover svg { transform: translateX(-4px); }

/* ── 26. RELATED SERVICES ─────────────────────────────────────── */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem;
}
.related-card {
  padding: 2rem 1.8rem;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: all var(--t-mid);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.related-card:hover { background: var(--dark); border-color: var(--dark); }
.related-card:hover .rc-title { color: var(--white); }
.related-card:hover .rc-desc  { color: rgba(255,255,255,.5); }
.related-card:hover .rc-link  { color: var(--rose-2); }
.rc-title { font-family: var(--serif); font-size: 1.2rem; color: var(--dark); transition: color var(--t-mid); }
.rc-desc  { font-size: 0.8rem; color: var(--gray-600); transition: color var(--t-mid); }
.rc-link  {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--rose); margin-top: 0.8rem;
  display: flex; align-items: center; gap: .4rem;
  transition: color var(--t-mid), gap var(--t-fast);
}
.related-card:hover .rc-link { gap: .8rem; }

/* ── 27. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sp-hero-grid { grid-template-columns: 1fr 0.6fr; }
  .how-steps    { grid-template-columns: repeat(2, 1fr); }
  .how-step:nth-child(2)::after,
  .how-step:nth-child(4)::after { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .stats-inner   { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--gray-100); }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .doctor-profile-grid { grid-template-columns: 1fr; }
  .sp-hero-grid { grid-template-columns: 1fr; }
  .sp-hero-doctor { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
}
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
}

/* ══════════════════════════════════════════
   PREMIUM — Preloader · WA · Grain · Split · Parallax
   ══════════════════════════════════════════ */

/* ── PRELOADER ── */
#pl {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s ease, transform .7s ease;
  pointer-events: all;
}
#pl.out { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.pl-logo {
  height: 72px; width: auto; mix-blend-mode: screen;
  animation: pl-breathe 1.6s ease-in-out infinite;
}
@keyframes pl-breathe {
  0%, 100% { opacity: .45; transform: scale(.97); }
  50%       { opacity: 1;   transform: scale(1);   }
}
.pl-bar { width: 100px; height: 1px; background: rgba(255,255,255,.08); overflow: hidden; }
.pl-fill {
  height: 100%;
  background: linear-gradient(to right, var(--rose), var(--gold));
  animation: pl-load 1.1s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes pl-load { from { width: 0 } to { width: 100% } }

/* ── GRAIN OVERLAY ── */
#grain {
  position: fixed; inset: -100px; z-index: 9997;
  pointer-events: none; opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain-anim 8s steps(10) infinite;
}
@keyframes grain-anim {
  0%  { transform:translate(0,0) }  10% { transform:translate(-2%,-4%) }
  20% { transform:translate(-6%,2%) } 30% { transform:translate(4%,-5%) }
  40% { transform:translate(-4%,6%) } 50% { transform:translate(-2%,3%) }
  60% { transform:translate(6%,0%)  } 70% { transform:translate(0%,4%) }
  80% { transform:translate(2%,5%)  } 90% { transform:translate(-4%,2%) }
  100%{ transform:translate(0,0) }
}

/* ── SPLIT TEXT ── */
.sw { display: inline-block; overflow: hidden; vertical-align: bottom; }
.sw-i {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .85s cubic-bezier(.16,1,.3,1);
}
[data-split].in-view .sw-i { transform: translateY(0); }

/* ── NAV ACTIVE ── */
.nav-links a.nav-active { color: var(--rose) !important; }

/* ── DEPOIMENTOS ── */
#depoimentos {
  background: var(--ink); padding: 7rem 0;
  position: relative; overflow: hidden;
}
#depoimentos::before {
  content: '"'; position: absolute; top: -4rem; left: 3%;
  font-family: var(--serif); font-size: 22rem; font-weight: 300;
  color: rgba(255,255,255,.025); line-height: 1; pointer-events: none;
}
.dep-head {
  max-width: var(--max-w); margin: 0 auto; padding: 0 6%;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem; gap: 2rem; flex-wrap: wrap;
}
.dep-label {
  font-family: var(--sans); font-size: .55rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase; color: var(--rose);
  margin-bottom: .8rem;
}
.dep-title {
  font-family: var(--serif); font-size: clamp(2rem,3.5vw,3rem);
  font-weight: 300; color: var(--white); line-height: 1.1;
}
.dep-title em { font-style: italic; color: var(--rose); }
.dep-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 6%;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5px; background: rgba(255,255,255,.04);
}
@media(max-width:900px){ .dep-grid { grid-template-columns:1fr; } }
.dep-card {
  background: #1a1512; padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.dep-card:hover { background: #1f1a16; }
.dep-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--rose); transition: width .4s;
}
.dep-card:hover::after { width: 100%; }
.dep-stars { color: var(--gold); font-size: .75rem; margin-bottom: 1.2rem; letter-spacing: 2px; }
.dep-text {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 1.8rem;
}
.dep-author { display: flex; align-items: center; gap: 1rem; }
.dep-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,var(--rose),var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: .95rem; color: #fff;
}
.dep-name {
  font-family: var(--sans); font-size: .68rem; font-weight: 600;
  color: rgba(255,255,255,.55); letter-spacing: .04em;
}
.dep-spec {
  font-family: var(--sans); font-size: .58rem; font-weight: 300;
  color: rgba(255,255,255,.22); margin-top: .2rem;
}
.dep-badge {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-family: var(--sans); font-size: .48rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--rose); opacity: .5;
}

/* Testimonials animation */
.dep-anim {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.dep-delay-1 { transition-delay: .15s; }
.dep-delay-2 { transition-delay: .3s; }
.dep-anim.dep-in { opacity: 1; transform: translateY(0); }


/* ══════════════════════════════════════════
   MOBILE POLISH — v2.0
   ══════════════════════════════════════════ */

/* ── 768px: tablets e celulares grandes ── */
@media (max-width: 768px) {
  .cred-bar { display: none; }
  #equipe-strip { padding-top: 2rem !important; }

  /* Tipografia */
  h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  h3 { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  /* Layout */
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .benefits-grid { grid-template-columns: 1fr; gap: 1rem; }
  .how-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .how-step::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--gray-100); border-right: 1px solid var(--gray-100); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--gray-100); }
  .related-grid { grid-template-columns: 1fr; }

  /* Hero especialidade: ocultar foto no mobile */
  .sp-hero-doctor { display: none !important; }
  .sp-hero-photo-frame {
    max-width: 240px;
  }
  .sp-hero-photo-frame::before { display: none; }
  .sp-hero-photo { aspect-ratio: 3/4; }

  /* Hero padding */
  .sp-hero { padding-bottom: 4rem; }
  .sp-hero-desc { max-width: 100%; }
  .sp-hero-ctas { flex-direction: column; gap: 0.75rem; }
  .sp-hero-ctas .btn { width: 100%; justify-content: center; }

  /* CTA Banner */
  .cta-banner-btns { flex-direction: column; gap: 0.75rem; }
  .cta-banner-btns .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Doctor profile */
  .doctor-badge {
    position: static;
    display: inline-block;
    margin-top: 1.5rem;
  }
  .doctor-photo-wrap::after { display: none; }

  /* Depoimentos header */
  .dep-head { flex-direction: column; gap: 1rem; }

  /* Footer bottom */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* Procedure items */
  .procedures-list { grid-template-columns: 1fr; }
  .procedure-item { padding: 1.4rem 1.2rem 1.2rem; }

  /* Contact grid */
  .contact-grid { gap: 2.5rem; }

  /* Seções */
  .section { padding: clamp(3rem, 7vw, 5rem) 0; }
}

/* ── 480px: celulares pequenos ── */
@media (max-width: 480px) {

  /* Tipografia */
  h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem); }

  /* Layout */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { gap: 2rem; }

  /* Hero homepage */
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem) !important; }
  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }
  .hero-trust { gap: 0.8rem; }

  /* Botões */
  .btn { padding: 0.85rem 1.6rem; font-size: 0.65rem; }

  /* Stats: 2x2 mantido, mas menor */
  .stat-item { padding: 1.5rem 1rem; }
  .stat-num { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Cards */
  .service-card { padding: 1.8rem 1.5rem; }
  .benefit-card { padding: 1.5rem 1.2rem; }

  /* Team cards: 1 coluna */
  .grid-3 .team-card,
  .grid-4 .team-card { max-width: 100%; }

  /* FAQ */
  .faq-q { font-size: 0.95rem; }

  /* Testimonials: cards menores */
  .testi-card { width: 280px; padding: 1.8rem; }

  /* Ticker: velocidade ok */

  /* Hero especialidade: foto mais compacta */
  .sp-hero-photo-frame { max-width: 200px; }
  .sp-hero-doctor-tag { padding: 0.6rem 1.2rem; }
  .sp-hero-doctor-tag .name { font-size: 0.95rem; }

  /* Back link */
  .back-link { margin-bottom: 2rem; }

  /* Eyebrow */
  .eyebrow { font-size: 0.6rem; }

  /* Footer */
  .footer-logo { font-size: 2.2rem; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { font-size: 0.65rem; }

  /* WA float: posição ajustada */
  #wa-float { bottom: 1.5rem; right: 1.2rem; width: 48px; height: 48px; }

  /* Nav */
  #nav { height: 60px; }
  #nav.scrolled { height: 70px; }
  .sp-hero { padding-top: 60px; }
}
