/* ============================================
   Footer Premium Style
   ============================================ */

.main-footer2 {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0 1rem;
    /* Further reduced padding */
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.main-footer2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.container2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    /* Reduced side padding */
}

.footer-content2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    /* Smaller min-width */
    gap: 1rem;
    /* Reduced gap */
    margin-bottom: 1rem;
    /* Reduced margin */
}

/* Sections du Footer */
.footer-section-entreprise h4,
.footer-section-horaires h4,
.footer-section-contact h4,
.footer-section-navigation h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    /* Smaller font size */
    color: var(--text-main);
    margin-bottom: 0.8rem;
    /* Reduced margin */
    position: relative;
    display: inline-block;
}

.footer-section-entreprise h4::after,
.footer-section-horaires h4::after,
.footer-section-contact h4::after,
.footer-section-navigation h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    /* Adjusted position */
    left: 0;
    width: 25px;
    /* Smaller underline */
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.footer-section-entreprise p,
.footer-section-horaires p,
.footer-section-contact p {
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    /* Reduced margin */
    font-size: 0.85rem;
    /* Smaller text */
    line-height: 1.3;
    /* Tighter line height */
}

/* Réseaux Sociaux */
.social-links {
    display: flex;
    gap: 0.6rem;
    /* Reduced gap */
    margin-top: 0.8rem;
    /* Reduced margin */
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    /* Smaller icons */
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-main);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
    transform: translateY(-2px);
}

/* Navigation Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
    /* Reduced margin */
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
    font-size: 0.85rem;
    /* Smaller text */
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 3px;
    text-shadow: 0 0 5px rgba(0, 242, 255, 0.3);
}

/* Contact Icons */
.footer-section-contact i {
    color: var(--primary);
    margin-right: 6px;
    width: 14px;
    text-align: center;
    font-size: 0.85rem;
}

/* Copyright */
.footer-bottom-reserve {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
    /* Reduced padding */
    text-align: center;
    margin-top: 0.5rem;
}

.footer-bottom-reserve p {
    color: var(--text-muted);
    font-size: 0.75rem;
    /* Smaller copyright text */
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content2 {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section-entreprise h4::after,
    .footer-section-horaires h4::after,
    .footer-section-contact h4::after,
    .footer-section-navigation h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .footer-links a:hover {
        padding-left: 0;
        transform: scale(1.05);
    }
}