/* ==========================================================================
   ATIJ - Associação de Tecnologia e Inovação de Jundiaí
   Estilos Personalizados e Identidade Visual (Site 2026)
   ========================================================================== */

:root {
    --atij-blue-primary: #0072ce;
    --atij-blue-dark: #004d8c;
    --atij-blue-light: #e8f3fc;
    --atij-cyan: #00b6ed;
    --atij-green: #28a745;
    --atij-green-dark: #1e7e34;
    --atij-dark: #1e242b;
    --atij-text: #334155;
    --atij-text-muted: #64748b;
    --atij-bg-light: #f8fafc;
    --atij-card-border: #e2e8f0;
    --atij-radius: 10px;
    --atij-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --atij-shadow-hover: 0 20px 30px -10px rgba(0, 114, 206, 0.15);
}

/* Reset de itálicos do Dopetrope para estética moderna de tecnologia */
body, h1, h2, h3, h4, h5, h6, #nav > ul > li, .dropotron, p, blockquote {
    font-style: normal !important;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--atij-text);
    background-color: #f1f5f9 !important;
    background-image: none !important;
}

/* Header & Logo */
#header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--atij-card-border) !important;
    padding: 2.2em 0 1.8em 0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

#header h1#logo {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.site-logo {
    max-width: 270px;
    width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

/* Menu de Navegação */
#nav {
    margin: 1.8em 0 0 0 !important;
}

#nav > ul > li {
    margin: 0 0.25em !important;
}

#nav > ul > li > a {
    font-size: 1.05em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569 !important;
    padding: 0.7em 1.4em !important;
    border-radius: 8px !important;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out !important;
}

#nav > ul > li:hover > a {
    background: var(--atij-blue-light) !important;
    color: var(--atij-blue-primary) !important;
    border-color: rgba(0, 114, 206, 0.15);
}

#nav > ul > li.current > a {
    background: var(--atij-blue-primary) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 114, 206, 0.35);
}

/* Dropdown */
.dropotron {
    border-radius: 8px !important;
    background-color: #1e293b !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
    padding: 0.8em 1em !important;
}

.dropotron li a {
    font-style: normal !important;
    font-weight: 500 !important;
    color: #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 0.6em 1em !important;
}

.dropotron li:hover > a, .dropotron li.active > a {
    background: var(--atij-blue-primary) !important;
    color: #ffffff !important;
}

/* Banner Hero com Imagem Aérea de Jundiaí */
#banner {
    background: linear-gradient(135deg, rgba(9, 30, 58, 0.84) 0%, rgba(13, 59, 102, 0.78) 50%, rgba(0, 114, 206, 0.75) 100%),
                url("../../images/aereas_centro_jundiai-2-2.jpg") center center / cover no-repeat !important;
    color: #ffffff !important;
    padding: 5.5em 2em 4.8em 2em !important;
    position: relative;
    overflow: hidden;
}

#banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 182, 237, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

/* Tag header do banner: sem fundo e com todas as fontes brancas */
#banner header {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    display: block !important;
}

#banner header,
#banner header * {
    color: #ffffff !important;
}

#banner header h2 {
    color: #ffffff !important;
    font-size: 2.7em !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6) !important;
    margin-bottom: 0.4em !important;
}

#banner header p {
    color: #ffffff !important;
    font-size: 1.35em !important;
    max-width: 840px;
    margin: 0 auto 1.5em auto !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

#banner header p strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

#banner header .badge-pill {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
}

/* Ícones de Redes Sociais no Header do Banner (Brancos com bom espaçamento) */
.banner-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 1.5em auto 0.5em auto;
}

.banner-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.banner-social-icon i {
    font-size: 1.45em !important;
    color: #ffffff !important;
    line-height: 1 !important;
    transition: transform 0.25s ease !important;
}

.banner-social-icon:hover {
    background: #ffffff !important;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.banner-social-icon.whatsapp:hover i {
    color: #25d366 !important;
}

