/* ============================================================
   AU BAVAROIS — Design system (porté du DartClub)
   Warm dark wood, gold accents — Cinzel + Inter
   ============================================================ */
/* fonts.css est chargé via <link> dans le <head> (cf. includes/layout.php) pour
   éviter le waterfall @import (fonts.css n'était découvert qu'après parsing de
   site.css). Les deux feuilles se téléchargent désormais en parallèle. */

:root {
    --bg: #110e0a;
    --bg-warm: #1a1510;
    --bg-card: #1e1914;
    --bg-card-hover: #28221a;
    --bg-input: #2a2418;

    --border: #382e24;
    --border-gold: rgba(212, 168, 67, 0.25);

    --gold: #D4A843;
    --gold-light: #e8c870;
    --gold-dark: #b8922e;
    --gold-glow: rgba(212, 168, 67, 0.15);

    --wood: #8B5E34;
    --wood-light: #a67c52;

    --text: #f0e6d6;
    --text-muted: #a89880;
    --text-dark: #8f8270;

    --rank-1: #FFD700; --rank-2: #C0C0C0; --rank-3: #CD7F32;
    --success: #4caf50; --error: #e53935; --warning: #ff9800;

    --radius: 8px; --radius-lg: 12px; --radius-xl: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,168,67,0.1);
    --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
    --font-display: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', -apple-system, sans-serif;

    --space-sm: 8px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px;
}

/* Accessibilité — focus visible + skip link */
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 8px; top: 8px; width: auto; height: auto; overflow: visible; z-index: 9999; background: var(--gold); color: #110e0a; padding: 8px 12px; border-radius: 6px; font-weight: 600; text-decoration: none; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px; line-height: 1.6;
    color: var(--text); background: var(--bg);
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 50% -10%, rgba(212,168,67,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(139,69,19,0.04) 0%, transparent 40%);
}

/* Bandeau « Raute » bleu-blanc (drapeau bavarois) RETIRÉ le 2026-08-17.
   Ce ruban de losanges fixé en haut de l'écran datait le site — le genre de
   décor qu'on trouvait sur les pages des années 2000. L'identité bavaroise
   passe par la carte, les produits et la typographie, pas par un galon. */

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

/* Décalage pour laisser la place au bandeau Raute fixe (12px) */
body { padding-top: 12px; }

