/* Design System - Partimos.com.br */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Logo Icon Brand Color Palette */
  --brand-orange: #ff5200;
  --brand-cyan: #40c0df;
  --brand-teal: #00a1b5;
  --brand-yellow: #f4b324;
  --brand-green: #62b334;

  --bg-dark: #090d16;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 35, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(255, 82, 0, 0.3);
  
  --primary: var(--brand-orange);
  --primary-glow: rgba(255, 82, 0, 0.4);
  --secondary: var(--brand-cyan);
  --tertiary: var(--brand-teal);
  --accent-amber: var(--brand-yellow);
  --accent-green: var(--brand-green);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 25px rgba(255, 82, 0, 0.2);
}

/* Glassmorphic Logo Color Utilities */
.glass-btn-primary {
  background: rgba(255, 82, 0, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 82, 0, 0.25);
}
.glass-btn-primary:hover {
  background: rgba(255, 82, 0, 1) !important;
  box-shadow: 0 8px 25px rgba(255, 82, 0, 0.4);
  transform: translateY(-1px);
}

.glass-btn-cyan {
  background: rgba(64, 192, 223, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(64, 192, 223, 0.25);
}
.glass-btn-cyan:hover {
  background: rgba(64, 192, 223, 1) !important;
  box-shadow: 0 8px 25px rgba(64, 192, 223, 0.4);
  transform: translateY(-1px);
}

.glass-btn-teal {
  background: rgba(0, 161, 181, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 161, 181, 0.25);
}
.glass-btn-teal:hover {
  background: rgba(0, 161, 181, 1) !important;
  box-shadow: 0 8px 25px rgba(0, 161, 181, 0.4);
  transform: translateY(-1px);
}

.glass-btn-yellow {
  background: rgba(244, 179, 36, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(244, 179, 36, 0.25);
}
.glass-btn-yellow:hover {
  background: rgba(244, 179, 36, 1) !important;
  box-shadow: 0 8px 25px rgba(244, 179, 36, 0.4);
  transform: translateY(-1px);
}

.glass-btn-green {
  background: rgba(98, 179, 52, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(98, 179, 52, 0.25);
}
.glass-btn-green:hover {
  background: rgba(98, 179, 52, 1) !important;
  box-shadow: 0 8px 25px rgba(98, 179, 52, 0.4);
  transform: translateY(-1px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

/* Navbar */
.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
}

.brand-logo span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 1.5rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 850px;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* Hero 3-Filter Search Bar */
.search-box-glass {
  background: rgba(15, 22, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0.5rem;
}

.filter-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-muted);
}

.filter-select, .filter-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.filter-select:focus, .filter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Sections General */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.section-title-box h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-title-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.35 ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.event-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  position: relative;
}

.badge-urgency {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(245, 158, 11, 0.95);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.badge-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.event-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-price-box {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Pillars Cards */
.pillar-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pillar-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Timeline Cronograma */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.55rem;
  top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-dark);
}

.timeline-content {
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

/* Admin Dashboard Specifics */
.admin-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  min-height: 80vh;
}

.admin-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.sidebar-btn {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-btn:hover, .sidebar-btn.active {
  background: rgba(59, 130, 246, 0.15);
  color: #fff;
}

.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.stat-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card-value {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
}

.period-filter-bar {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.period-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.period-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Chart Canvas Container */
.chart-container {
  position: relative;
  height: 320px;
  width: 100%;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .search-box-glass {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .stats-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-summary-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* High-Impact Hero Banner Entrance Animations */
@keyframes heroBgZoom {
  0% { opacity: 0.2; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1.05); }
}

@keyframes heroBadgePop {
  0% { opacity: 0; transform: translateY(-24px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroTitleFadeUp {
  0% { opacity: 0; transform: translateY(35px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes heroDescFadeUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroPillPop {
  0% { opacity: 0; transform: translateY(20px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroBtnSlideUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-hero-bg {
  animation: heroBgZoom 1s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.animate-hero-badges {
  animation: heroBadgePop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both !important;
}

.animate-hero-title {
  animation: heroTitleFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both !important;
}

.animate-hero-desc {
  animation: heroDescFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both !important;
}

.animate-hero-pills {
  animation: heroPillPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both !important;
}

.animate-hero-btns {
  animation: heroBtnSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both !important;
}

@keyframes heroTimerProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes heroCardPop {
  0% { opacity: 0; transform: translateX(30px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.08); }
}

.animate-hero-card-pop {
  animation: heroCardPop 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both !important;
}

.animate-glow-pulse {
  animation: heroGlowPulse 4s ease-in-out infinite !important;
}

/* Mobile Hamburger Menu Morphing & Awwwards Drawer Animations */
.burger-line {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

.mobile-menu-active .burger-line-1 {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-active .burger-line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-active .burger-line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

@keyframes drawerItemCascade {
  0% { opacity: 0; transform: translateY(24px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.animate-drawer-item-1 { animation: drawerItemCascade 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.animate-drawer-item-2 { animation: drawerItemCascade 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }
.animate-drawer-item-3 { animation: drawerItemCascade 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both; }
.animate-drawer-item-4 { animation: drawerItemCascade 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both; }
.animate-drawer-item-5 { animation: drawerItemCascade 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both; }

/* Awwwards Luxury Dark Glassmorphism Utilities */
.glass-panel-dark {
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.glass-panel-dark:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.awwwards-card-glow {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.awwwards-card-glow:hover {
  transform: translateY(-6px) scale(1.01);
}

.timeline-line-awwwards {
  position: relative;
}

.timeline-line-awwwards::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-orange), var(--brand-cyan), var(--brand-green));
  opacity: 0.4;
}

.active-pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid currentColor;
  animation: heroGlowPulse 2s ease-in-out infinite;
}




/* Mobile Optimization & Touch Ergonomics */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="month"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  button, 
  a,
  input[type="submit"] {
    min-height: 44px;
    touch-action: manipulation;
  }
}