.banner-social-icon.instagram:hover i {
    color: #e1306c !important;
}

.banner-social-icon.linkedin:hover i {
    color: #0077b5 !important;
}

#banner header .badge-pill i {
    color: #ffffff !important;
}

.banner-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2em;
}

/* ==========================================================================
   Ícones em Destaque da Seção Intro (Cores Personalizadas)
   ========================================================================== */

/* fa-flask: Azul Chumbo */
.icon.featured.fa-flask,
#intro .first .icon.featured {
    background-color: #2c4460 !important;
}
.icon.featured.fa-flask:after,
#intro .first .icon.featured:after {
    border-top-color: #2c4460 !important;
}

/* fa-graduation-cap: Tom de Marrom */
.icon.featured.fa-graduation-cap,
#intro .middle .icon.featured {
    background-color: #6d4c41 !important;
}
.icon.featured.fa-graduation-cap:after,
#intro .middle .icon.featured:after {
    border-top-color: #6d4c41 !important;
}

/* fa-network-wired: Tom de Pink */
.icon.featured.fa-network-wired,
#intro .last .icon.featured {
    background-color: #db2777 !important;
}
.icon.featured.fa-network-wired:after,
#intro .last .icon.featured:after {
    border-top-color: #db2777 !important;
}

.icon.featured:before {
    color: #ffffff !important;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.85em;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Botões */
.button, input[type="button"], input[type="submit"], input[type="reset"] {
    border-radius: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    transition: all 0.25s ease !important;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.button.primary, .button.btn-atij-blue {
    background-color: var(--atij-blue-primary) !important;
    color: #ffffff !important;
    border: none !important;
}

.button.primary:hover, .button.btn-atij-blue:hover {
    background-color: var(--atij-blue-dark) !important;
}

.button.btn-atij-green {
    background-color: var(--atij-green) !important;
    color: #ffffff !important;
    border: none !important;
}

.button.btn-atij-green:hover {
    background-color: var(--atij-green-dark) !important;
}

.button.alt {
    background-color: #ffffff !important;
    color: var(--atij-blue-primary) !important;
    border: 2px solid var(--atij-blue-primary) !important;
}

.button.alt:hover {
    background-color: var(--atij-blue-light) !important;
    color: var(--atij-blue-dark) !important;
}

/* Cards & Seções */
.box {
    background: #ffffff !important;
    border-radius: var(--atij-radius) !important;
    border: 1px solid var(--atij-card-border) !important;
    box-shadow: var(--atij-shadow) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: var(--atij-shadow-hover) !important;
}

.box header h3 {
    color: #0f172a !important;
    font-weight: 700;
}

.box header p {
    color: var(--atij-text-muted);
}

/* Seção de Destaque da Expo Profissões */
.expo-feature-card {
    background: #ffffff;
    border-radius: var(--atij-radius);
    /*border: 2px solid #38bdf8;*/
    box-shadow: 0 15px 35px -5px rgba(0, 114, 206, 0.15);
    overflow: hidden;
    margin-bottom: 3em;
}

.expo-banner-container {
    position: relative;
    /*background: #0f172a;*/
    text-align: center;
}

.expo-banner-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.expo-details-strip {
    background: #f0fdf4;
    border-bottom: 1px solid #bbf7d0;
    padding: 1.2em 2em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    font-size: 1.05em;
    font-weight: 600;
    color: #166534;
}

.expo-details-strip i {
    color: var(--atij-green);
    margin-right: 6px;
}

.expo-content-body {
    padding: 2.5em;
}

/* Destaque das Cotas de Patrocínio / Estandes */
.cota-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 2em 1.5em;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cota-card.ouro {
    border-top: 6px solid #f59e0b;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.12);
}

.cota-card.prata {
    border-top: 6px solid #94a3b8;
    box-shadow: 0 10px 20px rgba(148, 163, 184, 0.12);
}

.cota-card.bronze {
    border-top: 6px solid #d97706;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.12);
}

.cota-card.estande {
    border-top: 6px solid var(--atij-blue-primary);
    box-shadow: 0 10px 20px rgba(0, 114, 206, 0.12);
}

.cota-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.cota-card.ouro .cota-badge { background: #fef3c7; color: #b45309; }
.cota-card.prata .cota-badge { background: #f1f5f9; color: #475569; }
.cota-card.bronze .cota-badge { background: #ffedd5; color: #c2410c; }
.cota-card.estande .cota-badge { background: var(--atij-blue-light); color: var(--atij-blue-primary); }

.cota-preco {
    font-size: 1.8em;
    font-weight: 800;
    color: #0f172a;
    margin: 0.5em 0;
}

.cota-beneficios {
    list-style: none;
    padding: 0;
    margin: 1.5em 0;
    text-align: left;
    font-size: 0.95em;
    flex-grow: 1;
}

.cota-beneficios li {
    padding: 0.5em 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cota-beneficios li i {
    color: var(--atij-green);
}

/* Formulário de Contato Moderno */
.contact-form-container {
    background: #ffffff;
    border-radius: var(--atij-radius);
    padding: 2.5em;
    box-shadow: var(--atij-shadow);
    border: 1px solid var(--atij-card-border);
}

.contact-form-container label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.4em;
    font-size: 0.95em;
}

.form-control-atij {
    width: 100%;
    padding: 0.85em 1.2em;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1em;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    margin-bottom: 1.2em;
    display: block;
}

.form-control-atij:focus {
    background: #ffffff;
    border-color: var(--atij-blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.15);
    outline: none;
}

/* Informações de Contato / Destaque */
.contact-info-card {
    background: #ffffff;
    border-radius: var(--atij-radius);
    padding: 2em;
    border: 1px solid var(--atij-card-border);
    box-shadow: var(--atij-shadow);
    margin-bottom: 1.5em;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5em;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--atij-blue-light);
    color: var(--atij-blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25em;
    flex-shrink: 0;
}

/* Rodapé */
#footer {
    background: #0f172a !important;
    color: #94a3b8 !important;
    padding: 4.5em 0 2em 0 !important;
}

#footer h2, #footer h3 {
    color: #ffffff !important;
}

#footer a {
    color: #38bdf8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

#footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

#footer .dates strong {
    color: var(--atij-cyan) !important;
}

#copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 2em !important;
    margin-top: 2em !important;
    color: #64748b !important;
}

#copyright a {
    color: #94a3b8 !important;
}

