/* ==========================================================================
   Brand universe template (type Belvedere)
   Palette : fond clair, typo serif dorée, cartes premium
   ========================================================================== */

.brand-universe {
    --bu-gold: #c9a84c;
    --bu-gold-dark: #a07830;
    --bu-navy: #2b3a55;
    --bu-ink: #1b2536;
    --bu-muted: #7a8194;
    --bu-bg: #eef1f6;
    --bu-card: #ffffff;
    --bu-serif: 'Playfair Display', serif;
    --bu-sans: 'Poppins', sans-serif;
    color: var(--bu-ink);
    background: var(--bu-bg);
}

/* Full-bleed : neutralise le padding/fond du gabarit "page interne"
   pour ce template uniquement (le header n'est pas impacté). */
#page_interne #content.brand-universe {
    padding: 0;
    background: var(--bu-bg);
}
/* La bannière hero occupe toute la largeur de la fenêtre */
.brand-universe .bu-hero { width: 100%; }

.brand-universe .bu-eyebrow {
    display: block;
    font-family: var(--bu-sans);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bu-gold);
    margin-bottom: 10px;
}

.brand-universe .bu-section__title {
    font-family: var(--bu-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--bu-navy);
    margin: 0;
}

.brand-universe .bu-section {
    padding: 64px 6%;
}

