/* ============================================================
   DESIGN SYSTEM — Dra. Júnia Nascimento · Hematologista
   Style: Medical Minimalism Premium
   Stack: HTML/CSS
   Skill: ui-ux-pro-max
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Colors */
  --clr-navy:       #0D2137;   /* deep navy — authority, trust */
  --clr-navy-mid:   #153350;   /* mid navy — headers, accents  */
  --clr-gold:       #B8914A;   /* warm gold — premium accent    */
  --clr-gold-light: #D4AC6E;   /* gold light — hover states    */
  --clr-teal:       #2D8F7B;   /* teal — health vitality       */
  --clr-teal-light: #3DAF96;   /* teal light — hover          */
  --clr-surface:    #F6F4F1;   /* warm off-white surface       */
  --clr-bg:         #FAFAF8;   /* page background              */
  --clr-card:       #FFFFFF;   /* card background              */
  --clr-text:       #1A1A2E;   /* heading text                 */
  --clr-body:       #3D3D52;   /* body text — 4.8:1 on white   */
  --clr-muted:      #6B6B80;   /* muted text                   */
  --clr-border:     #E4E0DA;   /* subtle borders               */
  --clr-divider:    #EDE9E4;   /* section dividers             */
  --clr-error:      #C0392B;   /* form errors                  */
  --clr-success:    #1E7A5B;   /* form success                 */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.25rem;   /* 20px */
  --text-xl:   1.5rem;    /* 24px */
  --text-2xl:  2rem;      /* 32px */
  --text-3xl:  2.5rem;    /* 40px */
  --text-4xl:  3.25rem;   /* 52px */
  --text-5xl:  4rem;      /* 64px */
  --text-6xl:  5rem;      /* 80px */

  /* Spacing (8pt grid) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(13, 33, 55, 0.06), 0 1px 2px rgba(13, 33, 55, 0.04);
  --shadow-sm: 0 2px 8px rgba(13, 33, 55, 0.08), 0 1px 3px rgba(13, 33, 55, 0.05);
  --shadow-md: 0 4px 16px rgba(13, 33, 55, 0.10), 0 2px 6px rgba(13, 33, 55, 0.06);
  --shadow-lg: 0 8px 32px rgba(13, 33, 55, 0.12), 0 4px 12px rgba(13, 33, 55, 0.07);
  --shadow-xl: 0 16px 48px rgba(13, 33, 55, 0.15), 0 6px 20px rgba(13, 33, 55, 0.08);

  /* Motion — 150-300ms per skill */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   350ms;

  /* Layout */
  --max-w: 1200px;
  --header-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--clr-body);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
p { max-width: 65ch; }

/* reduced-motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── ACCESSIBILITY ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-6);
  background: var(--clr-navy);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus ring — visible and styled */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-8); }
}

.section {
  padding-block: var(--sp-20);
}

@media (min-width: 768px) {
  .section { padding-block: var(--sp-32); }
}

.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }

/* ── REVEAL ANIMATIONS ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.reveal--right {
  transform: translateX(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Stagger cards via CSS custom property */
.card.reveal { transition-delay: calc(var(--i, 0) * 80ms); }
.timeline__item.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem var(--sp-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  min-height: 52px; /* ≥44px touch target */
  white-space: nowrap;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--clr-gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184, 145, 74, 0.35);
}
.btn--primary:hover {
  background: var(--clr-gold-light);
  box-shadow: 0 6px 20px rgba(184, 145, 74, 0.45);
}

.btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-navy);
  border: 1.5px solid var(--clr-border);
}
.btn--ghost:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

.btn--full { width: 100%; }

/* Loading state */
.btn__spinner { display: none; animation: spin 0.9s linear infinite; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── SECTION HEADER ──────────────────────────────────────────── */
.section__label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-3);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: 600;
  line-height: 1.15;
  color: var(--clr-text);
  margin-bottom: var(--sp-5);
}
.section__title em {
  font-style: italic;
  color: var(--clr-gold);
}

