/* =========================================================
   Dra. Karina Sbaraini — Identidade Visual
   Light · Clean · Editorial sutil · Luxo discreto
   ========================================================= */

:root {
  /* Surfaces */
  --white: #FFFFFF;
  --cream: #FAF8F5;
  --offwhite: #F4F0EA;
  --beige: #ECE4D8;

  /* Brand */
  --sapphire: #0E3A5B;
  --sapphire-deep: #0A2C46;
  --sapphire-soft: #2C5A7E;
  --gold: #C9A66B;
  --gold-deep: #B08F52;

  /* Text */
  --ink: #1F2933;
  --graphite: #3A434C;
  --muted: #707A82;
  --faint: #9AA1A8;

  /* Lines */
  --line: #EAE3D8;
  --line-2: #E4DCCF;

  /* Type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Allura', cursive;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1200px;
  --pad: clamp(22px, 6vw, 96px);

  --shadow-sm: 0 2px 12px -6px rgba(14, 58, 91, 0.12);
  --shadow-md: 0 24px 60px -34px rgba(14, 58, 91, 0.28);
  --shadow-lg: 0 40px 90px -50px rgba(14, 58, 91, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Skip link — visível apenas ao receber foco (teclado/leitor de tela) */
.skip-link {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%) translateY(-200%);
  z-index: 9999;
  background: var(--sapphire); color: var(--white);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 12px 28px; border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
  white-space: nowrap;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); outline: none; }

/* Focus visível com estilo da marca — rings dourados para teclado */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remover outline nativo no clique (mouse) sem afetar teclado */
:focus:not(:focus-visible) { outline: none; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* fallback — JS atualiza com a altura real da nav */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--cream);
  color: var(--graphite);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   PRIMITIVES
   ========================================================= */
.serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--sapphire);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow-line, .label-line {
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section-label { margin-bottom: 22px; }
.section-label.light { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.body-text {
  font-size: clamp(15px, 1.05vw, 16.5px);
  color: var(--muted);
  line-height: 1.85;
  max-width: 540px;
  font-weight: 300;
}

.section { padding: clamp(72px, 10vw, 140px) var(--pad); }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--sapphire));
  z-index: 200;
  transition: width 0.1s linear;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 10px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }

.nav-logo img { height: 70px; width: auto; display: block; transition: height 0.4s var(--ease); }
.nav.scrolled .nav-logo img { height: 50px; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a {
  font-size: 14px; font-weight: 400;
  color: var(--graphite);
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute;
  left: 0; bottom: -1px; width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--sapphire); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--sapphire);
  color: var(--white) !important;
  border-radius: 999px;
  padding: 11px 24px !important;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s;
}
.nav-cta:hover {
  background: var(--sapphire-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(14, 58, 91, 0.5);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 110;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--sapphire); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
              color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  white-space: nowrap;
}
.btn-primary { background: var(--sapphire); color: var(--white); box-shadow: 0 16px 36px -16px rgba(14, 58, 91, 0.55); }
.btn-primary:hover { background: var(--sapphire-deep); transform: translateY(-3px); box-shadow: 0 22px 46px -18px rgba(14, 58, 91, 0.6); }

.btn-outline { background: transparent; color: var(--sapphire); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--sapphire); transform: translateY(-3px); }

.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 16px 36px -16px rgba(201, 166, 107, 0.6); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-3px); box-shadow: 0 22px 46px -18px rgba(201, 166, 107, 0.7); }

.btn-light-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-light-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--pad) 80px;
  background:
    radial-gradient(900px 600px at 88% 8%, rgba(201, 166, 107, 0.08), transparent 60%),
    radial-gradient(800px 700px at 5% 95%, rgba(14, 58, 91, 0.05), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-decor {
  position: absolute;
  right: -180px; top: 50%;
  transform: translateY(-50%);
  width: 620px; height: 620px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  pointer-events: none;
}
.hero-decor::after {
  content: ''; position: absolute; inset: 90px;
  border: 1px solid rgba(201, 166, 107, 0.25);
  border-radius: 50%;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-text { max-width: 620px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero-tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.3;
  color: var(--graphite);
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-tagline .serif-em { font-size: 1em; }
.hero-sub {
  font-size: clamp(15px, 1.25vw, 17px);
  color: var(--muted);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; gap: clamp(24px, 4vw, 52px);
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  color: var(--sapphire);
  line-height: 1;
}
.hero-stats div > span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.3px; }

/* Hero visual — foto real */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--offwhite);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 44, 70, 0.28), transparent 42%);
  pointer-events: none;
}
.hero-photo-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  z-index: 2;
  background: rgba(14, 58, 91, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.hero-photo-badge strong { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; }
.hero-photo-badge strong span { color: var(--gold); }
.hero-photo-badge em { font-style: normal; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); line-height: 1.4; }

