/* Style global */
/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Merriweather Sans", sans-serif;
}

/* Bouton pour ouvrir */
#openModal {
    display: block;
    margin: 50px auto;
    font-size: 2.369em;
    line-height: 1.2;
    margin-bottom: .5em;
    font-family: "Merriweather",serif;
    font-weight: normal;
    background: #1b1b1b;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 1px;
}
#openModal:hover{
    color:#3dc1f1;
}

#successPopup {
    display: block;
    text-align: center;
    margin: 50px auto;
    font-size: 2.369em;
    line-height: 1.2;
    margin-bottom: .5em;
    font-family: "Merriweather",serif;
    font-weight: normal;
    background: #1b1b1b;
    color: #27ed00;
    border: none;
    cursor: pointer;
    border-radius: 1px;
}
/* MODAL */
.modal-popup {
    color: #1b1b1b;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

/* Overlay avec effet flou */
.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease-in-out;
}

/* Contenu de la popup */
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 3px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    opacity: 0;
    transform: translate(-50%, -60%);
    transition: opacity 0.3s, transform 0.3s;
}
.modal-content h3{
    margin-bottom: 2vh;
}
/* Affichage actif */
.modal-popup.active .modal-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Fermer */
.closeModal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Formulaire */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 100px;
    resize: none;
}

/* Bouton Submit */
.submit-btn {
    width: 100%;
    padding: 10px;
    background: #1b1b1b;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.honeypot {
    display: none;
}
/* Container de l'article */
.article-container li{
    list-style: none;  
}
.article-container a {
    color: white; /* Suppression de la couleur bleue des liens */
    text-decoration: none;
    font-weight: bold;
}
.article-container a:hover {
    color: #3dc1f1;
}
.our-wine__attribute {
    display: flex;
    align-items: center; /* Aligner verticalement */
    gap: 8px; /* Espacement entre label et valeur */
}


