:root {
    --bb-black: #0d0f0d;
    --bb-green-deep: #0b3d2e;
    --bb-green: #145c3f;
    --bb-gold: #d4a947;
    --bb-cream: #f2efe9;
    --bb-red: #b0332b;
    --bb-border: rgba(242, 239, 233, 0.12);
    --radius: 6px;
    font-size: 16px;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }
body {
    margin: 0;
    background: var(--bb-black);
    color: var(--bb-cream);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

a { color: var(--bb-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Barre de contact ---------- */
.top-bar {
    background: var(--bb-green-deep);
    border-bottom: 1px solid var(--bb-border);
    font-size: 0.8rem;
}
.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 24px;
    color: var(--bb-cream);
    opacity: 0.9;
}
.top-bar__item { display: flex; align-items: center; gap: 6px; }
.top-bar__item .icon { color: var(--bb-gold); }
@media (max-width: 640px) {
    .top-bar__item:first-child { display: none; }
    .top-bar__inner { justify-content: center; }
}

/* ---------- En-tête public ---------- */
.site-header {
    border-bottom: 1px solid var(--bb-border);
    background: linear-gradient(180deg, #101410, #0d0f0d);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    background: #0d0f0d;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 42px; width: 42px; object-fit: contain; border-radius: 6px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.03em;
    color: var(--bb-gold);
}
.brand__tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--bb-cream); opacity: .6; }

.main-nav-wrapper { display: flex; align-items: center; gap: 14px; }
.main-nav { display: flex; gap: 13px; align-items: center; }
.main-nav a { white-space: nowrap; font-size: 0.9rem; }
.main-nav a { color: var(--bb-cream); font-size: 0.95rem; position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--bb-gold); text-decoration: none; }
.main-nav a.is-current { color: var(--bb-gold); }
.main-nav a.is-current::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 2px;
    background: var(--bb-gold);
    border-radius: 2px;
}

.nav-cta {
    background: var(--bb-gold);
    color: var(--bb-black) !important;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.92rem;
}
.nav-cta:hover { filter: brightness(1.08); text-decoration: none; }
.nav-cta--ghost { background: transparent; border: 1px solid var(--bb-gold); color: var(--bb-gold) !important; }

.main-nav__auth { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; white-space: nowrap; }
.nav-account { display: flex; align-items: center; gap: 6px; color: var(--bb-cream); }
.nav-account:hover { color: var(--bb-gold); text-decoration: none; }
.nav-account .icon { color: var(--bb-gold); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--bb-cream); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
    .nav-toggle { display: flex; }
    .main-nav-wrapper {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #0d0f0d;
        border-bottom: 1px solid var(--bb-border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .main-nav-wrapper.is-open { max-height: 80vh; overflow-y: auto; }
    .main-nav { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px; }
    .main-nav a { padding: 12px 0; width: 100%; }
    .main-nav__auth { flex-direction: column; align-items: stretch; padding: 10px 24px 20px; gap: 10px; }
    .main-nav__auth a { text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
    background: radial-gradient(120% 160% at 50% -20%, var(--bb-green) 0%, var(--bb-green-deep) 45%, var(--bb-black) 100%);
    padding: 90px 0 70px;
    text-align: center;
}
.hero--slide {
    background-size: cover;
    background-position: center;
    padding: 130px 0 100px;
    animation: hero-fade-in 1.1s ease-out;
}
@keyframes hero-fade-in { from { opacity: 0; } to { opacity: 1; } }

.hero-slider { position: relative; overflow: hidden; padding: 150px 0 110px; }
.hero-slider__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slider__slide.is-active { opacity: 1; }
.hero-slider .hero__inner { position: relative; z-index: 2; }
.hero-slider__dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-slider__dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(242,239,233,0.35);
    border: none; cursor: pointer; padding: 0;
}
.hero-slider__dot.is-active { background: var(--bb-gold); }
.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13,15,13,0.5);
    color: var(--bb-cream);
    border: 1px solid var(--bb-border);
    width: 42px; height: 42px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 3;
    line-height: 1;
}
.hero-slider__arrow:hover { background: rgba(212,169,71,0.3); }
.hero-slider__arrow--prev { left: 22px; }
.hero-slider__arrow--next { right: 22px; }
@media (max-width: 600px) {
    .hero-slider__arrow { display: none; }
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--bb-cream);
    border: 1px solid var(--bb-cream);
    padding: 12px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
}
.btn-ghost:hover { border-color: var(--bb-gold); color: var(--bb-gold); text-decoration: none; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; color: var(--bb-gold); }
.hero h1 { font-family: Georgia, serif; font-size: 3rem; margin: 10px 0; }
.hero__lead { font-size: 1.15rem; opacity: 0.85; margin-bottom: 28px; }

.btn-primary {
    display: inline-block;
    background: var(--bb-gold);
    color: var(--bb-black);
    padding: 12px 26px;
    border-radius: var(--radius);
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.08); }

/* ---------- Services (accueil) ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 60px 24px;
}
.service-card {
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 26px;
}
.service-card { overflow: hidden; }
.service-card h2 { color: var(--bb-gold); font-size: 1.15rem; margin-top: 0; }
.service-card__img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; background: #0d0f0d; transition: transform 0.4s ease; }
.service-card:hover .service-card__img { transform: scale(1.06); }

.why-us { padding: 20px 24px 70px; }
.why-us__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-us__item {
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.why-us__item strong { color: var(--bb-gold); font-size: 1rem; }
.why-us__item span { font-size: 0.85rem; opacity: 0.75; }

.gallery { padding: 0 24px 70px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--bb-border); cursor: pointer; height: 220px; }
.gallery__item img, .gallery__item video {
    width: 100%; height: 220px; object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.gallery__item:hover img, .gallery__item:hover video { transform: scale(1.08); }
.gallery__item--video .gallery__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(13,15,13,0.6); border: 2px solid var(--bb-gold);
    color: var(--bb-gold); display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; pointer-events: none;
}

.lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(13,15,13,0.94);
    align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox__content { max-width: 90vw; max-height: 85vh; }
.lightbox__content img, .lightbox__content video { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox__close {
    position: absolute; top: 24px; right: 30px;
    background: none; border: none; color: var(--bb-cream);
    font-size: 2.2rem; cursor: pointer; line-height: 1;
}
.lightbox__close:hover { color: var(--bb-gold); }

@media (max-width: 880px) {
    .why-us__grid { grid-template-columns: 1fr 1fr; }
    .gallery__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .gallery__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer public ---------- */
.site-footer { border-top: 1px solid var(--bb-border); margin-top: 40px; padding: 30px 0; font-size: 0.9rem; opacity: 0.8; }
.site-footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer__legal { width: 100%; text-align: center; opacity: 0.5; font-size: 0.8rem; margin-top: 10px; }

/* ---------- Pages deux-colonnes (connexion / inscription / réservation) ---------- */
.split-page {
    display: flex;
    min-height: calc(100vh - 180px);
}
.split-page__visual {
    flex: 1 1 50%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 60px;
}
.split-page__visual-content { max-width: 440px; }
.split-page__visual-content h1 { font-family: Georgia, serif; font-size: 2.3rem; margin: 8px 0 14px; }
.split-page__visual-content p { opacity: 0.9; line-height: 1.6; }
.split-page__list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.split-page__list li { padding-left: 22px; position: relative; font-size: 0.92rem; opacity: 0.9; }
.split-page__list li::before { content: "◆"; position: absolute; left: 0; color: var(--bb-gold); font-size: 0.7rem; top: 4px; }