/* Header */
.site-header { text-align: center; padding: 0 20px 0; position: relative; }
.site-header .header-logo-link, .site-header h1, .site-header .tagline, .site-header .nav-toggle { padding-top: 0; }
.site-header > :not(.topbar):first-of-type { margin-top: 24px; }
.site-header h1 { font-size: 28px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); text-shadow: 0 0 18px rgba(212,168,67,0.3); }
.site-header .tagline { color: var(--text-muted); font-size: 12px; margin-top: 4px; letter-spacing: 1px; font-style: italic; }
.site-header::after { content: ''; display: block; width: 80px; height: 2px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
/* Logo Au Bavarois dans le header */
.site-header .header-logo-link { display: inline-block; line-height: 0; }
.site-header .header-logo { display: block; margin: 0 auto 8px; height: 72px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
@media (max-width: 800px) { .site-header .header-logo { height: 56px; } }

/* Topbar (langue) */
/* Topbar : sélecteur de langue. À l'intérieur du <header> (landmark banner) pour
   l'accessibilité, mais visuellement collée en haut avec margin négative annulant
   le padding horizontal du header. */
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 6px 20px; background: rgba(42,34,24,0.9); border-bottom: 1px solid rgba(212,168,67,0.15); font-size: 12px; margin: 0 -20px; }
.lang-dd a { color: var(--text-muted); margin-left: 8px; font-weight: 600; }
.lang-dd a.active { color: var(--gold); }

/* Nav */
.site-nav { display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; padding: 14px 20px; }
.site-nav a { padding: 8px 14px; border-radius: 20px; color: var(--text-muted); font-size: 14px; white-space: nowrap; }
.site-nav a:hover { color: var(--text); background: rgba(212,168,67,0.06); }
.site-nav a.active { color: var(--gold); background: var(--gold-glow); box-shadow: 0 0 0 1px var(--border-gold); }

/* Main + footer */
.site-main { max-width: 1100px; margin: 0 auto; padding: 24px 20px 64px; }
.site-footer { text-align: center; padding: 24px 20px; color: var(--text-dark); font-size: 12px; border-top: 1px solid rgba(212,168,67,0.08); margin-top: auto; }
.site-footer a { color: var(--text-muted); margin: 0 8px; }
.site-footer a:hover { color: var(--gold); }

/* Hamburger mobile */
.nav-toggle { display: none; background: none; border: 1px solid var(--border-gold); color: var(--gold); font-size: 22px; padding: 6px 12px; border-radius: 6px; cursor: pointer; margin: 8px auto 0; }
@media (max-width: 800px) {
    body { overflow-x: hidden; }
    .nav-toggle { display: inline-block; }
    .site-nav { display: none; flex-direction: column; gap: 0; background: rgba(26,20,16,0.98); border: 1px solid rgba(212,168,67,0.15); border-radius: 8px; margin: 8px 16px 0; padding: 8px 0; }
    .site-nav.open { display: flex; }
    .site-nav a { width: 100%; text-align: left; border-radius: 0; border-bottom: 1px solid rgba(212,168,67,0.08); padding: 12px 20px; }
    .site-header h1 { font-size: 20px; }
    /* (logo header mobile défini ci-dessus, ne pas dupliquer) */
}

/* Loi Évin — mention sanitaire (CSP L.3323-2) */
.evin-warning { text-align: center; padding: 8px 20px; font-size: 11.5px; color: var(--text-dark); font-style: italic; }

/* ============================================================
   UTILITAIRES — F-01 : remplacement des styles inline répétés
   ============================================================ */

/* Texte & couleur */
.center    { text-align: center; }
.muted     { color: var(--text-muted); }
.muted-dark { color: var(--text-dark); }
.gold      { color: var(--gold); }
.success   { color: var(--success); }
.error     { color: var(--error); }

/* Taille de texte */
.tiny      { font-size: 11px; }
.small     { font-size: 12px; }
.text-sm   { font-size: 13px; }

/* Marges verticales */
.mt-sm     { margin-top: 8px; }
.mt-md     { margin-top: 12px; }
.mt-lg     { margin-top: 16px; }
.mt-xl     { margin-top: 20px; }
.mt-2xl    { margin-top: 24px; }
.mt-3xl    { margin-top: 28px; }
.mt-4xl    { margin-top: 32px; }

/* Sections étroites (centrage horizontal) */
.section-narrow   { max-width: 560px; margin-left: auto; margin-right: auto; }
.section-medium   { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-wide     { max-width: 720px; margin-left: auto; margin-right: auto; }
.section-xwide    { max-width: 760px; margin-left: auto; margin-right: auto; }

/* CTA boutons */
.cta { display: inline-block; border-radius: 8px; font-weight: 700; text-decoration: none; cursor: pointer; transition: opacity var(--transition); }
.cta:hover { opacity: 0.88; }
.cta-primary { padding: 10px 20px; background: var(--gold); color: #110e0a; border: none; margin: 4px; }
.cta-ghost   { padding: 8px 18px; background: transparent; color: var(--gold); border: 1px solid var(--border-gold); border-radius: 20px; margin: 4px; }
.cta-sm      { padding: 8px 16px; font-size: 13px; }
.cta-submit  { width: 100%; padding: 12px; background: var(--gold); color: #110e0a; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* Annonce / bandeau (ex. ce soir) */
.announce-bar { background: var(--gold); color: #110e0a; text-align: center; padding: 10px 20px; font-weight: 700; }

/* Age-gate overlay */
.agegate-overlay { position: fixed; inset: 0; background: rgba(10,7,3,0.97); z-index: 9999; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; text-align: center; padding: 20px; }
.agegate-btn-row { display: flex; gap: 12px; }
.agegate-yes { background: var(--gold); color: #110e0a; border: none; padding: 12px 22px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.agegate-no  { background: transparent; color: var(--text-muted); border: 1px solid var(--border-gold); padding: 12px 22px; border-radius: 8px; }

/* Formulaires */
.form-stack  { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.form-inline { display: flex; gap: 8px; margin-top: 8px; }
.form-input  { padding: 10px; background: var(--bg-input); border: 1px solid var(--border-gold); color: var(--text); border-radius: 6px; }
.form-input--flex { flex: 1; }
.form-btn    { padding: 10px 16px; background: var(--gold); color: #110e0a; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; }
.honeypot    { position: absolute; left: -9999px; }
/* Placeholder lisible : text-muted (ratio 5.48 vs bg-input) au lieu de text-dark (4.10 — sous AA) */
.form-input::placeholder { color: var(--text-muted); opacity: 1; }
/* Label visuellement masqué mais lu par les lecteurs d'écran (a11y) */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Carte catégorie — note courte */
.carte-cat-note { font-size: 13px; color: var(--text-muted); }

/* Galerie */
.galerie-grid   { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; }
.galerie-figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.galerie-img    { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; cursor: zoom-in; }
.galerie-lightbox-trigger { display: block; line-height: 0; }
.galerie-lightbox-trigger:hover .galerie-img { transform: scale(1.02); box-shadow: var(--shadow); }
.galerie-credit { font-size: 11px; color: var(--text-dark); line-height: 1.4; }

/* Lightbox plein écran */
.lightbox { position: fixed; inset: 0; background: rgba(10,7,3,0.96); z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; gap: 14px; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 95%; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lightbox-caption { color: var(--text-muted); font-size: 13px; text-align: center; max-width: 720px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; background: transparent; border: 1px solid var(--border-gold); color: var(--gold); font-size: 28px; line-height: 1; width: 44px; height: 44px; border-radius: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: var(--gold-glow); }
.lightbox-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Poker — pédagogie en 3 étapes */
.poker-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px auto; max-width: 880px; }
.poker-step { padding: 18px 20px; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); text-align: center; position: relative; }
.poker-step-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #110e0a; font-weight: 700; font-size: 18px; font-family: var(--font-display); margin: 0 auto 10px; }
.poker-step h4 { color: var(--gold); font-size: 15px; margin: 0 0 8px; }
.poker-step p { font-size: 13.5px; line-height: 1.5; }
/* Poker — format du tournoi (3 chiffres clés) */
.poker-format { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 18px auto; max-width: 640px; }
.poker-format-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 24px; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); min-width: 140px; }
.poker-format-num { font-family: var(--font-display); font-size: 30px; color: var(--gold); font-weight: 700; line-height: 1; }
.poker-format-item span:last-child { color: var(--text-muted); font-size: 12.5px; text-align: center; }

/* Poker — feuille d'inscription du prochain tournoi (compteur + seuil) */
.poker-inscrits { background: linear-gradient(135deg, rgba(212,168,67,0.14), rgba(212,168,67,0.03)); border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: 22px 20px 18px; text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.poker-inscrits-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin: 0 0 4px; font-weight: 400; font-family: var(--font-body); }
.poker-inscrits-quand { font-size: 15px; color: var(--text); font-weight: 600; margin-bottom: 12px; }
.poker-inscrits-count { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.poker-inscrits-num { font-family: var(--font-display); font-size: 52px; font-weight: 700; color: var(--gold); line-height: 1; }
.poker-inscrits-count span:last-child { font-size: 16px; color: var(--text); font-weight: 600; }
.poker-inscrits-bar { height: 10px; background: rgba(240,230,214,0.12); border-radius: 999px; margin: 14px auto 8px; max-width: 340px; overflow: hidden; }
.poker-inscrits-fill { height: 100%; background: var(--gold); border-radius: 999px; }
.poker-inscrits-fill--ok { background: linear-gradient(90deg, var(--gold), #e8c463); }
.poker-inscrits-msg { font-size: 14.5px; margin: 6px 0 0; }
.poker-inscrits-msg--manque { color: var(--text); font-weight: 600; }
.poker-inscrits-msg--ok { color: var(--gold); font-weight: 700; }
.poker-inscrits-liste { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 14px 0 0; }
.poker-inscrits-liste li { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--text-muted); }
.poker-inscrits-arrivee { font-size: 13px; color: var(--text-muted); margin: 12px 0 0; }

/* Dart Liga — bandeau prochaine soirée */
.liga-next { background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(212,168,67,0.02)); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); padding: 16px 20px; text-align: center; max-width: 480px; margin: 0 auto; }
.liga-next-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 6px; }
.liga-next-date  { font-size: 18px; color: var(--text); font-weight: 600; }
.liga-next-title { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* Dart Liga — podium top 3 médaillé */
.liga-podium { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 18px auto; max-width: 720px; }
.liga-podium-card { flex: 1 1 180px; max-width: 220px; min-width: 160px; padding: 18px 12px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center; transition: transform var(--transition); }
.liga-podium-card:hover { transform: translateY(-2px); }
.liga-podium-card--p1 { border-color: var(--rank-1); border-width: 2px; background: linear-gradient(180deg, rgba(255,215,0,0.14), var(--bg-card)); }
.liga-podium-card--p2 { border-color: var(--rank-2); background: linear-gradient(180deg, rgba(192,192,192,0.10), var(--bg-card)); }
.liga-podium-card--p3 { border-color: var(--rank-3); background: linear-gradient(180deg, rgba(205,127,50,0.10), var(--bg-card)); }
.liga-podium-medal { font-size: 32px; line-height: 1; margin-bottom: 4px; }
.liga-podium-pos   { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; }
.liga-podium-nom   { color: var(--text); font-weight: 600; margin-top: 4px; word-break: break-word; }
.liga-podium-pts   { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }

/* Classement podium (dart-liga + home widget) */
.standings-list { margin-top: 8px; }
.standings-row  { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border-gold); }
.standings-pos  { color: var(--gold); font-weight: 700; min-width: 28px; display: inline-block; }
.standings-nom  { color: var(--text-muted); }
.standings-pts  { color: var(--gold); font-weight: 600; }
.standings-sub  { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }

/* Info cards (tokens.php) */
.info-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.info-card  { background: rgba(212,168,67,0.08); border: 1px solid var(--border-gold); border-radius: 8px; padding: 14px 18px; }
.info-card p { color: var(--text-muted); margin: 0; }

/* Sondage */
.poll-question  { text-align: center; font-weight: 600; }
.poll-form      { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.poll-btn       { padding: 10px; background: var(--bg-input); border: 1px solid var(--border-gold); color: var(--text); border-radius: 6px; cursor: pointer; width: 100%; text-align: left; }
.poll-result    { margin: 8px 0; }
.poll-result-row { display: flex; justify-content: space-between; }
.poll-pct       { color: var(--gold); }
.poll-bar-wrap  { height: 10px; background: var(--bg-input); border-radius: 5px; overflow: hidden; }
.poll-bar       { height: 100%; background: var(--gold-dark); transition: width .8s cubic-bezier(.4,0,.2,1); }
.poll-result--winner .poll-bar { background: linear-gradient(90deg, var(--gold), var(--gold-light)); box-shadow: 0 0 12px var(--gold-glow); }
.poll-result--winner .poll-pct { color: var(--gold-light); font-weight: 700; }
.poll-winner-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; background: var(--gold); color: #110e0a; border-radius: 8px; font-weight: 700; }
.poll-thanks    { text-align: center; color: var(--text-muted); font-size: 12px; margin-top: 14px; }

/* Horaires (contact.php) */
.hours-table        { margin: 0 auto; color: var(--text-muted); }
.hours-table td     { padding: 2px 10px; }
.hours-table .day   { text-align: right; }
.hours-table .time  { text-align: left; }

/* Contact — badge « ouvert maintenant / fermé » en temps réel */
.open-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 16px; font-size: 13px; font-weight: 600; margin: 12px 0; border: 1px solid; }
.open-badge.open    { color: var(--success); border-color: var(--success); background: rgba(76,175,80,0.08); }
.open-badge.closed  { color: var(--text-muted); border-color: var(--border-gold); background: rgba(212,168,67,0.05); }
.open-badge .open-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.open .open-dot { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

/* Contact — boutons itinéraire */
.itineraire-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* Avis Google — preuve sociale (page contact) */
.google-reviews { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 12px; }
.google-reviews-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 24px; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); text-decoration: none; min-width: 220px; transition: transform .2s, box-shadow .2s; }
.google-reviews-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.google-reviews-rating { display: flex; align-items: baseline; gap: 6px; }
.google-reviews-num { font-size: 28px; font-weight: 700; color: var(--gold); font-family: var(--font-display); }
.google-reviews-stars { color: var(--gold); font-size: 18px; letter-spacing: 1px; }
.google-reviews-max { color: var(--text-dark); font-size: 13px; }
.google-reviews-meta { color: var(--text-muted); font-size: 13px; }

/* Contact — carte Leaflet */
.contact-map { width: 100%; height: 320px; border-radius: var(--radius); border: 1px solid var(--border-gold); overflow: hidden; }
.contact-map .leaflet-control-attribution { font-size: 10px; }

/* Lien discret small */
.link-sm { font-size: 13px; }

/* Note finale italique (histoire.php) */
.section-note { color: var(--text-dark); font-size: 13px; font-style: italic; text-align: center; margin-top: 32px; border-top: 1px solid var(--border-gold); padding-top: 16px; }

/* Newsletter — pages confirm/unsubscribe (statut visuel) */
.nl-status-msg { font-size: 17px; margin: 16px 0; }

/* Photos d'archives presse — histoire.php */
.histoire-photo { margin: 18px auto; max-width: 480px; }
.histoire-photo img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border-gold); display: block; }
.histoire-photo figcaption { color: var(--text-dark); font-size: 12px; font-style: italic; text-align: center; margin-top: 6px; }
.histoire-photo-portrait { max-width: 320px; }

/* Citations de presse — histoire.php */
.histoire-quote { border-left: 3px solid var(--gold); padding: 8px 16px; margin: 16px 0; background: rgba(212,168,67,0.05); border-radius: 4px; }
.histoire-quote p { color: var(--text); font-style: italic; font-size: 16px; line-height: 1.5; }
.histoire-quote footer { color: var(--text-muted); font-size: 12px; margin-top: 6px; font-style: normal; }
.histoire-quote footer cite { font-style: normal; }
.histoire-quote footer a { color: var(--gold); text-decoration: underline; }

/* Allgäuer — titre grand */
.page-title-xl { font-size: 30px; color: var(--gold); }
.lead-text      { font-size: 17px; color: var(--text); }
.gold-bold      { color: var(--gold); font-weight: 600; }
.allgauer-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 24px auto; max-width: 600px; }
.allgauer-stat  { display: flex; flex-direction: column; align-items: center; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); min-width: 120px; }
.allgauer-stat-num { font-family: var(--font-display); font-size: 36px; color: var(--gold); line-height: 1; font-weight: 700; }
.allgauer-stat-lab { font-size: 12px; color: var(--text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }
.allgauer-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.allgauer-stat--total { background: linear-gradient(180deg, rgba(212,168,67,0.18), var(--bg-card)); border-color: var(--gold); }

/* ═══ Quiz schnaps ═══════════════════════════════════════════════════════════ */
.quiz-form { max-width: 680px; margin: 24px auto; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.quiz-question { border: 1px solid var(--border-gold); border-radius: var(--radius-lg); padding: 18px 22px; background: var(--bg-card); }
.quiz-question legend { color: var(--gold); font-weight: 600; padding: 0 10px; font-size: 15px; line-height: 1.4; }
.quiz-option { display: flex; align-items: flex-start; gap: 12px; padding: 10px 4px; cursor: pointer; border-radius: 6px; transition: background .15s; }
.quiz-option:hover { background: rgba(212,168,67,0.06); }
.quiz-option input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.quiz-option span { color: var(--text); line-height: 1.5; text-align: left; }
.quiz-option:hover span { color: var(--gold-light); }
.quiz-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.quiz-result-card { position: relative; padding: 16px 18px; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); }
.quiz-result-card--top { border-color: var(--gold); background: linear-gradient(180deg, rgba(212,168,67,0.15), var(--bg-card)); }
.quiz-result-badge { position: absolute; top: -10px; right: 14px; padding: 3px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; background: var(--gold); color: #110e0a; border-radius: 10px; font-weight: 700; }
.quiz-result-nom { color: var(--gold); margin: 0; font-size: 18px; }
.quiz-result-desc { color: var(--text-muted); font-size: 13px; margin-top: 6px; line-height: 1.5; }
.quiz-result-groupe { margin-top: 8px; font-style: italic; }

/* ═══ Cocktail Mixer ════════════════════════════════════════════════════════ */
.mixer-form { max-width: 760px; margin: 24px auto; }
.mixer-ingredients { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.mixer-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border: 1px solid var(--border-gold); border-radius: 20px; cursor: pointer; transition: all .2s; font-size: 13px; color: var(--text-muted); user-select: none; }
.mixer-chip:hover { border-color: var(--gold); color: var(--text); }
.mixer-chip input { position: absolute; opacity: 0; pointer-events: none; }
.mixer-chip--on,
.mixer-chip:has(input:checked) { background: var(--gold); color: #110e0a; border-color: var(--gold); font-weight: 600; }
.mixer-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text-muted); }
.mixer-toggle input { accent-color: var(--gold); width: 18px; height: 18px; }
.mixer-controls { text-align: center; }
.mixer-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.mixer-card { padding: 16px 18px; background: var(--bg-card); border: 1px solid var(--border-gold); border-left: 3px solid var(--gold); border-radius: var(--radius-lg); }
.mixer-card-nom { color: var(--gold); margin: 0; font-size: 18px; }
.mixer-card-desc { color: var(--text-muted); font-size: 13px; margin-top: 6px; line-height: 1.5; }
.mixer-card-matches { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mixer-match-tag { padding: 2px 8px; font-size: 11px; background: var(--gold-glow); color: var(--gold); border-radius: 8px; border: 1px solid var(--border-gold); }

/* Agenda — heure */
.agenda-time { color: var(--text-muted); }

/* Alignement */
.right  { text-align: right; }
.left   { text-align: left; }

/* Catégories carte (aperçu home) */
.cat-pill { display: inline-block; margin: 4px 8px; }

/* Paragraphe centré avec max-width (teaser histoire) */
.teaser-p { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Lien couleur hérité (h1 header) */
.link-inherit { color: inherit; }

/* Accessibilité : respect de « réduire les animations » (WCAG 2.3.3).
   Neutralise le clignotement du point « ouvert », le scroll fluide et les
   transitions pour les personnes sensibles au mouvement (vestibulaire, migraines). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Bandeau « site en construction » ──────────────────────────────────────
   Protection juridique : requalifie les informations affichées en indicatives.
   Volontairement NON fermable — un bandeau qu'on peut masquer ne prouve rien. */
.site-construction {
    position: relative;
    background: linear-gradient(135deg, #d4a843 0%, #e8c368 45%, #d4a843 100%);
    color: #17120c;
    padding: 30px 20px 26px;
    text-align: center;
    border-bottom: 4px solid #17120c;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .55);
}
/* Rubalise de chantier, en CSS pur — aucune image à charger. */
.site-construction::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 9px;
    background: repeating-linear-gradient(45deg, #17120c 0 14px, #d4a843 14px 28px);
}
.site-construction strong {
    display: block;
    font-family: var(--font-display), 'Cinzel', Georgia, serif;
    font-size: clamp(22px, 4.4vw, 34px);
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.15;
    margin-bottom: 10px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
.site-construction span {
    display: block;
    max-width: 880px;
    margin: 0 auto;
    font-size: clamp(13.5px, 1.7vw, 16px);
    line-height: 1.55;
    font-weight: 500;
}
@media (max-width: 600px) {
    .site-construction { padding: 24px 14px 20px; }
    .site-construction strong { letter-spacing: .12em; }
}
