/* ============================================= */
/* ANIMAÇÕES GLOBAIS */
/* ============================================= */

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/* ESTILOS GLOBAIS */
/* ============================================= */

body {
    background-color: white;
}

/* ============================================= */
/* SEÇÃO BANNER PRINCIPAL */
/* ============================================= */

.home-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 10%;
    background-color: white;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

.home-text {
    flex: 1 1 400px;
    max-width: 600px;
}

.home-text h1 {
    font-size: 2.8rem;
    color: #4a4f63;
    margin-bottom: 20px;
}

.home-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-submeter {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-submeter:hover {
    transform: scale(1.03);
}

.home-image {
    flex: 1 1 400px;
    text-align: center;
}

.home-image img {
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

/* ============================================= */
/* SEÇÃO ETAPAS DE SUBMISSÃO */
/* ============================================= */

.etapas-submissao {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 60px 10%;
    background-color: #f8f9fa;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

.etapa-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    flex: 1 1 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.etapa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.etapa-icon {
    margin-bottom: 20px;
    height: 40px;
}

.etapa-icon img {
    height: 100%;
}

.etapa-card h3 {
    font-size: 1.4rem;
    color: #4a4f63;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.etapa-card:hover h3 {
    color: #007bff;
}

.etapa-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* ============================================= */
/* SEÇÃO SOBRE */
/* ============================================= */

.sobre-nos {
    padding: 60px 10%;
    background-color: #fff;
}

.container-sobre {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.img-sobre {
    flex: 1 1 300px;
    text-align: center;
}

.img-sobre img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.texto-sobre {
    flex: 1 1 500px;
}

.texto-sobre h2 {
    color: #6c757d;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
}

.texto-sobre .missao {
    margin-top: 5px;
    font-size: 1rem;
    color: #555;
}

.texto-sobre h3 {
    margin: 20px 0 10px;
    font-size: 1.5rem;
    color: #343a40;
}

.texto-sobre .descricao {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #444;
}

.lista-beneficios {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.lista-beneficios li {
    margin-bottom: 10px;
    color: #3a3a3a;
    font-size: 1rem;
}

/* ============================================= */
/* SEÇÃO LINKS ÚTEIS */
/* ============================================= */

.links-uteis {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.titulo-links {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.descricao-links {
    color: #666;
    margin-bottom: 40px;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.link-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px 20px;
    width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.link-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.link-card h3 {
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease;
}

.link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.link-card:hover h3 {
    color: #007bff;
}

/* ============================================= */
/* SEÇÃO COMISSÃO */
/* ============================================= */

.comissao {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.titulo-comissao {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.descricao-comissao {
    font-size: 1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.comissao-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.membro {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    text-align: left;
    transition: transform 0.3s;
    text-align: center;
}

.membro:hover {
    transform: translateY(-5px);
}

.membro-foto {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 20px auto 10px;
}

.membro-info {
    padding: 20px;
}

.membro-nome {
    font-size: 1.25em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.membro-cargo {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 15px;
}

.membro-formacao,
.membro-instituicao {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 10px;
}

.link-lattes {
    display: inline-block;
    margin: 10px auto 0;
    padding: 8px 12px;
    background-color: #003366;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9em;
}

.link-lattes:hover {
    background-color: #0055aa;
}

/* ============================================= */
/* SEÇÃO PERGUNTAS FREQUENTES */
/* ============================================= */

.perguntas-frequentes {
    padding: 60px 10%;
    background-color: #f8f9fa;
    text-align: center;
}

.titulo-perguntas {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.descricao-perguntas {
    font-size: 1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.perguntas-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.pergunta-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    flex: 1 1 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.pergunta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pergunta-icon {
    margin-bottom: 20px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pergunta-icon ion-icon {
    font-size: 40px;
    color: #3498db;
    transition: color 0.3s ease;
}

.pergunta-card:hover .pergunta-icon ion-icon {
    color: #007bff;
}

.pergunta-card h3 {
    font-size: 1.4rem;
    color: #4a4f63;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.pergunta-card:hover h3 {
    color: #007bff;
}

.pergunta-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
}

/* ============================================= */
/* SEÇÃO CONTATO */
/* ============================================= */

.contato-section {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.titulo-contato {
    font-size: 32px;
    font-weight: bold;
    color: #3f4c5c;
    margin-bottom: 10px;
}

.descricao-contato {
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 16px;
}

.contato-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.contato-info,
.contato-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.info-item h3 {
    font-size: 18px;
    color: #007bff;
    margin-bottom: 5px;
    display: flex;
    gap: 8px;
}

.info-item p {
    color: #333;
    font-size: 15px;
}

.mapa-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-row input {
    flex: 1;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

button[type="submit"] {
    background-color: #2196f3;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
    align-self: center;
    width: fit-content;
}

button[type="submit"]:hover {
    transform: scale(1.03);
}

/* ============================================= */
/* MEDIA QUERIES - RESPONSIVIDADE */
/* ============================================= */

@media (max-width: 900px) {
    .home-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .home-image {
        display: none;
    }

    .home-text h1 {
        font-size: 2rem;
    }

    .home-text p {
        font-size: 1rem;
    }

    .btn-submeter {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .etapas-submissao {
        flex-direction: column;
        padding: 40px 20px;
    }

    .etapa-card {
        width: 100%;
    }

    .perguntas-frequentes {
        padding: 40px 20px;
    }

    .perguntas-container {
        flex-direction: column;
    }

    .pergunta-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container-sobre {
        flex-direction: column;
        text-align: center;
    }

    .texto-sobre {
        align-items: center;
    }

    .links-grid {
        flex-direction: column;
        align-items: center;
    }

    .link-card {
        width: 90%;
    }

    .form-row {
        flex-direction: column;
    }

    .comissao-container {
        flex-direction: column;
        align-items: center;
    }
}