/* =========================================================
   CAVES BARDOU — style.css
   Sommaire
   1. Variables
   2. Base
   3. Navbar
   4. Hero
   5. Sections (communs)
   6. Notre histoire (#cave) : photos + frise
   7. Événements (#evenements) : agenda
   8. Nos vignerons (#vignerons) : filtres + grille
   9. Contact (#contact) : les deux boutiques
   10. Footer + Instagram flottant
   11. Responsive
   12. Accessibilité
   13. Page mentions légales
========================================================= */


/* =========================================================
   1. VARIABLES
========================================================= */

:root {
    --cream: #F3EFE7;
    --cream-dark: #E9DFCC;
    --dark: #292824;
    --darker: #171715;
    --white: #FFFFFF;

    --gold: #9C6B20;         /* texte blanc dessus : contraste 4,6:1 */
    --gold-dark: #8A5D19;
    --gold-light: #D5A64A;   /* doré lisible sur fonds sombres */

    --wine: #4E1631;         /* temps fort Beaujolais nouveau */
    --wine-dark: #2A0B1A;

    --text: #514F49;
    --grey: #8A8A85;         /* textes discrets du footer */
    --grey-light: #B5B5AF;

    --radius-card: 18px;
    --radius-pill: 50px;

    --font-title: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}


/* =========================================================
   2. BASE
========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* évite que la navbar fixe cache les titres */
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
}

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

a {
    text-decoration: none;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold-dark);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 3px;
}

.btn {
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-size: .82rem;
    font-weight: 500;
}

/* Passe par les variables de Bootstrap : sinon ses états focus et
   active remplacent le fond doré par du transparent */
.btn-gold {
    --bs-btn-color: var(--white);
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: var(--gold-dark);
    --bs-btn-hover-border-color: var(--gold-dark);
    --bs-btn-active-color: var(--white);
    --bs-btn-active-bg: var(--gold-dark);
    --bs-btn-active-border-color: var(--gold-dark);
    --bs-btn-focus-shadow-rgb: 213, 166, 74;
}

.btn-outline-light:hover {
    color: var(--dark);
}


/* =========================================================
   3. NAVBAR
========================================================= */

.navbar {
    padding: 18px 0;
    background: rgba(29, 29, 27, .93);
    backdrop-filter: blur(12px);
    transition: .3s;
}

.navbar-brand {
    font-family: var(--font-title);
    color: var(--white) !important;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
}

.navbar-brand img {
    height: 44px;
    width: auto;
}

.navbar .nav-link {
    margin-left: 25px;
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
    transition: .3s;
}

.navbar .nav-link:hover {
    color: var(--gold-light);
}

.navbar-toggler {
    border: none;
    color: var(--white);
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* =========================================================
   4. HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("images/ancien-gde.jpeg"); /* à remplacer par une meilleure photo */
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 20, 18, .88),
        rgba(20, 20, 18, .55),
        rgba(20, 20, 18, .25)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 700px;
    padding-top: 60px;
}

.hero .eyebrow,
.hero h1 span {
    color: var(--gold-light);
}

.hero h1 {
    margin: 0 0 25px;
    font-family: var(--font-title);
    font-size: clamp(3.2rem, 6vw, 6rem);
    line-height: 1;
}

.hero p {
    max-width: 580px;
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}


/* =========================================================
   5. SECTIONS (COMMUNS)
========================================================= */

.section {
    padding: 110px 0;
}

