/* Estilos para o botão de Teste Vocacional no navbar */
.btn-teste-vocacional {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #156e59, #27a48c);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(21, 110, 89, 0.2);
}

:root {
  --gradient-start: #156e59;
  --gradient-middle: #1e8973;
  --gradient-end: #3fedca;
  --accent-color: #ff6b6b;
  --success-color: #20bf6b;
  --warning-color: #f7b731;
  --info-color: #45aaf2;
  --light-bg: #f8f9fa;
  --dark-text: #2d3436;
  --medium-text: #636e72;
  --light-text: #b2bec3;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-round: 50px;
  --box-shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

.btn-teste-vocacional:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(21, 110, 89, 0.3);
  background: linear-gradient(135deg, #0d5242, #156e59);
}

.btn-teste-vocacional i {
  font-size: 1rem;
}

/* Estilos para o botão de Indicação melhorado */
.btn-referral-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0d5242, #156e59);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(238, 82, 83, 0.25);
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.btn-referral-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn-referral-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(238, 82, 83, 0.35);
}

.btn-referral-cta:hover::before {
  left: 100%;
}

.btn-referral-cta i {
  font-size: 1.2rem;
}

/* Estilos para o Modal de Indicação */
.referral-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.referral-modal.active {
  display: flex;
  opacity: 1;
}

