/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

strong, b {
    font-weight: 500 !important;
}

/* Variables CSS */
:root {
    --primary-color: #d7263d;
    --secondary-color: #000;
    --accent-color: #3ec300;
    --text-dark: #222;
    --text-light: #888;
    --bg-light: #f9f9f9;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.07);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.12);
    --border-radius: 10px;
    --transition: all 0.3s cubic-bezier(.4,0,.2,1);
    --gradient: linear-gradient(120deg, #867c7dd0 0%, #d7263ed0 100%);
}

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

/* Header et Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: fit-content;
}

.navbar {
    display: flex;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Menu hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    /* background: linear-gradient(120deg, #867c7dd0 0%, #d7263ed0 100%); */
    background: #867c7dd0;
    color: var(--white);
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    min-height: 500px;
}

.hero-text {
    flex: 1 1 0;
    min-width: 0;
    padding: 40px 0 80px;
}

.hero-photo {
    flex: 0 0 340px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.hero-photo img {
    width: 100%;
    min-width: 650px;
    object-fit: contain;
    /* Mirror it */
    transform: scaleX(-1);
    max-height: 500px;
}


.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #615f5f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.check-icon {
    background: #d7263ed0;
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* Section Prestations */
.prestations {
    padding: 80px 0;
    background: var(--bg-light);
}

.prestations h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4rem;
}

.prestation-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.prestation-item.reverse {
    direction: rtl;
}

.prestation-item.reverse > * {
    direction: ltr;
}

/* Carrousel Styles */
.carousel-container {
    position: relative;
}

.carousel-single {
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: #f8f9fa;
}
.carousel-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-single .image-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.carousel {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: var(--transition);
}

.carousel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.carousel-slides {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    transform: translateX(100%);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Boutons de navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* Indicateurs */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    border-color: var(--white);
}

.indicator:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.5);
}

.prestation-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.prestation-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.cta-section {
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Section Pourquoi nous choisir */
.why-choose-us {
    padding: 80px 0;
    background: var(--white);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Garanties */
.guarantees {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.guarantees h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.guarantees p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guarantees a {
    color: var(--primary-color);
    text-decoration: none;
}

.guarantees a:hover {
    text-decoration: underline;
}

/* Section CTA Projet */
.project-cta {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.project-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.project-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Section À propos */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.about > .container > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.value-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.value-item h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Section Contact */
.contact {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background: var(--bg-light);
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content img {
        display: none;
    }

    .hero-text {
        padding: 16px 0;
    }

    .hero-photo {
        display: none;
    }

}

/* Responsive Design */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-container {
        margin-left: auto;
        margin-right: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .prestation-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .prestation-item.reverse {
        direction: ltr;
    }
    
    .carousel-slides {
        height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .image-label {
        bottom: 10px;
        left: 10px;
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .carousel-indicators {
        bottom: 10px;
        right: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }
    
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 32px;
    }
    
    .carousel-slides {
        height: 200px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .image-label {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}

#map {
    width: 100vw;
    height: 300px;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.logo img {
    height: auto;
    width: auto;
    max-width: 180px;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-color);
    padding: 0 1rem;
}