.section-light {
    background: var(--cream);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-heading h2,
.contact-section h2 {
    margin-bottom: 20px;
    font-family: var(--font-title);
    color: var(--dark);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.1;
}

.section-heading h2 span,
.contact-section h2 span {
    color: var(--gold);
}

.section-heading p {
    color: var(--text);
    line-height: 1.8;
}


/* =========================================================
   6. NOTRE HISTOIRE (#cave) : photos avant / après + frise
========================================================= */

/* Carrousel : 3 photos visibles (2 sur tablette, 1 sur mobile).
   --hc-per-view et --hc-gap sont lus par script.js */
.history-carousel {
    --hc-per-view: 3;
    --hc-gap: 24px;
    margin: 0 0 70px;
}

.hc-stage {
    position: relative;
}

.hc-viewport {
    overflow: hidden;
    border-radius: var(--radius-card);
    touch-action: pan-y;            /* le doigt fait défiler les photos, la page reste scrollable */
}

.hc-track {
    display: flex;
    gap: var(--hc-gap);
    will-change: transform;
}

/* Animation du défilement : départ et arrivée en douceur */
.hc-track.is-moving {
    transition: transform .9s cubic-bezier(.65, .05, .25, 1);
}

.hc-track.is-dragging {
    cursor: grabbing;
}

.hc-track .history-photo {
    flex: 0 0 calc((100% - (var(--hc-per-view) - 1) * var(--hc-gap)) / var(--hc-per-view));
    user-select: none;
}

.hc-track img {
    -webkit-user-drag: none;
}

/* Le cadre garde son format même sans photo : icône en fond tant qu'elle manque */
.history-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-card);
    background:
        radial-gradient(ellipse at 30% 0%, rgba(156, 107, 32, .25), transparent 70%),
        var(--cream-dark);
}

.history-photo::before {
    content: "\F42A";                /* icône « image » de Bootstrap Icons */
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(138, 93, 25, .45);
    font-family: "bootstrap-icons";
    font-size: 2.6rem;
}

.history-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;            /* photo dézoomée : affichée en entier, sans être coupée */
    background: var(--cream-dark);  /* masque l'icône derrière la photo */
}

.history-photo figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(25, 25, 23, .88);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-family: var(--font-title);
    font-size: 1.05rem;
    line-height: 1.35;
}

.history-photo figcaption span {
    display: block;
    white-space: nowrap;
    margin-bottom: 4px;
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Légende cachée, qui apparaît au survol de la photo.
   Uniquement sur les écrans avec souris : sur téléphone et tablette
   (pas de survol possible), la légende reste toujours visible. */
@media (hover: hover) {

    .history-photo figcaption {
        opacity: 0;
        transform: translateY(12px);
        transition: opacity .35s ease, transform .35s ease;
    }

    .history-photo:hover figcaption {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Écrans moyens : légendes plus compactes pour laisser voir les photos */
@media (max-width: 1199px) {

    .history-photo figcaption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 14px;
        font-size: .9rem;
    }

    .history-photo figcaption span {
        margin-bottom: 2px;
    }

}

/* Flèches : ronds sombres posés sur les bords */
.hc-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(25, 25, 23, .7);
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    transform: translateY(-50%);
    transition: background .3s ease, transform .3s ease;
}

.hc-prev { left: -24px; }
.hc-next { right: -24px; }

.hc-arrow:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.08);
}

/* Points sous les photos */
.hc-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.hc-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--gold);
    opacity: .3;
    transition: width .4s ease, opacity .4s ease;
}

.hc-dots button.active {
    width: 28px;                    /* le point actif s'allonge */
    opacity: 1;
}

/* Une seule photo : pas de flèches ni de points */
.history-carousel.is-static .hc-arrow,
.history-carousel.is-static .hc-dots {
    display: none;
}

/* Frise : horizontale sur grand écran, verticale sur mobile */
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(156, 107, 32, .15));
}

.timeline-step {
    position: relative;
    padding-top: 38px;
}

.timeline-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--cream);
    border: 3px solid var(--gold);
}

.timeline-year {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-family: var(--font-title);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
}

.timeline-step h3 {
    margin: 0 0 10px;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
}

.timeline-step p {
    margin: 0;
    color: var(--text);
    font-size: .88rem;
    line-height: 1.75;
}

.history-signature {
    margin: 60px 0 0;
    padding-top: 30px;
    border-top: 1px solid var(--cream-dark);
    color: var(--dark);
    font-family: var(--font-title);
    font-size: 1.35rem;
    text-align: center;
}


/* =========================================================
   7. ÉVÉNEMENTS (#evenements) — fond noir chaud
========================================================= */