.referral-modal-content {
  background-color: white;
  border-radius: 15px;
  width: 90%;
  max-width: 550px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  animation: modalFadeIn 0.4s forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.referral-modal-header {
  background: linear-gradient(135deg, #156e59, #27a48c);
  color: white;
  padding: 25px 30px;
  position: relative;
}

.referral-modal-header h2 {
  margin: 0 0 5px;
  font-size: 1.8rem;
  font-weight: 700;
}

.referral-modal-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.referral-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.referral-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.referral-modal-body {
  padding: 30px;
}

/* Indicador de progresso */
.step-indicator-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.step-indicator {
  display: flex;
  align-items: center;
  width: 60%;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.3s ease;
}

.step-circle.active {
  background-color: #156e59;
  color: white;
  box-shadow: 0 5px 15px rgba(21, 110, 89, 0.3);
}

.step-circle.completed {
  background-color: #20bf6b;
  color: white;
}

.step-line {
  flex: 1;
  height: 3px;
  background-color: #e9ecef;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.step-line.active {
  background-color: #156e59;
}

/* Etapas do formulário */
.referral-step {
  display: none;
}

.referral-step.active {
  display: block;
  animation: fadeIn 0.4s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #343a40;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus {
  border-color: #156e59;
  box-shadow: 0 0 0 3px rgba(21, 110, 89, 0.1);
  outline: none;
}

.referral-step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-step-next,
.btn-step-submit {
  background-color: #156e59;
  color: white;
}

.btn-step-next:hover,
.btn-step-submit:hover {
  background-color: #0d5242;
}

.btn-step-prev {
  background-color: #e9ecef;
  color: #495057;
}

.btn-step-prev:hover {
  background-color: #dee2e6;
}

/* Tela de agradecimento */
.thank-you-screen {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.thank-you-screen.active {
  display: block;
  animation: bounceIn 0.6s forwards;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  70% {
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: #20bf6b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(32, 191, 107, 0.3);
}

.thank-you-screen h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #343a40;
}

.thank-you-screen p {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 25px;
}

.btn-close-modal {
  background-color: #156e59;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  background-color: #0d5242;
}

/* Seção da Comunidade WhatsApp - Design Melhorado */
.community-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2325d366' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.community-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #20bf6b);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  animation: pulse 2s infinite;
}

.community-badge i {
  font-size: 18px;
}

.community-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.community-benefits {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid #0d5829;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(6, 73, 31, 0.3);
}

.benefit-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.community-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* WhatsApp Mockup */
.whatsapp-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 500px;
  background: #333;
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #666;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #e5ddd5;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.whatsapp-header {
  background: #25d366;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

.group-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.group-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.group-info span {
  font-size: 12px;
  opacity: 0.8;
}

.chat-messages {
  flex: 1;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  max-width: 80%;
  align-self: flex-start;
}

.message.own {
  align-self: flex-end;
}

.message-content {
  background: white;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message.own .message-content {
  background: #dcf8c6;
}

/* Community Stats */
.community-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  background: white;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  min-width: 120px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #25d366;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* Community CTA */
.community-cta {
  text-align: center;
  background: white;
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.cta-content {
  margin-bottom: 30px;
}

.cta-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.btn-community-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #25d366, #20bf6b);
  color: white;
  border: none;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-community-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #20bf6b, #1ea85c);
  transition: all 0.3s ease;
}

.btn-community-cta:hover::before {
  left: 0;
}

.btn-community-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(37, 211, 102, 0.5);
}

.btn-community-cta i {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.btn-community-cta span {
  position: relative;
  z-index: 1;
}

/* Depoimentos Carrossel Vertical */
.testimonials-section-vertical {
  padding: 100px 0;
  background: white;
}

.section-header-enhanced {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-header-enhanced h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
}

.section-header-enhanced p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 30px;
}

.section-decoration {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #156e59, #3fedca);
  margin: 0 auto;
  border-radius: 2px;
}

.testimonials-vertical-container {
  position: relative;
  height: 600px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.testimonials-vertical-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  transition: transform 0.1s linear;
}

.testimonial-card-vertical {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(21, 110, 89, 0.1);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.testimonial-quote-vertical {
  text-align: center;
  margin-bottom: 20px;
}

.testimonial-quote-vertical i {
  font-size: 2rem;
  color: rgba(21, 110, 89, 0.2);
}

.testimonial-content-vertical {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  font-style: italic;
  text-align: center;
  margin-bottom: 30px;
  flex-grow: 1;
}

.testimonial-author-vertical {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.author-avatar-vertical {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #156e59, #1e8973);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(21, 110, 89, 0.3);
  flex-shrink: 0;
}

.author-details-vertical h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.author-details-vertical p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.author-rating-vertical {
  display: flex;
  gap: 2px;
}

.author-rating-vertical i {
  color: #ffc107;
  font-size: 0.8rem;
}

.testimonials-scroll-indicator {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 200px;
  background: rgba(21, 110, 89, 0.1);
  border-radius: 2px;
}

.scroll-line {
  width: 100%;
  height: 100%;
  background: rgba(21, 110, 89, 0.1);
  border-radius: 2px;
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #156e59, #1e8973);
  border-radius: 2px;
  transition: transform 0.1s linear;
}

/* Responsividade */
@media (max-width: 768px) {
  .community-content {
    grid-template-columns: 1fr;
  }

  .popular-courses-grid {
    grid-template-columns: 1fr;
  }

  .referral-modal-content {
    width: 95%;
  }

  .step-indicator {
    width: 80%;
  }

  .testimonials-vertical-container {
    height: 500px;
  }

  .testimonial-card-vertical {
    padding: 30px;
    min-height: 200px;
  }

  .section-header-enhanced h2 {
    font-size: 2.2rem;
  }
}

/* Estilos para os cards de cursos */
.popular-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.course-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #156e59;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-free-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #ff6b6b;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-details {
  padding: 20px;
  flex: 1;
}

.ratings {
  color: #ffc107;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.ratings span {
  color: #6c757d;
  margin-left: 5px;
}

.students {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.course-details h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #343a40;
  line-height: 1.4;
}

.course-description {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.course-category,
.course-instructor {
  font-size: 0.8rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-buttons {
  padding: 0 20px 20px;
}

.btn-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #156e59;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  width: 100%;
}

.btn-info:hover {
  background-color: #0d5242;
}

.course-card-fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .community-content {
    grid-template-columns: 1fr;
  }

  .popular-courses-grid {
    grid-template-columns: 1fr;
  }

  .referral-modal-content {
    width: 95%;
  }

  .step-indicator {
    width: 80%;
  }
}

/* Animações */
@keyframes pulse {
  0% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  }

  50% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  }

  100% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  }
}