/* ==============================
   NAVBAR
============================== */

.navbar-pb {
    background: linear-gradient(135deg, #0d6efd, #084298);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-pb .navbar-brand {
    color: #ffffff;
    font-weight: 700;
}

/* ==============================
   LOGO IMAGE
============================== */

.navbar-brand img {
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

/* ==============================
   LOGO TEXTE SIGNATURE
============================== */

.logo-signature-fine {
    font-family: 'Satisfy', cursive;
    font-size: 2.05rem;
    font-weight: 400;
    letter-spacing: 0.35px;
    display: inline-flex;
    align-items: baseline;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.logo-pense {
    color: #ffffff;
}

.logo-sep {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.08em;
}

.logo-bete {
    color: #ffc107;
}

.logo-ext {
    font-size: 0.6em;
    margin-left: 0.12em;
    opacity: 0.9;
}

/* ==============================
   NAVIGATION LINKS
============================== */

.navbar-pb .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

.navbar-pb .nav-link:hover {
    color: #ffc107;
}

.navbar-pb .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 0.6rem;
}

/* ==============================
   LIEN REFUSÉS
============================== */

.navbar-pb .nav-link.text-danger {
    color: #ffd1d1 !important;
}

.navbar-pb .nav-link.text-danger:hover {
    color: #ff4d4d !important;
}

/* ==============================
   SEARCH BAR
============================== */

.search-pb .input-group {
    background: #ffffff;
    border-radius: 999px;
    overflow: hidden;
}

.search-pb .input-group-text {
    background: #ffffff;
    border: 0;
    padding-left: 0.75rem;
}

.search-pb .form-control {
    background: #ffffff;
    border: 0;
    box-shadow: none;
    min-width: 220px;
}

.search-pb .form-control:focus {
    box-shadow: none;
}

#searchDropdown {
    width: 100%;
    max-height: 340px;
    overflow: auto;
}

@media (max-width: 991px) {
    .search-pb .form-control {
        min-width: 100%;
    }
}

/* ==============================
   BOUTON THEME
============================== */

.btn-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.btn-theme-toggle:active {
    transform: scale(0.95);
}

.btn-theme-toggle i {
    font-size: 1.2rem;
    transition: transform 0.35s ease;
}

.theme-rotate {
    transform: rotate(180deg);
}

/* ==============================
   NAVBAR SMART (SCROLL)
============================== */

.navbar-smart {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: transform 0.18s ease, background 0.18s ease;
}

.navbar-smart.nav-hidden {
    transform: translateY(-110%);
}

/* ==============================
   DARK MODE
============================== */

:root[data-theme="dark"] body {
    background: #0b1220;
    color: #e6edf7;
}

:root[data-theme="dark"] .navbar-pb {
    background: linear-gradient(135deg, #0b2f6f, #071b3f);
}

:root[data-theme="dark"] .navbar-pb .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .search-pb .input-group {
    background: #0f1a2e;
}

:root[data-theme="dark"] .search-pb .input-group-text {
    background: #0f1a2e;
    color: #e6edf7;
}

:root[data-theme="dark"] .search-pb .form-control {
    background: #0f1a2e;
    color: #e6edf7;
}

:root[data-theme="dark"] .btn-theme-toggle {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffc107;
}

:root[data-theme="dark"] .btn-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.55);
}

/* card page accueil */
.hero { background: #f8f9fa; }
.card-hover { transition: .15s ease; }
.card-hover:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.08); }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.badge-theme { background:#e7f1ff;color:#0d6efd;border:1px solid #cfe2ff; }