.split-page__form-side {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 24px;
    background: var(--bb-black);
}

@media (max-width: 880px) {
    .split-page { flex-direction: column; }
    .split-page__visual { padding: 40px 24px; }
}

/* ---------- Formulaires auth ---------- */
.auth-section { display: flex; justify-content: center; padding: 60px 24px; }
.auth-form {
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 34px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.auth-form h1 { font-family: Georgia, serif; color: var(--bb-gold); margin: 0 0 10px; font-size: 1.6rem; }
.auth-form label { font-size: 0.85rem; opacity: 0.85; }
.auth-form input {
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.95rem;
}
.auth-form input:focus { outline: 2px solid var(--bb-gold); border-color: transparent; }
.auth-form textarea {
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
}
.auth-form textarea:focus { outline: 2px solid var(--bb-gold); border-color: transparent; }
.form-success {
    background: rgba(20, 92, 63, 0.25);
    border: 1px solid var(--bb-green);
    color: #b7e8cf;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.88rem;
}
.form-row { display: flex; gap: 20px; font-size: 0.9rem; }
.optional-pro { opacity: 0.6; font-size: 0.78rem; }
.form-error {
    background: rgba(176, 51, 43, 0.15);
    border: 1px solid var(--bb-red);
    color: #ffb3ae;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.88rem;
}
.auth-form__footer { text-align: center; font-size: 0.88rem; opacity: 0.8; margin-top: 6px; }

/* ---------- Dashboard / sidebar ---------- */
.dashboard-body { margin: 0; }
.dashboard { display: flex; min-height: 100vh; }

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    flex-shrink: 0;
    background: #101410;
    border-right: 1px solid var(--bb-border);
    display: flex;
    flex-direction: column;
    padding: 22px 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 40;
    transition: width 0.2s ease;
}
.sidebar__brand { padding: 0 22px 20px; border-bottom: 1px solid var(--bb-border); margin-bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; position: relative; }
.sidebar__logo { height: 40px; width: 40px; object-fit: contain; border-radius: 6px; margin-bottom: 8px; }
.sidebar__role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.55; margin-top: 4px; white-space: nowrap; }

.sidebar__collapse-btn {
    position: absolute;
    top: 18px; right: -14px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #101410;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 41;
}
.sidebar__collapse-btn:hover { border-color: var(--bb-gold); color: var(--bb-gold); }
.sidebar__collapse-btn svg { transition: transform 0.2s ease; }

/* État rétracté : icônes seules, largeur réduite */
.sidebar--collapsed { width: 68px; }
.sidebar--collapsed .brand__name,
.sidebar--collapsed .sidebar__role,
.sidebar--collapsed .sidebar__link span,
.sidebar--collapsed .sidebar__back-to-site span,
.sidebar--collapsed .sidebar__logout button span { display: none; }
.sidebar--collapsed .sidebar__brand { padding: 0 14px 20px; align-items: center; }
.sidebar--collapsed .sidebar__link,
.sidebar--collapsed .sidebar__back-to-site,
.sidebar--collapsed .sidebar__logout button { justify-content: center; padding: 10px; }
.sidebar--collapsed .sidebar__collapse-btn svg { transform: rotate(180deg); }
.sidebar--collapsed ~ .dashboard__content,
.dashboard--sidebar-collapsed .dashboard__content { margin-left: 68px; }

.sidebar__nav { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 0 12px; }
.sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--bb-cream);
    font-size: 0.92rem;
    opacity: 0.85;
    white-space: nowrap;
}
.sidebar__link:hover { background: rgba(212, 169, 71, 0.08); text-decoration: none; opacity: 1; }
.sidebar__link.is-active { background: rgba(212, 169, 71, 0.15); color: var(--bb-gold); opacity: 1; }
.sidebar__link .icon { flex-shrink: 0; }

.sidebar__logout { padding: 12px; border-top: 1px solid var(--bb-border); margin-top: 10px; }
.sidebar__logout button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    color: var(--bb-cream);
    opacity: 0.75;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.92rem;
    border-radius: var(--radius);
    white-space: nowrap;
}
.sidebar__logout button:hover { background: rgba(176, 51, 43, 0.12); color: #ffb3ae; opacity: 1; }

.sidebar__back-to-site {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    margin-top: 10px;
    color: var(--bb-gold);
    opacity: 0.85;
    font-size: 0.92rem;
    text-decoration: none;
}
.sidebar__back-to-site:hover { opacity: 1; text-decoration: none; }

.dashboard__content { flex: 1; display: flex; flex-direction: column; min-width: 0; margin-left: 250px; transition: margin-left 0.2s ease; }
.dashboard__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 32px;
    border-bottom: 1px solid var(--bb-border);
}
.dashboard__topbar h1 { font-size: 1.3rem; margin: 0; font-family: Georgia, serif; color: var(--bb-gold); }
.dashboard__user { font-size: 0.9rem; opacity: 0.75; }
.dashboard__topbar-right { display: flex; align-items: center; gap: 16px; }

.notif-bell-wrap { position: relative; }
.notif-bell {
    position: relative;
    background: rgba(242,239,233,0.06);
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.notif-bell:hover { border-color: var(--bb-gold); }
.notif-bell__badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--bb-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    min-width: 17px; height: 17px;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}
.notif-bell__badge[hidden] { display: none; }

.notif-panel {
    display: none;
    position: absolute;
    top: 46px; right: 0;
    width: 320px;
    max-height: 400px;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    z-index: 60;
    overflow: hidden;
    flex-direction: column;
}
.notif-panel.is-open { display: flex; }
.notif-panel__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bb-border);
    font-size: 0.85rem;
    font-weight: 600;
}
.notif-panel__header button {
    background: none; border: none; color: var(--bb-gold);
    font-size: 0.75rem; cursor: pointer; font-weight: 400;
}
.notif-panel__list { overflow-y: auto; padding: 6px; }
.notif-panel__empty { padding: 20px; text-align: center; font-size: 0.85rem; opacity: 0.6; }
.notif-item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--bb-cream);
}
.notif-item:hover { background: rgba(212,169,71,0.08); text-decoration: none; }
.notif-item.is-unread { background: rgba(212,169,71,0.06); }
.notif-item.is-unread::before { content: "●"; color: var(--bb-gold); font-size: 0.6rem; margin-right: 6px; }
.notif-item__time { display: block; font-size: 0.72rem; opacity: 0.5; margin-top: 3px; }

@media (max-width: 480px) {
    .notif-panel { width: calc(100vw - 32px); right: -8px; }
}
.dashboard__body { padding: 28px 32px; }

.card {
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 22px;
}
.card__title { font-size: 1.05rem; color: var(--bb-gold); margin: 0 0 16px; font-family: Georgia, serif; }

