/* style.css - Página Principal - Versão Corrigida e Simples */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8f6fc;
  color: #444;
  overflow-x: hidden;
  font-size: 16px;
  width: 100%;
}

/* ========== PARTÍCULAS DE FUNDO ========== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(110, 57, 196, 0.08);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* ========== NAVBAR FIXA ========== */
header {
  background: #6e39c4;
  height: 70px;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo-left, .logo-right {
  flex: 0 0 auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 5px 8px;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffd700;
}

.nav-links a.ativo {
  color: #ffd700;
  font-weight: 600;
}

/* Dropdown básico */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle .fa-chevron-down {
  font-size: 0.7em;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #7a4dcf;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 5px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-item:hover {
  background: rgba(255,255,255,0.1);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
}

/* ========== CARROSSEL FULLSCREEN ========== */
.hero-carousel {
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Overlay para melhor leitura */
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.carousel-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 30px;
  z-index: 2;
  position: relative;
}

.carousel-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.carousel-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1.4;
}

.carousel-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #6e39c4;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.carousel-btn:hover {
  background: #8f4b4b;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* ========== SEÇÃO AGENDA ========== */
.agenda-section {
  padding: 80px 20px;
  background: #f8f6fc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #6e39c4;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.agenda-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .agenda-content {
    flex-direction: row;
  }
  
  .calendar-container {
    flex: 1.2;
  }
  
  .events-list {
    flex: 0.8;
  }
}

.calendar-container, .events-list {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.calendar-header h3 {
  color: #6e39c4;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 600;
}

.calendar-nav {
  background: #6e39c4;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.calendar-nav:hover {
  background: #8f4b4b;
  transform: scale(1.1);
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-weekday {
  text-align: center;
  font-weight: 600;
  color: #6e39c4;
  padding: 10px 5px;
  font-size: 0.9rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid transparent;
  background: #f8f6fc;
}

.calendar-day:hover {
  background: #e6e1f7;
  border-color: #6e39c4;
}

.calendar-day.other-month {
  background: #f0f0f0;
  color: #999;
  cursor: default;
}

.calendar-day.other-month:hover {
  background: #f0f0f0;
  border-color: transparent;
}

.calendar-day.today {
  background: #6e39c4;
  color: white;
  border-color: #6e39c4;
}

.calendar-day.has-event {
  background: #e6e1f7;
  border-color: #8f4b4b;
  position: relative;
}

.calendar-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  background: #8f4b4b;
  border-radius: 50%;
}

.events-list h3 {
  color: #6e39c4;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
  font-size: 1.4rem;
  font-weight: 600;
}

.events-container {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 5px;
}

.events-container::-webkit-scrollbar {
  width: 5px;
}

.events-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.events-container::-webkit-scrollbar-thumb {
  background: #6e39c4;
  border-radius: 10px;
}

.event-card {
  background: #f8f6fc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #6e39c4;
  transition: all 0.3s;
}

.event-card:hover {
  transform: translateX(5px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.event-card.featured {
  border-left-color: #8f4b4b;
  background: #f0edf9;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #6e39c4;
  font-weight: 600;
  font-size: 0.9rem;
}

.event-title {
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.event-description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.85rem;
}

.event-category {
  background: #6e39c4;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

.event-time {
  color: #8f4b4b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.no-events {
  text-align: center;
  padding: 40px 20px;
  color: #777;
}

.no-events i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #6e39c4;
}

.no-events h4 {
  margin-bottom: 10px;
  color: #444;
  font-size: 1.2rem;
}

/* ========== SEÇÃO O QUE OFERECEMOS ========== */
#o-que-oferecemos {
  padding: 80px 20px;
  background: white;
}

#Titulo {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #6e39c4;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

#Titulo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #6e39c4, #8f4b4b);
  border-radius: 2px;
}

.offerings-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 0 15px;
}

.offerings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

