/**
 * Tennis Mapa (Une division de Revêtements de Tennis Sud-Ouest Inc.)
 * Fast4u Sovereign Footer Suite — Styles & Design System
 * Version: v2026.11.11
 */

/* ==========================================================================
   1. FOOTER WRAP & CONTAINER EXTENSION
   ========================================================================== */
.footer_wrap {
    position: relative !important;
    bottom: auto !important;
    height: auto !important;
    min-height: 480px !important;
    background: linear-gradient(180deg, #071026 0%, #030816 100%) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6) !important;
    padding: 40px 0 30px 0 !important;
    color: #cbd5e1 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    box-sizing: border-box !important;
}

.content_wrap {
    padding-bottom: 20px !important;
}

#mapa-sovereign-footer {
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   2. TOP ROW — 3 COLUMNS (PRODUITS, CONTACT, PARTENAIRES)
   ========================================================================== */
.mapa-footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mapa-col-products,
.mapa-col-contact,
.mapa-col-partners {
    flex: 1 1 260px;
}

.mapa-footer-col h4 {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    margin: 0 0 16px 0 !important;
    text-transform: uppercase !important;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #0284c7;
    display: inline-block;
}

.mapa-col-products ul,
.mapa-col-partners ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mapa-col-products li,
.mapa-col-partners li {
    margin-bottom: 10px !important;
}

.mapa-col-products a,
.mapa-col-partners a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.92rem !important;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mapa-col-products a:hover,
.mapa-col-partners a:hover {
    color: #38bdf8 !important;
    transform: translateX(3px);
}

/* Bloc Contact fidèle à capture 3 */
.mapa-contact-block {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.mapa-contact-line {
    margin: 3px 0;
    color: #e2e8f0;
}

.mapa-contact-phones {
    margin-top: 14px;
}

.mapa-contact-phone {
    margin: 3px 0;
    color: #e2e8f0;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.mapa-contact-email {
    margin-top: 14px;
}

.mapa-contact-email a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.mapa-contact-email a:hover {
    color: #67e8f9 !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   3. PROMOTIONAL CARDS (LE HANGAR PICKLEBALL & ACCRÉDITATION OTTAWA)
   ========================================================================== */
.mapa-promos-wrap {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 auto 30px auto;
    max-width: 960px;
    box-sizing: border-box;
}

/* Carte Le Hangar Pickleball — fidélité capture 1 */
.mapa-hangar-card {
    background: linear-gradient(135deg, rgba(8, 22, 54, 0.95) 0%, rgba(5, 14, 38, 0.98) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(56, 189, 248, 0.12);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mapa-hangar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
    width: fit-content;
    text-transform: uppercase;
}

.mapa-hangar-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.mapa-hangar-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mapa-hangar-text {
    flex: 1 1 480px;
}

.mapa-hangar-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: 0.01em;
}

.mapa-hangar-title span {
    color: #38bdf8;
}

.mapa-hangar-desc {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.mapa-hangar-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mapa-hangar-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.mapa-hangar-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #38bdf8;
}

.mapa-hangar-action {
    flex-shrink: 0;
}

.mapa-hangar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.45);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.mapa-hangar-btn:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 6px 22px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Carte Accréditation Ottawa — fidélité capture 2 */
.mapa-ottawa-card {
    background: linear-gradient(135deg, rgba(8, 20, 50, 0.9) 0%, rgba(5, 14, 38, 0.95) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.3);
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 728px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mapa-ottawa-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #38bdf8;
}

.mapa-ottawa-content {
    flex: 1;
}

.mapa-ottawa-badge {
    display: inline-block;
    background: rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #7dd3fc;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.mapa-ottawa-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2px 0 3px 0;
}

.mapa-ottawa-sub {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

/* Bannière Voilà — fidélité capture 2 */
.mapa-voila-wrap {
    display: flex;
    justify-content: center;
    max-width: 728px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.mapa-voila-link {
    display: block;
    width: 100%;
    max-width: 728px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mapa-voila-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.35);
}

.mapa-voila-link img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

/* ==========================================================================
   4. LEGAL LINKS, COPYRIGHT & SIGNATURE
   ========================================================================== */
.mapa-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.mapa-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.86rem;
    color: #94a3b8;
}

.mapa-legal-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    cursor: pointer;
}

.mapa-legal-links a:hover {
    color: #38bdf8 !important;
    text-decoration: underline !important;
}

.mapa-legal-dot {
    color: #475569;
}

.mapa-copyright-text {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.mapa-copyright-text a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease;
}

.mapa-copyright-text a:hover {
    color: #38bdf8 !important;
}

/* Signature Fast4u — conforme standards sans f4 badge ni Inc. */
.mapa-signature-wrap {
    margin-top: 4px;
}

.mapa-signature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    color: #e2e8f0 !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.mapa-signature-pill:hover {
    background: rgba(2, 132, 199, 0.2);
    border-color: #38bdf8;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.mapa-sig-label {
    color: #94a3b8;
    font-weight: 500;
}

.mapa-signature-pill:hover .mapa-sig-label {
    color: #cbd5e1;
}

.mapa-sig-brand {
    color: #38bdf8;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.mapa-signature-pill:hover .mapa-sig-brand {
    color: #67e8f9;
}

.mapa-sig-icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mapa-signature-pill:hover .mapa-sig-icon {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* ==========================================================================
   5. BULLE FLOTTANTE COOKIE LOI 25 (BOTTOM-LEFT)
   ========================================================================== */
#mapa-cookie-bubble {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 2147483600;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #091740 0%, #0369a1 100%);
    border: 1.5px solid #38bdf8;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#mapa-cookie-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.6);
}

#mapa-cookie-bubble svg {
    width: 22px;
    height: 22px;
    fill: #38bdf8;
}

/* Bannière de Consentement Loi 25 */
#mapa-cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 580px;
    background: rgba(7, 16, 38, 0.96);
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 189, 248, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 2147483620;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13.5px;
    line-height: 1.5;
    box-sizing: border-box;
}

#mapa-cookie-banner.is-active {
    display: block;
    animation: mapaSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes mapaSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mapa-cookie-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mapa-cookie-desc {
    color: #cbd5e1;
    font-size: 0.86rem;
    margin: 0 0 16px 0;
    line-height: 1.45;
}

.mapa-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mapa-cookie-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.mapa-cookie-btn-accept {
    background: #0284c7;
    color: #ffffff;
}
.mapa-cookie-btn-accept:hover {
    background: #0369a1;
}

.mapa-cookie-btn-reject {
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.mapa-cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.mapa-cookie-btn-info {
    background: transparent;
    color: #7dd3fc;
    text-decoration: underline;
    padding: 8px 10px;
}
.mapa-cookie-btn-info:hover {
    color: #ffffff;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 767px) {
    .mapa-footer-columns {
        flex-direction: column;
        gap: 24px;
    }
    .mapa-hangar-card {
        padding: 18px 18px;
    }
    .mapa-hangar-main {
        flex-direction: column;
        align-items: stretch;
    }
    .mapa-hangar-btn {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    .mapa-ottawa-card {
        flex-direction: column;
        text-align: center;
    }
    #mapa-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
    }
}
