@import url("../fonts/fonts.css");

/* ===========================================================================
   Moanin' Quintet - feuille de style du site public
   Parti pris : l'affiche du groupe transposee a l'ecran. Fond noir chaud,
   jaune et cuivre du logo, photos en noir et blanc qui reprennent leurs
   couleurs au survol, grain papier discret sur toute la page.
   =========================================================================== */

/* --- 1. Jetons de conception ---------------------------------------------- */
:root {
    --black: #080706;
    --ink: #0e0c0a;
    --ink-2: #16130f;
    --ink-3: #201b15;
    --ink-4: #2b241b;

    --cream: #f6f1e7;
    --muted: #a89c88;
    --muted-dim: #7d7261;

    --yellow: #ffd400;
    --amber: #f59300;
    --gold: #e8a33d;
    --copper: #b4622d;
    --red: #c4342a;
    --blue: #2536c9;

    --line: rgba(232, 163, 61, 0.22);
    --line-soft: rgba(246, 241, 231, 0.1);

    --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
    --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

    --shell: 78rem;
    --gutter: clamp(1.25rem, 5vw, 3rem);
    --section-y: clamp(4.5rem, 9vw, 8.5rem);

    --radius: 2px;
    --radius-lg: 4px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- 2. Bases -------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain papier : une seule texture SVG, fixe, sans requete reseau. */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
    color: var(--gold);
    text-decoration-color: rgba(232, 163, 61, 0.35);
    text-underline-offset: 0.25em;
    transition: color 0.25s var(--ease);
}

a:hover {
    color: var(--yellow);
}

:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
    border-radius: var(--radius);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 400;
    line-height: 1.05;
}

p {
    margin: 0 0 1.15em;
}

p:last-child {
    margin-bottom: 0;
}

hr {
    border: 0;
    border-top: 1px solid var(--line-soft);
    margin: 2.5rem 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 10000;
    background: var(--yellow);
    color: var(--black);
    padding: 0.75rem 1.25rem;
    font-family: var(--font-cond);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.skip-link:focus {
    left: 0.5rem;
    top: 0.5rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --- 3. Mise en page ------------------------------------------------------- */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.shell--narrow {
    max-width: 52rem;
}

.section {
    padding-block: var(--section-y);
    position: relative;
}

.section--tight {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.section--dark {
    background: var(--black);
}

.section--raised {
    background: var(--ink-2);
}

/* Titre de section : numero en cuivre, filet, puis titre monumental. */
.section-head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    max-width: 46rem;
}

.section-head--wide {
    max-width: none;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0 0 1.1rem;
    font-family: var(--font-cond);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

.eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line), transparent);
}

.eyebrow__num {
    color: var(--copper);
    font-variant-numeric: tabular-nums;
}

.title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 0.94;
    color: var(--cream);
}

.title--xl {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
}

.title--lg {
    font-size: clamp(2.25rem, 5vw, 4rem);
}

.title--md {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
}

.title em {
    font-style: normal;
    color: var(--yellow);
}

.lead {
    margin-top: 1.4rem;
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    color: var(--muted);
    max-width: 42rem;
}

.prose {
    max-width: 44rem;
    color: rgba(246, 241, 231, 0.86);
}

.prose h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 2.5rem 0 1rem;
    color: var(--cream);
}

.prose h3 {
    font-family: var(--font-cond);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.1rem;
    margin: 2rem 0 0.75rem;
    color: var(--gold);
}

.prose ul {
    padding-left: 1.1rem;
    margin: 0 0 1.15em;
}

.prose li {
    margin-bottom: 0.4em;
}

.prose li::marker {
    color: var(--copper);
}

/* --- 4. Boutons ------------------------------------------------------------ */
.btn {
    --btn-bg: var(--yellow);
    --btn-fg: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border: 1px solid var(--btn-bg);
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-cond);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
    color: var(--btn-fg);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--cream);
    border-color: var(--line);
}

