/* ==========================================================================
   Configuration Globale & Conteneur
   ========================================================================== */
.gi-main-footer {
    position: relative;
    background-color: #7d7d7d; /* Gris moyen correspondant à l'image */
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 85px 0 20px 0; /* Espace haut pour laisser la carte flotter */
    margin-top: 60px;
}

.gi-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   1. Carte/Bannière Flottante Blanche
   ========================================================================== */
.footer-cta-floating-card {
    position: absolute;
    top: -40px; 
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1050px;
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    z-index: 10;
}

.cta-left-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #5d5d5d;
}

.cta-icon {
    font-size: 2.2rem;
    color: #7d7d7d;
}

.cta-left-content h2 {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: -0.5px;
    margin: 0;
}

.cta-right-buttons {
    display: flex;
    gap: 20px;
}

.btn-cta-red {
    background-color: #ff0000;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.btn-cta-red:hover {
    background-color: #cc0000;
}

.btn-cta-outline {
    background-color: transparent;
    color: #000000;
    border: 1.5px solid #000000;
    padding: 12px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-cta-outline:hover {
    background-color: #000000;
    color: #ffffff;
}

/* ==========================================================================
   2. Structure Grille Principale (Milieu)
   ========================================================================== */
.footer-main-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
}

/* Colonne 1 : Logo */
.footer-logo-block {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.footer-logo {
    max-width: 150px;
    height: auto;
}

/* Colonne 2 : Liens de navigation inline */
.footer-col-links {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-row a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
}

.nav-row a:hover {
    text-decoration: underline;
}

.pipe {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Colonne 3 : Réseaux sociaux */
.footer-col-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-title-underline {
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 3px;
    margin: 0 0 10px 0;
}

.footer-social-icons {
    display: flex;
    gap: 8px;
    align-self: flex-end; /* Move icons to the left */

}
.footer-col-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer-col-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center title and icons */
}

.footer-title-underline {
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 3px;
    margin: 0 0 15px 0;
    text-align: center;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0; /* Remove the negative margin */
    width: 100%;
}

.footer-social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.footer-social-icons a:hover {
    transform: scale(1.15);
}
.footer-social-icons {
    display: flex;
    gap: 8px;
    align-self: flex-start;
    margin-left: 0;
}

.footer-social-icons a {
    color: #ffffff;
    font-size: 1.5rem; /* Icônes légèrement plus grandes et épurées */
    text-decoration: none;
    transition: transform 0.2s ease;
}

.footer-social-icons a:hover {
    transform: scale(1.15);
}

/* ==========================================================================
   3. Bloc Infos du Bas (Textes Centrés & Majuscules)
   ========================================================================== */
.footer-bottom-info {
    text-align: center;
    padding-top: 20px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.underlined-bold-text {
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 0 0 5px 0;
}

.address-text, .contact-text {
    font-weight: bold;
    color: #e0e0e0;
    margin: 0 0 3px 0;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #d0d0d0;
    margin-top: 25px;
}

/* ==========================================================================
   Responsive (Écrans Mobiles et Tablettes)
   ========================================================================== */
@media (max-width: 992px) {
    .footer-cta-floating-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        position: static;
        transform: none;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-main-grid {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-logo-block, .footer-col-links, .footer-col-actions {
        justify-content: center;
        align-items: center;
    }

    .nav-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}