.hero-cred {
  position: absolute;
  top: 28px; right: -22px;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  max-width: 250px;
}
.hero-cred-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(201, 166, 107, 0.16);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.hero-cred-icon svg { width: 18px; height: 18px; }
.hero-cred strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--sapphire); line-height: 1.25; }
.hero-cred span { font-size: 11.5px; color: var(--muted); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--white); }
.about-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.about-visual { position: relative; }
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--offwhite);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 35%;
}
.about-quote {
  position: absolute; right: -20px; bottom: 40px;
  background: var(--sapphire); color: var(--white);
  border-radius: 18px; padding: 24px 26px;
  max-width: 260px; box-shadow: var(--shadow-md);
}
.about-quote-mark { font-family: var(--serif); font-size: 52px; line-height: 0; color: var(--gold); display: block; height: 22px; }
.about-quote p { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4; }

.about-creds { list-style: none; margin-top: 34px; }
.about-creds li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink); font-weight: 400;
}
.about-creds .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.about-signature { margin-top: 34px; }
.about-signature .signature {
  font-family: var(--script);
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 0.9;
  color: var(--sapphire);
  display: block;
}
.about-signature .signature-role {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--cream); }
.services-head { max-width: var(--maxw); margin: 0 auto clamp(44px, 5vw, 72px); }
.services-head .body-text { margin-top: 22px; }

.services-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 3vw, 40px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--offwhite);
  color: var(--sapphire);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background 0.4s var(--ease), color 0.4s;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: var(--sapphire); color: var(--white); }
.service-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(22px, 2.2vw, 27px);
  color: var(--ink); margin-bottom: 12px; line-height: 1.2;
}
.service-card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

.service-card--cta {
  background: linear-gradient(165deg, var(--sapphire), var(--sapphire-deep));
  border-color: transparent; justify-content: center;
}
.service-card--cta:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card--cta h3 { color: var(--white); }
.service-card--cta p { color: rgba(255,255,255,0.78); }
.service-link {
  margin-top: auto; padding-top: 22px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--gold); display: inline-flex; align-items: center; gap: 10px;
  transition: gap 0.35s var(--ease), color 0.3s;
}
.service-link span { transition: transform 0.35s var(--ease); }
.service-link:hover { color: var(--white); }
.service-link:hover span { transform: translateX(6px); }

/* Links "Saiba mais" nos cards brancos — cor safira, hover dourado */
.service-card:not(.service-card--cta) .service-link { color: var(--sapphire); }
.service-card:not(.service-card--cta) .service-link:hover { color: var(--gold-deep); }

/* =========================================================
   EXPERIENCE / STEPS
   ========================================================= */
.experience { background: var(--white); }
.experience-head { max-width: var(--maxw); margin: 0 auto clamp(44px, 5vw, 72px); }
.steps {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
}
.step { position: relative; padding-top: 28px; }
.step::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 2px; background: var(--gold); }
.step-num {
  font-family: var(--serif); font-size: 42px; font-weight: 500;
  color: var(--beige); line-height: 1; display: block; margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 500; color: var(--sapphire); margin-bottom: 10px; line-height: 1.3; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* =========================================================
   CLINIC / CONSULTÓRIO
   ========================================================= */
.clinic { background: var(--cream); border-top: 1px solid var(--line); }

/* Cabeçalho editorial dividido */
.clinic-head {
  max-width: var(--maxw); margin: 0 auto clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 4vw, 60px); align-items: end;
}
.clinic-head .section-title { margin-top: 18px; }
.clinic-head .body-text { padding-bottom: 6px; }

/* Galeria — três espaços em colunas iguais */
.clinic-gallery {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.5vw, 22px);
}
.g-item {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--offwhite);
  box-shadow: var(--shadow-sm);
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.g-item:hover img { transform: scale(1.06); }
.g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 44, 70, 0.55), transparent 45%);
  pointer-events: none;
}
.g-item figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
  font-size: clamp(13px, 1.2vw, 15px); font-weight: 600;
  letter-spacing: 0.3px;
}
.g-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 0.95em; color: var(--gold);
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

