/* =========================
   RESPONSIVE
========================= */

*{
    box-sizing:border-box;
}

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

/* Images */

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* Vidéo */

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

/* MENU MOBILE */

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#fff;
    z-index:2000;
}

/* TABLETTE */

@media screen and (max-width:992px){

    .hero-title{
        font-size:48px;
        line-height:1.2;
    }

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

    .contact-container{
        grid-template-columns:1fr;
    }

    .footer-content{
        grid-template-columns:repeat(2,1fr);
    }
}

/* MOBILE */

@media screen and (max-width:768px){

    body{
        overflow-x:hidden;
    }

    /* NAVBAR */

    .navbar{
        position:relative !important;
        padding:15px 20px;
        background:#111;
        flex-wrap:wrap;
    }

    /* Désactive menu fixe sur mobile */

   /* NAVBAR MOBILE */

/* NAVBAR MOBILE COMPACT - VERSION ULTRA COMPACTE */

@media screen and (max-width:768px){

    .navbar{
        position:relative !important;
        padding:4px 10px;           /* Réduit de 5px à 4px */
        min-height:40px;            /* Réduit de 48px à 40px */
        background:#111;
        display:flex;
        align-items:center;
        justify-content:space-between;
    }

    /* Logo */
    .logo img{
        width:60px;                 /* Réduit de 75px à 60px */
        height:auto;
    }

    /* Icône menu */
    .menu-toggle{
        display:block;
        font-size:16px;             /* Réduit de 18px à 16px */
        color:#fff;
        line-height:1;
        padding:2px;                /* Ajouté pour réduire la zone cliquable */
    }

    /* Menu déroulant */
    .nav-links{
        position:absolute;
        top:40px;                   /* Ajusté pour correspondre à min-height */
        left:0;
        width:100%;
        background:#111;
        display:none;
        flex-direction:column;
        padding:0;
        gap:0;
    }

    .nav-links.active{
        display:flex;
    }

    /* Liens */
    .nav-links li{
        width:100%;
    }

    .nav-links a{
        display:block;
        padding:6px 10px;           /* Réduit de 8px à 6px */
        font-size:12px;             /* Réduit de 13px à 12px */
        line-height:1.1;            /* Réduit de 1.2 à 1.1 */
        border-bottom:1px solid rgba(255,255,255,0.05); /* Ajouté pour séparer les liens */
    }

    /* Bouton téléphone */
    .contact-btn{
        display:none;
    }
}
   

    /* HERO */

    .hero{
        min-height:100vh;
        padding:80px 20px 60px;
    }

    .hero-content{
        width:100%;
    }

    .hero-title{
        font-size:34px;
        line-height:1.2;
    }

    .hero-description{
        font-size:16px;
        line-height:1.7;
    }

    .hero-buttons{
        display:flex;
        flex-direction:column;
        gap:15px;
        width:100%;
    }

    .hero-buttons a{
        width:100%;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        text-align:center;
    }

    /* SECTIONS */

    section{
        padding-left:20px !important;
        padding-right:20px !important;
    }

    .section-title{
        font-size:30px;
    }

    .section-description{
        font-size:15px;
    }

    /* SERVICES */

    .services-item{
        display:grid;
        grid-template-columns:1fr;
        gap:20px;
    }

    .service-card{
        padding:25px;
    }

    .service-img img{
        width:100%;
        border-radius:12px;
    }

    /* CONTACT */

    .contact-container{
        grid-template-columns:1fr;
        gap:25px;
    }

    .contact-form-wrapper{
        padding:25px;
    }

    .img-contact img{
        width:100%;
        border-radius:12px;
    }

    /* MAP */

    .map iframe{
        width:100%;
        height:300px;
    }

    /* FOOTER */

    .footer-content{
        grid-template-columns:1fr;
        text-align:center;
        gap:35px;
    }

    .social-links{
        justify-content:center;
    }
}