/* ==========================================================================
   Noche Secreta — « tablao de medianoche » (sur Bootstrap 5)
   Identité : noir chaud aubergine + OR bougie en accent principal (le rouge
   ne sert qu'au LIVE et aux CTA), didone self-hostée (Bodoni Moda) pour les
   titres. Signature : têtes de section « cartel » (eyebrow doré, filet + ◆).
   Les noms de classes historiques sont conservés (les templates en dépendent).
   ========================================================================== */

@font-face {
    font-family: 'Bodoni Moda';
    src: url('../fonts/bodoni-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Bodoni Moda';
    src: url('../fonts/bodoni-600i.woff2') format('woff2');
    font-weight: 600; font-style: italic; font-display: swap;
}

:root {
    --bs-danger: #d92643;
    --bs-danger-rgb: 217, 38, 67;

    /* rouge = LIVE + CTA uniquement */
    --fl-red: #d92643;
    --fl-red-deep: #b01c36;
    --fl-red-soft: #ef5c75;

    /* or bougie = accent principal */
    --fl-gold: #d9a441;
    --fl-gold-soft: #b8893a;

    /* surfaces : noir chaud aubergine */
    --fl-bg: #140b11;
    --fl-bg-2: #1a0f16;
    --fl-card: #1d1118;
    --fl-card-2: #241521;
    --fl-border: #38222e;
    --fl-border-soft: #2a1a24;

    --fl-ink: #140b11;
    --fl-ink-2: #1a0f16;

    --fl-text: #f2e9e2;
    --fl-muted: #a4909b;

    --fl-display: 'Bodoni Moda', Didot, 'Playfair Display', Georgia, serif;

    --fl-radius: 16px;
    --fl-radius-sm: 12px;
    --fl-shadow: 0 1px 2px rgba(0,0,0,.5);
    --fl-shadow-lg: 0 16px 40px rgba(10,4,8,.6);
}

* { scrollbar-color: #3d2733 var(--fl-bg); }

body {
    background: var(--fl-bg);
    background-image: radial-gradient(1100px 420px at 50% -80px, rgba(217,164,65,.055), transparent 70%);
    color: var(--fl-text);
    min-height: 100vh;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", sans-serif;
    font-feature-settings: "kern", "liga";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--fl-text); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--fl-gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { letter-spacing: -.02em; color: #fff; }

.container { max-width: 1340px; }

::selection { background: var(--fl-gold); color: #140b11; }

/* ---- Éléments d'identité (cartel) --------------------------------------- */
.eyebrow {
    color: var(--fl-gold);
    font-size: .72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .22em;
    margin-bottom: .55rem;
}
.intro .eyebrow { margin-bottom: .7rem; }

.cartel { margin: 3.2rem 0; }
.cartel__h {
    font-family: var(--fl-display); font-weight: 600; font-style: italic;
    font-size: clamp(1.45rem, 3.4vw, 2rem);
    color: #fff; letter-spacing: 0; line-height: 1.15;
    margin-bottom: .4rem;
}
.cartel__h::after {
    content: '';
    display: block; height: 1px; max-width: 190px;
    margin-top: .8rem;
    background: linear-gradient(90deg, var(--fl-gold), transparent);
}
.cartel__sub {
    font-family: var(--fl-display); font-weight: 600; font-style: italic;
    font-size: 1.22rem; color: #fff; margin: 2rem 0 .6rem;
}
.prosa { max-width: 68ch; }
.prosa p { color: #c9b6ba; line-height: 1.8; margin-bottom: 1rem; font-size: .97rem; }
.prosa p:last-child { margin-bottom: 0; }
.prosa strong { color: var(--fl-text); font-weight: 600; }
.prosa a { color: var(--fl-gold); }
.prosa a:hover { color: #eebd5e; }
.prosa--capital > p:first-child::first-letter {
    font-family: var(--fl-display); font-style: italic; font-weight: 600;
    color: var(--fl-gold);
    font-size: 3.1em; line-height: .82;
    float: left; padding: .06em .12em 0 0;
}

/* Trio de points forts : filets or, pas de boîtes */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1.8rem; }
.trio__item { border-top: 1px solid var(--fl-border); padding-top: .95rem; position: relative; }
.trio__item::before {
    content: '◆'; position: absolute; top: -.62rem; left: 0;
    color: var(--fl-gold); font-size: .62rem; background: var(--fl-bg); padding-right: .45rem;
}
.trio__item h3 { font-family: var(--fl-display); font-style: italic; font-weight: 600; font-size: 1.08rem; margin-bottom: .35rem; }
.trio__item p { color: var(--fl-muted); font-size: .92rem; line-height: 1.6; margin: 0; }

/* Fiches plateformes */
.fichas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.ficha {
    background: var(--fl-card); border: 1px solid var(--fl-border-soft);
    border-top: 2px solid var(--fl-gold-soft);
    border-radius: var(--fl-radius-sm); padding: 1.15rem 1.25rem;
}
.ficha__nombre { font-family: var(--fl-display); font-style: italic; font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: .45rem; }
.ficha p { color: var(--fl-muted); font-size: .92rem; line-height: 1.65; margin: 0; }

/* FAQ en accordéon */
details.faq {
    border-bottom: 1px solid var(--fl-border-soft);
    padding: .15rem 0;
}
details.faq summary {
    cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    color: var(--fl-text); font-weight: 600; font-size: .98rem;
    padding: .95rem 0; min-height: 48px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
    content: '+'; color: var(--fl-gold);
    font-family: var(--fl-display); font-size: 1.35rem; line-height: 1;
    transition: transform .2s ease; flex: 0 0 auto;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > p { color: #c9b6ba; line-height: 1.75; font-size: .93rem; margin: 0 0 1.1rem; max-width: 68ch; }
details.faq a { color: var(--fl-gold); }

/* Rails horizontaux (pays + étiquettes) */
.paises-rail, .chips-rail {
    display: flex; gap: .5rem; align-items: center;
    overflow-x: auto; scroll-snap-type: x proximity;
    padding: .35rem .1rem .55rem;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
            mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.paises-rail::-webkit-scrollbar, .chips-rail::-webkit-scrollbar { display: none; }
.paises-rail { margin: 1.2rem 0 .1rem; }
.chips-rail { margin: .1rem 0 .3rem; }
.paises-rail .chip, .chips-rail .chip { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }
.chip--pais { border-color: var(--fl-border); font-weight: 600; padding: .5rem 1rem; }
.chip--pais:hover { border-color: var(--fl-gold-soft); }
.chip--pais.is-on { background: var(--fl-gold); border-color: var(--fl-gold); color: #140b11; }

/* ---- Navbar ------------------------------------------------------------- */
.fl-nav {
    background: rgba(20, 11, 17, .82);
    border-bottom: 1px solid var(--fl-border-soft);
    backdrop-filter: saturate(160%) blur(12px);
    padding-top: .6rem;
    padding-bottom: .6rem;
}
.fl-brand {
    color: #fff !important;
    font-family: var(--fl-display); font-style: italic;
    font-weight: 600;
    letter-spacing: .01em;
    font-size: 1.42rem;
}
.fl-brand:hover { color: var(--fl-gold) !important; }
.fl-nav .nav-link {
    color: var(--fl-muted) !important;
    font-weight: 500;
    font-size: .94rem;
    padding: .4rem .8rem !important;
    border-radius: 9px;
    transition: background .15s, color .15s;
}
.fl-nav .nav-link:hover { color: #fff !important; background: rgba(217,164,65,.08); }
.fl-nav .nav-item.dropdown { position: relative; }
.fl-nav .dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--fl-card-2);
    border: 1px solid var(--fl-border);
    border-radius: 14px;
    box-shadow: var(--fl-shadow-lg);
    padding: .4rem;
    margin-top: .4rem;
}
.fl-nav .dropdown-item { color: #e0d2d6; border-radius: 9px; padding: .5rem .85rem; font-size: .92rem; }
.fl-nav .dropdown-item:hover { background: rgba(217,164,65,.1); color: #fff; }
.fl-nav .navbar-toggler { border: 1px solid var(--fl-border); padding: .35rem .55rem; }
.fl-nav .form-control {
    background: var(--fl-card-2);
    border: 1px solid var(--fl-border);
    color: var(--fl-text);
    border-radius: 999px;
    font-size: .9rem;
}
.fl-nav .form-control::placeholder { color: #7d6a74; }
.fl-nav .form-control:focus {
    background: var(--fl-card-2);
    border-color: var(--fl-gold-soft);
    box-shadow: none;
    color: #fff;
}

/* ---- Boutons ------------------------------------------------------------ */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: 0; }
.btn-lg { border-radius: 14px; padding: .7rem 1.3rem; }
/* Les gros CTA sont OR (identité) — le rouge ne signale plus que le LIVE. */
.btn-danger {
    --bs-btn-bg: var(--fl-gold); --bs-btn-border-color: transparent;
    --bs-btn-color: #140b11; --bs-btn-hover-color: #140b11; --bs-btn-active-color: #140b11;
    --bs-btn-hover-bg: #eebd5e; --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: #eebd5e; --bs-btn-active-border-color: transparent;
    font-weight: 700;
}
.btn-gold {
    background: var(--fl-gold); color: #140b11; font-weight: 700; border: none;
}
.btn-gold:hover { background: #eebd5e; color: #140b11; }
.btn-outline-light { --bs-btn-border-color: var(--fl-border); --bs-btn-color: #e0d2d6; --bs-btn-hover-bg: rgba(217,164,65,.08); --bs-btn-hover-border-color: var(--fl-gold-soft); --bs-btn-hover-color: #fff; }
.btn-dark { --bs-btn-bg: var(--fl-card-2); --bs-btn-border-color: var(--fl-border); --bs-btn-hover-bg: #2c1a27; --bs-btn-hover-border-color: var(--fl-border); }

/* ---- Hero / intro ------------------------------------------------------- */
.intro { padding: 2.4rem 0 1rem; text-align: center; }
.intro .eyebrow { margin-bottom: .8rem; }
.intro__title {
    font-family: var(--fl-display); font-weight: 600;
    font-size: clamp(1.7rem, 4.6vw, 2.7rem);
    color: #fff; margin-bottom: .65rem; line-height: 1.12; letter-spacing: 0;
}
.intro__title .hl { font-style: italic; color: var(--fl-gold); }
.intro__title .flag { font-size: .72em; vertical-align: .06em; }
.intro__sub { color: var(--fl-muted); font-size: 1.03rem; max-width: 620px; margin: 0 auto; line-height: 1.6; }
.intro--pais { padding-bottom: .4rem; }

/* ---- Section headers ---------------------------------------------------- */
.section-h, .cats__title {
    font-family: var(--fl-display); font-style: italic;
    color: #fff; font-size: 1.28rem; font-weight: 600; margin-bottom: .9rem; letter-spacing: 0;
}
.section-h.text-center { text-align: center; }

/* ---- Catégories / chips ------------------------------------------------- */
.cats { margin: 1.3rem 0 .3rem; }
.chip {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--fl-card); color: #e0d2d6;
    border: 1px solid var(--fl-border); border-radius: 999px;
    padding: .4rem .9rem; margin: .2rem; font-size: .86rem; font-weight: 500;
    text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { background: var(--fl-card-2); border-color: var(--fl-gold-soft); color: #fff; }
.chip.is-on { background: var(--fl-gold); border-color: var(--fl-gold); color: #140b11; }
.chip__count { background: rgba(217,164,65,.12); color: var(--fl-muted); border-radius: 999px; padding: .03rem .45rem; font-size: .74rem; font-weight: 600; }
.chip.is-on .chip__count { background: rgba(0,0,0,.14); color: #140b11; }
.chip--sm { padding: .28rem .7rem; font-size: .8rem; }

/* ---- Filterbar ---------------------------------------------------------- */
.filterbar {
    display: flex; flex-wrap: wrap; gap: 1rem 1.6rem;
    background: var(--fl-card); border: 1px solid var(--fl-border-soft);
    border-radius: var(--fl-radius); padding: 1rem 1.2rem; margin: 1.2rem 0;
}
.filterbar__group { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.filterbar__label { color: var(--fl-gold); font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; margin-right: .35rem; }
.filterbar__clear { color: var(--fl-red-soft); font-size: .85rem; align-self: center; }
.filterbar__clear:hover { color: var(--fl-red); }

/* ---- Grille de cams (cam-tile) ------------------------------------------ */
.cam-tile {
    display: block; text-decoration: none; color: inherit;
    border-radius: var(--fl-radius-sm); overflow: hidden;
    background: var(--fl-card); border: 1px solid var(--fl-border-soft);
    transition: transform .2s ease, border-color .2s ease; height: 100%;
}
.cam-tile:hover { transform: translateY(-3px); border-color: var(--fl-gold-soft); }
.cam-tile:hover .cam-tile__hover { opacity: 1; }
.cam-tile:hover .cam-tile__media img { transform: scale(1.04); }
.cam-tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0d060a; }
.cam-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }

.live-pill {
    position: absolute; top: 9px; left: 9px; display: inline-flex; align-items: center; gap: 5px;
    background: rgba(20,11,17,.72); backdrop-filter: blur(4px); color: #fff;
    font-size: .66rem; font-weight: 700; letter-spacing: .7px;
    padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08);
}
.live-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fl-red); animation: live-blink 1.6s ease-in-out infinite; }
@keyframes live-blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.viewers-pill {
    position: absolute; top: 9px; right: 9px; display: inline-flex; align-items: center; gap: 4px;
    background: rgba(20,11,17,.72); color: #fff; backdrop-filter: blur(4px);
    font-size: .72rem; font-weight: 600; padding: 3px 7px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08);
}
.platform-pill {
    position: absolute; bottom: 9px; right: 9px; background: rgba(20,11,17,.72); backdrop-filter: blur(4px);
    color: #cbb8a1; font-size: .64rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; text-transform: capitalize; border: 1px solid rgba(255,255,255,.06);
}

.cam-tile__hover {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .5rem; background: rgba(13,6,10,.55); backdrop-filter: blur(1px);
    opacity: 0; transition: opacity .2s ease; padding: .5rem; text-align: center;
}
.cam-tile__cta { background: var(--fl-gold); color: #140b11; font-weight: 700; padding: .42rem 1.05rem; border-radius: 999px; font-size: .85rem; }
.cam-tile__subject { color: #efe3d5; font-size: .8rem; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.cam-tile__name {
    position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: baseline; gap: .4rem;
    padding: 1.4rem .7rem .55rem; background: linear-gradient(transparent, rgba(13,6,10,.94));
}
.cam-tile__name .fg { font-size: .82rem; flex: 0 0 auto; }
.cam-tile__name .nm { color: #fff; font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cam-tile__name .ag { color: var(--fl-muted); font-size: .8rem; font-weight: 500; }

/* ---- Promo (ads) -------------------------------------------------------- */
.promo { margin: 1.2rem 0; }
.promo__link {
    display: flex; align-items: center; gap: .85rem;
    background: var(--fl-card);
    color: #fff; text-decoration: none; padding: .85rem 1.15rem;
    border-radius: var(--fl-radius); border: 1px solid var(--fl-border-soft);
    transition: border-color .2s;
}
.promo__link:hover { border-color: var(--fl-gold-soft); color: #fff; }
.promo__icon { font-size: 1.3rem; }
.promo__text { flex: 1; font-size: .92rem; color: #e0d2d6; }
.promo__text strong { color: #fff; }
.promo__cta { background: var(--fl-gold); color: #140b11; font-weight: 600; padding: .42rem .95rem; border-radius: 999px; white-space: nowrap; font-size: .85rem; }

/* ---- Section éditoriale (boîtes héritées : filter/model/about) ----------- */
.editorial {
    background: var(--fl-card); border: 1px solid var(--fl-border-soft);
    border-radius: var(--fl-radius); padding: 1.9rem; color: var(--fl-text); margin: 2rem 0;
}
.editorial h2 { font-family: var(--fl-display); font-style: italic; color: #fff; font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.editorial h3 { font-family: var(--fl-display); font-style: italic; color: #fff; font-size: 1.12rem; font-weight: 600; margin: 1.4rem 0 .7rem; }
.editorial p { color: #c9b6ba; line-height: 1.75; margin-bottom: 1rem; }
.editorial p:last-child { margin-bottom: 0; }
.editorial strong { color: var(--fl-text); font-weight: 600; }
.editorial a { color: var(--fl-gold); }

.faq-card {
    background: var(--fl-card); border: 1px solid var(--fl-border-soft);
    border-radius: var(--fl-radius-sm); padding: 1.15rem 1.25rem; margin-bottom: .8rem; height: 100%;
    transition: border-color .2s;
}
.faq-card:hover { border-color: var(--fl-border); }
.faq-card h3 { color: #fff; font-size: .98rem; margin-bottom: .4rem; font-weight: 600; }
.faq-card p { color: var(--fl-muted); line-height: 1.6; margin: 0; font-size: .9rem; }

/* ---- Breadcrumbs -------------------------------------------------------- */
.fl-crumbs { font-size: .85rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0 1.2rem; }
.fl-crumbs a { color: var(--fl-muted); text-decoration: none; }
.fl-crumbs a:hover { color: #fff; }
.fl-crumbs .sep { color: #5c4450; }
.fl-crumbs .cur { color: var(--fl-text); font-weight: 600; }

/* ---- Player / model page ------------------------------------------------ */
.ratio-16x9 { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--fl-radius); overflow: hidden; border: 1px solid var(--fl-border); }
.ratio-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.adblock-note { background: var(--fl-card); border: 1px solid var(--fl-border-soft); color: var(--fl-muted); padding: .65rem .9rem; text-align: center; border-radius: var(--fl-radius-sm); margin-bottom: 1.1rem; font-size: .86rem; }
.profile-card { background: var(--fl-card); border: 1px solid var(--fl-border-soft); border-radius: var(--fl-radius); overflow: hidden; }
.profile-card__head { background: var(--fl-card-2); padding: 1rem; text-align: center; color: #fff; border-bottom: 1px solid var(--fl-border-soft); }
.profile-card__head h3 { font-family: var(--fl-display); font-style: italic; }
.profile-card__body { padding: 1.2rem 1.4rem; }
.profile-card__body ul { list-style: none; padding: 0; margin: 0; }
.profile-card__body li { padding: .6rem 0; border-bottom: 1px solid var(--fl-border-soft); color: #cbb8be; }
.profile-card__body li:last-child { border-bottom: 0; }
.profile-card__body a { color: var(--fl-gold); }
.k { color: var(--fl-muted); font-weight: 600; }

/* ---- Multicam mosaïque -------------------------------------------------- */
.grid-2x2, .grid-1x4, .grid-4x1 { display: grid; gap: 10px; margin: 1rem 0; }
.grid-2x2 { grid-template-columns: 1fr 1fr; }
.grid-1x4 { grid-template-columns: 1fr; }
.grid-4x1 { grid-template-columns: repeat(4, 1fr); }
.mosaic-cell { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--fl-radius-sm); overflow: hidden; border: 1px solid var(--fl-border); }
.mosaic-cell iframe { width: 100%; height: 100%; border: 0; }
.mosaic-cell__info { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(13,6,10,.78); color: #fff; padding: .35rem .55rem; font-size: .8rem; }
.layout-btn.is-on { background: var(--fl-gold) !important; color: #140b11 !important; border-color: var(--fl-gold) !important; }
.form-label { color: var(--fl-muted); font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.form-control { background: var(--fl-card-2); border: 1px solid var(--fl-border); color: var(--fl-text); border-radius: 10px; }
.form-control:focus { background: var(--fl-card-2); border-color: var(--fl-gold-soft); box-shadow: none; color: #fff; }
.form-control::placeholder { color: #7d6a74; }
@media (max-width: 720px){ .grid-4x1 { grid-template-columns: 1fr 1fr; } }

/* ---- Theater / "fap" mode ----------------------------------------------- */
.theater { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(5,2,4,.97); align-items: center; justify-content: center; flex-direction: column; padding: 1.5rem; }
.theater__exit { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; z-index: 1; }
.theater__stage { width: 100%; max-width: min(96vw, calc((100vh - 3rem) * 16 / 9)); aspect-ratio: 16/9; }
.theater__stage iframe { width: 100%; height: 100%; border: 0; }
.theater__grid { display: grid; gap: 10px; margin: 0; }
.theater__grid.grid-2x2 { grid-template-columns: 1fr 1fr; width: min(96vw, calc((100vh - 3rem) * 16 / 9)); }
.theater__grid.grid-1x4 { width: min(96vw, calc((100vh - 3rem) * 4 / 9)); }
.theater__grid.grid-4x1 { width: min(96vw, calc((100vh - 3rem) * 64 / 9)); }

/* ---- Footer ------------------------------------------------------------- */
.fl-footer { margin-top: 3.5rem; padding: 2.6rem 0; border-top: 1px solid var(--fl-border-soft); text-align: center; color: var(--fl-muted); font-size: .9rem; }
.fl-footer a { color: var(--fl-muted); text-decoration: none; margin: 0 .6rem; }
.fl-footer a:hover { color: var(--fl-gold); }
.fl-footer__lema {
    font-family: var(--fl-display); font-style: italic; font-weight: 600;
    color: var(--fl-gold); font-size: 1.15rem; margin-bottom: 1.1rem;
}
.fl-footer__paises { font-size: .84rem; }
.fl-footer__paises a { margin: 0 .45rem; }

/* ---- Tab bar mobile ------------------------------------------------------ */
.tabbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030;
    display: flex; justify-content: space-around; align-items: stretch;
    background: rgba(20, 11, 17, .92);
    backdrop-filter: saturate(160%) blur(14px);
    border-top: 1px solid var(--fl-border-soft);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar__item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: var(--fl-muted); font-size: .66rem; font-weight: 600;
    padding: .55rem 0 .5rem; min-height: 52px;
}
.tabbar__item:hover, .tabbar__item:active { color: var(--fl-gold); }
@media (max-width: 991px) {
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }
}

/* ---- Mobile : rails snap pour trio + fichas ------------------------------ */
@media (max-width: 767px) {
    .cartel { margin: 2.6rem 0; }
    .trio, .fichas {
        display: flex; gap: .9rem;
        overflow-x: auto; scroll-snap-type: x mandatory;
        padding-bottom: .5rem;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, #000 93%, transparent);
                mask-image: linear-gradient(90deg, #000 93%, transparent);
    }
    .trio::-webkit-scrollbar, .fichas::-webkit-scrollbar { display: none; }
    .trio__item, .ficha { flex: 0 0 76%; scroll-snap-align: start; }
    .intro { padding-top: 1.7rem; }
    .editorial { padding: 1.3rem; }
}

/* ---- Accessibilité mouvement -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
