/* Reset e Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Títulos */
h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #85009b;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Seção Hero com Efeito Typewriter */
.hero-section {
  background: linear-gradient(135deg, #f5f5f5, #ffffff);
  padding: 100px 0;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ff6b6b, #ff9b9b, #ff6b6b);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientAnimation 3s infinite;
  margin-bottom: 20px;
}

@keyframes gradientAnimation {
  0% { background-position: 0%; }
  50% { background-position: 100%; }
  100% { background-position: 0%; }
}

/* Efeito Typewriter para o Subtítulo */
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #333;
  margin-top: 10px;
  overflow: hidden;
  white-space: nowrap;
  border-right: .15em solid #ff6b6b;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtitle::after {
  content: '';
  animation: blink 0.7s infinite;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 50px 0;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
  width: 4px;
  background: #ddd;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 4px solid #000;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd)::after {
  right: -10px;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-content {
  background: linear-gradient(135deg, #85009b, #d400ff);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  color: #ffffff;
  font-size: 0.9rem;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-content .year {
  font-weight: bold;
  margin-bottom: 5px;
  color: #ff9e80;
}

/* Cards 3D - Missão, Visão e Valores */
.mvv-card {
  perspective: 1000px;
}

.card-3d-wrap {
  position: relative;
  width: 100%;
  height: 300px;
}

.card-3d-wrapper {
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  position: relative;
}

.mvv-card:hover .card-3d-wrapper {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-front {
  background: #6a1b9a;
  color: #ffffff;
}

.card-back {
  background: #ff6b6b;
  color: #fff;
  transform: rotateY(180deg);
}

.content-wrap {
  text-align: center;
}

.mvv-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #ff6b6b;
}

/* Seção Estatísticas */
.stats-section {
  padding: 50px 0;
}

.stats-section .progress-value {
  font-size: 1.2rem;
}

.stats-section h4 {
  font-size: 0.9rem;
  margin-top: 5px;
}

.circular-progress-container {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.circular-progress {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
}

.progress-value {
  position: absolute;
  color: #FFFFFF;
}

/* Seção de Cursos Disponíveis */
.courses-section {
  background: #f5f5f5;
  padding: 50px 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.course-card {
  background: #6a1b9a;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.course-icon {
  font-size: 3rem;
  color: #ff9e80;
  margin-bottom: 15px;
}

.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.course-card p {
  font-size: 0.9rem;
  color: #e1e1e1;
}

/* Formulário de Contato */
.contact-section {
  padding: 50px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #85009b, #d400ff);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #ffffff;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #ffffff;
  color: #333;
  font-size: 0.9rem;
}

.btn-submit {
  background: #ff6b6b;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #e55a5a;
}

/* Media Queries */
@media(max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    text-align: left;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item::after {
    left: 10px;
  }
}

@media(max-width: 576px) {
  .mvv-card, .contact-form {
    padding: 15px;
  }
}