/*==================================================
MENU MOBILE PREMIUM
==================================================*/

.mobile-menu{

    position:fixed;

    inset:0;

    z-index:999999;

    background:#fff;

    transform:translateX(100%);

    transition:.45s cubic-bezier(.77,0,.18,1);

    overflow:hidden;

}

.mobile-menu.active{

    transform:translateX(0);

}

/*==============================*/

.mobile-panel{

    position:absolute;

    inset:0;

    background:#fff;

    transform:translateX(100%);

    transition:.35s cubic-bezier(.77,0,.18,1);

    overflow-y:auto;

}

.mobile-panel.active{

    transform:translateX(0);

}

.panel-main{

    transform:translateX(0);

}

/*==============================*/

.mobile-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px;

    border-bottom:1px solid #ececec;

    background:#fff;

    position:sticky;

    top:0;

    z-index:5;

}

.mobile-header img{

    width:180px;

}

.mobile-close{

    width:48px;

    height:48px;

    border:none;

    border-radius:14px;

    background:#f4f4f4;

    font-size:26px;

    cursor:pointer;

    transition:.3s;

}

.mobile-close:hover{

    background:#7d1323;

    color:#fff;

}

/*==============================*/

.mobile-content{

    padding:12px 22px 30px;

}

.mobile-content a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    text-decoration:none;

    color:#222;

    padding:20px 0;

    border-bottom:1px solid #ececec;

}

.mobile-item{

    display:flex;

    align-items:center;

    gap:18px;

}

.mobile-content a:hover{

    color:#7d1323;

}

.mobile-item i{

    width:28px;

    text-align:center;

    font-size:22px;

    color:#7d1323;

    flex-shrink:0;

}

.mobile-item span{

    font-size:17px;

    font-weight:600;

}

.mobile-content>a>i{

    font-size:22px;

    color:#7d1323;

}

/*==============================*/

.mobile-bottom{

    margin:30px 22px;

    padding:22px;

    border-radius:18px;

    background:linear-gradient(135deg,#7d1323,#b23a48);

    color:#fff;

}

.mobile-bottom h3{

    font-size:24px;

    margin-bottom:15px;

}

.mobile-bottom p{

    line-height:1.8;

    opacity:.9;

}

/*==================================================
PANELS
==================================================*/

.back-main{

    display:flex;

    align-items:center;

    gap:12px;

    padding:25px;

    text-decoration:none;

    color:#7d1323;

    font-size:17px;

    font-weight:700;

    border-bottom:1px solid #ececec;

}

.mobile-panel h2{

    padding:25px;

    font-size:30px;

    color:#7d1323;

}

.mobile-panel>a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    text-decoration:none;

    color:#222;

    font-size:17px;

    font-weight:600;

    padding:22px 25px;

    border-bottom:1px solid #efefef;

    transition:.3s;

}

.mobile-panel>a:hover{

    background:#fafafa;

    padding-left:35px;

}

/*==================================================
HAMBURGER
==================================================*/

.menu-toggle{

    display:none;

}



.menu-toggle{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:6px;

    width:48px;

    height:48px;

    border:none;

    background:none;

    cursor:pointer;

}

.menu-toggle span{

    width:28px;

    height:3px;

    background:#7d1323;

    border-radius:50px;

    transition:.3s;

}

.menu-toggle.active span:nth-child(1){

    transform:rotate(45deg) translateY(9px);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:rotate(-45deg) translateY(-9px);

}





/*==========================================
IPHONES / SMARTPHONES
==========================================*/

@media (max-width: 767px){

    .header-top{

        display:flex;

        justify-content:space-between;

        align-items:center;

        padding:12px 15px;

    }

    .logo-left{

        position:relative;

    }

    .logo-left img{

        position:static !important;

        height:70px;

        width:auto;

        margin:0;

        top:0;

    }

    .header-right{

        display:none;

    }

    .main-nav{

        position:absolute;

        top:22px;

        right:15px;

        padding:0;

        background:transparent!important;

    }

    .nav-left{

        display:none;

    }

    .nav-menu{

        display:none !important;

    }

    .header-wave{

        display:none;

    }

    .menu-toggle{

        display:flex;

    }

}


/*==========================================
FOOTER MOBILE
==========================================*/

@media (max-width:767px){

.footer-container{

    grid-template-columns:1fr;

    gap:35px;

    padding:40px 25px;

    text-align:center;

}

.footer-col{

    display:flex;

    flex-direction:column;

    align-items:center;

}

.footer-col h3,
.footer-col h4{

    margin-bottom:18px;

}

.footer-col ul{

    width:100%;

}

.footer-col li{

    margin-bottom:12px;

}

.social{

    align-items:center;
    margin: auto;

}

.social-gallery{

    flex-direction:column;

    align-items:center;

    gap:30px;

}

.footer-gallery{

    grid-template-columns:repeat(2,1fr);

    gap:12px;

    margin-top:0;

    width:100%;

}

.footer-gallery img{

    width:100%;

    height:120px;

}

.footer-bottom{

    padding:25px 20px;

    text-align:center;

    line-height:1.7;

}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3,100px);
    gap: 10px;
    margin-top: 1rem!important;
}

.footer-left {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.footer-right {
    opacity: 0.85;
    margin-top: 1rem;
}

}


@media(max-width:767px){

#sidebar{

    position:fixed;

    top:0;

    left:-340px;

    width:320px;

    height:100vh;

    transition:.35s;

    z-index:9999;

}

