.hero {
    background: linear-gradient(rgba(1, 0, 68, 0.7), rgba(1, 0, 68, 0.8)), url('../images/fundohero.avif') no-repeat center center/cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    transition: all 0.5s ease;
}

.hero.loaded .hero-content > * {
    opacity: 1;
    transform: translateY(0);
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(233, 52, 50, 0.15) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(233, 52, 50, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

.hero-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-content > *:nth-child(1) {
    transition-delay: 0.1s;
}

.hero-content > *:nth-child(2) {
    transition-delay: 0.3s;
}

.hero-content > *:nth-child(3) {
    transition-delay: 0.5s;
}

.hero-content > *:nth-child(4) {
    transition-delay: 0.7s;
}

.hero-content > *:nth-child(5) {
    transition-delay: 0.9s;
}

.hero-logo-container {
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
    display: flex;
    justify-content: center;
}

.hero-logo {
    max-width: 170px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 66px #fdf46f);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-title .text-secondary {
    color: var(--primary-yellow);
    position: relative;
    display: inline-block;
}

.hero-title .text-secondary::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    margin-right: 8px;
    font-size: 0.9em;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #fff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 241, 17, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-yellow);
}

.btn-secondary:hover {
    background-color: rgba(255, 17, 17, 0.884);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 0.9s forwards;
    opacity: 0;
    position: relative;
    z-index: 3;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1.5rem;
    transition: transform 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-10px);
}

.hero-feature-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 241, 17, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 241, 17, 0.3);
}

.hero-feature-icon {
    font-size: 1.8rem;
    color: var(--primary-yellow);
    transition: all 0.3s ease;
}

.hero-feature:hover .hero-feature-icon-container {
    background: rgba(233, 52, 50, 0.1);
    border-color: rgba(233, 52, 50, 0.3);
    transform: rotate(10deg);
}

.hero-feature:hover .hero-feature-icon {
    color: var(--primary-red);
    transform: scale(1.2);
}

.hero-feature-text {
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-feature:hover .hero-feature-text {
    color: var(--primary-yellow);
}

.hero-scroll {
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    z-index: 3;
}

.hero-scroll-text {
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
    opacity: 0.8;
}

.hero-scroll i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    transition: color 0.3s ease;
}

.hero-scroll:hover {
    transform: translateX(-50%) translateY(-5px);
}

.hero-scroll:hover i {
    color: var(--primary-red);
}

.hero-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    transform: rotate(180deg);    
}

.hero-shape-divider svg {
    position: relative;
    display: block;    
    width: calc(100% + 1.3px);
    height: 40px;
}

.hero-shape-divider .shape-fill {
    fill: #f8f9fa;
}

@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 bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 80px 0 70px;
        background-position: center;
    }
    
    .hero-logo {
        max-width: 120px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-top: 2rem;
        justify-content: center;
    }
    
    .hero-feature {
        margin: 0;
        background-color: rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 30%;
        min-width: 120px;
    }
    
    .hero-feature-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .hero-feature-icon {
        font-size: 1.5rem;
    }
    
    .hero-scroll {
        bottom: 70px;
    }
    
    .hero-shape-divider svg {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 60px;
        min-height: 100vh;
        justify-content: center;
    }
    
    .hero-content {
        padding-top: 60px;
        padding-bottom: 20px;
        width: 100%;
    }
    
    .hero-logo {
        max-width: 100px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 1.5rem;
    }
    
    .hero-feature {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        padding: 12px 8px;
    }
    
    .hero-feature-icon-container {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .hero-feature-icon {
        font-size: 1.2rem;
    }
    
    .hero-feature-text {
        font-size: 0.85rem;
    }
    
    .hero-scroll {
        bottom: 60px;
    }
    
    .hero-scroll-text {
        font-size: 0.8rem;
    }
    
    .hero-scroll i {
        font-size: 1.2rem;
    }
    
    .hero-shape-divider svg {
        height: 30px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-content {
        padding-top: 50px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-feature-icon-container {
        width: 35px;
        height: 35px;
    }
    
    .hero-feature-icon {
        font-size: 1rem;
    }
    
    .hero-feature-text {
        font-size: 0.75rem;
    }
}