.section__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section__header .section__title { margin-inline: auto; }

.section__subtitle {
  font-size: var(--text-md);
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 56ch;
  margin-inline: auto;
}

/* ── HEADER ──────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  overflow: visible;
  background: rgba(13, 33, 55, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.header__logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
  flex-shrink: 0;
}
.header__logo-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.header__logo-crm {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Mobile menu button */
.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-3);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
  transition: background var(--dur-fast);
}
.header__menu-btn:hover { background: rgba(255,255,255,0.08); }
.header__menu-bar {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
  display: block;
}
.header__menu-btn[aria-expanded="true"] .header__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__menu-btn[aria-expanded="true"] .header__menu-bar:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.header__menu-btn[aria-expanded="true"] .header__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav desktop */
.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav__link--cta {
  background: var(--clr-gold);
  color: #fff !important;
  padding-inline: var(--sp-6);
  box-shadow: 0 2px 12px rgba(184,145,74,0.4);
}
.nav__link--cta:hover {
  background: var(--clr-gold-light);
  box-shadow: 0 4px 16px rgba(184,145,74,0.5);
}

@media (min-width: 768px) {
  .header__menu-btn { display: none; }
  .nav { display: block; }
}

/* Mobile nav — sempre display:block, escondido via opacity/pointer-events */
@media (max-width: 767px) {
  .nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    z-index: 99;
    background: var(--clr-navy);
    padding: var(--sp-8) var(--sp-6);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity var(--dur-base) var(--ease-out),
      transform var(--dur-base) var(--ease-out);
  }
  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-4);
    padding-bottom: var(--sp-8);
  }
  .nav__link {
    font-size: var(--text-lg);
    padding: var(--sp-4) var(--sp-6);
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav__link--cta {
    justify-content: center;
    margin-top: var(--sp-4);
    border-bottom: none;
  }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(145deg, var(--clr-navy) 0%, var(--clr-navy-mid) 55%, #1A3F5C 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(184,145,74,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(45,143,123,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
  padding-block: var(--sp-16);
}

/* Hero content */
.hero__content { flex: 1; min-width: 0; }

.hero__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-4);
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 8vw, var(--text-6xl));
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--sp-6);
  letter-spacing: -0.02em;
}
.hero__name em {
  font-style: italic;
  color: var(--clr-gold-light);
  font-weight: 400;
}

.hero__tagline {
  font-size: clamp(var(--text-base), 2vw, var(--text-md));
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  backdrop-filter: blur(4px);
}
.hero__badge svg { color: var(--clr-gold); flex-shrink: 0; }

/* Hero visual — photo placeholder */
.hero__visual {
  flex-shrink: 0;
  position: relative;
  width: min(340px, 40vw);
}

.hero__photo-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-xl);
}

.hero__photo-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: rgba(255,255,255,0.3);
  font-size: var(--text-sm);
  text-align: center;
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__deco {
  position: absolute;
  border-radius: var(--radius-xl);
}
.hero__deco--1 {
  bottom: -20px;
  right: -20px;
  width: 55%;
  height: 55%;
  background: var(--clr-gold);
  opacity: 0.12;
  z-index: 0;
}
.hero__deco--2 {
  top: -16px;
  left: -16px;
  width: 40%;
  height: 40%;
  background: var(--clr-teal);
  opacity: 0.15;
  z-index: 0;
}