/* Fonds par section (demandés) */
.brand-universe .bu-section.bu-bestsellers { background: #eef1f6; }
.brand-universe .bu-section.bu-catalogue  { background: #f8f9fb; }
.brand-universe .bu-section.bu-tasting    { background: #eef1f6; }
.brand-universe .bu-section.bu-cocktails  { background: #f8f9fb; }
.brand-universe .bu-section.bu-guide      { background: #f8f9fb; }
.brand-universe .bu-section.bu-cta        { background: #eef1f6; }

.brand-universe .bu-section__head {
    text-align: center;
    margin-bottom: 44px;
}

/* ------- Buttons ------- */
.brand-universe .bu-btn {
    display: inline-block;
    padding: 13px 34px;
    font-family: var(--bu-sans);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.25s ease;
}
.brand-universe .bu-btn--gold {
    background: linear-gradient(135deg, var(--bu-gold) 0%, var(--bu-gold-dark) 100%);
    color: #fff;
    border: 1px solid transparent;
}
.brand-universe .bu-btn--gold:hover { opacity: 0.9; }
.brand-universe .bu-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
}
.brand-universe .bu-cta .bu-btn--ghost { color: var(--bu-navy); border-color: var(--bu-navy); }
.brand-universe .bu-btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* ------- Hero ------- */
.brand-universe .bu-hero {
    position: relative;
    background: #f8f9fb;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
}
.brand-universe .bu-hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}
.brand-universe .bu-hero__overlay {
    position: absolute; inset: 0;
    background: rgba(6, 12, 24, 0.35);
}
.brand-universe .bu-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 40px 20px;
}
.brand-universe .bu-hero__title {
    font-family: var(--bu-serif);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 12px;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.brand-universe .bu-hero__subtitle {
    font-family: var(--bu-serif);
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--bu-gold);
    margin-bottom: 34px;
}
.brand-universe .bu-hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ------- Fil d'ariane (aligné sur la bannière) ------- */
.brand-universe .bu-breadcrumb {
    background: #f8f9fb;
    border: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 26px 20px 8px;
}
.brand-universe .bu-breadcrumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.brand-universe .bu-breadcrumb li { font-family: var(--bu-sans); font-size: 0.82rem; color: var(--bu-muted); }
.brand-universe .bu-breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 8px; color: var(--bu-muted); }
.brand-universe .bu-breadcrumb li:last-child,
.brand-universe .bu-breadcrumb li:last-child span { color: var(--bu-gold); }
.brand-universe .bu-breadcrumb a { color: var(--bu-muted); text-decoration: none; transition: color 0.2s; }
.brand-universe .bu-breadcrumb a:hover { color: var(--bu-gold); }
.brand-universe .bu-breadcrumb h1 { display: none; }

/* ------- Intro « L'Univers » : bannière contenue, texte en surimpression, zoom au survol ------- */
.brand-universe .bu-intro { background: #f8f9fb; padding: 8px 20px 60px; }
.brand-universe .bu-intro__banner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 460px;
    overflow: hidden;
    border-radius: 3px;
}
.brand-universe .bu-intro__media { position: absolute; inset: 0; }
.brand-universe .bu-intro__media img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.8s cubic-bezier(.2,.6,.2,1);
}
.brand-universe .bu-intro__banner:hover .bu-intro__media img { transform: scale(1.06); }
.brand-universe .bu-intro__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
        rgba(13,20,36,0.85) 0%,
        rgba(13,20,36,0.55) 32%,
        rgba(13,20,36,0.05) 60%,
        rgba(13,20,36,0) 100%);
}
.brand-universe .bu-intro__text {
    position: absolute; top: 50%; left: 6%;
    transform: translateY(-50%);
    max-width: 44%;
    z-index: 2;
}
.brand-universe .bu-intro__label { display: block; color: var(--bu-gold); letter-spacing: 3px; text-transform: uppercase; font-size: 0.72rem; font-family: var(--bu-sans); margin-bottom: 18px; }
.brand-universe .bu-intro__title { font-family: var(--bu-serif); font-size: 1.8rem; margin: 0 0 16px; color: #fff; }
.brand-universe .bu-intro__desc { font-family: var(--bu-serif); font-size: 1.5rem; font-weight: 400; line-height: 1.55; color: #fff; }
.brand-universe .bu-intro__desc p { margin: 0; }

/* ------- Products (best-sellers + catalogue) : carte riche ------- */
.brand-universe .bu-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}
.brand-universe .bu-products__grid .item { display: flex; }
.brand-universe .bu-pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 4px;
    padding: 22px 22px 18px;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.brand-universe .bu-pcard:hover { box-shadow: 0 14px 44px rgba(20,32,54,0.12); transform: translateY(-3px); border-color: #e0d7c0; }

/* Coeur wishlist */
.brand-universe .bu-pcard__wish {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    width: 30px; height: 30px; line-height: 30px; text-align: center;
    color: var(--bu-muted); font-size: 0.95rem;
    transition: color 0.2s;
}
.brand-universe .bu-pcard:hover .bu-pcard__wish { color: var(--bu-gold); }

/* Image */
.brand-universe .bu-pcard__media { position: relative; text-align: center; padding: 6px 0 14px; min-height: 240px; display: flex; align-items: center; justify-content: center; }
.brand-universe .bu-pcard__media img { max-height: 240px; width: auto; max-width: 100%; }
.brand-universe .bu-pcard__media .out-of-stock-tag {
    position: absolute; top: 4px; left: 4px;
    background: var(--bu-navy); color: #fff; font-family: var(--bu-sans);
    font-size: 0.66rem; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 2px;
}

/* Corps */
.brand-universe .bu-pcard__body { display: flex; flex-direction: column; gap: 7px; }
.brand-universe .bu-pcard__cat {
    font-family: var(--bu-sans); font-size: 0.66rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--bu-gold);
}
.brand-universe .bu-pcard__title {
    font-family: var(--bu-serif); font-size: 1.2rem; font-weight: 600;
    color: var(--bu-navy); text-decoration: none; line-height: 1.25;
}
.brand-universe .bu-pcard__title:hover { color: var(--bu-gold); }

/* Notation */
.brand-universe .bu-pcard__rating { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; }
.brand-universe .bu-pcard__rating .fa-star { color: var(--bu-gold); }
.brand-universe .bu-pcard__rating .fa-regular.fa-star { color: #d8dbe1; }
.brand-universe .bu-pcard__count { margin-left: 4px; font-family: var(--bu-sans); font-size: 0.72rem; color: var(--bu-muted); }

/* Pied : prix + bouton sac */
.brand-universe .bu-pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.brand-universe .bu-pcard__prices { display: flex; flex-direction: column; }
.brand-universe .bu-pcard__price { font-family: var(--bu-sans); font-weight: 700; font-size: 1rem; color: var(--bu-ink); }
.brand-universe .bu-pcard__old { font-family: var(--bu-sans); font-size: 0.78rem; color: var(--bu-muted); text-decoration: line-through; }
.brand-universe .bu-bag {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--bu-gold);
    border: 1px solid var(--bu-gold); border-radius: 4px;
    cursor: pointer; transition: all 0.2s ease;
}
.brand-universe .bu-bag:hover { background: linear-gradient(135deg, var(--bu-gold) 0%, var(--bu-gold-dark) 100%); color: #fff; }
.brand-universe .bu-bag.is-loading { opacity: 0.6; pointer-events: none; }

/* ------- Catalogue filters (alignés à gauche + entonnoir) ------- */
.brand-universe .bu-catalogue__filters {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    justify-content: flex-start;
    max-width: 1180px; margin: 0 auto 34px;
    border-bottom: 1px solid #e0e4ea; padding-bottom: 18px;
}
.brand-universe .bu-filter-icon {
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--bu-gold); font-size: 0.9rem; margin-right: 4px;
}
.brand-universe .bu-filter {
    background: transparent;
    border: 1px solid #d5dae2;
    color: var(--bu-muted);
    font-family: var(--bu-sans);
    font-size: 0.74rem; letter-spacing: 1px; text-transform: uppercase;
    padding: 8px 18px; border-radius: 2px; cursor: pointer;
    transition: all 0.2s ease;
}
.brand-universe .bu-filter.active,
.brand-universe .bu-filter:hover { border-color: var(--bu-gold); color: var(--bu-gold); }

/* ------- Cards (tasting + guide) ------- */
.brand-universe .bu-cards {
    display: grid;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
/* Déguster : flex centré → gère 3 (Poliakov) comme 4 (Belvedere) cartes */
.brand-universe .bu-cards--tasting {
    display: flex; flex-wrap: wrap; justify-content: center;
    max-width: 1180px;
}
.brand-universe .bu-cards--tasting .bu-card { flex: 0 1 270px; }
.brand-universe .bu-cards--guide { grid-template-columns: repeat(3, 1fr); }
.brand-universe .bu-card {
    background: var(--bu-card);
    border: 1px solid #e6e9ee;
    padding: 34px 26px;
    text-align: center;
}
.brand-universe .bu-card__icon { display: block; color: var(--bu-gold); font-size: 1.4rem; margin-bottom: 14px; }
.brand-universe .bu-card__icon--circle {
    width: 54px; height: 54px; line-height: 54px; border-radius: 50%;
    background: rgba(201,168,76,0.12); margin: 0 auto 16px;
}
.brand-universe .bu-card__icon--circle img { max-width: 26px; max-height: 26px; vertical-align: middle; }
.brand-universe .bu-card__title { font-family: var(--bu-serif); font-size: 1.1rem; color: var(--bu-navy); margin: 0 0 12px; }
.brand-universe .bu-card__desc { font-family: var(--bu-sans); font-size: 0.85rem; color: var(--bu-muted); line-height: 1.7; }
.brand-universe .bu-card__desc ul { list-style: none; padding: 0; margin: 0; }
.brand-universe .bu-card__desc li { padding: 3px 0; }

/* ------- Cocktails : cartes verticales (image en haut) + zoom au survol, comme la maquette ------- */
.brand-universe .bu-cards--cocktails {
    display: flex; flex-wrap: wrap; justify-content: center;
    max-width: 1180px;
}
.brand-universe .bu-recipe {
    flex: 0 1 360px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(20,32,54,0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.brand-universe .bu-recipe:hover { border-color: rgba(201,168,76,0.3); box-shadow: 0 12px 34px rgba(20,32,54,0.10); }
.brand-universe .bu-recipe__media {
    width: 100%; height: 220px;
    overflow: hidden;
}
.brand-universe .bu-recipe__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.brand-universe .bu-recipe:hover .bu-recipe__media img { transform: scale(1.06); }
.brand-universe .bu-recipe__body { padding: 22px 24px 26px; }
.brand-universe .bu-recipe__title { font-family: var(--bu-serif); color: var(--bu-gold-dark); font-size: 1.25rem; margin: 0 0 8px; }
.brand-universe .bu-recipe__lead { font-family: var(--bu-sans); font-size: 0.85rem; color: var(--bu-muted); margin-bottom: 12px; }
.brand-universe .bu-recipe__desc { font-family: var(--bu-sans); font-size: 0.82rem; color: var(--bu-muted); line-height: 1.7; }
.brand-universe .bu-recipe__desc ul { list-style: none; padding: 0; margin: 0; }
.brand-universe .bu-recipe__desc li { padding: 2px 0; }

/* ------- Guide tip ------- */
.brand-universe .bu-guide__rule { display: block; width: 60px; height: 2px; background: var(--bu-gold); margin: 16px auto 0; }
.brand-universe .bu-tip {
    display: flex; align-items: flex-start; gap: 12px;
    max-width: 720px; margin: 34px auto 0;
    background: #fff; border: 1px solid #e6e9ee; border-left: 3px solid var(--bu-gold);
    padding: 18px 22px;
}
.brand-universe .bu-tip__icon { font-size: 1.1rem; }
.brand-universe .bu-tip__text { font-family: var(--bu-sans); font-size: 0.85rem; color: var(--bu-muted); line-height: 1.6; }

/* ------- Final CTA ------- */
.brand-universe .bu-cta { background: #eef1f6; text-align: center; }
.brand-universe .bu-cta__title { font-family: var(--bu-serif); font-size: 2rem; color: var(--bu-navy); margin: 0 0 14px; }
.brand-universe .bu-cta__desc { font-family: var(--bu-sans); font-size: 0.9rem; color: var(--bu-muted); max-width: 520px; margin: 0 auto 28px; line-height: 1.7; }
.brand-universe .bu-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ------- Responsive ------- */
@media (max-width: 992px) {
    .brand-universe .bu-hero__title { font-size: 3.4rem; }
    .brand-universe .bu-intro__banner { height: 380px; }
    .brand-universe .bu-intro__text { max-width: 60%; }
    .brand-universe .bu-intro__desc { font-size: 1.2rem; }
    .brand-universe .bu-products__grid,
    .brand-universe .bu-cards--tasting,
    .brand-universe .bu-cards--guide { grid-template-columns: repeat(2, 1fr); }
    .brand-universe .bu-cards--cocktails { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .brand-universe .bu-section { padding: 44px 5%; }
    .brand-universe .bu-hero__title { font-size: 2.6rem; }
    .brand-universe .bu-hero__subtitle { font-size: 1.1rem; }
    .brand-universe .bu-intro__banner { height: 420px; }
    .brand-universe .bu-intro__overlay { background: linear-gradient(90deg, rgba(13,20,36,0.85) 0%, rgba(13,20,36,0.65) 60%, rgba(13,20,36,0.35) 100%); }
    .brand-universe .bu-intro__text { max-width: 86%; }
    .brand-universe .bu-intro__desc { font-size: 1.15rem; }
    .brand-universe .bu-products__grid,
    .brand-universe .bu-cards--tasting,
    .brand-universe .bu-cards--guide { grid-template-columns: 1fr; }
    .brand-universe .bu-recipe { flex-direction: column; }
    .brand-universe .bu-recipe__media { flex-basis: auto; width: 100%; height: 200px; }
}

/* ==========================================================================
   Notre Histoire — onglet flottant + panneau latéral (offcanvas, thème sombre)
   Classes autonomes (le panneau est position:fixed, hors flux .brand-universe)
   ========================================================================== */
.bu-story-fab {
    position: fixed;
    right: 0; top: 42%;
    z-index: 1035;
    display: flex; align-items: center; gap: 10px;
    max-width: 46px;
    padding: 14px 12px;
    background: #0d0d0d;
    color: #c9a84c;
    border: 1px solid rgba(201,168,76,0.35);
    border-right: 0;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.35s ease, background 0.3s ease, color 0.3s ease;
}
.bu-story-fab i { font-size: 1.1rem; flex: 0 0 auto; }
.bu-story-fab__label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    opacity: 0; transition: opacity 0.25s ease 0.05s;
}
.bu-story-fab:hover { max-width: 240px; background: #141414; color: #d9c07f; }
.bu-story-fab:hover .bu-story-fab__label { opacity: 1; }

/* Panneau (offcanvas) sombre */
.bu-story-panel.offcanvas-end { width: 440px; max-width: 92vw; }
.bu-story-panel {
    background: #0d0d0d;
    color: rgba(240,230,204,0.82);
    border-left: 1px solid rgba(201,168,76,0.25);
}
.bu-story-panel__header {
    border-bottom: 1px solid rgba(201,168,76,0.18);
    padding: 22px 28px;
}
.bu-story-panel__heading {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 600; color: #f0e6cc;
    display: flex; align-items: center; gap: 10px;
}
.bu-story-panel__heading i { color: #c9a84c; font-size: 1rem; }
.bu-story-panel__close {
    filter: invert(1) grayscale(1) brightness(1.6);
    opacity: 0.7;
}
.bu-story-panel__close:hover { opacity: 1; }
.bu-story-panel__body { padding: 30px 28px 40px; }

.bu-story__eyebrow {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
    color: #c9a84c; margin-bottom: 12px;
}
.bu-story__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem; font-weight: 600; color: #f0e6cc; margin: 0 0 8px;
}
.bu-story__rule {
    display: block; width: 52px; height: 2px; margin: 14px 0 26px;
    background: linear-gradient(90deg, #c9a84c, transparent);
}
.bu-story__meta { list-style: none; margin: 0 0 28px; padding: 0; }
.bu-story__meta li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid rgba(201,168,76,0.12);
}
.bu-story__meta-label {
    font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,230,204,0.55);
}
.bu-story__meta-value {
    font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600;
    color: #f0e6cc; text-align: right;
}
.bu-story__desc {
    font-family: 'Poppins', sans-serif; font-size: 0.9rem; line-height: 1.85;
    color: rgba(240,230,204,0.75);
}
.bu-story__desc p { margin: 0 0 16px; }
.bu-story__desc p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
    .bu-story-fab { top: auto; bottom: 90px; }
}
