/* ====================================================================
   Página: Setor de Juventude e Casa da Juventude
   Padrão Dark Glow Moderno (Mobile First)
   ==================================================================== */

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --accent: #38bdf8;
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.75);
    --border-color: rgba(56, 189, 248, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glow: rgba(56, 189, 248, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding: 0;
}

/* Efeitos de Luz de Fundo (Glow Background) */
.bg-glow-1 {
    position: fixed;
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: rgba(2, 132, 199, 0.22);
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.bg-glow-2 {
    position: fixed;
    top: 30%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(56, 189, 248, 0.15);
    filter: blur(150px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

header, main, footer, .app-header {
    position: relative;
    z-index: 10;
}

/* --- CABEÇALHO DO APLICATIVO --- */
.app-header {
    width: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.brand-info .app-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.btn-login-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-login-header:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.9);
}

/* --- BANNER DA PÁGINA (HERO) --- */
.page-header-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 132, 199, 0.25) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.container-header-content {
    max-width: 1100px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 14px;
}

.btn-back-clean {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-back-clean:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.9);
    transform: translateX(-4px);
    box-shadow: 0 6px 20px var(--glow);
}

.page-header-banner h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.page-header-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- CONTAINER PRINCIPAL --- */
.container-principal {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 40px 16px;
}

.secao-home {
    margin-bottom: 28px;
}

.titulo-secao-interna {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

/* --- GRADE DE SERVIÇOS --- */
.grid-servicos-sociais {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.card-servico-social {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-servico-social i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(2, 132, 199, 0.15);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.card-servico-social h3 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 6px;
    font-weight: 700;
}

.card-servico-social p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.card-servico-social:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.2);
}

/* --- PAINEL INFORMATIVO --- */
.painel-informativo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-bloco-texto h2 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.info-bloco-texto p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* --- LISTA DETALHADA --- */
.lista-beneficios-detalhada {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-beneficios-detalhada li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.lista-beneficios-detalhada i {
    color: #34d399;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.lista-beneficios-detalhada strong {
    color: var(--text-main);
}

/* --- CAIXA DE DESTAQUE LATERAL --- */
.info-bloco-card-destaque {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}

.caixa-atendimento-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.caixa-atendimento-card h4 {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.caixa-atendimento-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

.caixa-atendimento-card strong {
    color: var(--text-main);
}

/* --- RODAPÉ --- */
.main-footer {
    width: 100%;
    background-color: #0b1329;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

/* --- BREAKPOINTS (TABLETS E DESKTOPS) --- */
@media screen and (min-width: 768px) {
    .app-header {
        padding: 14px 24px;
    }

    .page-header-banner {
        padding: 40px 24px;
    }

    .page-header-banner h1 {
        font-size: 2.1rem;
    }

    .container-principal {
        padding: 0 24px 60px 24px;
    }

    .grid-servicos-sociais {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .painel-informativo {
        grid-template-columns: 2fr 1fr;
        padding: 32px;
        gap: 30px;
        align-items: center;
    }

    .info-bloco-texto h2 {
        font-size: 1.4rem;
    }
}

@media screen and (min-width: 1024px) {
    .grid-servicos-sociais {
        grid-template-columns: repeat(3, 1fr);
    }
}