.btn--ghost:hover {
    --btn-bg: rgba(232, 163, 61, 0.12);
    --btn-fg: var(--yellow);
    border-color: var(--gold);
}

.btn--copper {
    --btn-bg: var(--copper);
    --btn-fg: var(--cream);
}

.btn--sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.8125rem;
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.45;
    pointer-events: none;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

/* Lien texte souligne a l'apparition */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-cond);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--gold);
}

.link-arrow svg {
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* --- 5. En-tete ------------------------------------------------------------ */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    background: rgba(8, 7, 6, 0.9);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line-soft);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand img {
    height: 2.15rem;
    width: auto;
    transition: transform 0.3s var(--ease);
}

.brand:hover img {
    transform: rotate(-1.5deg) scale(1.03);
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2rem);
}

.nav a {
    position: relative;
    font-family: var(--font-cond);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--cream);
    text-decoration: none;
    padding-block: 0.35rem;
    white-space: nowrap;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--yellow);
    transition: right 0.3s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
    right: 0;
}

.nav a[aria-current="page"] {
    color: var(--yellow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.socials {
    display: flex;
    gap: 0.65rem;
}

.socials a {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--line-soft);
    border-radius: 50%;
    color: var(--muted);
    transition: all 0.25s var(--ease);
}

.socials a:hover {
    color: var(--black);
    background: var(--yellow);
    border-color: var(--yellow);
}

.socials svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.burger {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
    padding: 0;
    place-items: center;
}

.burger span {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: var(--cream);
    transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger span + span {
    margin-top: 4px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 60rem) {
    .burger {
        display: grid;
    }

    .header-actions .socials {
        display: none;
    }

    .nav {
        position: fixed;
        inset: 5rem 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem var(--gutter) 2.5rem;
        background: rgba(8, 7, 6, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line-soft);
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease);
        max-height: calc(100dvh - 5rem);
        overflow-y: auto;
    }

    .nav.is-open {
        transform: translateY(0);
    }

    .nav a {
        font-size: 1.5rem;
        padding-block: 0.9rem;
        border-bottom: 1px solid var(--line-soft);
    }

    .nav a::after {
        display: none;
    }
}

/* --- 6. Banniere d'accueil -------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 7rem;
    overflow: hidden;
    background: var(--black);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.15) brightness(0.62);
}

/* Double voile : verticale pour la lisibilite, chaude pour la couleur. */
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 7, 6, 0.82) 0%, rgba(8, 7, 6, 0.25) 35%, rgba(8, 7, 6, 0.92) 100%),
        radial-gradient(120% 80% at 20% 100%, rgba(180, 98, 45, 0.32), transparent 60%);
}

.hero__body {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.75rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--font-cond);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(8, 7, 6, 0.5);
    backdrop-filter: blur(6px);
}

.hero__kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.7);
    animation: pulse 2.8s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 10px rgba(255, 212, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 212, 0, 0);
    }
}

.hero__logo {
    width: min(100%, 46rem);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0.5rem 2rem rgba(0, 0, 0, 0.6));
}

.hero__tagline {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(1.75rem, 4.6vw, 3.75rem);
    line-height: 0.95;
    color: var(--cream);
    max-width: 20ch;
}

.hero__tagline em {
    font-style: normal;
    color: var(--yellow);
}

.hero__claim {
    margin-top: 1.5rem;
    max-width: 34rem;
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(246, 241, 231, 0.78);
}

.hero__scroll {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(2.5rem, 6vw, 5rem);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-cond);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-dim);
    writing-mode: vertical-rl;
    text-decoration: none;
}

.hero__scroll::after {
    content: "";
    width: 1px;
    height: 3.5rem;
    background: linear-gradient(var(--gold), transparent);
}

@media (max-width: 48rem) {
    .hero__scroll {
        display: none;
    }
}

