﻿/* ============================================
   FOOTER STYLES WITH IMPORTANT HOVER
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, #1a1f2e 0%, #2f3952 100%);
    color: #ffffff;
    position: relative;
    /* Fine line only — avoids the old tricolor border-image (white band) between urgency block and footer */
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-main { padding: 4rem 0 3rem; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #2275bc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MENU FOOTER - HOVER WITH IMPORTANT */
.footer-menu, .footer-legal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.footer-menu li, .footer-legal-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu {
    flex-direction: column;
    align-items: flex-start;
}

.footer-legal-menu {
    flex-direction: row;
    gap: 0;
}

.footer-menu a, .footer-legal-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    display: block;
    padding: 0.4rem 0;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    padding-left: 0;
}

.footer-legal-menu a {
    padding: 0 0.5rem;
    border-left: none;
}

.footer-menu a:hover, .footer-legal-menu a:hover {
    color: #2275bc !important;
    border-left-color: #2275bc !important;
    padding-left: 0.75rem !important;
}

.footer-legal-menu a:hover {
    padding-left: 0.5rem !important;
}

.footer-menu li.current-menu-item a,
.footer-menu li.current-page-item a {
    color: #2275bc !important;
    border-left-color: #2275bc !important;
    padding-left: 0.75rem !important;
    font-weight: 600;
}

.sep {
    color: rgba(255,255,255,0.4);
    padding: 0 0.5rem;
    user-select: none;
}

/* City links hover with important */
.city-link:hover {
    background: #2275bc !important;
    color: white !important;
    border-color: #2275bc !important;
    transform: translateY(-2px);
}

/* View all cities hover */
.view-all-cities:hover {
    color: white !important;
}

/* Contact hover */
.footer-phone:hover, .footer-email:hover {
    color: #2275bc !important;
}

/* STICKY BAR STYLES - CLOSE BUTTON FIXED */
.ng-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* Above launcher (10001) so the widget never sits under the FAB if visibility glitches */
    z-index: 10020;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.ng-sticky-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 1rem;
    position: relative;
    width: 100%;
}

/* CLOSE BUTTON - RED X ICON VISIBLE */
.ng-sticky-close {
    position: absolute;
    top: -14px;
    right: 10px;
    background: #dc2626;
    border: 2px solid #fff;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    padding: 0;
}

.ng-sticky-close:hover {
    background: #b91c1c !important;
    border-color: #fff !important;
    transform: rotate(90deg) scale(1.1);
}

.ng-sticky-close svg {
    display: block;
}

.ng-sticky-launcher.ng-sticky-launcher--inactive,
.ng-sticky-launcher[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ng-sticky-launcher {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0 0.9rem 0 0.7rem;
    background: linear-gradient(135deg, #2275bc 0%, #1a5a94 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(34, 117, 188, 0.45);
    cursor: pointer;
    z-index: 10001;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, width 0.28s ease;
}

.ng-sticky-launcher::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(34, 117, 188, 0.25);
    animation: ng-launcher-pulse 2.5s infinite;
}

.ng-sticky-launcher:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 34px rgba(34, 117, 188, 0.55);
}

.ng-sticky-launcher.is-expanded,
.ng-sticky-launcher.is-hovered {
    width: 210px;
}

.ng-sticky-launcher-dot {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.ng-sticky-launcher.is-interacted .ng-sticky-launcher-dot {
    display: none;
}

.ng-sticky-launcher-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ng-sticky-launcher [data-lucide] {
    width: 24px;
    height: 24px;
}

.ng-sticky-launcher-text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
    text-align: left;
    min-width: 0;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ng-sticky-launcher.is-expanded .ng-sticky-launcher-text,
.ng-sticky-launcher.is-hovered .ng-sticky-launcher-text {
    opacity: 1;
    transform: translateX(0);
}

.ng-sticky-launcher-text small {
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.ng-sticky-launcher-text strong {
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

@keyframes ng-launcher-pulse {
    0% { transform: scale(0.96); opacity: 0.75; }
    70% { transform: scale(1.08); opacity: 0; }
    100% { transform: scale(1.08); opacity: 0; }
}

.ng-sticky-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.ng-pulse-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.ng-pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.ng-sticky-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ng-sticky-info strong { font-size: 0.95rem; font-weight: 700; color: #fff; }
.ng-sticky-info span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }

.ng-sticky-actions {
    display: flex;
    gap: 0.75rem;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    justify-content: stretch;
}

.ng-sticky-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
}

.ng-btn-call {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    animation: pulse-call 2s infinite;
}

@keyframes pulse-call {
    0%, 100% { box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(220, 38, 38, 0.7); }
}

.ng-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6) !important;
    color: #fff;
}

