/* ================================================
   HOMEPAGE CUSTOM STYLES - BARKACHANGE
   ================================================ */

/* =====================================
   BTN-ACTION STYLE (comme Use Web App)
   ===================================== */

.banner .btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(1, 44, 168, 0.3);
    position: relative;
    overflow: hidden;
}

.banner .btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.banner .btn-action:hover {
    background: linear-gradient(135deg, #012CA8 0%, #012CA8 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(1, 44, 168, 0.4);
    color: #ffffff;
}

.banner .btn-action:hover::before {
    left: 100%;
}

@media (max-width: 767.98px) {
    .banner .btn-action {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* =====================================
   SECTION-SALE BTN-ACTION OVERRIDE
   ===================================== */

.section-sale .button .btn-action,
.section-sale .button a.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem !important;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(1, 44, 168, 0.3) !important;
}

.section-sale .button .btn-action:hover,
.section-sale .button a.btn-action:hover {
    background: linear-gradient(135deg, #012CA8 0%, #012CA8 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(1, 44, 168, 0.4) !important;
    color: #ffffff !important;
}

/* =====================================
   TITRE ANIMÉ AVEC HIGHLIGHTS
   ===================================== */

.highlight-crypto {
    color: #012CA8;
    font-weight: 700;
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: cryptoGlow 3s ease-in-out infinite;
}

.highlight-mobile-money {
    color: #FF6B35;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: mobileGlow 3s ease-in-out infinite 1.5s;
}

.highlight-crypto::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #012CA8, #00B7FF);
    border-radius: 2px;
    animation: underlineExpand 2s ease-out 0.5s forwards;
}

.highlight-mobile-money::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #FF8C42);
    border-radius: 2px;
    animation: underlineExpand 2s ease-out 2s forwards;
}

/* Animation d'apparition du titre */
.title {
    animation: titleFadeIn 1s ease-out;
}

/* Effet hover pour plus d'interactivité */
.title:hover .highlight-crypto {
    animation: cryptoPulse 0.6s ease-in-out;
}

.title:hover .highlight-mobile-money {
    animation: mobilePulse 0.6s ease-in-out;
}

/* =====================================
   ANIMATIONS KEYFRAMES
   ===================================== */

@keyframes cryptoGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(1, 44, 168, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(1, 44, 168, 0.6);
        transform: scale(1.02);
    }
}

@keyframes mobileGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
        transform: scale(1.02);
    }
}

@keyframes underlineExpand {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes titleFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(30px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes cryptoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes mobilePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes trustFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================
   TRUST INDICATORS SECTION - MODERN DESIGN
   ===================================== */

.trust-indicators {
    background: transparent;
    padding: 0;
    animation: trustFadeIn 1s ease-out 0.5s both;
}

.trust-indicators .row {
    gap: 0.75rem;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.trust-indicators .col-4 {
    padding: 0;
    flex: 1;
    min-width: 0;
    max-width: none;
}

.trust-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #012CA8 0%, #00B7FF 100%);
    border-radius: 12px 12px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -5px rgba(1, 44, 168, 0.2);
    border-color: #012CA8;
}

.trust-item:hover::before {
    transform: scaleX(1);
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, #E8F4FF 0%, #D6ECFF 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    transform: scale(1.1) rotate(5deg);
}

.trust-item:hover .trust-icon svg path,
.trust-item:hover .trust-icon svg circle {
    stroke: #ffffff;
}

.trust-item .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #012CA8 0%, #00B7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.trust-item .label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.3;
    text-align: center;
}

/* Suppression de la bordure middle */
.trust-item-middle {
    border: none;
}

/* =====================================
   RESPONSIVE BREAKPOINTS
   ===================================== */

/* Tablettes */
@media (max-width: 991.98px) {
    .trust-item {
        padding: 1.25rem 0.75rem;
    }

    .trust-icon {
        width: 44px;
        height: 44px;
    }

    .trust-icon svg {
        width: 22px;
        height: 22px;
    }

    .trust-item .number {
        font-size: 1.75rem;
    }
    
    .trust-item .label {
        font-size: 0.8rem;
    }
}

/* Mobiles moyens */
@media (max-width: 767.98px) {
    .trust-indicators .row {
        gap: 0.5rem;
        flex-wrap: nowrap !important;
    }

    .trust-indicators .col-4 {
        flex: 1;
        min-width: 0;
    }
    
    .trust-item {
        padding: 1rem 0.5rem;
        border-radius: 10px;
    }

    .trust-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .trust-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .trust-item .number {
        font-size: 1.5rem;
    }
    
    .trust-item .label {
        font-size: 0.75rem;
    }
}

/* Petits mobiles */
@media (max-width: 575.98px) {
    .trust-indicators .row {
        gap: 0.35rem;
        flex-wrap: nowrap !important;
    }

    .trust-indicators .col-4 {
        flex: 1;
        min-width: 0;
    }
    
    .trust-item {
        padding: 0.85rem 0.35rem;
        border-radius: 8px;
    }

    .trust-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0.4rem;
        border-radius: 10px;
    }

    .trust-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .trust-item .number {
        font-size: 1.35rem;
        margin-bottom: 0.35rem;
    }
    
    .trust-item .label {
        font-size: 0.7rem;
    }
}

/* Très petits écrans */
@media (max-width: 375px) {
    .trust-indicators .row {
        gap: 0.25rem;
        flex-wrap: nowrap !important;
    }

    .trust-indicators .col-4 {
        flex: 1;
        min-width: 0;
    }
    
    .trust-item {
        padding: 0.75rem 0.25rem;
        border-radius: 8px;
    }

    .trust-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.35rem;
        border-radius: 8px;
    }

    .trust-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .trust-item .number {
        font-size: 1.15rem;
        margin-bottom: 0.25rem;
    }
    
    .trust-item .label {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    .trust-item::before {
        height: 2px;
    }
}

