/* ============================================================
   ABMR – Cores inspiradas na Academia Nacional de Medicina (ANM)
   Paleta exata: #debf4b (ouro) + #363d01 (oliva escuro)
============================================================ */

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

:root {
  /* Paleta ANM exata */
  --gold:        #debf4b;
  --gold-dark:   #c4a830;
  --gold-light:  #f0d98a;
  --olive:       #363d01;
  --olive-hover: #2a2f01;

  /* Neutros */
  --white:       #ffffff;
  --gray-50:     #f9f9f9;
  --gray-100:    #f5f5f5;
  --gray-200:    #e8e8e8;
  --gray-300:    #dcdcdc;
  --gray-500:    #9b9b9b;
  --gray-600:    #6b6b6b;
  --gray-700:    #515050;
  --gray-900:    #1a1a1a;

  /* Tipografia */
  --font-body:  'Open Sans', system-ui, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;

  /* Layout */
  --container:  1170px;
  --radius:     4px;
  --shadow:     0 2px 8px rgba(0,0,0,0.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === TIPOGRAFIA === */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--gray-900);
  line-height: 1.25;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 16px; }
h3 { font-size: 1.05rem; margin-bottom: 10px; }
p  { line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.section-label.light { color: var(--gold-light); }

.section-header-center {
  text-align: center;
  margin-bottom: 48px;
}
.section-header-center h2 { color: var(--olive); }
.section-header-center .section-desc {
  max-width: 560px;
  margin: 10px auto 0;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.section-header-split h2 { color: var(--olive); margin-bottom: 0; }

/* === BOTÕES === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--olive);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-dark {
  background: var(--olive);
  color: var(--white);
  border: 2px solid var(--olive);
}
.btn-dark:hover { background: var(--olive-hover); }

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.full-width { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Topbar — oliva escuro, igual ao ANM */
.header-topbar {
  background: var(--olive);
  color: var(--gold-light);
  font-size: 0.74rem;
  padding: 7px 0;
}
.header-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-sep { color: rgba(255,255,255,0.3); }
.topbar-info { display: flex; align-items: center; gap: 5px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.4;
}
.lang-btn:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--olive); }

/* Mobile lang switcher (inside hamburger menu) */
.nav-lang-mobile {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-top: 1px solid #eee;
  margin-top: 4px;
}
.nav-lang-mobile .lang-btn {
  border-color: rgba(0,0,0,0.25);
  color: var(--olive);
}
.nav-lang-mobile .lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-lang-mobile .lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--olive); }

.topbar-social-icon {
  color: var(--gold-light);
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.topbar-social-icon:hover { opacity: 1; }

/* Header principal — branco com sombra sutil, igual ao ANM */
.header-main { background: var(--white); }
.header-main .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo com imagem real da ABMR */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text-block { display: flex; align-items: center; gap: 10px; }
.logo-abbr {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--olive);
  letter-spacing: 0.04em;
  line-height: 1;
}
.logo-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-300);
  flex-shrink: 0;
}
.logo-full {
  font-size: 0.67rem;
  color: var(--gray-700);
  line-height: 1.4;
  max-width: 160px;
}

/* Navegação — igual ao ANM: texto cinza, hover dourado */
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; }

.nav-link {
  display: block;
  padding: 10px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 13px; right: 13px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-link:hover { color: var(--olive); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--olive); }

.arrow { font-size: 0.6em; vertical-align: middle; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--gray-700);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.dropdown li a:hover {
  color: var(--olive);
  background: #faf8ec;
  border-left-color: var(--gold);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--olive); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SLIDER
============================================================ */
.hero {
  margin-top: 104px;
  height: 540px;
  position: relative;
  overflow: hidden;
}

.hero-slider { position: relative; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }

