/* ==================== ESTILOS MODERNOS ULTRA PREMIUM ==================== */

/* Canvas de Partículas 3D */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Formas Geométricas Flutuantes */
.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(52,152,219,0.2));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  top: 50%;
  right: -150px;
  animation-delay: -5s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

.shape-4 {
  width: 350px;
  height: 350px;
  top: 20%;
  right: 20%;
  animation-delay: -15s;
  opacity: 0.3;
}

@keyframes morphShape {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    transform: rotate(180deg) scale(0.9);
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    transform: rotate(270deg) scale(1.05);
  }
}

/* Badges Flutuantes */
.floating-badges {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.badge-float {
  position: absolute;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: floatBadge 6s ease-in-out infinite;
}

.badge-float i {
  font-size: 1.5rem;
  color: #ffd700;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.5));
}

.badge-1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.badge-2 {
  top: 65%;
  left: 5%;
  animation-delay: -2s;
}

.badge-3 {
  top: 40%;
  right: 8%;
  animation-delay: -4s;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px) rotate(-2deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

/* Badge de Destaque no Hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 25px;
  border-radius: 50px;
  margin-bottom: 25px;
  animation: badgePulse 3s ease-in-out infinite;
  box-shadow: 0 5px 25px rgba(255,255,255,0.1);
}

.hero-badge i {
  color: #ffd700;
  font-size: 1.2rem;
  animation: rotateCertificate 10s linear infinite;
}

.hero-badge span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 5px 25px rgba(255,255,255,0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(255,255,255,0.2);
  }
}

@keyframes rotateCertificate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Título Hero Moderno */
.hero-title {
  font-size: 5rem !important;
  font-weight: 900 !important;
  margin-bottom: 30px !important;
  line-height: 1 !important;
  letter-spacing: -2px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-title-line {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 5s ease infinite;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.5));
  transform-origin: left center;
  animation: slideInTitle 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.hero-title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.4s;
  padding-left: 40px;
}

@keyframes gradientText {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes slideInTitle {
  0% {
    opacity: 0;
    transform: translateX(-100px) rotateY(-45deg);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotateY(0);
    filter: blur(0);
  }
}

/* Subtitle com highlights */
.subtitle-highlight {
  background: linear-gradient(135deg, #3498db, #5dade2);
  padding: 2px 12px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  margin: 0 5px;
  box-shadow: 0 4px 15px rgba(52,152,219,0.4);
  animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(52,152,219,0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(52,152,219,0.6);
  }
}

/* Grupo de CTAs */
.hero-cta-group {
  display: flex;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

/* Botão 3D Premium */
.btn-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
}

.btn-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  transform: translateZ(-1px);
  border-radius: 50px;
}

.btn-3d:hover {
  transform: translateY(-8px) scale(1.05) rotateX(10deg);
  box-shadow: 
    0 15px 40px rgba(52,152,219,0.6),
    0 0 60px rgba(52,152,219,0.4);
}

.btn-3d .btn-shine {
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s;
}

.btn-3d:hover .btn-shine {
  left: 150%;
}

.btn-3d .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  margin-right: 10px;
  transition: transform 0.3s;
}

.btn-3d:hover .btn-icon {
  transform: rotate(360deg) scale(1.2);
}

/* Botão Ghost */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateX(10px);
  box-shadow: 0 5px 25px rgba(255,255,255,0.2);
}

.btn-ghost i {
  transition: transform 0.4s ease;
  animation: bounceArrow 2s ease-in-out infinite;
}

.btn-ghost:hover i {
  transform: translateY(5px);
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Hero Stats Cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.stat-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db, #5dade2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 5px 20px rgba(52,152,219,0.4);
  transition: transform 0.4s ease;
}

.stat-card:hover .stat-icon {
  transform: rotate(360deg) scale(1.1);
}

.stat-content h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: white;
}

.stat-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Imagem Hero Moderna */
.image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2);
  animation: rotateDecoration 20s linear infinite;
}

.decoration-1 {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
}

.decoration-2 {
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes rotateDecoration {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.image-frame {
  position: relative;
  z-index: 2;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 10px rgba(255,255,255,0.1),
    0 0 100px rgba(52,152,219,0.4);
  transition: all 0.5s ease;
}

.image-frame:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 
    0 40px 100px rgba(0,0,0,0.6),
    0 0 0 15px rgba(255,255,255,0.15),
    0 0 120px rgba(52,152,219,0.6);
}

.pulse-ring {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(52,152,219,0.3);
  animation: pulseRing 3s ease-out infinite;
  z-index: 3;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: white;
  animation: fadeInUp 1s ease 2s backwards;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.5);
  border-radius: 25px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.wheel {
  width: 4px;
  height: 10px;
  background: white;
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

.scroll-indicator p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Parallax Effect */
.parallax-element {
  transition: transform 0.3s ease-out;
}

/* Responsividade Ultra Completa */

/* Tablets (iPad, etc) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem !important;
  }
  
  .hero-badge {
    font-size: 0.9rem;
    padding: 12px 28px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .stat-card {
    padding: 20px 15px;
  }
  
  .image-frame img {
    width: 280px;
    height: 280px;
  }
}

/* Tablets pequenos */
@media (max-width: 968px) {
  .floating-badges {
    display: none;
  }

  .hero-title {
    font-size: 3rem !important;
  }

  .hero-title-line:nth-child(2) {
    padding-left: 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .btn-ghost,
  .btn-3d {
    width: 100%;
    justify-content: center;
  }

  .shape {
    opacity: 0.3;
  }
  
  .image-frame img {
    width: 250px;
    height: 250px;
  }
}

/* Smartphones */
@media (max-width: 768px) {
  /* Desabilitar cursor customizado no mobile */
  .custom-cursor,
  .cursor-follower {
    display: none !important;
  }
  
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.2;
  }

  .hero-badge {
    font-size: 0.85rem;
    padding: 10px 22px;
    margin-bottom: 20px;
  }

  .hero-stats {
    gap: 12px;
    margin: 25px 0;
  }

  .stat-card {
    padding: 18px 12px;
  }

  .stat-card h3 {
    font-size: 1.8rem;
  }

  .stat-card p {
    font-size: 0.8rem;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .hero-cta-group {
    gap: 12px;
  }

  .btn-3d,
  .btn-ghost {
    font-size: 0.9rem;
    padding: 12px 24px;
  }

  .image-frame {
    margin: 30px 0 20px 0;
  }

  .image-frame img {
    width: 200px;
    height: 200px;
  }

  .image-decoration {
    width: 220px;
    height: 220px;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .scroll-indicator p {
    font-size: 0.75rem;
  }

  .particles-canvas {
    opacity: 0.3;
  }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem !important;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 8px 18px;
  }

  .stat-card h3 {
    font-size: 1.5rem;
  }

  .btn-3d,
  .btn-ghost {
    font-size: 0.85rem;
    padding: 10px 20px;
  }

  .image-frame img {
    width: 180px;
    height: 180px;
  }

  .image-decoration {
    width: 200px;
    height: 200px;
  }
}
