/* ==========================================================================
   Champagne Poker Club — feuille de style v2
   Une seule feuille pour toutes les pages publiques (l'admin garde styles.css)
   ========================================================================== */

:root {
    --bg: #0a0c10;
    --bg-2: #0f1218;
    --surface: #151922;
    --surface-2: #1c212d;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);

    --text: #ece8df;
    --muted: #a39f95;

    --gold: #d6b46a;
    --gold-light: #f0d898;
    --gold-soft: rgba(214, 180, 106, 0.12);
    --red: #c8102e;
    --red-light: #e5384f;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --header-h: 76px;
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(214, 180, 106, 0.07), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(200, 16, 46, 0.06), transparent 60%),
        var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

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

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 .6em;
    color: #fff;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { color: #fff; font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

::selection { background: var(--gold); color: #111; }

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

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 20%, rgba(255, 255, 255, 0.02) 80%, transparent); }

.text-center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}
.text-center .eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* --- Boutons ------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: .85em 1.6em;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #17130a;
    box-shadow: 0 10px 30px -12px rgba(214, 180, 106, 0.65);
}
.btn--gold:hover { color: #17130a; box-shadow: 0 14px 36px -12px rgba(214, 180, 106, 0.85); }

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-strong);
    color: #fff;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-center .btn-row { justify-content: center; }

/* --- En-tête ------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 12, 16, 0.78);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 50px; height: 50px; }
.brand__name {
    font-family: var(--font-display);
    font-size: 1.12rem;
    line-height: 1.05;
    font-weight: 600;
}
.brand__name em {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
    position: relative;
    display: block;
    padding: 8px 12px;
    color: var(--text);
    font-size: .9rem;
    font-weight: 500;
    border-radius: 999px;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 1px;
    background: var(--gold);
}
.site-nav a.nav-cta {
    margin-left: 8px;
    padding: 8px 18px;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.site-nav a.nav-cta:hover { background: var(--gold); color: #17130a; }
.site-nav a.nav-cta[aria-current="page"]::after { display: none; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .nav-burger { display: inline-flex; }
    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg);
        box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.8);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 0; }
    .site-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .site-nav a[aria-current="page"]::after { display: none; }
    .site-nav a.nav-cta { margin: 16px 0 0; text-align: center; border-radius: 999px; border-bottom: 1px solid var(--gold); }
    .nav-toggle:checked ~ .site-nav { max-height: 520px; border-bottom: 1px solid var(--line); }
    .nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--gold); outline-offset: 3px; }
}

/* --- Accueil : hero ------------------------------------------------------ */

.hero {
    position: relative;
    min-height: min(88vh, 760px);
    display: flex;
    align-items: flex-end;
    background-color: var(--bg-2);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 12, 16, 0.55) 0%, rgba(10, 12, 16, 0.35) 35%, rgba(10, 12, 16, 0.92) 85%, var(--bg) 100%),
        linear-gradient(90deg, rgba(10, 12, 16, 0.85) 0%, rgba(10, 12, 16, 0.2) 70%);
}
.hero__content { padding-top: 120px; padding-bottom: clamp(56px, 8vw, 96px); max-width: 760px; }
.hero h1 { margin-bottom: .4em; }
.hero h1 span { color: var(--gold); font-style: italic; }
.hero__text { font-size: 1.08rem; color: #d9d5cc; margin-bottom: 2rem; }
.hero__text p:last-child { margin-bottom: 0; }

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: -1px;
}
.fact {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 26px 24px;
    background: var(--surface);
}
.fact i {
    flex: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 1.05rem;
}
.fact strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.fact span { color: var(--muted); font-size: .92rem; }

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

/* Téléphone : la bannière (image carrée) s'affiche en entier en haut, le texte passe dessous */
@media (max-width: 700px) {
    .hero {
        min-height: 0;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
    }
    .hero::before {
        background: linear-gradient(180deg, rgba(10, 12, 16, 0) 0, rgba(10, 12, 16, 0.15) 55vw, var(--bg) 92vw, var(--bg) 100%);
    }
    .hero__content { padding-top: 72vw; padding-bottom: 48px; }
}

