/* =====================================================================
 * Fichier : assets/css/components/footer.css
 * Projet  : Brennholz Shop24
 * Thème   : « Fresh Green Store » — bande avantages en cartes blanches,
 *           newsletter en bannière photo verte arrondie, pied de page clair.
 * Rôle    : Bande avantages, newsletter, pied de page, moyens de paiement,
 *           mentions. Composant : includes/footer.php
 * ===================================================================== */

/* ---------------------------------------------------------------------
 * BANDE AVANTAGES
 * ------------------------------------------------------------------- */
.footer-benefits { padding: clamp(2rem, 4vw, 3rem) 0; background: #fff; border-top: 1px solid #F0F2F4; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.benefit {
    display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--hfk-radius);
    background: #fff; box-shadow: var(--hfk-shadow-card); transition: transform .3s var(--hfk-ease), box-shadow .3s;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--hfk-shadow); }
.benefit-icon {
    width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; font-size: 1.15rem;
    border-radius: 50%; color: var(--hfk-green) !important; background: var(--hfk-green-light) !important;
}
.benefit strong { display: block; font-family: var(--hfk-font-head); font-weight: 600; font-size: .96rem; color: var(--hfk-charcoal); line-height: 1.3; }
.benefit span { display: block; font-size: .82rem; color: var(--hfk-muted); }

/* ---------------------------------------------------------------------
 * NEWSLETTER (bannière photo arrondie)
 * ------------------------------------------------------------------- */
.footer-newsletter { position: relative; padding: 0 0 clamp(2.5rem, 5vw, 4rem); background: #fff; }
.footer-newsletter .newsletter-embers { display: none; }
.newsletter-inner {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--hfk-radius-lg); color: #fff;
    background: linear-gradient(100deg, rgba(15, 107, 45, .94) 0%, rgba(34, 166, 75, .86) 55%, rgba(34, 166, 75, .55) 100%),
                url('https://images.unsplash.com/photo-1483664852095-d6cc6870702d?auto=format&fit=crop&w=1600&q=70') center / cover;
    box-shadow: 0 20px 50px rgba(15, 107, 45, .25);
}
.newsletter-text h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .7rem; }
.newsletter-text p { color: rgba(255, 255, 255, .9); margin: 0; }
.newsletter-field {
    position: relative; display: flex; align-items: center; background: #fff; border-radius: var(--hfk-radius-pill);
    padding: .3rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.newsletter-field > i { position: absolute; left: 1.15rem; color: var(--hfk-green); }
.newsletter-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .75rem 1rem .75rem 2.7rem; font-size: .95rem; color: var(--hfk-text); }
.newsletter-field input:focus { outline: none; }
.newsletter-field .btn { flex-shrink: 0; padding: .7rem 1.35rem; }
.newsletter-consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: .85rem; font-size: .8rem; color: rgba(255, 255, 255, .88); line-height: 1.45; cursor: pointer; }
.newsletter-consent input { margin-top: .2rem; accent-color: var(--hfk-yellow); flex-shrink: 0; }
.newsletter-consent a { color: #fff; text-decoration: underline; }
.footer-newsletter .form-feedback { background: #fff; }

/* ---------------------------------------------------------------------
 * PIED DE PAGE (clair)
 * ------------------------------------------------------------------- */
.site-footer { background: #F5F7F6; color: var(--hfk-muted); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2.5rem; }
.footer-about .brand { color: var(--hfk-charcoal); margin-bottom: 1rem; }
.footer-about .brand.brand-light { color: var(--hfk-charcoal); }
.footer-about > p:first-of-type { font-weight: 600; color: var(--hfk-charcoal); margin-bottom: .5rem; }
.footer-about-text { font-size: .88rem; line-height: 1.7; }
.footer-socials { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-socials a {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    background: #fff; color: var(--hfk-green); box-shadow: var(--hfk-shadow-xs); transition: background .3s, color .3s, transform .3s var(--hfk-ease);
}
.footer-socials a:hover { background: var(--hfk-green); color: #fff; transform: translateY(-3px); }

.footer-title { position: relative; font-size: 1rem; font-weight: 700; color: var(--hfk-charcoal); margin-bottom: 1.2rem; padding-bottom: .65rem; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--hfk-green); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-link-btn { color: var(--hfk-muted); transition: color .3s, padding .3s var(--hfk-ease); }
.footer-links a:hover, .footer-link-btn:hover { color: var(--hfk-green-dark); padding-left: 4px; }
.footer-link-btn { border: 0; background: none; padding: 0; font: inherit; text-align: left; }
.footer-link-hot { color: var(--hfk-charcoal) !important; font-weight: 600; background: var(--hfk-yellow); padding: .1rem .55rem !important; border-radius: var(--hfk-radius-pill); }
.footer-withdraw { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; padding: .5rem .95rem; border-radius: var(--hfk-radius-pill); background: #fff; color: var(--hfk-charcoal); font-weight: 600; font-size: .85rem; box-shadow: var(--hfk-shadow-xs); }
.footer-withdraw:hover { color: var(--hfk-green-dark); }
.footer-withdraw i { color: var(--hfk-green); }

.footer-contact-list { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact-list i { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--hfk-green); font-size: .82rem; box-shadow: var(--hfk-shadow-xs); }
.footer-contact-list a { color: var(--hfk-text); }
.footer-contact-list a:hover { color: var(--hfk-green-dark); }
.footer-contact .btn-hfk-light { background: var(--hfk-green); color: #fff; border-color: var(--hfk-green); }
.footer-contact .btn-hfk-light:hover { background: var(--hfk-green-dark); border-color: var(--hfk-green-dark); color: #fff; }

.footer-payments { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: 1.4rem 0; border-top: 1px solid var(--hfk-border); }
.footer-payments-label { font-weight: 600; color: var(--hfk-charcoal); display: inline-flex; align-items: center; gap: .45rem; }
.footer-payments-label i { color: var(--hfk-green); }
.footer-payments ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.footer-payments li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: var(--hfk-radius-pill); background: #fff; color: var(--hfk-text); font-size: .8rem; box-shadow: var(--hfk-shadow-xs); }
.footer-payments li i { color: var(--hfk-green); }

.footer-bottom { background: #fff; border-top: 1px solid var(--hfk-border); padding: 1.1rem 0; font-size: .8rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--hfk-green-dark); }
.footer-price-note { color: #9AA1A8; }

/* ---------------------------------------------------------------------
 * RESPONSIVE
 * ------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-about { grid-column: 1 / -1; max-width: 640px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .newsletter-inner { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-contact { grid-column: 1 / -1; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 575.98px) {
    .benefits-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
    .benefit { flex-direction: column; text-align: center; padding: 1rem .6rem; gap: .5rem; }
    .benefit-icon { width: 44px; height: 44px; flex-basis: 44px; }
    .benefit strong { font-size: .86rem; }
    .benefit span { font-size: .74rem; }
    .newsletter-field { flex-wrap: wrap; border-radius: 18px; }
    .newsletter-field input { flex-basis: 100%; }
    .newsletter-field .btn { width: 100%; }
    .footer-newsletter .container-xxl { padding-left: .6rem; padding-right: .6rem; }
}
