/*
Theme Name: PSI Corporate
Description: Thème moderne pour Partenariat Service Informatique
Version: 1.0
Author: Votre Nom
*/

/* Variables CSS */
:root {
    --primary-color: #ff4444;
    --secondary-color: #888888;
    --dark-bg: #0a0a0a;
    --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --transition: all 0.3s ease;
    --blue-color: #00d4ff;

    --gradient-pink1: #FFB6ED;
    --gradient-pink2: #B305C9;

    --gradient-blue1: #C4F4F5;
    --gradient-blue2: #006B65;

    --gradient-yellow1: #ffd79a;
    --gradient-yellow2: #ff9900;
    
    --accent-color: #ff6b35;
    --accent-color2: rgba(255, 107, 53, 0.4);

    --accent-hover: #ff5722;

    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-content-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.content-section {
    position: relative;
    z-index: 1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-color: #000000;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-spacing {
    padding-top: clamp(2rem, 5vh, 6rem);
    padding-bottom: clamp(2rem, 5vh, 6rem);
}

.section-spacing-small {
    padding-top: clamp(1rem, 3vh, 4rem);
    padding-bottom: clamp(1rem, 3vh, 4rem);
}

.dynamic-spacing {
    margin-top: clamp(1rem, 4vh, 5rem);
}

.flow-section {
    position: relative;
    display: block;
    width: 100%;
}

.site-footer {
    background: black;
    color: var(--text-light);
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--gradient-pink2) 20%, 
        var(--gradient-blue2) 50%, 
        var(--gradient-yellow2) 80%, 
        transparent 100%
    );
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 2rem 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-image {
    width: 110px;
    height: 110px;
    margin: -20px 0 -40px 0;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.social-link:hover .social-icon {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(15deg) saturate(2);
}

.footer-legal {
    margin-top: 10px;
}

.legal-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--secondary-color);
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-contact .footer-title {
    background: linear-gradient(135deg, var(--gradient-pink1), var(--gradient-pink2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-hours .footer-title {
    background: linear-gradient(135deg, var(--gradient-blue1), var(--gradient-blue2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-map .footer-title {
    background: linear-gradient(135deg, var(--gradient-yellow1), var(--gradient-yellow2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-info span {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
}

.footer-hours {
    display: flex;
    flex-direction: column;
}

.hours-list {
    display: flex;
    flex-direction: column;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.time {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-map {
    display: flex;
    flex-direction: column;
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.05);
}

.google-map {
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container:hover .google-map {
    filter: grayscale(0%);
}

.footer-bottom {
    background: rgba(15, 15, 15, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-map {
        grid-column: 1 / -1;
        margin-top: 20px;
    }
    
    .map-container {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 50px 1rem 30px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-map {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 1rem 20px;
    }
    
    .footer-brand,
    .footer-contact,
    .footer-hours,
    .footer-map {
        grid-column: 1;
    }
    
    .footer-title {
        text-align: center;
        font-size: 1.2rem;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .hours-item {
        padding: 10px 0;
    }
    
    .map-container {
        height: 220px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-icon {
        width: 26px;
        height: 26px;
    }
}