@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Nunito+Sans:wght@300;400;600;700&display=swap');

:root {
  /* Cores Principais - Extraídas da identidade visual Mentoria TI */
  --bg-primary: #0a1118;
  --bg-secondary: #162b3c;
  --bg-accent: #255c7d;
  --color-gold: #c5a088;
  --color-gold-hover: #b48e75;
  --color-whatsapp: #5fb96f;
  --color-whatsapp-hover: #4ea85e;
  --color-text-light: #fefdf9;
  --color-text-muted: #abb8c3;
  --glass-bg: rgba(22, 43, 60, 0.45);
  --glass-border: rgba(197, 160, 136, 0.2);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--color-text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients */
.bg-gradient-glow {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(37, 92, 125, 0.15) 0%, rgba(10, 17, 24, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Barra de Progresso */
header {
  padding: 40px 0 20px;
  text-align: center;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 25px;
}

.logo-icon {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(197, 160, 136, 0.25));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: 2px;
  color: var(--color-text-light);
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 4px;
  color: var(--color-gold);
  line-height: 1;
  margin-top: 3px;
}

.progress-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 16px;
  max-width: 650px;
  margin: 0 auto 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.progress-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.progress-bar-bg {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar-fill {
  width: 0%; /* Animado pelo JS */
  height: 100%;
  background: linear-gradient(90deg, var(--bg-accent) 0%, var(--color-gold) 100%);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite;
}

/* Hero Section */
.hero-grid-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 50px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right {
  display: flex;
  align-items: stretch;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(0deg, var(--bg-primary) 0%, rgba(10, 17, 24, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 25px;
}

.hero-title span {
  color: var(--color-gold);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 35px;
}

.hero-description strong {
  color: var(--color-text-light);
}

/* Alertas & Regras */
.alert-box {
  background: rgba(22, 43, 60, 0.3);
  border-left: 4px solid var(--color-gold);
  padding: 20px;
  border-radius: 0 12px 12px 0;
  text-align: left;
  max-width: 750px;
  margin: 0 auto 35px;
}

.alert-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.alert-item:last-child {
  margin-bottom: 0;
}

.alert-icon {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.alert-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.alert-text strong {
  color: var(--color-text-light);
}

/* Button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 45px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(95, 185, 111, 0.4);
  position: relative;
  overflow: hidden;
  animation: pulse-whatsapp 2s infinite;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(95, 185, 111, 0.6);
}

.btn-whatsapp i {
  margin-right: 12px;
  font-size: 1.5rem;
}

/* Section Common Styles */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.3;
}

.section-title span {
  color: var(--color-gold);
}

/* Funil / Passos */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.step-card {
  background: rgba(22, 43, 60, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border);
  background: rgba(22, 43, 60, 0.4);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--bg-secondary);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-gold);
  margin: 0 auto 20px;
}

.step-card.active .step-number {
  background: var(--color-gold);
  color: var(--bg-primary);
}

.step-card.completed .step-number {
  background: var(--bg-accent);
  border-color: var(--bg-accent);
  color: #fff;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Video Testimonials Section */
.cases-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(22, 43, 60, 0.3) 50%, var(--bg-primary) 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

.video-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(197, 160, 136, 0.4);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16; /* Focado em depoimentos verticais/stories */
  background: #000;
  overflow: hidden;
  border-radius: 24px;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom Play Button Overlay */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-card.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-badge {
  align-self: flex-start;
  background: rgba(197, 160, 136, 0.2);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid rgba(197, 160, 136, 0.3);
}

.play-btn-circle {
  width: 70px;
  height: 70px;
  background: rgba(197, 160, 136, 0.15);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  color: var(--color-gold);
  font-size: 1.8rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(197, 160, 136, 0.2);
}

.video-overlay:hover .play-btn-circle {
  background: var(--color-gold);
  color: var(--bg-primary);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(197, 160, 136, 0.5);
}

.video-info-text {
  text-align: left;
}

.video-student-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 5px;
}

.video-student-meta {
  font-size: 0.85rem;
  color: var(--color-gold);
  line-height: 1.4;
  margin-top: 4px;
}

/* Três Pilares */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pilar-card {
  background: rgba(22, 43, 60, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  position: relative;
}

.pilar-card:hover {
  background: rgba(22, 43, 60, 0.35);
  border-color: var(--glass-border);
  transform: translateY(-5px);
}

.pilar-icon {
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.pilar-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

.pilar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-text-light);
}

.pilar-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Mentor Section */
.mentor-section {
  background: linear-gradient(0deg, var(--bg-primary) 0%, rgba(22, 43, 60, 0.25) 100%);
}

.mentor-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.mentor-content {
  text-align: left;
}

.mentor-subtitle {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.mentor-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.mentor-bio p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.mentor-bio p strong {
  color: var(--color-text-light);
}

.mentor-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background-color: var(--bg-secondary);
  aspect-ratio: 4/5;
}

.mentor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bottom CTA section */
.bottom-cta {
  text-align: center;
  padding: 80px 0 100px;
}

.bottom-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.bottom-cta p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 35px;
  font-size: 1.05rem;
}

/* Footer */
footer {
  background-color: #050a0f;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

footer a {
  color: var(--color-gold);
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--color-gold-hover);
}

footer p {
  margin-bottom: 10px;
}

/* Animations */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 185, 111, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(95, 185, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(95, 185, 111, 0);
  }
}

/* Responsive CSS */
@media (max-width: 992px) {
  .hero-grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-image-wrapper {
    height: 480px;
  }
  .mentor-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .mentor-content {
    text-align: center;
    order: 2;
  }
  .mentor-image-container {
    max-width: 400px;
    margin: 0 auto;
    order: 1;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .steps-grid, .video-grid, .pilares-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section-padding {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 35px;
  }
  .hero-card {
    padding: 30px 20px;
  }
}
