/* === Base Geral === */
body {
    background: #FAFBFC;
    color: #212529;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    line-height: 1.62;
    text-align: left;
}

/* Links padrão: discretos, sem sublinhado */
a {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover, a:focus {
    color: #23c94e;
    text-decoration: underline;
}


.header-topo {
    display: flex;
    align-items: center;           /* Alinha verticalmente */
    justify-content: center;       /* Centraliza horizontalmente todo o grupo */
    width: 100%;
    margin-bottom: 28px;
    margin-top: 0;
    position: relative;
}

/* Garante a logo alinhada à esquerda */
.logo-img {
    flex-shrink: 0;
    max-width: 90px;               /* ajuste conforme o desejado */
    width: 90px;                   /* fixa o tamanho da logo independente do % original */
    margin-right: 18px;
    margin-left: 0;
}

/* h1 centralizado dentro do espaço flexível */
.header-topo .titulo {
    flex: 1;
    text-align: center;
    margin: 0;
}

/* === Links como botões: cinza claro, aspecto de botão === */
.botao-link, a.botao-link {
    display: inline-block;
    padding: 6px 15px;           /* ⬅️ Reduzido */
    background: linear-gradient(90deg, #e6e9ef 0%, #d9dde6 100%);
    color: #212529 !important;
    font-size: 0.9rem;           /* ⬅️ Menor */
    font-weight: bold;
    border-radius: 8px;
    border: 1.5px solid #c5cbd4;
    text-decoration: none !important;
    box-shadow: 0 1.5px 7px rgba(44,62,80,0.09), 0 1.5px 7px rgba(198,198,198,0.13);
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 18px;
    margin-bottom: 0;
    user-select: none;
    transition:
        background 0.22s, 
        color 0.2s, 
        box-shadow 0.14s,
        border 0.15s,
        transform 0.07s;
    position: relative;
}

.botao-link:hover,
a.botao-link:hover,
.botao-link:focus,
a.botao-link:focus {
    background: linear-gradient(90deg, #d1d6dd 0%, #edeff2 100%);
    border: 1.5px solid #b9bec5;
    color: #1976d2 !important;
    box-shadow: 0 4px 16px 0 rgba(44,62,80,0.13), 0 5px 25px rgba(198,198,198,0.10);
    text-decoration: none !important;
    transform: translateY(-1px) scale(1.015);
}

.botao-link:active,
a.botao-link:active {
    background: linear-gradient(90deg, #c7cada 0%, #f5f6fa 100%);
    color: #1976d2 !important;
    border: 1.5px solid #b9bec5;
    box-shadow: 0 0.5px 3px 0 rgba(44,62,80,0.07);
    transform: translateY(1px) scale(0.981);
}

/* === Container Claro === */
.container {
    background: #fff;
    max-width: 95%;
    margin: 0px auto 20px auto;
    padding: 40px 32px 32px 32px;
    border-radius: 18px;
    box-shadow: 0 8px 36px rgba(80,90,110,0.06), 0 2px 8px rgba(150,170,195,0.07);
    box-sizing: border-box;
}

/* === Títulos Unificados === */
.titulo, 
h1 {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 28px;
    margin-top: 0;
    letter-spacing: 1px;
}

/* === Formulários claros === */
.formulario label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    color: #565c6b;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.formulario input[type="text"],
.formulario textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #c5cbd4;
    border-radius: 7px;
    background: #FAFBFC;
    color: #263238;
    font-size: 1rem;
    transition: border 0.19s, background 0.14s;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.formulario input[type="file"] {
    margin-top: 6px;
    margin-bottom: 18px;
}

.formulario input[type="text"]:focus,
.formulario textarea:focus {
    outline: none;
    border-color: #1976d2;
    background: #fcfdfe;
}

.botao,
.formulario input[type="submit"] {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(90deg, #e6e9ef 0%, #d9dde6 100%);
    color: #212529;
    font-size: 1.08rem;
    font-weight: bold;
    border-radius: 8px;
    border: 1.5px solid #c5cbd4;
    box-shadow: 0 1.5px 7px rgba(44,62,80,0.09);
    margin-top: 24px;
    cursor: pointer;
    letter-spacing: 1.1px;
    transition: background 0.22s, color 0.15s, box-shadow 0.13s, border 0.15s;
}

.botao:hover,
.formulario input[type="submit"]:hover {
    background: linear-gradient(90deg, #d1d6dd 0%, #edeff2 100%);
    color: #1976d2;
    border: 1.5px solid #b9bec5;
}

/* === Conteúdo de Páginas (Textos & Imagens) === */
.conteudo {
    text-align: center;
}

.imagem {
    float: left;
    margin-right: 16px; /* Adiciona espaçamento entre a imagem e o texto */
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(44,62,80,0.09), 0 1.5px 7px rgba(200,200,200,0.09);
    border: 1.5px solid #c5cbd4;
    background: #fafdff;
}

/* === Ajustes Extras === */
.formulario input,
.formulario textarea,
.formulario input[type="file"] {
    margin-bottom: 12px;
}

.conteudo p {
    text-align: left;
    overflow: hidden; /* Evita que o conteúdo sobreponha a imagem */
}

#menu {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto 24px auto;
    background: #f5f7fa;
    border-radius: 12px;
    box-shadow: 0 1.5px 7px rgba(80,90,110,0.07);
    padding: 16px 24px;
}

.carrossel .slides img {
    display: none;
    width: 100%; /* ou ajuste conforme necessário */
}
.carrossel .slides img:first-child {
    display: block;
}

button.anterior, button.proximo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
}

button.anterior {
    left: 10px;
}

button.proximo {
    right: 10px;
}

button.anterior:hover, button.proximo:hover {
    background: rgba(0, 0, 0, 0.7);
}
footer {
    background-color: #cccccc;
    font-family: code;
    color: #ffffff;
}

#hamburguer {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 12px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}
#hamburguer span {
    display: block;
    width: 28px;
    height: 3.5px;
    margin: 4px 0;
    background: #1976d2;
    border-radius: 2px;
    transition: 0.3s;
}

.sedes{
    background-color: #ffffff;
}
.sedes td{
    background-color: #dedede;
}

/* === Responsividade === */
@media (max-width: 900px) {
    #hamburguer {
        display: flex;
    }
    #menu ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
        display: none;
        flex-direction: column;
        padding: 0;
        background: #f5f7fa;
        position: absolute;
        top: 50px;
        left: 0;
        width: 90vw;
        box-shadow: 0 4px 12px rgba(80,90,110,0.12);
        z-index: 98;
        margin: 0;
        border-radius: 0 0 12px 12px;
    }
    #menu ul.menu-ativo {
        display: flex !important;
    }
    #menu li {
        text-align: left;
        padding: 14px 20px;
        border-bottom: 1px solid #dadeef;
    }
    #menu li:last-child {
        border-bottom: none;
    }
    .header-topo {
        flex-direction: column;
        align-items: center;
    }
    .logo-img {
        margin: 0 0 10px 0;
    }
    .header-topo .titulo {
        text-align: center;
        width: 100%;
    }
    .container, #menu {
        width: 98vw;
        max-width: 98vw;
        padding-left: 2vw;
        padding-right: 2vw;
    }
    .titulo, h1 {
        font-size: 1.5rem;
    }
    .imagem {
        max-width: 98vw;
        width: 100%;
    }
    .botao-link, a.botao-link {
        width: 100%;
        min-width: 0;
        padding: 5px 0;
        font-size: 1rem;
    }
    .botao, .formulario input[type="submit"] {
        font-size: 1rem;
        padding: 5px 0;
    }
    .formulario input[type="text"], .formulario textarea {
        font-size: 0.97rem;
        padding: 5px 7px;
    }
}
/* Mantém o menu tradicional em desktop */
@media (min-width: 901px) {
    #hamburguer {
        display: none !important;
    }
    #menu ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
        display: flex !important;
        flex-direction: row;
        position: static;
        background: none;
        box-shadow: none;
        width: auto;
    }
}