/* ===============================
   HERO MODERN - GLASSMORPHISM
   =============================== */

.hero-modern {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    padding-top: 180px;
    padding-bottom: 3rem;
    margin-top: 0;
    background: linear-gradient(135deg, 
        #212529 0%, 
        #343A40 50%, 
        #212529 100%
    );
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        padding-top: 160px;
        padding-bottom: 2.5rem;
    }
}

/* Background Gradient Animado */
.hero-modern__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(214, 32, 39, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(214, 32, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(214, 32, 39, 0.08) 0%, transparent 60%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Container */
.hero-modern__container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 3rem 2.75rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-modern__container {
        padding: 2.5rem 1.5rem;
    }
}

/* Conteúdo Central */
.hero-modern__content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .hero-modern__content {
        margin-bottom: 2rem;
    }
}

.hero-modern__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(214, 32, 39, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 32, 39, 0.3);
    border-radius: 50px;
    color: #D62027;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-modern__badge i {
    font-size: 1.1rem;
}

.hero-modern__title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (max-width: 768px) {
    .hero-modern__title {
        font-size: 2rem;
    }
}

.hero-modern__subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #D62027;
    margin-bottom: 1rem;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@media (max-width: 768px) {
    .hero-modern__subtitle {
        font-size: 1.1rem;
    }
}

.hero-modern__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

@media (max-width: 768px) {
    .hero-modern__description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

/* CTA Buttons */
.hero-modern__cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

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

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn--primary {
    background: #D62027;
    color: white;
    border: 2px solid #D62027;
    box-shadow: 0 8px 24px rgba(214, 32, 39, 0.3);
}

.hero-btn--primary:hover {
    background: darken(#D62027, 8%);
    border-color: darken(#D62027, 8%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(214, 32, 39, 0.5);
}

.hero-btn--outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn--outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

/* Floating Cards */
.hero-modern__floating-cards {
    position: relative;
    min-height: auto;
    margin: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .hero-modern__floating-cards {
        display: none;
    }
}

.floating-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex: 0 0 auto;
}

.floating-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(214, 32, 39, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(214, 32, 39, 0.3);
}

.floating-card__icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #D62027, darken(#D62027, 10%));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.floating-card:hover .floating-card__icon {
    transform: scale(1.1);
}

.floating-card__icon i {
    font-size: 1.3rem;
    color: #212529;
}

.floating-card__content h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.floating-card__content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin: 0;
}

/* Positioning - Cards agora são flex, sem posicionamento absoluto */
.floating-card--1,
.floating-card--2,
.floating-card--3,
.floating-card--4 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    animation: none;
}

/* Floating Certificate Images */
.floating-certificate {
    position: absolute;
    width: 120px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatCertificate 8s ease-in-out infinite;
    opacity: 0.85;
    border: 2px solid rgba(214, 32, 39, 0.3);
}

.floating-certificate:hover {
    transform: scale(1.15) translateY(-10px);
    opacity: 1;
    box-shadow: 0 15px 50px rgba(214, 32, 39, 0.5);
    border-color: rgba(214, 32, 39, 0.6);
    z-index: 10;
}

.floating-certificate--1 {
    top: -20%;
    right: -15%;
    animation: floatCert1 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-certificate--2 {
    top: 50%;
    left: -15%;
    animation: floatCert2 7s ease-in-out infinite;
    animation-delay: 2s;
}

.floating-certificate--3 {
    bottom: 20%;
    right: -15%;
    animation: floatCert3 9s ease-in-out infinite;
    animation-delay: 3.5s;
}

@keyframes floatCert1 {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }
    25% {
        transform: translateY(-20px) rotate(-5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-10deg);
    }
    75% {
        transform: translateY(-25px) rotate(-7deg);
    }
}

@keyframes floatCert2 {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
    }
    25% {
        transform: translateY(-18px) rotate(8deg);
    }
    50% {
        transform: translateY(-12px) rotate(3deg);
    }
    75% {
        transform: translateY(-22px) rotate(6deg);
    }
}

@keyframes floatCert3 {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    25% {
        transform: translateY(-22px) rotate(-2deg);
    }
    50% {
        transform: translateY(-8px) rotate(-7deg);
    }
    75% {
        transform: translateY(-20px) rotate(-4deg);
    }
}

@media (max-width: 1024px) {
    .floating-certificate {
        display: none;
    }
}

/* Stats Bar */
.hero-modern__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

@media (max-width: 768px) {
    .hero-modern__stats {
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.stat-item i {
    color: #D62027;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .stat-item {
        font-size: 0.9rem;
    }
}

/* Scroll Indicator */
.hero-modern__scroll {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    animation: fadeIn 1s ease-out 1.5s backwards, bounce 2s ease-in-out 2s infinite;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-modern__scroll {
        display: none;
    }
}

.hero-modern__scroll:hover {
    color: #D62027;
}

.hero-modern__scroll i {
    font-size: 1.25rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive */
@media (max-width: 1200px) {
    .floating-card--1 {
        left: 5%;
    }
    
    .floating-card--2 {
        right: 5%;
    }
    
    .floating-card--3 {
        left: 5%;
    }
    
    .floating-card--4 {
        right: 5%;
    }
}