/* --- Sections en deux colonnes (texte + image) --------------------------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split--reverse .split__media { order: -1; }

.split__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
}
.split__media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}
.split__media img { width: 100%; height: auto; transition: transform .6s ease; }
.split__media:hover img { transform: scale(1.03); }

.split__title {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin-bottom: .5em;
}
.split__lead { display: block; color: var(--gold-light); font-weight: 600; margin-bottom: 1em; }
.split__body { color: #cfcbc2; }
.split__body p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
}

/* --- Cartes -------------------------------------------------------------- */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
    position: relative;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(214, 180, 106, 0.35); }
.card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 18px;
}
.card h2, .card h3 { font-size: 1.35rem; margin-bottom: .7em; }
.card h4 {
    font-family: var(--font-body);
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 1.4em 0 .5em;
}
.card p, .card li { color: #cfcbc2; font-size: .96rem; }
.card > :last-child { margin-bottom: 0; }

.chips { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.chips li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    font-size: .92rem;
}
.chips li strong { color: var(--gold-light); white-space: nowrap; }

.note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(200, 16, 46, 0.1);
    border: 1px solid rgba(200, 16, 46, 0.35);
    color: #f1d5d9;
    font-size: .92rem;
}
.note i { color: var(--red-light); margin-top: 4px; }
.note p { margin: 0; color: inherit; }
.note p + p { margin-top: .4em; }
.note--gold { background: var(--gold-soft); border-color: rgba(214, 180, 106, 0.35); color: #eee2c4; }
.note--gold i { color: var(--gold); }

/* --- Bandeau d'appel à l'action ------------------------------------------ */

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) + 6px);
    padding: clamp(36px, 6vw, 64px);
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(214, 180, 106, 0.18), transparent 70%),
        radial-gradient(500px 300px at 0% 100%, rgba(200, 16, 46, 0.16), transparent 70%),
        var(--surface);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}
.cta-band h2 { margin-bottom: .35em; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) {
    .cta-band { grid-template-columns: 1fr; }
    .cta-band .btn-row { justify-content: flex-start; }
}

/* --- Logos partenaires --------------------------------------------------- */

.logo-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.logo-wall .logo-tile { flex: 0 1 240px; }
.logo-tile {
    display: grid;
    place-items: center;
    aspect-ratio: 3 / 2;
    padding: 22px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.logo-tile:hover { transform: translateY(-3px); border-color: rgba(214, 180, 106, 0.4); box-shadow: 0 16px 30px -18px rgba(214, 180, 106, 0.6); }
.logo-tile img { max-height: 92px; width: auto; object-fit: contain; }
.logo-tile--light { background: #f4f1ea; }

.partner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: center;
}
.partner .logo-tile { aspect-ratio: 3 / 2; }
.partner h3 { margin-bottom: .3em; }
.partner p { margin: 0; color: #cfcbc2; font-size: .96rem; }
@media (max-width: 600px) {
    .partner { grid-template-columns: 1fr; }
    .partner .logo-tile { max-width: 220px; }
}

/* --- En-tête des pages intérieures --------------------------------------- */

.page-hero {
    padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px);
    text-align: center;
}
.page-hero h1 { margin-bottom: .35em; }
.page-hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }

/* --- Tableau de structure ------------------------------------------------ */

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    font-size: .95rem;
    min-width: 560px;
}
.table caption {
    caption-side: top;
    text-align: left;
    padding: 18px 20px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: #fff;
    border-bottom: 1px solid var(--line);
}
.table th {
    text-align: center;
    padding: 14px 12px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--line);
}
.table td { text-align: center; padding: 12px; border-bottom: 1px solid var(--line); color: #dcd8cf; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, 0.03); }
.table tr.is-break td { background: rgba(200, 16, 46, 0.12); color: #fff; }
.table tr.is-break td:last-child { color: var(--red-light); font-weight: 600; }

/* --- Le bureau ----------------------------------------------------------- */

.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.team .member { flex: 1 1 200px; max-width: 232px; }
@media (max-width: 480px) { .team .member { flex-basis: 160px; padding-left: 12px; padding-right: 12px; } }
.member {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px 26px;
    border-radius: var(--radius);
    background:
        radial-gradient(220px 140px at 50% 0%, rgba(214, 180, 106, 0.10), transparent 70%),
        linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.member:hover {
    border-color: rgba(214, 180, 106, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 24px 40px -24px rgba(214, 180, 106, 0.35);
}
.member__photo {
    width: 148px;
    height: 148px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--red));
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.8);
}
.member__photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--surface);
}
.member__role {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    line-height: 1.6;
    min-height: 3.2em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.member__name { font-family: var(--font-display); font-size: 1.55rem; color: #fff; margin: 0 0 18px; }

/* Les deux cartes en éventail, comme une main tenue à la table */
.member__hand {
    margin-top: auto;
    display: flex;
    justify-content: center;
    height: 76px;
    cursor: default;
}
.member__hand img {
    width: 64px;
    height: 64px;
    transform-origin: 50% 110%;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45));
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.member__hand img:first-child { transform: rotate(-9deg) translateX(10px); }
.member__hand img:last-child { transform: rotate(9deg) translateX(-10px); }
.member:hover .member__hand img:first-child { transform: rotate(-16deg) translate(2px, -6px); }
.member:hover .member__hand img:last-child { transform: rotate(16deg) translate(-2px, -6px); }

@media (prefers-reduced-motion: reduce) {
    .member:hover { transform: none; }
    .member:hover .member__hand img:first-child { transform: rotate(-9deg) translateX(10px); }
    .member:hover .member__hand img:last-child { transform: rotate(9deg) translateX(-10px); }
}

/* --- Actualités ---------------------------------------------------------- */

.news-list { display: grid; gap: 24px; }
.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    padding: 20px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
}
.news-item__media {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    align-self: start;
    background: var(--bg-2);
}
.news-item__media img { width: 100%; height: auto; }
.news-item__date { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .5em; }
.news-item__title { font-size: 1.6rem; margin-bottom: .5em; }
.news-item__content { color: #cfcbc2; }
.news-item__content > :last-child { margin-bottom: 0; }
.news-empty { text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 760px) {
    .news-item { grid-template-columns: 1fr; }
}

/* --- Formulaire de contact ----------------------------------------------- */

.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-list i {
    flex: none;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold);
}
.contact-list span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list strong { color: #fff; font-weight: 500; word-break: break-word; }
.contact-list a:hover { color: var(--gold-light); }

.form { display: grid; gap: 18px; }
.form label { display: block; font-size: .85rem; font-weight: 500; color: #cfcbc2; margin-bottom: 6px; }
.form input, .form textarea {
    width: 100%;
    padding: 13px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { min-height: 170px; resize: vertical; }
.form input:focus, .form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(214, 180, 106, 0.2);
}
.form .btn { justify-self: start; }

/* --- Pages de texte (mentions, confidentialité) -------------------------- */

.prose { color: #d3cfc6; }
.prose h2 {
    display: flex;
    align-items: center;
    gap: .55em;
    font-size: 1.35rem;
    margin-top: 2.2em;
    padding-top: 1.4em;
    border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2 i { color: var(--gold); font-size: .9em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.def-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 1em; }
.def-list dt { color: var(--muted); }
.def-list dd { margin: 0; color: #fff; }
@media (max-width: 560px) { .def-list { grid-template-columns: 1fr; gap: 2px; } .def-list dd { margin-bottom: 10px; } }

/* --- Carte (Google Maps) ------------------------------------------------- */

.map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
}
.map iframe { display: block; width: 100%; height: 440px; border: 0; }

/* --- 404 ----------------------------------------------------------------- */

.error-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 0;
}
.error-page__code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 16vw, 9rem);
    line-height: 1;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .1em;
}
.error-page p { color: var(--muted); max-width: 520px; margin: 0 auto 2rem; }

/* --- Pied de page -------------------------------------------------------- */

.site-footer {
    margin-top: clamp(56px, 8vw, 96px);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, var(--bg-2), #07080b);
    font-size: .93rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding: 64px 0 48px;
}
.site-footer h4 {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer__about p { color: var(--muted); margin: 16px 0 20px; max-width: 280px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); }
.site-footer__contact i { color: var(--gold); width: 16px; text-align: center; }

.social-link {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    color: #fff !important;
    transition: background .2s ease, border-color .2s ease;
}
.social-links { display: flex; gap: 10px; }
.social-link--facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-link--instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: #d6249f;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .82rem;
}
.site-footer__bottom ul { display: flex; gap: 20px; }
.site-footer__bottom li { margin: 0; }