/* Bandeau « prochaine date » colle en bas de la banniere */
.next-strip {
    position: relative;
    z-index: 2;
    background: var(--yellow);
    color: var(--black);
}

.next-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    padding-block: 1rem;
}

.next-strip__label {
    font-family: var(--font-cond);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8125rem;
    padding-right: 1.5rem;
    border-right: 2px solid rgba(8, 7, 6, 0.25);
}

.next-strip__main {
    flex: 1;
    min-width: 14rem;
    font-family: var(--font-cond);
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 600;
    line-height: 1.3;
}

.next-strip__main strong {
    font-weight: 700;
}

.next-strip__main span {
    opacity: 0.72;
}

.next-strip .btn {
    --btn-bg: var(--black);
    --btn-fg: var(--yellow);
}

.next-strip--empty {
    background: var(--ink-3);
    color: var(--cream);
}

.next-strip--empty .next-strip__label {
    color: var(--gold);
    border-right-color: var(--line);
}

.next-strip--empty .btn {
    --btn-bg: var(--yellow);
    --btn-fg: var(--black);
}

/* --- 7. Bandeau defilant --------------------------------------------------- */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line-soft);
    background: var(--black);
    padding-block: 1.1rem;
    user-select: none;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: slide 48s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@keyframes slide {
    to {
        transform: translateX(-50%);
    }
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    padding-inline: 1.25rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(1.125rem, 2.2vw, 1.75rem);
    letter-spacing: 0.02em;
    color: rgba(246, 241, 231, 0.35);
    white-space: nowrap;
}

.marquee__item::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--copper);
    flex-shrink: 0;
}

.marquee__item:nth-child(3n) {
    color: var(--yellow);
}

/* --- 8. Le groupe ---------------------------------------------------------- */
.band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem);
}

.member {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.member:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.member__figure {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--ink-3);
}

.member__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    filter: grayscale(1) contrast(1.08);
    transition: filter 0.45s var(--ease), transform 0.6s var(--ease);
}

.member:hover .member__figure img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.04);
}

.member__figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(8, 7, 6, 0.92));
}

.member__caption {
    position: absolute;
    inset: auto 0 0;
    padding: 1.25rem;
    z-index: 1;
}

.member__name {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.375rem;
    line-height: 1;
    color: var(--cream);
}

.member__instr {
    margin-top: 0.4rem;
    font-family: var(--font-cond);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--yellow);
}

.member__meta {
    padding: 1.1rem 1.25rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--muted);
    border-top: 1px solid var(--line-soft);
}

.member__meta dt {
    font-family: var(--font-cond);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper);
}

.member__meta dd {
    margin: 0.15rem 0 0.75rem;
    color: rgba(246, 241, 231, 0.8);
    font-size: 0.9375rem;
    line-height: 1.5;
}

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

/* Fiche musicien */
.member-page {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    align-items: start;
}

@media (max-width: 56rem) {
    .member-page {
        grid-template-columns: 1fr;
    }
}

.member-page__photo {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-2);
}

.member-page__photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.spec-list {
    margin: 2rem 0 0;
    display: grid;
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.spec-list > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    background: var(--ink-2);
}

.spec-list dt {
    font-family: var(--font-cond);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

.spec-list dd {
    margin: 0;
    text-align: right;
    color: var(--cream);
    font-weight: 500;
}

/* --- 9. Agenda ------------------------------------------------------------- */
.gig-list {
    border-top: 1px solid var(--line-soft);
}

.gig {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding-block: clamp(1.25rem, 2.5vw, 1.9rem);
    border-bottom: 1px solid var(--line-soft);
    transition: background 0.3s var(--ease);
}

.gig:hover {
    background: rgba(232, 163, 61, 0.04);
}

.gig__stamp {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 0.5rem 0.25rem;
    background: var(--ink-2);
}

.gig__day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.875rem;
    line-height: 1;
    color: var(--yellow);
}