/* Faixa de diferenciais */
.clinic-features {
  max-width: var(--maxw); margin: clamp(40px, 4.5vw, 60px) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.2vw, 32px);
  padding-top: clamp(34px, 3.5vw, 46px);
  border-top: 1px solid var(--line);
}
.clinic-feature { display: flex; gap: 14px; align-items: flex-start; }
.clinic-feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--sapphire);
  display: flex; align-items: center; justify-content: center;
}
.clinic-feature-icon svg { width: 22px; height: 22px; }
.clinic-feature strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 3px; }
.clinic-feature > div span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* CTA + selo de localização */
.clinic-cta {
  max-width: var(--maxw); margin: clamp(40px, 4.5vw, 58px) auto 0;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}
.clinic-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px 11px 16px;
  font-size: 13.5px; font-weight: 500; color: var(--sapphire);
  box-shadow: var(--shadow-sm);
}
.clinic-tag-icon { color: var(--gold-deep); display: flex; }
.clinic-tag-icon svg { width: 17px; height: 17px; }

/* =========================================================
   QUOTE
   ========================================================= */
.quote-section {
  padding: clamp(80px, 11vw, 150px) var(--pad);
  text-align: center;
  background: var(--offwhite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(27px, 4vw, 50px);
  line-height: 1.3; color: var(--ink);
  max-width: 980px; margin: 0 auto;
  letter-spacing: -0.005em;
}
.quote .serif-em { font-weight: 500; }
.quote-author {
  margin-top: 30px; font-size: 12px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold-deep);
}

/* =========================================================
   DIFFERENTIALS
   ========================================================= */
.diff { background: var(--cream); }
.diff-head { max-width: var(--maxw); margin: 0 auto clamp(40px, 5vw, 64px); }
.diff-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}
.diff-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 2.8vw, 36px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.diff-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.diff-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 24px; color: var(--gold-deep); display: block; margin-bottom: 16px;
}
.diff-item h3 { font-size: 16px; font-weight: 500; color: var(--sapphire); margin-bottom: 10px; line-height: 1.3; }
.diff-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testimonials { background: var(--white); border-top: 1px solid var(--line); }
.testimonials-head {
  max-width: 720px; margin: 0 auto clamp(44px, 5vw, 70px);
  text-align: center;
}
.testimonials-head .section-label { justify-content: center; }
.testimonials-head .body-text { margin: 22px auto 0; }

.testimonials-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.testimonial {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 3vw, 38px);
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.testimonial-stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 20px; }
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-text {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 21px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--graphite);
  flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--sapphire);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
}
.testimonial-author strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.testimonial-author > div span { font-size: 12.5px; color: var(--gold-deep); letter-spacing: 0.3px; }
.testimonials-note { text-align: center; margin-top: clamp(36px, 4vw, 52px); }
.testimonials-note a {
  font-size: 14px; font-weight: 500; color: var(--sapphire);
  display: inline-flex; align-items: center; gap: 9px;
  transition: gap 0.35s var(--ease), color 0.3s;
}
.testimonials-note a span { transition: transform 0.35s var(--ease); }
.testimonials-note a:hover { color: var(--gold-deep); }
.testimonials-note a:hover span { transform: translateX(6px); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--cream); border-top: 1px solid var(--line); }
.faq-head {
  max-width: 760px; margin: 0 auto clamp(44px, 5vw, 70px);
  text-align: center;
}
.faq-head .section-label { justify-content: center; }
.faq-head .body-text { margin: 22px auto 0; }

.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-q {
  width: 100%;
  background: none; border: none; cursor: pointer;
  text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 2.6vw, 30px) 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}
.faq-q:hover { color: var(--sapphire); }
.faq-item.open .faq-q { color: var(--sapphire); }

.faq-icon {
  position: relative; flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-2);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.faq-item.open .faq-icon { background: var(--gold); border-color: var(--gold); }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 1.5px; border-radius: 2px;
  background: var(--gold-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), background 0.4s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after { background: var(--white); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }

.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 56px clamp(24px, 2.6vw, 30px) 6px;
  font-size: clamp(14.5px, 1.05vw, 16px);
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
}
.faq-a a {
  color: var(--sapphire); font-weight: 400;
  border-bottom: 1px solid var(--line-2);
  transition: color 0.3s, border-color 0.3s;
}
.faq-a a:hover { color: var(--gold-deep); border-color: var(--gold); }

