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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0f0c29;
  color: #fff;
  line-height: 1.6;
}

header {
  height: 80px;
  background-color: #1a1a2e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.logo {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  border-bottom: 1px solid transparent;
}

nav a:hover {
  color: #3A46FF;
  border-bottom: 1px solid #3A46FF;
}

.hero {
  background-image: url('./assets/background.png');
  background-position: 0px -50px;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: flex-end; /* move o conteúdo para a direita */
  align-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 41, 0.6); /* leve overlay para melhorar contraste */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin-right: 100px;;
}

.hero-content h1 {
  font-size: 5rem;
  color: #FFF;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-content h2 {
  font-size: 1.6rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.3rem;
  color: #eee;
}

.video-section {
  height: 80vh;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #0f0c29, #302b63);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.video-container {
  max-width: 900px;
  width: 100%;
}

.video-section h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #FFF;
}

.video-section p {
  font-size: 1.05rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(58, 70, 255, 0.3);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}

section {
  padding: 4rem 2rem;
  text-align: center;
  scroll-margin-top: 80px;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #FFF;
}

.carrossel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem;
  scroll-snap-type: x mandatory;
}

.carrossel video {
  width: 300px;
  height: auto;
  border-radius: 10px;
  scroll-snap-align: center;
  background: #000;
}

#detalhes {
  background-color: #1b1b2b;
  min-height: 500px;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#detalhes h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.detalhes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}


.card {
  width: 350px;
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  background-color: #1e1e2f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(58, 70, 255, 0.4);
}

.card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.4rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.8rem;
  text-align: center;
  margin: 0;
  color: #FFF;
  backdrop-filter: blur(3px);
}

.card-content-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content-bottom p {
  font-size: 0.95rem;
  color: #eee;
  margin-bottom: 0.5rem;
}

.card-content-bottom a {
  display: inline-block;
  margin-top: 0.8rem;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
}

.card.calendar-bg {
  background-image: url('assets/calendar-bg.png');
  background-size: cover;
  background-position: center;
}

.card.docs-bg {
  background-image: url('assets/docs-bg.png');
  background-size: cover;
  background-position: center;
}

.card.cineteatro-bg {
  background-image: url('assets/cineteatro.jpeg');
  background-size: cover;
  background-position: center;
}

#formulario {
  background-color: #141425;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

form input,
form textarea {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #1e1e2f;
  color: white;
}

form input::placeholder,
form textarea::placeholder {
  color: #888;
}

form button {
  padding: 1rem;
  background: #3A46FF;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #2c35d3;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #3A46FF;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.3s ease;
  transform: translateY(20px);
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #10101a;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #333;
}

footer img {
  height: 40px;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.9rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .detalhes-container {
    flex-direction: column;
    align-items: center;
  }

  .carrossel {
    flex-direction: column;
    align-items: center;
  }

  .carrossel video {
    width: 90%;
  }
}

/* Estilos existentes mantidos acima */

@media (max-width: 1024px) {
  .hero {
    background-image: none;
    background-color: #090b2b !important;
  }

  .hero-content {
    padding: 1rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-content h2 {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
    height: auto;
    padding: 1rem;
    align-items: center;
    justify-content: center;
  }

  nav ul {
    display: none;
  }

  .hero {
    flex-direction: column;
    height: auto;
    padding: 4rem 1rem;
    background-position: center top;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }

  .video-section {
    padding: 3rem 1rem;
    height: auto;
  }

  .video-container {
    width: 100%;
  }

  .video-wrapper {
    border-radius: 8px;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .detalhes-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    height: auto;
  }

  form {
    width: 100%;
    padding: 0 1rem;
  }

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

  footer img {
    margin-bottom: 0.5rem;
  }
}

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

  .hero-content h2 {
    font-size: 1.1rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .card-content-bottom p {
    font-size: 0.9rem;
  }

  form input,
  form textarea,
  form button {
    font-size: 0.95rem;
    padding: 0.8rem;
  }

  .toast {
    bottom: 20px;
    right: 20px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}