/* ----------------------------------------------------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------desktop------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------------------------*/
@media (min-width: 667px) {
    body {
    font-family: "Merriweather Sans",sans-serif;
    background-color: #1B1B1B;
    color: #fff;
    }
    .banner-text h1 {
        font-family: "Merriweather",serif;
        font-weight: normal;
        font-size: 72px;
        letter-spacing: 2px;
        margin-bottom: .15em;
    }
    .banner-text h2 {
        font-family: "Merriweather",serif;
        font-size: 44px;
        margin-bottom: .5rem;
        letter-spacing: 1px;
        font-style: italic;
        line-height: 1.2;
        font-weight: normal;
    }
    .banner-text p {
        font-size: 20px;
        letter-spacing: 1px;
    }
  
    img {
      display:inline-block;
      max-width:100%;
      height:auto !important;
      vertical-align:middle
    }
    .logo {
        display: flex;
        position: absolute;
        top: -30px; /* Ajuste cette valeur selon tes besoins */
        left: 50%;
        transform: translateX(-50%);
        text-align: left;
        z-index: 2000; /* Assure que le logo passe bien au-dessus des triangles */
    }
    .logo img {
        height: 80px; /* Ajuste la taille du logo si nécessaire */
        max-width: 80px;
        z-index: 2000;
    }
    .logo-header img{
        height: 60px;
        max-width: 60px;
        z-index: 2000;
    }
    /* Transparent Header */
    .transparent-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px; /* Ajuste si besoin */
        z-index: 1000; /* Toujours au-dessus */
        padding: 1rem 4rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.3);
        transition: background 0.3s ease;
        border-bottom: 1px solid white;
    }
    .content-wrapper {
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding-bottom: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        position: relative;
        max-width: 77rem;
        width: 90%;
    }
    .scrolled {
        background: transparent;
        border-bottom: none;
        padding: none;
    }
    .scrolled:hover {
        background: #3dc1f1;
        border-bottom: none;
        padding: none;
    }
    /* Cacher les liens quand on scroll */
    .scrolled .nav-links {
        display: none;
    }
    /* Afficher le menu burger quand on scroll */
    .scrolled .menu-toggle div{
        display : flex;
        visibility: visible;
        opacity: 1;
        z-index: 20;
        transition: all 200ms ease-out;
    }
    .scrolled:hover {
        .menu-toggle {
            display: none;
            visibility: hidden;
            margin-right: none;
            opacity: 0;
            top: -100%;
        }
        .nav-links li {
            a {
                color: #ffffff;
            }
            a:hover {
                color : #000000;
            }
            a.active {
                color : #000000;
            }
            a::after {
                position: absolute;
                display: none;
            }
        }
    }
    .logo img{
        height: 60px;
        max-width: 60px;
        z-index: 1500;
    }
    /* Menu classique */
    .nav-links {
        font-size: 14px;
        list-style: none;
        letter-spacing: .5px;
        list-style: none;
        display: flex;
        white-space: nowrap;
    }
    .nav-links ul {
        line-height: 1.6;
    }
    .nav-links li a {
        position: relative;
        color: #fff;
        text-decoration: none;
        padding: 1.5rem 1rem;
        box-sizing: border-box;
        font-weight: 700;
    }
    /* Animation du surlignement (effet modèle) */
    .nav-links li a.active::after {
        width: 100%;
        left: 0;
    }
    .nav-links li a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -3px;
        width: 0;
        height: 1px;
        background-color: #3dc1f1;
        transition: 0s ease-out;
    }
    .nav-links li a:hover::after {
        width: 100%;
        left: 0;
    }
    /* Afficher le menu burger */
    .menu-toggle div {
        display: none;
        width: 30px;
        height: 3px;
        background: white;
        margin: 6px 0;
        z-index: 20;
        transition: all 200ms ease-out;
        webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    /* Banner container */
    .banner-container {
        position: relative;
        width: 100%;
        background-color: #000; /* Couleur de fond si nécessaire */
        z-index: 3;
    }
    .banner-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        z-index: -1;
    }
    /* Contenu de l'arrière-plan */
    .banner-background {
        background: url('../images/bvv.jpg') no-repeat center center/cover;
        background-position: center center;
        background-size: cover;
        display: flex;
        height: 80vh; 
        position: relative;
    }
    /* Texte du banner */
    .banner-text {
        text-align: center;
        z-index: 2;
        opacity: 1;
        visibility: visible;
        top: 55%;
        width: 95%;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transition: all 200ms ease-out;
        -o-transition: all 200ms ease-out;
        transition: all 200ms ease-out;
    }
    /* Triangle gauche */
    .triangle-left {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50%;
        z-index: 3;
    }
    .triangle-left img {
        width: 100%;
        height: auto;
    }
    /* Triangle droit */
    .triangle-right {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50%;
        z-index: 3;
    }
    .triangle-right img {
        width: 100%;
        height: auto;
    }
    .section-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 2rem;
    }
    /* Container XXL */
    .container-xxl {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }
    .intro h2 {
        line-height: 1.2;
        margin-top: 0;
        margin-bottom: 0.975em;
        font-family: "Merriweather",serif;
        text-align: center;
        font-size: 2.369em;
    }
    .intro h3 {
        font-size: 1.475rem;
        text-align: center;
        line-height: 1.6;
        margin-bottom: 0.875em;
        font-family: "Merriweather",serif;
        font-style: italic;
        color: rgba(255,255,255,.5);
    }
    .intro p {
        line-height: 1.2;
        margin-top: 0;
        margin-bottom: 0.777em;
        text-align: center;
        font-size: 1.1rem;
    }
    /* Section Cards */
    .cards-wrapper {
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding: 2rem 0;
    }
    /* Style des cartes */
    .card {
        position: relative;
        width: 100%;
        height: 290px;
        border: 1px solid white;
        overflow: hidden;
        transition: box-shadow 0.3s ease;
    }

    /* Image de la carte */
    .card .card-image {
        height: 100%;
        background-repeat: no-repeat;
        transition: transform 0.5s ease-in-out;
        background-size: cover;
    }
    /* Zoom sur l'image au survol */
    .card:hover .card-image {
        transform: scale(1.05);
    }
    /* Contenu de la carte */
    .card .card-content {
        p {
            font-size: .875rem;
            line-height: 1.6;
            margin-top: 0;
            margin-bottom: 1.45em;
            box-sizing: border-box;
        }
        h3 {
            font-size: 1.777em;
            line-height: 1.2;
            margin-bottom: .5em;
            font-family: "Merriweather",serif;
            font-weight: normal;
            box-sizing: border-box;
            font-style: normal;
        }
        
        position: absolute;
        bottom: 20px;
        width: 45%;
        color: #fff;
        font-weight: bold;
    }
    /* Alternance gauche/droite */
    .card:nth-child(odd) .card-content {
        left: 5%;
        text-align: left;
        align-items: flex-start;
    }

    .card:nth-child(even) .card-content {
        right: 5%;
        text-align: right;
        align-items: flex-end;
    }

    /* Bouton */
    .linkBtn {
        background: transparent;
        color: #fff;
        border: 1px solid #fff;
        padding: 0.8rem 1.5rem;
        font-size: 14px;
        text-transform: uppercase;
        display: inline-block;
        margin-top: 10px;
        transition: all 0.3s ease;
    }
    .linkBtn:hover {
        border: 1px solid #3dc1f1;
        color: #3dc1f1;
    }
    /* Footer global */
    .footer-container {
        position: relative;
        background: #343434; /* Fond noir par défaut */
        color: #fff;
        text-align: center;
        padding-bottom: 50px;
        text-decoration: none !important;
        font-family: "Merriweather Sans", sans-serif;
        font-size: 1rem;
        font-weight: 400;
    }
    .top-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background-color: #1b1b1b;
        border-radius: 50%;
        display: none; /* Caché par défaut */
        justify-content: center;
        align-items: center;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }
    .top-button img {
        width: 30px;
        height: 30px;
    }
    .top-button:hover {
        background-color: #1b1b1b;
    }
    /* Container de l'article */
    .article-container {
        display: flex;
        align-items: flex-start; /* Assurez-vous que l'alignement est en haut */
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 50px 0;
        position: relative;
    }
    .content {
    width: 45%;
    transition: height 0.5s ease-in-out;
    position: sticky;
    top: 6.875rem;
    height: 100vh;
    }
    .content h1 { 
        font-size: 3.157em;
        line-height: 1.2;
        margin-bottom: .15em;
        font-family: "Merriweather",serif;
        font-weight: normal;
    }
    .content h2 { 
        font-size: 2.369em;
        line-height: 1.2;
        margin-bottom: .5em;
        font-family: "Merriweather",serif;
        font-weight: normal;
        color: rgba(255,255,255,.5);
    }
    .content p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-top: 0;
        margin-bottom: 1.45em;
        font-family: "Merriweather Sans",sans-serif;
        font-style: normal;
        font-weight: normal;
    }
    .content-scrolled {
        height: 90vh; 
        overflow: hidden;
    }
    .image-scroll-section {
        width: 45%;
        overflow: hidden;
        position: relative;
    }
    .image-stack {
        display: flex;
        flex-direction: column;
    }
    .stacked-image {
        width: 100%;
        display: block;
    }
    .wine-container {
    max-width: 1660px;
    margin: 0 auto; /* Centre horizontalement */
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Étire les éléments à l'intérieur */
    height: 90vh;
    }
    .prev, .next {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        display: none; /* CACHÉ PAR DÉFAUT */
    }
    /* Assurer que tous les enfants s'étirent sur la largeur */
    .wine-container > * {
        width: 100%;
    }
    .slick-dots {
        margin: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        width: 100%;
        padding: 0;
    }
    .slick-dots li {
        flex: 1; /* Permet d’étirer tous les boutons sur la largeur */
        display: flex;
        align-items: stretch;
        justify-content: center;
        height: 120px; /* Hauteur fixe pour tous */
        margin: 1rem;
        
        
    }
    .slick-dots li button {
        color: rgba(27,27,27);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 1rem;
        text-align: center;
        border: none;
        cursor: pointer;
        line-height: 1.4;
        border-radius: 0;
        opacity: 1;
        font-size: 14px;
        background: rgb(225, 225, 225); /* Fond des éléments non actifs */
        transition: box-shadow 0.3s ease, background-color 0.3s ease; /* Transition fluide pour les couleurs */
    }

    .slick-dots li.active button {
        background-color: #3dc1f1 !important; /* Fond de l'élément actif */
        color: rgba(27,27,27);
        transform: translateY(-10px); 
    }

    .slick-dots li:hover button {
        color: rgba(27,27,27);
        background-color: #3dc1f1 !important; /* Fond au survol, mais pas affecte la classe active */
    }
    /* Partie centrale avec le texte et l'image (wrapper) */
    .our-wine__wrapper {
        display: flex;
        justify-content: space-between;
        margin: 1rem;
        transition: opacity 1s ease;
        
        h1 { 
            font-size: 2.1em;
            line-height: 1.2;
            margin-bottom: .15em;
            font-family: "Merriweather",serif;
            font-weight: normal;
        }
        h2 { 
            font-size: 1.777em;
            line-height: 1.2;
            margin-bottom: .5em;
            font-family: "Merriweather",serif;
            font-weight: normal;
            font-style: italic;
            color: rgba(255,255,255,.5);
        }
        h3 {
            font-size: 1.1em;
            line-height: 1.2;
            margin-bottom: .5em;
            font-family: "Merriweather",serif;
            font-weight: normal;
            box-sizing: border-box;
            font-style: normal;
            }
        p {
            font-size: 0.95rem;
            line-height: 1.6;
            margin-top: 0;
            margin-bottom: 1.45em;
            font-family: "Merriweather Sans",sans-serif;
            font-style: normal;
            font-weight: normal;
        }
    }
    /* Style du carrousel */
    .wine-carousel {
        position: relative;
        overflow: hidden; /* Assure que seul un élément est visible à la fois */
        height: 100%;
    }
    /* Tous les éléments de vin sont positionnés de manière absolue pour pouvoir se déplacer */
    .wine-content__wine-item {
        position: absolute; /* Position absolue pour permettre le glissement */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: transform 1s ease, opacity 1s ease;
        z-index: 0; /* Assure que l'élément n'est pas superposé par d'autres */
    }
    /* Lorsque l'élément de vin est visible (après l'activation) */
    .wine-content__wine-item.show {
        opacity: 1;
        z-index: 1; /* L'élément visible doit être au-dessus des autres */
    }
    /* Lorsque l'élément sort du carrousel (glissement vers la gauche) */
    .wine-content__wine-item.slide-out-left {
        opacity: 0;
        transform: translateX(-100%); /* L'élément glisse à gauche */
    }
    /* Lorsque l'élément sort du carrousel (glissement vers la droite) */
    .wine-content__wine-item.slide-out-right {
        transform: translateX(100%);
        opacity: 0;
    }
    .our-wine__bottle-shot img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
        height: 100%;
    }
    .our-wine__left-column,
    .our-wine__right-column {
        padding: 2rem;
        width: 48%;
    }
    /* Mise en forme pour les sections */
    .our-wine__section {
        margin-bottom: 20px;
    }
    .tablet-up {
        display: block;
    }
    .tablet-down {
        display: none;
    }
    /* Wrapper du footer */
    .footer-wrapper {
        position: relative;
        width: 100%;
        text-decoration: none !important;
    }
    /* Triangle gauche */
    .footer-triangle-left {
        position: absolute;
        left: 0;
        top: 0;
        width: 50%;
        background-position: bottom left;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 3;
    }
    .footer-triangle-left img {
        width: 100%;
        vertical-align: top;
    }
    /* Triangle droit */
    .footer-triangle-right {
        position: absolute;
        right: 0;
        top: 0;
        width: 50%;
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 3;
    }
    .footer-triangle-right img {
        width: 100%;
        vertical-align: top;
    }
   /* Contenu du footer */
    .footer-content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        text-align: center;
        padding: 4rem 2rem 0 0;
        background-color: #333;
        color: white;
        font-weight: 400;
        flex-wrap: wrap;
    }
    .footer-content span {
        color: #fff;
        font-size: 16px;
    }
    .footer-content a p {
        display: inline-block;
        font-size: 16px;
        font-family: "Merriweather", serif;
        color: white; /* Suppression de la couleur bleue des liens */
        text-decoration: none !important;
    }
    .footer-content a:hover {
        color: #3dc1f1;
    }
    .tagline {
        display: block;
        font-size: 14px;
        text-align: center;
        margin-top: 10px;
        color: #fff;
    }
}
/* ----------------------------------------------------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------mobile------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 667px) {
    /* Header */
    body {
    font-family: "Merriweather Sans",sans-serif;
    background-color: #1B1B1B;
    color: #fff;
    }
    h1  {
        font-family: 'Playfair Display', serif;
    }
    h2  {
        font-family: 'Playfair Display', serif;
    }
    h3  {
        font-family: 'Playfair Display', serif;
    }
    h4 {
        font-family: 'Playfair Display', serif;
    }
    img {
      display:inline-block;
      max-width:100%;
      height:auto !important;
      vertical-align:middle
    }
    .content-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 1rem;
    }
    .logo-header {
        display: flex;
        align-items: center;
    }
    .logo {
        position: absolute;
        top: -15px; /* Ajuste cette valeur selon tes besoins */
        left: 50%;
        transform: translateX(-50%);
        z-index: 2000; /* Assure que le logo passe bien au-dessus des triangles */
    }
    .logo img {
        max-width: 10vw !important;
        z-index: 2000;
    }
    .logo-header img{
        max-width: 10vw !important;
        z-index: 2000;
    }
    .transparent-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: transparent;
        height: 70px;
        padding: 0rem 1rem;
        position: fixed; /* Rendre le header toujours visible */
        top: 0;
        left: 0;
        right: 0;
        z-index: 1500; /* Assurer que le header reste au-dessus du menu */
        flex-direction: row; /* S'assurer que le logo et le menu burger restent sur la même ligne */
        background: rgba(0, 0, 0, 0.3);
        transition: background 0.3s ease;
        border-bottom: 1px solid white;
        flex-direction: row; 
    }
    .scrolled {
        background: transparent;
        border-bottom: none;
        padding: none;
    }
    .active .scrolled{
        border-bottom: none;
        background: #1b1b1b;
        background-color: #1b1b1b;
    }
    
    logo h1 {
        color: #fff;
        font-size: 1.5rem;
    }
     .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1500;
        margin-left: auto; /* Pour le pousser à droite */
    }
    .menu-toggle div {
        width: 100%;
        height: 3px;
        background-color: #fff;
        transition: all 0.3s ease;
    }
    .menu-toggle.open div:nth-child(1) {
        transform: rotate(45deg);
        position: relative;
        top: 9px;
    }
    .menu-toggle.open div:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open div:nth-child(3) {
        transform: rotate(-45deg);
        position: relative;
        top: -9px;
    }
    /* Liens de navigation cachés par défaut sur mobile */
    .nav-links {
        position: fixed; /* Positionner le menu en plein écran */
        top: 70px; /* Juste en dessous du header */
        right: 0;
        background-color: #1b1b1b;
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        justify-content: space-around;
        transition: all 0.3s ease;
        padding: 0 1rem;
        list-style: none;
        z-index: 1001; /* Assurer que le menu est sous le logo et le burger */
    }
    /* Lorsque le menu est actif, il occupe toute la hauteur de l'écran */
    .nav-links.active {
        list-style: none;
        overflow: visible;
    }
    .nav-links li {
        text-align: center;
        border-bottom: 1px solid #505050;
    }
    .nav-links li .active {
        text-align: center;
        border-bottom: 1px solid #3dc1f1;
    }
    .nav-links a {
        text-decoration: none;
        color: #fff;
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        font-weight: 700;
        transition: color 0.3s ease-out;
    }
    /* Lorsque le menu est ouvert, l'arrière-plan de la page devient sombre et le défilement est désactivé */
    .primary-navigation-wrapper.active {
        position: fixed; /* Le menu prend tout l'écran */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999; /* Superposition de l'arrière-plan mais en dessous du logo et du burger */
        overflow: hidden; /* Empêcher le défilement */
    }
    /* Mobile styles */
    .menu-toggle {
        display: flex;
        box-sizing: border-box;
        right: 5%;
    }
    /* Assurer que tout le contenu est caché derrière le menu */
    body.active {
        overflow: hidden; /* Empêcher le défilement de la page */
    }
    /* Ajouter une superposition sombre sur la page entière mais ne pas affecter le logo et la croix */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #1b1b1b; /* Arrière-plan sombre */
        z-index: 500; /* Sous le menu mais au-dessus du contenu */
        display: none; /* Par défaut, invisible */
    }
    .overlay.active {
        display: block; /* Afficher l'overlay lorsque le menu est ouvert */
    }
    /* Banner container */
    .banner-container {
        position: relative;
        width: 100%;
        background-color: #000; /* Couleur de fond si nécessaire */
        z-index: 3;
    }
    .banner-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        z-index: -1;
    }
    /* Contenu de l'arrière-plan */
    .banner-background {
        background: url('../images/bvv.jpg') no-repeat center center/cover;
        background-position: center center;
        background-size: cover;
        display: flex;
        height: 60vh; /* Hauteur pour l'écran entier */
        position: relative;
    }
    /* Texte du banner */
    .banner-text {
        text-align: center;
        z-index: 2;
        opacity: 1;
        visibility: visible;
        top: 55%;
        width: 95%;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transition: all 200ms ease-out;
        -o-transition: all 200ms ease-out;
        transition: all 200ms ease-out;
    }
    .banner-text h1 {
        color: #fff;
        line-height: 1.2;
        font-size: 40px;
        letter-spacing: 2px;
        margin-bottom: .25em;
        font-family: "Merriweather",serif;
        font-weight: normal;
    }
    .banner-text h2 {
        font-family: "Merriweather",serif;
        color: #fff;
        font-size: 20px;
        margin-bottom: .5rem;
        letter-spacing: 1px;
        font-style: italic;
    }
    .banner-text h3 {
        color: #fff;
        font-size: 11px;
        font-family: "Merriweather Sans",sans-serif;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
    }
    .banner-text p {
        font-size: .9375rem;
        line-height: 1.6;
        margin-top: 0;
        margin-bottom: 1.45em;
    }
    /* Triangle gauche */
    .triangle-left {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50%;
        z-index: 3;
    }
    .triangle-left img {
        width: 100%;
        height: auto;
    }
    /* Triangle droit */
    .triangle-right {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50%;
        z-index: 3;
    }
    .triangle-right img {
        width: 100%;
        height: auto;
    }
    /* Titre de section */
    .section-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 2rem;
    }
    /* Container XXL */
    .container-xxl {
        max-width: 1300px;
        margin: 0 auto;
        padding: 1rem;
    }
    .intro h2 {
        line-height: 1.2;
        margin-top: 0;
        margin-bottom: 0.975em;
        font-family: "Merriweather",serif;
        text-align: center;
        font-size: 1.52em;
    }
    .intro h3 {
        font-size: 1.125rem;
        text-align: center;
        line-height: 1.6;
        margin-bottom: 0.875em;
        font-family: "Merriweather",serif;
        font-style: italic;
        color: rgba(255,255,255,.5);
    }
    .intro p {
        line-height: 1.6;
        font-size: .9375rem;
        margin-bottom: 1.45em;
        text-align: center;
    }
    /* Section Cards */
    .cards-wrapper {
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding: 2rem 0;
    }
    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left;
        border: none; 
        background: transparent;
    }   
    /* Image indépendante */
    .card .card-image {
        width: 100%;
        height: 175px; /* Ajuste la hauteur selon besoin */
        background-size: 129% !important;
        border: 1px solid white;
    }

    .card-content {
        position: relative;
        width: 100%;
        color: #fff;
    }
    .card .card-content h3 {
        margin-top: 1rem;
        margin-bottom: 0;
        font-size: 1.1847259em;
        line-height: 1.2;
        color: #fff;
        font-family: "Merriweather",serif;
        font-weight: normal;
        box-sizing: border-box;
    }
    .card .card-content p {
        line-height: 1.6;
        margin-top: 0;
        margin-bottom: 1.95em;
        font-size: .875rem;
    }

    /* Bouton */
    .linkBtn {
        background: transparent;
        color: #fff;
        border: 1px solid #fff;
        text-transform: uppercase;
        margin-top: 10px;
        transition: all 0.3s ease;
        height: auto;
        line-height: 1;
        padding: 1em;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        vertical-align: middle;
        border-radius: 3px;
        font-size: 12px;
        letter-spacing: 1px;
    }
    /* Container de l'article */
    .article-container {
        margin-top: 2rem;
        margin-bottom: 4rem;
        padding: 1rem;
    }
    .content h1 { 
        font-size: 2.157em;
        line-height: 1.2;
        margin-bottom: .15em;
        font-family: "Merriweather",serif;
        font-weight: normal;
    }
    .content h2 { 
        font-size: 1.769em;
        line-height: 1.2;
        margin-bottom: .5em;
        font-family: "Merriweather",serif;
        font-weight: normal;
        color: rgba(255,255,255,.5);
    }
    .content p {
        font-size: 0.975rem;
        line-height: 1.6;
        margin-top: 0;
        margin-bottom: 1.45em;
        font-family: "Merriweather Sans",sans-serif;
        font-style: normal;
        font-weight: normal;
    }
        
    .wine-container {
        height: 1600px;
        padding: 2rem 0;
        margin: 3rem 0 ;
    }
    .wine-slider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px; /* Espace entre les flèches et le bouton actif */
        width: 100%;
        height: 70px;
    }
    /* Conteneur des boutons et des flèches */
    .slick-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50vw;
        position: relative;
        margin: 5vw;
        padding: 5vw;
        gap: 10px; /* Espacement entre les flèches et le bouton actif */
    }
    /* Masquer tous les boutons sauf l'actif */
    .slick-dots li {
        display: none;
    }
    .slick-dots li.active {
        display: flex;
        justify-content: center;
        flex-grow: 1; /* Permet de centrer le bouton actif */
    }
    /* Style des flèches */
    .prev, .next {
        display: flex;
        font-size: 32px;
        cursor: pointer;
        padding: 10px;
        background: rgba(0, 0, 0, 0.2);
        color: white;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        position: relative; /* Aligné dans le flexbox */
    }
    /* Bouton actif */
    .slick-dots li.active button {
        color: rgba(27,27,27);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 1rem;
        text-align: center;
        border: none;
        cursor: pointer;
        line-height: 1.4;
        border-radius: 0;
        opacity: 1;
        font-size: 14px;
        background: rgb(225, 225, 225);
        box-shadow: 2px 3px 8px rgba(225, 225, 225, 0.6);
        transition: box-shadow 0.3s ease;
    }
    /* Partie centrale avec le texte et l'image (wrapper) */
    .our-wine__wrapper {
        display: flex;
        justify-content: space-between;
        margin: 1rem;
        transition: opacity 1s ease;
        
        h1 { 
            font-size: 1.8em;
            line-height: 1.2;
            margin-bottom: .15em;
            font-family: "Merriweather",serif;
            font-weight: normal;
        }
        h2 { 
            font-size: 1.5em;
            line-height: 1.2;
            margin-bottom: .5em;
            font-family: "Merriweather",serif;
            font-weight: normal;
            font-style: italic;
            color: rgba(255,255,255,.5);
        }
        h3 {
            font-size: 1.1em;
            line-height: 1.2;
            margin-bottom: .5em;
            font-family: "Merriweather",serif;
            font-weight: normal;
            box-sizing: border-box;
            font-style: normal;
            }
        p {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-top: 0;
            margin-bottom: 1.45em;
            font-family: "Merriweather Sans",sans-serif;
            font-style: normal;
            font-weight: normal;
        }
    }
    /* Style du carrousel */
    .wine-carousel {
        position: relative;
        overflow: hidden; /* Assure que seul un élément est visible à la fois */
        height: 100%;
    }
    /* Tous les éléments de vin sont positionnés de manière absolue pour pouvoir se déplacer */
    .wine-content__wine-item {
        position: absolute; /* Position absolue pour permettre le glissement */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: transform 1s ease, opacity 1s ease;
        z-index: 0; /* Assure que l'élément n'est pas superposé par d'autres */
    }
    /* Lorsque l'élément de vin est visible (après l'activation) */
    .wine-content__wine-item.show {
        opacity: 1;
        z-index: 1; /* L'élément visible doit être au-dessus des autres */
    }
    /* Lorsque l'élément sort du carrousel (glissement vers la gauche) */
    .wine-content__wine-item.slide-out-left {
        opacity: 0;
        transform: translateX(-100%); /* L'élément glisse à gauche */
    }
    /* Lorsque l'élément sort du carrousel (glissement vers la droite) */
    .wine-content__wine-item.slide-out-right {
        transform: translateX(100%);
        opacity: 0;
    }
   .our-wine__wrapper {
        flex-direction: column; /* Empile les éléments verticalement */
        align-items: center; /* Centre les éléments */
    }
    .our-wine__left-column,
    .our-wine__right-column {
        width: 100%; /* Prend toute la largeur */
        padding: 1rem; /* Réduit les espacements */
        order: 2;
    }
    /* Met la bouteille en haut de chaque section */
    .our-wine__bottle-shot {
        margin-bottom: 1rem; /* Ajoute de l'espace entre la bouteille et les colonnes */
        width: 100%;
        display: flex;
        justify-content: center;
        order: 1;
    }
   
    .tablet-up {
        display: block;
    }
    .tablet-down {
        display: none;
    }
    /* Footer global */
    .footer-container {
        position: relative;
        background: #343434; /* Fond noir par défaut */
        color: #fff;
        text-align: center;
        padding-bottom: 50px;
        font-family: "Merriweather Sans", sans-serif;
        font-size: 1rem;
        font-weight: 400;
        text-decoration: none !important;
    }
    /* Wrapper du footer */
    .footer-wrapper {
        position: relative;
        width: 100%;
    }
    /* Triangle gauche */
    .footer-triangle-left {
        position: absolute;
        left: 0;
        top: 0;
        width: 50%;
        background-position: bottom left;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 3;
    }
    .footer-triangle-left img {
        width: 100%;
        vertical-align: top;
    }
    /* Triangle droit */
    .footer-triangle-right {
        position: absolute;
        right: 0;
        top: 0;
        width: 50%;
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 3;
    }
    .footer-triangle-right img {
        width: 100%;
        vertical-align: top;
    }
    .footer-content {
        display: flex;
        flex-direction: column; /* Empile les éléments en colonne */
        align-items: center; /* Centre les éléments horizontalement */
        justify-content: center; /* Centre les éléments verticalement */
        text-align: center; /* Centre le texte */
        text-decoration: none !important;
        width: 100%;
        gap: 10px; /* Augmente l'espace entre les éléments */
        padding: 4rem 0 2rem 0;
    }
    .footer-content a {
        font-size: 16px;
        font-family: "Merriweather", serif;
        color: white; /* Suppression de la couleur bleue des liens */
        text-decoration: none !important;
        display: block; /* Change le comportement de <a> pour qu'il prenne toute la largeur */
        text-align: center; /* Centre le texte à l'intérieur du lien */
        width: auto; /* N'oblige pas le lien à occuper 100% de la largeur */
    }
    .separator {
        display: none;
    }
    .top-button {
        visibility: hidden;
        position: fixed;
    }
    .tagline {
        padding-top: 15px;
    }

    /* Bouton pour ouvrir */
    #openModal {
        display: block;
        margin: 20px auto;
        font-size: 1.769em;
        line-height: 1.2;
        margin-bottom: .5em;
        font-family: "Merriweather",serif;
        font-weight: normal;
        background: #1b1b1b;
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 1px;
    }

}
