/*
    PALETA DE CORES
    Azul escuro: #002d62 (base)
    Azul médio: #0047ab (principal)
    Azul claro/Roxo: #5d5d8f
    Branco: #ffffff
*/

/*
    ESTILOS GERAIS E RESET
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/*
    HEADER
*/
.header {
    background-color: #002d62;
    color: #fff;
    padding: 10px 0;
    border-bottom: 5px solid #0047ab;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.header-left-image {
    height: 70px;
}

.header-right-image {
    height: 70px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 20px;
}

/*
    BOTÕES DE AÇÃO
*/
.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    min-width: 250px;
}

.button.primary {
    background-color: #0047ab;
    color: #fff;
    border: 2px solid #0047ab;
}

.button.primary:hover {
    background-color: #003681;
}

.button.secondary {
    background-color: #fff;
    color: #002d62;
    border: 2px solid #002d62;
}

.button.secondary:hover {
    background-color: #f0f4f8;
}

/*
    SEÇÕES DE CONTEÚDO
*/
.intro, .benefits-section, .training-section, .faq-section, .committee-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.intro p {
    font-size: 1.1rem;
}

.section-title {
    font-size: 1.5rem;
    color: #002d62;
    margin-bottom: 20px;
    border-bottom: 2px solid #5d5d8f;
    padding-bottom: 5px;
}

/*
    LISTA DE BENEFÍCIOS
*/
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
}

.benefits-list li {
    background-color: #f8fafd;
    padding: 20px;
    border-left: 5px solid #5d5d8f;
    border-radius: 4px;
}

.benefit-title {
    font-size: 1.2rem;
    color: #002d62;
    margin-bottom: 10px;
}

/*
    CARDS DE TREINAMENTO
*/
.training-links {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.training-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 150px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8fafd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.training-card span {
    font-weight: 700;
    text-align: center;
    color: #002d62;
}

.training-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

/*
    SEÇÃO DO COMITÊ GESTOR
*/
.committee-section {
    background-color: #f0f4f8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.committee-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.committee-members-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.committee-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.member-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 200px;
    flex: 1;
}

.member-card h3 {
    color: #0047ab;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/*
    SEÇÃO DE PERGUNTAS FREQUENTES (FAQ)
*/
.faq-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #f8fafd;
    border: 1px solid #e0e0f0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #f0f4f8;
}

.faq-question {
    display: block;
    padding: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #002d62;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.faq-question::before {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #5d5d8f;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::before {
    content: '−';
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: #555;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
    FOOTER
*/
.footer {
    text-align: center;
    padding: 20px;
    background-color: #002d62;
    color: #fff;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/*
    MEDIA QUERIES PARA RESPONSIVIDADE
*/
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-left-image,
    .header-right-image {
        height: 50px;
        margin-bottom: 10px;
    }

    .page-title {
        font-size: 1.5rem;
        margin: 10px 0;
    }
}