/* ===================================================================
   PAGES.CSS — Estilos específicos para páginas internas
   Mocidade Independente de Aparecida — GRESMIA
   =================================================================== */

/* ── NAV DROPDOWN ─────────────────────────────────────────────────── */
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .85rem;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link[aria-current="page"] { color: var(--verde-medio, #1A7A42); }
.nav-chevron { font-size: .6rem; transition: transform .2s; }
.nav-item.open .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  min-width: 210px;
  background: #0D2818;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .55rem 1.25rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.dropdown a:hover {
  background: rgba(26,122,66,.15);
  color: #fff;
}
.nav-cta { margin-left: .75rem; }

/* ── BREADCRUMB ──────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--dark-bg, #0A1F11);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: calc(88px + .7rem) 0 .7rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  list-style: none;
  padding: 0; margin: 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.breadcrumb li + li::before { content: '›'; margin-right: .35rem; }
.breadcrumb a { color: var(--verde-medio, #1A7A42); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: rgba(255,255,255,.8); }

/* ── PAGE HERO (páginas internas) ────────────────────────────────── */
.page-hero {
  background: var(--dark-bg, #0A1F11);
  padding: clamp(3.5rem,7vw,5.5rem) 0 clamp(2.5rem,5vw,4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(11,92,45,.5) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--verde-medio, #1A7A42); }
.page-hero-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(2.5rem,6vw,4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1;
  margin: .5rem 0 1.25rem;
}
.page-hero-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(.95rem,1.8vw,1.1rem);
  color: rgba(255,255,255,.65);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── SECTION UTILITIES ───────────────────────────────────────────── */
.section-pad     { padding: clamp(3.5rem,7vw,5.5rem) 0; }
.section-pad-sm  { padding: clamp(2rem,4vw,3.5rem) 0; }
.section-dark    { background: var(--dark-bg, #0A1F11); color: #fff; }
.section-surface { background: var(--dark-surface, #0D2818); color: #fff; }
.section-light   { background: var(--verde-suave, #EBF5F0); }

/* ── EMPTY STATE ─────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: clamp(3rem,6vw,5rem) 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.empty-state-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(11,92,45,.15);
  border: 1px solid rgba(26,122,66,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
}
.empty-state-icon svg { width: 32px; height: 32px; color: var(--verde-medio, #1A7A42); }
.empty-state-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(1.3rem,3vw,1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .85rem;
}
.empty-state-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .92rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin: 0;
}

/* ── PERSONA GRID (fundadores, diretoria) ────────────────────────── */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
}
.persona-card {
  background: var(--dark-surface, #0D2818);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.persona-card:hover { border-color: rgba(26,122,66,.45); transform: translateY(-2px); }
.persona-photo {
  aspect-ratio: 1;
  background: rgba(11,92,45,.12);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.persona-photo img { width: 100%; height: 100%; object-fit: cover; }
.persona-ph-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(26,122,66,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--verde-medio, #1A7A42);
}
.persona-ph-icon svg { width: 32px; height: 32px; }
.persona-body { padding: 1.1rem 1rem; }
.persona-nome {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.persona-cargo {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .72rem;
  color: var(--verde-medio, #1A7A42);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-top: .3rem;
}
.persona-apelido {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-top: .15rem;
  font-style: italic;
}
.persona-nota {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: .5rem;
  line-height: 1.5;
}

/* ── TIMELINE VERTICAL ───────────────────────────────────────────── */
.timeline-v {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-v::before {
  content: '';
  position: absolute;
  left: 1.9rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--verde, #0B5C2D), rgba(11,92,45,0));
}
.tl-item {
  display: grid;
  grid-template-columns: 3.8rem 1fr;
  gap: 0 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  display: flex; flex-direction: column; align-items: center;
  padding-top: .3rem;
}
.tl-dot::before {
  content: '';
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--verde-medio, #1A7A42);
  border: 2px solid var(--dark-bg, #0A1F11);
  box-shadow: 0 0 0 3px rgba(26,122,66,.25);
  flex-shrink: 0; z-index: 1;
}
.tl-year {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: .65rem;
  font-weight: 700;
  color: var(--verde-medio, #1A7A42);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .3rem;
  text-align: center;
  line-height: 1.1;
}
.tl-content {
  background: var(--dark-surface, #0D2818);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 1.15rem 1.4rem;
}
.tl-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .3rem;
}
.tl-periodo {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .72rem;
  color: var(--verde-medio, #1A7A42);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .65rem;
}
.tl-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin: 0;
}
.tl-badge {
  display: inline-block;
  background: rgba(11,92,45,.25);
  border: 1px solid rgba(26,122,66,.35);
  color: var(--verde-medio, #1A7A42);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .18rem .55rem;
  border-radius: 20px;
  margin-top: .65rem;
}

/* ── ENREDOS ─────────────────────────────────────────────────────── */
.decade-tabs {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-bottom: 2rem;
}
.decade-tab {
  padding: .45rem 1.1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 40px;
  background: transparent;
  color: rgba(255,255,255,.55);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all .18s;
}
.decade-tab:hover { border-color: var(--verde-medio,#1A7A42); color: #fff; }
.decade-tab.active { background: var(--verde,#0B5C2D); border-color: var(--verde,#0B5C2D); color: #fff; }
.enredos-grid { display: grid; gap: .85rem; }
.enredo-card {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0 1.15rem;
  background: var(--dark-surface, #0D2818);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  align-items: start;
  transition: border-color .18s;
}
.enredo-card:hover { border-color: rgba(26,122,66,.35); }
.enredo-year {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--verde-medio, #1A7A42);
  line-height: 1;
  opacity: .65;
}
.enredo-titulo {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: .98rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .3rem;
}
.enredo-meta {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.enredo-ph { font-style: italic; color: rgba(255,255,255,.25); }

/* ── HISTORIA NARRATIVA ──────────────────────────────────────────── */
.historia-body {
  max-width: 760px;
  margin: 0 auto;
}
.historia-body h2 {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(1.4rem,3vw,1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--verde-medio, #1A7A42);
  margin: 2.5rem 0 .9rem;
  letter-spacing: .01em;
}
.historia-body h2:first-child { margin-top: 0; }
.historia-body p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.02rem;
  color: rgba(255,255,255,.78);
  line-height: 1.82;
  margin: 0 0 1.15rem;
}
.pull-quote {
  border-left: 3px solid var(--verde, #0B5C2D);
  margin: 2rem 0;
  padding: .9rem 1.5rem;
  background: rgba(11,92,45,.1);
  border-radius: 0 6px 6px 0;
}
.pull-quote p {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif) !important;
  font-size: 1.2rem !important;
  font-style: italic;
  color: rgba(255,255,255,.9) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
.historia-data-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(11,92,45,.2);
  border: 1px solid rgba(26,122,66,.3);
  color: #fff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}
.historia-data-badge span { color: var(--verde-medio, #1A7A42); }

/* ── CURIOSIDADES ────────────────────────────────────────────────── */
.curio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
}
.curio-card {
  background: var(--dark-surface, #0D2818);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}
.curio-card:hover { border-color: rgba(26,122,66,.4); }
.curio-num {
  position: absolute;
  top: -.4rem; right: .8rem;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(11,92,45,.2);
  line-height: 1;
  user-select: none;
}
.curio-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .65rem;
  position: relative;
}
.curio-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin: 0;
  position: relative;
}

/* ── BATERIA STATS ───────────────────────────────────────────────── */
.bateria-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.bat-stat {
  background: rgba(11,92,45,.12);
  border: 1px solid rgba(26,122,66,.2);
  border-radius: 8px;
  padding: 1.35rem 1rem;
  text-align: center;
}
.bat-stat-val {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--verde-medio, #1A7A42);
  display: block; line-height: 1;
}
.bat-stat-label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .35rem;
  display: block;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-list, .nav-cta { display: none; }
}
@media (min-width: 901px) {
  #mobile-menu { display: none !important; }
}
@media (max-width: 540px) {
  .tl-item { grid-template-columns: 3rem 1fr; gap: 0 1rem; }
  .timeline-v::before { left: 1.45rem; }
  .enredo-card { grid-template-columns: 3.5rem 1fr; }
  .persona-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
  .curio-grid { grid-template-columns: 1fr; }
}

/* ── CURIOSIDADES GRID ───────────────────────────────────── */
.curiosidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.curio-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
}

.curio-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(26,122,66,.35);
  line-height: 1;
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

.curio-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  margin: 0 0 .85rem;
}

.curio-body {
  font-family: var(--font-body);
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin: 0;
}

.curio-body strong {
  color: rgba(255,255,255,.85);
}

.curio-body em {
  color: var(--verde-medio);
  font-style: normal;
}