/* Realização e Parceria */
.partner-strip {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5em;
    text-align: center;
    border: 1px solid var(--atij-card-border);
    margin-top: 2em;
}

.partner-strip img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

/* Responsividade Mobile */
@media screen and (max-width: 736px) {
    .site-logo {
        max-width: 210px;
    }
    #header {
        padding: 1.5em 0 !important;
    }
    #banner header h2 {
        font-size: 1.9em !important;
    }
    #banner header p {
        font-size: 1.05em !important;
    }
    .expo-details-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 1em;
    }
    .expo-content-body {
        padding: 1.5em;
    }
}

/* ==========================================================================
   Botão CADASTRE-SE (Menu Superior)
   Fonte em vermelho, ao clicar permanece azul e branco
   ========================================================================== */
.btn-cadastre-se {
    color: #e11d48 !important; /* Fonte vermelha */
    font-weight: 700 !important;
    border: 2px solid #e11d48 !important;
    background-color: transparent !important;
    border-radius: 8px !important;
    padding: 0.55em 1.25em !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    cursor: pointer !important;
}

.btn-cadastre-se:hover {
    background-color: #ffe4e6 !important;
    color: #be123c !important;
}

/* Quando clicado / ativo / com modal aberto: permanece azul e branco */
.btn-cadastre-se.active,
.btn-cadastre-se:active,
body.modal-cadastro-aberto .btn-cadastre-se {
    background-color: var(--atij-blue-primary) !important;
    color: #ffffff !important;
    border-color: var(--atij-blue-primary) !important;
    box-shadow: 0 4px 14px rgba(0, 114, 206, 0.4) !important;
}