/* Scroll hint */
.hero__scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto var(--sp-8);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.5);
  transition: border-color var(--dur-fast), color var(--dur-fast);
  animation: bounce 2.5s ease-in-out infinite;
}
.hero__scroll:hover { border-color: var(--clr-gold); color: var(--clr-gold); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── MOBILE OVERRIDES (< 768px) ──────────────────────────── */
@media (max-width: 767px) {

  /* Hero */
  .hero {
    min-height: auto;
    padding-bottom: var(--sp-8);
  }
  .hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-block: var(--sp-8) var(--sp-6);
    gap: var(--sp-6);
  }
  .hero__content { order: 2; }
  .hero__visual {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero__photo-frame {
    width: min(200px, 56vw);
    aspect-ratio: 1/1;
    border-radius: 50%;
  }
  .hero__photo-img {
    object-position: center 20%;
  }
  .hero__deco--1, .hero__deco--2 { display: none; }
  .hero__name { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero__eyebrow { font-size: 0.65rem; }
  .hero__tagline {
    font-size: var(--text-base);
    max-width: 100%;
    margin-inline: auto;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: var(--text-base);
  }
  .hero__badges {
    gap: var(--sp-2);
    justify-content: center;
  }
  .hero__badge {
    font-size: var(--text-xs);
    padding: var(--sp-1) var(--sp-3);
  }
  .hero__scroll { display: none; }

  /* Sections */
  .section {
    padding-block: var(--sp-12);
  }
  .section__header { margin-bottom: var(--sp-8); }
  .section__title { font-size: var(--text-2xl); }
  .section__subtitle { font-size: var(--text-sm); }

  /* Sobre */
  .sobre__figure { display: none; }
  .sobre__content p { font-size: var(--text-sm); line-height: 1.7; }
  .stats {
    gap: var(--sp-6);
    justify-content: space-between;
  }
  .stat__number { font-size: var(--text-2xl); }
  .stat__label { font-size: var(--text-xs); }

  /* Cards */
  .cards { grid-template-columns: 1fr; gap: var(--sp-4); }
  .card { padding: var(--sp-5); }
  .card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--sp-4);
  }
  .card__icon svg { width: 22px; height: 22px; }
  .card__title { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
  .card__text { font-size: var(--text-sm); line-height: 1.7; }

  /* Timeline */
  .timeline { padding-left: var(--sp-6); }
  .timeline__dot {
    left: calc(-1 * var(--sp-6) - 5px);
    width: 10px;
    height: 10px;
  }
  .timeline__period { font-size: 0.65rem; }
  .timeline__title { font-size: var(--text-base); }
  .timeline__org { font-size: var(--text-xs); }
  .timeline__desc { font-size: var(--text-xs); line-height: 1.6; }
  .timeline__item { padding-bottom: var(--sp-6); }

  /* Convênios */
  .convenios__grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .convenio {
    padding: var(--sp-4);
    font-size: var(--text-sm);
    min-height: 52px;
  }

  /* Contato */
  .contato__desc { font-size: var(--text-sm); }
  .contact-item { padding: var(--sp-3) var(--sp-4); }
  .contact-item__value { font-size: var(--text-xs); word-break: break-word; }
  .horario { padding: var(--sp-4); }
  .horario__title { font-size: var(--text-base); }
  .horario__row { font-size: var(--text-xs); }

  /* Form */
  .form {
    padding: var(--sp-5);
    border-radius: var(--radius-lg);
    margin-inline: calc(-1 * var(--sp-2));
  }
  .form__title { font-size: var(--text-lg); margin-bottom: var(--sp-5); }
  .form__input { min-height: 48px; font-size: var(--text-base); }
  .form__textarea { min-height: 100px; }
  .btn--full { min-height: 52px; font-size: var(--text-base); }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-6);
    padding-block: var(--sp-8);
  }
  .footer__nav {
    gap: var(--sp-2) var(--sp-4);
    justify-content: center;
  }
  .footer__social { justify-content: center; }
  .footer__bottom { padding-block: var(--sp-4); }
  .footer__bottom p { font-size: var(--text-xs); }
}

/* ── SMALL PHONES (< 400px) ──────────────────────────────── */
@media (max-width: 399px) {
  .hero__photo-frame { width: min(160px, 50vw); }
  .hero__name { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .hero__badges { flex-direction: column; align-items: center; }
  .stats { flex-direction: column; gap: var(--sp-4); }
  .header__logo-crm { display: none; }
  .header__logo-name { font-size: var(--text-base); }
  .contact-item__icon { width: 36px; height: 36px; }
}

/* ── SOBRE ───────────────────────────────────────────────────── */
.sobre { background: var(--clr-bg); }

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 900px) {
  .sobre__inner { grid-template-columns: 420px 1fr; gap: var(--sp-16); }
}

