* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Lato', sans-serif;
    background-color: #fff;
    color: #333;
}
a {
    text-decoration: none;
    color: inherit;
}
        /* Style pour le menu des langues */
        .language-menu {
            position: fixed;
            top: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.6);
            padding: 10px;
            border-radius: 5px;
            display: flex;
            gap: 10px;
        }

        .language-menu a {
            display: inline-block;
        }

        .language-menu img {
            width: 30px; /* Taille des drapeaux */
            height: 20px; /* Taille des drapeaux */
            border-radius: 3px;
            transition: opacity 0.3s;
        }

        .language-menu a:hover img {
            opacity: 0.7; /* Effet visuel au survol */
        }
/* Logo Section */
#logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0px 0px 0px;
    background-color: #fff; /* Fond blanc */
}
.logo-container {
    text-align: center;
}
.logo-image {
    max-height: 180px; /* Taille ajustable du logo */
    width: auto;
}
/* Header */
.navbar {
    padding: 20px 0;
    display: flex;
    justify-content: center; /* Centrer le menu */
    align-items: center;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.navbar nav ul li {
    margin: 0 15px;
}

.navbar nav ul li a {
    color: #a14040; /* Texte rouge */
    font-size: 18px;
    background-color: #fff; /* Fond blanc pour les boutons */
    padding: 10px 20px;
    border-radius: 20px; /* Bords arrondis */
    border: 1px solid #a14040; /* Bordure rouge */
    text-decoration: none; /* Retirer le soulignement */
    transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Effet au survol */
}

.navbar nav ul li a:hover {
    background-color: #a14040; /* Fond rouge au survol */
    color: #fff; /* Texte blanc au survol */
    border-color: #fff; /* Bordure blanche au survol */
}

/* Hero Section (Presentation) */
.hero {
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000;
}
.hero p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000; /* Rouge pour le texte */
}

/* Vignerons Section */
.vignerons {
    padding: 20px 20px 40px 20px;
    text-align: center;
    background-color: #fff;
    margin-top: 0px; /* Ajout d'espace avant la section "Nos Vignerons" */
}
.hero h1, .vignerons h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Merriweather', serif;
    color: #a14040; /* Rouge pour le titre */
}

.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.vigneron-item {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 320px;
}

.vigneron-item:hover {
    transform: scale(1.05);
}

.vigneron-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: #000;
    height: 100%;
}

.vigneron-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vigneron-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    transition: opacity 0.3s ease;
    opacity: 0;
    text-align: center;
}

.vigneron-item:hover .vigneron-info {
    opacity: 1;
}

.vigneron-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.vigneron-info p {
    font-size: 16px;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    background-color: #eaeaea;
    text-align: center;
}
.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
    color: #a14040; /* Rouge pour le titre */
}
.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.contact form label {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}
.contact form input, .contact form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.contact .btn {
    background-color: #a14040;
    padding: 12px 24px;
    color: #fff;
    border-radius: 30px;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: #a14040;
    padding: 20px 0;
    color: #fff;
    text-align: center;
}

/* Section de texte avec justification */
.hero-content {
    top: 0;
    width: 80%; /* Texte plus ÃƒÂ©troit que l'ÃƒÂ©cran */
    margin: 0 auto; /* CentrÃƒÂ© horizontalement */
    text-align: justify; /* Justification du texte */
    color: #000; /* Corps de texte en noir */
    font-size: 18px; /* Taille du texte ajustÃƒÂ©e pour plus de lisibilitÃƒÂ© */
    padding: 20px 0;
}

/* CSS des fiches techniques */


/* ================================
   OVERLAY
================================ */

.domaine-fiche {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(7px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 30px;
}

.domaine-fiche.active {
    display: flex;
}

/* ================================
   CONTENEUR PRINCIPAL
================================ */

.fiche-grid {
    background: #fff;
    width: 100%;
    max-width: 1350px;
    padding: 55px 65px;

    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto 1fr;

    column-gap: 55px;
    row-gap: 30px;

    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

/* ================================
   TITRE
================================ */

.titre-domaine {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 38px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    color: #111;
    margin-bottom: 5px;
}

/* ================================
   FICHE TECHNIQUE (GAUCHE)
================================ */

.fiche-tech {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* chaque ligne */
.fiche-tech div {
    font-size: 14.5px;
    line-height: 1.7;
    padding: 7px 0;
    border-bottom: 1px solid #eee;
    color: #222;
    text-align: right;
}

/* mise en valeur labels */
.fiche-tech strong {
    font-weight: 600;
    color: #111;
}

/* ================================
   IMAGE (DROITE)
================================ */

.photo-domaine {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.photo-domaine img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {
    .fiche-grid {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .photo-domaine {
        grid-column: 1;
        margin-top: 20px;
    }

    .photo-domaine img {
        width: 100%;
        height: auto;
        max-height: 320px;
    }
}

/ étiquettes fiche technique /
.fiche-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.fiche-tags span {
    font-size: 12px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #333;
    background: #fafafa;
    letter-spacing: 0.3px;
    text-transform: lowercase;
}
.domaine-fiche {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    overflow-y: auto;
    padding: 40px;
}

.domaine-fiche.active {
    display: block;
}