/* ==========================================================================
   Menu Superior Flutuante (Sticky / Rollpage)
   ========================================================================== */
#nav.nav-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.75em 2.5em !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease-in-out !important;
}

/* Logotipo minimizado ao lado esquerdo do menu, próximo ao botão ATIJ no menu flutuante */
#nav .nav-mini-logo {
    display: none;
}

#nav.nav-sticky .nav-mini-logo {
    display: inline-flex !important;
    align-items: center;
    margin-right: 1.25em;
    flex-shrink: 0;
}

#nav .nav-mini-logo a {
    display: inline-flex;
    align-items: center;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    background: transparent !important;
}

#nav .nav-mini-logo img {
    max-height: 44px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

#nav .nav-mini-logo img:hover {
    transform: scale(1.06);
}

/* Ocultar link vazio no menu mobile caso seja capturado por navList */
#navPanel a:empty {
    display: none !important;
}

@media screen and (max-width: 980px) {
    #nav.nav-sticky {
        display: none !important;
    }
}

/* ==========================================================================
   Modal do Formulário de Cadastro (Pessoa Física & Pessoa Jurídica)
   ========================================================================== */
.modal-atij-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 20000 !important; /* Soberano sobre navPanel e titleBar */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer; /* Área externa clicável para fechar o modal */
}