@media (min-width: 768px) {
  .offerings-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.offering-card {
  background: #f8f6fc;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.offering-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: #6e39c4;
}

.offering-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6e39c4, #8f4b4b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
  transition: transform 0.3s;
}

.offering-card:hover .offering-icon {
  transform: scale(1.1) rotate(5deg);
}

.offering-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #6e39c4;
  font-weight: 600;
}

.offering-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1rem;
}

.offering-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
  text-align: left;
}

@media (max-width: 576px) {
  .offering-features {
    grid-template-columns: 1fr;
  }
}

.offering-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 0.95rem;
}

.offering-features i {
  color: #6e39c4;
  font-size: 0.9em;
}

.offering-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 30px;
  background: #6e39c4;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.offering-btn:hover {
  background: #8f4b4b;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-color: rgba(255,255,255,0.2);
}

.offerings-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .offerings-info {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  text-align: center;
  padding: 30px;
  background: #f8f6fc;
  border-radius: 10px;
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: #e6e1f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #6e39c4;
  font-size: 1.5rem;
}

.info-card h4 {
  color: #6e39c4;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.info-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ========== FOOTER ========== */
footer {
  background: #6e39c4;
  color: white;
  padding: 60px 20px 30px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-section p {
  margin-bottom: 10px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section i {
  width: 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: white;
  color: #6e39c4;
  transform: translateY(-3px);
}

.footer-newsletter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.8;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-legal {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 10px;
}

/* ========== RESPONSIVIDADE ESSENCIAL ========== */
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #6e39c4;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 12px 15px;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
    background: rgba(255,255,255,0.05);
  }
  
  .hamburger {
    display: block;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    background: rgba(0,0,0,0.1);
    box-shadow: none;
    margin-top: 10px;
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-item {
    padding-left: 30px;
  }
  
  .carousel-content h1 {
    font-size: 2.2rem;
  }
  
  .carousel-content p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  #Titulo {
    font-size: 2rem;
  }
  
  .logo img {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 80vh;
    min-height: 500px;
  }
  
  .carousel-content h1 {
    font-size: 1.8rem;
  }
  
  .carousel-content p {
    font-size: 1rem;
  }
  
  .carousel-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .calendar {
    gap: 5px;
  }
  
  .calendar-day {
    font-size: 0.85rem;
  }
  
  .calendar-weekday {
    font-size: 0.8rem;
    padding: 8px 3px;
  }
  
  .offering-card {
    padding: 25px 20px;
  }
  
  .offering-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .offering-title {
    font-size: 1.3rem;
  }
  
  .agenda-section, #o-que-oferecemos {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0 15px;
    height: 65px;
  }
  
  .hero-carousel {
    height: 70vh;
    min-height: 450px;
    margin-top: 65px;
  }
  
  .carousel-content h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .carousel-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .carousel-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .carousel-indicators {
    bottom: 20px;
    gap: 10px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  #Titulo {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  
  .offerings-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .calendar-container, .events-list {
    padding: 20px 15px;
  }
  
  .calendar-header h3 {
    font-size: 1.1rem;
  }
  
  .calendar-nav {
    width: 30px;
    height: 30px;
  }
  
  .events-list h3 {
    font-size: 1.2rem;
  }
  
  .event-card {
    padding: 15px;
  }
  
  .event-title {
    font-size: 1rem;
  }
  
  .event-description {
    font-size: 0.85rem;
  }
  
  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .offering-features {
    grid-template-columns: 1fr;
  }
  
  .offering-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .info-card {
    padding: 20px 15px;
  }
  
  .footer-content {
    gap: 30px;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-section p {
    font-size: 0.9rem;
  }
}

/* Ajuste para garantir que o conteúdo não ultrapasse a tela */
.page-content {
  width: 100%;
  overflow: hidden;
}

/* Garantir que imagens sejam responsivas */
img {
  max-width: 100%;
  height: auto;
}

/* Estilo para links ativos */
a.ativo {
  position: relative;
}

a.ativo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #ffd700;
  border-radius: 2px;
}