/* Slides com cores da paleta — oliva/dourado */
.slide-1 {
  background: linear-gradient(105deg, var(--olive) 0%, #2a3201 40%, #4a5204 100%);
}
.slide-2 {
  background: linear-gradient(105deg, #1e2200 0%, var(--olive) 50%, #3a4202 100%);
}
.slide-3 {
  background: linear-gradient(105deg, #14180a 0%, #2d3301 50%, var(--olive) 100%);
}

/* Textura geométrica sutil */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(222,191,75,0.18) 0%, transparent 55%);
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.slide-inner { max-width: 620px; }

.slide-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--olive);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.slide-content h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.2;
}
.slide-content p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.7;
}
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Controles */
.hero-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}
.hero-btn {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.hero-btn:hover { background: var(--gold); color: var(--olive); }
.hero-dots { display: flex; gap: 7px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all var(--transition);
}
.dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* ============================================================
   HIGHLIGHTS BAR
============================================================ */
.highlights-bar {
  background: var(--white);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}
.highlights-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--gray-200);
  transition: background var(--transition);
}
.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: #faf8ec; }
.hi-icon { color: var(--gold-dark); flex-shrink: 0; }
.hi-text { display: flex; flex-direction: column; }
.hi-text strong { font-size: 0.84rem; font-weight: 700; color: var(--olive); line-height: 1.2; }
.hi-text span { font-size: 0.72rem; color: var(--gray-600); }

/* ============================================================
   SOBRE / HISTÓRIA
============================================================ */
.section-about { padding: 80px 0; background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}
.about-content h2 { color: var(--olive); }
.about-content .lead {
  font-size: 0.98rem;
  color: var(--gray-700);
  margin-bottom: 14px;
}
.about-content p { margin-bottom: 12px; font-size: 0.88rem; }
.about-content .btn { margin-top: 12px; }

/* Caixa de informações — sem logo falsa */
.about-info-box {
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--gold);
  background: var(--gray-50);
}
.info-box-header {
  background: var(--olive);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
}
.info-box-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 24px 20px;
  gap: 20px;
}
.info-stat { text-align: center; }
.is-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.is-label { font-size: 0.72rem; color: var(--gray-600); display: block; margin-top: 3px; }
.info-box-footer {
  border-top: 1px solid var(--gray-200);
  padding: 12px 20px;
  font-size: 0.74rem;
  color: var(--gray-500);
  text-align: center;
}

/* ============================================================
   MISSÃO
============================================================ */
.section-mission { padding: 80px 0; background: var(--gray-100); }
.section-mission .section-header-center h2 { color: var(--olive); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
}
.mission-card {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--gray-300);
  transition: box-shadow var(--transition);
}
.mission-card:hover { box-shadow: var(--shadow-md); }
.mission-card.mission-featured {
  border-top-color: var(--gold);
  background: var(--olive);
  color: var(--white);
}
.mission-card h3 { color: var(--olive); margin-bottom: 12px; }
.mission-card p { font-size: 0.88rem; }

.mc-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gray-200);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 14px;
}

.mc-quote {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--gold);
  margin-bottom: 12px;
}
.mc-blockquote {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 14px;
}
.mc-author {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ============================================================
   ESTRUTURA
============================================================ */
.section-structure { padding: 80px 0; background: var(--white); }
.section-structure .section-header-center h2 { color: var(--olive); }

.structure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.structure-card {
  display: flex;
  gap: 0;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.structure-card:hover { box-shadow: var(--shadow-md); }
.structure-card:hover .sc-bar { background: var(--gold); }

.sc-bar {
  width: 4px;
  background: var(--gray-300);
  flex-shrink: 0;
  transition: background var(--transition);
}
.sc-content { padding: 28px 24px; flex: 1; }
.sc-content h3 { color: var(--olive); margin-bottom: 10px; }
.sc-content p { font-size: 0.86rem; margin-bottom: 20px; }
.sc-footer {
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.sc-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 3px;
}
.sc-name { font-size: 0.85rem; color: var(--olive); font-weight: 600; }

/* ============================================================
   DIRETORIA — tabela limpa, sem fotos/avatares
============================================================ */
.section-board { padding: 80px 0; background: var(--olive); }
.section-board .section-header-center h2 { color: var(--gold-light); }
.section-board .section-label { color: var(--gold); }
.section-board .section-desc { color: rgba(255,255,255,0.65); }

/* Grid de diretoria com fotos */
.board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.board-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  text-align: center;
  transition: background var(--transition);
  overflow: hidden;
}
.board-card:hover { background: rgba(255,255,255,0.11); }

/* Card do presidente — ocupa 2 colunas */
.board-card-president {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}
.board-card-president .bc-photo-wrap { height: 300px; }
.board-card-president .bc-role { color: var(--gold); font-size: 0.78rem; }
.board-card-president .bc-name { font-size: 1.15rem; }
.board-card-president .bc-info { border-top: 3px solid var(--gold); }

.bc-photo-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}
.bc-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.4s ease;
}
.board-card:hover .bc-photo { transform: scale(1.04); }