.bulk-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.bulk-actions__select-all { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; opacity: 0.85; }

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.image-slot {
    position: relative;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: 12px;
    overflow: hidden;
}
.image-slot__preview {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #0d0f0d;
}
.image-slot__label { padding: 10px 12px 4px; font-size: 0.85rem; color: var(--bb-gold); }
.image-slot__form { display: flex; gap: 8px; padding: 8px 12px 12px; align-items: center; }
.image-slot__form input[type="file"] { flex: 1; font-size: 0.72rem; color: var(--bb-cream); min-width: 0; }

.image-slot__picker { padding: 0 12px 8px; }
.image-slot__picker summary {
    font-size: 0.78rem;
    color: var(--bb-gold);
    cursor: pointer;
    opacity: 0.85;
    padding: 4px 0;
}
.image-slot__picker summary:hover { opacity: 1; }
.image-slot__picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 6px;
    margin-top: 8px;
    max-height: 160px;
    overflow-y: auto;
}
.image-slot__picker-item { display: contents; }
.image-slot__picker-item button {
    padding: 0;
    border: 1px solid var(--bb-border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #0d0f0d;
    height: 44px;
}
.image-slot__picker-item button:hover { border-color: var(--bb-gold); }
.image-slot__picker-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dash-table th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--bb-border); opacity: 0.6; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.dash-table td { padding: 10px; border-bottom: 1px solid var(--bb-border); }

.table-scroll { width: 100%; overflow-x: auto; }

@media (max-width: 700px) {
    .dash-table thead { display: none; }
    .dash-table, .dash-table tbody, .dash-table tr, .dash-table td { display: block; width: 100%; }
    .dash-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--bb-border);
        border-radius: 10px;
        padding: 8px 12px;
        background: #0d0f0d;
    }
    .dash-table td {
        border: none;
        padding: 7px 2px;
        text-align: left;
        word-break: break-word;
    }
    .dash-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--bb-gold);
        opacity: 0.75;
        margin-bottom: 2px;
    }
    .dash-table td.dash-table__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding-top: 10px;
    }
    .dash-table td.dash-table__actions::before { display: none; }
    .dash-table td.dash-table__actions form { display: inline-flex; }
}

.stats-row { display: flex; gap: 16px; margin-top: 14px; }
.stat-box {
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 18px 22px;
    min-width: 160px;
}
.stat-box__number { display: block; font-size: 2rem; font-weight: 700; color: var(--bb-gold); font-family: Georgia, serif; }
.stat-box__label { display: block; font-size: 0.82rem; opacity: 0.7; margin-top: 4px; }

.stack-form { display: flex; flex-direction: column; gap: 12px; }
.stack-form label { font-size: 0.85rem; opacity: 0.85; }
.stack-form input, .stack-form select, .stack-form textarea {
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
}
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { outline: 2px solid var(--bb-gold); border-color: transparent; }
.stack-form .form-row { display: flex; gap: 20px; font-size: 0.9rem; }

.date-filter { display: flex; align-items: center; gap: 10px; }
.date-filter label { font-size: 0.85rem; opacity: 0.8; }
.date-filter input {
    background: #0d0f0d; border: 1px solid var(--bb-border); color: var(--bb-cream);
    padding: 8px 10px; border-radius: var(--radius); font-size: 0.9rem;
}

