/* Configurações gerais */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Cabeçalho */
.header {
    text-align: center;
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 2px solid #ddd;
}

.logo {
    max-width: 150px;
}

/* Divisão vertical */
.vertical-split {
    flex: 1;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.half {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 100%;
}

.left {
    background-color: #0066cc; /* Azul */
    color: white;
}

.right {
    background-color: #ff6600; /* Laranja */
    color: white;
}

/* Conteúdo das metades */
.half h2 {
    font-size: 2rem;
    margin: 10px 0;
}

.half p {
    font-size: 1rem;
    margin: 10px 0 20px;
}

/* Botões principais */
.btn-action {
    background-color: white;
    color:#004085;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-action:hover {
    color:#999;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

/* Botões de informação */
.btn-info {
    background: transparent;
    color: white;
    font-size: 0.9rem;
    border: 1px solid white;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-info:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
}

.modal-content h2 {
    margin: 0 0 10px;
}

.modal-content p {
    font-size: 1rem;
    margin: 10px 0;
}

.close {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    float: right;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
    .vertical-split {
        flex-direction: column;
    }

    .half h2 {
        font-size: 1.5rem;
    }

    .half p {
        font-size: 0.9rem;
    }
}



/* Modais com animação */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}


/* Modais com animação */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    text-align: left;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Estilizando o botão de "Como Funciona" */
.btn-info {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-info:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.btn-info:focus {
    outline: none;
}

/* Melhorando a cor do texto e links dentro do modal */
.modal-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.modal-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}


/* Adicionando estilo às imagens dentro do modal */
.modal-section {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.modal-img {
    width: 80px;  /* Ajuste o tamanho da imagem conforme necessário */
    height: 80px;
    margin-right: 15px;
    border-radius: 50%;  /* Tornando a imagem redonda */
    object-fit: cover;  /* Ajusta a imagem para se ajustar ao tamanho */
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.modal-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* Melhorando a visibilidade e espaçamento */
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    text-align: left;
}


/* Adicionando estilo às imagens dentro do modal */
.modal-section {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.modal-img {
    width: 80px;  /* Ajuste o tamanho da imagem conforme necessário */
    height: 80px;
    margin-right: 15px;
    border-radius: 50%;  /* Tornando a imagem redonda */
    object-fit: cover;  /* Ajusta a imagem para se ajustar ao tamanho */
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.modal-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* Melhorando a visibilidade e espaçamento */
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    text-align: left;
}


.modal {
    display: none; /* Inicialmente escondido */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Adiciona barra de rolagem quando necessário */
    background-color: rgba(0, 0, 0, 0.8); /* Fundo escuro translúcido */
    backdrop-filter: blur(5px); /* Adiciona desfoque ao fundo */
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    margin: auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 90%; /* Limita a largura do modal */
    max-height: 90%; /* Limita a altura do modal */
    overflow-y: auto; /* Permite barra de rolagem vertical */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-header,
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #007bff; /* Azul para a barra */
    color: #fff;
    border-radius: 10px 10px 0 0; /* Arredonda o topo */
}

.modal-footer {
    border-radius: 0 0 10px 10px; /* Arredonda o rodapé */
}

.close {
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
    border: none;
    background: none;
}

.close:hover {
    color: #ff5252; /* Destaque ao passar o mouse */
}

.modal-body {
    padding: 10px 20px;
    line-height: 1.5;
    color: #333;
}
