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

body.menu-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #f5f5f5;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: #f5f5f5;
}

html::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue",
    Arial, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --primary: var(--color-primary);
  --primary-light: var(--color-primary-light);
  --primary-dark: var(--color-primary-dark);
  --background: #fafafa;
  --foreground: #1a1a1a;
  --muted: #f0f0f0;
  --muted-foreground: #666666;
  --border: #e5e5e5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(var(--color-primary-rgb), 0.3);
  --radius: 0.75rem;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --color-sidebar-1: #69abac;
  --color-sidebar-2: #307576;
  --color-sidebar-3: #d7ecec;

  --color-white: #ffffff;
  --color-black: #000000;

  --color-background: #eeeeee;
  --color-background-light: #f0f0f0;
  --color-background-gradient-1: #f4d4a4;
  --color-background-gradient-2: #ffffff;

  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;

  --color-border: #dee2e6;
  --color-border-light: #ddd;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Header Moderno ===== */
.header-moderno {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(var(--color-primary-rgb), 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-moderno.scrolled {
  background: rgba(var(--color-primary-rgb), 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-moderno {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo .logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo .logo-img:hover {
  transform: scale(1.1);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #f8f9fa;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #e5e5e5;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-login {
  background: transparent;
  color: white;
  border: 2px solid #e5e5e5;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-portal {
  background: transparent;
  color: #f5a623;
  border: 2px solid #ffe8c5;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-portal:hover {
  background: var(--color-primary);
  color: #f5a623;
  transform: translateY(-2px);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-mobile-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(var(--color-primary-rgb), 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile-toggle {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .nav-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active .nav-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu.active .nav-item:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-menu.active .nav-item:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-menu.active .nav-item:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: 1rem 2rem;
    display: block;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    gap: 10px;
    margin-right: 1rem;
  }

  .btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .btn-portal {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

body {
  padding-top: 80px;
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
}

/* ===== Fase 1: Hero Section ===== */
.eventos-hero {
  background: linear-gradient(135deg, #1f505a, #007f95);
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.eventos-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.eventos-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.eventos-breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-sep {
  font-size: 0.7rem;
  opacity: 0.6;
}

.eventos-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.eventos-hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.eventos-hero-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.3);
}

/* ===== Fase 2: Toolbar + Chips ===== */
.eventos-toolbar-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky;
  top: 72px;
  z-index: 50;
}

.eventos-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.toolbar-search {
  flex: 1;
  position: relative;
  max-width: 400px;
}

.toolbar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.toolbar-search input {
  width: 100%;
  padding: 0.6rem 0.75rem 0.6rem 2.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--muted);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}

.toolbar-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
  background: #fff;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.toolbar-month-select {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  background: #fff;
  cursor: pointer;
  outline: none;
  color: var(--foreground);
}

.toolbar-month-select:focus {
  border-color: var(--primary);
}

/* Chips */
.eventos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.chip-btn:hover {
  border-color: var(--chip-color, var(--primary));
  background: rgba(var(--color-primary-rgb), 0.05);
}

.chip-btn.active {
  background: var(--chip-color, var(--primary));
  color: #fff;
  border-color: var(--chip-color, var(--primary));
}

.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

.chip-btn.active .chip-count {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== Fase 3: Timeline Content ===== */
.eventos-content {
  padding: 2rem 0 4rem;
}

.eventos-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Month group header */
.timeline-month-group {
  margin-bottom: 0.5rem;
}

.timeline-month-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.5rem 0 0.75rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1rem;
}

.timeline-month-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

.timeline-month-year {
  font-weight: 400;
  color: var(--muted-foreground);
}

.timeline-month-count {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  background: var(--muted);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

/* ===== Horizontal Event Card ===== */
.event-card-h {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all var(--transition-base);
}

.event-card-h.revealed {
  opacity: 1;
  transform: translateY(0);
}

.event-card-h:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.event-card-h.hidden-by-filter {
  display: none !important;
}

/* Date block */
.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 1rem 0.75rem;
  background: #f8fafb;
  border-right: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  text-align: center;
  flex-shrink: 0;
}

.event-date-day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--foreground);
}

.event-date-month {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-top: 2px;
}

.event-date-weekday {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 2px;
}

/* Card body (center) */
.event-card-body {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.event-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

/* Translucent category pill */
.event-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--pill-color, #007f95) 12%, transparent);
  color: var(--pill-color, #007f95);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pill-color, #007f95);
}

/* Event tags */
.event-tags {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
}

.event-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-free {
  background: #e8f5e9;
  color: #2e7d32;
}

.tag-price {
  background: #fff3e0;
  color: #e65100;
}

.tag-limited {
  background: #fce4ec;
  color: #c62828;
}

/* Title */
.event-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.35rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta */
.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.meta-item i {
  font-size: 0.85rem;
  color: var(--primary);
}

/* Card image (inline thumbnail) */
.event-card-image {
  margin-top: 0.75rem;
  border-radius: 6px;
  overflow: hidden;
  max-height: 140px;
  position: relative;
  cursor: pointer;
}

.event-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.event-card-h:hover .event-thumb {
  transform: scale(1.03);
}

.event-image-expand {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0;
  transition:
    opacity var(--transition-fast),
    background var(--transition-fast);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.event-card-image:hover .event-image-expand {
  opacity: 1;
}

.event-image-expand:hover {
  background: rgba(0, 0, 0, 0.75);
}

.event-image-expand i {
  font-size: 0.75rem;
}

/* Right column */
.event-card-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  min-width: 190px;
  max-width: 220px;
  border-left: 1px solid var(--border);
  background: #fcfcfc;
  flex-shrink: 0;
}

.event-responsavel {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.responsavel-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.responsavel-name i {
  color: var(--primary);
  font-size: 0.85rem;
}

.responsavel-phone {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.responsavel-phone:hover {
  color: var(--primary);
}

.responsavel-phone i {
  font-size: 0.8rem;
}

/* Card actions */
.event-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.btn-ev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.btn-ev-primary {
  background: var(--primary);
  color: #fff;
}

.btn-ev-primary:hover {
  background: var(--primary-dark, #005f70);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ev-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-ev-outline:hover {
  background: rgba(var(--color-primary-rgb), 0.08);
}

.btn-calendar-add {
  padding: 0.45rem;
  min-width: 0;
  width: 34px;
  height: 34px;
  align-self: flex-end;
}

/* No results */
.eventos-no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted-foreground);
}

.eventos-no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.4;
}

.eventos-no-results h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

/* ===== Modal Evento (Detalhes) ===== */
.modal-evento {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-evento-header {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark, #005f70)
  );
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-evento-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  flex: 1;
  padding-right: 1rem;
}

.modal-evento-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.modal-evento-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-evento-close i {
  font-size: 0.85rem;
}

.modal-evento-body {
  padding: 1.5rem;
}

.modal-evento-desc {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-line;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.modal-evento-desc:empty {
  display: none;
}

.modal-evento-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-evento-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-evento-row:last-child {
  border-bottom: none;
}

.modal-evento-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(var(--color-primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-evento-icon i {
  color: var(--primary);
  font-size: 1rem;
}

.modal-evento-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.modal-evento-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  line-height: 1;
  margin-bottom: 2px;
}

.modal-evento-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
}

.modal-evento-footer {
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  border-top: 1px solid var(--border);
}

.modal-evento-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  min-width: 130px;
}

.modal-evento-btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.modal-evento-btn-whatsapp:hover {
  background: #1fba59;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.modal-evento-btn-primary {
  background: var(--primary);
  color: #fff;
}

.modal-evento-btn-primary:hover {
  background: var(--primary-dark, #005f70);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.35);
}

/* Empty State */
.empty-state {
  padding: 3rem 2rem;
  text-align: center;
}

.empty-state svg {
  margin-bottom: 1.5rem;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(var(--color-primary-rgb), 0.2);
  border-left: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.loading-screen p {
  color: var(--muted-foreground);
  font-size: 1rem;
  margin: 0;
}

/* ===== Floating Actions ===== */
.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition-base);
}

.floating-actions.hidden {
  transform: translateX(150%);
  opacity: 0;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-btn-whatsapp {
  background: #25d366;
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.floating-btn-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #f77737 100%);
  animation: pulse-instagram 2.5s ease-in-out infinite;
}

.floating-btn-youtube {
  background: #ff0000;
  animation: pulse-youtube 3s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  }
}

@keyframes pulse-instagram {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(131, 58, 180, 0.6);
  }
}

@keyframes pulse-youtube {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(253, 29, 29, 0.6);
  }
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .event-card-h {
    flex-wrap: wrap;
  }

  .event-card-right {
    min-width: 100%;
    max-width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
  }

  .event-responsavel {
    margin-bottom: 0;
  }

  .event-card-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: auto;
  }

  .btn-calendar-add {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .eventos-hero {
    padding: 2rem 0 1.75rem;
  }

  .eventos-hero-title {
    font-size: 1.5rem;
  }

  .eventos-hero-stats {
    gap: 1rem;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }

  .eventos-toolbar-section {
    top: 70px;
  }

  .eventos-toolbar {
    flex-wrap: wrap;
  }

  .toolbar-search {
    max-width: 100%;
    flex-basis: 100%;
  }

  .toolbar-controls {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .eventos-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .eventos-chips::-webkit-scrollbar {
    display: none;
  }

  .event-card-h {
    flex-direction: column;
  }

  .event-date-block {
    flex-direction: row;
    min-width: 100%;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
    border-top: 4px solid var(--primary);
  }

  .event-date-day {
    font-size: 1.4rem;
  }

  .event-date-month {
    font-size: 0.8rem;
    margin-top: 0;
  }

  .event-date-weekday {
    margin-top: 0;
    margin-left: auto;
    font-size: 0.75rem;
  }

  .event-card-right {
    flex-direction: column;
    gap: 0.5rem;
  }

  .event-card-actions {
    flex-direction: column;
    margin-left: 0;
  }

  .btn-calendar-add {
    align-self: flex-start;
    width: auto;
    padding: 0.45rem 0.75rem;
  }

  .btn-calendar-add::after {
    content: " Calendário";
    font-size: 0.8rem;
    margin-left: 0.25rem;
  }

  .floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .eventos-hero-title {
    font-size: 1.25rem;
  }

  .eventos-hero-subtitle {
    font-size: 0.9rem;
  }

  .event-card-title {
    font-size: 1rem;
  }

  .timeline-month-title {
    font-size: 1.1rem;
  }
}

/* ===== VLibras ===== */
.vw-plugin-top-wrapper {
  z-index: 10000;
}

@media (max-width: 768px) {
  .vw-plugin-top-wrapper {
    bottom: 70px !important;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--foreground);
  color: var(--background);
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: background var(--transition-base);
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: white;
}

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

.footer-contact li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-logo-right {
  display: flex;
  align-items: center;
}

.footer-mtco-logo-small {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-mtco-logo-small:hover {
  opacity: 1;
}

.mtco-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.mtco-link:hover {
  transform: scale(1.05);
}

.footer-col {
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 8px;
}

.footer-col h5 {
  color: #fff;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col ul.nav-flex-column li {
  margin-bottom: 8px;
}

.footer-col a.text-body-secondary:hover {
  color: #fff !important;
}

.footer-logo {
  max-height: 50px;
  width: auto;
  margin-right: 10px;
}

.footer-mtco-logo {
  height: 20px;
  width: auto;
  margin-right: 8px;
}

.footer-social-container {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-social-container a {
  display: block;
  transition: transform 0.3s ease;
  color: #fff !important;
}

.footer-social-container a:hover {
  transform: scale(1.1);
}

.f_area_icone_item {
  font-size: 18px;
  color: #fff;
  min-width: 24px;
  text-align: center;
  margin-top: 2px;
}

.footer-copyright {
  padding: 15px 0;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1200px) {
  .footer-col {
    flex: 0 0 33.333%;
    min-width: 33.333%;
  }
}

@media (min-width: 992px) {
  .footer-col {
    flex: 0 0 50%;
    min-width: 50%;
    padding: 12px;
  }

  .footer-logo {
    max-height: 40px;
  }

  .footer-col h5 {
    font-size: 16px;
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-grid {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-logo-right {
    justify-content: center;
  }

  .footer-mtco-logo-small {
    height: 18px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-col {
    flex: 0 0 100%;
    min-width: 100%;
    text-align: center;
    padding: 15px 10px;
  }

  .footer-social-container {
    justify-content: center;
    align-items: center;
    margin: 15px 0;
  }

  .footer-copyright {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 15px 10px;
    margin-top: 20px;
  }

  .footer-logo {
    max-height: 35px;
    margin-right: 8px;
  }

  .fs-5 {
    font-size: 1.1rem !important;
  }

  .d-flex.align-items-center {
    justify-content: center;
    flex-wrap: wrap;
  }

  .f_area_info_item {
    text-align: center;
  }

  .footer-col .d-flex {
    justify-content: center !important;
  }

  .footer-col .text-center.text-md-start {
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-col {
    padding: 12px 5px;
  }

  .footer-logo {
    max-height: 30px;
  }

  .fs-5 {
    font-size: 1rem !important;
  }

  .footer-col h5 {
    font-size: 15px;
  }

  .f_area_icone_item {
    font-size: 16px;
    min-width: 20px;
  }

  .footer-copyright {
    font-size: 14px;
    padding: 12px 5px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-copyright .d-flex {
    justify-content: center !important;
    width: 100%;
  }

  .f_area_info_item div,
  .f_area_info_item a {
    word-break: break-word;
    font-size: 14px;
  }

  .footer-mtco-logo-small {
    height: 16px;
  }
}

@media (hover: none) {
  .footer-social-container a:hover {
    transform: none;
  }
}
