/* ==========================================================================
   FESMORENA 2026 — BESPOKE UI/UX DESIGN SYSTEM
   Estética: Ultra-Modern Obsidian & Electric Stage (World-Class Event UI)
   ========================================================================== */

:root {
  /* Cores Base */
  --bg-obsidian: #07080d;
  --bg-surface-1: #0d0f17;
  --bg-surface-2: #141724;
  --bg-surface-3: #1c2033;
  --bg-glass: rgba(13, 15, 23, 0.72);
  --bg-glass-card: rgba(20, 23, 36, 0.6);
  
  /* Cores de Marca & Acento */
  --primary-indigo: #6366f1;
  --primary-indigo-glow: rgba(99, 102, 241, 0.35);
  --accent-magenta: #f43f5e;
  --accent-magenta-glow: rgba(244, 63, 94, 0.35);
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  
  /* Texto & Neutros */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Bordas & Divisores */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(99, 102, 241, 0.4);
  --border-accent: rgba(244, 63, 94, 0.4);
  
  /* Tipografia */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Geometria & Sombras */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow-indigo: 0 0 40px var(--primary-indigo-glow);
  --shadow-glow-magenta: 0 0 40px var(--accent-magenta-glow);
}

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

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

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-magenta);
  color: #fff;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-3);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-indigo);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Typography Classes */
.font-display {
  font-family: var(--font-display);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-indigo) 50%, var(--accent-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SVG Icon Helper */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.icon-svg svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 0 16px rgba(244, 63, 94, 0.65));
}

.brand-text-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-magenta));
  color: #fff;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-indigo), var(--accent-magenta));
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-indigo) 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-indigo-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(45deg);
  transition: 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-indigo-glow);
}

.btn-magenta {
  background: linear-gradient(135deg, var(--accent-magenta) 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-magenta-glow);
}

.btn-magenta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-magenta-glow);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.84rem;
}

/* Pill / Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  color: var(--primary-indigo);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.chip-magenta {
  background: rgba(244, 63, 94, 0.1);
  border-color: var(--border-accent);
  color: var(--accent-magenta);
}

.hero-official-emblem {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(99, 102, 241, 0.6));
  animation: emblemPulse 4s ease-in-out infinite alternate;
}

@keyframes emblemPulse {
  0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5)); }
  50% { transform: translateY(-3px) scale(1.04); filter: drop-shadow(0 0 20px rgba(244, 63, 94, 0.7)); }
  100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5)); }
}

/* ==========================================================================
   HERO SECTION & MOTION VIDEO BACKGROUND
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 170px 0 110px;
  background: var(--bg-obsidian);
  overflow: hidden;
}

/* Hero Video Background Layer */
.hero-video-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(1.35) contrast(1.15) brightness(1.05);
  transition: opacity 0.5s ease;
}

.stage-motion-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.85;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: radial-gradient(circle at 30% 40%, rgba(7, 8, 13, 0.25) 0%, rgba(7, 8, 13, 0.65) 75%, var(--bg-obsidian) 100%),
              linear-gradient(to bottom, rgba(7, 8, 13, 0.4) 0%, transparent 45%, rgba(7, 8, 13, 0.88) 90%, var(--bg-obsidian) 100%);
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0.7;
}

/* Card Hero Visual (Right Side) */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-1);
  box-shadow: var(--shadow-card), var(--shadow-glow-indigo);
}

.hero-visual-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-surface-1) 0%, transparent 60%);
}

.hero-visual-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
}

/* Timer Box */
.timer-widget {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 15px;
}

.timer-digits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
  margin-top: 10px;
}

.digit-card {
  background: rgba(7, 8, 13, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
}

.digit-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-indigo);
}

.digit-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   METRICS & STATS BAR
   ========================================================================== */
.stats-section {
  background: var(--bg-surface-1);
  border-y: 1px solid var(--border-subtle);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-box .number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 12px 0 16px;
}

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

/* ==========================================================================
   PASSO A PASSO (JORNADA)
   ========================================================================== */
.steps-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-item-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition-smooth);
}

.step-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), 0 0 30px rgba(99, 102, 241, 0.15);
}

.step-index-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-indigo);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-item-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   BENTO GRID (PRÊMIOS & DIFERENCIAIS)
   ========================================================================== */
