/* ========================================
   FOOTER V4 - CSS COMPLET
   Design harmonisé avec header-v4
   Version : 4.0.0
   ======================================== */

/* === FOOTER PRINCIPAL === */
.main-footer {
    background-color: #2c2c2c;
    color: #b8b8b8;
    padding: 50px 0 0 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #404040;
}

/* === COLONNES DU FOOTER === */
.footer-column h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #c41e3a;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a,
.footer-column ul li button {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Roboto', Arial, sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover,
.footer-column ul li button:hover {
    color: #c41e3a;
    padding-left: 5px;
}

/* === COLONNE À PROPOS === */
.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* === COLONNE CONTACT === */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: #c41e3a;
    font-size: 16px;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact-item strong {
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

.footer-contact-item a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #c41e3a;
}

/* === RÉSEAUX SOCIAUX === */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #404040;
    color: #b8b8b8;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: #c41e3a;
    color: #fff;
    transform: translateY(-3px);
}

.social-links a i {
    font-size: 18px;
}

/* === BARRE INFÉRIEURE === */
.footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
}

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

.footer-copyright {
    font-size: 14px;
    color: #888;
}

.footer-copyright a {
    color: #c41e3a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Séparateur entre les liens */
.footer-links a:not(:last-child)::after {
    content: '|';
    margin-left: 20px;
    color: #555;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablette */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 20px auto 0;
    }
}

@media (max-width: 992px) {
    .main-footer {
        padding: 40px 0 0 0;
        margin-top: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-column:nth-child(3),
    .footer-column:nth-child(4) {
        grid-column: span 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3 {
        font-size: 16px;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-about p {
        text-align: left;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-links a:not(:last-child)::after {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Très petit mobile */
@media (max-width: 576px) {
    .main-footer {
        padding: 30px 0 0 0;
        margin-top: 30px;
    }
    
    .footer-content {
        gap: 25px;
        padding-bottom: 25px;
    }
    
    .footer-column h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-column ul li {
        margin-bottom: 8px;
    }
    
    .footer-column ul li a,
    .footer-column ul li button {
        font-size: 13px;
    }
    
    .footer-about p {
        font-size: 13px;
    }
    
    .footer-contact-item {
        font-size: 13px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links a:not(:last-child)::after {
        display: none;
    }
}
