:root {
    --header-height: 80px;
}


.faq-container {
    max-width: 800px;
    margin: 4rem auto;
    font-family: var(--font-secondary);
    color: var(--light-text);
    background: var(--dark-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    padding-bottom: 2rem;
    /* Dá espaço para a sombra do último item aparecer */
}

.faq-item:last-child {
    padding-bottom: 1rem;
    visibility: hidden;
    display: none;

}

.faq-item {
    background: var(--darker-bg);
    border-radius: 10px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.2s ease;
    padding: 8px 20px;
    /* altura | largura */
}



.faq-item:hover {
    transform: scale(1.01);
}

.faq-question {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    /* padding: 1.2rem 1rem; */
    padding: 5px 20px;
    /* altura | largura */
    cursor: pointer;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--light-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    margin-bottom: 1rem;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);


}

.faq-icon {
    font-size: 1.5rem;
    color: var(--muted-text);
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-answer.open {
    padding: 0 1rem 1rem;
    max-height: 500px;
}

/*Estilo do titulo do FAQ*/

.faq-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Espaço entre os elementos */
    margin-bottom: 2rem;
}

.faq-main-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    color: var(--accent-color);
    margin: 0;
}

.faq-sub-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin: 0;
}

/* Linha vertical entre os títulos */
.faq-divider {
    width: 4px;
    height: 28px;
    background-color: var(--muted-text);
    opacity: 0.6;
}

/*Estilo para a seção de premiação*/
/* Seção de premiação com layout flexível */
.award-section {
    background-color: var(--dark-bg);
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    border: 1px solid rgb(248, 248, 248);
     padding: calc(3rem + 80px) 1rem 3rem; /* adiciona espaço no topo */
    /* ✅ Aqui adiciona a borda */
}

.award-container {
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    padding: 2rem;
    
}

/* Imagem com leve inclinação 3D */
.award-image-wrapper {
    flex: 1 1 300px;
    transform: rotate(-3deg);
    box-shadow: var(--shadow-heavy);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.award-image {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

/* Efeito de hover para mais "profundidade" */
.award-image-wrapper:hover .award-image {
    transform: scale(1.05);
}

/* Conteúdo da premiação */
.award-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--darker-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin-top: 20px;
    margin: 10px;
    margin-top: var(--header-height);

}

.award-content {
    flex: 1 1 400px;
    color: var(--light-text);
    font-family: var(--font-primary);
}

.award-title {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: left;
}

.award-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.award-quote {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #d4af37;
    font-style: italic;
    font-weight: 500;
    border-radius: 8px;
}

.award-image-wrapper {

    position: relative;
    display: inline-block;
    border: 4px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    transform: rotate(-2deg);
    background-color: #000;
}

.award-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

.award-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.award-badge {
    position: absolute;
    background-color: #d4af37;
    color: #222;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    top: 10px;
    left: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Responsivo para celular */
@media (max-width: 768px) {
    .award-section {
        flex-direction: column;
        align-items: center;
        padding: 1rem;


    }

    .award-image-wrapper {
        transform: rotate(0deg);
        border-radius: 10px;

    }

    .award-image-wrapper img {
        border-radius: 6px;
        margin-top: 2.2rem;
    }


    .award-badge {
        position: absolute;
        background-color: #d4af37;
        color: #222;
        font-weight: bold;
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
        border-radius: 6px;
        top: 5px;
        left: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        z-index: 2;
    }
}