.bc-info {
  padding: 14px 12px;
  border-top: 2px solid rgba(222,191,75,0.3);
}
.bc-role {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.bc-name {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
  font-family: var(--font-serif);
}

/* ============================================================
   ACADÊMICOS — grid de fotos
============================================================ */
.section-academics { padding: 80px 0; background: var(--gray-100); }
.section-academics .section-header-center h2 { color: var(--olive); }

.members-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  text-align: center;
}
.member-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.member-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-200);
}
.member-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}
.member-card:hover .member-photo-wrap img { transform: scale(1.05); }

.member-name {
  padding: 10px 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--olive);
  line-height: 1.35;
  border-top: 2px solid var(--gold);
}

/* Presidente de Honra */
.honor-president-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.member-card-honor {
  width: 180px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(222,191,75,0.25);
}
.member-card-honor .member-photo-wrap { height: 180px; }
.member-honor-badge {
  background: var(--gold);
  color: var(--olive);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
}

.member-in-memoriam {
  font-size: 0.72rem;
  font-style: italic;
  color: #888;
  margin-top: 2px;
}

/* ---- Subsecções de acadêmicos ---- */
.academics-subsection { margin-top: 64px; }
.academics-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.academics-subtitle .ac-count {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray-500);
  text-transform: none;
  letter-spacing: 0;
}
.academics-names-grid {
  columns: 3;
  column-gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.academics-names-grid li {
  break-inside: avoid;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}
@media (max-width: 900px) { .academics-names-grid { columns: 2; } }
@media (max-width: 480px) { .academics-names-grid { columns: 1; } }

/* ============================================================
   EVENTOS
============================================================ */
.section-events { padding: 80px 0; background: var(--white); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.event-card {
  border: 1px solid var(--gray-200);
  display: flex;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-md); }

.event-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--olive);
  color: var(--white);
  padding: 16px 14px;
  min-width: 62px;
  flex-shrink: 0;
  text-align: center;
}
.ed-day { font-size: 1.4rem; font-weight: 900; line-height: 1; }
.ed-month { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.ed-year { font-size: 0.62rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

.event-body { padding: 18px; }
.event-type-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.event-body h3 { font-size: 0.92rem; color: var(--olive); margin-bottom: 7px; }
.event-body p { font-size: 0.82rem; margin-bottom: 10px; line-height: 1.6; }
.event-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: var(--gray-500);
}
.event-meta svg { color: var(--gold-dark); flex-shrink: 0; }
.event-title-link { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.event-title-link:hover { color: var(--gold-dark); }
.event-photos-link {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dark);
}
.event-photos-link:hover { color: var(--olive); border-color: var(--olive); }

/* Event card com imagem */
.event-card-with-img { padding: 0; overflow: hidden; }
.event-yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.event-card-with-img .event-body { padding: 16px 20px; }
.event-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.event-card-with-img:hover .event-img { transform: scale(1.04); }
.event-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 12px 16px;
}
.event-date-over {
  background: none;
  border-right: none;
  padding: 0;
  min-width: unset;
  align-items: flex-start;
}
.event-date-over .ed-day { font-size: 2rem; color: var(--white); line-height: 1; }
.event-date-over .ed-month { font-size: 0.75rem; color: var(--gold); }
.event-date-over .ed-year { font-size: 0.65rem; color: rgba(255,255,255,0.7); }

/* Zoom info */
.zoom-info { margin-top: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-sm { padding: 7px 14px; font-size: 0.78rem; display: inline-flex; align-items: center; gap: 6px; }
.zoom-details { display: flex; flex-direction: column; gap: 2px; }
.zoom-details span { font-size: 0.74rem; color: var(--gray-500); }

/* ============================================================
   YOUTUBE CTA
============================================================ */
.section-youtube {
  padding: 80px 0;
  background: var(--olive);
  border-top: 5px solid var(--gold);
}
.yt-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.yt-text h2 { color: var(--gold-light); margin-bottom: 14px; }
.yt-text p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-bottom: 24px; max-width: 500px; }

