/* ==========================================================================
   Ray Money — Styles Dédiés & Harmonisés Ray Plus Group
   Conçu pour s'intégrer parfaitement avec bootstrap.css, style.css et app.css
   ========================================================================== */

/* Couleurs & Variables Thème Ray Money */
:root {
    --rm-primary: #2800dd;
    --rm-orange: #f29100;
    --rm-dark: #14132b;
    --rm-gray: #64748b;
    --rm-border: #e2e8f0;
}

/* Ajustements fins Header Ray Money */
.main-header.header-style-one .header-lower {
    padding: 0 25px;
}

.main-header.header-style-one .main-menu .navigation > li {
    margin-left: 18px;
}

.main-header.header-style-one .main-menu .navigation > li:first-child {
    margin-left: 0;
}

.main-header.header-style-one .main-menu .navigation > li > a {
    font-size: 13.5px;
    padding: 35px 2px;
    white-space: nowrap;
}

.main-header.header-style-one .outer-box {
    margin-top: 32px;
    margin-left: 15px;
}

/* Cartes Services & Solutions (Basées sur le composant natif news-block) */
.ray-im .news-block {
    margin-bottom: 35px;
}

.ray-im .news-block .inner-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ray-im .news-block .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(40, 0, 221, 0.12);
    border-color: rgba(40, 0, 221, 0.25);
}

.ray-im .news-block .image-box figure.image {
    margin: 0;
    overflow: hidden;
    background: #f8fafc;
    text-align: center;
}

.ray-im .news-block .image-box figure.image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ray-im .news-block:hover .image-box figure.image img {
    transform: scale(1.03);
}

.ray-im .news-block .caption-box {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ray-im .news-block .caption-box h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    color: var(--rm-dark);
}

.ray-im .news-block .caption-box h4 a {
    color: var(--rm-dark);
    transition: color 0.2s ease;
}

.ray-im .news-block .caption-box h4 a:hover {
    color: var(--rm-primary);
}

.ray-im .news-block .caption-box p {
    color: var(--rm-gray);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.ray-im .news-block .caption-box .btn-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: auto;
}

/* Badges Tags */
.rm-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.rm-badge-blue {
    background: rgba(40, 0, 221, 0.1);
    color: var(--rm-primary);
}

.rm-badge-orange {
    background: rgba(242, 145, 0, 0.12);
    color: var(--rm-orange);
}

/* Grille Opérateurs Partenaires */
.rm-operators-section {
    padding: 50px 0;
    background: #f8fafc;
    border-top: 1px solid var(--rm-border);
    border-bottom: 1px solid var(--rm-border);
}

.rm-operator-card {
    background: #ffffff;
    border: 1px solid var(--rm-border);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    transition: all 0.25s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.rm-operator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(40, 0, 221, 0.1);
    border-color: var(--rm-primary);
}

.rm-op-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.rm-operator-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--rm-dark);
    margin: 0 0 4px;
}

.rm-operator-card .sub {
    font-size: 11.5px;
    color: var(--rm-gray);
    font-weight: 600;
}

/* Focus Carte VISA */
.rm-visa-section {
    padding: 60px 0;
}

.rm-visa-card-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(20, 19, 43, 0.12);
    border: 1px solid var(--rm-border);
}

.rm-visa-card-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.rm-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.rm-feature-list li {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rm-feature-list li i {
    color: var(--rm-primary);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .main-header.header-style-one .main-menu .navigation > li > a {
        padding: 12px 20px;
    }
    .ray-im .news-block .image-box figure.image img {
        height: 200px;
    }
}
