 
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f5f5f0;
    scroll-behavior: smooth;
}

/* Página inicial com fundo amarelo claro */
body.index-bg {
    background-color: #518987; /* amarelo claro */
}

/* Container específico da index para centralizar conteúdo e botões */
.index-container {
    max-width: 640px; /* ligeiramente menor para um look centralizado */
    margin: 120px auto 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.index-container .botoes {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.index-container .botao {
    width: 80%;
    max-width: 360px;
}

/* Reforço para garantir que os botões fiquem centralizados em telas maiores */
.container.index-container {
    max-width: 900px; /* aumenta a área útil na homepage */
    padding: 60px 80px;
}

.container.index-container .botoes {
    align-items: center;
}

.container.index-container .botao {
    width: 60%;
    max-width: 420px;
    margin: 0 auto;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* =========================================================
   CABEÇALHO FIXO
   ========================================================= */
.cabecalho {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #007BFF;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.logo {
    font-size: 1.4em;
    font-weight: bold;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #dce7ff;
}

/* =========================================================
   CONTEÚDO PRINCIPAL
   ========================================================= */
.container {
    text-align: center;
    background-color: #fff;
    padding: 40px 60px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 120px auto 60px auto; /* espaçamento abaixo do cabeçalho */
    width: 100%;
    max-width: 700px;
    transition: all 0.3s ease;
}

.container:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   TÍTULOS E TEXTOS
   ========================================================= */
.titulo {
    font-size: 3em;
    color: #400f0f;
    margin-bottom: 5px;
    letter-spacing: 2px;
}
.subtitulo {
    font-size: 1.5em;
    color: #400f0f;
    margin-bottom: 5px;
    letter-spacing: 2px;
}


.contato {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.botoes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.botao,
a.botao {
    text-decoration: none;
    background-color: #007BFF;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.botao:hover,
a.botao:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* =========================================================
   FORMULÁRIOS
   ========================================================= */
.container-form {
    width: 100%;
    max-width: 700px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px 60px;
    margin: 130px auto 60px auto;
}

/* Utility: spacing to avoid fixed header overlap */
.page-offset {
    /* Force margin-top so the whole container is pushed below the fixed header.
       Use !important to override `.container-form` rules in other CSS files. */
    margin-top: 130px !important;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    transition: all 0.2s ease-in-out;
    background-color: #fafafa;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #007BFF;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

.form-group-duo {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group-duo .form-group {
    flex: 1;
    min-width: 250px;
}

small#idade {
    display: block;
    margin-top: 5px;
    color: #007BFF;
    font-weight: bold;
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */
@media (max-width: 768px) {
    .cabecalho {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 20px;
    }

    .menu {
        flex-wrap: wrap;
        gap: 10px;
    }

    .container, .container-form {
        padding: 25px 20px;
        margin: 140px 10px 40px 10px;
    }

    .titulo {
        font-size: 2em;
    }

    .botao {
        font-size: 1em;
    }

}

/* Utility: scale page to 75% (desktop browsers) - applied per-page via .page-scale-75 on body */