.devis-inline-form { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.devis-inline-form input[type="number"] { width: 80px; padding: 4px 6px; background: #0d0f0d; border: 1px solid var(--bb-border); color: var(--bb-cream); border-radius: 4px; font-size: 0.8rem; }
.devis-inline-form select { padding: 4px 6px; background: #0d0f0d; border: 1px solid var(--bb-border); color: var(--bb-cream); border-radius: 4px; font-size: 0.78rem; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.media-grid__item { position: relative; background: #0d0f0d; border: 1px solid var(--bb-border); border-radius: var(--radius); overflow: hidden; }
.media-grid__checkbox {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 5;
    background: rgba(13,15,13,0.75);
    border-radius: 6px;
    padding: 4px;
    display: flex;
}
.media-grid__item img, .media-grid__item video { width: 100%; height: 130px; object-fit: cover; display: block; }
.media-grid__meta { padding: 8px 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.8rem; }
.media-grid__actions { padding: 0 10px 10px; display: flex; gap: 6px; flex-wrap: wrap; }

.dash-table__actions { display: flex; gap: 6px; flex-wrap: wrap; }

.stock-mouvement-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.stock-mouvement-form select,
.stock-mouvement-form input {
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
}
.stock-mouvement-form input[type="text"] { width: 110px; }

.stock-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    border-radius: 10px;
    margin-bottom: 14px;
    max-width: 340px;
}
.stock-search svg { flex-shrink: 0; opacity: 0.6; }
.stock-search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--bb-cream);
    font-size: 0.9rem;
    outline: none;
}
.stock-search input::placeholder { color: var(--bb-cream); opacity: 0.45; }

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 0.85rem;
}
.pagination__link, .pagination__num {
    padding: 6px 11px;
    border-radius: 6px;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    text-decoration: none;
}
.pagination__link:hover, .pagination__num:hover { border-color: var(--bb-gold); text-decoration: none; }
.pagination__link--disabled { opacity: 0.35; cursor: default; }
.pagination__num--active { background: var(--bb-gold); color: #0d0f0d; border-color: var(--bb-gold); font-weight: 700; }
.pagination__ellipsis { opacity: 0.5; padding: 0 2px; }

.compta-charts {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 880px) {
    .compta-charts { grid-template-columns: 1fr; }
}
.compta-charts__conteneur { position: relative; height: 220px; }

.tables-flash { position: sticky; top: 0; z-index: 25; }
.tables-flash p { margin: 0 0 12px; }

.espace-tables__onglets {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--bb-border);
}
.onglet-table {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 9px 16px;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    color: var(--bb-cream);
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}
.onglet-table__nom { font-size: 0.88rem; font-weight: 600; }
.onglet-table__serveuse { font-size: 0.7rem; opacity: 0.6; }
.onglet-table:hover { background: rgba(212,169,71,0.08); }
.onglet-table.is-active { background: var(--bb-gold); border-color: var(--bb-gold); }
.onglet-table.is-active .onglet-table__nom { color: #0d0f0d; }
.onglet-table.is-active .onglet-table__serveuse { color: #0d0f0d; opacity: 0.7; }
.onglet-table--plus {
    color: var(--bb-gold);
    font-weight: 700;
    justify-content: center;
    align-items: center;
}
.onglet-table--plus.is-active { color: #0d0f0d; }

.ligne-qte-controle { display: flex; align-items: center; gap: 8px; justify-content: center; }
.ligne-qte-controle span { min-width: 20px; text-align: center; }
.ligne-qte-controle .produit-case__moins,
.ligne-qte-controle .produit-case__plus {
    width: 26px; height: 26px;
    border-radius: 6px;
    border: 1px solid var(--bb-border);
    background: rgba(242,239,233,0.06);
    color: var(--bb-cream);
    cursor: pointer;
}

.produits-grille {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin: 14px 0;
}
.produit-case {
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.produit-case__nom { font-size: 0.85rem; display: flex; flex-direction: column; gap: 2px; }
.produit-case__prix { font-size: 0.75rem; color: var(--bb-gold); opacity: 0.85; }
.produit-case__stepper { display: flex; align-items: center; gap: 6px; }
.produit-case__moins, .produit-case__plus {
    width: 30px; height: 30px;
    border-radius: 6px;
    border: 1px solid var(--bb-border);
    background: rgba(242,239,233,0.06);
    color: var(--bb-cream);
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
}
.produit-case__moins:hover, .produit-case__plus:hover { border-color: var(--bb-gold); }
.produit-case__qte {
    flex: 1;
    text-align: center;
    background: #12160f;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    border-radius: 6px;
    padding: 6px 2px;
    font-size: 0.9rem;
}

/* Produit avec deux prix selon la zone (même stock, deux lignes de saisie) */
.produit-case--zone { padding-bottom: 10px; }
.produit-case__zone { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; border-top: 1px dashed var(--bb-border); }
.produit-case__zone:first-of-type { border-top: none; padding-top: 0; }
.produit-case__zone-label { font-size: 0.72rem; color: var(--bb-gold); opacity: 0.9; }

.fiche-total {
    background: rgba(212,169,71,0.1);
    border: 1px solid var(--bb-gold);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin: 10px 0;
    font-size: 0.9rem;
}
.fiche-total strong { color: var(--bb-gold); font-family: Georgia, serif; font-size: 1.2rem; }

/* Grille à hauteur limitée : défile en interne, le total + bouton restent
   toujours visibles juste en dessous, sans jamais recouvrir le reste de la
   page (contrairement à une barre position:fixed sur toute la largeur). */
.grille-scroll {
    max-height: 42vh;
    overflow-y: auto;
    padding-right: 4px;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 10px;
    margin-top: 10px;
}

.fiche-barre-fixe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #0d0f0d;
    border: 1px solid var(--bb-gold);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-top: 12px;
}
.fiche-barre-fixe__total { font-size: 0.9rem; color: var(--bb-cream); opacity: 0.85; }
.fiche-barre-fixe__total strong { font-family: Georgia, serif; font-size: 1.25rem; color: var(--bb-gold); }
.fiche-barre-fixe .btn-primary { flex-shrink: 0; }

@media (max-width: 700px) {
    .fiche-barre-fixe { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
}
.btn-mini {
    background: rgba(242, 239, 233, 0.08);
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}
.btn-mini--confirm { background: rgba(20, 92, 63, 0.35); border-color: var(--bb-green); color: #b7e8cf; }
.btn-mini--confirm:hover { background: rgba(20, 92, 63, 0.5); }
.btn-mini--cancel { background: rgba(176, 51, 43, 0.2); border-color: var(--bb-red); color: #ffb3ae; }
.btn-mini--cancel:hover { background: rgba(176, 51, 43, 0.35); }

.badge { padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.badge--en_attente { background: rgba(212, 169, 71, 0.18); color: var(--bb-gold); }
.badge--confirmee  { background: rgba(20, 92, 63, 0.3); color: #7ce0ab; }
.badge--annulee    { background: rgba(176, 51, 43, 0.18); color: #ffb3ae; }
.badge--terminee   { background: rgba(242, 239, 233, 0.1); color: var(--bb-cream); opacity: 0.7; }

/* ---------- Pages vitrine (tarifs / programme / actualités) ---------- */
.page-hero { padding: 50px 24px 30px; }
.page-banner {
    background-size: cover;
    background-position: center;
    padding: 80px 24px 60px;
}
.page-banner__lead { max-width: 520px; opacity: 0.85; margin-top: 10px; font-size: 1.05rem; }
.page-title { font-family: Georgia, serif; color: var(--bb-gold); font-size: 2.2rem; margin: 6px 0 0; }
.section-subtitle { font-family: Georgia, serif; color: var(--bb-gold); font-size: 1.4rem; margin: 40px 0 18px; }

.tarifs-cta {
    margin-top: 50px;
    padding: 34px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(20,92,63,0.5), rgba(13,15,13,0.9));
    border: 1px solid var(--bb-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.tarifs-cta p { font-family: Georgia, serif; font-size: 1.2rem; color: var(--bb-cream); margin: 0; }

/* ---------- Soirées karaoké (plein air) ---------- */
.karaoke-section { padding-bottom: 70px; }
.karaoke-list { display: flex; flex-direction: column; gap: 14px; }
.karaoke-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 20px 24px;
}
.karaoke-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    flex-shrink: 0;
    background: rgba(212,169,71,0.1);
    border-radius: 10px;
    padding: 10px 0;
}
.karaoke-card__day { font-family: Georgia, serif; font-size: 1.6rem; color: var(--bb-gold); line-height: 1; }
.karaoke-card__month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; margin-top: 4px; }
.karaoke-card__info { flex: 1; min-width: 0; }
.karaoke-card__info h2 { font-size: 1.05rem; margin: 0 0 4px; }
.karaoke-card__info p { margin: 0 0 6px; font-size: 0.88rem; opacity: 0.75; }
.karaoke-card__count { font-size: 0.8rem; color: var(--bb-gold); opacity: 0.85; }

@media (max-width: 600px) {
    .karaoke-card { flex-direction: column; align-items: stretch; text-align: center; }
    .karaoke-card__date { align-self: center; }
}

/* ---------- Règles du billard ---------- */
.regles-section { padding-bottom: 70px; display: flex; flex-direction: column; gap: 50px; }

.playlist-section { padding-bottom: 70px; display: flex; flex-direction: column; gap: 30px; }

/* ---------- Lecteur playlist "pro" ---------- */
.pplayer {
    background: linear-gradient(160deg, #141811, #0d0f0d);
    border: 1px solid var(--bb-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.pplayer__stage {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    border-bottom: 1px solid var(--bb-border);
}

.pplayer__disc-wrap { flex-shrink: 0; }
.pplayer__disc {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #0d0f0d 0 18%, #1a1d18 18% 22%, #0d0f0d 22% 100%),
        repeating-radial-gradient(circle at center, #16190f 0 3px, #0d0f0d 3px 6px);
    border: 3px solid var(--bb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.6), 0 6px 18px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}
.pplayer__disc.is-spinning { animation: pplayer-spin 4s linear infinite; }
@keyframes pplayer-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.pplayer__disc-label {
    width: 34px; height: 34px; border-radius: 50%;
    background: #111318; border: 1px solid var(--bb-gold);
    color: var(--bb-gold);
    display: flex; align-items: center; justify-content: center;
    font-family: Georgia, serif; font-weight: bold; font-size: 1rem;
}

.pplayer__meta { flex: 1; min-width: 0; }
.pplayer__eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--bb-gold); opacity: 0.8; margin: 0 0 4px; }
.pplayer__title { font-family: Georgia, serif; font-size: 1.5rem; color: var(--bb-cream); margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pplayer__artist { font-size: 0.9rem; opacity: 0.6; margin: 0 0 18px; }
.pplayer__status { font-size: 0.8rem; color: var(--bb-gold); opacity: 0.85; margin: -12px 0 14px; min-height: 1em; }
.pplayer__status.is-error { color: #ffb3ae; }

.pplayer__search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 20px 8px;
    padding: 10px 14px;
    background: rgba(242,239,233,0.05);
    border: 1px solid var(--bb-border);
    border-radius: 10px;
    color: var(--bb-cream);
    opacity: 0.85;
}
.pplayer__search svg { flex-shrink: 0; opacity: 0.6; }
.pplayer__search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--bb-cream);
    font-size: 0.92rem;
    outline: none;
}
.pplayer__search input::placeholder { color: var(--bb-cream); opacity: 0.45; }
.pplayer__search-status { font-size: 0.78rem; opacity: 0.55; white-space: nowrap; }

.pplayer__no-results {
    margin: 10px 20px 16px;
    padding: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
    border: 1px dashed var(--bb-border);
    border-radius: 10px;
}

/* ---------- Recherche musicale externe (YouTube) ---------- */
.yt-search { margin-top: 10px; }

.yt-player-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    align-items: start;
}

.yt-player-panel {
    display: flex;
    gap: 16px;
    align-items: center;
    background: linear-gradient(160deg, #141811, #0d0f0d);
    border: 1px solid var(--bb-border);
    border-radius: 14px;
    padding: 18px;
}
.yt-player-panel__thumb-wrap { flex-shrink: 0; }
.yt-player-panel__thumb {
    width: 72px; height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--bb-gold);
    background: #0d0f0d;
    transition: transform 6s linear;
}
.yt-player-panel.is-playing .yt-player-panel__thumb { animation: pplayer-spin 4s linear infinite; border-radius: 50%; }
.yt-player-panel__thumb iframe { width: 100% !important; height: 100% !important; }

.yt-player-panel__meta { flex: 1; min-width: 0; }
.yt-player-panel__eyebrow { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--bb-gold); opacity: 0.8; margin: 0 0 3px; }
.yt-player-panel__title { font-size: 0.95rem; margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-player-panel__channel { font-size: 0.78rem; opacity: 0.6; margin: 0 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.yt-player-panel__progress-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.yt-player-panel__time { font-size: 0.7rem; opacity: 0.6; min-width: 30px; font-variant-numeric: tabular-nums; }
.yt-player-panel__progress { flex: 1; height: 4px; background: rgba(242,239,233,0.12); border-radius: 3px; cursor: pointer; }
.yt-player-panel__progress-fill { height: 100%; width: 0; background: var(--bb-gold); border-radius: 3px; }

.yt-player-panel__controls { display: flex; align-items: center; gap: 10px; }
.yt-player-panel__volume { margin-left: auto; }
.yt-player-panel__volume input { width: 70px; accent-color: var(--bb-gold); }

.yt-search-col { min-width: 0; }
.yt-search__box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: 10px;
    margin-bottom: 10px;
}
.yt-search__box svg { flex-shrink: 0; opacity: 0.6; }
.yt-search__box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--bb-cream);
    font-size: 0.95rem;
    outline: none;
}
.yt-search__box input::placeholder { color: var(--bb-cream); opacity: 0.45; }
.yt-search__status { font-size: 0.85rem; opacity: 0.65; min-height: 1.2em; }

.yt-search__results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
}
.yt-result {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    text-align: left;
    color: var(--bb-cream);
    transition: background 0.2s ease, transform 0.15s ease;
}
.yt-result:hover { background: rgba(212,169,71,0.1); transform: scale(1.02); }
.yt-result.is-playing { background: rgba(212,169,71,0.16); border-color: var(--bb-gold); }
.yt-result img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.yt-result__info { min-width: 0; display: flex; flex-direction: column; }
.yt-result__title { font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.yt-result__channel { font-size: 0.75rem; opacity: 0.55; margin-top: 3px; }

@media (max-width: 780px) {
    .yt-player-layout { grid-template-columns: 1fr; }
    .yt-search__results { grid-template-columns: 1fr; }
}

.pplayer__progress-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pplayer__time { font-size: 0.78rem; opacity: 0.6; min-width: 36px; font-variant-numeric: tabular-nums; }
.pplayer__time:last-child { text-align: right; }
.pplayer__progress {
    position: relative;
    flex: 1;
    height: 5px;
    background: rgba(242,239,233,0.12);
    border-radius: 3px;
    cursor: pointer;
}
.pplayer__progress-buffered { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: rgba(242,239,233,0.2); border-radius: 3px; }
.pplayer__progress-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--bb-gold); border-radius: 3px; }
.pplayer__progress-handle {
    position: absolute; top: 50%; left: 0;
    width: 13px; height: 13px; border-radius: 50%;
    background: var(--bb-gold);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(212,169,71,0.2);
    opacity: 0; transition: opacity 0.2s ease;
}
.pplayer__progress:hover .pplayer__progress-handle { opacity: 1; }

.pplayer__controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pplayer__icon-btn {
    position: relative;
    background: none; border: none; cursor: pointer;
    color: var(--bb-cream); opacity: 0.55;
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    transition: opacity 0.2s ease, color 0.2s ease;
}
.pplayer__icon-btn:hover { opacity: 0.9; }
.pplayer__icon-btn.is-active { opacity: 1; color: var(--bb-gold); }
.pplayer__repeat-dot {
    display: none;
    position: absolute; bottom: 2px; right: 2px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--bb-gold); color: #0d0f0d;
    font-size: 8px; font-weight: bold;
    align-items: center; justify-content: center;
}

.pplayer__transport-btn {
    background: rgba(242,239,233,0.06);
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}
.pplayer__transport-btn:hover { background: rgba(212,169,71,0.15); transform: scale(1.05); }

.pplayer__play-btn {
    background: var(--bb-gold);
    border: none;
    color: #0d0f0d;
    width: 54px; height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(212,169,71,0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
}
.pplayer__play-btn:hover { transform: scale(1.06); filter: brightness(1.08); }
.pplayer__play-btn svg { margin-left: 2px; }

.pplayer__volume { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pplayer__volume-slider { width: 90px; accent-color: var(--bb-gold); }

.pplayer__list { list-style: none; margin: 0; padding: 10px; max-height: 420px; overflow-y: auto; }
.pplayer__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.pplayer__row[hidden] { display: none; }
.pplayer__row:hover { background: rgba(212,169,71,0.07); }
.pplayer__row.is-playing { background: rgba(212,169,71,0.14); }
.pplayer__row.is-playing .pplayer__row-title { color: var(--bb-gold); }

.pplayer__row-num { width: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pplayer__row-index { font-size: 0.85rem; opacity: 0.5; font-variant-numeric: tabular-nums; }
.pplayer__row.is-playing .pplayer__row-index { display: none; }
.pplayer__eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.pplayer__row.is-playing .pplayer__eq { display: flex; }
.pplayer__eq i { width: 3px; background: var(--bb-gold); border-radius: 1px; animation: pplayer-eq 0.9s ease-in-out infinite; }
.pplayer__eq i:nth-child(1) { height: 6px; animation-delay: 0s; }
.pplayer__eq i:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.pplayer__eq i:nth-child(3) { height: 9px; animation-delay: 0.4s; }
@keyframes pplayer-eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.pplayer__row-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pplayer__row-title { font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pplayer__row-artist { font-size: 0.78rem; opacity: 0.55; }
.pplayer__row-duration { font-size: 0.78rem; opacity: 0.5; font-variant-numeric: tabular-nums; flex-shrink: 0; }

@media (max-width: 700px) {
    .pplayer__stage { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px; }
    .pplayer__disc { width: 84px; height: 84px; }
    .pplayer__meta { width: 100%; }
    .pplayer__title { white-space: normal; }
    .pplayer__volume { margin-left: 0; }
}
.regles-block {
    display: flex;
    align-items: center;
    gap: 40px;
}
.regles-block--reverse { flex-direction: row-reverse; }
.regles-block__text { flex: 1 1 55%; }
.regles-block__img { flex: 1 1 45%; }
.regles-block__img img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--bb-border);
    background: #0d0f0d;
}
.regles-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.regles-list li { padding-left: 22px; position: relative; font-size: 0.95rem; opacity: 0.9; line-height: 1.5; }
.regles-list li::before { content: "●"; position: absolute; left: 0; top: 1px; color: var(--bb-gold); font-size: 0.6rem; }

@media (max-width: 780px) {
    .regles-block, .regles-block--reverse { flex-direction: column; }
}

/* ---------- Itinéraire ---------- */
.itineraire-section { padding-bottom: 70px; }
.itineraire-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 18px 24px;
}
.itineraire-modes { display: flex; gap: 8px; }
.itineraire-mode {
    background: transparent;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    cursor: pointer;
}
.itineraire-mode.is-active { background: var(--bb-gold); color: var(--bb-black); border-color: var(--bb-gold); font-weight: 600; }
.itineraire-stats { display: flex; gap: 28px; }
.itineraire-stat { display: flex; flex-direction: column; }
.itineraire-stat__label { font-size: 0.75rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.05em; }
.itineraire-stat__value { font-size: 1.3rem; color: var(--bb-gold); font-family: Georgia, serif; }
.itineraire-statut { font-size: 0.85rem; opacity: 0.75; margin: 0; }
#itineraire-map { width: 100%; height: 480px; border-radius: 0 0 var(--radius) var(--radius); border: 1px solid var(--bb-border); border-top: none; }

@media (max-width: 780px) {
    .itineraire-panel { flex-direction: column; align-items: stretch; }
    .itineraire-stats { justify-content: space-around; }
}

/* ---------- Réservation en libre-service ---------- */
.reserv-result { margin-top: 20px; }
.reserv-status { font-size: 0.9rem; opacity: 0.8; text-align: center; }
.reserv-status--error { color: #ffb3ae; }

.reserv-card {
    background: rgba(20,92,63,0.12);
    border: 1px solid var(--bb-green);
    border-radius: var(--radius);
    padding: 18px;
    font-size: 0.92rem;
}
.reserv-card--ok { background: rgba(20,92,63,0.22); }
.reserv-card--warning { background: rgba(176,51,43,0.1); border-color: var(--bb-red); }
.reserv-card p { margin: 0 0 12px; }
.reserv-card .btn-primary { width: 100%; text-align: center; }

.reserv-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(212,169,71,0.12);
    border: 1px solid var(--bb-gold);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: var(--bb-cream);
}
.reserv-total strong {
    font-family: Georgia, serif;
    font-size: 1.3rem;
    color: var(--bb-gold);
}
.reserv-total--inconnu { justify-content: center; opacity: 0.75; font-style: italic; }
.reserv-hint { font-size: 0.82rem; opacity: 0.7; text-align: center; margin: 4px 0 0; }

.reserv-creneaux { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.reserv-creneau {
    background: rgba(242,239,233,0.06);
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    cursor: pointer;
}
.reserv-creneau:hover { border-color: var(--bb-gold); }
.reserv-creneau.is-selected { background: var(--bb-gold); color: var(--bb-black); border-color: var(--bb-gold); font-weight: 600; }

.horaire-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bb-border);
}
.horaire-row__jour { width: 90px; flex-shrink: 0; }
.horaire-row__ferme { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; opacity: 0.8; width: 90px; flex-shrink: 0; }
.horaire-row input[type="time"] {
    background: #0d0f0d; border: 1px solid var(--bb-border); color: var(--bb-cream);
    padding: 6px 8px; border-radius: 6px; font-size: 0.88rem;
}
.horaire-row.is-ferme input[type="time"] { opacity: 0.3; pointer-events: none; }

/* ---------- Suivi des tables (staff) ---------- */
.tables-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.com-textarea {
    width: 100%;
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 14px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.88rem;
    line-height: 1.6;
    resize: vertical;
}

.notif-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bb-gold);
    color: #0d0f0d;
    padding: 12px 20px;
    font-size: 0.88rem;
    position: relative;
    z-index: 30;
}
.notif-banner[hidden] { display: none; }
.notif-banner__text { flex: 1; }
.notif-banner__btn {
    background: #0d0f0d;
    color: var(--bb-gold);
    border: none;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}