/* Figure */
.sobre__figure { position: relative; }
.sobre__photo-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
}
.sobre__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #e8e3db 0%, #d4cfc7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: #9a9590;
  font-size: var(--text-sm);
}
.sobre__photo-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-xl);
  background: var(--clr-gold);
  opacity: 0.12;
  z-index: 0;
}

/* Content */
.sobre__content p {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--clr-body);
  margin-bottom: var(--sp-5);
}
.sobre__content p:last-of-type { margin-bottom: var(--sp-10); }

/* Stats */
.stats {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-divider);
}
.stat { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; }
.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__plus {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--clr-gold);
  font-weight: 700;
}
.stat__label {
  width: 100%;
  font-size: var(--text-sm);
  color: var(--clr-muted);
  margin-top: var(--sp-1);
}

/* ── ESPECIALIDADES ──────────────────────────────────────────── */
.especialidades { background: var(--clr-surface); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--sp-6);
}

.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
  cursor: default;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-gold);
  transform: translateY(-3px);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(184,145,74,0.12) 0%, rgba(45,143,123,0.08) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-bottom: var(--sp-6);
}
.card__icon svg { width: 26px; height: 26px; }

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.card__text {
  font-size: var(--text-sm);
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 100%;
}

/* ── FORMAÇÃO / TIMELINE ─────────────────────────────────────── */
.formacao { background: var(--clr-bg); }

.timeline {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding-left: var(--sp-8);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--clr-gold), var(--clr-teal), transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--sp-10);
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--sp-8) - 5px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clr-gold);
  border: 2.5px solid var(--clr-bg);
  box-shadow: 0 0 0 2px var(--clr-gold);
}

.timeline__period {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-2);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: var(--sp-1);
}

.timeline__org {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-teal);
  margin-bottom: var(--sp-3);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 55ch;
}

/* ── CONVÊNIOS ───────────────────────────────────────────────── */
.convenios { background: var(--clr-navy); }
.convenios .section__label { color: var(--clr-gold-light); }
.convenios .section__title { color: #fff; }
.convenios .section__subtitle { color: rgba(255,255,255,0.55); }

.convenios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.convenio {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.convenio:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.15); }
.convenio svg { color: var(--clr-teal-light); flex-shrink: 0; }

.convenio--highlight {
  border-color: rgba(184,145,74,0.35);
  background: rgba(184,145,74,0.08);
  color: var(--clr-gold-light);
}
.convenio--highlight svg { color: var(--clr-gold-light); }

.convenios__note {
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  max-width: 100%;
}
.convenios__note a {
  color: var(--clr-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.convenios__note a:hover { color: var(--clr-gold); }

/* ── CONTATO ─────────────────────────────────────────────────── */
.contato { background: var(--clr-surface); }

.contato__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}

@media (min-width: 900px) {
  .contato__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}

.contato__desc {
  font-size: var(--text-md);
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 42ch;
}

/* Contact list */
.contact-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-8); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  min-height: 60px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
a.contact-item:hover { border-color: var(--clr-gold); box-shadow: var(--shadow-sm); }
.contact-item--static { cursor: default; }

.contact-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(184,145,74,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-top: 2px;
}
.contact-item__icon svg { width: 18px; height: 18px; }

.contact-item__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 2px;
}
.contact-item__value {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.5;
}

/* Horário */
.horario {
  padding: var(--sp-6);
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}
.horario__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
}
.horario__list { display: flex; flex-direction: column; gap: var(--sp-2); }
.horario__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--clr-divider);
}
.horario__row:last-child { border-bottom: none; padding-bottom: 0; }
.horario__row dt { color: var(--clr-body); font-weight: 500; }
.horario__row dd { color: var(--clr-muted); }
.horario__row--off dt, .horario__row--off dd { color: var(--clr-muted); opacity: 0.65; }

