/*
 * Pied de page
 *
 * Extrait des blocs <style> inline des gabarits : contenu inchange,
 * seul l'emplacement change.
 */

.main-footer {
    background-color: #FFFFFF;
    color: #333333;
    padding: 4rem 0 0 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    margin: 0 auto;
  
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

/* Style du logo et de la description */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-title {
    font-size: 2rem;
    color: #333333;
}

.footer-description {
    color: #666666;
    line-height: 1.6;
    margin-top: 1rem;
}

/* Style des sections de liens */
.footer-links-section h3,
.footer-contact h3 {
    color: #B12B2C;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #B12B2C;
    transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

/* Style de la section contact */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #333333;
}

.contact-info i {
    color: #B12B2C;
    width: 20px;
}

/* Style des réseaux sociaux */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #B12B2C;
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #8c1f20;
    transform: translateY(-3px);
}

/* Style de la barre inférieure */
.footer-bottom {
    border-top: 1px solid #EEEEEE;
    padding: 1.5rem 0;
    background-color: #B12B2C;
    padding: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #FFFFFF;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

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

    .footer-links-section,
    .footer-contact {
        text-align: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
    }

    .footer-logo img {
        height: 60px;
    }

    .footer-title {
        font-size: 1.5rem;
    }
}