.modal-atij-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-atij-container {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    position: relative;
    cursor: default; /* Impede fechamento ao clicar dentro do formulário */
    pointer-events: auto;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-atij-header {
    background: linear-gradient(135deg, #091e3a 0%, #0072ce 100%);
    color: #ffffff;
    padding: 1.5em 2em;
    position: relative;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}

.modal-atij-header h3 {
    color: #ffffff !important;
    font-size: 1.5em;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.modal-atij-header p {
    color: #dbeafe;
    font-size: 0.95em;
    margin: 0;
}

.modal-atij-container button.modal-atij-close,
.modal-atij-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.6em !important;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.modal-atij-container button.modal-atij-close:hover,
.modal-atij-close:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}

.modal-atij-body {
    padding: 2em;
}

/* Tabs Seletor PF / PJ */
.tipo-pessoa-selector {
    display: flex;
    gap: 8px;
    background: #e2e8f0;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 1.8em;
}

/* Botão inativo: fundo neutro, texto cinza escuro, sem vermelho no hover */
.tipo-pessoa-selector button.tipo-btn,
.tipo-pessoa-selector .tipo-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.95em !important;
    cursor: pointer !important;
    border: none !important;
    background: transparent !important;
    color: #475569 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 1.4 !important;
}

.tipo-pessoa-selector button.tipo-btn:hover,
.tipo-pessoa-selector .tipo-btn:hover {
    background: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Botão ativo: Azul Institucional ATIJ com texto branco bem nítido */
.tipo-pessoa-selector button.tipo-btn.active,
.tipo-pessoa-selector .tipo-btn.active {
    background: #0072ce !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 114, 206, 0.35) !important;
}

.tipo-pessoa-selector button.tipo-btn.active:hover,
.tipo-pessoa-selector .tipo-btn.active:hover {
    background: #005bb5 !important;
    color: #ffffff !important;
}

.tipo-pessoa-selector .tipo-btn i {
    font-size: 1.1em !important;
    color: inherit !important;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media screen and (max-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.form-group-atij {
    margin-bottom: 1.2em;
}

.form-group-atij label {
    display: block;
    font-weight: 600;
    font-size: 0.9em;
    color: #1e293b;
    margin-bottom: 0.35em;
}

.form-input-atij {
    width: 100%;
    padding: 0.75em 1em;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95em;
    background: #f8fafc;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-atij:focus {
    background: #ffffff;
    border-color: var(--atij-blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.15);
    outline: none;
}

.checkbox-termo-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 1.5em 0;
    font-size: 0.9em;
    color: #475569;
    line-height: 1.5;
}

.checkbox-termo-container input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--atij-blue-primary);
    cursor: pointer;
}

.checkbox-termo-container a {
    color: var(--atij-blue-primary);
    font-weight: 600;
    text-decoration: underline;
}

.modal-status-feedback {
    display: none;
    padding: 1em 1.2em;
    border-radius: 8px;
    font-size: 0.95em;
    margin-bottom: 1.2em;
}

.modal-status-feedback.success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.modal-status-feedback.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ==========================================================================
   Botão CADASTRE-SE Mobile abaixo do Logo Principal da ATIJ
   ========================================================================== */
.mobile-header-cadastre-se {
    display: none; /* Oculto na versão desktop */
}

@media screen and (max-width: 980px) {
    .mobile-header-cadastre-se {
        display: block !important;
        text-align: center !important;
        margin: 0.75em auto 0.5em auto !important;
        padding: 0 15px !important;
    }

    .btn-cadastre-se-header-mobile {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        color: #e11d48 !important; /* Fonte em vermelho */
        font-weight: 700 !important;
        font-size: 0.95em !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
        border: 2px solid #e11d48 !important;
        background-color: #ffffff !important;
        border-radius: 8px !important;
        padding: 0.55em 1.6em !important;
        box-shadow: 0 4px 14px rgba(225, 29, 72, 0.18) !important;
        text-decoration: none !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
    }

    .btn-cadastre-se-header-mobile:hover {
        background-color: #ffe4e6 !important;
        color: #be123c !important;
    }

    /* Ao clicar / ativo / com modal de cadastro aberto: permanece azul e branco */
    .btn-cadastre-se-header-mobile.active,
    .btn-cadastre-se-header-mobile:active,
    body.modal-cadastro-aberto .btn-cadastre-se-header-mobile {
        background-color: var(--atij-blue-primary) !important;
        color: #ffffff !important;
        border-color: var(--atij-blue-primary) !important;
        box-shadow: 0 4px 14px rgba(0, 114, 206, 0.4) !important;
    }

    .btn-cadastre-se-header-mobile i {
        font-size: 1.05em;
    }
}

/* ==========================================================================
   Barra de Menu Hamburger Mobile (#titleBar) Moderno ATIJ
   ========================================================================== */
@media screen and (max-width: 980px) {
    #titleBar {
        background: transparent !important;
        height: 56px !important;
        top: 0 !important;
    }

    #titleBar .toggle {
        width: 60px !important;
        height: 56px !important;
    }

    #titleBar .toggle:before {
        content: '\f0c9' !important;
        background: #091e3a !important; /* Azul escuro ATIJ */
        color: #ffffff !important;
        width: 44px !important;
        height: 42px !important;
        line-height: 42px !important;
        font-size: 19px !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
        top: 10px !important;
        left: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        transition: all 0.2s ease !important;
    }

    #titleBar .toggle:hover:before,
    #titleBar .toggle:active:before {
        background: var(--atij-blue-primary) !important;
        transform: scale(1.05);
    }
}

/* ==========================================================================
   Painel de Navegação Lateral Mobile (#navPanel) Moderno ATIJ
   ========================================================================== */
