
/* ===== HERO MODERNO ===== */

/* Container principal do hero com gradiente dinâmico */
.hero-section-modern {
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--primary-dark) 30%, 
        #003962 70%, 
        var(--primary-blue) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
}

/* Efeito de partículas de fundo */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Badge moderno acima do título */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
   
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(94, 234, 212, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(94, 234, 212, 0.6);
    }
}

.hero-badge i {
    color: var(--accent-light);
}

/* Título principal com efeito de digitação */
.hero-title-modern {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-title-modern .title-line {
    display: block;
    overflow: hidden;
}

.hero-title-modern .title-gradient {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: titleReveal 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title-modern .title-white {
    color: var(--white);
    position: relative;
    display: inline-block;
    animation: titleReveal 1s 0.2s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title-modern .title-accent {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: titleReveal 1s 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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


/* ——— Badge do INDEX: pulo + pausa (igual ao das páginas internas) ——— */
@keyframes badgeBounceHold {
  0%   { transform: translateY(0); }
  8%   { transform: translateY(-5px); }  /* 1º pulo rápido */
  16%  { transform: translateY(0); }
  24%  { transform: translateY(-3px); }  /* 2º pulinho (recuo) */
  32%  { transform: translateY(0); }     /* volta ao repouso */
  100% { transform: translateY(0); }     /* pausa longa até reiniciar */
}

.hero-badge i {
  color: var(--accent-light);
  will-change: transform;
  animation: badgeBounceHold 3.6s ease-out infinite; /* 3.6s = pulo + pausa */
}


/* Subtítulo com efeito de fade-in */
.hero-subtitle-modern {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
    animation: fadeInUp 1s 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

/* Container de botões modernizado */
.hero-buttons-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Botões com efeito de profundidade */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-light));
    color: var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 
        0 10px 20px rgba(20, 77, 184, 0.3),
        0 6px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::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: left 0.5s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 30px rgba(20, 77, 184, 0.4),
        0 10px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-hero-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-hero-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero-outline:hover::before {
    opacity: 1;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Ícones dos botões com animação */
.btn-hero-primary i,
.btn-hero-outline i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(5px) rotate(5deg);
}

.btn-hero-outline:hover i {
    transform: translateX(3px);
}

/* Stats container moderno */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Container do vídeo modernizado */
.hero-media-container {
    position: relative;
    animation: fadeInUp 1s 0.7s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.video-card-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.video-card-modern:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.video-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.video-card-modern:hover::before {
    opacity: 1;
}

.video-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-title {
    color: var(--white);
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.video-badge {
    background: var(--accent-teal);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-aspect-modern {
    position: relative;
    width: 100%;
}

.video-aspect-modern::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 */
}

.video-hero-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

/* Elementos decorativos flutuantes */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: floatElement 20s infinite linear;
}

.floating-element.shape-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: var(--accent-light);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.floating-element.shape-2 {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    animation-delay: 5s;
}

.floating-element.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: var(--accent-teal);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    animation-delay: 10s;
}

@keyframes floatElement {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(20px) rotate(270deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Responsividade */
@media (max-width: 991px) {
    .hero-section-modern {
        text-align: center;
        padding: 120px 0 60px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons-modern {
        justify-content: center;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }
    
    .hero-media-container {
        margin-top: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .hero-subtitle-modern {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        padding: 0.875rem 1.5rem;
    }
}



