/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Barra superior */
.top-bar {
    background-color: #1a4b7c;
    color: white;
}

.top-bar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.social-links a, .utility-links a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-size: 14px;
}

.social-links a:hover, .utility-links a:hover {
    opacity: 0.8;
}

/* Header principal */
.main-header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-header > .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    padding-bottom: 0;
}

.logo {
    height: 100px;
}

.banner-header {
    height: 80px;
    object-fit: contain;
    display: block;
    margin-bottom: -1px;
}

/* Barra de navegação */
.main-nav {
    background-color: #1a4b7c;
    margin-top: 0;
}

.main-nav > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.admin-button {
    display: flex;
    align-items: center;
}

.admin-link {
    color: #1a4b7c;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 20px;
    background-color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
}

.search-container {
    display: flex;
    align-items: center;
}

.search-container input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px 0 0 20px;
    width: 250px;
    outline: none;
}

.search-container button {
    padding: 8px 15px;
    border: none;
    background-color: white;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

.search-container button:hover {
    background-color: #f0f0f0;
}

/* Conteúdo principal */
.main-content {
    padding: 40px 0;
}

.survey-section {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.survey-section h1 {
    color: #1a4b7c;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.survey-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.survey-title {
    font-size: 24px;
    color: #1a4b7c;
    margin-bottom: 20px;
}

.greeting {
    font-weight: bold;
    margin-bottom: 15px;
}

.description, .disclaimer {
    margin-bottom: 20px;
    color: #333;
}

.thanks {
    font-weight: bold;
    margin-bottom: 25px;
    color: #1a4b7c;
}

.signature {
    margin-top: 30px;
    color: #555;
}

.signature p {
    margin-bottom: 5px;
}

.signature p:last-child {
    font-weight: bold;
}

/* Estilos para o formulário de pesquisa */
.survey-form {
    margin-top: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-questions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-group {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.question-group:hover {
    background-color: #f0f2f5;
}

.question {
    color: #1a4b7c;
    font-weight: 500;
    margin-bottom: 15px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.options input[type="radio"] {
    cursor: pointer;
}

.privacy-policy {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.privacy-policy label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.submit-section {
    margin-top: 30px;
    text-align: center;
}

.submit-button {
    background-color: #1a4b7c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #153d64;
}

/* Modal de Agradecimento */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.modal-content h2 {
    color: #1a4b7c;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .survey-form {
        padding: 15px;
    }

    .question-group {
        padding: 15px;
    }

    .submit-button {
        width: 100%;
    }
}

/* Estilos da página de login */
.login-section {
    max-width: 400px;
    margin: 40px auto;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-section h1 {
    color: #1a4b7c;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.login-box {
    padding: 20px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #1a4b7c;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: #1a4b7c;
    box-shadow: 0 0 0 2px rgba(26, 75, 124, 0.1);
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #1a4b7c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.login-button:hover {
    background-color: #153d64;
    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
}

.form-group i {
    margin-right: 8px;
    color: #1a4b7c;
}

/* Mensagem de erro no login */
.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #ef9a9a;
    font-size: 14px;
    text-align: center;
} 