.events-section {
    position: relative;
    background:
        radial-gradient(ellipse at 85% 0%, rgba(213, 166, 74, .14), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(213, 166, 74, .07), transparent 50%),
        var(--dark);
}

/* Filets dorés en haut et en bas de la section */
.events-section::before,
.events-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(213, 166, 74, .55), transparent);
}

.events-section::before { top: 0; }
.events-section::after  { bottom: 0; }

/* Titres et textes sur fond sombre */
.events-section .eyebrow,
.events-section .section-heading h2 span {
    color: var(--gold-light);
}

.events-section .section-heading h2 {
    color: var(--cream);
}

.events-section .section-heading p {
    color: rgba(243, 239, 231, .7);
}

/* Agenda : une ligne par dégustation, la date en premier */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 960px;
}

.event-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 28px;
    align-items: start;
    padding: 24px 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(213, 166, 74, .2);
    border-radius: var(--radius-card);
    transition: border-color .3s ease, background-color .3s ease;
}

.event-item:hover {
    border-color: rgba(213, 166, 74, .5);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0 14px;
    border-radius: 14px;
    background: rgba(213, 166, 74, .14);
    border: 1px solid rgba(213, 166, 74, .4);
    color: var(--cream);
    text-align: center;
    line-height: 1;
}

.event-weekday,
.event-month {
    color: var(--gold-light);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.event-day {
    margin: 6px 0 4px;
    font-family: var(--font-title);
    font-size: 2.6rem;
    font-weight: 700;
}

.event-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.event-head img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold-light);
}

.event-head h3 {
    margin: 0 0 2px;
    color: var(--cream);
    font-family: var(--font-title);
    font-size: 1.4rem;
}

.event-domain {
    color: var(--gold-light);
    font-size: .82rem;
}

.event-text {
    margin: 12px 0 0;
    color: rgba(243, 239, 231, .75);
    font-size: .9rem;
    line-height: 1.7;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    color: var(--white);
    font-size: .85rem;
    font-weight: 500;
}

.event-meta i {
    margin-right: 7px;
    color: var(--gold-light);
}

/* Dégustation dans les deux caves */
.badge-two {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(213, 166, 74, .5);
    background: rgba(213, 166, 74, .14);
    color: var(--gold-light);
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Un horaire par boutique : « lieu · horaires » sur une ligne */
.meta-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    flex-basis: 100%;
}

.event-meta i,
.bj-meta i {
    margin-right: 7px;
}

/* ---------- Temps fort : Beaujolais nouveau ---------- */

.bj {
    position: relative;
    overflow: hidden;
    max-width: 960px;
    margin-bottom: 40px;
    padding: 44px 48px;
    border: 1px solid rgba(213, 166, 74, .45);
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(213, 166, 74, .22), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(122, 36, 72, .6), transparent 60%),
        linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}

/* Grappe en filigrane */
.bj-grape {
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 260px;
    opacity: .1;
    fill: var(--gold-light);
    stroke: var(--gold-light);
    stroke-width: 3;
    pointer-events: none;
}

.bj-grape path {
    fill: none;
}

.bj-grape .bj-leaf {
    fill: var(--gold-light);
    stroke: none;
}

.bj-top {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
}

.bj-intro {
    flex: 1;
}

.bj-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--gold-light);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 3px;
}

.bj h3 {
    margin: 0 0 16px;
    color: var(--cream);
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.bj h3 span {
    color: var(--gold-light);
}

.bj-intro p {
    max-width: 480px;
    margin: 0;
    color: rgba(243, 239, 231, .8);
    font-size: .92rem;
    line-height: 1.75;
}

/* Médaillon de la date */
.bj-date {
    flex-shrink: 0;
    width: 190px;
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--gold-light);
    box-shadow:
        0 0 0 8px rgba(213, 166, 74, .12),
        inset 0 0 40px rgba(0, 0, 0, .35);
    background: rgba(42, 11, 26, .55);
    color: var(--cream);
    text-align: center;
    line-height: 1;
}