.notif-banner__btn:disabled { opacity: 0.6; cursor: default; }
.notif-banner__close {
    background: none;
    border: none;
    color: #0d0f0d;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    flex-shrink: 0;
}
.notif-banner__close:hover { opacity: 1; }

@media (max-width: 700px) {
    .notif-banner { flex-wrap: wrap; padding: 10px 16px; }
    .notif-banner__text { font-size: 0.8rem; flex-basis: 100%; }
}

/* ---------- Écran d'affichage (kiosque, plein écran) ---------- */
.ecran-body {
    margin: 0;
    background: #0a0c0a;
    color: var(--bb-cream);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 100vh;
    padding: 0 32px 32px;
}
.ecran-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 4px;
}
.ecran-header__logo { width: 68px; height: 68px; border-radius: 10px; }
.ecran-header__titre { font-family: Georgia, serif; font-size: clamp(1.8rem, 2.4vw, 2.6rem); color: var(--bb-gold); flex: 1; }
.ecran-header__horloge { font-family: Georgia, serif; font-size: clamp(2rem, 2.8vw, 3rem); letter-spacing: 0.05em; }

.ecran-sound-zone {
    position: fixed;
    top: 24px; right: 32px;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.ecran-sound-btn {
    background: var(--bb-gold);
    color: #0d0f0d;
    border: none;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.05rem;
}
.ecran-sound-btn--test { background: rgba(242,239,233,0.15); color: var(--bb-cream); }
.ecran-sound-btn:disabled { opacity: 0.5; cursor: default; }

.ecran-diag {
    position: fixed;
    top: 84px; right: 32px;
    z-index: 10;
    max-width: 380px;
    background: rgba(13,15,13,0.9);
    border: 1px solid var(--bb-border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--bb-cream);
    opacity: 0.85;
    white-space: pre-line;
}

.ecran-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ecran-loading { grid-column: 1 / -1; text-align: center; opacity: 0.6; padding: 80px 0; font-size: 1.8rem; }

.ecran-card {
    border-radius: 22px;
    padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px);
    text-align: center;
    border: 3px solid var(--bb-border);
    background: linear-gradient(160deg, #12160f, #0d0f0d);
}
.ecran-card--libre { opacity: 0.55; }
.ecran-card--occupee { border-color: var(--bb-green); }
.ecran-card--bientot { border-color: var(--bb-gold); box-shadow: 0 0 32px rgba(212,169,71,0.4); }
.ecran-card--overtime { border-color: var(--bb-red); animation: ecran-pulse 1s infinite; }
@keyframes ecran-pulse { 0%, 100% { box-shadow: 0 0 0 rgba(176,51,43,0); } 50% { box-shadow: 0 0 40px rgba(176,51,43,0.6); } }

.ecran-card__nom { font-family: Georgia, serif; color: var(--bb-gold); font-size: clamp(1.4rem, 1.8vw, 1.9rem); margin-bottom: 12px; }
.ecran-card__statut { font-size: clamp(1.8rem, 2.4vw, 2.4rem); font-weight: 700; opacity: 0.7; letter-spacing: 0.08em; }
.ecran-card__client { font-size: clamp(1.3rem, 1.6vw, 1.7rem); margin-bottom: 16px; opacity: 0.9; }
.ecran-card__temps { font-family: Georgia, serif; font-size: clamp(3.4rem, 6vw, 5.6rem); font-variant-numeric: tabular-nums; line-height: 1; }

@media (max-width: 1100px) {
    .ecran-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .ecran-grid { grid-template-columns: 1fr; }
    .ecran-header__titre { font-size: 1.3rem; }
    .ecran-card__temps { font-size: 2.8rem; }
}

.ecran-code-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 24px;
}
.table-card {
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.table-card--occupee { border-color: var(--bb-gold); }
.table-card__header { display: flex; justify-content: space-between; align-items: center; }
.table-card__nom { font-family: Georgia, serif; color: var(--bb-gold); font-size: 1.05rem; }
.table-card__zone { font-family: inherit; font-size: 0.7rem; opacity: 0.6; color: var(--bb-cream); }
.table-card__client { margin: 0; font-size: 0.9rem; opacity: 0.85; }
.table-card__countdown {
    font-family: Georgia, serif;
    font-size: 2.1rem;
    text-align: center;
    color: var(--bb-cream);
    padding: 6px 0;
}
.table-card__countdown.is-overtime { color: #ffb3ae; animation: countdown-pulse 1s infinite; }
@keyframes countdown-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.table-card__actions { display: flex; gap: 8px; }
.table-card__note { font-size: 0.78rem; opacity: 0.65; margin: 0; }

.table-card__walkin { margin-top: 4px; }
.table-card__walkin summary {
    font-size: 0.78rem;
    color: var(--bb-gold);
    cursor: pointer;
    opacity: 0.85;
    padding: 4px 0;
}
.table-card__walkin summary:hover { opacity: 1; }
.table-card__walkin form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.table-card__walkin input[type="text"],
.table-card__walkin select,
.table-card__walkin input[type="number"] {
    background: #0d0f0d;
    border: 1px solid var(--bb-border);
    color: var(--bb-cream);
    padding: 7px 9px;
    border-radius: 6px;
    font-size: 0.82rem;
}
.table-card__walkin-row { display: flex; gap: 8px; }
.table-card__walkin-row select { flex: 1; }
.table-card__walkin-row input[type="number"] { width: 90px; }
.table-card__swap { display: flex; gap: 6px; flex-wrap: wrap; }
.table-card__swap select {
    flex: 1;
    background: #0d0f0d; border: 1px solid var(--bb-border); color: var(--bb-cream);
    padding: 6px 8px; border-radius: 6px; font-size: 0.8rem; min-width: 0;
}

/* ---------- Bottom nav app-like (admin, mobile/tablette) ---------- */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 40;
    background: #101410;
    border-top: 1px solid var(--bb-border);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
    justify-content: space-around;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
}
.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 2px;
    color: var(--bb-cream);
    opacity: 0.6;
    font-size: 0.68rem;
    background: none;
    border: none;
    cursor: pointer;
}
.bottom-nav__item.is-active,
.bottom-nav__item:active { opacity: 1; color: var(--bb-gold); }
.bottom-nav__item .icon { pointer-events: none; }