/* Map */
.contato__map { margin-top: var(--sp-6); }
.map__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
}
.map__wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}
.map__wrapper iframe {
  display: block;
  width: 100%;
}

/* ── FORM ────────────────────────────────────────────────────── */
.form {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
}

.form__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-8);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.form__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
}
.form__required { color: var(--clr-error); margin-left: 2px; }
.form__optional { color: var(--clr-muted); font-weight: 400; font-size: var(--text-xs); }

.form__input {
  width: 100%;
  padding: 0.75rem var(--sp-4);
  font-size: var(--text-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  min-height: 52px; /* touch target */
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
.form__input::placeholder { color: var(--clr-muted); }
.form__input:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(184,145,74,0.15);
  background: #fff;
}
.form__input.is-error { border-color: var(--clr-error); }
.form__input.is-error:focus { box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }

.form__textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B80' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
  cursor: pointer;
}

.form__error {
  font-size: var(--text-xs);
  color: var(--clr-error);
  font-weight: 500;
  min-height: 1.2em;
  display: block;
}

.form__helper {
  font-size: var(--text-xs);
  color: var(--clr-muted);
  line-height: 1.5;
}

.form__success {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(30,122,91,0.08);
  border: 1px solid rgba(30,122,91,0.25);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-success);
  margin-top: var(--sp-4);
}
.form__success[hidden] { display: none; }

/* ── WHATSAPP FLOAT ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    bottom var(--dur-base) var(--ease-out);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
.whatsapp-float:active { transform: scale(0.95); }

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: var(--sp-4);
    right: var(--sp-4);
    width: 52px;
    height: 52px;
  }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--clr-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-block: var(--sp-12);
}

.footer__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--sp-1);
}
.footer__meta {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.crm-verify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur-fast);
}
.crm-verify:hover {
  color: var(--clr-gold-light);
}
.crm-verify svg {
  color: var(--clr-teal);
  flex-shrink: 0;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
}
.footer__nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer__nav a:hover { color: var(--clr-gold-light); }

.footer__social {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}
.footer__social-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.55);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.footer__social-btn:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold-light);
  background: rgba(184,145,74,0.08);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: var(--sp-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  max-width: 100%;
  margin-inline: auto;
}
.footer__disclaimer { color: rgba(255,255,255,0.25) !important; }

/* ── LGPD BANNER ────────────────────────────────────────────── */
.lgpd-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--clr-navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  padding: var(--sp-5) var(--sp-6);
  padding-bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px));
}
.lgpd-banner[hidden] { display: none; }
.lgpd-banner__content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.lgpd-banner__content p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  flex: 1;
}
.lgpd-banner__content a {
  color: var(--clr-gold-light);
  text-decoration: underline;
}
.btn--sm {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-sm);
  min-height: 40px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .lgpd-banner {
    padding: var(--sp-4);
    padding-bottom: calc(var(--sp-8) + env(safe-area-inset-bottom, 16px));
  }
  .lgpd-banner__content {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-3);
  }
  .lgpd-banner__content p {
    font-size: var(--text-xs);
    line-height: 1.5;
  }
  .btn--sm {
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--text-xs);
    min-height: 36px;
  }
  .whatsapp-float.lgpd-visible {
    bottom: calc(var(--sp-4) + var(--lgpd-h, 0px));
  }
}

/* ── PRIVACY PAGE ───────────────────────────────────────────── */
.privacy-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--clr-text);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.privacy-content p {
  font-size: var(--text-base);
  color: var(--clr-body);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}
.privacy-content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}
.privacy-content li {
  font-size: var(--text-base);
  color: var(--clr-body);
  line-height: 1.75;
  margin-bottom: var(--sp-2);
}
.privacy-content a {
  color: var(--clr-teal);
  text-decoration: underline;
}