.yt-thumb-link { display: block; text-decoration: none; }
.yt-thumb-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.yt-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.yt-thumb-link:hover .yt-thumb-img { transform: scale(1.04); }
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.yt-thumb-link:hover .yt-play-btn { opacity: 0.85; }
.yt-thumb-title {
  margin-top: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   CONTATO
============================================================ */
.section-contact { padding: 80px 0; background: var(--gray-100); }
.section-contact .section-header-center h2 { color: var(--olive); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  flex-shrink: 0;
}
.ci-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 3px;
}
.ci-item a, .ci-item span { color: var(--gray-700); font-size: 0.88rem; line-height: 1.55; }
.ci-item a:hover { color: var(--olive); }

.ci-social strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.ci-social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--white);
  transition: opacity var(--transition);
}
.cs-btn:hover { opacity: 0.85; }
.cs-btn.instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); }
.cs-btn.facebook { background: #1877F2; }
.cs-btn.youtube { background: #FF0000; }

/* Formulário */
.contact-form {
  background: var(--white);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--gray-700);
  background: var(--white);
  outline: none;
  resize: vertical;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(222,191,75,0.15);
}

/* ============================================================
   FOOTER — fundo claro com borda oliva, igual ao ANM
============================================================ */
.site-footer { background: var(--gray-100); border-top: 5px solid var(--olive); }

.footer-main { padding: 56px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand p { color: var(--gray-600); font-size: 0.82rem; line-height: 1.65; margin: 12px 0 20px; }

.footer-logo-text { display: flex; flex-direction: column; gap: 2px; }
.fl-abbr {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--olive);
  line-height: 1;
}
.fl-full { font-size: 0.72rem; color: var(--gray-600); line-height: 1.4; }

.footer-social { display: flex; gap: 8px; }
.fs-icon {
  width: 34px; height: 34px;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  transition: all var(--transition);
}
.fs-icon:hover { background: var(--gold); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul a { font-size: 0.82rem; color: var(--gray-600); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--olive); }

.footer-contact-list { gap: 10px !important; }
.footer-contact-list li { font-size: 0.82rem; color: var(--gray-600); line-height: 1.55; }
.footer-contact-list a { color: var(--gray-600); }
.footer-contact-list a:hover { color: var(--olive); }

/* Footer bottom — dourado, igual ao ANM */
.footer-bottom {
  background: var(--gold);
  padding: 12px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span { font-size: 0.74rem; color: var(--olive); font-weight: 600; }

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 40px; height: 40px;
  background: var(--olive);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--olive); }

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.fade-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-hidden.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1200px) {
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .board-card-president { grid-column: span 3; flex-direction: row; text-align: left; }
  .board-card-president .bc-photo-wrap { width: 240px; height: 260px; flex-shrink: 0; }
  .board-card-president .bc-info { display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 24px; }
  .members-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-info-box { max-width: 480px; }
  .yt-grid { grid-template-columns: 1fr; }
  .yt-badge { display: block; }
  .members-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .hero { margin-top: 88px; height: 460px; }
  .header-topbar { display: none; }
  .hamburger { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-md);
    z-index: 999;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 0; padding: 8px 0; }
  .nav-link { padding: 13px 20px; border-radius: 0; }
  .nav-link::after { display: none; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    border-left: 3px solid var(--gold);
    background: #faf8ec;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-left: 16px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .nav-lang-mobile { display: flex; }

  .highlights-bar .container { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .structure-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: repeat(3, 1fr); }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .board-card-president { grid-column: span 2; flex-direction: column; text-align: center; }
  .board-card-president .bc-photo-wrap { width: 100%; height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-about, .section-mission, .section-structure, .section-board,
  .section-academics, .section-events, .section-youtube, .section-contact { padding: 56px 0; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .board-table { font-size: 0.82rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .highlights-bar .container { grid-template-columns: 1fr; }
  .slide-actions { flex-direction: column; }
  .contact-form { padding: 24px 18px; }
  .section-header-split { flex-direction: column; align-items: flex-start; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .board-grid { grid-template-columns: 1fr; }
  .board-card-president { grid-column: 1; }
}