@media (max-width: 960px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Apparition au défilement -------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover, .member:hover, .logo-tile:hover { transform: none; }
    .split__media:hover img { transform: none; }
}

/* --- Lightbox : rendre la légende lisible -------------------------------- */

.lb-data .lb-caption { font-family: var(--font-body); font-weight: 500; }

/* --- Règlement : sommaire + articles ------------------------------------- */

.rules-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}
.toc {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow-y: auto;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: .88rem;
}
.toc h2 {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1em;
}
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--muted);
    line-height: 1.35;
}
.toc a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.toc a span { color: var(--gold); font-weight: 600; margin-right: 6px; }

.rules { display: grid; gap: 20px; min-width: 0; }
.rules section { scroll-margin-top: calc(var(--header-h) + 20px); }
.rules section > h2 { display: flex; align-items: baseline; gap: .5em; font-size: 1.6rem; }
.rules section > h2 span { color: var(--gold); font-size: .8em; }
.rule { padding-top: 1.2em; margin-top: 1.2em; border-top: 1px solid var(--line); }
.rule:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.rule h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: .5em;
}
.rule p, .rule li { color: #d3cfc6; font-size: .96rem; }
.rule > :last-child { margin-bottom: 0; }

.table--compact { min-width: 0; }
.table--compact th, .table--compact td { text-align: left; padding: 10px 14px; }
.rule .table-wrap { margin: 1em 0; }

.updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.4rem;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(214, 180, 106, 0.35);
    background: var(--gold-soft);
    color: var(--gold-light);
    font-size: .82rem;
    font-weight: 500;
}

@media (max-width: 960px) {
    .rules-layout { grid-template-columns: 1fr; }
    .toc { position: static; max-height: none; }
    .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
}
@media (max-width: 520px) {
    .toc ol { grid-template-columns: 1fr; }
}

/* --- Jouer responsable --------------------------------------------------- */

.responsible {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: center;
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--radius);
    background:
        radial-gradient(500px 240px at 0% 0%, rgba(200, 16, 46, 0.18), transparent 70%),
        var(--surface);
    border: 1px solid rgba(200, 16, 46, 0.3);
}
.responsible h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3em; }
.responsible h2 em { color: var(--red-light); font-style: normal; }
.responsible p { color: #d3cfc6; margin: 0; }
.responsible__help {
    text-align: center;
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(214, 180, 106, 0.4);
}
.responsible__help span { display: block; font-size: .8rem; color: var(--muted); }
.responsible__help a.phone {
    display: inline-block;
    margin: 6px 0;
    padding: 6px 16px;
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.responsible__help a.phone:hover { background: var(--red-light); color: #fff; }
@media (max-width: 760px) { .responsible { grid-template-columns: 1fr; } }
