:root {
    --primary: #1a6b3c;
    --primary-dark: #0f4d2a;
    --primary-light: #2d9d5c;
    --secondary: #f0a500;
    --secondary-dark: #d49200;
    --accent: #e74c3c;
    --dark: #1a1a2e;
    --darker: #12121f;
    --light: #f8f9fa;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.nav-logo {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
    margin-right: 15px;
}

.nav-logo-box {
    background: #fff;
    padding: 8px 0 8px 3px;
    flex-shrink: 0;
    border: 3px solid #fff;
    border-left: 3px solid #fff;
    border-radius: 110px 110px 110px 110px;
}

.nav-separator {
    width: 40px;
    height: 220px;
    border: 3px solid var(--secondary);
    border-left: none;
    border-radius: 0 110px 110px 0;
    align-self: center;
    box-shadow: 3px 0 12px rgba(240, 165, 0, 0.3);
    flex-shrink: 0;
    position: relative;
    opacity: 0;
    visibility: hidden;
}

.nav-links-box {
    padding: 0 20px;
}

.navbar-brand {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

#mainNav .container {
    padding-left: 5px;
}

#mainNav {
    background: rgba(26, 107, 60, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1050;
    border: 3px solid var(--secondary);
    border-radius: 10px 20px 20px 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

#mainNav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: calc(100% - 6px);
    background: var(--secondary);
    z-index: 1051;
}

#mainNav.scrolled {
    background: rgba(15, 77, 42, 0.98);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Navbar color states based on section */
#mainNav.nav-light {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
#mainNav.nav-light.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
}
#mainNav.nav-light .nav-link {
    color: #333 !important;
}
#mainNav.nav-light .nav-link:hover,
#mainNav.nav-light .nav-link.active {
    color: var(--primary) !important;
    background: rgba(26, 107, 60, 0.1);
}
#mainNav.nav-light .nav-logo-box {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}
#mainNav.nav-light .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.3) !important;
}
#mainNav.nav-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile menu — fond = meme couleur que la navbar */
.navbar-collapse.show {
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 1rem;
    margin-top: 0.5rem;
}
/* Defaut = vert */
.navbar-collapse.show {
    background: rgba(26, 107, 60, 0.98) !important;
}
.navbar-collapse.show .nav-link {
    color: #fff !important;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: background 0.2s;
}
.navbar-collapse.show .nav-link:hover {
    background: rgba(255,255,255,0.15);
}
.navbar-collapse.show .btn-link {
    color: #f0a500 !important;
}

/* Sections claires = blanc */
.nav-light .navbar-collapse.show {
    background: rgba(255, 255, 255, 0.98) !important;
}
.nav-light .navbar-collapse.show .nav-link {
    color: #333 !important;
}
.nav-light .navbar-collapse.show .nav-link:hover {
    background: rgba(26,107,60,0.1);
    color: var(--primary) !important;
}

/* Sections noires = noir */
.nav-dark .navbar-collapse.show {
    background: rgba(26, 26, 46, 0.98) !important;
}
.nav-dark .navbar-collapse.show .nav-link {
    color: #fff !important;
}
.nav-dark .navbar-collapse.show .nav-link:hover {
    background: rgba(255,255,255,0.1);
}

#mainNav.nav-dark {
    background: rgba(26, 26, 46, 0.95) !important;
}
#mainNav.nav-dark.scrolled {
    background: rgba(18, 18, 31, 0.98) !important;
}
#mainNav.nav-dark .nav-logo-box {
    background: #fff !important;
    border-color: #fff !important;
}
#mainNav.nav-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3) !important;
}
#mainNav.nav-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.brand-u {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    background: var(--secondary);
    padding: 4px 12px;
    border-radius: 6px;
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin: 0 0.3rem;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Lien navbar : jamais de retour a la ligne sur ecrans moyens */
@media (min-width: 992px) and (max-width: 1299.98px) {
    #mainNav .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.7rem !important;
        margin: 0 0.1rem;
    }
}

