:root {
    --cor-primaria: #4169e1; /* Azul royal - nova cor solicitada */
    --cor-secundaria: #fc8b00; /* Laranja - nova cor solicitada */
    --cor-branca: #ffffff;
    --cor-texto: #333333;
    --cor-fundo: #f5f5f5;
    --fonte-principal: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: white;
    padding: 20px 0 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logos no header - AJUSTADO */
.logos-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 10px 0;
}

.logo {
    max-height: 60px; /* Tamanho controlado para desktop */
    width: auto;
    object-fit: contain;
}

/* Título do header */
.header-title-bg {
    background-color: var(--cor-primaria);
    padding: 15px 0;
    margin-top: 10px;
}

.header-title-bg h1 {
    color: var(--cor-branca);
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* Formulário */
.form-section {
    padding: 40px 0;
}

.form-section h2 {
    color: var(--cor-primaria);
    text-align: center;
    margin-bottom: 10px;
}

.form-section p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--cor-texto);
}

#prematricula-form {
    background-color: var(--cor-branca);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-col {
    flex: 1;
    padding: 0 10px;
    min-width: 250px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required:after {
    content: " *";
    color: var(--cor-secundaria);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--cor-primaria);
    outline: none;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--cor-secundaria);
    color: var(--cor-branca);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: #e07e00;
}

/* Alertas */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Seção de benefícios - REDESENHADA CONFORME REFERÊNCIA */
.benefits-section {
    padding: 40px 0;
    background-color: var(--cor-branca);
    margin-top: 40px;
}

.benefits-section h2 {
    color: var(--cor-primaria);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.benefit-title {
    color: var(--cor-primaria);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.benefit-text {
    font-size: 0.95rem;
    color: var(--cor-texto);
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: var(--cor-primaria);
    color: var(--cor-branca);
    padding: 30px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-logo {
    max-height: 50px;
    filter: brightness(0) invert(1); /* Torna as logos brancas */
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--cor-branca);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Ajustes para logos no mobile - NOVO */
    .logos-header {
        flex-direction: row; /* Mantém lado a lado */
        gap: 15px; /* Espaço menor entre logos */
        padding: 8px 0;
    }
    
    .logo {
        max-height: 40px; /* Logos menores no mobile */
    }
    
    /* Ajustes para o título */
    .header-title-bg h1 {
        font-size: 1.5rem;
    }
    
    /* Ajustes para o formulário */
    .form-section {
        padding: 30px 0;
    }
    
    #prematricula-form {
        padding: 20px;
    }
    
    .form-col {
        flex: 100%;
        margin-bottom: 15px;
    }
    
    /* Ajustes para benefícios */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Ajustes para footer */
    .footer-logos {
        flex-direction: row; /* Mantém lado a lado */
        gap: 15px;
    }
    
    .footer-logo {
        max-height: 35px; /* Logos menores no footer mobile */
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .logo {
        max-height: 35px; /* Ainda menor para telas muito pequenas */
    }
    
    .header-title-bg h1 {
        font-size: 1.3rem;
    }
    
    .form-section h2 {
        font-size: 1.4rem;
    }
}
