/* ============================================================
   PEM - Pretos em Movimento | CSS Principal
   Tokens extraídos diretamente do site Manus (pretosweb-gbyoyv7t.manus.space)
   Fonte: Space Grotesk | Vermelho: #FF2C01 | Body: #222222
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: #222222;
  color: #f8f8f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
input, textarea, select { font-family: inherit; }

/* ── Variáveis ────────────────────────────────────────────── */
:root {
  --red:        #FF2C01;
  --red-hover:  #e02500;
  --red-10:     rgba(255,44,1,0.10);
  --red-15:     rgba(255,44,1,0.15);
  --red-20:     rgba(255,44,1,0.20);
  --yellow-10:  rgba(241,255,0,0.125);
  --bg-body:    #222222;
  --bg-dark:    #1A1A1A;
  --bg-card:    #2A2A2A;
  --bg-footer:  #111111;
  --border:     #333333;
  --text:       #f8f8f8;
  --text-muted: #999999;
  --nav-h:      110px;
  --radius:     12px;
  --radius-lg:  16px;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Utilitários ──────────────────────────────────────────── */
.hidden { display: none !important; }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Animações ────────────────────────────────────────────── */
.will-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.will-animate.visible { opacity: 1; transform: translateY(0); }
.will-animate.delay-1 { transition-delay: 0.1s; }
.will-animate.delay-2 { transition-delay: 0.2s; }
.will-animate.delay-3 { transition-delay: 0.3s; }
.will-animate.delay-4 { transition-delay: 0.4s; }
.will-animate.delay-5 { transition-delay: 0.5s; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, border-color 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}
.nav-logo { flex-shrink: 0; }
.logo-img { height: 80px; width: auto; }

/* Links centrais */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #f8f8f8;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: rgba(255,255,255,0.07); }
.nav-link.active { background: var(--red); color: #fff; }

/* Ações direita */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red);
  transition: background 0.2s;
}
.nav-btn-login:hover { background: var(--red-10); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--red-hover); transform: translateY(-1px); }

/* Toggle mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Flash messages ───────────────────────────────────────── */
.flash {
  position: fixed;
  top: calc(var(--nav-h) + 1rem);
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.flash-success { background: #1a3a2a; border: 1px solid #2d6a4a; color: #6fcf97; }
.flash-error   { background: #3a1a1a; border: 1px solid #6a2d2d; color: #eb5757; }
.flash-info    { background: #1a2a3a; border: 1px solid #2d4a6a; color: #56ccf2; }
.flash-close   { background: none; border: none; color: inherit; font-size: 1.1rem; opacity: 0.7; }
.flash-close:hover { opacity: 1; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.20) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  padding-bottom: 6rem;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,44,1,0.20);
  border: 1px solid rgba(255,44,1,0.35);
  color: var(--red);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-subtitle strong { color: #fff; font-weight: 700; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.4; }
}

/* ── Botões globais ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,44,1,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: rgba(255,255,255,0.75); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── Seção: Números que Movem ─────────────────────────────── */
.section-stats {
  background: #1A1A1A;
  padding: 5rem 0;
}
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 1rem;
}
.section-title-underline {
  width: 3rem;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 0.75rem;
}
.stats-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.stats-header .section-title-underline { margin: 0.75rem auto 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: #2A2A2A;
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.stat-card:hover {
  border-color: rgba(255,44,1,0.4);
  transform: translateY(-3px);
}
.stat-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
}
.stat-icon-red    { background: var(--red-15); }
.stat-icon-yellow { background: var(--yellow-10); }
.stat-number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Seção: Propósito ─────────────────────────────────────── */
.section-purpose {
  background: #222222;
  padding: 5rem 0;
}
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.purpose-left .section-title { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 1.5rem; }
.purpose-text {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.purpose-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.purpose-card {
  background: #2A2A2A;
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color 0.25s;
}
.purpose-card:hover { border-color: rgba(255,44,1,0.4); }
.purpose-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--red-15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.875rem;
}
.purpose-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.375rem;
}
.purpose-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Seção: BlackMoney ────────────────────────────────────── */
.section-blackmoney {
  background: #FF2C01;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.section-blackmoney::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.section-blackmoney::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -15%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
}
.bm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 0.375rem 1.25rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.bm-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.bm-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}
.bm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.bm-tag {
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.bm-tag:hover { background: rgba(255,255,255,0.22); }
.btn-bm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #fff;
  color: var(--red);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  position: relative;
  z-index: 1;
  transition: background 0.2s, transform 0.15s;
}
.btn-bm:hover { background: rgba(255,255,255,0.92); transform: translateY(-2px); }