.bento-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-box {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.bento-box:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.bento-box.col-span-2 {
  grid-column: span 2;
}

.bento-box.row-span-2 {
  grid-row: span 2;
}

.bento-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.bento-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.bento-description {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-img-preview {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: 24px;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   VOTAÇÃO POPULAR 2.0 (HUB DE AUDIÇÃO)
   ========================================================================== */
.voting-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 20px 12px 46px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 20px var(--primary-indigo-glow);
}

.search-icon-pos {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.filter-pills {
  display: flex;
  gap: 10px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-indigo);
  color: #fff;
  border-color: var(--primary-indigo);
  box-shadow: 0 4px 15px var(--primary-indigo-glow);
}

.candidates-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.candidate-card-2 {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.candidate-card-2:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(244, 63, 94, 0.15);
}

.candidate-cover {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
}

.candidate-cover-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-surface-1) 0%, transparent 70%);
}

.candidate-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 8, 13, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
}

.candidate-details {
  padding: 28px;
}

.candidate-track-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.candidate-performer-name {
  color: var(--primary-indigo);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.candidate-school-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* Audio Player Bar 2.0 */
.audio-player-widget {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.audio-play-trigger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-indigo);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.audio-play-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--primary-indigo-glow);
}

.equalizer-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  flex: 1;
}

.eq-bar {
  flex: 1;
  height: 20%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: height 0.2s;
}

.audio-player-widget.playing .eq-bar {
  background: var(--primary-indigo);
  animation: eqAnimation 1s infinite alternate ease-in-out;
}

@keyframes eqAnimation {
  0% { height: 15%; }
  100% { height: 90%; }
}

.candidate-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.vote-counter-badge {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.vote-counter-badge strong {
  color: var(--accent-magenta);
  font-size: 1.1rem;
}

/* ==========================================================================
   REGULAMENTO & CRONOGRAMA 2.0
   ========================================================================== */
.regulation-search-box {
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
}

.regulation-search-box input {
  width: 100%;
  padding: 16px 24px 16px 52px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.regulation-search-box input:focus {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 25px var(--primary-indigo-glow);
}

.timeline-phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.phase-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border-top: 4px solid var(--primary-indigo);
  position: relative;
}

.phase-card.active-phase {
  border-top-color: var(--accent-magenta);
  background: var(--bg-surface-2);
}

.phase-date {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-indigo);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.phase-card.active-phase .phase-date {
  color: var(--accent-magenta);
}

.phase-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.phase-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* FAQ Accordion */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
}

.faq-question:hover {
  color: var(--primary-indigo);
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 90px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 16px 0 24px;
  max-width: 360px;
}

.social-bar {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.social-btn svg {
  transition: transform 0.3s ease, fill 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  color: #ffffff;
}

.social-btn:hover svg {
  transform: scale(1.15);
}

/* Redes Sociais Realistas */
.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  box-shadow: 0 8px 24px rgba(214, 36, 159, 0.45);
}

.social-youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45);
}

.social-tiktok:hover {
  background: #010101;
  border-color: #fe2c55;
  box-shadow: 0 8px 24px rgba(254, 44, 85, 0.4), 0 0 12px rgba(37, 244, 238, 0.4);
}

.social-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-indigo);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODAL DE INSCRIÇÃO 2.0 (MULTI-STEP WIZARD)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  width: 92%;
  max-width: 720px;
  padding: 44px;
  position: relative;
  box-shadow: var(--shadow-card), var(--shadow-glow-indigo);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-trigger {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-trigger:hover {
  color: var(--accent-magenta);
  border-color: var(--accent-magenta);
}

/* Step Bar Indicator */
.wizard-step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.wizard-step-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bg-surface-3);
  z-index: 1;
}

.wizard-step-item {
  position: relative;
  z-index: 2;
  background: var(--bg-surface-1);
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wizard-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-3);
  color: var(--text-muted);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 2px solid var(--bg-surface-1);
  transition: var(--transition-fast);
}

.wizard-step-item.active .wizard-node {
  background: var(--primary-indigo);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-indigo-glow);
}

.wizard-step-item.completed .wizard-node {
  background: var(--accent-emerald);
  color: #fff;
}

.wizard-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.wizard-step-item.active .wizard-label {
  color: var(--text-primary);
}

/* Forms */
.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.input-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.input-control:focus {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 15px var(--primary-indigo-glow);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Dropzone Upload */
.upload-dropzone {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  background: var(--bg-surface-2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.upload-dropzone:hover {
  border-color: var(--primary-indigo);
  background: rgba(99, 102, 241, 0.05);
}

/* Toast Engine */
.toast-popup {
  position: fixed;
  bottom: 90px;
  right: 32px;
  background: var(--bg-surface-1);
  border: 1px solid var(--primary-indigo);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), 0 0 25px var(--primary-indigo-glow);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast-popup.active {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM BAR (MOBILE-FIRST UX)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(7, 8, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--primary-indigo);
}

.mobile-nav-item .icon-svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   CENTRAL DE NOTÍCIAS & IMPRENSA
   ========================================================================== */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow-indigo);
}

.news-cover-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-cover-img {
  transform: scale(1.08);
}

.news-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-magenta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   WIDGET FLUTUANTE DE CONTATO VIA WHATSAPP
   ========================================================================== */
.whatsapp-float-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  max-width: calc(100vw - 32px);
}

