/* ==========================================================================
   PALETA DE CORES INSTITUCIONAL
   #040134 (Azul Escuro / Navy Primário)
   #fff8e6 (Creme Claro / Off-White Suave)
   #ffffff (Branco Puro)
   ========================================================================== */

/* 1. CONFIGURAÇÕES GERAIS E RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #040134;
    line-height: 1.6;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Utilitários Extras */
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.m-top-48 { margin-top: 48px; }

/* Layouts Base Responsivos (Mobile First) */
.grid-2, .grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }

.text-muted {
    color: rgba(4, 1, 52, 0.75);
    margin-bottom: 20px;
}

.text-sm { font-size: 14px; }

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #040134;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: rgba(4, 1, 52, 0.9);
    transform: translateY(-1px);
}

.btn-accent {
    background-color: #fff8e6;
    color: #040134;
    font-weight: 600;
}

.btn-accent:hover {
    background-color: #fcebc4;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 248, 230, 0.3);
    color: #fff8e6;
}

.btn-outline:hover {
    border-color: #fff8e6;
    background-color: rgba(255, 248, 230, 0.08);
}

/* 2. NAVBAR (CABECALHO) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(4, 1, 52, 0.08);
    height: 90px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    height: 52px; /* Logo grande e destacada solicitada */
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.divider {
    height: 28px;
    width: 1px;
    background-color: rgba(4, 1, 52, 0.15);
}

.subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(4, 1, 52, 0.5);
}

.nav-links {
    display: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(4, 1, 52, 0.8);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: #040134; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Ícone do Instagram na Navbar */
.instagram-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-instagram {
    width: 20px;
    height: 20px;
    fill: rgba(4, 1, 52, 0.7);
    transition: fill 0.2s ease, transform 0.2s ease;
}

.instagram-icon-link:hover .svg-instagram {
    fill: #040134;
    transform: scale(1.1);
}

@media (min-width: 992px) { .nav-links { display: flex; } }

/* 3. HERO SECTION */
.hero {
    position: relative;
    background-color: #040134;
    color: #ffffff;
    padding: 110px 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 248, 230, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.hero-container {
    position: relative;
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 248, 230, 0.08);
    color: #fff8e6;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 248, 230, 0.15);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-italic {
    font-style: italic;
    color: #fff8e6;
    font-weight: 400;
}

.hero-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 576px) {
    .hero-title { font-size: 56px; }
    .hero-actions { flex-direction: row; }
}

/* 4. SOBRE NÓS & CONTADORES */
.section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(4, 1, 52, 0.5);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.stats-counter-box {
    background-color: #fff8e6;
    padding: 32px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background-color: #ffffff;
    padding: 24px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(4, 1, 52, 0.02);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #040134;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(4, 1, 52, 0.5);
    font-weight: 600;
}

/* 5. LINHAS DE PESQUISA */
.linhas-section {
    background-color: #040134;
}

.badge-light { color: #fff8e6; }

.card {
    padding: 40px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-dark {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 248, 230, 0.1);
}

.card-dark:hover {
    border-color: #fff8e6;
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.05);
}

.card-number {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 248, 230, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff8e6;
    font-weight: 600;
    margin-bottom: 24px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 12px;
}

.card-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* 6. CORPO DOCENTE (ESTILIZAÇÃO ADICIONADA) */
.docentes-section {
    background-color: #fff8e6; /* Creme claro contrastando com as outras seções */
}

.docente-card {
    background-color: #ffffff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(4, 1, 52, 0.04);
    box-shadow: 0 4px 15px rgba(4, 1, 52, 0.02);
    transition: transform 0.3s ease;
}

.docente-card:hover {
    transform: translateY(-4px);
}

.docente-avatar-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background-color: #fff8e6;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #040134;
}

.docente-avatar-placeholder {
    font-size: 32px;
}

.docente-name {
    font-family: 'Playfair Display', serif;
    color: #040134;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 4px;
}

.docente-role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: rgba(4, 1, 52, 0.6);
    margin-bottom: 16px;
}

.docente-bio {
    font-size: 14px;
    color: rgba(4, 1, 52, 0.75);
}

/* 7. PUBLICAÇÕES */
.publicacoes-section {
    background-color: #ffffff;
}

.section-header-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .section-header-flex { flex-direction: row; align-items: flex-end; }
}

.link-arrow {
    color: #040134;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.card-light {
    background-color: #ffffff;
    border: 1px solid rgba(4, 1, 52, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(4, 1, 52, 0.05);
}

.card-meta {
    font-size: 12px;
    color: rgba(4, 1, 52, 0.4);
    font-weight: 500;
}

.card-title-dark {
    font-family: 'Playfair Display', serif;
    color: #040134;
    font-size: 20px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.card-footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(4, 1, 52, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author {
    font-size: 12px;
    font-weight: 500;
    color: rgba(4, 1, 52, 0.6);
}

.btn-link {
    font-size: 12px;
    font-weight: 700;
    color: #040134;
    text-decoration: none;
}

/* 8. FOOTER & REDES SOCIAIS */
.footer {
    background-color: #040134;
    color: rgba(255, 255, 255, 0.55);
    padding: 64px 0 32px 0;
    border-top: 1px solid rgba(255, 248, 230, 0.1);
}

.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 8px;
}

.logo-white {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-text {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
}

/* Caixa das Redes Sociais no Rodapé */
.footer-social-box {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 230, 0.1);
    transition: background-color 0.2s, border-color 0.2s;
}

.svg-instagram-footer {
    width: 18px;
    height: 18px;
    fill: #fff8e6; /* Cor creme no rodapé */
    transition: transform 0.2s ease;
}

.social-icon-link:hover {
    background-color: rgba(255, 248, 230, 0.1);
    border-color: #fff8e6;
}

.social-icon-link:hover .svg-instagram-footer {
    transform: scale(1.1);
}

.footer-heading {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-heading.italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #fff8e6;
}

.footer-info { margin-bottom: 8px; font-size: 14px; }

.footer-bottom {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

@media (min-width: 576px) {
    .footer-bottom-flex { flex-direction: row; gap: 0; }
}

.dev-credits a {
    color: #fff8e6;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.dev-credits a:hover {
    opacity: 0.8;
    text-decoration: underline;
}