#sidebar.open{

    left:0;

}

#map{

    width:100%;

}

}


/*==========================================
SIDEBAR MOBILE PREMIUM
==========================================*/

#mapSidebarBtn{

    display:none;

}

@media(max-width:767px){

#sidebar{

    position:fixed;

    top:0;

    left:-340px;

    width:320px;

    height:100vh;

    background:#fff;

    z-index:9999;

    transition:.35s ease;

    box-shadow:0 20px 40px rgba(0,0,0,.2);

}

#sidebar.open{

    left:0;

}

#map{

    width:100%;

    height:100vh;

}

#mapSidebarBtn{

    display:flex;

    align-items:center;

    justify-content:center;

    position:fixed;

    top:140px;

    left:15px;

    z-index:9998;

    padding:12px 18px;

    border:none;

    border-radius:40px;

    background:#7d1323;

    color:#fff;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

}

}


@media (max-width:767px){

#sidebar{

    position:fixed;

    top:0;

    left:-340px;

    width:320px;

    height:100vh;

    transition:left .35s ease;

    z-index:9999;

}

#sidebar.open{

    left:0;

}

}


#header{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

#closeSidebar{

    display:none;

}

@media(max-width:767px){

#closeSidebar{

    display:block;

    border:none;

    background:none;

    font-size:28px;

    cursor:pointer;

    color:#7d1323;

}

.contact-grid {
    grid-template-columns: repeat(1fr);
    display: block!important;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
    margin-bottom: 1rem;
}

.home-intro {
    background-size: contain!important;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 120px 20px;
    position: relative;
}

.header-top {

    align-items: center;
    padding: 15px 20px;
    height: 90px!important;

    position: fixed;

    top:0;

    left:0;

    width:100%;

    background:#fff;

    z-index:1001;

}

.btn-carte {
    display: flex!important;
    margin-top: 25px;
    background: #fff!important;
    
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.25s;
    color: #a9262c!important;
    text-align: center;
    margin: 0 auto;
    justify-content: center!important;
}

.home-grid {
    background: #a9262c;
    margin-top: -5rem!important;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px;
    border-bottom: 1px solid #ececec;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
}

.mobile-header img {
    width: 180px;
    margin-left: -5%;
}

.logo-left img {
    position: static;
    display: block;
    height: 90px;
    width: auto;
    margin-left: -2rem!important;
    margin-top: 10px;
}

.salagou-actualites {
    background: linear-gradient(180deg, #faf7f4 0%, #f3f3f3 100%);
    padding: 40px 0 90px;
    margin-top: 5rem;
}

}

.salagou-vignerons {
    padding: 35px 18px;
    margin-top: 5rem;
}





@media (min-width:1024px) and (max-width:1199px){

    /*==============================
    HEADER
    ==============================*/

    .nav-menu a{
        display:none!important;
    }

    .menu-toggle{
        display:flex!important;
    }

    .header-right{
        display:none!important;
    }

    .logo-left img{
        height:120px!important;
        position:absolute;
        top:0!important;
    }

    /*==============================
    FOOTER
    ==============================*/

    .footer-container{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:50px;
        padding:60px 40px;
    }

    .footer-col{
        text-align:left;
    }

    .social-gallery{
        display:flex;
        flex-direction:column;
        gap:25px;
    }

    .footer-gallery{
        display:grid;
        grid-template-columns:repeat(3,1fr);
        gap:12px;
    }

    .footer-gallery img{
        width:100%;
        aspect-ratio:1;
        object-fit:cover;
        border-radius:10px;
    }

    .social{
        justify-content:flex-start!important;
        gap:18px;
    }

    .social a{
        font-size:30px;
    }

    .footer-bottom-line{
        flex-direction:column;
        text-align:center;
        gap:20px;
    }

    .footer-left{
        justify-content:center;
        flex-wrap:wrap;
    }

    .footer-right{
        text-align:center;
    }

}@media (min-width:1024px) and (max-width:1199px){

    /*==============================
    HEADER
    ==============================*/

    .nav-menu a{
        display:none!important;
    }

    .menu-toggle{
        display:flex!important;
    }

    .header-right{
        display:none!important;
    }

    .logo-left img{
        height:120px!important;
        position:absolute;
        top:0!important;
    }

    /*==============================
    FOOTER
    ==============================*/

    .footer-container{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:50px;
        padding:60px 40px;
    }

    .footer-col{
        text-align:left;
    }

    .social-gallery{
        display:flex;
        flex-direction:column;
        gap:25px;
    }

    .footer-gallery{
        display:grid;
        grid-template-columns:repeat(3,1fr);
        gap:12px;
    }

    .footer-gallery img{
        width:100%;
        aspect-ratio:1;
        object-fit:cover;
        border-radius:10px;
    }

    .social{
        justify-content:flex-start!important;
        gap:18px;
    }

    .social a{
        font-size:30px;
    }

    .footer-bottom-line{
        flex-direction:column;
        text-align:center;
        gap:20px;
    }

    .footer-left{
        justify-content:center;
        flex-wrap:wrap;
    }

    .footer-right{
        text-align:center;
    }

    .footer-gallery

 {
    display:none!important;
    grid-template-columns: repeat(3, 100px);
    gap: 10px;
    margin-top: -3rem;
}




  .home-intro{

        background-attachment:fixed!important;

        background-size:cover;

        background-position:center center;

    }


}

input{
    font-size:16px!important;
}