/* VARIÁVEIS GLOBAIS */
:root {
  --primary-color: #d97706;
  --secondary-color: #fbbf24;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --text-color: #374151;
  --border-color: #e5e7eb;
}

/* RESET E CONFIGURAÇÕES GERAIS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* NAVEGAÇÃO */
#mainNav {
  background: rgba(31, 41, 55, 0.95);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

#mainNav.scrolled {
  backdrop-filter: blur(5px);
  padding: 0.35rem 0;
}

.navbar-brand {
  font-size: 1.8rem !important;
  font-weight: 800;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
  transform: scale(1.035);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar .navbar-toggler {
  color: transparent;
}

.navbar .navbar-icon {
  color : #fbbf24 !important;
  font-size: 2em;
}

/* SEÇÃO HERO */
.hero-section {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(55, 65, 81, 0.8)),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&h=1080&fit=crop") center / cover;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  animation: gradientShift 8s ease-in-out infinite;
}

.hero-section button:hover {
  transform: scale(1.035);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(251, 191, 36, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-stats {
  position: relative;
  z-index: 2;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
  }
  to {
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.6), 0 0 40px rgba(251, 191, 36, 0.3);
  }
}

@keyframes staggerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CLASSES DE ANIMAÇÃO */
.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.stagger-animation {
  opacity: 0;
  transform: translateY(30px);
  animation: staggerFadeIn 0.8s ease-out forwards;
}

.stagger-animation:nth-child(1) {
  animation-delay: 0.1s;
}
.stagger-animation:nth-child(2) {
  animation-delay: 0.2s;
}
.stagger-animation:nth-child(3) {
  animation-delay: 0.3s;
}
.stagger-animation:nth-child(4) {
  animation-delay: 0.4s;
}
.stagger-animation:nth-child(5) {
  animation-delay: 0.5s;
}
.stagger-animation:nth-child(6) {
  animation-delay: 0.6s;
}

/* CARDS DE RECURSOS */
.feature-card {
  background: white;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: white;
  position: relative;
  z-index: 1;
}

/* CARDS DE DEPOIMENTOS */
.testimonial-card {
  background: white;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform-style: preserve-3d;
}

.testimonial-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.stars i {
  font-size: 1.1rem;
}

/* CARDS DE PLANOS */
.pricing-card {
  background: white;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform-style: preserve-3d;
}

.pricing-card:hover {
  transform: translateY(-15px) rotateX(3deg) scale(1.02);
  box-shadow: 0 35px 70px rgba(217, 119, 6, 0.2);
}

.pricing-card-popular {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.pricing-card-popular:hover {
  transform: scale(1.05) translateY(-15px) rotateX(3deg) rotateY(3deg);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.price {
  color: var(--primary-color);
}

/* SEÇÃO CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1920&h=600&fit=crop") center / cover;
  opacity: 0.1;
}

/* BOTÕES */
.btn,
button,
a {
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.btn-warning {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

.btn-warning:hover {
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
  color: white;
}

/* RODAPÉ */
footer {
  background: var(--dark-color) !important;
}

.social-links a,
.social-contact .btn {
  position: relative;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-links a:hover,
.social-contact .btn:hover {
  transform: translateY(-5px) scale(1.2) rotate(5deg);
}

/* BOTÃO VOLTAR AO TOPO */
#backToTop {
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

/* DESIGN RESPONSIVO */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .pricing-card-popular {
    transform: none;
    margin-top: 1rem;
  }

  .feature-card:hover,
  .testimonial-card:hover,
  .instructor-card:hover {
    transform: translateY(-10px);
  }

  .pricing-card:hover {
    transform: translateY(-10px) scale(1.01);
  }

  .particles {
    display: none;
  }
}

@media (max-width: 576px) {
  .display-3 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .stat-card {
    padding: 1rem;
  }

  .feature-card,
  .testimonial-card,
  .pricing-card,
  .instructor-card {
    margin-bottom: 1rem;
  }

  .instructor-img {
    height: 200px;
  }

  .accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }

  .contact-item {
    margin-bottom: 1rem;
  }

  .social-contact {
    text-align: center;
    margin-top: 2rem;
  }

  .accordion-body {
    padding: 1rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .overflow-fix {
    overflow-x: hidden;
  }
}

/* ANIMAÇÃO DE LOADING */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

/* ANIMAÇÕES DE SCROLL */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SEÇÃO DE INSTRUTORES */
.instructor-card {
  background: white;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  transform-style: preserve-3d;
}

.instructor-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.instructor-img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instructor-card:hover .instructor-img {
  transform: scale(1.05);
}

.instructor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 41, 55, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instructor-card:hover .instructor-overlay {
  opacity: 1;
}

.instructor-overlay .social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.instructor-overlay .social-links a:hover {
  transform: scale(1.1);
}

/* SEÇÃO FAQ */
.accordion-item {
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  background: white;
  border: none;
  padding: 1.5rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(217, 119, 6, 0.25);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23374151'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 1.25rem;
  height: 1.25rem;
  background-size: 1.25rem;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
  width: 1.25rem;
  height: 1.25rem;
  background-size: 1.25rem;
}

.accordion-body {
  padding: 1.5rem;
  background: #fafafa;
  font-size: 1rem;
  line-height: 1.7;
}

/* SEÇÃO DE CONTATO */
.contact-item {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(217, 119, 6, 0.25), 0 5px 15px rgba(217, 119, 6, 0.1);
  transform: scale(1.02);
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-control:hover,
.form-select:hover {
  border-color: var(--primary-color);
}

.social-contact .btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-contact .btn:hover {
  transform: translateY(-3px) scale(1.1);
}

/* VALIDAÇÃO DE FORMULÁRIO */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: #28a745;
}

/* ANIMAÇÃO DO FORMULÁRIO DE CONTATO */
#contactForm {
  animation: fadeInUp 0.8s ease-out;
}

/* INDICADOR DE PROGRESSO DA PÁGINA */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 9999;
}

.progress-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  width: 0%;
  transition: width 0.1s ease;
}

/* PARTÍCULAS FLUTUANTES */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

/* TRANSITIONS ENTRE SEÇÕES */
section {
  transition: all 0.3s ease;
}

/* EFEITOS DE SOMBRA EM TÍTULOS */
.display-3,
.display-4,
.display-5 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* EFEITO PARALLAX */
.parallax {
  transform: translateZ(0);
  will-change: transform;
}