/* Variáveis de Cores Gerais */
:root {
    --ifrn-green: #32A041;
    --ifrn-dark: #1f6b29;
    --dark-gray: #333333;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #555;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Roboto Condensed', sans-serif;
}

/* Navbar */
.bg-ifrn {
    background-color: var(--ifrn-green);
}

.nav-link {
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
    background-color: rgba(255,255,255,0.2);
    border-radius: 5px;
}

/* =========================================
   HERO SECTION (BANNER) - CORREÇÃO PNG
   ========================================= */
.hero-section {
    /* CORREÇÃO AQUI: Extensão alterada para .png */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('../imagens/lapea-1500.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 85vh;
    padding-top: 80px;
    margin-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-logo {
    max-width: 220px;
    filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.2));
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

/* =========================================
   ÁREAS DE PESQUISA - ÍCONES COLORIDOS
   ========================================= */
/* Cores Específicas */
.icon-saude { color: #e84393; }    /* Rosa Saúde */
.icon-iot { color: #00cec9; }      /* Turquesa IoT */
.icon-cloud { color: #0984e3; }    /* Azul Cloud */
.icon-sec { color: #2d3436; }      /* Cinza Segurança */
.icon-ai { color: #6c5ce7; }       /* Roxo IA */
.icon-edu { color: #f0932b; }      /* Laranja Educação (Novo) */

/* Cards Base */
.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-bottom: 4px solid transparent; /* Linha sutil na base */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Hover Effects - A borda inferior assume a cor do ícone */
.card-saude:hover { border-bottom-color: #e84393; }
.card-saude:hover h4 { color: #e84393; }

.card-iot:hover { border-bottom-color: #00cec9; }
.card-iot:hover h4 { color: #00cec9; }

.card-cloud:hover { border-bottom-color: #0984e3; }
.card-cloud:hover h4 { color: #0984e3; }

.card-sec:hover { border-bottom-color: #2d3436; }
.card-sec:hover h4 { color: #2d3436; }

.card-ai:hover { border-bottom-color: #6c5ce7; }
.card-ai:hover h4 { color: #6c5ce7; }

.card-edu:hover { border-bottom-color: #f0932b; }
.card-edu:hover h4 { color: #f0932b; }


/* Utilitários Gerais */
.section-padding {
    padding: 80px 0;
}

.line-divider {
    width: 60px;
    height: 3px;
    background-color: var(--ifrn-green);
    margin-top: 15px;
}

.text-ifrn {
    color: var(--ifrn-green);
}

.ls-2 {
    letter-spacing: 2px;
}

/* Vídeo Responsivo */
.ratio-16x9 {
    --bs-aspect-ratio: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Ícones de Serviços */
.service-item i {
    font-size: 2.5rem;
    transition: color 0.3s;
}

.service-item:hover i {
    color: var(--ifrn-green) !important;
}

/* Lista de Pesquisadores */
.list-group-item {
    border-left: 5px solid transparent;
    transition: all 0.2s;
}

.list-group-item:hover {
    border-left: 5px solid var(--ifrn-green);
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* Lista de Artigos */
.article-list li {
    font-size: 0.95rem;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.article-list li:last-child {
    border-bottom: none;
}

/* Parceiros */
.partner-logo {
    max-height: 70px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    object-fit: contain;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Botões */
.btn-ifrn-light {
    background-color: var(--ifrn-green);
    color: white;
    border: none;
    transition: background-color 0.3s;
}
.btn-ifrn-light:hover {
    background-color: var(--ifrn-dark);
    color: white;
}

/* Tab Navigation */
.nav-pills .nav-link.active {
    background-color: var(--ifrn-green);
}
.nav-pills .nav-link {
    color: var(--dark-gray);
}
/* Efeito no link do Instagram no rodapé/contato */
.hover-link:hover {
    color: var(--ifrn-green) !important;
    text-decoration: underline !important;
    transition: all 0.3s ease;
}
/* Forçar renderização dos ícones em todos os navegadores */
.fas, .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}
/* Correção de tamanho para alinhamento */
i {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}