/* Styles pour le menu flottant */
.floating-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-menu.visible {
    transform: translateY(0);
    opacity: 1;
}

.menu-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(221, 28, 35, 0.4);
}

.menu-toggle i {
    color: white;
    font-size: 1.5rem;
}

.menu-items {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 15px;
    padding: 15px 0;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.menu-items.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-items li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-items a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-items a:hover {
    background: var(--primary-color);
    color: white;
    padding-left: 30px;
}

.menu-items i {
    width: 25px;
    font-size: 1.1rem;
}

/* Menu par défaut (icônes) */
.default-menu {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.default-menu.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50px);
}

.default-menu ul {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.95);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.default-menu li {
    list-style: none;
}

.default-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.default-menu a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.default-menu i {
    font-size: 1.2rem;
}

/* Formulaire Devis */
.devis-section {
    padding: 100px 0;
    background: var(--light-color);
}

.devis-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
}

/* Login */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
}

.login-container {
    max-width: 450px;
    width: 100%;
    background: white;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.login-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.login-form .form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.login-form input {
    width: 100%;
    padding: 15px 45px 15px 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .default-menu {
        top: 20px;
        right: 20px;
    }
    
    .default-menu ul {
        padding: 8px 15px;
        gap: 10px;
    }
    
    .default-menu a {
        width: 40px;
        height: 40px;
    }
    
    .floating-menu {
        bottom: 20px;
        right: 20px;
    }
    
    .menu-toggle {
        width: 50px;
        height: 50px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .devis-form {
        padding: 25px;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-menu.visible {
    animation: slideInUp 0.3s ease-out;
}

/* Alertes */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: slideInDown 0.3s ease-out;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
 
        /* Variables et Reset */
        :root {
            --primary-color: #DD1C23;
            --secondary-color: #2C3E50;
            --accent-color: #3498DB;
            --light-color: #F8F9FA;
            --dark-color: #2C3E50;
            --text-color: #333;
            --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
            --shadow: 0 10px 30px rgba(0,0,0,0.1);
            --border-radius: 10px;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            line-height: 1.7;
            color: var(--text-color);
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        section {
            padding: 100px 0;
            position: relative;
        }

        h1, h2, h3, h4 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }

        h2 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            margin-bottom: 50px;
            text-align: center;
            position: relative;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-color);
            border-radius: 2px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 15px 35px;
            background: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: var(--transition);
            border: 2px solid var(--primary-color);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: white;
            transition: var(--transition);
            z-index: -1;
        }

        .btn:hover::before {
            left: 0;
        }

        .btn:hover {
            color: var(--primary-color);
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(221, 28, 35, 0.2);
        }

        .btn-secondary {
            background: transparent;
            color: var(--primary-color);
        }

        .btn-secondary::before {
            background: var(--primary-color);
        }

        .btn-secondary:hover {
            color: white;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

        /* Header / Hero */
        header {
            min-height: 100vh;
            background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.8) 100%);
            color: white;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .hero-slider {
            width: 100%;
            height: 100%;
        }

        .hero-slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease;
            background-size: cover;
            background-position: center;
        }

        .hero-slide.active {
            opacity: 1;
        }

        .hero-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
        }

        .hero-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
            animation: fadeInUp 1s ease-out;
        }

        .logo {
            width: 250px;
            height: 90px;
            margin: 0 auto 40px;
            animation: pulse 3s ease-in-out infinite;
        }

        .logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: brightness(0) invert(1);
        }

        .hero-content h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            margin-bottom: 20px;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .hero-content p {
            font-size: clamp(1rem, 3vw, 1.3rem);
            margin-bottom: 30px;
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .hero-btns {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 1s ease-out 0.9s both;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
            animation: fadeInUp 1s ease-out 1.2s both;
        }

        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            color: white;
            font-size: 1.2rem;
            transition: var(--transition);
            backdrop-filter: blur(10px);
        }

        .social-icons a:hover {
            background: var(--primary-color);
            transform: translateY(-5px);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: float 2s ease-in-out infinite;
            cursor: pointer;
            z-index: 2;
        }

        .scroll-indicator i {
            font-size: 2rem;
            color: white;
            opacity: 0.7;
        }

        /* Section Présentation */
        .presentation {
            background: var(--light-color);
        }

        .presentation-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .presentation-text {
            animation: fadeInLeft 1s ease-out;
        }

        .presentation-text h2 {
            text-align: left;
        }

        .presentation-text h2::after {
            left: 0;
            transform: none;
        }

        .highlight {
            color: var(--primary-color);
            position: relative;
        }

        .highlight::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background: rgba(221, 28, 35, 0.2);
            z-index: -1;
        }

        .presentation-image {
            position: relative;
            animation: fadeInRight 1s ease-out;
        }

        .image-container {
            position: relative;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transform: perspective(1000px) rotateY(-5deg);
            transition: var(--transition);
        }

        .image-container:hover {
            transform: perspective(1000px) rotateY(0deg);
        }

        .image-container img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .image-container:hover img {
            transform: scale(1.1);
        }

        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 30px;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            transform: translateY(100%);
            transition: var(--transition);
        }

        .image-container:hover .image-overlay {
            transform: translateY(0);
        }
		
		/* Section Projets Slider */
        .projects-slider-section {
            background: white;
            padding: 100px 0;
        }

        .projects-slider-section h2 {
            text-align: center;
            margin-bottom: 50px;
        }

        .project-slider-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
        }

        .project-slider {
            position: relative;
            overflow: hidden;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            background: var(--light-color);
        }

        .project-slide {
            display: none;
            animation: fadeIn 1s ease-out;
        }

        .project-slide.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .project-slide-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            min-height: 600px;
        }

        .project-slide-images {
            position: relative;
            overflow: hidden;
        }

        .project-main-image {
            width: 100%;
            height: 600px;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .project-thumbnails {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 5px;
            padding: 10px;
            background: rgba(0,0,0,0.1);
        }

        .project-thumbnail {
            width: 100%;
            height: 80px;
            object-fit: cover;
            cursor: pointer;
            opacity: 0.7;
            transition: var(--transition);
            border-radius: 3px;
        }

        .project-thumbnail:hover,
        .project-thumbnail.active {
            opacity: 1;
            transform: scale(1.05);
        }

        .project-slide-info {
            padding: 50px;
            background: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .project-slide-info h3 {
            font-size: 2rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 3px solid var(--primary-color);
        }

        .project-slide-info .project-description {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 30px;
            color: #555;
        }

        .project-slide-info .project-specs {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }

        .project-spec {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px;
            background: var(--light-color);
            border-radius: 8px;
            transition: var(--transition);
        }

        .project-spec:hover {
            background: var(--primary-color);
            color: white;
            transform: translateX(5px);
        }

        .project-spec:hover .spec-icon {
            color: white;
        }

        .spec-icon {
            color: var(--primary-color);
            font-size: 1.2rem;
            width: 30px;
        }

        .spec-value {
            font-weight: 600;
        }

        .project-features {
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid #eee;
        }

        .project-features h4 {
            margin-bottom: 15px;
            color: var(--secondary-color);
        }

        .project-features ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            list-style: none;
        }

        .project-features li {
            position: relative;
            padding-left: 20px;
        }

        .project-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--primary-color);
            font-weight: bold;
        }

        .slider-controls {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            z-index: 10;
        }

        .slider-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            border: none;
            color: var(--secondary-color);
            font-size: 1.2rem;
            cursor: pointer;
            box-shadow: var(--shadow);
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slider-btn:hover {
            background: var(--primary-color);
            color: white;
            transform: scale(1.1);
        }

        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }

        .slider-dot.active,
        .slider-dot:hover {
            background: var(--primary-color);
            transform: scale(1.2);
        }


        /* Section Expertises */
        .expertises {
            background: white;
        }

        .expertise-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .expertise-card {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            opacity: 0;
            transform: translateY(30px);
        }

        .expertise-card.animated {
            opacity: 1;
            transform: translateY(0);
        }

        .expertise-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .expertise-card:nth-child(1) { transition-delay: 0.1s; }
        .expertise-card:nth-child(2) { transition-delay: 0.2s; }
        .expertise-card:nth-child(3) { transition-delay: 0.3s; }
        .expertise-card:nth-child(4) { transition-delay: 0.4s; }
        .expertise-card:nth-child(5) { transition-delay: 0.5s; }
        .expertise-card:nth-child(6) { transition-delay: 0.6s; }

        .expertise-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            z-index: 2;
            transform: translateY(-20px);
            opacity: 0;
            transition: var(--transition);
        }

        .expertise-card:hover .expertise-icon {
            transform: translateY(0);
            opacity: 1;
        }

        .expertise-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .expertise-card:hover .expertise-img {
            transform: scale(1.1);
        }

        .expertise-content {
            padding: 25px;
            position: relative;
            background: white;
        }

        .expertise-content h3 {
            color: var(--secondary-color);
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

        /* Section Galerie Masonry */
        .masonry-gallery {
            background: var(--light-color);
        }

        .gallery-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .masonry-container {
            position: relative;
            width: 100%;
        }

        .masonry-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            width: 100%;
        }

        .masonry-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: var(--transition);
            cursor: pointer;
            background: white;
        }

        .masonry-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .masonry-item img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s ease;
        }

        .masonry-item:hover img {
            transform: scale(1.05);
        }

        .masonry-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            opacity: 0;
            transform: translateY(20px);
            transition: var(--transition);
        }

        .masonry-item:hover .masonry-overlay {
            opacity: 1;
            transform: translateY(0);
        }

        .masonry-overlay i {
            font-size: 1.5rem;
            background: var(--primary-color);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
        }

        .gallery-info {
            padding: 40px;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            animation: fadeInRight 1s ease-out;
        }

        .gallery-info h2 {
            text-align: left;
            margin-bottom: 30px;
        }

        .gallery-info h2::after {
            left: 0;
            transform: none;
        }

        .project-details {
            margin-top: 40px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .detail-icon {
            width: 40px;
            height: 40px;
            background: var(--light-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1rem;
        }

        /* Section Équipe */
        .team {
            background: white;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .team-member {
            text-align: center;
            position: relative;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .team-member.animated {
            opacity: 1;
            transform: translateY(0);
        }

        .team-member:nth-child(1) { transition-delay: 0.1s; }
        .team-member:nth-child(2) { transition-delay: 0.2s; }
        .team-member:nth-child(3) { transition-delay: 0.3s; }

        .team-img-container {
            width: 220px;
            height: 220px;
            margin: 0 auto 25px;
            position: relative;
            border-radius: 50%;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .team-member:hover .team-img-container {
            transform: scale(1.05);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .team-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .team-member:hover .team-img {
            transform: scale(1.1);
        }

        .team-social {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 15px;
            background: rgba(221, 28, 35, 0.9);
            display: flex;
            justify-content: center;
            gap: 15px;
            transform: translateY(100%);
            transition: var(--transition);
        }

        .team-member:hover .team-social {
            transform: translateY(0);
        }

        .team-social a {
            color: white;
            font-size: 1rem;
            transition: var(--transition);
        }

        .team-social a:hover {
            transform: translateY(-3px);
        }

        /* Section Contact */
        .contact {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            animation: float 20s linear infinite;
        }

        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            position: relative;
            z-index: 2;
        }

        .contact-form {
            background: rgba(255,255,255,0.1);
            padding: 40px;
            border-radius: var(--border-radius);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            animation: fadeInLeft 1s ease-out;
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 5px;
            color: white;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(255,255,255,0.15);
        }

        .form-group label {
            position: absolute;
            top: 15px;
            left: 15px;
            color: rgba(255,255,255,0.7);
            transition: var(--transition);
            pointer-events: none;
        }

        .form-group input:focus ~ label,
        .form-group input:valid ~ label,
        .form-group textarea:focus ~ label,
        .form-group textarea:valid ~ label {
            top: -10px;
            left: 10px;
            font-size: 0.8rem;
            color: var(--primary-color);
            background: var(--secondary-color);
            padding: 2px 8px;
            border-radius: 3px;
        }

        .contact-info {
            animation: fadeInRight 1s ease-out;
        }

        .contact-info h3 {
            margin-bottom: 30px;
            font-size: 1.8rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
            transition: var(--transition);
        }

        .contact-item:hover {
            transform: translateX(10px);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .contact-item:hover .contact-icon {
            background: var(--primary-color);
            transform: rotate(360deg);
        }

        /* Footer */
        footer {
            background: #111;
            color: white;
            padding: 80px 0 30px;
            position: relative;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

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

        .footer-logo img {
            width: 100%;
            filter: brightness(0) invert(1);
        }

        .footer-links h4 {
            margin-bottom: 20px;
            color: white;
            font-size: 1.2rem;
        }

        .footer-links ul {
            list-style: none;
        }

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

        .footer-links a {
            color: #aaa;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--primary-color);
            padding-left: 5px;
        }

        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            color: white;
            transition: var(--transition);
        }

        .footer-social a:hover {
            background: var(--primary-color);
            transform: translateY(-5px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #333;
            color: #777;
            font-size: 0.9rem;
        }

        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }

        .lightbox.active {
            display: flex;
            animation: fadeInUp 0.3s ease-out;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 90vh;
            border-radius: 5px;
        }

        .lightbox-close {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            background: none;
            border: none;
            transition: var(--transition);
        }

        .lightbox-close:hover {
            color: var(--primary-color);
            transform: rotate(90deg);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 20px;
        }

        .lightbox-nav button {
            background: rgba(255,255,255,0.2);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
            backdrop-filter: blur(10px);
        }

        .lightbox-nav button:hover {
            background: var(--primary-color);
            transform: scale(1.1);
        }

        /* Back to Top */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 1000;
            box-shadow: 0 5px 20px rgba(221, 28, 35, 0.3);
        }

        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(221, 28, 35, 0.4);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .presentation-content,
            .contact-container,
            .gallery-section {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .presentation-text h2,
            .gallery-info h2 {
                text-align: center;
            }
            
            .presentation-text h2::after,
            .gallery-info h2::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .masonry-grid {
                grid-template-columns: 1fr;
            }
            
            section {
                padding: 80px 0;
            }
        }

        @media (max-width: 768px) {
            .hero-btns {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 300px;
            }
            
            .expertise-grid,
            .team-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .contact-form {
                padding: 30px 20px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .footer-links h4 {
                margin-top: 30px;
            }
            
            .footer-social {
                justify-content: center;
            }
            
            .lightbox-nav {
                padding: 0 10px;
            }
            
            .lightbox-nav button {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2rem;
            }
            
            .logo {
                width: 200px;
                height: 70px;
            }
            
            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
        }

        /* Dark Mode Support */
        @media (prefers-color-scheme: dark) {
            body {
                background: #121212;
                color: #e0e0e0;
            }
            
            .presentation,
            .expertises,
            .team,
            .masonry-gallery {
                background: #1a1a1a;
            }
            
            .expertise-card,
            .contact-form,
            .gallery-info {
                background: #2a2a2a;
            }
            
            .masonry-item {
                background: #2a2a2a;
            }
        }
    
	/* Logo fixe en haut à gauche */
.site-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    width: 180px;
    height: auto;
    transition: all 0.3s ease;
    animation: slideInLeft 0.5s ease-out;
}

.site-logo a {
    display: block;
    text-decoration: none;
}

.site-logo img {
    width: 100%;
    height: auto;
   /* filter: brightness(0) invert(1);*/ /* Logo blanc pour contraste */
    transition: transform 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
}

.site-logo.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100px);
    pointer-events: none;
}

/* Animation d'entrée du logo */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Version avec fond sombre pour les pages claires */
.site-logo.dark img {
    filter: brightness(0);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .site-logo {
        top: 15px;
        left: 15px;
        width: 140px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        width: 120px;
    }
}

/* Version avec fond pour meilleure visibilité */
.site-logo.with-bg {
    background: rgba(0,0,0,0.7);
    padding: 10px 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    width: auto;
}

.site-logo.with-bg img {
    width: 150px;
    /*filter: brightness(0) invert(0);**/
}