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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #ffffff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e8e8e8;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2c3e50;
}

.nav-cart {
    position: relative;
}

.cart-link {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Incrustation vidéo (miniature) */
.video-incrustation {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 240px;
    height: 135px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.video-incrustation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.video-incrustation:hover .thumbnail-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.play-pause-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.play-pause-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.play-pause-btn i {
    pointer-events: none;
    color: #333;
}

.play-fullscreen-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.play-fullscreen-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.play-fullscreen-btn i {
    pointer-events: none;
    color: #333;
}

/* Masquer l'incrustation en plein écran */
.hero-video.fullscreen ~ .video-incrustation {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Responsive pour l'incrustation */
@media (max-width: 768px) {
    .video-incrustation {
        width: 180px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }
    
    .play-fullscreen-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .video-close-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Style pour le mode plein écran */
.hero-video.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video.fullscreen video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-video.fullscreen .hero-overlay {
    display: none;
}

.hero-video.fullscreen .hero-content {
    display: none;
}

/* Contrôles vidéo pour plein écran */
.video-player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video.fullscreen .video-player-controls {
    display: flex;
}

.hero-video.fullscreen:hover .video-player-controls {
    opacity: 1;
}

/* Barre de progression */
.video-progress-bar-container {
    width: 100%;
}

.video-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.video-progress-bar:hover {
    height: 8px;
}

.video-progress-filled {
    height: 100%;
    background: #e74c3c;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.video-progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-progress-bar:hover .video-progress-handle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Contrôles du bas */
.video-controls-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.video-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-control-btn i {
    pointer-events: none;
}

.video-time {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Bouton de fermeture en plein écran (en haut à droite) */
.video-close-fullscreen-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.hero-video.fullscreen ~ .video-close-fullscreen-btn {
    display: flex;
}

.video-close-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: white;
    transform: scale(1.1);
}

.video-close-fullscreen-btn i {
    pointer-events: none;
}


.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    pointer-events: none;
}

.hero-content a,
.hero-content button {
    pointer-events: auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1.1;
}

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

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
    font-weight: 500;
}

.btn-primary:hover {
    background: #2d2d2d;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a1a;
}

.btn-outline {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-outline:hover {
    background: #2c3e50;
    color: white;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
}

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

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

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.product-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.product-note i {
    color: #2c3e50;
}

.info-banner {
    background: #e8f4f8;
    border-left: 4px solid #2c3e50;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-banner i {
    color: #2c3e50;
    font-size: 1.5rem;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 3rem 0 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
}

/* Footer */
.footer {
    background: #2c3e50;
    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,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #e74c3c;
}

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

/* Section Introduction */
.introduction {
    padding: 4rem 0;
    background: #f8f9fa;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.intro-content strong {
    color: #333;
    font-size: 1.2rem;
}

/* Section About */
.about-section {
    padding: 4rem 0;
    background: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Section Prestations */
.prestations {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.prestation-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.prestation-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.prestation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.prestation-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.prestation-note {
    color: #27ae60;
    font-size: 0.95rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prestation-note i {
    color: #27ae60;
}

/* Section Zone d'intervention */
.zone-intervention {
    padding: 4rem 0;
    background: #fff;
}

.zone-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.zone-content p {
    margin-bottom: 1rem;
}

.zone-content strong {
    color: #e74c3c;
    font-weight: 600;
}

/* Section Pourquoi choisir */
.why-choose {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.why-item i {
    color: #27ae60;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.why-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.why-objective {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.why-objective p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
}

.why-objective strong {
    color: #e74c3c;
}

/* Section Avis clients */
.testimonials {
    padding: 4rem 0;
    background: #fff;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-quote {
    font-size: 2rem;
    color: #e74c3c;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: #333;
    font-weight: 600;
    text-align: right;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .services-grid,
    .products-grid,
    .prestations-grid,
    .why-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .intro-content,
    .about-content,
    .zone-content {
        padding: 0 1rem;
        font-size: 1rem;
    }
}