/* Les liens restent toujours sur une seule ligne sur desktop */
@media (min-width: 992px) {
    #mainNav .navbar-nav {
        flex-wrap: nowrap;
    }
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 260px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,133.3C672,117,768,107,864,122.7C960,139,1056,181,1152,186.7C1248,192,1344,160,1392,144L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-top: 1.5rem;
    text-align: center;
}

.hero-mission {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-mission h4 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-mission ul {
    list-style: none;
    padding: 0;
}

.hero-mission ul li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.hero-mission ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.president-message {
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--secondary);
    border-radius: 0 16px 16px 0;
    padding: 2rem;
    margin-top: 2rem;
}

.president-message blockquote {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.president-message .author {
    color: var(--secondary);
    font-weight: 600;
}

.btn-hero-primary {
    background: var(--secondary);
    color: var(--dark);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 165, 0, 0.4);
    color: #fff;
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    border: 2px solid #fff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-secondary:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ========== SECTIONS GENERAL ========== */
section[id] {
    scroll-margin-top: 110px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.section-accent {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* ========== ABOUT / QUI SOMMES-NOUS ========== */
.about-section {
    background: var(--light);
}

.value-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: #fff;
}

.value-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.team-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

.team-card h5 {
    font-weight: 700;
    color: var(--dark);
}

.team-card .role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-card .motto {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.85rem;
}

/* ========== PROJECTS / ACTUALITÉS ========== */
.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.project-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
}

.project-card .card-body {
    padding: 1.8rem;
}

.project-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.project-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========== SPORT SECTION ========== */
.sport-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: #fff;
}

.sport-section .section-title {
    color: #fff;
}

.sport-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.sport-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.sport-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.sport-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.sport-card h5 {
    font-weight: 700;
    color: #fff;
}

