/* RESET E FONT */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

/* HEADER / MENU */
header {
  position: fixed;
  width: 100%;
  top: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  height: 50px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.menu li a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.btn-login {
  background: rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn-login:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
}

/* MENU SANDUICHE RESPONSIVO */
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 200px;
    display: none;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  #menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
}

/* SEÇÃO HERO */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

/* SLIDESHOW */
.slideshow-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

/* Controles do slideshow */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
  z-index: 2;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}

/* Indicadores (dots) */
.dots-container {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: rgba(255,255,255,0.9);
}

/* Hero text sobre o slideshow */
.hero-text {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23667eea" width="1200" height="600"/><g fill-opacity="0.1"><circle fill="%23fff" cx="200" cy="100" r="80"/><circle fill="%23fff" cx="800" cy="400" r="120"/><circle fill="%23fff" cx="1000" cy="200" r="60"/></g></svg>');
  opacity: 0.3;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.btn-primary {
  background: rgba(255,255,255,0.95);
  color: #667eea;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* SEÇÕES */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  color: #667eea;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

/* CARDS SOBRE */
.cards-sobre, .cards-planos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
  border-color: #667eea;
}

.card h3 {
  color: #667eea;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.card p {
  color: #666;
  line-height: 1.6;
}

/* FORMULÁRIO */
form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.3s;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

form button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer p {
  margin: 0;
  opacity: 0.9;
}

/* SEÇÃO PLANOS - DESTAQUE */
.planos {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.cards-planos .card {
  position: relative;
}

.cards-planos .card:nth-child(2) {
  border: 2px solid #667eea;
  transform: scale(1.05);
}

.cards-planos .card:nth-child(2)::before {
  content: 'POPULAR';
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.cards-planos .card p:first-of-type {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  margin: 15px 0;
}

/* RESPONSIVIDADE MELHORADA */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .cards-planos .card:nth-child(2) {
    transform: scale(1);
  }
}
