:root {
  /* Paleta Alta Clínica Contemporânea (Brusque / Editorial) */
  --bg-ivory: #FAF7F2;
  --bg-sand: #F2ECE4;
  --bg-card: #FFFFFF;
  
  --wine-primary: #6B1D2F;
  --wine-dark: #4E1321;
  --wine-soft: rgba(107, 29, 47, 0.08);
  
  --gold-accent: #B39369;
  --gold-light: #DFD3C3;
  
  --text-charcoal: #1E2022;
  --text-muted: #5A5D60;
  --text-light: #86827D;
  
  --border-subtle: rgba(179, 147, 105, 0.25);
  --shadow-soft: 0 12px 36px -8px rgba(30, 32, 34, 0.06);
  --shadow-hover: 0 18px 42px -10px rgba(107, 29, 47, 0.11);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-ivory);
  color: var(--text-charcoal);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= TOPBAR ================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-charcoal);
}

.brand-monogram {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--wine-primary);
  color: var(--bg-ivory);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-charcoal);
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wine-primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn-nav) {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn-nav):hover {
  color: var(--wine-primary);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background-color: var(--wine-soft);
  color: var(--wine-primary);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid rgba(107, 29, 47, 0.15);
  transition: all 0.25s ease;
}

.btn-nav:hover {
  background-color: var(--wine-primary);
  color: #FFFFFF;
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background-color: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--wine-primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--wine-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(107, 29, 47, 0.15);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.4vw, 3.85rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--wine-primary);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 34px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background-color: var(--wine-primary);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px -6px rgba(107, 29, 47, 0.4);
}

.btn-primary:hover {
  background-color: var(--wine-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 15px 26px;
  background-color: transparent;
  color: var(--text-charcoal);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  border: 1px solid var(--gold-accent);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-sand);
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.location-tag svg {
  color: var(--wine-primary);
  flex-shrink: 0;
}

.location-tag strong {
  color: var(--text-charcoal);
  font-weight: 600;
}

/* Card Emblemático Lateral */
.emblem-card {
  background: linear-gradient(155deg, var(--wine-primary) 0%, var(--wine-dark) 100%);
  color: var(--bg-ivory);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-hover);
}

.emblem-border {
  border: 1px solid rgba(223, 211, 195, 0.28);
  border-radius: 10px;
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.emblem-icon {
  color: var(--gold-light);
  margin-bottom: 18px;
}

.ecg-svg {
  width: 110px;
  height: 50px;
}

.emblem-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.emblem-quote {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.emblem-divider {
  width: 48px;
  height: 1px;
  background-color: var(--gold-accent);
  margin-bottom: 20px;
}

.emblem-Institution {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(250, 247, 242, 0.8);
}

/* ================= CREDENCIAIS ================= */
.credentials-section {
  padding: 36px 0 64px;
}

.section-header-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine-primary);
  white-space: nowrap;
}

.header-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-subtle);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.credential-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
}

.credential-state {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.credential-crm {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-sand);
}

.credential-rqe-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credential-rqe-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.rqe-specialty {
  color: var(--text-muted);
  font-weight: 500;
}

.rqe-number {
  color: var(--wine-primary);
  font-weight: 600;
  background-color: var(--bg-ivory);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.credentials-affiliation {
  margin-top: 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  gap: 16px;
}

.affiliation-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.affiliation-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--wine-soft);
  color: var(--wine-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(107, 29, 47, 0.15);
}

.affiliation-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.affiliation-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-charcoal);
  line-height: 1.25;
}

.affiliation-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.affiliation-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--wine-primary);
  background-color: var(--bg-sand);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

/* ================= FORMAÇÃO E RESIDÊNCIAS ================= */
.education-section {
  padding: 76px 0;
  background-color: var(--bg-sand);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-intro {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-charcoal);
  margin: 10px 0 16px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.timeline-card {
  background-color: var(--bg-ivory);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.timeline-card-highlight {
  background-color: #FFFFFF;
  border-color: var(--gold-accent);
}

.timeline-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-accent);
  min-width: 40px;
}

.timeline-place {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--wine-primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-degree {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 6px;
  line-height: 1.25;
}

.timeline-school {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.timeline-mentor {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--wine-primary);
  background-color: var(--wine-soft);
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid rgba(107, 29, 47, 0.14);
}

/* ================= ATUAÇÃO ATUAL ================= */
.practice-section {
  padding: 80px 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}

.practice-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.practice-title {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 12px 0 18px;
  color: var(--text-charcoal);
}

.practice-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.practice-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 18px;
  background-color: var(--bg-ivory);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wine-primary);
}

.clinic-soon-card {
  background: linear-gradient(160deg, #231F20 0%, #161415 100%);
  color: var(--bg-ivory);
  border-radius: 14px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(179, 147, 105, 0.35);
}

.soon-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: 100px;
  background-color: rgba(179, 147, 105, 0.18);
  color: var(--gold-light);
  border: 1px solid rgba(179, 147, 105, 0.35);
  margin-bottom: 18px;
}

.soon-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 12px;
}

.soon-text {
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.78);
  margin-bottom: 28px;
}

.soon-cta {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.soon-cta-label {
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.btn-instagram-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background-color: var(--wine-primary);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid rgba(223, 211, 195, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-instagram-full:hover {
  background-color: var(--wine-dark);
  transform: translateY(-2px);
}

/* ================= FOOTER ================= */
.footer {
  padding: 40px 0;
  background-color: var(--bg-ivory);
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-charcoal);
}

.footer-credentials {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.85rem;
}

.footer-ig {
  color: var(--wine-primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-ig:hover {
  text-decoration: underline;
}

.footer-location {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* ================= RESPONSIVO (MOBILE / INSTAGRAM BIO) ================= */
@media (max-width: 860px) {
  .nav-links a:not(.btn-nav) {
    display: none;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .hero-grid,
  .credentials-grid,
  .timeline-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .credentials-affiliation {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .practice-card,
  .clinic-soon-card {
    padding: 30px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
  }
}

