/*
Theme Name: generatepress-child
Template: generatepress
Version: 1.0
*/


/* --- CARD BASE --- */
.pilotmoney-cta-banque {
    margin: 25px 0;
    padding: 22px;
    border-radius: 18px;
    background: #f8fafc; /* même fond clair que ta version précédente */
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: box-shadow .2s ease, transform .15s ease;
}

.pilotmoney-cta-banque:hover {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

/* --- INNER FLEX --- */
.pilotmoney-cta-banque-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* --- LEFT STRUCTURE (LOGO + TEXTS) --- */
.pilotmoney-cta-banque-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

/* --- FIXED LOGO BLOCK (120x80) --- */
.pilotmoney-cta-banque-logo {
    width: 120px;
    height: 80px;
    min-width: 120px;
    min-height: 80px;
    background: #ffffff;
    border: 1px solid #e2e5ec;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pilotmoney-cta-banque-logo img {
    max-width: 90%;
    max-height: 70%;
    object-fit: contain;
}

/* --- TEXTS --- */
.pilotmoney-cta-banque-texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pilotmoney-cta-banque-name {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
}

.pilotmoney-cta-banque-description {
    font-size: 14px;
    line-height: 1.45;
    color: #4b5563;
}

/* --- CTA BUTTON (same style as before) --- */
.pilotmoney-cta-banque-button {
    background: #2563eb; /* même bleu */
    padding: 12px 28px;
    border-radius: 50px;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28); /* même glow */
    transition: .2s ease;
	text-decoration:none !important
}

.pilotmoney-cta-banque-button:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.38);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .pilotmoney-cta-banque-inner {
        flex-direction: column;
        align-items: stretch;     /* prend toute la largeur */
        gap: 16px;
    }

    .pilotmoney-cta-banque-left {
        flex-direction: column;   /* logo au-dessus du texte */
        align-items: flex-start;
        gap: 12px;
    }

    .pilotmoney-cta-banque-logo {
        width: 100%;              /* logo dans un encart full width */
        height: 90px;
    }

    .pilotmoney-cta-banque-texts {
        width: 100%;
    }

    .pilotmoney-cta-banque-button {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: inline-block;
    }
}

