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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  padding: 5px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-left span,
.top-bar-right a {
  color: #fff;
  text-decoration: none;
}

.top-bar-right a:hover {
  color: #ccc;
}

.language-selector {
  background-color: #fff;
  padding: 2px 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

/* Regras para header/topbar com fundo sólido (ao rolar ou em páginas internas) */
.top-bar.scrolled {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.top-bar.scrolled .top-bar-left span,
.top-bar.scrolled .top-bar-right a {
  color: #666;
}


/* Header */
.header {
  background-color: transparent;
  color: #fff;
  padding: 15px 0;
  position: absolute;
  top: 32px; 
  left: 0;
  width: 100%;
  z-index: 9;
}

.header.scrolled {
  background-color: #000;
  position: fixed; /* Adicionado para manter no topo ao rolar */
  top: 0;
  /* A top-bar some, então o header.scrolled assume o topo */
}

/* Ajuste para quando a top-bar some no mobile e o header está no topo */
@media (max-width: 768px) {
  .header {
    top: 0;
  }
  .header.scrolled {
     /* No mobile, a top-bar não existe, então o header.scrolled fica fixo no topo */
    position: fixed;
    top: 0;
  }
  /* Adiciona padding ao body para compensar o header fixo */
  body.scrolled {
    padding-top: 70px; /* Ajuste baseado na altura do header */
  }
}


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

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.menu-toggle span:not(:last-child) {
  width: 20px;
  height: 2px;
  background-color: #fff;
  display: block;
}

.logo img {
  height: 40px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #fff;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ccc;
}

.search-icon {
  color: #fff;
  cursor: pointer;
}

.account-text {
  font-size: 14px;
}


/* Hero Section (Página Inicial) */
.hero {
  position: relative;
  height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* justify-content: center; <-- Removido para alinhar no container */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-background .hero-video,
.hero-background .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background .hero-img {
  position: absolute;
  top: 0;
  left: 0;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  text-align: left; /* MODIFICADO */
  color: #fff;
  z-index: 2;
  padding-top: 100px; 
  max-width: 600px; /* ADICIONADO */
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 20px; /* MODIFICADO */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* NOVOS ESTILOS ADICIONADOS */
.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.hero-description {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 30px;
}
/* FIM DOS NOVOS ESTILOS */


.cta-button {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none; /* ADICIONADO para links */
  display: inline-flex; /* MODIFICADO */
  align-items: center; /* MODIFICADO */
  gap: 10px; /* MODIFICADO */
  
    border-radius: 72px;
}

.cta-button:hover {
  background-color: #fff;
  color: #000;
}

/* NOVO ESTILO ADICIONADO */
.cta-button .arrow-icon {
  width: 16px;
  height: 16px;
  fill: #fff;
  transition: fill 0.3s;
}

/* NOVO ESTILO ADICIONADO */
.cta-button:hover .arrow-icon {
  fill: #000;
}

.hero-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-nav-btn {
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Main Content */
.main-content {
  padding: 60px 0;
  background: #000000e8;
}

/* Calendar and Events */
.calendar-events {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.calendar-widget {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

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

.calendar-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.calendar-nav button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.calendar-days span {
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  color: #666;
  padding: 5px;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 20px;
}

.calendar-dates span {
  text-align: center;
  padding: 8px 5px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.calendar-dates span:hover {
  background-color: #e9ecef;
}

.calendar-dates .today {
  background-color: #dc3545;
  color: #fff;
}

.calendar-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-color.programming {
  background-color: #dc3545;
}

.legend-color.tickets {
  background-color: #28a745;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.event-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
}

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

.event-info {
  padding: 20px;
}

.event-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.event-info p {
  font-size: 14px;
  color: #666;
}

/* News Section */
.news-section {
  margin-bottom: 80px;
}

.news-section h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: #333;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.news-main {
  position: relative;
}

.news-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  padding: 40px 30px 30px;
  border-radius: 0 0 8px 8px;
}

.news-date {
  font-size: 12px;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-content h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 10px 0 20px;
  line-height: 1.4;
}

.read-more {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.read-more:hover {
  opacity: 0.8;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.news-item-content {
  flex: 1;
}

.news-item .news-date {
  color: #999;
  margin-bottom: 5px;
}

.news-item h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
}

/* Casa da OSPA */
.casa-ospa {
  margin-bottom: 80px;
}

.casa-ospa h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: #333;
}

.casa-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.casa-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.casa-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.casa-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.casa-images img:first-child {
  grid-column: 1 / -1;
  height: 250px;
}

/* YouTube Section */
.youtube-section {
  margin-bottom: 80px;
}

.youtube-section h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: #333;
}

.youtube-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.youtube-main {
  position: relative;
}

.video-thumbnail {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.video-overlay:hover {
  background: rgba(0, 0, 0, 0.5);
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.play-button:hover {
  transform: scale(1.1);
}

.video-info {
  padding: 20px 0;
}

.video-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.video-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.youtube-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-item {
  display: flex;
  gap: 15px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.video-item:hover {
  opacity: 0.8;
}

.video-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.video-item-info h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
}

/* Footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 30px;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logos img,
.footer-logos-right img {
  height: 40px;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.footer-section p {
  font-size: 12px;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 5px;
}

.footer-logos-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #ccc;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-bottom p {
  font-size: 12px;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 15px;
  }

  .top-bar {
    display: none;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 15px;
  }

  .header-right {
    order: -1;
    width: 100%;
    justify-content: flex-end;
  }
  
  .hero {
    /* Alinha o container no mobile */
    justify-content: center;
  }

  .hero-content {
    text-align: center; /* Centraliza no mobile */
    padding-top: 50px;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }

  .calendar-events {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .casa-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .casa-images {
    grid-template-columns: 1fr;
  }

  .casa-images img:first-child {
    grid-column: 1;
  }

  .youtube-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .news-section h2,
  .casa-ospa h2,
  .youtube-section h2 {
    font-size: 2rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .video-item {
    flex-direction: column;
  }

  .video-item img {
    width: 100%;
    height: 150px;
  }
}


/* ================================================================
   NOVOS ESTILOS ADICIONADOS PARA A PÁGINA 'agenda.html'
================================================================
*/

/* Banner de Título da Página (ex: Agenda de Concertos) */
.page-title-banner {
  position: relative;
  height: 300px; /* Mais curto que o hero */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* Garante que o banner comece abaixo do header 'scrolled' */
  margin-top: 70px; /* Ajuste para a altura do header fixo */
}

/* Em telas maiores, o header não é fixo por padrão, então remove a margem */
@media (min-width: 769px) {
  .page-title-banner {
    margin-top: 0;
    padding-top: 100px; /* Compensa o header transparente */
  }

  /* Se o header.scrolled estiver ativo (JS), o banner deve descer */
  body.scrolled .page-title-banner {
    margin-top: 70px;
    padding-top: 0;
  }
}

.page-title-banner .hero-background {
  /* Reutiliza a classe .hero-background */
  height: 100%;
  z-index: -1; 
}

.page-title-banner .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-title-banner .hero-background::after {
  /* Reutiliza o overlay escuro */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.page-title-banner h1 {
  font-size: 3rem; 
  font-weight: 300;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
}

.breadcrumbs a {
  color: #dc3545; /* Cor de destaque */
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 5px;
}

/* Barra de Filtros */
.filter-bar {
  display: flex;
  flex-wrap: wrap; /* Para responsividade */
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.filter-bar form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-bar label.sr-only { /* Para acessibilidade, se a label estiver oculta */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filter-bar select,
.filter-bar input[type="text"],
.filter-bar input[type="date"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #333;
}

.filter-bar button {
  padding: 9px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s;
}

.filter-bar .cta-button-sort {
  background-color: #333;
  color: #fff;
}
.filter-bar .cta-button-sort:hover {
  background-color: #555;
}

.filter-bar .cta-button-filter {
  background-color: #dc3545; /* Cor de destaque */
  color: #fff;
}
.filter-bar .cta-button-filter:hover {
  background-color: #b02a37;
}

/* Modificação no Event Card (para pino de localização) */
.event-info .event-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #666;
  margin-top: 10px; /* Adiciona espaço acima */
}

.event-info .event-location svg {
  width: 16px;
  height: 16px;
  fill: #666; /* Cor do ícone */
  flex-shrink: 0;
}

/* Paginação */
.pagination {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.pagination li a {
  display: block;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.pagination li a:hover {
  background-color: #f0f0f0;
}

.pagination li a.active {
  background-color: #dc3545; /* Cor de destaque */
  border-color: #dc3545;
  color: #fff;
  font-weight: 600;
}

.pagination .pagination-info {
  font-size: 14px;
  color: #666;
}


/* Ajustes responsivos para os novos elementos */
@media (max-width: 768px) {
  .page-title-banner {
    height: 200px;
  }
  .page-title-banner h1 {
    font-size: 2rem;
  }
  
  .filter-bar,
  .filter-bar form {
    flex-direction: column;
    align-items: stretch; /* Faz os inputs ocuparem a largura total */
  }

  .filter-bar select,
  .filter-bar input,
  .filter-bar button {
    width: 100%;
    text-align: center;
  }
}

.ordered-list[data-astro-cid-ptyzvvjs]{padding:2rem 0}.ordered-list[data-astro-cid-ptyzvvjs] li[data-astro-cid-ptyzvvjs]{list-style:none;counter-increment:item;position:relative;padding:1.5rem 0;display:flex;gap:1.5rem;font-size:var(--f-size--14);align-items:center;transition:outline .3s}.ordered-list[data-astro-cid-ptyzvvjs] li[data-astro-cid-ptyzvvjs]:focus-visible{outline:4px solid var(--clr-secondary-30)}.ordered-list[data-astro-cid-ptyzvvjs] li[data-astro-cid-ptyzvvjs]:not(:last-child){border-bottom:1px solid currentColor}.ordered-list[data-astro-cid-ptyzvvjs] li[data-astro-cid-ptyzvvjs]:before{content:counter(item);font-variation-settings:"wght" 900;font-size:var(--f-size--32)}.card-slider[data-astro-cid-xg4gudyc]{padding:1rem 0}.card-slider[data-astro-cid-xg4gudyc] .cards-wrapper[data-astro-cid-xg4gudyc] .card[data-astro-cid-xg4gudyc]:focus-visible{transition:outline .3s;outline:4px solid var(--clr-secondary-30)}.donation[data-astro-cid-xg4gudyc]{background-color:var(--clr-secondary-10);padding:2rem 1.5rem;height:100%;display:flex;flex-direction:column;color:var(--clr-dark)}.donation[data-astro-cid-xg4gudyc] p{line-height:var(--lh--md)}.donation[data-astro-cid-xg4gudyc] ul[data-astro-cid-xg4gudyc]{flex-grow:1;padding:.5rem 0}.donation[data-astro-cid-xg4gudyc] ul[data-astro-cid-xg4gudyc] li[data-astro-cid-xg4gudyc]{padding:.5rem 0;font-size:var(--f-size--14)}.donation[data-astro-cid-xg4gudyc] ul[data-astro-cid-xg4gudyc] li[data-astro-cid-xg4gudyc]:not(:last-child){border-bottom:1px solid currentColor}