/* ── Seção: Eventos ───────────────────────────────────────── */
.section-events {
  background: #1A1A1A;
  padding: 5rem 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
}
.link-ver-todos {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--red);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: gap 0.2s;
}
.link-ver-todos:hover { gap: 0.625rem; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.event-card {
  background: #2A2A2A;
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.event-card:hover { border-color: rgba(255,44,1,0.4); transform: translateY(-3px); }
.event-img { width: 100%; height: 200px; object-fit: cover; }
.event-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #3A2A2A, #2A1A1A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 2.5rem;
}
.event-body { padding: 1.25rem; }
.event-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.event-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.event-meta { display: flex; flex-direction: column; gap: 0.375rem; }
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.event-meta-item svg { color: var(--red); flex-shrink: 0; }
.events-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

/* ── Seção: Blog ──────────────────────────────────────────── */
.section-blog {
  background: #222222;
  padding: 5rem 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: #2A2A2A;
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.blog-card:hover { border-color: rgba(255,44,1,0.4); transform: translateY(-3px); }
.blog-img { width: 100%; height: 180px; object-fit: cover; }
.blog-body { padding: 1.25rem; }
.blog-category {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.blog-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.blog-date { font-size: 0.8125rem; color: var(--text-muted); }

/* ── Seção: CTA Final ─────────────────────────────────────── */
.section-cta {
  background: #1A1A1A;
  padding: 5rem 0;
}
.cta-card {
  background: linear-gradient(135deg, #FF2C01 0%, #cc2200 100%);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
}
.cta-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #fff;
  color: var(--red);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-cta-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── Rodapé ───────────────────────────────────────────────── */
.site-footer { background: #111111; }
.footer-top { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo { height: 64px; width: auto; margin-bottom: 1.25rem; }
.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 320px;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social-link:hover {
  background: var(--red-15);
  border-color: var(--red);
  color: var(--red);
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.875rem; }
.footer-nav a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  transition: color 0.2s;
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-item svg { color: var(--red); flex-shrink: 0; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-top: 1.25rem;
  transition: background 0.2s, transform 0.15s;
}
.footer-cta-btn:hover { background: var(--red-hover); transform: translateY(-1px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy { font-size: 0.8125rem; color: var(--text-muted); }
.footer-copy-right { font-size: 0.8125rem; color: var(--text-muted); }
.footer-copy-right span { color: var(--red); font-weight: 600; }

/* ── Modal / Lightbox ─────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

/* ── Páginas internas ─────────────────────────────────────── */
.page-content { padding-top: var(--nav-h); }

/* ── Galeria ──────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4/3;
  background: #2A2A2A;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── Formulários ──────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #2A2A2A;
  border: 1px solid #444;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,44,1,0.12);
}
.form-control::placeholder { color: #666; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Paginação ────────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  background: #2A2A2A;
  border: 1px solid #333;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pagination a:hover { background: #333; color: #fff; border-color: #444; }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ── Admin ────────────────────────────────────────────────── */
.admin-wrapper { display: flex; min-height: 100vh; background: #1A1A1A; }
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #111;
  border-right: 1px solid #222;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-content { flex: 1; padding: 2rem; overflow: auto; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .purpose-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #111;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid #222;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 0.75rem 1rem; border-radius: 8px; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .hero-subtitle { font-size: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-cards { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .cta-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-number { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .bm-tags { gap: 0.5rem; }
}


/* ============================================================
   MEMBER AREA — Layout base
   ============================================================ */
.member-main {
    padding-top: calc(110px + 46px); /* navbar + subnav */
    min-height: 100vh;
    background: #1a1a1a;
}
.member-section { padding: 3rem 0 5rem; }
.member-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
}
.member-page-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #e63c2f;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.member-page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.4rem;
    line-height: 1.1;
}
.member-page-subtitle { color: #888888; font-size: 1rem; margin: 0; }

/* Filtros */
.member-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.member-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid #333333;
    background: transparent;
    color: #888888;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.member-filter-btn:hover { border-color: #555555; color: #cccccc; }
.member-filter-btn.active { background: #e63c2f; border-color: #e63c2f; color: #ffffff; }

/* Grid de conteúdos */
.member-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.member-content-card {
    background: #2a2a2a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s, transform 0.2s;
}
.member-content-card:hover { border-color: #e63c2f; transform: translateY(-2px); }
.member-content-type {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e63c2f;
    margin-bottom: 0.75rem;
}
.member-content-title { font-size: 1rem; font-weight: 700; color: #ffffff; margin: 0 0 0.5rem; line-height: 1.4; }
.member-content-desc { font-size: 0.875rem; color: #888888; line-height: 1.6; margin: 0 0 1rem; }
.member-content-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #e63c2f;
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.member-content-btn:hover { background: #cc2200; }

/* Estado vazio */
.member-empty-state { text-align: center; padding: 5rem 2rem; color: #555555; }
.member-empty-state svg { margin: 0 auto 1.5rem; display: block; stroke: #444444; }
.member-empty-state p { font-size: 1.1rem; font-weight: 600; color: #666666; margin: 0 0 0.5rem; }
.member-empty-state span { font-size: 0.875rem; color: #444444; }

/* ============================================================
   GALERIA DE MEMBROS
   ============================================================ */
.member-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.member-gallery-count { font-size: 0.875rem; color: #666666; }
.member-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.member-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #2a2a2a;
}
.member-gallery-item img,
.member-gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.member-gallery-item:hover img,
.member-gallery-item:hover video { transform: scale(1.05); }
.member-gallery-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    color: #ffffff;
}
.member-gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0.75rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
}
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-lightbox-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    font-size: 2.5rem;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.gallery-lightbox-close:hover { opacity: 1; }

/* ============================================================
   PERFIL DE MEMBROS
   ============================================================ */
.profile-identity-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #2a2a2a;
    border: 1px solid #333333;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.profile-avatar-large {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: #e63c2f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
}
.profile-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.profile-identity-name { font-size: 1.25rem; font-weight: 700; color: #ffffff; margin-bottom: 0.25rem; }
.profile-identity-email { font-size: 0.875rem; color: #888888; margin-bottom: 0.75rem; }
.profile-complete-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 100px;
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 600;
}
.profile-incomplete-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    background: rgba(234,179,8,0.15);
    border: 1px solid rgba(234,179,8,0.3);
    border-radius: 100px;
    color: #eab308;
    font-size: 0.8rem;
    font-weight: 600;
}
.profile-section-card {
    background: #2a2a2a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.profile-section-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1.25rem;
}
.profile-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.profile-form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.profile-interests-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-interest-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid #444444;
    background: transparent;
    color: #888888;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.profile-interest-checkbox:hover { border-color: #666666; color: #cccccc; }
.profile-interest-checkbox.checked { background: rgba(230,60,47,0.15); border-color: #e63c2f; color: #e63c2f; }
.profile-avatar-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: 1px solid #444444;
    border-radius: 8px;
    color: #888888;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}
.profile-avatar-upload:hover { border-color: #e63c2f; color: #e63c2f; }

/* ============================================================
   PÁGINA DE CADASTRO
   ============================================================ */
.register-main { padding-top: 110px; min-height: 100vh; background: #1a1a1a; }
.register-section { padding: 3rem 0 5rem; }
.register-header { text-align: center; margin-bottom: 2.5rem; }
.register-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(230,60,47,0.15);
    border: 1px solid rgba(230,60,47,0.3);
    border-radius: 100px;
    color: #e63c2f;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.register-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: #ffffff; line-height: 1.1; margin: 0 0 1rem; }
.register-title-highlight { color: #e63c2f; }
.register-subtitle { color: #888888; font-size: 1rem; max-width: 480px; margin: 0 auto; line-height: 1.6; }
.register-form-card { background: #2a2a2a; border: 1px solid #333333; border-radius: 16px; padding: 2rem; }
.register-form-section { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid #333333; }
.register-form-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.register-form-section-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #888888; margin: 0 0 1.25rem; }
.register-form-hint { font-size: 0.875rem; color: #666666; margin: -0.75rem 0 1rem; }
.register-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.register-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.register-interests-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.register-interest-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    border: 1px solid #444444;
    background: transparent;
    color: #888888;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.register-interest-pill:hover { border-color: #666666; color: #cccccc; }
.register-interest-pill.selected { background: rgba(230,60,47,0.15); border-color: #e63c2f; color: #e63c2f; }
.required { color: #e63c2f; }

/* ============================================================
   ADMIN — Contatos
   ============================================================ */
.admin-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(230,60,47,0.15);
    border: 1px solid rgba(230,60,47,0.3);
    border-radius: 100px;
    color: #e63c2f;
    font-size: 0.8rem;
    font-weight: 600;
}
.admin-contacts-list { display: flex; flex-direction: column; gap: 1rem; }
.admin-contact-card {
    background: #2a2a2a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s;
}
.admin-contact-card.unread { border-color: rgba(230,60,47,0.4); background: rgba(230,60,47,0.03); }
.admin-contact-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-contact-identity { display: flex; align-items: center; gap: 1rem; }
.admin-contact-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #e63c2f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}
.admin-contact-name { font-size: 1rem; font-weight: 700; color: #ffffff; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.admin-badge-new {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: #e63c2f;
    color: #ffffff;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.admin-contact-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: #666666; flex-wrap: wrap; }
.admin-contact-meta a { color: #888888; text-decoration: none; }
.admin-contact-meta a:hover { color: #e63c2f; }
.btn-mark-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #e63c2f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: inherit;
}
.btn-mark-read:hover { background: #cc2200; }
.admin-contact-subject { font-size: 0.95rem; font-weight: 600; color: #cccccc; margin-bottom: 0.5rem; }
.admin-contact-message { font-size: 0.9rem; color: #888888; line-height: 1.6; margin-bottom: 1rem; }
.admin-contact-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-contact-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border: 1px solid #444444;
    border-radius: 8px;
    color: #888888;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.admin-contact-action-btn:hover { border-color: #666666; color: #cccccc; }
.admin-contact-action-btn.whatsapp:hover { border-color: #25d366; color: #25d366; }

/* ============================================================
   ADMIN — Financeiro
   ============================================================ */
.admin-period-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.admin-period-btn {
    padding: 0.45rem 1rem;
    border-radius: 100px;
    border: 1px solid #333333;
    background: transparent;
    color: #888888;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.admin-period-btn:hover { border-color: #555555; color: #cccccc; }
.admin-period-btn.active { background: #e63c2f; border-color: #e63c2f; color: #ffffff; }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.admin-kpi-card { background: #2a2a2a; border: 1px solid #333333; border-radius: 12px; padding: 1.5rem; }
.admin-kpi-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.admin-kpi-icon.green { background: rgba(34,197,94,0.15); color: #22c55e; }
.admin-kpi-icon.blue  { background: rgba(59,130,246,0.15); color: #3b82f6; }
.admin-kpi-icon.yellow { background: rgba(234,179,8,0.15); color: #eab308; }
.admin-kpi-icon.purple { background: rgba(168,85,247,0.15); color: #a855f7; }
.admin-kpi-value { font-size: 1.6rem; font-weight: 800; color: #ffffff; margin-bottom: 0.25rem; line-height: 1; }
.admin-kpi-label { font-size: 0.8rem; color: #666666; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem; }
.admin-card-title { font-size: 1rem; font-weight: 700; color: #ffffff; margin: 0 0 1.25rem; }
.admin-card-header .admin-card-title { margin: 0; }
.admin-bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 1rem; }
.admin-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.admin-bar-fill { width: 100%; background: #e63c2f; border-radius: 4px 4px 0 0; min-height: 4px; transition: height 0.3s; cursor: pointer; }
.admin-bar-fill:hover { background: #ff4d3d; }
.admin-bar-label { font-size: 0.6rem; color: #555555; margin-top: 0.4rem; text-align: center; }
.admin-plan-row { margin-bottom: 1.25rem; }
.admin-plan-row-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; font-size: 0.9rem; color: #cccccc; }
.admin-plan-value { font-weight: 700; color: #ffffff; }
.admin-progress-wrap { height: 6px; background: #333333; border-radius: 100px; overflow: hidden; }
.admin-progress-fill { height: 100%; background: #e63c2f; border-radius: 100px; transition: width 0.5s; }
.admin-plan-count { font-size: 0.75rem; color: #555555; margin-top: 0.4rem; }
.admin-status-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.admin-status-btn {
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    border: 1px solid #333333;
    background: transparent;
    color: #888888;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.admin-status-btn:hover { border-color: #555555; color: #cccccc; }
.admin-status-btn.active { background: #e63c2f; border-color: #e63c2f; color: #ffffff; }
.admin-empty { text-align: center; padding: 3rem 2rem; color: #444444; }
.admin-empty svg { margin: 0 auto 1rem; display: block; stroke: #333333; }
.admin-empty p { font-size: 0.95rem; color: #555555; }

/* ============================================================
   RESPONSIVO — Member Area + Admin
   ============================================================ */
@media (max-width: 768px) {
    .profile-form-grid,
    .profile-form-grid-3,
    .register-grid-2,
    .register-grid-3,
    .admin-kpi-grid,
    .admin-grid-2 { grid-template-columns: 1fr; }
    .member-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-contact-header { flex-direction: column; }
    .btn-mark-read { width: 100%; justify-content: center; }
    .member-main { padding-top: calc(72px + 46px); } /* navbar mobile + subnav */
    .register-main { padding-top: 72px; }
}
@media (max-width: 480px) {
    .member-gallery-grid { grid-template-columns: 1fr; }
    .register-form-card { padding: 1.25rem; }
}

/* ── Navbar: usuário logado (dropdown) ───────────────────────── */
.nav-btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.nav-btn-cta:hover { background: var(--red-hover); transform: translateY(-1px); }

.nav-user-wrap {
  position: relative;
}
.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-user-btn:hover { background: rgba(255,255,255,0.08); }
.nav-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.nav-user-name {
  color: var(--red);
  font-weight: 600;
}
.nav-user-caret {
  font-size: 0.6rem;
  opacity: 0.6;
  margin-left: 2px;
}

.nav-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  z-index: 1000;
}
.nav-dropdown.open {
  display: flex !important;
  flex-direction: column !important;
}

.nav-drop-item {
  display: block !important;
  width: 100% !important;
  padding: 0.65rem 1.25rem !important;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ccc;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  box-sizing: border-box;
}
.nav-drop-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-drop-admin { color: var(--red); }
.nav-drop-admin:hover { background: rgba(255,44,1,0.1); color: var(--red); }
.nav-drop-logout { color: #888; }
.nav-drop-logout:hover { background: rgba(255,255,255,0.04); color: #fff; }

.nav-drop-divider {
  height: 1px;
  background: #2a2a2a;
  margin: 0.4rem 0;
}

/* ── Área de membros: estilos principais ─────────────────────── */
.member-main {
  padding-top: calc(var(--nav-h) + 46px); /* navbar + subnav */
  min-height: 100vh;
  background: #222222;
}
.member-section {
  padding: 3.5rem 0 4rem;
}
.member-page-header {
  margin-bottom: 2.5rem;
}
.member-page-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.member-page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.member-page-subtitle {
  font-size: 1rem;
  color: #888;
}

/* Filtros */
.member-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.member-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #aaa;
  background: transparent;
  border: 1px solid #333;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.member-filter-btn:hover { background: rgba(255,255,255,0.06); color: #fff; border-color: #555; }
.member-filter-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

/* Grid de conteúdos */
.member-contents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.member-content-card {
  background: #2a2a2a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.member-content-card:hover { border-color: #444; transform: translateY(-2px); }
.member-content-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  text-transform: uppercase;
}
.member-content-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.member-content-desc {
  font-size: 0.875rem;
  color: #888;
  line-height: 1.6;
  flex: 1;
}
.member-content-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
  align-self: flex-start;
  margin-top: auto;
}
.member-content-btn:hover { background: var(--red-hover); }

/* Estado vazio */
.member-empty {
  background: #2a2a2a;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
}
.member-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #333;
  color: #555;
  margin-bottom: 1.25rem;
}
.member-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 0.4rem;
}
.member-empty-sub {
  font-size: 0.875rem;
  color: #555;
}

/* ============================================================
   Sub-navegação da Área de Membros
   ============================================================ */
.member-subnav {
  background: #1A1A1A;
  border-bottom: 1px solid #2A2A2A;
  position: sticky;
  top: var(--nav-h, 110px);
  z-index: 100;
}
.member-subnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.member-subnav-inner::-webkit-scrollbar { display: none; }
.member-subnav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.3px;
}
.member-subnav-link:hover {
  color: #ccc;
  border-bottom-color: #444;
}
.member-subnav-link.active {
  color: #fff;
  border-bottom-color: var(--red, #FF2C01);
}
.member-subnav-link svg { flex-shrink: 0; opacity: 0.7; }
.member-subnav-link.active svg,
.member-subnav-link:hover svg { opacity: 1; }
@media (max-width: 640px) {
  .member-subnav-link {
    padding: 0.75rem 0.75rem;
    font-size: 0.78rem;
  }
  .member-subnav-link .subnav-label { display: none; }
}
