/* Google Fonts */
        @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

        body {
            font-family:'Montserrat', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #ffffff;
        }

        a {
            color: #888;
            text-decoration: none;
        }   

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

        /* Header */
        header {
            background-color: #ffffff;
            color: white;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            height: 13vh;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
        }

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

        .logo img {
            margin-top: 10px;
            height: 110px;
        }

        .logo a {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: #dc3545;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: black;
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: bold;
            padding: 10px;
            font-size: 1.2rem;
            text-transform: uppercase;
        }

        .nav-links a:hover {
            color: #dc3545;
        }

        .burger {
            display: none;
            cursor: pointer;
        }

        .fixed-phone {
            position: fixed;
            bottom: 20px;       /* distance depuis le bas */
            left: 20px;         /* distance depuis la gauche */
            background-color: #dc3545; /* couleur CTA, à personnaliser */
            color: #fff;
            padding: 12px 18px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            text-decoration: none;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 9999;
            transition: background-color 0.3s;
        }

.fixed-phone:hover {
    background-color: #dc3545; /* couleur au survol */
}

    
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(../IMG/long-shot-homme-travaillant-sur-le-toit.jpg);
            background-size: cover;
            background-position: center;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
            top: 13lvh;
        }

        .hero-content {
            align-items: center;
        }
        .hero-content h1 {
            font-size: 3.5rem;
            margin: 0;
        }

        .hero-content h2 {
            font-size: 3.5rem;
            margin: 0;
        }

        .hero-content p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
            color: white;
            padding: 15px 30px;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
        }

        /* Sections */
        section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #2c2c2c;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: #dc3545;
        }

        /* Services */
        .services {
            background-color: #f8f9fa;
            margin-top: 70px;
        }


        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-left: 5px solid #dc3545;
        }

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

        .service-card h3 {
            color: #2c2c2c;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .service-card p {
            color: #666;
            line-height: 1.8;
        }

        .service-icon {
        font-size: 2.5rem;
        color: #dc3545;
        margin-bottom: 1rem;
        display: block;
        }

        .service-card {
        text-align: center;
        }

       /* Section Engagements */
.engagements {
    background: linear-gradient(135deg, #b43e3e 0%, #495057 100%);
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

.engagements .subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.engagements .title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.engagement-item {
    background: white;
    color: #333;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.engagement-item h3 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.engagement-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.engagement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.15);
}


        /* Réalisations */
        .realisations {
            background-color: #ffffff;
        }

        .gallery-button {
            display: inline-block;
            background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
            color: white;
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 25px;
            margin: 2rem auto;
            text-align: center;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        .gallery-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .projects-preview {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .project-card {
            position: relative;
            min-height: 260px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
            background-color: #f5f5f5;
        }

        .project-card img.project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
            z-index: 1;
        }

        .project-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.2rem;
            color: white;
            z-index: 2;
            backdrop-filter: blur(4px);
        }

   /* SECTION */
.partners {
    background: #f8f9fa;
    padding: 80px 0;
    overflow: hidden;
}

/* CAROUSEL */
.carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* TRACK */
.carousel-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;

    animation: scroll 40s linear infinite;
    will-change: transform;
}

/* LOGOS */
.carousel-track img {
    height: 240px;
    width: 400px;
    object-fit: contain;
    flex-shrink: 0;

    background: white;
    padding: 15px;
    border-radius: 10px;

    transition: transform 0.3s ease;
}

/* HOVER */
.carousel-track img:hover {
    transform: scale(1.1);
}

/* ANIMATION LOOP PARFAITE */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-35%);
    }
}

