/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, #4e54c8, #8f94fb);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.hero {
  background: url('../img/hero.png') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0; /* Fica atrás */
}
.hero .container {
  position: relative;
  z-index: 1; /* Fica acima do overlay */
}

/* Títulos */
.bg-light h1, .bg-light h2, .bg-light h3 {
  color: #4e54c8;
  font-weight: 700;
  margin-bottom: 1rem;
}
.bg-page h1, .bg-page h2, .bg-page h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Botões */
.btn-primary {
  background: linear-gradient(90deg, #fc466b, #3f5efb);
  border: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #3f5efb, #fc466b);
  transform: scale(1.05);
}

/* Cards */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}
/* Rodapé */
footer, .bg-page {
  background: linear-gradient(90deg, #4e54c8, #8f94fb);
  color: #fff;
}

/* Formulário */
form .form-control {
  border-radius: 0.75rem;
  border: 1px solid #ccc;
  padding: 0.75rem;
}

form .form-control:focus {
  border-color: #4e54c8;
  box-shadow: 0 0 0 0.2rem rgba(78, 84, 200, 0.25);
}

/* Galeria */
.img-fluid {
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.05);
}

/* Seções */
section {
  padding: 60px 0;
}

/* Contagem regressiva */
#countdown {
  font-size: 2rem;
  font-weight: bold;
  color: #fc466b;
}

/* Links */
a {
  color: #4e54c8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Extras */
.bg-gradient {
  background: linear-gradient(135deg, #fc466b, #3f5efb);
  color: #fff;
  padding: 20px;
  border-radius: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.custom-alert {
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.custom-alert .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.custom-alert .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