@media screen and (max-width: 980px) {
    #navPanel {
        background: #091e3a !important;
        background-image: linear-gradient(180deg, #091e3a 0%, #0d2b52 100%) !important;
        width: 275px !important;
        color: #ffffff !important;
        padding-bottom: 2.5em;
        left: 0 !important;
        transform: translateX(-330px) !important;
        -webkit-transform: translateX(-330px) !important;
        box-shadow: none !important; /* Sem sombra visível quando fechado */
        visibility: hidden !important; /* Oculta totalmente quando fechado */
        pointer-events: none !important; /* Impede captura de cliques quando fechado */
        transition: transform 0.35s ease, visibility 0.35s ease, box-shadow 0.35s ease !important;
    }

    body.navPanel-visible #navPanel {
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        box-shadow: 6px 0 35px rgba(0, 0, 0, 0.5) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Quando o modal de cadastro estiver aberto, desabilita completamente o menu lateral e titleBar */
    body.modal-cadastro-aberto #navPanel {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    body.modal-cadastro-aberto #titleBar {
        pointer-events: none !important;
        visibility: hidden !important;
    }

    /* Cabeçalho do Menu Mobile */
    .navPanel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.2em 1.2em 1em 1.2em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(0, 0, 0, 0.2);
    }

    .navPanel-brand a {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    .navPanel-brand img {
        max-height: 38px;
        width: auto;
        display: block;
        filter: brightness(0) invert(1); /* Deixa o logo branco no fundo escuro */
    }

    .navPanel-close-btn {
        color: #94a3b8 !important;
        font-size: 2em !important;
        line-height: 1 !important;
        text-decoration: none !important;
        padding: 0 6px !important;
        border-radius: 6px;
        transition: all 0.2s ease;
        border: none !important;
        cursor: pointer;
    }

    .navPanel-close-btn:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.15);
    }

    /* Itens de Navegação */
    .navPanel-items {
        padding: 0.8em 0;
    }

    #navPanel .link {
        font-style: normal !important;
        font-family: inherit !important;
        font-weight: 600 !important;
        font-size: 0.95em !important;
        letter-spacing: 0.02em !important;
        color: #e2e8f0 !important;
        height: auto !important;
        line-height: normal !important;
        padding: 12px 18px !important;
        border-top: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        transition: all 0.2s ease !important;
    }

    #navPanel .link i {
        font-size: 1em;
        width: 20px;
        text-align: center;
        color: #38bdf8;
    }

    #navPanel .link:hover,
    #navPanel .link.active {
        background: rgba(0, 114, 206, 0.25) !important;
        color: #ffffff !important;
        padding-left: 22px !important;
    }

    /* Seção / Dropdown ATIJ */
    .navPanel-section {
        margin-bottom: 0.4em;
    }

    .navPanel-section-title {
        font-size: 0.78em;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #94a3b8;
        padding: 10px 18px 4px 18px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .navPanel-section-title i {
        color: #38bdf8;
        font-size: 0.85em;
    }

    .navPanel-submenu {
        background: rgba(0, 0, 0, 0.15);
        border-left: 3px solid var(--atij-blue-primary);
        margin: 4px 0 8px 14px;
        border-radius: 0 6px 6px 0;
    }

    .navPanel-submenu .link {
        padding: 9px 14px !important;
        font-size: 0.9em !important;
        color: #cbd5e1 !important;
    }

    /* Botão CADASTRE-SE no Painel Lateral */
    .navPanel-btn-wrapper {
        padding: 1.4em 16px 1em 16px;
    }

    .btn-cadastre-se-panel {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        background-color: transparent !important;
        color: #e11d48 !important; /* Fonte vermelha */
        border: 2px solid #e11d48 !important;
        border-radius: 8px !important;
        padding: 11px 16px !important;
        font-weight: 700 !important;
        font-size: 0.95em !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em !important;
        cursor: pointer !important;
        text-decoration: none !important;
        box-shadow: 0 4px 14px rgba(225, 29, 72, 0.2) !important;
        transition: all 0.25s ease !important;
    }

    .btn-cadastre-se-panel:hover {
        background-color: #ffe4e6 !important;
        color: #be123c !important;
    }

    .btn-cadastre-se-panel:active,
    .btn-cadastre-se-panel.active,
    body.modal-cadastro-aberto .btn-cadastre-se-panel {
        background-color: var(--atij-blue-primary) !important;
        color: #ffffff !important;
        border-color: var(--atij-blue-primary) !important;
        box-shadow: 0 4px 16px rgba(0, 114, 206, 0.45) !important;
    }

    .btn-cadastre-se-panel i {
        font-size: 1.1em;
    }
}

