/* ============================================================
   DR. LEITE ORTOPEDIA — Main Stylesheet
   Fontes: Baía Libre SemiBold (títulos) | Vertical (corpo) | Inter (botões)
   Paleta: Navy #102851 | Verde #2F8B70 | Creme #EDE8DC | Branco #FFFFFF
   ============================================================ */

/* ---- Google Fonts ---- */
/* Google Fonts são carregadas via wp_enqueue_style no functions.php */

/* ---- Variáveis CSS ---- */
:root {
  /* Cores */
  --navy:          #102851;
  --navy-dark:     #0A1E3D;
  --navy-light:    #1A3A6B;
  --green:         #2F8B70;
  --green-light:   #3AA882;
  --cream:         #EDE8DC;
  --cream-light:   #F7F4EE;
  --cream-mid:     #E8E0D0;
  --gold:          #C9A464;
  --white:         #FFFFFF;
  --gray-light:    #F5F5F7;
  --gray-mid:      #9AA3B2;
  --text-body:     #3A4A5C;
  --text-dark:     #102851;

  /* Fontes */
  --font-title:    'Libre Baskerville', Georgia, serif;   /* Baía Libre substitute */
  --font-body:     'Lato', system-ui, sans-serif;         /* Vertical substitute */
  --font-btn:      'Inter', system-ui, sans-serif;

  /* Espaçamentos */
  --container:     1200px;
  --section-py:    96px;
  --section-py-sm: 64px;
  --gap:           32px;
  --radius-card:   16px;
  --radius-btn:    50px;
  --radius-img:    20px;
  --shadow:        0 4px 24px rgba(16,40,81,.10);
  --shadow-lg:     0 8px 40px rgba(16,40,81,.18);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all .25s ease; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-btn); }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Tipografia ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-btn);
  font-size: .95rem;
  font-weight: 600;
  transition: all .3s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,40,81,.3);
}

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

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

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
}

/* SVG icon inside button */
.btn svg, .btn img.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- Section Label ---- */
.section-label {
  display: block;
  font-family: var(--font-btn);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(16,40,81,.08);
  transition: all .3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-logo img.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.site-logo img.logo-full {
  height: 44px;
  width: auto;
}
.logo-text strong {
  display: block;
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: .75rem;
  color: var(--gray-mid);
  font-family: var(--font-btn);
}

/* Nav */
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
#main-nav a {
  font-family: var(--font-btn);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
#main-nav a:hover {
  color: var(--green);
  background: var(--cream-light);
}
#main-nav a.active,
#main-nav .current-menu-item a {
  color: var(--green);
}

.header-cta {
  flex-shrink: 0;
}
.header-cta .btn {
  padding: 10px 24px;
  font-size: .875rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, #F0EEF5 0%, #E8EDF5 50%, #DDE6F0 100%);
  padding-top: 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - 72px);
  gap: 48px;
}

.hero-content {
  padding: 80px 0;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-btn);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  opacity: .85;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--navy);
  opacity: .75;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: calc(100vh - 72px);
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Floating social */
.social-float {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.social-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition: all .3s ease;
}
.social-float a:hover {
  background: var(--green);
  transform: scale(1.1);
}
.social-float svg { width: 20px; height: 20px; }

/* ============================================================
   ABOUT SECTION — Prof. Dr. Leite
   ============================================================ */
#about {
  background: var(--white);
  padding: var(--section-py) 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-content .btn {
  margin-top: 24px;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-wrap img {
  width: 100%;
  border-radius: var(--radius-img);
  border: 3px solid var(--green);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   FORMATION — Formação Acadêmica
   ============================================================ */
#formation {
  background: var(--navy);
  padding: var(--section-py) 0;
  color: var(--white);
}

#formation h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 64px;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.2);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: center;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--white);
}

.timeline-year {
  text-align: right;
  padding-right: 28px;
}
.timeline-year .year {
  font-family: var(--font-btn);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.timeline-desc {
  padding-left: 28px;
}
.timeline-desc .institution {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-desc .degree {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
}

/* Item right-aligned */
.timeline-item.right .timeline-year { order: 2; text-align: left; padding-left: 28px; padding-right: 0; }
.timeline-item.right .timeline-desc { order: 1; text-align: right; padding-right: 28px; padding-left: 0; }

/* ============================================================
   CAREER — Carreira Acadêmica
   ============================================================ */
#career {
  background: var(--cream-light);
  padding: var(--section-py) 0;
}

#career h2 {
  text-align: center;
  margin-bottom: 64px;
}

.career-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.career-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cream-mid);
  transform: translateX(-50%);
}

.career-item {
  position: relative;
  margin-bottom: 48px;
}

.career-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 24px;
  width: 10px;
  height: 10px;
  background: var(--navy);
  border-radius: 50%;
  transform: translateX(-50%);
}

.career-item-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.career-role {
  text-align: right;
  padding-right: 32px;
}
.career-role h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.career-role .period {
  font-size: .8rem;
  color: var(--gray-mid);
  font-family: var(--font-btn);
}

.career-org {
  padding-left: 32px;
  display: flex;
  align-items: flex-start;
}
.career-org span {
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* ============================================================
   INSTITUTIONS — Participação em Instituições
   ============================================================ */
#institutions {
  background: var(--white);
  padding: var(--section-py) 0;
}

#institutions h2 {
  text-align: center;
  margin-bottom: 16px;
}
#institutions .section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  color: var(--text-body);
  font-size: .95rem;
}

.institutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.institution-card {
  border: 1.5px solid var(--cream-mid);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: all .3s ease;
  background: var(--white);
}
.institution-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.institution-card .membership-type {
  display: inline-block;
  font-family: var(--font-btn);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(47,139,112,.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.institution-card h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.4;
}

/* ============================================================
   RESEARCH — Ensino e Pesquisa
   ============================================================ */
#research {
  background: var(--navy);
  padding: var(--section-py) 0;
  color: var(--white);
}

.research-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.research-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.research-content p {
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  font-size: 1rem;
}

.research-highlight {
  background: rgba(255,255,255,.07);
  border-left: 3px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-top: 24px;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}

/* Stats */
.research-numbers h3 {
  color: var(--gold);
  font-family: var(--font-btn);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.stat-item {
  border-top: 2px solid rgba(255,255,255,.12);
  padding-top: 20px;
}
.stat-number {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}

/* ============================================================
   SERVICES — Atendimento Especializado
   ============================================================ */
#services {
  background: var(--white);
  padding: var(--section-py) 0;
}

#services h2 {
  text-align: center;
  margin-bottom: 12px;
}
#services .section-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 52px;
  font-size: .95rem;
  color: var(--text-body);
}

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

.service-card {
  background: var(--cream-light);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  transition: all .3s ease;
  border: 1.5px solid transparent;
}
.service-card:hover {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
}
.service-icon img { width: 100%; height: 100%; object-fit: cover; }

.service-card h3 {
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: .875rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS — O que dizem nossos pacientes?
   ============================================================ */
#testimonials {
  background: var(--cream-light);
  padding: var(--section-py) 0;
}

#testimonials h2 {
  text-align: center;
  margin-bottom: 8px;
}
#testimonials .section-intro {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 48px;
  font-size: .95rem;
  color: var(--text-body);
}

.testimonials-slider {
  position: relative;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--navy);
}

.testimonial-text {
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
}

.testimonial-author {
  font-family: var(--font-btn);
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
}

/* ============================================================
   CTA — Agende sua consulta
   ============================================================ */
#cta {
  background: var(--navy);
  padding: var(--section-py) 0;
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  font-size: 1rem;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cta-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-info-icon svg { width: 20px; height: 20px; color: var(--white); }
.cta-info-label {
  font-family: var(--font-btn);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.cta-info-text {
  font-size: .9375rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
#contact {
  background: var(--cream-light);
  padding: var(--section-py) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-content h2 {
  margin-bottom: 16px;
}
.contact-content p {
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.65;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-btn);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-mid);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .25s ease;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16,40,81,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* Form messages */
.form-message {
  display: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: var(--font-btn);
  font-size: .9rem;
  margin-top: 16px;
}
.form-message.success {
  background: rgba(47,139,112,.1);
  color: var(--green);
  border: 1px solid var(--green);
}
.form-message.error {
  background: rgba(220,38,38,.08);
  color: #DC2626;
  border: 1px solid #DC2626;
}

/* ============================================================
   FAQ — Perguntas Frequentes
   ============================================================ */
#faq {
  background: var(--white);
  padding: var(--section-py) 0;
}

#faq h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1.5px solid var(--cream-mid);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-btn);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  user-select: none;
}
.faq-question:hover { color: var(--green); }

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all .3s ease;
}
.faq-toggle svg { width: 14px; height: 14px; transition: transform .3s ease; }

.faq-item.open .faq-toggle {
  background: var(--navy);
  color: var(--white);
}
.faq-item.open .faq-toggle svg { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 24px;
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

.faq-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand .site-logo img { filter: brightness(0) invert(1); }
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .875rem; line-height: 1.65; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-btn);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color .25s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { font-size: .875rem; line-height: 1.5; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  transition: all .3s ease;
}
.footer-social a:hover { background: var(--green); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}

/* ============================================================
   ADMIN — Leads page customization
   ============================================================ */
.drleite-admin-wrap { max-width: 1100px; }
.drleite-leads-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.drleite-stat-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 28px;
  text-align: center;
}
.drleite-stat-box .number { font-size: 2rem; font-weight: 700; color: #102851; }
.drleite-stat-box .label { font-size: .8rem; color: #666; margin-top: 4px; }

/* ============================================================
   RESPONSIVE — Mobile First Breakpoints
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .institutions-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-wrap {
    height: 50vw;
    max-height: 400px;
    justify-content: center;
  }
  .hero-content { padding: 48px 0 32px; }

  .about-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 420px; margin: 0 auto; }

  .research-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .timeline { max-width: 100%; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-item::after { left: 20px; top: 0; }
  .timeline-year { text-align: left; padding-right: 0; padding-left: 48px; }
  .timeline-desc { padding-left: 48px; }
  .timeline-item.right .timeline-year,
  .timeline-item.right .timeline-desc {
    order: unset; text-align: left;
    padding-left: 48px; padding-right: 0;
  }

  .career-timeline::before { left: 20px; }
  .career-item-inner { grid-template-columns: 1fr; gap: 8px; }
  .career-item::after { left: 20px; }
  .career-role { text-align: left; padding-right: 0; padding-left: 48px; }
  .career-org { padding-left: 48px; }

  .testimonials-track { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  #main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  #main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0;
    background: var(--white);
    padding: 24px;
    z-index: 999;
    overflow-y: auto;
  }
  #main-nav.open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  #main-nav.open a { font-size: 1.1rem; padding: 14px 16px; display: block; width: 100%; }
  #main-nav.open + .header-cta { display: block; }

  .hero-title { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .institutions-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .social-float { right: 12px; }
  .social-float a { width: 38px; height: 38px; }

  .contact-form-wrap { padding: 28px 20px; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 12px 24px; }
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }

/* Animações suaves na entrada */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: none;
}