.faq-cta {
  max-width: 840px; margin: clamp(40px, 4.5vw, 60px) auto 0;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 2vw, 26px); flex-wrap: wrap;
  text-align: center;
}
.faq-cta p { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.8vw, 21px); color: var(--graphite); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  text-align: center;
  background:
    radial-gradient(700px 500px at 50% 0%, rgba(201, 166, 107, 0.14), transparent 60%),
    linear-gradient(165deg, var(--sapphire), var(--sapphire-deep));
  color: var(--white);
}
.contact-inner { max-width: 780px; margin: 0 auto; }
.contact .section-label { justify-content: center; }
.contact-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.05; letter-spacing: -0.015em;
  color: var(--white); margin: 18px 0 24px;
}
.contact-title .serif-em { color: var(--gold); }
.contact-sub { font-size: clamp(15px, 1.3vw, 18px); color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 42px; line-height: 1.75; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 72px; }
.contact-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; padding-top: 42px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: left;
}
.contact-meta-label { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px; }
.contact-meta p { font-size: 14.5px; color: rgba(255,255,255,0.9); }
.contact-meta a { transition: color 0.3s; }
.contact-meta a:hover { color: var(--gold); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--white); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 6vw, 56px) var(--pad) clamp(32px, 4vw, 46px);
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--graphite); transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold-deep); }
.footer-base {
  max-width: var(--maxw); margin: 0 auto;
  padding: 24px var(--pad);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-base p { font-size: 12px; color: var(--faint); letter-spacing: 0.3px; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--sapphire); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  box-shadow: 0 14px 34px -10px rgba(14, 58, 91, 0.5);
  transition: transform 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
  opacity: 0; transform: translateY(20px) scale(0.85); pointer-events: none;
}
.whatsapp-float.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.06); background: var(--gold); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* =========================================================
   REVEAL
   ========================================================= */
/* Conteúdo visível por padrão; só esconde para animar quando há JS
   (progressive enhancement — sem JS o site continua legível). */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 85ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-cred { right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .clinic-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .clinic-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    transform: translateX(100%); transition: transform 0.5s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 22px; font-family: var(--serif); color: var(--sapphire); }
  .nav-cta { font-size: 16px !important; padding: 13px 30px !important; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; }
}

@media (max-width: 600px) {
  .services-grid, .steps, .diff-grid { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .footer-inner, .footer-base { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .about-quote { right: 0; left: 0; max-width: none; bottom: -30px; }
  .hero-cred { position: static; margin: 18px auto 0; max-width: none; }
  .hero-photo-badge { left: 14px; bottom: 14px; padding: 13px 16px; }
  .hero-photo-badge strong { font-size: 34px; }
  .clinic-features { grid-template-columns: 1fr; gap: 18px; }
  .clinic-gallery { grid-template-columns: 1fr; }
  .clinic-cta { flex-direction: column; }
  .clinic-cta .btn { width: 100%; }
  .faq-cta { flex-direction: column; }
  .faq-cta .btn { width: 100%; }
  .faq-a p { padding-right: 6px; }
}

/* =========================================================
   LGPD — Banner de consentimento
   ========================================================= */
.lgpd-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 50px -20px rgba(14, 58, 91, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.lgpd-banner.lgpd-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0s;
}
.lgpd-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.lgpd-text p:first-child {
  font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px;
}
.lgpd-text p:last-child {
  font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 640px;
}
.lgpd-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; flex-wrap: wrap; }
.lgpd-decline {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.3s;
}
.lgpd-decline:hover { color: var(--graphite); }
.lgpd-banner .btn { padding: 12px 24px; font-size: 13px; }

@media (max-width: 600px) {
  .lgpd-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .lgpd-actions { width: 100%; justify-content: space-between; }
  .lgpd-banner .btn { flex: 1; text-align: center; }
}

/* =========================================================
   PÁGINA 404
   ========================================================= */
.error-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px var(--pad) 80px;
  background:
    radial-gradient(700px 500px at 50% 30%, rgba(201, 166, 107, 0.07), transparent 60%),
    var(--cream);
  text-align: center;
}
.error-inner { max-width: 620px; margin: 0 auto; }
.error-num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(100px, 18vw, 220px);
  line-height: 0.9; color: var(--beige);
  display: block; margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.error-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.8vw, 46px);
  color: var(--ink); line-height: 1.2;
  margin-bottom: 20px;
}
.error-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--muted); line-height: 1.85;
  max-width: 480px; margin: 0 auto 40px;
  font-weight: 300;
}
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 500px) {
  .error-actions .btn { width: 100%; }
}

/* =========================================================
   REDUZIR MOVIMENTO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
