/* ==========================================================================
   BMS PAY GUINÉE - THÈME MODERNE STYLE GUINÉE MONTAGE 3D
   Couleurs Officielles : Rouge (#CE1126), Jaune Or (#FCD116), Vert (#009460)
   ========================================================================== */

@font-face {
    font-family: 'Stack Sans Notch';
    src: local('Stack Sans Notch'), local('StackSansNotch');
    font-weight: 100 900;
    font-display: swap;
}

* {
    font-family: 'Stack Sans Notch', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

:root {
    --gn-red: #CE1126;
    --gn-gold: #FCD116;
    --gn-green: #009460;
    --gn-dark: #0A0F1D;
    --gn-slate: #1E293B;
}

/* Liseré 3D Tricolore Guinée au sommet */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CE1126 0% 33.33%, #FCD116 33.33% 66.66%, #009460 66.66% 100%);
    box-shadow: 0 2px 14px rgba(252, 209, 22, 0.5);
    z-index: 10000;
}

/* Badge 3D Guinée Moderne */
.guinea-3d-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.85));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(252, 209, 22, 0.5);
    border-radius: 30px;
    box-shadow: 0 10px 20px -5px rgba(10, 15, 29, 0.12), 0 0 12px rgba(252, 209, 22, 0.2);
    transform: perspective(600px) translateZ(8px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0F172A;
}

.guinea-3d-badge:hover {
    transform: perspective(600px) translateZ(18px) scale(1.03);
    box-shadow: 0 14px 28px -6px rgba(206, 17, 38, 0.25), 0 0 20px rgba(252, 209, 22, 0.35);
}

.guinea-flag-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(90deg, #CE1126 33%, #FCD116 33% 66%, #009460 66%);
    box-shadow: 0 0 8px rgba(252, 209, 22, 0.7);
    display: inline-block;
    flex-shrink: 0;
}

/* Carte 3D relief avec biseau, réflexion et ombres physiques */
.phone-card {
    border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
    background: linear-gradient(150deg, #FFFFFF 0%, #F8FAFC 60%, #EEF2F6 100%) !important;
    box-shadow: 
        0 30px 60px -15px rgba(15, 23, 42, 0.25),
        0 0 0 1px rgba(252, 209, 22, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.95) !important;
    transform: perspective(1000px) rotateY(-7deg) rotateX(5deg) !important;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease !important;
    border-radius: 26px !important;
}

.phone-card:hover {
    transform: perspective(1000px) rotateY(-1deg) rotateX(1deg) translateY(-10px) scale(1.025) !important;
    box-shadow: 
        0 40px 80px -18px rgba(15, 23, 42, 0.35),
        0 0 30px rgba(252, 209, 22, 0.45) !important;
}

/* Boutons tactiles 3D style Guinée */
.button-dark {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important;
    border-radius: 12px !important;
    border-bottom: 3.5px solid #009460 !important;
    box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.4) !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    color: white !important;
}

.button-dark:hover {
    background: linear-gradient(135deg, #CE1126 0%, #9E0B1B 100%) !important;
    border-bottom: 3.5px solid #780512 !important;
    box-shadow: 0 14px 28px -6px rgba(206, 17, 38, 0.45), 0 0 16px rgba(252, 209, 22, 0.35) !important;
    transform: translateY(-3px) scale(1.02) !important;
    color: white !important;
}

.button-dark:active {
    transform: translateY(1px) !important;
    border-bottom-width: 1px !important;
}

/* Carte fonctionnalité en 3D */
.feature-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
    position: relative;
    overflow: hidden;
    border-radius: 18px !important;
}

