/* ================================
   GLOBAL
================================ */
.u-section {
    position: relative;
}

.u-section h1,
.u-section h2,
.u-section h5 {
    font-weight: 700;
}

.u-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.bg-light {
    background-color: #f6f8fb !important;
}

/* ================================
   HERO
================================ */
.hero-bourse {
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.hero-bourse h1 {
    font-size: 2.8rem;
}

.hero-bourse .lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.hero-bourse .btn {
    min-width: 220px;
}

@media (max-width: 768px) {
    .hero-bourse {
        text-align: center;
    }

    .hero-bourse h1 {
        font-size: 2.1rem;
    }
}

/* ================================
   AVANTAGES
================================ */
.u-section .col-md-3 img {
    transition: transform 0.3s ease;
}

.u-section .col-md-3:hover img {
    transform: translateY(-6px);
}

.u-section h6 {
    font-weight: 600;
    font-size: 0.95rem;
    color: #003d80;
}

/* ================================
   PRESENTATION
================================ */
.u-section img.img-fluid {
    max-width: 90%;
    border-radius: 12px;
}

/* ================================
   ACCORDION (ESSENTIEL)
================================ */
.accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background-color: #ffffff;
    font-weight: 600;
    color: #003d80;
}

.accordion-button:not(.collapsed) {
    background-color: #003d80;
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body ul {
    padding-left: 1.2rem;
}

.accordion-body li {
    margin-bottom: 6px;
}

/* ================================
   ORDRES (CARDS)
================================ */
.card {
    border-radius: 14px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card h5 {
    color: #003d80;
    margin-bottom: 15px;
}

.card ul {
    padding-left: 1.2rem;
}

.card li {
    margin-bottom: 8px;
}

/* ================================
   POURQUOI BEA
================================ */
.bg-primary {
    background: linear-gradient(135deg, #003d80, #005fb8) !important;
}

.bg-primary .col-md-4 {
    font-size: 1.05rem;
    font-weight: 500;
}

/* ================================
   CTA FINAL
================================ */
.u-section.text-center h2 {
    margin-bottom: 15px;
}

.u-section.text-center .btn {
    padding: 12px 35px;
    border-radius: 30px;
}

/* ================================
   RTL (AR)
================================ */
html[dir="rtl"] .accordion-body ul {
    padding-right: 1.2rem;
    padding-left: 0;
}

html[dir="rtl"] .card ul {
    padding-right: 1.2rem;
    padding-left: 0;
}

/* ================================
   PICTOS – AVANTAGES
================================ */
.bourse-picto {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

/* Hover léger (pro) */
.col-md-3:hover .bourse-picto {
    transform: translateY(-5px);
}

/* Mobile */
@media (max-width: 768px) {
    .bourse-picto {
        width: 48px;
        height: 48px;
    }
}

/* ONGLET BOURSE */
.nav-pills .nav-link {
    color: #133868;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 22px;
}

.nav-pills .nav-link.active {
    background-color: #133868;
}

.tab-content .card {
    border-radius: 14px;
}

.tab-content ul {
    padding-left: 1.2rem;
}

.tab-content li {
    margin-bottom: 8px;
}

/* CTA APPLICATION */
.store-badge img {
    height: 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-badge img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Mobile */
@media (max-width: 576px) {
    .store-badge img {
        height: 52px;
    }
}

.store-badge img {
    height: 60px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-badge img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .store-badge img {
        height: 52px;
    }
}