/* MENTION DISCRÈTE */
.partners-note {
    text-align: center;
    font-size: 0.7rem;
    color: #bbb;
    margin-top: 60px;
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .carousel-track {
        gap: 40px;
        animation: scroll 20s linear infinite;
    }

    .carousel-track img {
        height: 140px;
        width: 180px;
    }
}
        /* FAQ */
        .faq {
            background-color: #f8f9fa;
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: white;
            margin-bottom: 1rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow: hidden;
        }

        .faq-question {
            padding: 1.5rem;
            background: white;
            border: none;
            width: 100%;
            text-align: left;
            font-size: 1.1rem;
            font-weight: 600;
            color: #2c2c2c;
            cursor: pointer;
            position: relative;
            transition: background-color 0.3s ease;
        }

        .faq-question:hover {
            background-color: #f8f9fa;
        }

        .faq-question::after {
            content: '+';
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            color: #dc3545;
            transition: transform 0.3s ease;
        }

        .faq-question.active::after {
            transform: translateY(-50%) rotate(45deg);
        }

        .faq-answer {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-answer.active {
            padding: 1.5rem;
            max-height: 200px;
        }

        .faq-answer p {
            color: #666;
            line-height: 1.8;
        }

/* Contact */
.contact {
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: grid;
    grid-template-columns: 150px 1fr; /* colonne gauche fixe */
    margin-bottom: 1rem;
    color: #666;
}

.contact-item strong {
    color: #dc3545;
}

/* Contenu */
.contact-item span,
.phone-list {
    display: block;
}

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

        .contact-form {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 15px;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #2c2c2c;
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #dc3545;
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        .submit-button {
            background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
        }

        .mentions-legales {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.mentions-legales .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c2c2c;
    position: relative;
}

.mentions-legales .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #dc3545;
}

.mentions-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

.mentions-content a {
    color: #dc3545;
    text-decoration: none;
}

.mentions-content a:hover {
    text-decoration: underline;
}

.mentions-content ul {
    margin-left: 1.5rem;
    list-style: disc;
}

.top {
    margin-top: 50px;
}

footer {
    padding: 30px;
}

.footer-phone {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-phone span {
    flex-direction: column;
    line-height: 1.6;
}

.footer-phone a {
    color: #ccc;
    text-decoration: none;
}

.footer-phone a:hover {
    color: #dc3545;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-address span {
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.space {
    margin: 10px 0;
}



/* Responsive */
@media (max-width: 768px) {
    .mentions-content {
        padding: 0 20px;
        font-size: 0.95rem;
    }

    .mentions-legales .section-title {
        font-size: 2rem;
    }
}

        

        /* Footer */
        footer {
            background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
            color: white;
            padding: 3rem 0 1rem;
        }

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

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #dc3545;
        }

        .footer-section p,
        .footer-section a {
            color: #ccc;
            text-decoration: none;
            line-height: 1.8;
        }

        .footer-section a:hover {
            color: #dc3545;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #444;
            color: #888;
        }

        .mentions-legales {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.mentions-legales .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c2c2c;
    position: relative;
}

.mentions-legales .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #dc3545;
}

.mentions-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

.mentions-content a {
    color: #dc3545;
    text-decoration: none;
}

.mentions-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .mentions-content {
        padding: 0 20px;
        font-size: 0.95rem;
    }

    .mentions-legales .section-title {
        font-size: 2rem;
    }
}

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 0;
                left: -100%;
                height: 100vh;
                width: 100vw;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                background-color: #504e4e;
                z-index: 999;
                transition: left 0.5s ease;
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links a {
                font-size: 2rem;
                margin: 1.5rem 0;
                color: rgb(255, 255, 255);
                padding: 10px 20px;
                border-radius: 10px;
                text-decoration: none;
            }

            .burger {
                display: block;
                width: 70px;
                height: 70px;
                cursor: pointer;
                z-index: 1000;
            }

            .logo {
                z-index: 10;
            }

            .hero-content h1 {
                font-size: 2rem;
                margin-bottom: 15px;
            }

            .hero-content  {
                padding: 0 20px;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .section-title {
                font-size: 2rem;
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        .gallery-center {
            text-align: center;
            margin-top: 2rem;
        }

        /* Cookie Banner */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
            color: white;
            padding: 1.5rem;
            z-index: 10001;
            box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
            display: none;
        }

        .cookie-banner.show {
            display: block;
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from {
                transform: translateY(100%);
            }
            to {
                transform: translateY(0);
            }
        }

        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
        }

        .cookie-text {
            flex: 1;
        }

        .cookie-text h4 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        .cookie-text p {
            font-size: 0.95rem;
            line-height: 1.5;
            color: #ddd;
        }

        .cookie-text a {
            color: #dc3545;
            text-decoration: underline;
        }

        .cookie-text a:hover {
            text-decoration: none;
        }

        .cookie-buttons {
            display: flex;
            gap: 1rem;
            white-space: nowrap;
        }

        .btn-reject,
        .btn-accept {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .btn-reject {
            background-color: #555;
            color: white;
        }

        .btn-reject:hover {
            background-color: #333;
        }

        .btn-accept {
            background-color: #dc3545;
            color: white;
        }

        .btn-accept:hover {
            background-color: #b02a37;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
        }

        /* Responsive Cookie Banner */
        @media (max-width: 768px) {
            .cookie-banner {
                padding: 1rem;
            }

            .cookie-content {
                flex-direction: column;
                gap: 1rem;
                align-items: stretch;
            }

            .cookie-text h4 {
                font-size: 1rem;
            }

            .cookie-text p {
                font-size: 0.9rem;
            }

            .cookie-buttons {
                flex-direction: row;
                gap: 0.5rem;
                width: 100%;
            }

            .btn-reject,
            .btn-accept {
                flex: 1;
                padding: 0.65rem 1rem;
                font-size: 0.9rem;
            }
        }

        /* Google Maps - Gestion du masquage */
        .contact-map iframe {
            display: block;
        }

        .contact-map iframe.hidden {
            display: none;
        }