.feature-card:hover {
    transform: perspective(800px) translateY(-10px) rotateX(3deg) scale(1.025) !important;
    box-shadow: 0 24px 48px -12px rgba(0, 148, 96, 0.2), 0 0 20px rgba(252, 209, 22, 0.2) !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #CE1126, #FCD116, #009460);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Logo avec éclat tricolore */
.wordmark-icon {
    background: linear-gradient(135deg, #CE1126, #FCD116 50%, #009460) !important;
    box-shadow: 0 4px 12px rgba(252, 209, 22, 0.4) !important;
}

/* ==========================================================================
   ADAPTATION ET NON-DÉBORDEMENT UNIVERSEL DU LOGO BMS TRANSFERT
   Calibré selon les contextes et les résolutions d'écran
   ========================================================================== */

.wordmark-logo {
    display: block !important;
    max-height: 40px !important;
    max-width: 145px !important;
    width: auto !important;
    object-fit: contain !important;
}

.site-header .wordmark-logo {
    max-height: 40px !important;
    max-width: 145px !important;
}

.footer-wordmark .wordmark-logo {
    max-height: 32px !important;
    max-width: 120px !important;
}

.phone-logo {
    height: 22px !important;
    max-width: 85px !important;
    width: auto !important;
    object-fit: contain !important;
}

.admin-brand-logo {
    height: 30px !important;
    max-width: 105px !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    padding: 2px 5px !important;
}

.login-brand-logo {
    height: 36px !important;
    max-width: 130px !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    padding: 2px 7px !important;
}

@media (max-width: 680px) {
    .wordmark-logo,
    .site-header .wordmark-logo {
        max-height: 30px !important;
        max-width: 110px !important;
    }
}

/* ==========================================================================
   BADGES OFFICIELS PLAY STORE & APP STORE (LIEN ACTIF)
   ========================================================================== */

.store-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 14px !important;
}

.download-section .store-badges {
    justify-content: center !important;
    margin-top: 25px !important;
}

.store-badge {
    min-width: 174px !important;
    min-height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 16px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
    background: #000000 !important;
    color: #ffffff !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    cursor: pointer !important;
}

.store-badge:hover {
    background: #1f2937 !important;
    border-color: #FCD116 !important;
    transform: translateY(-2.5px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

.store-badge svg {
    width: 25px !important;
    height: 25px !important;
    flex: 0 0 auto !important;
}

.store-badge span {
    display: grid !important;
    gap: 1px !important;
}

.store-badge small {
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    opacity: .85 !important;
    color: #cbd5e1 !important;
}

.store-badge strong {
    font-size: 15px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   DESIGN PROFESSIONNEL COMPLET - BMS TRANSFERT GUINÉE
   ========================================================================== */

/* Topbar Officielle République de Guinée */
.top-official-bar {
    background: #0B111E;
    color: #94A3B8;
    font-size: 11px;
    padding: 7px 7.2%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-bar-left strong {
    color: #F8FAFC;
    font-weight: 800;
}
.top-bar-sep {
    color: #475569;
}
.top-bar-admin-link {
    color: #FCD116 !important;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar-admin-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(252, 209, 22, 0.35);
    color: #F8FAFC !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.admin-quick-btn:hover {
    background: rgba(252, 209, 22, 0.15);
    border-color: #FCD116;
    transform: translateY(-1px);
}
.admin-btn-icon {
    font-size: 13px;
}
.button-gold {
    background: linear-gradient(135deg, #FCD116, #E5B910) !important;
    color: #0A0F1D !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(252, 209, 22, 0.35);
    border: none;
}
.button-gold:hover {
    background: linear-gradient(135deg, #FFE047, #FCD116) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(252, 209, 22, 0.5);
}
.mobile-nav-cta {
    display: none;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Section Chiffres Clés */
.stats-section {
    padding: 40px 7.2%;
    background: #0E1626;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(252, 209, 22, 0.5);
    background: rgba(255, 255, 255, 0.05);
}
.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #FCD116, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}
.stat-label {
    display: block;
    color: #F8FAFC;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}
.stat-sub {
    display: block;
    color: #94A3B8;
    font-size: 11px;
}

/* Section Simulateur */
.calc-section {
    padding: 80px 7.2%;
    background: var(--paper);
}
.text-center {
    text-align: center;
}
.justify-center {
    justify-content: center;
}
.calc-container {
    max-width: 640px;
    margin: 36px auto 0;
}
.calc-card {
    background: #0E1626;
    color: #F8FAFC;
    border-radius: 20px;
    padding: 34px 30px;
    border: 1.5px solid rgba(252, 209, 22, 0.3);
    box-shadow: 0 20px 45px -10px rgba(10, 15, 29, 0.3);
}
.calc-field-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #CBD5E1;
    margin-bottom: 10px;
}
.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.calc-input-wrapper input {
    width: 100%;
    height: 56px;
    background: #172236;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0 75px 0 20px;
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    outline: none;
    transition: border-color 0.2s;
}
.calc-input-wrapper input:focus {
    border-color: #FCD116;
}
.calc-currency-tag {
    position: absolute;
    right: 18px;
    font-size: 14px;
    font-weight: 800;
    color: #FCD116;
}
.quick-amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.quick-pill {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    background: #172236;
    color: #CBD5E1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}
.quick-pill:hover, .quick-pill.is-active {
    background: #FCD116;
    color: #0A0F1D;
    border-color: #FCD116;
}
.calc-summary-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 14px;
    background: #131E30;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94A3B8;
    padding: 6px 0;
}
.calc-row strong {
    color: #F8FAFC;
    font-size: 14px;
}
.calc-row.total-row {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    color: #F8FAFC;
    font-weight: 700;
}
.text-gold {
    color: #FCD116 !important;
}
.text-large {
    font-size: 20px !important;
    color: #FCD116 !important;
    font-weight: 900 !important;
}
.calc-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #94A3B8;
    margin-top: 12px;
}
.calc-status-pill strong {
    color: #22C55E;
}
.calc-cta-row {
    margin-top: 24px;
}
.w-full {
    width: 100%;
}

/* Section Solutions */
.solutions-section {
    padding: 80px 7.2%;
    background: #0B111E;
    color: #F8FAFC;
}
.solutions-section .section-heading h2 {
    color: #F8FAFC;
}
.solutions-section .section-heading p {
    color: #94A3B8;
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.solution-card {
    background: #131E30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(252, 209, 22, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.solution-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.solution-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #FCD116;
}
.solution-icon {
    font-size: 26px;
}
.solution-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 10px;
}
.solution-card p {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1;
}
.solution-highlight {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(0, 148, 96, 0.15);
    color: #22C55E;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 16px;
}
.solution-link {
    color: #FCD116;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.solution-link:hover {
    gap: 10px;
    text-decoration: underline;
}

/* Section Bannière Sécurité */
.security-banner-section {
    padding: 80px 7.2%;
    background: var(--paper);
}
.security-banner-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.security-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.security-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.sec-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.security-feature-item strong {
    display: block;
    font-size: 13px;
    color: #0F172A;
    margin-bottom: 3px;
}
.security-feature-item small {
    display: block;
    color: #64748B;
    font-size: 11px;
    line-height: 1.5;
}
.security-banner-card {
    background: #0E1626;
    color: #F8FAFC;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    border: 1.5px solid rgba(252, 209, 22, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.shield-emblem {
    font-size: 48px;
    margin-bottom: 14px;
}
.security-banner-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #F8FAFC;
    margin: 0 0 10px;
}
.security-banner-card p {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 24px;
}
.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}
.cert-tags span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #E2E8F0;
}
.security-stamp {
    display: inline-block;
    padding: 6px 16px;
    border: 1px dashed #FCD116;
    border-radius: 8px;
    color: #FCD116;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

/* Section FAQ */
.faq-section {
    padding: 80px 7.2%;
    background: #0B111E;
    color: #F8FAFC;
}
.faq-section .section-heading h2 {
    color: #F8FAFC;
}
.faq-container {
    max-width: 740px;
    margin: 36px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #131E30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item.is-open {
    border-color: rgba(252, 209, 22, 0.4);
}
.faq-question {
    width: 100%;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: #F8FAFC;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.faq-chevron {
    font-size: 20px;
    font-weight: 400;
    color: #FCD116;
}
.faq-answer {
    padding: 0 22px 18px;
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

/* Section Download Rénovée */
.download-badges-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}
.download-portals-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
.portal-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.portal-chip:hover {
    background: rgba(252, 209, 22, 0.15);
    border-color: #FCD116;
    color: #FCD116 !important;
}

/* Footer Complet */
/* ==========================================================================
   PIED DE PAGE (FOOTER) : FOND CLAIR ET ÉCRITURE SOMBRE (DEMANDE UTILISATEUR)
   ========================================================================== */

.site-footer {
    display: block !important;
    background: #F8FAFC !important;
    color: #1E293B !important;
    padding: 60px 7.2% 35px !important;
    border-top: 1px solid #E2E8F0 !important;
}
.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
    border-bottom: 1px solid #E2E8F0 !important;
}
.brand-col .footer-wordmark {
    margin-bottom: 14px;
    display: inline-block;
}
.footer-tagline {
    font-size: 13px;
    line-height: 1.7;
    color: #475569 !important;
    margin: 0 0 16px;
    max-width: 330px;
    font-weight: 400;
}
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    color: #334155 !important;
    font-weight: 500;
}
.footer-col-title {
    font-size: 13px;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-links-list a {
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
    display: inline-block;
}
.footer-links-list a:hover {
    color: #CE1126 !important;
    transform: translateX(3px);
}
.footer-bottom-bar {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-badges-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-badge {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700 !important;
    color: #0F172A !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.footer-legal-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #475569 !important;
}
.footer-legal-copy span {
    color: #475569 !important;
}
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-legal-links a {
    color: #334155 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s;
}
.footer-legal-links a:hover {
    color: #CE1126 !important;
}

@media (max-width: 900px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .security-banner-grid {
        grid-template-columns: 1fr;
    }
    .security-features-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 680px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .header-actions .admin-quick-btn {
        display: none;
    }
    .header-actions .header-download-btn {
        display: none;
    }
    .mobile-nav-cta {
        display: flex;
        flex-direction: column;
    }
}


/* ==========================================================================
   SOUS-MENU DÉROULANT BMS TRANSFERT : "COMMENT ÇA MARCHE"
   Marchands, Business PME, Sécurité & BCRG
   ========================================================================== */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-trigger-group .nav-link {
    font-size: 13px;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-dropdown.is-active .nav-dropdown-trigger-group .nav-link,
.nav-dropdown-trigger-group .nav-link.is-current {
    color: #CE1126;
    font-weight: 700;
}

.dropdown-chevron-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-family: inherit;
    transition: transform 0.25s ease, color 0.2s ease;
}

.dropdown-chevron-btn:hover {
    color: #CE1126;
}

.dropdown-chevron {
    font-size: 9px;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
}

/* Le menu déroulant flottant (Desktop) */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(252, 209, 22, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.22s;
    z-index: 1000;
}

/* Flèche supérieure */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-top: 1px solid rgba(252, 209, 22, 0.45);
    border-left: 1px solid rgba(252, 209, 22, 0.45);
}

/* Affichage au survol ou à l'ouverture */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Éléments du sous-menu */
.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #17364b;
    transition: background-color 0.18s ease, transform 0.18s ease;
    margin-bottom: 2px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    transform: translateX(4px);
    opacity: 1 !important;
}

.dropdown-item.is-current {
    background: linear-gradient(90deg, rgba(252, 209, 22, 0.2), rgba(206, 17, 38, 0.05));
    border-left: 3px solid #CE1126;
}

.dropdown-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.dropdown-item:hover .dropdown-item-icon {
    transform: scale(1.08);
    background: #fee2e2;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
}

.dropdown-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.dropdown-item-desc {
    font-size: 11px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.35;
    margin-top: 2px;
}

/* Adaptation Mobile du Sous-menu */
@media (max-width: 960px) {
    .nav-dropdown {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-dropdown-trigger-group {
        width: 100%;
        justify-content: space-between;
        padding: 8px 0;
    }

    .nav-dropdown-trigger-group .nav-link {
        font-size: 16px;
    }

    .dropdown-chevron-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        border: 1px solid rgba(226, 232, 240, 0.8);
        background: #f8fafc;
        border-radius: 12px;
        margin-top: 4px;
        margin-bottom: 12px;
        display: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dropdown-item {
        padding: 10px;
    }
}


/* ==========================================================================
   NAVIGATION HAUTE : FOND CLAIR & MENUS COULEUR SOMBRE (DEMANDE UTILISATEUR)
   ========================================================================== */

/* 1. Barre d'annonce officielle : Fond clair & Texte sombre */
.top-official-bar {
    background: #F8FAFC !important;
    border-bottom: 1px solid #E2E8F0 !important;
    color: #475569 !important;
}

.top-official-bar .top-bar-left,
.top-official-bar .top-bar-right {
    color: #475569 !important;
}

.top-official-bar .top-bar-left strong {
    color: #0F172A !important;
    font-weight: 800 !important;
}

.top-official-bar .top-bar-sep {
    color: #CBD5E1 !important;
}

.top-official-bar .top-bar-admin-link {
    color: #CE1126 !important;
    font-weight: 700 !important;
}

.top-official-bar .top-bar-admin-link:hover {
    color: #991B1B !important;
    text-decoration: underline !important;
}

/* 2. En-tête principal : Fond clair */
.site-header {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

/* 3. Liens de navigation : Couleur sombre & Lisibilité maximale */
.main-nav {
    color: #0F172A !important;
}

.main-nav a,
.nav-dropdown .nav-link {
    color: #1E293B !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    transition: color 0.18s ease !important;
}

.main-nav a:hover,
.nav-dropdown .nav-link:hover,
.nav-dropdown:hover .nav-link {
    color: #CE1126 !important;
    opacity: 1 !important;
}

.main-nav a.is-current,
.nav-dropdown.is-active .nav-link {
    color: #CE1126 !important;
    font-weight: 700 !important;
}

/* Flèche déroulante */
.dropdown-chevron-btn {
    color: #334155 !important;
}

.dropdown-chevron-btn:hover,
.nav-dropdown:hover .dropdown-chevron-btn {
    color: #CE1126 !important;
}

.dropdown-chevron {
    color: #334155 !important;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.is-active .dropdown-chevron {
    color: #CE1126 !important;
}

/* 4. Sous-menu déroulant : Fond blanc pur & Contenu sombre */
.nav-dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.nav-dropdown-menu::before {
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    border-left: 1px solid #E2E8F0 !important;
}

.dropdown-item {
    color: #0F172A !important;
}

.dropdown-item:hover {
    background-color: #F8FAFC !important;
}

.dropdown-item-title {
    color: #0F172A !important;
    font-weight: 700 !important;
}

.dropdown-item:hover .dropdown-item-title {
    color: #CE1126 !important;
}

.dropdown-item-desc {
    color: #64748B !important;
}

.dropdown-item-icon {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

.dropdown-item:hover .dropdown-item-icon {
    background: #FEE2E2 !important;
}

.dropdown-item.is-current {
    background: #FEF2F2 !important;
    border-left: 3px solid #CE1126 !important;
}

.dropdown-item.is-current .dropdown-item-title {
    color: #CE1126 !important;
}

/* 5. Bouton Espace Admin (Header) */
.admin-quick-btn {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

.admin-quick-btn:hover {
    background: #E2E8F0 !important;
    border-color: #94A3B8 !important;
    color: #CE1126 !important;
}

/* 6. Bouton Télécharger (Header) */
.header-download-btn {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border: none !important;
}

.header-download-btn:hover {
    background: #CE1126 !important;
    color: #FFFFFF !important;
}

/* 7. Menu Mobile : Fond clair & Éléments sombres */
@media (max-width: 960px) {
    .main-nav {
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
        color: #0F172A !important;
    }

    .main-nav a {
        color: #1E293B !important;
        border-bottom: 1px solid #F1F5F9 !important;
    }

    .menu-toggle {
        border: 1px solid #CBD5E1 !important;
        background: #FFFFFF !important;
    }

    .menu-toggle span {
        background: #0F172A !important;
    }

    .nav-dropdown-menu {
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
    }
}


/* ==========================================================================
   ICÔNE REMONTEUR FLOTTANT (SCROLL TO TOP) - CÔTÉ DROIT
   ========================================================================== */

.scroll-to-top-btn {
    position: fixed !important;
    right: 28px !important;
    bottom: 28px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #CE1126 0%, #A80E1E 100%) !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(252, 209, 22, 0.6) !important;
    box-shadow: 0 10px 25px rgba(206, 17, 38, 0.4), 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px) scale(0.85) !important;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.28s,
                box-shadow 0.2s ease,
                background 0.2s ease !important;
}

.scroll-to-top-btn.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #E11D48 0%, #CE1126 100%) !important;
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 14px 32px rgba(206, 17, 38, 0.5), 0 6px 14px rgba(0, 0, 0, 0.16) !important;
    border-color: #FCD116 !important;
}

.scroll-to-top-btn:active {
    transform: translateY(-1px) scale(0.96) !important;
}

.scroll-to-top-btn svg {
    display: block !important;
    transition: transform 0.2s ease !important;
    color: #FFFFFF !important;
}

.scroll-to-top-btn:hover svg {
    transform: translateY(-2px) !important;
}

@media (max-width: 680px) {
    .scroll-to-top-btn {
        right: 18px !important;
        bottom: 20px !important;
        width: 44px !important;
        height: 44px !important;
    }
}


/* ==========================================================================
   LOADER SIMPLE SUR FOND BLANC SANS ÉCRITURE (DEMANDE UTILISATEUR)
   ========================================================================== */

.site-loader {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
}

.site-loader.is-leaving {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Spinner élégant à double anneau tricolore guinéen */
.simple-spinner {
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
}

.simple-spinner::before,
.simple-spinner::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 50% !important;
    border: 3.5px solid transparent !important;
    box-sizing: border-box !important;
}

/* Anneau de fond très léger */
.simple-spinner::before {
    border-color: #F1F5F9 !important;
}

/* Anneau actif rotatif avec rouge et or guinéens */
.simple-spinner::after {
    border-top-color: #CE1126 !important;
    border-right-color: #FCD116 !important;
    border-bottom-color: transparent !important;
    border-left-color: transparent !important;
    animation: bms-simple-spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

@keyframes bms-simple-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   SECTION CORRIDORS INTERNATIONAUX : DRAPEAUX 3D EN DÉFILEMENT (MARQUEE)
   (Guinée, Sénégal, Mali, Gambie, États-Unis, France, Canada)
   ========================================================================== */

.corridors-section {
    padding: 70px 0 85px !important;
    background: #FFFFFF !important;
    position: relative !important;
    overflow: hidden !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.corridors-section .section-heading {
    padding: 0 7.2% !important;
    margin-bottom: 40px !important;
}

.corridors-marquee-wrap {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 20px 0 25px !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
}

.corridors-marquee-track {
    display: flex !important;
    gap: 24px !important;
    width: max-content !important;
    animation: bms-corridors-scroll 34s linear infinite !important;
    will-change: transform !important;
}

.corridors-marquee-wrap:hover .corridors-marquee-track {
    animation-play-state: paused !important;
}

@keyframes bms-corridors-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Carte 3D de pays */
.corridor-card-3d {
    flex: 0 0 280px !important;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    padding: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    transform: perspective(800px) rotateY(-3deg) translateZ(0) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease !important;
    cursor: default !important;
    user-select: none !important;
}

.corridor-card-3d:hover {
    transform: perspective(800px) rotateY(0deg) translateY(-8px) scale(1.03) !important;
    box-shadow: 0 20px 42px rgba(206, 17, 38, 0.14), 0 6px 14px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(206, 17, 38, 0.35) !important;
}

/* Scène du drapeau 3D */
.corridor-flag-stage {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.corridor-flag-pod {
    position: relative !important;
    width: 64px !important;
    height: 42px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16), 0 2px 5px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    flex-shrink: 0 !important;
}

.flag-svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

/* Reflet 3D ondulé et brillant sur le drapeau */
.corridor-flag-gloss {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.18) 100%) !important;
    pointer-events: none !important;
}

.corridor-currency-badge {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #17364B !important;
    background: #F8FAFC !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
    letter-spacing: 0.02em !important;
}

/* Détails du corridor */
.corridor-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.corridor-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.corridor-title-row h4 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
}

.corridor-pulse-dot {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: #009460 !important;
    box-shadow: 0 0 0 3px rgba(0, 148, 96, 0.25) !important;
    animation: bms-pulse-corridor 2s infinite !important;
}

@keyframes bms-pulse-corridor {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.25);
    }
}

.corridor-role {
    margin: 0 !important;
    font-size: 12px !important;
    color: #64748B !important;
    line-height: 1.4 !important;
}

.corridor-badge-pill {
    margin-top: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #CE1126 !important;
    background: #FEF2F2 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    width: fit-content !important;
}
