/* Sivoe2 — Portal Develop (P.1.1)
   Branding base: azul Sivoe #015BB5 (alinhado a globais.css .navbar-custom)
   Sem dependências externas; preparado para Swagger UI em P.1. */

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    color: #1d3936;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body { background: #f5f7f6; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero { background: #015BB5; color: #ffffff; padding: 48px 0; }
.hero h1 { font-size: 28px; margin-bottom: 8px; letter-spacing: 0.2px; }
.hero .subtitle { font-size: 14px; opacity: 0.92; }

/* Conteúdo principal */
.content { max-width: 960px; margin: 32px auto; padding: 0 24px; }

.content section {
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.content h2 {
    color: #015BB5;
    font-size: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid #cfe2ff;
    padding-bottom: 6px;
}

.content p { line-height: 1.6; margin-bottom: 10px; color: #2c3e3a; }
.content em { font-style: normal; color: #015BB5; font-weight: 600; }

/* Tag "em breve" */
.tag {
    display: inline-block;
    background: #fff8e1;
    color: #8a6700;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lista-secao { list-style: none; }
.lista-secao li { padding: 6px 0; color: #2c3e3a; line-height: 1.5; }
.lista-secao strong { color: #1d3936; }

/* Tag "disponivel" (oposto do amarelo "em breve") */
.tag-ok {
    background: #dbeafe;
    color: #084298;
}

/* Container do Swagger UI dentro do card branco padrao */
.docs-section {
    background: white;
    padding: 16px;
    border-radius: 8px;
    margin: 16px auto;
    max-width: 960px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.docs-section > h2 {
    color: #015BB5;
    font-size: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid #cfe2ff;
    padding-bottom: 6px;
}
.docs-section > p {
    line-height: 1.6;
    margin-bottom: 12px;
    color: #2c3e3a;
    font-size: 14px;
}
.docs-section code {
    background: #f5f7f6;
    color: #084298;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

/* Esconder o topbar do Swagger UI (inconsistente com branding) */
.swagger-ui .topbar { display: none; }

/* Pequenos ajustes pra manter o Swagger UI legivel dentro do card */
.swagger-ui .info { margin-top: 0; }
.swagger-ui .scheme-container {
    background: transparent;
    box-shadow: none;
    padding: 8px 0;
}

/* Rodapé */
.rodape {
    text-align: center;
    padding: 24px;
    color: #5b6d6a;
    font-size: 12px;
}

/* Responsivo */
@media (max-width: 600px) {
    .hero { padding: 32px 0; }
    .hero h1 { font-size: 22px; }
    .content { padding: 0 16px; margin-top: 20px; }
    .content section { padding: 18px 20px; }
}
