/* estilo.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 800px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

iframe {
    width: 100%;
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

#avaliacao, #mensagem-sucesso {
    display: none;
    text-align: left;
    margin-top: 20px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.pergunta {
    margin-bottom: 15px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.sucesso {
    text-align: center;
    color: #28a745;
}

.sucesso h2 {
    font-size: 24px;
}

.icone-joinha {
    font-size: 50px;
    margin-bottom: 10px;
}

/* Alerta e Botão para o Mobile */
.alerta-mobile {
    margin-bottom: 20px;
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 5px;
}

.btn-abrir-pdf {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

.btn-abrir-pdf:hover {
    background-color: #218838;
}

/* Esconde o iframe no celular */
@media (max-width: 768px) {
    iframe {
        display: none;
    }
}

/* =========================================
   Estilos para a Página Inicial (Botões) 
   ========================================= */
   .container-index {
    max-width: 600px; /* Deixa a caixa um pouco mais estreita e elegante */
    padding: 40px 20px;
}

.botoes-iniciais {
    display: flex;
    flex-direction: column; /* Coloca um botão em cima do outro */
    gap: 20px;
    margin-top: 30px;
}

.btn-curso {
    display: block;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Cor do primeiro botão (Azul) */
.btn-portaria {
    background-color: #007BFF; 
}

/* Cor do segundo botão (Cinza Escuro/Grafite) */
.btn-cftv {
    background-color: #343a40; 
}

/* Efeito ao passar o mouse ou tocar no celular */
.btn-curso:hover {
    transform: translateY(-3px); /* Dá um leve pulinho */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    filter: brightness(1.1); /* Fica levemente mais claro */
}