.more-sheet-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(13,15,13,0.7);
    z-index: 45;
}
.more-sheet-overlay.is-open { display: block; }

.more-sheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    background: #12160f;
    border-top: 1px solid var(--bb-border);
    border-radius: 18px 18px 0 0;
    padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 75vh;
    overflow-y: auto;
}
.more-sheet.is-open { transform: translateY(0); }
.more-sheet__handle { width: 40px; height: 4px; background: var(--bb-border); border-radius: 2px; margin: 6px auto 14px; }
.more-sheet__title { font-family: Georgia, serif; color: var(--bb-gold); font-size: 1.05rem; margin: 0 0 16px; }
.more-sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.more-sheet__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 6px;
    background: rgba(242,239,233,0.05);
    border: 1px solid var(--bb-border);
    border-radius: 12px;
    color: var(--bb-cream);
    font-size: 0.75rem;
    text-align: center;
}
.more-sheet__item:hover { border-color: var(--bb-gold); text-decoration: none; }
.more-sheet__icon { color: var(--bb-gold); }
.more-sheet__item--back {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--bb-gold);
}
.more-sheet__logout {
    border-top: 1px solid var(--bb-border);
    padding-top: 14px;
}
.more-sheet__logout button {
    display: flex; align-items: center; gap: 10px;
    width: 100%; background: none; border: none;
    color: #ffb3ae; padding: 10px 4px; font-size: 0.9rem; cursor: pointer;
}

