/* =========================================================================
   CLARIO CASH — pied de page du site public (toutes les pages)
   Sombre dans les deux themes. Prefixe .cf- : aucune collision possible.
   ========================================================================= */

.cf { position: relative; color: #C9D8D0; background: transparent; margin-top: 0; }
.cf *, .cf *::before, .cf *::after { box-sizing: border-box; }
.cf-inner {
    background:
        radial-gradient(700px 300px at 10% 0%, rgba(14, 140, 79, .22), transparent 60%),
        radial-gradient(600px 300px at 95% 30%, rgba(255, 107, 0, .10), transparent 60%),
        #061510;
    padding: 64px 0 28px;
}
.cf-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Appel a l'action */
.cf-cta {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 24px; align-items: center; padding: 36px 40px; border-radius: 24px; margin: 0 0 56px;
    background: linear-gradient(120deg, #0B6B3A 0%, #0E8C4F 55%, #0B5E34 100%);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.cf-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.cf-orb-a { width: 260px; height: 260px; right: -60px; top: -120px; background: radial-gradient(circle, rgba(255, 138, 31, .55), transparent 70%); animation: cfFloat 9s ease-in-out infinite; }
.cf-orb-b { width: 200px; height: 200px; left: 30%; bottom: -130px; background: radial-gradient(circle, rgba(52, 211, 153, .45), transparent 70%); animation: cfFloat 11s ease-in-out infinite reverse; }
@keyframes cfFloat { 50% { transform: translate(-20px, 16px) scale(1.08); } }
.cf-cta-text { position: relative; }
.cf-cta h2 { color: #fff !important; font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.15; margin: 0 0 10px; }
.cf-cta p { color: #D9F2E4 !important; font-size: 16.5px; line-height: 1.55; margin: 0; max-width: 560px; }
.cf-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.cf-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
    font-weight: 800; font-size: 15.5px; text-decoration: none !important; transition: transform .2s ease, background .2s ease;
}
.cf-btn:hover { transform: translateY(-2px); }
.cf-btn-orange { background: #FF6B00; color: #fff !important; box-shadow: 0 14px 30px -12px rgba(255, 107, 0, .8); }
.cf-btn-orange:hover { background: #E85F00; }
.cf-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .35); }
.cf-btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.cf-btn:focus-visible, .cf a:focus-visible { outline: 3px solid rgba(255, 138, 31, .6); outline-offset: 3px; border-radius: 8px; }

/* Colonnes */
.cf-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 36px; }
.cf-logo img { height: 46px; width: auto; display: block; }
.cf-desc { margin: 16px 0 18px; font-size: 15px; line-height: 1.65; color: #A9BDB2 !important; max-width: 360px; }
.cf-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-stores img { height: 42px; width: auto; display: block; border-radius: 8px; transition: transform .2s ease; }
.cf-stores a:hover img { transform: translateY(-2px); }
.cf-scan { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.cf-scan img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.cf-scan span { font-size: 13px; color: #C9D8D0; }
.cf-col h3 { color: #fff !important; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 18px; }
.cf-col h3::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; margin-top: 10px; background: #FF6B00; }
.cf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.cf-col a { color: #A9BDB2 !important; font-size: 15px; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.cf-col a:hover { color: #34D399 !important; padding-left: 4px; }

/* Barre du bas */
.cf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.cf-copy { margin: 0; font-size: 14px; color: #8FA79A !important; }
.cf-socials { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 10px; }
.cf-socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s ease, transform .2s ease; }
.cf-socials a:hover { background: #0E8C4F; transform: translateY(-3px); }
.cf-socials img { width: 18px; height: 18px; object-fit: contain; }
.cf-top { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; background: #FF6B00; color: #fff !important; text-decoration: none; box-shadow: 0 10px 22px -10px rgba(255, 107, 0, .9); transition: transform .2s ease; }
.cf-top:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) { .cf-orb { animation: none; } }
@media (max-width: 991px) {
    .cf-cta { grid-template-columns: minmax(0, 1fr); padding: 30px 26px; }
    .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cf-brand { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
    .cf-container { padding: 0 16px; }
    .cf-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .cf-cta-actions .cf-btn { width: 100%; justify-content: center; }
    .cf-bottom { justify-content: center; text-align: center; }
    .cf-socials { margin: 0; }
}

/* ---------------------------------------------- Logo officiel (tout le site) */
.brand-logo { display: block; line-height: 0; }
.brand-logo img { display: block; height: 44px; width: auto; max-width: 100%; }
.brand-logo-dark { display: none; }
body.dark-mode .brand-logo-light { display: none; }
body.dark-mode .brand-logo-dark { display: block; }
.header-logo .brand-logo img { height: 42px; }
.offcanvas .header-logo .brand-logo img { height: 36px; }
.cf-logo .brand-logo img { height: 50px; }
@media (max-width: 575px) {
    .header-logo .brand-logo img { height: 34px; }
}