.whatsapp-icon-circle {
  position: relative;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.whatsapp-float-widget:hover .whatsapp-icon-circle {
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

.whatsapp-badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid var(--bg-obsidian);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-tooltip {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.whatsapp-online-dot {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
}

/* ==========================================================================
   LOGIN MODAL & TABS
   ========================================================================== */
.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-surface-1);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.login-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.login-tab-btn.active {
  background: var(--bg-surface-3);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.social-login-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
}

.social-login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
}

.social-login-divider span {
  position: relative;
  background: var(--bg-surface-2);
  padding: 0 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVIDADE MASTER: DESKTOP & MOBILE
   ========================================================================== */

/* Tablet e Telas Intermediárias (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-brand-header {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .steps-cards-grid,
  .stats-grid,
  .candidates-cards-grid,
  .news-cards-grid,
  .bento-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-box.col-span-2 {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Mobile & Dispositivos Compactos (<= 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px; /* Garante que o footer não fique escondido sob a bottom bar */
  }

  /* Header Mobile */
  .header {
    padding: 10px 0;
  }
  .header-inner {
    height: 56px;
  }
  .nav-desktop {
    display: none;
  }
  .header-actions .btn-glass {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .header-actions .btn-primary {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
  .brand-logo-img {
    height: 32px !important;
  }
  .brand-text-wrap {
    font-size: 1.1rem;
  }

  /* Barra de Navegação Inferior (Thumb-First) */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(7, 8, 13, 0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
  }

/* Mobile & Dispositivos Compactos (<= 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }

  /* Header Mobile UX */
  .header {
    padding: 8px 0;
  }
  .header-inner {
    height: 52px;
  }
  .nav-desktop {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .btn-glass {
    padding: 6px 10px;
    font-size: 0.78rem;
    min-height: 38px;
  }
  .header-actions .btn-primary {
    padding: 6px 12px;
    font-size: 0.78rem;
    min-height: 38px;
  }
  .brand-logo-img {
    height: 28px !important;
  }
  .brand-text-wrap {
    font-size: 1rem;
  }

  /* Barra de Navegação Inferior Fixa (Thumb Zone) */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(7, 8, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
  }

  /* Hero Section Ultra-Mobile Refined */
  .hero-section {
    padding-top: 84px;
    padding-bottom: 40px;
    min-height: auto;
  }
  .hero-brand-header {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }
  .hero-official-emblem {
    height: 42px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    line-height: 1.18;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 24px;
    max-width: 100%;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 50px;
    font-size: 0.95rem;
    justify-content: center;
    border-radius: var(--radius-md);
  }
  .hero-cta-group .btn:active {
    transform: scale(0.98);
  }
  .hero-trust-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    margin-top: 24px;
  }
  .trust-logos {
    gap: 14px;
    font-size: 0.82rem;
  }

  /* Card Hero Visual & Timer em Mobile */
  .hero-visual-card {
    margin-top: 28px;
    border-radius: var(--radius-lg);
  }
  .hero-visual-img {
    height: 200px;
  }
  .hero-visual-content {
    padding: 16px;
  }
  .timer-widget {
    padding: 14px;
    margin-top: 10px;
    border-radius: var(--radius-md);
  }
  .timer-digits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .digit-card {
    padding: 8px 4px;
    border-radius: 8px;
  }
  .digit-number {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  }
  .digit-label {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  /* Seções e Titulagem Mobile */
  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Grids Transformados em 1 Coluna */
  .steps-cards-grid,
  .stats-grid,
  .candidates-cards-grid,
  .news-cards-grid,
  .bento-layout,
  .timeline-phases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-box.col-span-2 {
    grid-column: span 1;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Modais em Mobile */
  .modal-window {
    padding: 20px 14px;
    width: 95%;
    max-height: 90vh;
    border-radius: 20px;
    margin: 10px auto;
  }

  /* Wizard Step Bar no Mobile */
  .wizard-step-bar {
    gap: 6px;
    margin-bottom: 20px;
  }
  .wizard-step-item {
    padding: 8px 4px;
  }
  .wizard-step-label {
    font-size: 0.72rem;
  }
  .wizard-step-number {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  /* Widget do WhatsApp em Mobile */
  .whatsapp-float-widget {
    bottom: 76px;
    right: 14px;
    z-index: 1050;
    max-width: calc(100vw - 28px);
    overflow: visible;
  }

  .whatsapp-icon-circle {
    width: 48px;
    height: 48px;
  }

  .whatsapp-tooltip {
    display: none !important;
  }
}

/* Smartphones Pequenos (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.55rem;
  }
  .candidate-card-body {
    padding: 14px;
  }
  .news-body {
    padding: 14px;
  }
  .modal-window {
    width: 96%;
    padding: 16px 12px;
  }
  .candidate-action-buttons {
    grid-template-columns: 1fr;
  }
  #candidateLogoutBtn {
    grid-column: span 1;
  }
}

/* ==========================================================================
   ESTILOS DA ÁREA DO CANDIDATO & PORTAL DO PARTICIPANTE
   ========================================================================== */
.candidate-portal-window {
  max-width: 840px !important;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  background: rgba(15, 17, 26, 0.96);
  border: 1px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(20px);
}

.candidate-portal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.candidate-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-magenta), var(--primary-indigo));
  flex-shrink: 0;
}

.candidate-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #0f111a;
}

.candidate-status-dot.online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #0f111a;
  border-radius: 50%;
}