.gig__month {
    display: block;
    margin-top: 0.15rem;
    font-family: var(--font-cond);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.gig__year {
    display: block;
    font-family: var(--font-cond);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    color: var(--muted-dim);
}

.gig__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(1.125rem, 2.2vw, 1.625rem);
    line-height: 1.05;
    color: var(--cream);
}

.gig__title a {
    color: inherit;
    text-decoration: none;
}

.gig__title a:hover {
    color: var(--yellow);
}

.gig__where {
    margin-top: 0.4rem;
    font-size: 0.9375rem;
    color: var(--muted);
}

.gig__where b {
    color: rgba(246, 241, 231, 0.85);
    font-weight: 500;
}

.gig__extra {
    margin-top: 0.55rem;
    font-size: 0.875rem;
    color: var(--muted-dim);
}

.gig__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
}

@media (max-width: 44rem) {
    .gig {
        grid-template-columns: 4.25rem minmax(0, 1fr);
    }

    .gig__actions {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    font-family: var(--font-cond);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.badge--public {
    color: var(--yellow);
    border-color: rgba(255, 212, 0, 0.4);
}

.badge--prive,
.badge--mariage {
    color: var(--copper);
    border-color: rgba(180, 98, 45, 0.45);
}

.badge--festival {
    color: var(--blue);
    border-color: rgba(37, 54, 201, 0.6);
}

.badge--dispo {
    color: #7bc47f;
    border-color: rgba(123, 196, 127, 0.45);
}

.badge--annule {
    color: var(--red);
    border-color: rgba(196, 52, 42, 0.5);
    text-decoration: line-through;
}

/* --- 10. Galerie ----------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.gallery-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: var(--ink-2);
    text-decoration: none;
    color: inherit;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.55) contrast(1.05) brightness(0.8);
    transition: filter 0.45s var(--ease), transform 0.7s var(--ease);
}

.gallery-card:hover img {
    filter: none;
    transform: scale(1.05);
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 7, 6, 0.9));
    pointer-events: none;
}

.gallery-card__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 1.25rem;
}

.gallery-card__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.1875rem;
    line-height: 1.05;
    color: var(--cream);
}

.gallery-card__meta {
    margin-top: 0.35rem;
    font-family: var(--font-cond);
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.gallery-card__count {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 1;
    display: flex;
    gap: 0.4rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(8, 7, 6, 0.72);
    backdrop-filter: blur(6px);
    font-family: var(--font-cond);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cream);
}

.chip svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: var(--yellow);
}

/* Mosaique de photos d'un evenement */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: 0.75rem;
}

.photo-grid button {
    position: relative;
    padding: 0;
    border: 0;
    background: var(--ink-2);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 1;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.45) brightness(0.88);
    transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}

.photo-grid button:hover img {
    filter: none;
    transform: scale(1.06);
}

/* Lecteurs video */
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--black);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-frame video,
.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.video-card__title {
    margin-top: 0.85rem;
    font-family: var(--font-cond);
    font-weight: 600;
    font-size: 1rem;
    color: var(--cream);
}

.video-card__meta {
    font-size: 0.875rem;
    color: var(--muted-dim);
}

/* Visionneuse plein ecran */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    place-items: center;
    background: rgba(6, 5, 4, 0.96);
    backdrop-filter: blur(8px);
    padding: clamp(1rem, 4vw, 3rem);
}

.lightbox[open],
.lightbox.is-open {
    display: grid;
}