.bj-weekday,
.bj-month {
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bj-day {
    margin: 6px 0 4px;
    font-family: var(--font-title);
    font-size: 4.2rem;
    font-weight: 700;
}

.bj-countdown {
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--gold-light);
    color: var(--wine-dark);
    font-size: .75rem;
    font-weight: 600;
}

/* Vignerons présents */
.bj-subtitle {
    position: relative;
    margin: 36px 0 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(213, 166, 74, .25);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.bj-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.bj-vigneron {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
}

.bj-vigneron img {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold-light);
}

.bj-vigneron h5 {
    margin: 0 0 2px;
    color: var(--cream);
    font-family: var(--font-title);
    font-size: 1.2rem;
}

.bj-domain {
    color: var(--gold-light);
    font-size: .8rem;
}

.bj-vigneron p {
    margin: 8px 0 0;
    color: rgba(243, 239, 231, .75);
    font-size: .85rem;
    line-height: 1.6;
}

.bj-meta {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    color: var(--white);
    font-size: .8rem;
    line-height: 1.8;
}

.bj-meta i {
    margin-right: 7px;
    color: var(--gold-light);
}

.bj-soon {
    position: relative;
    margin: 32px 0 0;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: rgba(243, 239, 231, .85);
    font-size: .9rem;
}

.bj-soon i {
    margin-right: 8px;
    color: var(--gold-light);
}

.bj-soon a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Aucun événement à venir */
.events-empty {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 30px;
    text-align: center;
    border: 1px dashed rgba(213, 166, 74, .35);
    border-radius: var(--radius-card);
}

.events-empty[hidden] {
    display: none;
}

.events-empty i {
    color: var(--gold-light);
    font-size: 2rem;
}

.events-empty p {
    margin: 15px 0 0;
    color: rgba(243, 239, 231, .75);
    line-height: 1.8;
}

.events-empty a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   8. NOS VIGNERONS (#vignerons)
========================================================= */

/* ---------- Filtres ---------- */

.vigneron-filters {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 45px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.filter-label {
    flex-shrink: 0;
    min-width: 80px;
    color: var(--gold-dark);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 9px 20px;
    border: 1px solid rgba(138, 93, 25, .35);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .3s ease, color .3s ease,
                border-color .3s ease, transform .3s ease;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.filter-btn.active:hover {
    color: var(--white);
}

.filter-count {
    margin: 4px 0 0;
    color: var(--text);
    font-size: .8rem;
}

/* ---------- Grille ---------- */

.vigneron-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vigneron-tile {
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--white);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.vigneron-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .12);
}

.vigneron-tile.is-hidden {
    display: none;
}

.vigneron-tile.is-appearing {
    animation: tileFade .4s ease;
}

@keyframes tileFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tile-link {
    display: block;
    height: 100%;
    color: inherit;
}

/* Image */

.tile-image {
    position: relative;
    overflow: hidden;
    height: 280px;              /* même hauteur pour toutes les cartes */
    box-sizing: border-box;     /* la marge des logos reste dans les 280px */
    background: var(--white);
}

/* Photo : remplit tout le cadre */
.tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

.vigneron-tile:hover .tile-image img {
    transform: scale(1.06);
}

/* Logo : affiché en entier, centré, avec une marge autour */
.tile-image.is-logo {
    padding: 30px 35px;
    border-bottom: 1px solid var(--cream-dark);
}

.tile-image.is-logo img {
    object-fit: contain;
}

.vigneron-tile:hover .tile-image.is-logo img {
    transform: scale(1.03);
}

/* Texte */

.tile-body {
    padding: 25px 25px 28px;
}

.tile-region {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-dark);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tile-body h3 {
    margin: 0 0 3px;
    font-family: var(--font-title);
    color: var(--dark);
    font-size: 1.45rem;
}

.tile-domain {
    display: block;
    color: var(--text);
    font-size: .8rem;
}

.tile-quote {
    margin: 18px 0;
    padding-left: 14px;
    border-left: 2px solid var(--gold);
    color: var(--text);
    font-size: .88rem;
    font-style: italic;
    line-height: 1.7;
}

/* ---------- Texte « Et bien d'autres… » sous la grille ---------- */

.vigneron-more {
    margin-top: 50px;
    text-align: center;
}

.vigneron-more.is-appearing {
    animation: tileFade .4s ease;
}

.vigneron-more .more-title {
    margin: 0 0 8px;
    color: var(--dark);
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.3;
}

.vigneron-more .more-sub {
    margin: 0;
    color: var(--gold-dark);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@media (max-width: 768px) {

    .vigneron-more {
        margin-top: 36px;
    }

    .vigneron-more .more-title {
        font-size: 1.35rem;
    }

}


/* =========================================================
   9. CONTACT (#contact) : les deux boutiques côte à côte
========================================================= */

.contact-section {
    padding: 110px 0;
    background: var(--dark);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
}

.contact-section .eyebrow {
    color: var(--gold-light);
}

.contact-heading {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-heading p {
    color: rgba(255, 255, 255, .65);
}

.shop-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(213, 166, 74, .22);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, .04);
}

/* Photo de la devanture ; fond doré + icône tant qu'elle manque */
.shop-photo {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(213, 166, 74, .35), transparent 70%),
        var(--darker);
}

