/* Estilos para a frase principal */
.hero-title {
    position: relative;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(151, 13, 5, 0.1), transparent);
    animation: shine 3s infinite;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: radial-gradient(circle at 50% 50%, rgba(151, 13, 5, 0.05) 0%, transparent 70%);*/
    pointer-events: none;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-line {
    display: block;
    color: #212529;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.title-line::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    /*background: linear-gradient(90deg, #970d05, #ff6b35);*/
    animation: lineExpand 2s ease-out 1s forwards;
}

@keyframes lineExpand {
    to { width: 100%; }
}

.title-highlight {
    display: block;
    color: #970d05;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
    background: linear-gradient(45deg, #970d05, #ff6b35, #970d05);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate, gradientShift 3s ease-in-out infinite;
}

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

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #970d05, #ff6b35, #970d05);
    border-radius: 2px;
    animation: expand 2s ease-in-out infinite;
}

.title-highlight::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    /*background: linear-gradient(90deg, transparent, #ffd700, transparent);*/
    border-radius: 2px;
    animation: expand 2s ease-in-out infinite 0.5s;
}

@keyframes glow {
    from { 
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(151, 13, 5, 0.5);
        filter: brightness(1);
    }
    to { 
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 30px rgba(151, 13, 5, 0.8);
        filter: brightness(1.2);
    }
}

@keyframes expand {
    0% { width: 0%; opacity: 0; }
    50% { width: 80%; opacity: 1; }
    100% { width: 80%; opacity: 1; }
}

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

.title-subtitle {
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
}

.title-subtitle p {
    font-size: 1.3rem;
    color: #6c757d;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 2;
}

.title-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #970d05, transparent);
    transform: translateY(-50%);
}

.flame-animation {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 5px;
    z-index: 3;
}

.flame {
    width: 8px;
    height: 20px;
    background: linear-gradient(to top, #970d05, #ff6b35, #ffd700);
    border-radius: 50% 50% 20% 20%;
    animation: flicker 1.5s infinite alternate;
    position: relative;
    box-shadow: 0 0 10px rgba(151, 13, 5, 0.5);
}

.flame:nth-child(1) { animation-delay: 0s; }
.flame:nth-child(2) { animation-delay: 0.3s; }
.flame:nth-child(3) { animation-delay: 0.6s; }

.flame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: #ffd700;
    border-radius: 50% 50% 20% 20%;
    animation: flicker 1.5s infinite alternate;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
}

@keyframes flicker {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Efeito de 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: rgba(151, 13, 5, 0.3);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.5s; }

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

/* Responsividade */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .title-highlight {
        font-size: 3rem;
    }
    
    .title-subtitle p {
        font-size: 1.1rem;
    }
    
    .flame-animation {
        top: 10px;
        right: 15px;
    }
    
    .flame {
        width: 6px;
        height: 15px;
    }
    
    .particles {
        display: none;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
    
    .title-highlight {
        font-size: 2.5rem;
    }
    
    .hero-title {
        padding: 20px 0;
    }
    
    .title-line::after {
        display: none;
    }
} 