@media (max-width: 880px) {
    .is-admin .sidebar-toggle,
    .is-admin .sidebar { display: none !important; }
    .is-admin .bottom-nav { display: flex; }
    .is-admin .dashboard__content { padding-bottom: 64px; }
    .is-admin .dashboard__topbar { padding-left: 24px; }
}

/* ---------- Grille de modules (dashboard admin) ---------- */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}
.module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 12px;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: 14px;
    color: var(--bb-cream);
    text-align: center;
    transition: transform 0.15s ease, border-color 0.2s ease;
}
.module-card:hover { transform: translateY(-3px); border-color: var(--bb-gold); text-decoration: none; }
.module-card__icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,169,71,0.12);
    border-radius: 12px;
    color: var(--bb-gold);
}
.module-card__label { font-size: 0.85rem; }

@media (max-width: 600px) {
    .module-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .module-card { padding: 16px 6px; }
    .module-card__icon { width: 40px; height: 40px; }
    .module-card__label { font-size: 0.72rem; }
}

.tarifs-section { padding-bottom: 70px; display: flex; flex-direction: column; gap: 34px; }
.tarifs-group__header {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 22px 24px;
}
.tarifs-group__header h2 { color: var(--bb-gold); font-size: 1.2rem; margin: 0; border: none; padding: 0; }
.tarifs-group { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--bb-border); }
.tarifs-group .tarifs-table { padding: 8px 24px 4px; }
.tarifs-table { width: 100%; border-collapse: collapse; }
.tarifs-table tr { border-bottom: 1px solid var(--bb-border); }
.tarifs-table td { padding: 12px 4px; vertical-align: top; }
.tarifs-table__nom { display: block; font-weight: 600; }
.tarifs-table__desc { display: block; font-size: 0.85rem; opacity: 0.65; margin-top: 2px; }
.tarifs-table__prix { text-align: right; white-space: nowrap; color: var(--bb-gold); font-weight: 700; }
.tarifs-table__unite { display: block; font-size: 0.75rem; color: var(--bb-cream); opacity: 0.6; font-weight: 400; }