/* ==========================================================================
   Abas da Página de Comunicação (Comunicação & Podcast) e Cards
   ========================================================================== */
.comunicacao-tabs-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 2.2em;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.comunicacao-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px;
    border-radius: 30px;
    font-size: 1.02em;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.25s ease;
    outline: none;
    text-decoration: none;
    box-shadow: none;
}

.comunicacao-tab-btn i {
    font-size: 1.15em;
    transition: transform 0.25s ease;
}

.comunicacao-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-2px);
}

.comunicacao-tab-btn:hover i {
    transform: scale(1.15);
}

.comunicacao-tab-btn.active {
    background: var(--atij-blue-primary) !important;
    color: #ffffff !important;
    border-color: var(--atij-blue-primary) !important;
    box-shadow: 0 4px 16px rgba(0, 114, 206, 0.35) !important;
}

.comunicacao-tab-btn.active i {
    color: #ffffff !important;
}

.comunicacao-tab-pane {
    display: none;
    animation: fadeInTab 0.35s ease forwards;
}

.comunicacao-tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards de Matérias de Notícias */
.atij-materia-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.2em;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.atij-materia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.atij-materia-thumb {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #0f172a;
    display: block;
}

.atij-materia-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.atij-materia-card:hover .atij-materia-thumb img {
    transform: scale(1.04);
}

.atij-materia-body {
    padding: 1.8em 2em;
}

.atij-materia-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0.8em;
    font-size: 0.88em;
}

.atij-materia-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: var(--atij-blue-primary);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85em;
}

.atij-materia-date {
    color: #64748b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.atij-materia-title {
    font-size: 1.45em;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 0.6em;
}

.atij-materia-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.atij-materia-title a:hover {
    color: var(--atij-blue-primary);
}

.atij-materia-excerpt {
    color: #475569;
    font-size: 1.02em;
    line-height: 1.65;
    margin-bottom: 1.4em;
}

.atij-materia-action {
    display: flex;
    align-items: center;
}

.btn-materia-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--atij-blue-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95em;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 114, 206, 0.25);
    transition: all 0.25s ease;
}

.btn-materia-link:hover {
    background: #005bb0 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 114, 206, 0.4);
    color: #ffffff !important;
}

.btn-materia-link i {
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.btn-materia-link:hover i {
    transform: translateX(3px);
}

/* Cards de Podcast & Vídeos */
.atij-podcast-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.4em;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.atij-podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.atij-video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000000;
}

.atij-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.atij-podcast-body {
    padding: 1.8em 2em;
}

.atij-podcast-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0.8em;
    font-size: 0.88em;
}

.atij-podcast-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #fecaca;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85em;
}

.atij-podcast-channel {
    color: #64748b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.atij-podcast-title {
    font-size: 1.45em;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 0.6em;
}

.atij-podcast-desc {
    color: #475569;
    font-size: 1.02em;
    line-height: 1.65;
    margin-bottom: 1.3em;
}

.btn-podcast-yt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dc2626;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92em;
    padding: 9px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    transition: all 0.25s ease;
}

.btn-podcast-yt:hover {
    background: #b91c1c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
    color: #ffffff !important;
}

@media screen and (max-width: 736px) {
    .comunicacao-tabs-nav {
        flex-direction: column;
        gap: 8px;
    }
    .comunicacao-tab-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }
    .atij-materia-thumb {
        height: 200px;
    }
    .atij-materia-body,
    .atij-podcast-body {
        padding: 1.4em 1.2em;
    }
    .atij-materia-title,
    .atij-podcast-title {
        font-size: 1.25em;
    }
}