.ng-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.ng-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
    color: #fff;
}

.btn-label {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.btn-label small { font-size: 0.7rem; opacity: 0.9; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-label strong { font-size: 0.95rem; font-weight: 700; }

.desktop-only { display: none; }

/* Desktop sticky position right */
@media (min-width: 768px) {
    .ng-sticky-bar {
        left: auto;
        right: 2rem;
        bottom: 2rem;
        width: 320px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem 1rem 1rem 1rem;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .ng-sticky-container {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .ng-sticky-actions {
        flex-direction: column;
        width: 100%;
    }

    .ng-sticky-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .btn-label {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-label small { font-size: 0.85rem; }
    .btn-label strong { font-size: 1rem; }

    .desktop-only { display: flex; justify-content: center; font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; }
    
    .ng-sticky-close {
        top: -14px;
        right: -14px;
        width: 32px;
        height: 32px;
    }

    .ng-sticky-launcher {
        right: 2rem;
        bottom: 2rem;
    }
}

@media (min-width: 1200px) {
    .ng-sticky-bar { right: 3rem; bottom: 3rem; }
    .ng-sticky-launcher { right: 3rem; bottom: 3rem; }
}

@media (max-width: 480px) {
    .ng-sticky-launcher.is-expanded,
    .ng-sticky-launcher.is-hovered {
        width: 188px;
    }

    .ng-sticky-launcher-text strong {
        font-size: 0.72rem;
    }

    .ng-sticky-btn {
        padding: 0.65rem 0.5rem;
        flex: 1 1 0;
        justify-content: center;
    }
    .btn-label strong { font-size: 0.9rem; }
}

/* Responsive footer */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
    .footer-cities { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom-inner { 
        flex-direction: column; 
        text-align: center;
        gap: 1rem;
    }
    .footer-legal-menu {
        justify-content: center;
    }
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* City links styling */
.city-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.city-link {
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
}

.view-all-cities {
    display: inline-block;
    margin-top: 1rem;
    color: #2275bc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.region-group {
    margin-bottom: 1rem;
}

.region-name {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.cities-by-region {
    margin-bottom: 1rem;
}

/* Bande SEO : liens ancrés par ville (sous la grille principale) */
.footer-seo-cities {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-seo-cities-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    padding-bottom: 0.65rem;
    border-bottom: 3px solid #2275bc;
}

.footer-seo-cities-intro {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    max-width: 42rem;
}

.footer-seo-cities-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem 1.25rem;
}

.footer-seo-cities-list li {
    margin: 0;
}

.footer-seo-cities-list a {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.35;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-seo-cities-list a:hover {
    color: #fff !important;
    border-color: #2275bc !important;
    background: rgba(34, 117, 188, 0.18) !important;
}

.footer-seo-cities-more {
    margin: 1.25rem 0 0;
}

.footer-seo-cities-more a {
    font-weight: 600;
    color: #2275bc;
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-seo-cities-more a:hover {
    color: #fff !important;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-seo-cities-list {
        grid-template-columns: 1fr;
    }

    .footer-seo-cities {
        margin-top: 2.25rem;
        padding-top: 2rem;
    }
}

/* Contact styling */
.footer-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2275bc;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-email {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.availablity {
    color: #22c55e;
    font-weight: 600;
    margin: 0.5rem 0;
}

.footer-hours {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.footer-hours p {
    margin: 0.25rem 0;
}

/* Brand styling */
.footer-logo {
    width: 140px;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
    display: block;
}

.footer-slogan {
    font-style: italic;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.trust-badge {
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 1rem;
}

.footer-social-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2275bc;
    text-decoration: none;
}

.footer-social-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-phone-alt {
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.footer-siret {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