.shop-photo i {
    color: rgba(213, 166, 74, .5);
    font-size: 3rem;
}

.shop-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 32px 32px;
}

.shop-area {
    color: var(--gold-light);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.shop-body h3 {
    margin: 4px 0 22px;
    color: var(--white);
    font-family: var(--font-title);
    font-size: 2rem;
}

.shop-info {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: .9rem;
    line-height: 1.6;
}

.shop-info > i {
    flex-shrink: 0;
    color: var(--gold-light);
    font-size: 1.05rem;
}

/* Le contenu prend toute la largeur restante, sans jamais déborder */
.shop-info > :last-child {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.shop-info address {
    margin: 0;
    font-style: normal;
}

.shop-info a {
    color: var(--white);
}

.shop-info a:hover {
    color: var(--gold-light);
}

/* Horaires : une colonne pour les jours, une pour les heures,
   alignées à gauche et jamais coupées */
.shop-hours {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 6px 24px;
    margin: 0;
}

.shop-hours dt {
    color: rgba(255, 255, 255, .65);
    font-weight: 400;
    overflow-wrap: normal;
}

.shop-hours dd {
    margin: 0;
    white-space: nowrap;
}

/* Petits écrans : le jour au-dessus des heures */
@media (max-width: 400px) {

    .shop-hours {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .shop-hours dd {
        margin-bottom: 8px;
    }

    .shop-hours dd:last-child {
        margin-bottom: 0;
    }

}

.shop-body .btn {
    align-self: flex-start;
    margin-top: auto;
}

.shop-info:last-of-type {
    margin-bottom: 26px;
}

.contact-insta {
    margin: 45px 0 0;
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
    text-align: center;
}

.contact-insta i {
    margin-right: 6px;
    color: var(--gold-light);
}

.contact-insta a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   10. FOOTER + INSTAGRAM FLOTTANT
========================================================= */

footer {
    padding: 40px 0 20px;
    background: var(--darker);
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: inline-block;
    color: var(--white);
    font-family: var(--font-title);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-content p {
    margin: 5px 0 0;
    color: var(--grey);
    font-size: .75rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--white);
    transition: .3s;
}

.footer-social a:hover {
    background: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--grey);
    font-size: .75rem;
}

.footer-bottom a {
    color: var(--grey-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* Message sanitaire obligatoire (loi Évin) */
.footer-health {
    margin: 18px 0 0;
    color: var(--grey);
    font-size: .75rem;
    text-align: center;
}

.insta-float {
    position: fixed;
    right: 45px;
    bottom: 70px;
    z-index: 1000;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: var(--white);
    font-size: 1.9rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    transition: .3s;
}

.insta-float:hover {
    transform: translateY(-4px) scale(1.05);
    color: var(--white);
}


/* =========================================================
   11. RESPONSIVE
========================================================= */

/* ---------- Tablette ---------- */

@media (max-width: 991px) {

    .history-carousel {
        --hc-per-view: 2;
        --hc-gap: 18px;
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

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

}

/* ---------- Mobile large ---------- */

@media (max-width: 768px) {

    .navbar {
        padding: 14px 0;
    }

    .navbar .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: .9rem;
    }

    .section,
    .contact-section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .history-carousel {
        --hc-per-view: 1;
        --hc-gap: 14px;
        margin-bottom: 50px;
    }

    .hc-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hc-prev { left: 10px; }
    .hc-next { right: 10px; }

    /* Frise verticale */
    .timeline {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-left: 30px;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, var(--gold), rgba(156, 107, 32, .15));
    }

    .timeline-step {
        padding-top: 0;
    }

    .timeline-step::before {
        top: 6px;
        left: -30px;
    }

    .history-signature {
        margin-top: 45px;
        font-size: 1.2rem;
    }

    /* Beaujolais nouveau */
    .bj {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .bj-top {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 24px;
    }

    .bj-date {
        width: 140px;
        height: 140px;
    }

    .bj-day {
        font-size: 3rem;
    }

    .bj-list {
        grid-template-columns: 1fr;
    }

    .bj-grape {
        width: 180px;
    }

    /* Agenda */
    .event-item {
        grid-template-columns: 68px 1fr;
        gap: 18px;
        padding: 20px 18px;
    }

    .event-date {
        padding: 10px 0 12px;
    }

    .event-weekday,
    .event-month {
        font-size: .75rem;
        letter-spacing: 1px;
    }

    .event-day {
        font-size: 2rem;
    }

    .event-head img {
        display: none;
    }

    .event-head h3 {
        font-size: 1.2rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 6px;
    }

    /* Boutiques */
    .shop-body {
        padding: 24px 22px 26px;
    }

    .shop-body h3 {
        font-size: 1.7rem;
    }

    .footer-content {
        align-items: flex-start;
    }

    /* Filtres : une seule ligne, défilement horizontal */
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .filter-buttons {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .vigneron-grid {
        grid-template-columns: 1fr;
    }

    .tile-image {
        height: 250px;
    }

    .tile-image.is-logo {
        padding: 25px 30px;
    }

}

/* ---------- Petit mobile ---------- */

@media (max-width: 576px) {

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

    .insta-float {
        right: 24px;
        bottom: 45px;
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

}


/* =========================================================
   12. ACCESSIBILITÉ
========================================================= */

/* Focus clavier visible */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

/* Respect de la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

}

/* =========================================================
   13. PAGE MENTIONS LÉGALES
========================================================= */

.legal-page {
    padding: 150px 0 100px;
    background: var(--cream);
}

.legal-content {
    max-width: 820px;
}

.legal-content h1 {
    margin-bottom: 15px;
    font-family: var(--font-title);
    color: var(--dark);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.legal-content .legal-update {
    margin-bottom: 50px;
    color: var(--text);
    font-size: .8rem;
}

.legal-block {
    margin-bottom: 25px;
    padding: 30px 32px;
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .05);
}

.legal-block h2 {
    margin: 0 0 15px;
    font-family: var(--font-title);
    color: var(--dark);
    font-size: 1.45rem;
}

.legal-block p,
.legal-block li {
    color: var(--text);
    font-size: .9rem;
    line-height: 1.8;
}

.legal-block p:last-child,
.legal-block ul:last-child {
    margin-bottom: 0;
}

.legal-block a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Champs à compléter : bien visibles tant qu'ils ne sont pas remplis */
.todo {
    padding: 1px 6px;
    border-radius: 4px;
    background: #FFF1C2;
    color: #7A4B00;
    font-weight: 500;
}

@media (max-width: 768px) {

    .legal-page {
        padding: 120px 0 75px;
    }

    .legal-block {
        padding: 24px 20px;
    }

}