.programme-section { padding-bottom: 70px; }
.programme-list { display: flex; flex-direction: column; gap: 12px; }
.programme-card {
    display: flex;
    gap: 20px;
    background: #12160f;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    padding: 18px 22px;
    align-items: center;
}
.programme-card { overflow: hidden; }
.programme-card__img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; transition: transform 0.4s ease; }
.programme-card:hover .programme-card__img { transform: scale(1.1); }
.programme-card__jour {
    min-width: 90px;
    text-align: center;
    font-weight: 700;
    color: var(--bb-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.programme-card__body h2 { font-size: 1.05rem; margin: 0 0 4px; }
.programme-card__body p { margin: 0 0 6px; opacity: 0.75; font-size: 0.9rem; }
.programme-card__horaire { font-size: 0.85rem; opacity: 0.6; }

.actu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-bottom: 70px; }
.actu-card { background: #12160f; border: 1px solid var(--bb-border); border-radius: var(--radius); padding: 22px; overflow: hidden; }
.actu-card__img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; transition: transform 0.4s ease; }
.actu-card:hover .actu-card__img { transform: scale(1.06); }
.actu-card__video-thumb { position: relative; height: 170px; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.actu-card__video-thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.actu-card:hover .actu-card__video-thumb video { transform: scale(1.06); }
.actu-card h2 { font-size: 1.15rem; margin: 0 0 6px; }
.actu-card h2 a { color: var(--bb-cream); }
.actu-card h2 a:hover { color: var(--bb-gold); }
.actu-card time { font-size: 0.8rem; opacity: 0.55; }
.actu-card p { opacity: 0.8; font-size: 0.92rem; }
.actu-card__link { font-size: 0.88rem; }

.actu-detail { padding: 50px 24px 80px; max-width: 760px; }
.actu-detail__back { font-size: 0.88rem; opacity: 0.8; }
.actu-detail h1 { font-family: Georgia, serif; color: var(--bb-gold); margin: 14px 0 4px; }
.actu-detail time { opacity: 0.55; font-size: 0.85rem; }
.actu-detail__img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin-top: 20px; }
.actu-detail__video { margin-top: 24px; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); }
.actu-detail__video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.actu-detail__video--native { padding-bottom: 0; height: auto; }
.actu-detail__video--native video { width: 100%; max-height: 480px; border-radius: var(--radius); background: #000; }
.actu-detail__content { margin-top: 22px; line-height: 1.7; opacity: 0.9; }

@media (max-width: 720px) {
    .actu-grid { grid-template-columns: 1fr; }
    .programme-card { flex-direction: column; align-items: flex-start; }
}

/* ---------- Overlay de chargement (boules de billard) ---------- */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(13, 15, 13, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.page-loader__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 4px;
    animation: loader-pulse 1.8s infinite ease-in-out;
}
@keyframes loader-pulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

.page-loader__balls { display: flex; gap: 16px; }
.loader-ball {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    box-shadow: inset -3px -3px 5px rgba(0,0,0,0.35), inset 2px 2px 3px rgba(255,255,255,0.25);
    animation: loader-bounce 1.1s infinite ease-in-out;
}
.loader-ball--1 { background: #f2c14e; color: #0d0f0d; animation-delay: 0s; }
.loader-ball--3 { background: #c0392b; color: #f2efe9; animation-delay: 0.15s; }
.loader-ball--8 { background: #111318; color: #f2efe9; border: 1px solid #d4a947; animation-delay: 0.3s; }

@keyframes loader-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-18px); }
}

.page-loader__text {
    font-family: Georgia, serif;
    color: var(--bb-gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.85;
}
.page-loader__subtext {
    font-size: 0.75rem;
    color: var(--bb-cream);
    opacity: 0.55;
    letter-spacing: 0.04em;
}
/* ---------- Erreurs ---------- */
.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; gap: 10px; }
.error-page h1 { font-size: 4rem; color: var(--bb-gold); margin: 0; font-family: Georgia, serif; }

/* ---------- Bouton d'ouverture sidebar (mobile uniquement) ---------- */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 30;
    width: 42px;
    height: 42px;
    background: #101410;
    border: 1px solid var(--bb-border);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.sidebar-toggle span { width: 20px; height: 2px; background: var(--bb-cream); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.sidebar-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sidebar-toggle.is-open span:nth-child(2) { opacity: 0; }
.sidebar-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,15,13,0.7);
    z-index: 15;
}
.sidebar-overlay.is-open { display: block; }

@media (max-width: 880px) {
    .services { grid-template-columns: 1fr; }

    .sidebar-toggle { display: flex; }

    .sidebar {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        z-index: 20;
        height: 100vh;
        max-height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,0.5);
    }
    .sidebar.is-open { transform: translateX(0); }
    .sidebar__brand { padding-top: 50px; }
    .sidebar__collapse-btn { display: none; }

    .dashboard { flex-direction: column; }
    .dashboard__content { margin-left: 0; }
    .dashboard__topbar { padding-left: 66px; }
}

/* Garde-fou global : l'attribut hidden doit toujours l'emporter, même sur un
   élément dont une classe fixe explicitement display:flex/grid/etc. Sans ça,
   masquer un élément en JS (el.hidden = true) n'a visuellement aucun effet. */
[hidden] { display: none !important; }

/* ==========================================================================
   Densité "logiciel de gestion professionnel" pour les zones de gestion
   (admin, caisse, comptabilité, service) — textes et boutons plus compacts,
   pour ne plus ressembler à un site web mais à un vrai outil d'entreprise.
   Scopé à .dashboard-body uniquement : le site public (vitrine, réservation)
   garde sa taille normale, plus adaptée à la lecture/clic occasionnel.
   ========================================================================== */
.dashboard-body .card__title { font-size: 0.92rem; margin-bottom: 12px; }
.dashboard-body p { font-size: 0.85rem; }
.dashboard-body label { font-size: 0.78rem; }

.dashboard-body .btn-primary { padding: 8px 18px; font-size: 0.85rem; border-radius: 4px; }
.dashboard-body .btn-mini { padding: 4px 9px; font-size: 0.74rem; }
.dashboard-body .badge { padding: 2px 8px; font-size: 0.7rem; }

.dashboard-body .stack-form input,
.dashboard-body .stack-form select,
.dashboard-body .stack-form textarea,
.dashboard-body select,
.dashboard-body input[type="text"],
.dashboard-body input[type="number"],
.dashboard-body input[type="date"],
.dashboard-body input[type="email"],
.dashboard-body input[type="password"] {
    padding: 7px 10px;
    font-size: 0.85rem;
}

.dashboard-body .dash-table { font-size: 0.8rem; }
.dashboard-body .dash-table th { padding: 6px 8px; font-size: 0.68rem; }
.dashboard-body .dash-table td { padding: 7px 8px; }

.dashboard-body .stat-box { padding: 12px 16px; min-width: 120px; }
.dashboard-body .stat-box__number { font-size: 1.5rem; }
.dashboard-body .stat-box__label { font-size: 0.72rem; }

.dashboard-body .sidebar__link { font-size: 0.85rem; padding: 9px 14px; }
.dashboard-body .dashboard__topbar h1 { font-size: 1.1rem; }

/* L'espace de travail POS a déjà une densité proche — ajustement plus léger */
.dashboard-body .pos-card__nom { font-size: 0.8rem; }
.dashboard-body .pos-cart-title { font-size: 0.95rem; }
