* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  background: #f8f8f8;
}

/* Carrossel */
.carousel {
  position: relative;
  overflow: hidden;
  height: 500px;
}

.carousel .slides {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carousel img {
  width: 80%;
  height: 600px;
  object-fit: cover;
}

.carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
}
.carousel-slide {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.slide-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(43, 47, 109, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }

/* Seções */
section {
  padding: 40px 20px;
  text-align: center;
}

section h2 {
  margin-bottom: 10px;
  color: #2b2f6d;
}

section p {
  max-width: 600px;
  margin: 0 auto 20px;
}

.btn {
  display: inline-block;
  background: #2b2f6d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
}

.btn:hover {
  background: #1e2152;
}

/* Contato */
.contato {
  background: linear-gradient(135deg, #2b2f6d, #4b52a1);
  color: white;
}

.contato h2,
.contato p {
  color: white;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

form input,
form textarea {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

form button {
  padding: 10px;
  background: #ffcc00;
  color: #2b2f6d;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: #e6b800;
}

/* Jogue Agora */
.jogue-agora {

  color: rgba(255, 255, 255, 0.993);
  padding: 60px 20px;
}

.jogue-agora h2,
.jogue-agora p {
  color: #2b2f6d;
}

/* Botões flutuantes */
.btn-float {
  position: fixed;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: white;
  text-decoration: none;
}

.btn-float.tel {
  left: 20px;
  background: #2b2f6d;
}

.btn-float.zap {
  right: 20px;
  background: #25D366;
}

/* Responsividade */
@media (max-width: 768px) {
  .carousel {
    height: 200px;
  }
  .carousel img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 30px 15px;
  }
  .btn {
    padding: 8px 16px;
  }
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #2b2f6d;
  color: white;
}

.logo {
  font-size: 18px;
  font-weight: bold;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.menu {
  display: none;
  flex-direction: column;
  background: white;
  position: absolute;
  top: 60px;
  right: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

.menu a {
  padding: 10px 20px;
  text-decoration: none;
  color: #2b2f6d;
  display: block;
}

.menu a:hover {
  background: #f0f0f0;
}

/* Desktop - sempre mostrar */

  .menu-header {
    position: fixed; /* Fica fixo no topo */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #2b2f6d;
    color: white;
    z-index: 1000; /* Garante que fica acima de tudo */
  }
  
  .logo {
    font-size: 18px;
    font-weight: bold;
  }
  
  .menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px; /* Espaço abaixo do cabeçalho */
    right: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  .menu a {
    padding: 10px 20px;
    text-decoration: none;
    color: #2b2f6d;
    display: block;
  }
  
  .menu a:hover {
    background: #f0f0f0;
  }
  
  /* Desktop */
  @media (min-width: 768px) {
    .menu {
      display: flex !important;
      position: static;
      flex-direction: row;
      background: none;
      box-shadow: none;
    }
    .menu a {
      color: white;
    }
    .menu a:hover {
      background: rgba(255,255,255,0.1);
    }
    .menu-toggle {
      display: none;
    }
  }
  
  /* Dá espaço para o conteúdo não ficar escondido atrás do menu fixo */
  body {
    padding-top: 60px;
  }
  
.cards-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.card {
  width: 300px;
  height: 280px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Bolha com o título */
.bubble {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 130px;
  height: 50px;
  background-color: #2b2f6d;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.bubble h2 {
  color: white;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

/* Botão fora da imagem, centralizado */
.card .btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b2f6d;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  z-index: 3;
}

.card .btn:hover {
  background: #1e2152;
}

.slide {
  position: relative;
}

.carousel-text {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
  color: rgb(0, 0, 0);
  padding: 20px 30px;
  font-size: 2rem;
  font-weight: bold;
  font-family: 'Arial Black', sans-serif;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}


/* Calendario */


body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;
}

h2 {
  color: #333;
  margin-bottom: 10px;
}

/* Contêiner do calendário */
#calendar {
  width: 800px;          /* largura fixa menor */
  margin: 0px auto;     /* centraliza horizontalmente */
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* para o padding não aumentar a largura */
}

@media (max-width: 480px) {
  #calendar {
    padding: 8px;
  }
  .fc .fc-col-header-cell-cushion {
    font-size: 12px; /* dias da semana menores */
  }
  .fc .fc-daygrid-day-number {
    font-size: 12px;
  }
  .fc-event {
    font-size: 11px;
    padding: 1px 2px;
  }
}

#calendar {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}


/* Número dos dias */
.fc-daygrid-day-number {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #333 !important;
  padding: 4px !important;
}

/* Células do calendário */
.fc-daygrid-day-frame {
  border: 1px solid #ddd !important;
  padding: 6px !important;
  position: relative;
}

/* Estilo para eventos (aulas) */
.fc-event {
  background-color: #007bff !important;  /* Azul */
  border: none !important;
  color: white !important;
  font-size: 13px !important;
  padding: 2px 4px !important;
  border-radius: 4px !important;
  text-align: left !important;
  white-space: normal !important;
}

/* Evento feriado */
.fc-event.feriado {
  background-color: #dc3545 !important; /* Vermelho */
}

/* Legenda */
.legenda {
  width: 600px;          /* mesma largura do calendário */
  margin: 20px auto;
  text-align: left;
  font-size: 14px;
}

.legenda span {
  display: inline-block;
  margin-right: 15px;
  padding-left: 20px;
  position: relative;
}

.legenda .aula::before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #007bff;
  position: absolute;
  left: 0;
  top: 2px;
  border-radius: 3px;
}

.legenda .feriado::before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #dc3545;
  position: absolute;
  left: 0;
  top: 2px;
  border-radius: 3px;
}

/* ===== Efeito Hover nos Cards ===== */
.card {
  width: 300px;
  height: 280px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

/* Zoom da imagem e destaque do card */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.card:hover img {
  transform: scale(1.1);
}

/* ===== Estilo geral do calendário ===== */
#calendar {
  width: 100%;          /* ocupa toda a largura disponível */
  max-width: 800px;     /* não ultrapassa o tamanho do desktop */
  margin: 0 auto;       /* centraliza horizontalmente */
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* Cabeçalho do calendário */
/* Cabeçalho do calendário - dias da semana */

.fc .fc-col-header-cell-cushion {
  color: #2b2f6d !important;  /* cor do texto dos dias */
  font-weight: bold;
  font-size: 14px;
}

.fc-toolbar-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
}

.fc-button {
  background: #007bff;
  border: none;
  border-radius: 8px !important;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.3s;
}

.fc-button:hover {
  background: #0056b3;
}

/* Estilo dos dias */
.fc-daygrid-day {
  transition: background 0.3s ease;
}

.fc-daygrid-day:hover {
  background: #f3f7ff;
  cursor: pointer;
}

/* Eventos normais (aulas) */
.aula {
  background: #28a745 !important;
  border: none !important;
  color: #fff !important;
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 2px 4px;
}

/* Eventos de feriado */
.feriado {
  background: #dc3545 !important;
  border: none !important;
  color: #fff !important;
  font-weight: bold;
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 2px 4px;
}

/* ===== Ajuste Fale Conosco - Remove sobras e ajusta largura ===== */
#fale-comigo {
  width: 100%;
  margin: 0;
  padding: 40px 20px; /* mantém espaçamento interno */
  background: linear-gradient(180deg, #2b2f7d, #3f4399); /* fundo azul igual do site */
  box-sizing: border-box;
}

#fale-comigo form {
  max-width: 500px;  /* mantém o formulário centralizado */
  margin: 0 auto;
}

#fale-comigo input,
#fale-comigo textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  box-sizing: border-box;
}

#fale-comigo button {
  width: 100%;
  padding: 10px;
  background-color: #ffd500; /* amarelo do site */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
