/* ============================================
   ISOL COMBLES — Footer custom v5
   ============================================ */

.isol-footer {
    /* ✅ Vrai noir pur */
    background-color: #000000;
    color: #cccccc;
    font-family: inherit;
    border-top: 3px solid #cc0000;
    padding: 60px 0 0;
}

.isol-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 50px;
    display: grid;
    /* ✅ Rendu Ordi fluide */
    grid-template-columns: minmax(150px, 200px) 1fr 1fr minmax(280px, 360px);
    gap: 30px;
    align-items: start;
}

/* ── Titres de colonnes ── */
.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cc0000;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(204, 0, 0, 0.3);
}

/* ── Colonne 1 : Logo & Badge ── */
.footer-col-brand {
    padding-top: 4px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
}

.footer-logo {
    display: block;
    text-align: center;
    line-height: 0;
}

.footer-logo img {
    max-width: 100%;
    width: 180px;
    height: auto;
    display: block;
    transition: opacity 0.2s;
}

.footer-logo:hover img {
    opacity: 0.85;
}

.footer-badge {
    display: block;
    text-align: center;
    line-height: 0;
}

.footer-badge img {
    max-width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── Colonne 2 : Navigation ── */
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-nav-list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-nav-list li a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.footer-nav-list li a::before {
    content: '—';
    color: #cc0000;
    font-size: 13px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.25s ease, opacity 0.25s ease, margin-right 0.25s ease;
    margin-right: 0;
    display: inline-block;
    white-space: nowrap;
}

.footer-nav-list li a:hover::before {
    max-width: 24px;
    opacity: 1;
    margin-right: 8px;
}

.footer-nav-list li a:hover {
    color: #ffffff;
}

/* ── Colonne 3 : Contact ── */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 22px;
}

.footer-contact-info strong {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #bbbbbb;
    line-height: 1.5;
}

.footer-contact-row svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #cc0000;
}

.footer-contact-row a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-row a:hover {
    color: #ffffff;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #cc0000;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 20px;
    border-radius: 6px;
    transition: background-color 0.25s, transform 0.15s, box-shadow 0.25s;
}

.footer-cta:hover {
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.15), 0 4px 20px rgba(0,0,0,0.4);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* ── Colonne 4 : Réseaux & Carte ── */
.footer-col-map {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #cccccc;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social-link:hover {
    border-color: #cc0000;
    color: #ffffff;
    background: rgba(204, 0, 0, 0.15);
}

.footer-map {
    width: 100%;
}

.footer-map iframe {
    display: block;
    width: 100% !important;
    height: 230px !important;
    border: 0;
    border-radius: 8px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer-map iframe:hover {
    opacity: 1;
}

/* ── Barre du bas ── */
.isol-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    box-sizing: border-box;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.footer-copyright span {
    color: #444444;
    margin: 0 6px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: #cccccc;
}

/* ── ✅ AJOUT CORRECTIF TABLETTE (Entre 768px et 1024px — Type iPad Portrait) ── */
@media (min-width: 768px) and (max-width: 1024px) {
    .isol-footer-inner {
        /* On passe à 3 colonnes : le logo prend tout le haut pour laisser respirer la carte */
        grid-template-columns: 1fr 1fr minmax(260px, 320px);
        gap: 25px;
        padding: 0 20px 40px;
    }

    .footer-col-brand {
        grid-column: 1 / -1; /* Aligne le logo et le badge sur toute la largeur */
        flex-direction: row !important; /* Met le logo et le badge côte à côte */
        justify-content: center;
        gap: 40px;
        margin-bottom: 15px;
    }
}

/* ── ✅ MOBILE (En dessous de 768px uniquement) ── */
@media (max-width: 767px) {
    .isol-footer {
        padding-top: 40px;
        background-color: #000000 !important;
    }

    .isol-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px 40px;
    }

    .footer-col-brand {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center;
        gap: 15px;
    }

    .footer-logo img {
        max-width: 140px;
        margin: 0 auto;
    }

    .footer-badge img {
        max-width: 75px;
        margin: 0 auto;
    }

    .footer-col-nav {
        text-align: center;
    }

    .footer-nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .footer-nav-list li a {
        justify-content: center;
        padding: 10px 6px;
        font-size: 14px;
    }

    .footer-nav-list li a::before {
        display: none;
    }

    .footer-col-contact {
        text-align: center;
    }

    .footer-contact-info {
        align-items: center;
    }

    .footer-contact-row {
        justify-content: center;
    }

    .footer-cta {
        width: 100%;
        justify-content: center;
    }

    .footer-map iframe {
        height: 150px !important;
    }

    .footer-col-map {
        width: 100%;
        margin-right: 0;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .isol-footer-bottom {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
        gap: 12px;
        padding: 20px;
    }

    .footer-legal-links {
        justify-content: center;
        gap: 16px;
    }
}