/* -------------------------------------------------------------
   POLICES
------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@300;400;600;800&display=swap');

/* -------------------------------------------------------------
   VARIABLES DE STYLE
------------------------------------------------------------- */
:root {
    --brun: #AE7D46;
    --brun-light: #C7935C;
    --gris: #605F5F;
    --noir: #1A1A1A;
    --fond-clair: #FAF8F5;
    --blanc: #FFFFFF;
}

/* -------------------------------------------------------------
   BASE
------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--noir);
    background: var(--fond-clair);
    line-height: 1.6;
}

/* -------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------- */
.site-header {
    background: var(--blanc);
    border-bottom: 1px solid #ddd;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-width: 220px;
    height: auto;
}

.navbar {
    display: flex;
    gap: 22px;
}

.nav-link {
    text-decoration: none;
    color: var(--gris);
    font-weight: 500;
    font-size: 17px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.nav-link:hover {
    border-bottom-color: var(--brun-light);
    color: var(--noir);
}

.nav-link.active {
    border-bottom-color: var(--brun);
    color: var(--noir);
}

/* NAVBAR - MENU DÉROULANT */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    color: var(--gris);
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle:hover {
    color: var(--brun);
}

.arrow {
    transition: transform 0.25s;
}

.arrow.rotate {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 28px;
    right: 0;
    background: var(--blanc);
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 10000;
}

.nav-dropdown-menu a {
    text-decoration: none;
    padding: 10px 15px;
    color: var(--gris);
    transition: 0.2s;
    font-size: 14px;
}

.nav-dropdown-menu a:hover {
    color: var(--blanc);
    background: var(--brun);
}

/* -------------------------------------------------------------
   TITRES (Poppins Light façon Canva)
------------------------------------------------------------- */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    margin-top: 0;
}

h1 { font-size: 40px; color: var(--brun); margin-bottom: 20px; }
h2 { font-size: 28px; color: var(--brun); margin-bottom: 18px; }
h3 { font-size: 20px; color: var(--brun); margin-bottom: 10px; }

/* TITRES PAGE VIGNERONS */
.page-vignerons h2 {
    color: var(--noir);
}

/* -------------------------------------------------------------
   SECTIONS
------------------------------------------------------------- */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}

.section-light {
    background: var(--blanc);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 17px;
    color: var(--gris);
    text-align: center;
}

/* -------------------------------------------------------------
   SERVICES
------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.service-card {
    background: var(--blanc);
    padding: 22px;
    border-radius: 4px;
    border-left: 4px solid var(--brun);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.service-card p {
    margin: 0;
    color: var(--gris);
    text-align: center;
}

/* -------------------------------------------------------------
   HERO
------------------------------------------------------------- */
.hero {
    background: var(--fond-clair);
    padding: 60px 20px;
    text-align: center;
}

.hero p {
    max-width: 900px;
    margin: 0 auto 10px;
    font-size: 18px;
    color: var(--gris);
}

/* -------------------------------------------------------------
   BOUTONS
------------------------------------------------------------- */
.btn {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 28px;
    background: var(--brun);
    color: var(--blanc);
    text-decoration: none;
    font-size: 17px;
    border-radius: 4px;
    transition: 0.2s;
}

.btn:hover {
    background: var(--brun-light);
}

/* -------------------------------------------------------------
   CARTE DES VIGNOBLES + LIGHTBOX
------------------------------------------------------------- */
.map-figure {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    cursor: zoom-in;
}

.map-figure figcaption {
    font-size: 13px;
    color: var(--gris);
    margin-top: 10px;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 6px;
    cursor: zoom-out;
}

/* -------------------------------------------------------------
   FORMULAIRE CONTACT
------------------------------------------------------------- */
.form {
    max-width: 600px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
}

.form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--noir);
}

.form input,
.form textarea {
    padding: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    border: 1px solid #bbb;
    border-radius: 4px;
}

.form button {
    background: var(--brun);
    color: var(--blanc);
    padding: 12px;
    font-size: 17px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form button:hover {
    background: var(--brun-light);
}

/* -------------------------------------------------------------
   CONTACT INFOS
------------------------------------------------------------- */
.contact-infos {
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
    color: var(--gris);
}

.mail-link {
    color: var(--brun);
    font-weight: 600;
    text-decoration: none;
}

.mail-link:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.site-footer {
    text-align: center;
    padding: 20px 10px 30px;
    background: var(--brun);
    color: var(--blanc);
    font-size: 14px;
}

/* -------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------- */
@media (max-width: 700px) {

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 14px;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }

    .hero {
        padding: 40px 15px;
    }
}

/* -------------------------------------------------------------
   LISTE DES DOMAINES — VERSION OPTIMISÉE
------------------------------------------------------------- */

.vignerons-list {
    max-width: 900px;
    margin: 0 auto 40px;
}

.vigneron-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 6px;
    border-bottom: 1px solid #e8e2db;
    gap: 20px; /* espace entre gauche et droite */
}

.vigneron-left {
    font-size: 17px;
    color: #1A1A1A;
    line-height: 1.4;
    flex: 1;                   /* occupe toute la place disponible */
    white-space: nowrap;       /* ne jamais aller à la ligne */
}

.vigneron-left strong {
    font-weight: 600;
}

.vigneron-appellations {
    font-size: 15px;
    font-style: italic;
    color: var(--brun-light);
    text-align: right;
    max-width: 320px;          /* limite la largeur pour forcer un retour à la ligne */
    white-space: normal;       /* autorise les retours à la ligne */
    line-height: 1.4;
}

/* MOBILE */
@media (max-width: 700px) {

    .vigneron-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .vigneron-left {
        white-space: normal;    /* mobile : autoriser les retours à la ligne */
    }

    .vigneron-appellations {
        text-align: left;
        padding-left: 0;
        margin-top: 3px;
        max-width: 100%;
    }
}




/* MOBILE */
@media (max-width: 700px) {
    .vigneron-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .vigneron-appellations {
        text-align: left !important;
        padding-left: 0;
        margin-top: 3px;
        min-width: auto;
    }
}
