/* =====================================================================
 * Fichier : assets/css/components/footer.css
 * Projet  : Brennholz Shop24
 * Thème   : « Sky & Lime » — avantages en cartes blanches, newsletter
 *           dans une grande carte bleu sarcelle, pied de page en carte
 *           encre marine arrondie avec accents citron.
 * Composant : includes/footer.php
 * ===================================================================== */

/* ---------------------------------------------------------------------
 * BANDE AVANTAGES
 * ------------------------------------------------------------------- */
.footer-benefits { padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.benefit {
    display: flex; align-items: center; gap: .95rem; padding: 1.1rem 1.2rem; background: #fff; border-radius: 24px;
    box-shadow: var(--hfk-shadow-card); transition: transform .35s var(--hfk-ease), box-shadow .35s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--hfk-shadow); }
.benefit-icon {
    width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; font-size: 1.2rem;
    border-radius: 18px; color: var(--sk-ink); background: var(--sk-lime); transition: transform .45s var(--hfk-ease-bounce);
}
.benefit:nth-child(2) .benefit-icon { background: var(--sk-sky-200); }
.benefit:nth-child(3) .benefit-icon { background: #FFE1D6; }
.benefit:nth-child(4) .benefit-icon { background: #E5E1FF; }
.benefit:hover .benefit-icon { transform: rotate(-10deg) scale(1.08); }
.benefit strong { display: block; font-family: var(--hfk-font-head); font-weight: 800; font-size: .95rem; color: var(--sk-ink); line-height: 1.25; }
.benefit span:not(.benefit-icon) { display: block; font-size: .8rem; color: var(--hfk-muted); }

/* ---------------------------------------------------------------------
 * NEWSLETTER
 * ------------------------------------------------------------------- */
.footer-newsletter { position: relative; padding: 1.25rem 0 clamp(2rem, 4vw, 3rem); }
.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, 3rem); align-items: center;
    padding: clamp(1.75rem, 4.5vw, 3.25rem); border-radius: 34px; color: #fff;
    background: linear-gradient(120deg, rgba(35, 122, 156, .97), rgba(59, 147, 181, .9)),
                url('https://images.unsplash.com/photo-1513584684374-8bab748fbf90?auto=format&fit=crop&w=1600&q=70') center / cover;
}
.newsletter-inner::before {
    content: ''; position: absolute; z-index: -1; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
    border: 46px solid rgba(226, 245, 122, .22); animation: sk-spin-slow 30s linear infinite;
}
.newsletter-inner::after {
    content: ''; position: absolute; z-index: -1; width: 140px; height: 140px; left: 38%; bottom: -70px; border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}
.newsletter-text h2 { color: #fff; text-transform: uppercase; font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: .7rem; }
.newsletter-text p { color: rgba(255, 255, 255, .88); margin: 0; }
.newsletter-field {
    display: flex; align-items: center; gap: .5rem; padding: .35rem .35rem .35rem 1.15rem; background: #fff; border-radius: var(--hfk-radius-pill);
    box-shadow: 0 14px 34px rgba(13, 27, 46, .2);
}
.newsletter-field > i { color: var(--sk-teal); }
.newsletter-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem .2rem; font-size: .95rem; color: var(--sk-ink); }
.newsletter-field input:focus { outline: none; }
.newsletter-field .btn { flex-shrink: 0; }
.newsletter-consent { display: flex; align-items: flex-start; gap: .6rem; margin-top: .9rem; font-size: .78rem; color: rgba(255, 255, 255, .85); cursor: pointer; }
.newsletter-consent input { margin-top: .2rem; accent-color: var(--sk-lime); width: 16px; height: 16px; flex: 0 0 16px; }
.newsletter-consent a { color: var(--sk-lime); text-decoration: underline; }
.footer-newsletter .form-feedback.is-success { background: rgba(255, 255, 255, .95); }

/* ---------------------------------------------------------------------
 * PIED DE PAGE (carte encre marine)
 * ------------------------------------------------------------------- */
