.custom-navbar {
    border-radius: 0 0 15px 15px;
    padding: 10px 0;
    position: fixed; 
    position: sticky;
  
}
	
.navbar-brand {
    display: flex;
    align-items: center;
}

.custom-navbar .nav-link {
    font-weight: 500;
    color: #333;
      font-size: 18px !important;
}

.custom-navbar .nav-link:hover {
    color: #0d6efd;
   
}

.custom-navbar .btn-primary {
    border-radius: 20px;
    padding: 6px 15px;
}

.dropdown-menu {
    min-width: 200px;
}


/* USER NAME */
.dropdown-toggle span {
    font-size: 14px;
    color: #333;
}

/* BOTÕES LOGIN */
.btn-outline-primary {
    border-radius: 20px;
}

.btn-primary {
    border-radius: 20px;
}


/* LOGO CONTROL */
.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Evita conflitos com Bootstrap */




/* NAVBAR RESPONSIVO */
@media (max-width: 991px) {

    .navbar-brand img {
        height: 35px;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
    }

    /* Botões login */
    .d-flex.align-items-center.gap-2 {
        flex-direction: column;
        margin-top: 10px;
        gap: 10px;
    }

    .d-flex.align-items-center.gap-2 a {
        width: 100%;
        text-align: center;
    }

}
/*-----------------------------Header.tlp--------------------------------------*/
/* 🔍 SEARCH */


.search-box {
    background: #f5f7fb;
    border-radius: 30px;
    padding: 5px 10px;
    width: 400px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


.search-input {
    border: none;
    background: transparent;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-icon {
    margin: 0 10px;
    color: #6c757d;
}

/* 🎯 HERO */
.hero-section {
   background:
                url('../images/Banner.png') center/cover no-repeat;
    color: rgb(0, 0, 0);
    padding: 60px 0;
    border-radius: 0 0 0px 0px;
    margin-top: 100px;
}

.hero-bg {
    

    color: rgb(0, 0, 0);
    padding: 80px 0;
    border-radius: 0 0 30px 0px;
    margin-top: 20px;
}

.hero-content h1 {
    font-size: 36px;
}

.hero-content span {
    color: #0d6efd;
}

/* 📊 STATS */
.stats-wrapper {
    margin-top: -40px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-card i {
    font-size: 30px;
    color: #0d6efd;
}

.stat-card h3 {
    margin-top: 10px;
}

/* 📱 RESPONSIVO */
@media (max-width: 768px) {
    .search-box {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .stats-wrapper {
        margin-top: 10px;
    }
}

/*-----------------------------IndexSite.tlp--------------------------------------*/

/* 📚 JOURNALS - CARD FIX */
.journal-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0; /* 🔥 Borda visível */
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover mais profissional */
.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* IMAGEM */
.journal-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.journal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CONTEÚDO */
.journal-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* TÍTULO */
.journal-content h5 {
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.journal-content h5 a {
    color: #0d6efd;
    text-decoration: none;
}

.journal-content h5 a:hover {
    text-decoration: underline;
}

/* DESCRIÇÃO */
.journal-content p {
    font-size: 13px;
    color: #666;
    flex-grow: 1;
}

/* BOTÃO */
.journal-content .btn {
    margin-top: 10px;
    border-radius: 20px;
    align-self: flex-start;
}
/* GRID RESPONSIVO */
@media (max-width: 768px) {
    .journal-img img {
        height: 140px;
    }
}


/*--------------------------------------------------------*/



/* FOOTER 
.portal-footer {
    background: #0d1b2a;
    color: #fff;
    padding: 50px 0 20px;
}*/

.portal-footer {
    background:
                url("../images/footer.png");
    padding: 20px;
    
}

.footer-logo {
    font-weight: bold;
    color: #fff;
}

.portal-footer h5 {
    margin-bottom: 15px;
}

.portal-footer p {
    font-size: 14px;
    color: #ccc;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

/* SOCIAL */
.social-icons a {
    color: #fff;
    margin-right: 10px;
    font-size: 18px;
}

.social-icons a:hover {
    color: #0d6efd;
}

/* COPYRIGHT */
.footer-bottom {
    font-size: 13px;
    color: #aaa;
}


.custom-navbar .nav-link,
.custom-navbar .navbar-brand,
.custom-navbar .dropdown-toggle,
.custom-navbar .dropdown-item {
    font-size: 18px !important;
}


/*---------------------------------About--------------------------------------------*/


/* ABOUT HERO */
.about-hero {
    background: linear-gradient(rgba(13,110,253,0.8), rgba(13,110,253,0.8)),
                url('../images/banner.jpg') center/cover no-repeat;
    padding: 80px 20px;
    border-radius: 20px;
}

/* CARDS */
.about-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-card i {
    font-size: 30px;
    color: #0d6efd;
}

/* BOXES */
.about-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.about-box:hover {
    transform: translateY(-5px);
}

.about-box i {
    font-size: 30px;
    color: #0d6efd;
    margin-bottom: 10px;
}