.lightbox img {
    max-width: min(100%, 82rem);
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox__caption {
    margin-top: 1rem;
    text-align: center;
    font-family: var(--font-cond);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8125rem;
    color: var(--muted);
}

.lightbox__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-soft);
    border-radius: 50%;
    background: rgba(8, 7, 6, 0.7);
    color: var(--cream);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.lightbox__btn:hover {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.lightbox__btn--prev {
    left: clamp(0.5rem, 2vw, 2rem);
}

.lightbox__btn--next {
    right: clamp(0.5rem, 2vw, 2rem);
}

.lightbox__close {
    position: absolute;
    top: clamp(0.75rem, 2vw, 1.75rem);
    right: clamp(0.75rem, 2vw, 1.75rem);
    transform: none;
}

/* --- 11. Repertoire -------------------------------------------------------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.filter {
    padding: 0.45rem 1rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-cond);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.filter:hover {
    color: var(--cream);
    border-color: var(--line);
}

.filter[aria-pressed="true"] {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.filter__count {
    opacity: 0.6;
    font-variant-numeric: tabular-nums;
}

.set {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.set__head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.set__num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    color: var(--copper);
}

.set__label {
    font-family: var(--font-cond);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.track {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 1rem;
    padding-block: 0.8rem;
    border-bottom: 1px solid var(--line-soft);
    transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.track:hover {
    background: rgba(232, 163, 61, 0.05);
    padding-left: 0.5rem;
}

.track[hidden] {
    display: none;
}

.track__num {
    font-family: var(--font-cond);
    font-size: 0.875rem;
    color: var(--muted-dim);
    font-variant-numeric: tabular-nums;
}

.track__title {
    font-family: var(--font-cond);
    font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
    font-weight: 600;
    color: var(--cream);
}

.track__composer {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--muted-dim);
}

.track__tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tag {
    padding: 0.15rem 0.55rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    font-family: var(--font-cond);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.tag--mood {
    color: var(--muted-dim);
}

@media (max-width: 40rem) {
    .track {
        grid-template-columns: 2rem minmax(0, 1fr);
    }

    .track__tags {
        grid-column: 2;
        justify-content: flex-start;
    }
}

/* --- 12. Cartes et grilles diverses ---------------------------------------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.card--link:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.card__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 1.1;
    margin-bottom: 0.65rem;
    color: var(--cream);
}

.card__text {
    font-size: 0.9375rem;
    color: var(--muted);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--yellow);
}

.card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.figure-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-soft);
}

.figure-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Le cadre decale rappelle la superposition des affiches serigraphiees. */
.figure-frame--offset::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold);
    transform: translate(0.75rem, 0.75rem);
    pointer-events: none;
    z-index: -1;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat {
    padding: 1.5rem 1.25rem;
    background: var(--ink-2);
    text-align: center;
}

.stat__value {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    line-height: 1;
    color: var(--yellow);
}

.stat__label {
    margin-top: 0.5rem;
    font-family: var(--font-cond);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

/* --- 13. Formulaires ------------------------------------------------------- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-family: var(--font-cond);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.field label .req {
    color: var(--copper);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field textarea {
    min-height: 9rem;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--gold);
    background: var(--ink-3);
    outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted-dim);
}

.field .hint {
    font-size: 0.8125rem;
    color: var(--muted-dim);
}

.field .error {
    font-size: 0.8125rem;
    color: #ff8b7f;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--red);
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23a89c88' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.75rem;
    padding-right: 2.5rem;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.55;
}

.check input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--yellow);
}

/* Champ piege : invisible pour l'humain, rempli par les robots. */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.alert {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    border: 1px solid var(--line-soft);
    border-left-width: 3px;
    border-radius: var(--radius);
    background: var(--ink-2);
    font-size: 0.9375rem;
}

.alert--success {
    border-left-color: #7bc47f;
    color: #cfe8d0;
}

.alert--error {
    border-left-color: var(--red);
    color: #f3c9c5;
}

.alert--info {
    border-left-color: var(--gold);
    color: rgba(246, 241, 231, 0.88);
}

.recap {
    display: grid;
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 2rem 0;
}

.recap > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    background: var(--ink-2);
    font-size: 0.9375rem;
}

.recap dt {
    color: var(--muted);
}

.recap dd {
    margin: 0;
    font-weight: 600;
    color: var(--cream);
    text-align: right;
}

.recap--total > div:last-child {
    background: rgba(232, 163, 61, 0.1);
}