.site-footer {
    position: relative; overflow: hidden; isolation: isolate;
    margin: 0 clamp(.5rem, 1.6vw, 1.25rem) clamp(.5rem, 1.6vw, 1.25rem); border-radius: 36px;
    background: var(--sk-ink); color: #A9B8CA; padding-top: clamp(3rem, 6vw, 4.5rem);
}
.site-footer::before {
    content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 147, 181, .35), transparent 65%);
}
.site-footer::after {
    content: 'WÄRME'; position: absolute; z-index: -1; right: -1rem; bottom: 2.5rem; pointer-events: none;
    font-family: var(--hfk-font-head); font-weight: 900; font-stretch: 125%; font-size: clamp(5rem, 15vw, 12rem); line-height: 1;
    color: rgba(255, 255, 255, .03); letter-spacing: -.02em;
}
.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 p { font-size: .9rem; margin: 1rem 0 0; }
.footer-about > p:first-of-type { color: #fff; font-weight: 700; font-family: var(--hfk-font-head); font-size: 1.05rem; }
.footer-about-text { color: #8FA1B6; line-height: 1.7; }
.footer-socials { display: flex; gap: .5rem; margin-top: 1.3rem; }
.footer-socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; transition: background .3s, color .3s, transform .35s var(--hfk-ease-bounce); }
.footer-socials a:hover { background: var(--sk-lime); color: var(--sk-ink); transform: translateY(-3px) rotate(-8deg); }

.footer-title { position: relative; color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.15rem; display: flex; align-items: center; gap: .55rem; }
.footer-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sk-lime); box-shadow: 0 0 0 4px rgba(226, 245, 122, .15); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a, .footer-link-btn { color: #A9B8CA; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; transition: color .3s, transform .3s var(--hfk-ease); }
.footer-links a:hover, .footer-link-btn:hover { color: var(--sk-lime); transform: translateX(4px); }
.footer-link-btn { border: 0; background: none; padding: 0; text-align: left; }
.footer-link-hot { color: var(--sk-lime) !important; font-weight: 800; }
.footer-withdraw { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; padding: .55rem 1rem; border-radius: var(--hfk-radius-pill); border: 1.5px solid rgba(255, 255, 255, .18); color: #fff; font-size: .82rem; font-weight: 700; }
.footer-withdraw:hover { background: #fff; color: var(--sk-ink); }

.footer-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; font-size: .88rem; }
.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: 11px; background: rgba(226, 245, 122, .12); color: var(--sk-lime); font-size: .82rem; }
.footer-contact-list a, .footer-contact-list span { color: #C9D5E3; padding-top: .3rem; }
.footer-contact-list a:hover { color: var(--sk-lime); }

/* Moyens de paiement */
.footer-payments { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-payments-label { color: #fff; font-size: .82rem; font-weight: 700; display: inline-flex; gap: .45rem; align-items: center; }
.footer-payments-label i { color: var(--sk-lime); }
.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: .42rem .85rem; border-radius: var(--hfk-radius-pill); background: rgba(255, 255, 255, .06); color: #DCE6F0; font-size: .78rem; font-weight: 600; }
.footer-payments li i { color: var(--sk-lime); }

/* Bas de page */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .15); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: .78rem; }
.footer-bottom p { margin: 0; color: #8FA1B6; }
.footer-bottom a { color: var(--sk-lime); }

/* ---------------------------------------------------------------------
 * RESPONSIVE
 * ------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .footer-contact { grid-column: span 3; }
}
@media (max-width: 991.98px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-inner { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact { grid-column: 1 / -1; }
    .site-footer { border-radius: 28px; }
}
@media (max-width: 575.98px) {
    .benefits-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
    .benefit { flex-direction: column; align-items: flex-start; padding: 1rem; gap: .6rem; border-radius: 20px; }
    .benefit-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 14px; }
    .newsletter-inner { border-radius: 26px; }
    .newsletter-field { flex-wrap: wrap; border-radius: 22px; padding: .45rem; }
    .newsletter-field > i { display: none; }
    .newsletter-field input { padding: .7rem .8rem; }
    .newsletter-field .btn { width: 100%; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------------
 * NOTE TRUSTPILOT (badge au style Trustpilot : étoiles vertes)
 * ------------------------------------------------------------------- */
.footer-trustpilot {
    position: relative; display: inline-flex; flex-direction: column; gap: .5rem; margin-top: 1.4rem; padding: 1rem 2.8rem 1rem 1.1rem;
    border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #DCE6F0;
    transition: background .3s, border-color .3s, transform .35s var(--hfk-ease);
}
a.footer-trustpilot:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(0, 182, 122, .6); transform: translateY(-3px); }
.footer-trustpilot.is-widget { display: block; padding: .8rem; width: 100%; max-width: 320px; }
.tp-head { display: flex; align-items: center; gap: .7rem; }
.tp-logo { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: -.01em; }
.tp-logo i { color: #00B67A; }
.tp-label { font-size: .8rem; font-weight: 700; color: #fff; padding: .15rem .55rem; border-radius: var(--hfk-radius-pill); background: rgba(0, 182, 122, .2); }
.tp-stars { display: inline-flex; gap: 3px; }
.tp-star {
    width: 28px; height: 28px; display: grid; place-items: center; color: #fff; font-size: .9rem;
    background: linear-gradient(90deg, #00B67A var(--tp-fill, 100%), #DCDCE6 var(--tp-fill, 100%));
}
.tp-meta { font-size: .78rem; color: #A9B8CA; }
.tp-meta strong { color: #fff; }
.tp-go { position: absolute; top: 1rem; right: 1rem; font-size: .72rem; color: #7F93AA; }
a.footer-trustpilot:hover .tp-go { color: #00B67A; }
@media (max-width: 575.98px) {
    .footer-trustpilot { width: 100%; }
}

/* Adresse e-mail et domaine : coupure seulement après « @ » ou « www. » */
.footer-nobr { white-space: nowrap; }