.candidate-header-meta {
  flex-grow: 1;
}

.candidate-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.candidate-name-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0;
  color: #ffffff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-badge.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.candidate-sub-info {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.candidate-protocol-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.protocol-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.protocol-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.protocol-code {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.candidate-action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-outline-danger {
  background: transparent;
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #f43f5e;
}
.btn-outline-danger:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #ffffff;
}

/* Timeline Card */
.candidate-timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.timeline-step .step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-step.step-completed .step-icon {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.timeline-step.step-active .step-icon {
  background: var(--primary-indigo);
  border-color: var(--primary-indigo);
  color: #ffffff;
  box-shadow: 0 0 15px var(--primary-indigo-glow);
}

.timeline-step .step-content strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
}

.timeline-step .step-content span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Grid da Área do Candidato */
.candidate-portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.candidate-portal-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.song-main-info {
  margin-bottom: 16px;
}

.song-title-display {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-magenta);
  margin-bottom: 4px;
}

.song-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.portal-audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(7, 8, 13, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.portal-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-magenta);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.portal-play-btn:hover {
  transform: scale(1.08);
}

.portal-audio-info {
  flex-grow: 1;
}

.audio-track-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.audio-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.audio-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-magenta), var(--accent-cyan));
  border-radius: 3px;
  transition: width 0.3s linear;
}

.audio-timer-display {
  font-size: 0.78rem;
  font-family: monospace;
  color: var(--text-secondary);
}

.song-letter-preview {
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-cyan);
}

.song-lyrics-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
}

.candidate-info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.info-label {
  color: var(--text-muted);
}

.info-value {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 768px) {
  .candidate-portal-grid {
    grid-template-columns: 1fr;
  }
  .timeline-steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .candidate-portal-header {
    flex-direction: column;
    text-align: center;
  }
  .candidate-header-top {
    justify-content: center;
  }
  .candidate-protocol-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .protocol-info {
    justify-content: center;
  }
  .candidate-action-buttons {
    justify-content: center;
  }
}

/* Custom File Upload Box Styles */
.file-upload-box {
  position: relative;
  margin-top: 6px;
}

.file-input-hidden {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface-1);
  border: 1px dashed var(--primary-indigo);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.file-upload-label:hover {
  background: var(--bg-surface-2);
  border-color: var(--accent-magenta);
  color: #ffffff;
}

.file-upload-label .upload-icon {
  font-size: 1.2rem;
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO ADMINISTRATIVA & JÚRI (UX/UI OBSIDIAN)
   ========================================================================== */
.admin-subnav-container {
  background: rgba(14, 17, 27, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 28px;
  position: sticky;
  top: 80px;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.admin-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.admin-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-nav-menu::-webkit-scrollbar {
  display: none;
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
}

.admin-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(236, 72, 153, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.admin-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-indigo), var(--accent-magenta));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-magenta);
}

.admin-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.admin-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.admin-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.admin-user-role {
  font-size: 0.68rem;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.admin-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-breadcrumbs a:hover {
  color: var(--primary-indigo);
}

.admin-breadcrumbs span.separator {
  color: rgba(255, 255, 255, 0.2);
}

.admin-breadcrumbs span.current {
  color: var(--accent-magenta);
  font-weight: 600;
}



