<style>

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    background: #fff;
    color: #111;
    line-height: 1.6;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

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

.logo {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

/* MENU DESKTOP */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
}

nav a:hover {
    opacity: 1;
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    background: #fff;
    height: 2px;
    width: 25px;
    margin: 4px 0;
}

/* SECTIONS */
section {
    padding: 110px 20px;
}

.section-white {
    background: #fff;
}

.section-grey {
    background: #f2f2f2;
}

.container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

h2 {
    font-size: 28px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.subtitle {
    font-weight: 500;
    margin-bottom: 25px;
}

/* SERVICES */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.service {
    padding: 20px;
}

.service h3 {
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* AVIS */
.avis-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.avis {
    min-width: 280px;
    border: 1px solid #ccc;
    padding: 20px;
    scroll-snap-align: start;
    background: #fff;
}

.avis span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

/* MAP */
.map-container {
    width: 100%;
    height: 350px;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* CONTACT */
.contact-info p {
    margin-bottom: 10px;
}

a {
    color: #111;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    font-size: 14px;
    background: #fff;
    border-top: 1px solid #ddd;
}

footer a {
    color: #111; /* couleur du texte normale */
    text-decoration: none; /* enlève le souligné */
}

footer a:hover {
    text-decoration: underline; /* souligné au survol */
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 60px;
        right: 0;
        transform: translateX(100%);
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        width: 100%;
        height: calc(100vh - 60px);
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: transform 0.3s ease;
    }

    nav ul.active {
        transform: translateX(0);
    }

    .burger {
        display: flex;
    }

    .services {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 22px;
    }
}


.logo img {
  height: 40px;  /* Ajuste la hauteur selon ton logo */
  width: auto;
  display: block;
}


.video-link {
    position: relative;
    display: inline-block;
    margin: 20px 0;
    cursor: pointer;
}

.video-link img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.video-link .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none; /* pour que le clic passe sur le lien */
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.video-link a:hover .play-button {
    color: #ff0000; /* change couleur au survol pour attirer l’attention */
}



/* loader */

/* Loader full screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111; /* couleur du fond pendant le chargement */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Batterie style iPhone */
.battery {
    width: 60px;
    height: 120px;
    border: 3px solid #fff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.battery::after {
    content: '';
    position: absolute;
    top: 35%;
    right: -6px;
    width: 6px;
    height: 30%;
    background: #fff;
    border-radius: 2px;
}

/* Niveau de la batterie animé */
.battery-level {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #a0ff00);
    animation: chargeBattery 3s forwards;
}

/* Animation de charge */
@keyframes chargeBattery {
    0% { width: 0%; }
    25% { width: 25%; }
    50% { width: 50%; }
    75% { width: 75%; }
    100% { width: 100%; }
}

/* Texte de chargement */
#loader p {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 1px;
}


</style>