.recap--total > div:last-child dd {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.375rem;
}

/* Calendrier des disponibilites */
.calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
}

.month {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
    background: var(--ink-2);
}

.month__name {
    font-family: var(--font-cond);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

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

.month__grid span {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    color: var(--muted-dim);
    border-radius: var(--radius);
    font-variant-numeric: tabular-nums;
}

.month__grid .dow {
    font-family: var(--font-cond);
    font-size: 0.625rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-dim);
    opacity: 0.6;
}

.month__grid .booked {
    background: rgba(196, 52, 42, 0.24);
    color: #f0b9b4;
    font-weight: 600;
}

.month__grid .open {
    background: rgba(123, 196, 127, 0.2);
    color: #a9dcab;
    font-weight: 600;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--muted);
}

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.legend i {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 2px;
    display: inline-block;
}

/* --- 14. Documents --------------------------------------------------------- */
.doc-list {
    display: grid;
    gap: 0.75rem;
}

.doc {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.35rem;
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.doc:hover {
    border-color: var(--gold);
    background: var(--ink-3);
}

.doc__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(232, 163, 61, 0.12);
    color: var(--gold);
    font-family: var(--font-cond);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.doc__body {
    flex: 1;
    min-width: 0;
}

.doc__title {
    font-family: var(--font-cond);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--cream);
}

.doc__desc {
    font-size: 0.875rem;
    color: var(--muted-dim);
}

.doc__arrow {
    color: var(--gold);
    flex-shrink: 0;
}

/* --- 15. Pied de page ------------------------------------------------------ */
.site-footer {
    background: var(--black);
    border-top: 1px solid var(--line-soft);
    padding-block: clamp(3rem, 6vw, 5rem) 2rem;
    font-size: 0.9375rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(11rem, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line-soft);
}

.footer-brand img {
    width: 11rem;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: var(--muted);
    max-width: 26rem;
}

.footer-col h3 {
    font-family: var(--font-cond);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-col a {
    color: var(--muted);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--yellow);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: var(--muted-dim);
}

.footer-legal p {
    margin: 0;
}

.footer-legal nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-legal a {
    color: var(--muted-dim);
    text-decoration: none;
}

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

/* --- 16. Bandeau cookies --------------------------------------------------- */
.cookie-bar {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 1.25rem;
    z-index: 150;
    display: none;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 46rem;
    margin-inline: auto;
    padding: 1.15rem 1.4rem;
    background: rgba(14, 12, 10, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.5);
    font-size: 0.875rem;
    color: var(--muted);
}

.cookie-bar.is-visible {
    display: flex;
}

.cookie-bar p {
    flex: 1;
    min-width: 15rem;
    margin: 0;
}

/* --- 17. En-tete de page interieure ---------------------------------------- */
.page-head {
    position: relative;
    padding-top: clamp(8rem, 14vw, 11rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    background: var(--black);
    border-bottom: 1px solid var(--line-soft);
    overflow: hidden;
}

.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 120% at 85% 0%, rgba(180, 98, 45, 0.24), transparent 60%);
    pointer-events: none;
}

.page-head > * {
    position: relative;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-cond);
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--yellow);
}

/* --- 18. Utilitaires ------------------------------------------------------- */
.empty {
    padding: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    border: 1px dashed var(--line-soft);
    border-radius: var(--radius-lg);
    color: var(--muted);
}

.empty__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.375rem;
    color: var(--cream);
    margin-bottom: 0.6rem;
}

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mt-3 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 3rem;
}

.mb-0 {
    margin-bottom: 0;
}

/* Apparition douce au defilement (desactivee si mouvement reduit) */
.reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- 19. Impression -------------------------------------------------------- */
@media print {
    body {
        background: #fff;
        color: #000;
    }

    body::after,
    .site-header,
    .site-footer,
    .cookie-bar,
    .marquee,
    .hero__media {
        display: none !important;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
