/* Footer Component Styles */
:root {
    --footer-bg: rgba(255, 255, 255, 0.9);
    --footer-text: #718096;
    --footer-heading: #2D3748;
    --footer-link-hover: #0EA5E9;
    --footer-border: rgba(0, 0, 0, 0.1);
    --social-bg: rgba(14, 165, 233, 0.1);
    --social-color: #0EA5E9;
}

/* Footer Base */
footer {
    background: var(--footer-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 4rem 2rem 1rem;
    margin-top: 4rem;
}

/* Footer Content */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section img {
    width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    color: var(--footer-heading);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--footer-text);
    margin: 0;
}

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--footer-link-hover);
}

/* Follow Us Section intégrée dans Company */
.follow-us-section {
    margin-top: 8px;
}

.follow-us-title {
    margin-bottom: 8px !important;
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--social-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--social-color);
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.social-links a i {
    color: var(--social-color);
    transition: color 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: var(--social-color);
}

.social-links a:hover i {
    color: white;
}

.social-links .disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--footer-text);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-links a {
    font-size: 0.85rem; /* Taille réduite pour ces liens spécifiques */
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    opacity: 1;
}

/* Autres liens du footer restent normaux */
.footer-section a:not(.footer-links a) {
    font-size: 0.95rem;
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:not(.footer-links a):hover {
    color: var(--footer-link-hover);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 3rem 1.5rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section:first-child {
        align-items: center;
    }

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

/* Footer Pro - Version simplifiée */
/* Ces règles ne s'appliquent que lorsque le footer contient .footer-section-right ou .footer-logo-republique */
/* Utilisation de sélecteurs descendants directs pour cibler uniquement le footer-pro */
.footer-content:has(.footer-section-right),
.footer-content:has(.footer-logo-republique) {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.footer-content:has(.footer-section-right) .footer-section:first-child,
.footer-content:has(.footer-logo-republique) .footer-section:first-child {
    align-items: flex-start;
    justify-content: center;
}

footer .footer-section-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.footer-contact a {
    font-size: 1rem;
    font-weight: 500;
}

.footer-logo-republique {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-logo-republique img {
    height: 140px;
    width: auto;
    opacity: 0.9;
}

@media (max-width: 640px) {
    .footer-content:has(.footer-section-right),
    .footer-content:has(.footer-logo-republique) {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-content:has(.footer-section-right) .footer-section:first-child,
    .footer-content:has(.footer-logo-republique) .footer-section:first-child {
        align-items: center;
    }
    
    footer .footer-section-right {
        align-items: center;
    }
    
    .footer-logo-republique {
        justify-content: center;
    }
    
    .footer-logo-republique img {
        height: 160px;
    }
} 