.sport-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ========== MICRO-CREDIT SECTION ========== */
.microcredit-section {
    background: var(--light);
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-card h5 {
    font-weight: 700;
    color: var(--dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== ENVIRONMENT SECTION ========== */
.env-section {
    background: linear-gradient(135deg, #0d503c 0%, #1a6b3c 100%);
    color: #fff;
}

.env-section .section-title,
.env-section .section-subtitle {
    color: #fff;
}

.env-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.env-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.env-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.env-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.env-card h5 {
    font-weight: 700;
    color: #fff;
}

.env-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ========== GAMES SECTION ========== */
.games-section {
    background: var(--light);
}

.game-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.game-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.game-card h5 {
    font-weight: 700;
    color: var(--dark);
}

.game-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== NEWS SECTION ========== */
.news-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-left: 4px solid var(--primary);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.news-card .date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-card h5 {
    font-weight: 700;
    color: var(--dark);
}

.news-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.news-card .author {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== FORMS ========== */
.form-section {
    background: var(--light);
}

.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.form-card h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.15);
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 107, 60, 0.3);
    color: #fff;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: var(--light);
}

.contact-info-card {
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
}

.contact-info-card h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.3rem;
    margin-right: 1rem;
    color: var(--secondary);
    min-width: 24px;
}

.contact-info-item span {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ========== PAYMENT METHODS ========== */
.payment-methods label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-methods label:hover {
    border-color: var(--primary);
    background: rgba(26, 107, 60, 0.05);
}

.payment-methods input[type="radio"]:checked + span {
    color: var(--primary);
    font-weight: 600;
}

.payment-methods label:has(input:checked) {
    border-color: var(--primary);
    background: rgba(26, 107, 60, 0.08);
}

/* ========== FOOTER ========== */
.footer-section {
    background: var(--dark);
    padding: 60px 0 20px;
}

.footer-section h5,
.footer-section h6 {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ========== TABS ========== */
.nav-tabs-custom {
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
}

.nav-tabs-custom .nav-link {
    color: var(--text-muted);
    font-weight: 600;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
}

.nav-tabs-custom .nav-link.active {
    color: var(--primary);
    background: #fff;
    border-bottom: 3px solid var(--primary);
}

/* ========== RESPONSIVE ========== */
/* ========== MOBILE & TABLET OPTIMIZATIONS ========== */
@media (max-width: 991.98px) {
    .nav-logo {
        height: 80px;
        width: 80px;
        margin-left: 5px;
        margin-right: 10px;
    }

    .nav-logo-box {
        border-radius: 50px 50px 50px 50px;
    }

    .nav-separator {
        width: 25px;
        height: 100px;
        border-radius: 0 55px 55px 0;
    }

    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', sans-serif;
        font-size: 16px;
        line-height: 1.5;
        color: #333;
    }

    .hero-section {
        padding-top: 200px;
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 28px;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.3px;
        color: #fff;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-mission h4,
    .president-message h5 {
        font-size: 17px;
        font-weight: 600;
    }

    .hero-mission p,
    .hero-mission ul li {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-mission ul li {
        padding: 0.35rem 0 0.35rem 1.5rem;
    }

    .president-message blockquote {
        font-size: 14px;
        line-height: 1.65;
    }

    .president-message .author {
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 15px;
        line-height: 1.5;
    }

    .section {
        padding: 70px 0;
    }

    .value-card,
    .team-card,
    .project-card,
    .sport-card,
    .service-card,
    .env-card,
    .game-card,
    .news-card {
        padding: 1.5rem;
    }

    .value-card h5,
    .team-card h5,
    .project-card h5,
    .sport-card h5,
    .service-card h5,
    .env-card h5,
    .game-card h5,
    .news-card h5 {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.35;
    }

    .value-card p,
    .project-card p,
    .sport-card p,
    .service-card p,
    .env-card p,
    .game-card p,
    .news-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .team-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }

    .project-icon {
        height: 160px;
        font-size: 3rem;
    }

    .team-card .motto {
        font-size: 12px;
    }

    .news-card .date,
    .news-card .author {
        font-size: 12px;
    }

    .form-card {
        padding: 1.8rem;
    }

    .form-card h4 {
        font-size: 20px;
        font-weight: 600;
    }

    .form-control,
    .form-select {
        font-size: 15px;
        padding: 12px 14px;
    }

    .form-label {
        font-size: 14px;
        font-weight: 500;
    }

    .btn-primary-custom {
        padding: 14px 28px;
        font-size: 15px;
        font-weight: 600;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 30px;
        font-size: 14px;
    }

    .nav-tabs-custom .nav-link {
        font-size: 14px;
        padding: 0.8rem 1.2rem;
    }

    .payment-methods label {
        font-size: 14px;
        padding: 10px 14px;
    }

    .contact-info-card {
        padding: 2rem;
    }

    .contact-info-card h4 {
        font-size: 20px;
    }

    .contact-info-item {
        margin-bottom: 1rem;
    }

    .contact-info-item i {
        font-size: 1.1rem;
    }

    .contact-info-item span {
        font-size: 14px;
        line-height: 1.5;
    }

    .footer-section {
        padding: 50px 0 20px;
    }

    .footer-section h5 {
        font-size: 18px;
    }

    .footer-section h6 {
        font-size: 14px;
    }

    .footer-section p,
    .footer-section li a {
        font-size: 13px;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-section {
        padding-top: 160px;
        padding-bottom: 30px;
    }

    .hero-title {
        font-size: 24px;
        font-weight: 700;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-mission,
    .president-message {
        padding: 1.2rem;
    }

    .hero-mission h4,
    .president-message h5 {
        font-size: 16px;
    }

    .hero-mission p,
    .hero-mission ul li,
    .president-message blockquote {
        font-size: 13px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .section {
        padding: 50px 0;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 13px;
    }

    .value-card,
    .team-card,
    .project-card,
    .sport-card,
    .service-card,
    .env-card,
    .game-card,
    .news-card {
        padding: 1.2rem;
    }

    .value-card h5,
    .team-card h5,
    .project-card h5,
    .sport-card h5,
    .service-card h5,
    .env-card h5,
    .game-card h5,
    .news-card h5 {
        font-size: 15px;
    }

    .value-card p,
    .project-card p,
    .sport-card p,
    .service-card p,
    .env-card p,
    .game-card p,
    .news-card p {
        font-size: 13px;
    }

    .form-card {
        padding: 1.5rem;
    }

    .form-card h4 {
        font-size: 18px;
    }

    .form-control,
    .form-select {
        font-size: 14px;
        padding: 10px 12px;
    }

    .form-label {
        font-size: 13px;
    }

    .btn-primary-custom {
        padding: 12px 24px;
        font-size: 14px;
    }

    .nav-tabs-custom .nav-link {
        font-size: 13px;
        padding: 0.7rem 1rem;
    }

    .payment-methods label {
        font-size: 13px;
        padding: 8px 12px;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-info-card h4 {
        font-size: 18px;
    }

    .contact-info-item span {
        font-size: 13px;
    }

    .footer-section h5 {
        font-size: 16px;
    }

    .footer-section h6 {
        font-size: 13px;
    }

    .footer-section p,
    .footer-section li a {
        font-size: 12px;
    }
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ALERTS ========== */
.alert-success-custom {
    background: rgba(26, 107, 60, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary-dark);
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.alert-error-custom {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    border: none;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.whatsapp-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    max-height: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.whatsapp-popup.active {
    display: flex;
}

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

.whatsapp-popup-header {
    background: #075e54;
    color: #fff;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.whatsapp-popup-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.whatsapp-status {
    font-size: 0.75rem;
    opacity: 0.85;
}

.whatsapp-status i {
    font-size: 0.5rem;
}

.whatsapp-close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.8;
}

.whatsapp-close-btn:hover {
    opacity: 1;
}

.whatsapp-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #e5ddd5;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23e5ddd5" width="100" height="100"/><circle fill="%23d4cfca" cx="20" cy="20" r="2"/><circle fill="%23d4cfca" cx="50" cy="40" r="1.5"/><circle fill="%23d4cfca" cx="80" cy="15" r="2"/><circle fill="%23d4cfca" cx="30" cy="70" r="1.5"/><circle fill="%23d4cfca" cx="70" cy="80" r="2"/></svg>');
    min-height: 280px;
    max-height: 340px;
}

.whatsapp-msg {
    margin-bottom: 0.6rem;
    max-width: 88%;
}

.whatsapp-msg p {
    margin: 0;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.whatsapp-msg.bot p {
    background: #fff;
    color: #333;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-msg.user {
    display: flex;
    justify-content: flex-end;
}

.whatsapp-msg.user p {
    background: #dcf8c6;
    color: #333;
    border-bottom-right-radius: 2px;
}

.whatsapp-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0.5rem 0;
}

.whatsapp-quick-btn {
    background: #fff;
    border: 1px solid #25d366;
    color: #075e54;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.whatsapp-quick-btn:hover {
    background: #25d366;
    color: #fff;
}

.whatsapp-popup-footer {
    padding: 0.6rem;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

.whatsapp-input-group {
    display: flex;
    gap: 8px;
}

.whatsapp-input-group input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.85rem;
    outline: none;
}

.whatsapp-input-group input:focus {
    border-color: #25d366;
}

.whatsapp-input-group button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-input-group button:hover {
    background: #1da851;
}

.whatsapp-redirect-btn {
    display: inline-block;
    background: #25d366;
    color: #fff !important;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-redirect-btn:hover {
    background: #1da851;
    color: #fff !important;
}

/* ========== NEWSLETTER ASSISTANT ========== */
.newsletter-assistant {
    position: fixed;
    bottom: 94px;
    right: 24px;
    z-index: 9998;
}

.newsletter-main-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 107, 60, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-main-btn:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.newsletter-popup {
    position: absolute;
    bottom: 62px;
    right: 0;
    width: 360px;
    max-height: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.newsletter-popup.active {
    display: flex;
}

.newsletter-popup-header {
    background: var(--primary-dark);
    color: #fff;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.newsletter-popup-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.newsletter-status {
    font-size: 0.75rem;
    opacity: 0.85;
}

.newsletter-status i {
    font-size: 0.5rem;
}

.newsletter-close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.8;
}

.newsletter-close-btn:hover {
    opacity: 1;
}

.newsletter-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #f4f7f5;
    min-height: 260px;
    max-height: 320px;
}

.newsletter-msg {
    margin-bottom: 0.6rem;
    max-width: 92%;
}

.newsletter-msg p {
    margin: 0;
    margin-bottom: 0.3rem;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.newsletter-msg.bot p {
    background: #fff;
    color: #333;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.newsletter-msg.user {
    display: flex;
    justify-content: flex-end;
}

.newsletter-msg.user p {
    background: var(--primary-light);
    color: #fff;
    border-bottom-right-radius: 2px;
}

.newsletter-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0.5rem 0;
}

.newsletter-quick-btn {
    background: #fff;
    border: 1px solid var(--primary);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.newsletter-quick-btn:hover {
    background: var(--primary);
    color: #fff;
}

.newsletter-popup-footer {
    padding: 0.6rem;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
}

.newsletter-input-group input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.85rem;
    outline: none;
}

.newsletter-input-group input:focus {
    border-color: var(--primary);
}

.newsletter-input-group button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-input-group button:hover {
    background: var(--primary-dark);
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 576px) {
    .whatsapp-popup,
    .newsletter-popup {
        width: calc(100vw - 40px);
        right: -10px;
    }

    .whatsapp-main-btn {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .newsletter-main-btn {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    .newsletter-assistant {
        bottom: 86px;
        right: 16px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
}

/* ========== DASHBOARD PAGES ========== */
.dashboard-page {
    padding-top: 280px;
    min-height: 100vh;
    background: #f0f2f5;
    position: relative;
    z-index: 1;
}

/* ========== AUTH PAGES ========== */
.auth-page {
    padding-top: 260px !important;
}
@media (max-width: 991.98px) {
    .auth-page {
        padding-top: 140px !important;
    }
}

/* Modal connexion au-dessus de la navbar */
#loginModal {
    z-index: 10600 !important;
}
#loginModal .modal-backdrop {
    z-index: 10550 !important;
}

.whatsapp-float,
.newsletter-assistant {
    position: fixed !important;
    z-index: 10000 !important;
}

@media (max-width: 991.98px) {
    .dashboard-page {
        padding-top: 150px;
    }
}

/* ========== IMPRESSION / PRINT ========== */
@media print {
    body {
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .navbar, footer, .whatsapp-float, .newsletter-assistant,
    .no-print, nav, .btn, form, .modal, .offcanvas {
        display: none !important;
    }
    .dashboard-page {
        padding-top: 0 !important;
        background: #fff !important;
    }
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
    .table {
        font-size: 0.85rem;
    }
    .badge {
        border: 1px solid #ccc;
    }
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
}

/* ========== GALERIE SLIDER (SECTION) ========== */
.section-slider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.section-slider .slider-track {
    display: flex;
    gap: 8px;
    padding: 2px;
    transition: transform 0.6s ease;
    will-change: transform;
}
.section-slider .slider-slide {
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
}
@media (min-width: 768px) {
    .section-slider .slider-slide { flex: 0 0 auto; }
}
.section-slider .slider-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.section-slider .slider-slide:hover img {
    transform: scale(1.05);
}
.section-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s;
}
.section-slider .slider-arrow:hover { background: var(--primary); }
.section-slider .slider-arrow.prev { left: 10px; }
.section-slider .slider-arrow.next { right: 10px; }

/* ========== FOND DEFILANT PAR SECTION ========== */
section {
    position: relative;
}
.section-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.bg-slide.active {
    opacity: 1;
}
.bg-slide-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Overlays pour la lisibilite */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(18,47,29,0.75) 0%, rgba(26,107,60,0.6) 50%, rgba(18,47,29,0.75) 100%);
}
.section-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255,255,255,0.88);
}
.sport-section .section-overlay,
.env-section .section-overlay {
    background: rgba(12,12,14,0.78);
}
/* Contenu au-dessus des fonds */
section > .container {
    position: relative;
    z-index: 2;
}
.hero-section > .container {
    position: relative;
    z-index: 2;
}

/* ========== WEBRADIO BROMAKOTE FM ========== */
.radio-section {
    background: linear-gradient(135deg, #2c1e1e 0%, #4a1f1f 55%, #2c1e1e 100%);
    color: #fff;
}
.radio-section .section-title { color: #fff; }
.radio-player-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}
.radio-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.radio-visual i { font-size: 3rem; color: #ff6b6b; }
.radio-freq {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}
.radio-hint { color: rgba(255,255,255,0.6); font-size: 0.9rem; text-align: center; }
.radio-programs li {
    padding: 0.55rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.98rem;
}
.radio-programs li i { color: #ff6b6b; }
.radio-programs li:last-child { border-bottom: none; }
audio { border-radius: 30px; }

/* ========== NAVBAR PUB FLOATING (ujbfpub) ========== */
.nav-ad-slot {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    flex: 0 1 auto;
    min-width: 110px;
    max-width: 320px;
    height: 80px;
    margin: 0 6px;
    align-self: center;
    z-index: 1;
}
.nav-scroll-ad {
    position: absolute;
    top: 50%;
    left: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    object-fit: cover;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(-50%) scale(0.1);
    transform-origin: center;
    will-change: transform, opacity, filter;
    border: 2px solid #fff;
    outline: 2px solid var(--secondary);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    animation: navAdBeam 16s ease-in-out infinite;
}
/* Effet faisceau lumineux (tablette & smartphone) : apparait lentement, reste 5s, disparait doucement */
@keyframes navAdBeam {
    0%   { opacity: 0; filter: blur(5px); transform: translateY(-50%) scale(0.1); }
    55%  { opacity: 1; filter: blur(0);   transform: translateY(-50%) scale(1); }
    85%  { opacity: 1; filter: blur(0);   transform: translateY(-50%) scale(1); }
    100% { opacity: 0; filter: blur(5px); transform: translateY(-50%) scale(0.1); }
}
/* Desktop : filigrane non-cliquable qui traverse la surface de la navbar */
@media (min-width: 992px) {
    .nav-ad-slot {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 290px;
        right: 0;
        height: auto;
        flex: none;
        min-width: 0;
        max-width: none;
        margin: 0;
        align-self: auto;
        z-index: 2;
    }
    .nav-scroll-ad {
        width: auto;
        max-width: none;
        height: 110px;
        opacity: 0.30;
        border-width: 3px;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        animation: none;
        filter: none;
    }
}

/* ========== SECTION UJB TV ========== */
.ujbtv-section {
    background: linear-gradient(135deg, #12121f 0%, #1a1a2e 60%, #12121f 100%);
    color: #fff;
}
.ujbtv-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}
.tv-frame {
    position: relative;
    background: #000;
    border-radius: 24px;
    border: 8px solid #26263a;
    padding: 12px;
    box-shadow: 0 0 45px rgba(240, 165, 0, 0.28), 0 24px 70px rgba(0, 0, 0, 0.55);
    cursor: pointer;
}
.tv-fullscreen-btn {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
}
.tv-fullscreen-btn:hover {
    background: rgba(255, 0, 0, 0.85);
}
.tv-modal-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 40%, #1e1e30, #0c0c16);
    padding: 2rem;
    color: #fff;
}
.tv-modal-placeholder i {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 1rem;
}
.tv-modal-placeholder h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.tv-modal-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
    max-width: 460px;
}
.tv-frame iframe {
    width: 100%;
    height: 440px;
    border: none;
    border-radius: 14px;
    display: block;
    background: #000;
}
.tv-placeholder {
    height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 40%, #1e1e30, #0c0c16);
    border-radius: 14px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.85);
}
.tv-placeholder i {
    font-size: 3.5rem;
    color: #ff0000;
    margin-bottom: 1rem;
}
.tv-placeholder h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.tv-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
    max-width: 480px;
}
@media (max-width: 767.98px) {
    .tv-frame iframe,
    .tv-placeholder {
        height: 320px;
    }
}
@media (max-width: 575.98px) {
    .ujbtv-section {
        padding: 60px 0;
    }
    .tv-frame iframe,
    .tv-placeholder {
        height: 240px;
    }
}

/* ========== FONDS DYNAMIQUES (A propos + valeurs) ========== */
.value-bg-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.value-bg-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 0;
}

.value-bg-content {
    position: relative;
    z-index: 1;
}

.team-avatar-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: none;
    color: transparent;
}
