/* L'Artiste dont vous êtes le héros — styles partagés + HUD RPG (soft) */
:root {
    --gold: #b8922d;
    --gold-pale: #e8d898;
    --gold-bg: rgba(184, 146, 45, 0.04);
    --black: #0a0a0a;
    --white: #fff;
    --off-white: #faf9f6;
    --cream: #f5f3ee;
    --gray-light: #e8e6e0;
    --gray-mid: #8a8780;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--gold); color: var(--white); }
body.ah-body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--black);
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.65;
    padding-top: 52px;
}
@media (max-width: 600px) {
    body.ah-body { padding-top: 48px; }
}

/* ═══ HUD RPG ═══ */
.ah-hud {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 16px;
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.98), rgba(250, 249, 246, 0.92));
    border-bottom: 1px solid var(--gray-light);
    backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.04em;
}
.ah-hud-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.ah-hud-grade {
    color: var(--black);
    font-weight: 700;
    max-width: 42vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ah-hud-grade span { color: var(--gold); font-weight: 800; }
.ah-hud-season {
    color: var(--gray-mid);
    border: 1px solid var(--gray-light);
    border-radius: 999px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.7);
}
.ah-hud-season strong { color: var(--black); }
.ah-hud-xp-wrap { min-width: 120px; flex: 1; max-width: 220px; }
.ah-hud-xp-label { display: flex; justify-content: space-between; color: var(--gray-mid); margin-bottom: 3px; }
.ah-hud-xp-bar {
    height: 5px;
    background: var(--gray-light);
    border-radius: 3px;
    overflow: hidden;
}
.ah-hud-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #d4a832);
    border-radius: 3px;
    transition: width 0.5s var(--ease);
}
.ah-hud-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ah-hud-btn {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 12px;
    border: 1.5px solid var(--gold);
    background: var(--white);
    color: var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.ah-hud-btn:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}
.ah-hud-link {
    font-size: 0.52rem;
    color: var(--gray-mid);
    text-decoration: none;
}
.ah-hud-link:hover { color: var(--gold); }

/* Toast */
.ah-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    z-index: 1000;
    padding: 12px 20px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
    max-width: 90vw;
    text-align: center;
    line-height: 1.45;
}
.ah-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.ah-toast strong { color: var(--gold); }

/* Modal inventaire */
.ah-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ah-modal-overlay.visible { display: flex; }
.ah-modal {
    background: var(--white);
    border-radius: 10px;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    animation: ahPop 0.35s var(--ease);
}
@keyframes ahPop {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.ah-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--gray-light);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}
.ah-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--cream);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--gray-mid);
}
.ah-modal-close:hover { background: var(--black); color: var(--white); }
.ah-modal-body {
    padding: 14px 18px 18px;
    overflow-y: auto;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #333;
}
.ah-modal-stats {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--gray-mid);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--gray-light);
}
.ah-modal-badges { margin-bottom: 12px; }
.ah-modal-badges-head {
    font-family: var(--font-mono);
    font-size: 0.53rem;
    color: var(--gray-mid);
    margin-bottom: 8px;
}
.ah-modal-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}
.ah-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--gray-light);
    border-radius: 7px;
    padding: 6px 8px;
    font-family: var(--font-mono);
    font-size: 0.48rem;
    color: var(--gray-mid);
    background: var(--off-white);
}
.ah-badge.is-ok {
    border-color: rgba(184, 146, 45, 0.45);
    color: #6e5920;
    background: rgba(184, 146, 45, 0.08);
}
.ah-badge-dot { width: 12px; text-align: center; font-weight: 700; }
.ah-badge-title { line-height: 1.2; }
.ah-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}
.ah-item:last-child { border-bottom: none; }
.ah-item-name {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.ah-item-desc { font-size: 0.82rem; color: #444; line-height: 1.5; }
.ah-item-locked {
    opacity: 0.45;
    font-style: italic;
    font-size: 0.78rem;
    color: var(--gray-mid);
}
.ah-item--with-thumb {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ah-item-thumb-wrap {
    flex-shrink: 0;
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    background: var(--cream);
}
.ah-item-thumb-wrap:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.ah-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ah-item-body { min-width: 0; flex: 1; }

/* Bibliothèque documentaire — cartes visuelles */
.ah-biblio-intro { font-size: 0.92rem; color: #444; margin-bottom: 24px; line-height: 1.6; }
.ah-biblio-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.ah-biblio-card {
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.ah-biblio-card.unlocked { border-left: 3px solid var(--gold); }
.ah-biblio-card.unlocked:hover {
    border-color: rgba(184, 146, 45, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.ah-biblio-card.locked { opacity: 0.6; background: var(--cream); }
.ah-biblio-card.locked .ah-item-name { color: var(--gray-mid); }
.ah-biblio-fig {
    margin: 0;
    background: linear-gradient(160deg, #f0ebe3, var(--cream));
    position: relative;
}
.ah-biblio-fig a {
    display: block;
    line-height: 0;
    overflow: hidden;
    max-height: 220px;
}
.ah-biblio-fig img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.35s var(--ease);
}
.ah-biblio-fig img.ah-biblio-img-fallback {
    object-fit: contain;
    object-position: center center;
    background: #f6f4ee;
    padding: 10px;
}
.ah-biblio-card.unlocked .ah-biblio-fig a:hover img {
    transform: scale(1.03);
}
.ah-biblio-cap {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--gray-mid);
    line-height: 1.45;
    padding: 8px 12px 10px;
    border-top: 1px solid rgba(232, 230, 224, 0.9);
}
.ah-biblio-cap a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}
.ah-biblio-cap a:hover { text-decoration: underline; }
.ah-biblio-cap--warn {
    color: #8a6f26;
    font-weight: 700;
}
.ah-biblio-card-inner {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ah-biblio-placeholder {
    min-height: 160px;
    background: repeating-linear-gradient(
        -12deg,
        var(--gray-light) 0,
        var(--gray-light) 6px,
        #ebe8e0 6px,
        #ebe8e0 12px
    );
    position: relative;
}
.ah-biblio-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(245, 243, 238, 0.85));
}
.ah-biblio-meta { font-family: var(--font-mono); font-size: 0.5rem; color: var(--gray-mid); margin-top: 10px; }
.ah-biblio-meta--xp { color: var(--gold); font-weight: 700; }
.ah-biblio-lock-msg { color: #555; }
.ah-biblio-id {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: #6d6d6d;
}
.ah-biblio-id code {
    font-size: 0.49rem;
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 6px;
    border-radius: 999px;
}
.ah-biblio-id-warn {
    color: #8a6f26;
    font-weight: 700;
}
.ah-biblio-card--invalid-img {
    box-shadow: inset 0 0 0 1px rgba(138, 111, 38, 0.25);
}
.ah-biblio-card--img-load-fail {
    box-shadow: inset 0 0 0 2px rgba(192, 57, 43, 0.4);
}
.ah-biblio-card--img-load-fail .ah-biblio-fig img {
    opacity: 0.35;
}
.ah-biblio-diag-hint {
    display: inline;
    color: #666;
}
.ah-biblio-card--hidden { display: none !important; }

.ah-biblio-toolbar {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ah-biblio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.ah-biblio-filter {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--gray-light);
    background: var(--white);
    color: var(--gray-mid);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ah-biblio-filter:hover {
    border-color: rgba(184, 146, 45, 0.45);
    color: var(--black);
}
.ah-biblio-filter.is-active {
    background: linear-gradient(145deg, rgba(184, 146, 45, 0.12), var(--white));
    border-color: rgba(184, 146, 45, 0.55);
    color: var(--black);
}
.ah-biblio-filter--warn {
    border-color: rgba(138, 111, 38, 0.35);
    color: #7a611f;
}
.ah-biblio-progress {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--gray-mid);
    margin: 0;
}
.ah-biblio-diag {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: #5f5f5f;
    background: rgba(184, 146, 45, 0.08);
    border: 1px solid rgba(184, 146, 45, 0.25);
    border-radius: 8px;
    padding: 8px 10px;
}
.ah-biblio-copy {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 0.48rem;
    border: 1px solid rgba(184, 146, 45, 0.35);
    border-radius: 999px;
    background: var(--white);
    color: #6f5a20;
    padding: 4px 8px;
    cursor: pointer;
}
.ah-biblio-copy:hover { border-color: rgba(184, 146, 45, 0.6); }
.ah-biblio-theme-tag {
    font-family: var(--font-mono);
    font-size: 0.48rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(184, 146, 45, 0.85);
    padding: 8px 14px 0;
    background: linear-gradient(180deg, rgba(184, 146, 45, 0.06), transparent);
}
.ah-biblio-card.locked .ah-biblio-theme-tag {
    color: var(--gray-mid);
}

/* Page layout (comme avant) */
.page-header {
    text-align: center;
    padding: 36px 24px 28px;
    border-bottom: 1px solid var(--gray-light);
}
.page-header a { text-decoration: none; color: var(--black); }
.page-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}
.page-logo em { color: var(--gold); font-style: italic; }
.page-logo .logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    margin: 0 6px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}
.page-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.page-nav a {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold);
    text-decoration: none;
    padding: 8px 16px;
    border: 1.5px solid var(--gold);
    border-radius: 4px;
    transition: all 0.3s;
}
.page-nav a:hover {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}
.content { max-width: 720px; margin: 0 auto; padding: 32px 24px 48px; }
.ah-kicker {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-mid);
    text-align: center;
    margin-bottom: 10px;
}
.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.5vw, 2.6rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.2;
}
.page-title strong { font-weight: 700; color: var(--gold); }
.ah-chapter-h2 {
    font-size: clamp(1.5rem, 3.8vw, 2.1rem);
    margin-bottom: 8px;
}
.ah-ep {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.06em;
}
.ah-note {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--gray-mid);
    text-align: center;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--gold-bg);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
    line-height: 1.5;
}
.ah-section-label {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 28px 0 10px;
}
.ah-text p { margin-bottom: 14px; font-size: 0.98rem; color: #2a2a2a; }
.ah-text p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.1rem;
    font-weight: 600;
    float: left;
    line-height: 0.85;
    margin: 4px 10px 0 0;
    color: var(--gold);
}
.ah-learn, .ah-fact {
    font-size: 0.88rem;
    color: #444;
    padding: 16px 18px;
    background: var(--cream);
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    margin-top: 8px;
}
.ah-learn strong, .ah-fact strong { color: var(--black); }
.ah-choices { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.ah-choice {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 16px 18px;
    border: 1.5px solid var(--gray-light);
    border-radius: 8px;
    background: var(--white);
    transition: all 0.25s var(--ease);
}
.ah-choice:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}
.ah-choice-key {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}
.ah-choice-text { font-size: 0.92rem; color: #333; line-height: 1.5; }
.ah-choice-hint {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--gray-mid);
    line-height: 1.45;
    letter-spacing: 0.02em;
}
.ah-choice-hint strong { color: var(--gold); font-weight: 700; }
.ah-choice-intro {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.55;
    margin: 0 0 8px;
    padding: 12px 14px;
    background: rgba(184, 146, 45, 0.07);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}
.page-footer {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--gray-light);
    margin-top: 36px;
}
.page-footer a { font-family: var(--font-mono); font-size: 0.6rem; color: var(--gold); text-decoration: none; }
.page-footer-copy { font-family: var(--font-mono); font-size: 0.5rem; color: var(--gray-mid); margin-top: 8px; }
.ah-next {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--gray-mid);
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}
.ah-next a { color: var(--gold); font-weight: 700; text-decoration: none; }
.ah-next a:hover { text-decoration: underline; }

/* Fil d’exploration après une branche */
.ah-journey-panel {
    margin-top: 28px;
    padding: 20px 20px 22px;
    background: linear-gradient(180deg, #fffefb 0%, var(--cream) 100%);
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}
.ah-journey-panel-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--black);
}
.ah-journey-breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--gray-mid);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.ah-journey-breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}
.ah-journey-breadcrumb a:hover { text-decoration: underline; }
.ah-journey-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #333;
    margin: 0 0 14px;
}
.ah-journey-steps {
    margin: 0 0 16px;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #333;
}
.ah-journey-steps li { margin-bottom: 8px; }
.ah-journey-steps li strong { color: var(--black); }
.ah-journey-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--gray-light);
}
.ah-journey-actions .ah-btn-primary,
.ah-journey-actions .ah-btn-secondary {
    font-size: 0.78rem;
    padding: 10px 16px;
}
.ah-journey-note {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--gray-mid);
    margin: 12px 0 0;
    line-height: 1.45;
}

/* HUD — suivi des trois voies */
.ah-hud-branches {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    color: var(--gray-mid);
    letter-spacing: 0.03em;
    margin: 6px 0 10px;
    line-height: 1.35;
}
.ah-hud-branches-label { color: var(--gray-mid); opacity: 0.85; }
.ah-hud-br { color: var(--gray-mid); opacity: 0.65; }
.ah-hud-br--ok {
    color: var(--gold);
    opacity: 1;
    font-weight: 700;
}
.ah-hud-br-sep { opacity: 0.45; }

.branch-title { font-size: clamp(1.55rem, 4vw, 2.15rem); }

/* Accueil — structure du jeu (un chapitre vs suite) */
.ah-scope-banner {
    margin: 0 0 22px;
    padding: 16px 18px 18px;
    background: linear-gradient(135deg, rgba(184, 146, 45, 0.09) 0%, var(--cream) 55%, #fffefb 100%);
    border: 1px solid rgba(184, 146, 45, 0.35);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.ah-scope-banner-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--black);
}
.ah-scope-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #333;
}
.ah-scope-list li { margin-bottom: 10px; }
.ah-scope-list li:last-child { margin-bottom: 0; }
.ah-scope-list a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}
.ah-scope-list a:hover { text-decoration: underline; }
#chapitre .ah-kicker {
    margin-bottom: 14px;
}

/* ═══ Landing — donner envie ═══ */
.ah-hero-wrap {
    background: linear-gradient(165deg, #fffefb 0%, var(--off-white) 45%, rgba(184, 146, 45, 0.06) 100%);
    border-bottom: 1px solid var(--gray-light);
    padding: 28px 20px 36px;
}
.ah-hero {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.ah-hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(184, 146, 45, 0.45);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.7);
}
.ah-hero h1.page-title {
    font-size: clamp(2rem, 5.5vw, 3rem);
    margin-bottom: 12px;
}
.ah-hero-lead {
    font-family: var(--font-body);
    font-size: clamp(1.02rem, 2.2vw, 1.2rem);
    color: #3a3a3a;
    line-height: 1.55;
    max-width: 38em;
    margin: 0 auto 18px;
    font-weight: 400;
}
.ah-hero-lead strong { color: var(--black); font-weight: 600; }
.ah-hero-lead a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.ah-hero-lead a:hover { color: #9a7420; }
.ah-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}
.ah-pill {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.06em;
    color: #555;
    background: var(--white);
    border: 1px solid var(--gray-light);
    padding: 7px 12px;
    border-radius: 6px;
}
.ah-trust {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    color: var(--gray-mid);
    margin-bottom: 20px;
    line-height: 1.6;
}
.ah-trust span { color: var(--gold); font-weight: 700; }
.ah-btn-share-hero {
    display: inline;
    margin-left: 4px;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold);
    background: var(--white);
    border: 1px solid rgba(184, 146, 45, 0.5);
    border-radius: 999px;
    cursor: pointer;
    vertical-align: middle;
    transition: background 0.2s, border-color 0.2s;
}
.ah-btn-share-hero:hover {
    background: rgba(184, 146, 45, 0.12);
    border-color: var(--gold);
}
.ah-hero-cta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Accueil — rappel du cadre + galerie Commons */
.ah-home-brief {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 28px 20px 32px;
}
.ah-home-brief-inner {
    max-width: 960px;
    margin: 0 auto;
}
.ah-home-brief-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 600;
    color: var(--black);
    text-align: center;
    margin: 0 0 20px;
    letter-spacing: 0.02em;
}
.ah-home-steps {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 14px;
}
@media (min-width: 720px) {
    .ah-home-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}
.ah-home-steps li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
    color: #3d3d3d;
    margin: 0;
    padding: 14px 16px;
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
}
.ah-home-steps strong { color: var(--black); }
.ah-home-step-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    border: 1px solid rgba(184, 146, 45, 0.5);
    border-radius: 999px;
    margin-right: 6px;
    vertical-align: middle;
}
.ah-home-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 560px) {
    .ah-home-gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
.ah-home-fig {
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--gray-light);
    background: #f4f2ee;
    aspect-ratio: 1;
}
.ah-home-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}
.ah-home-gallery-note {
    font-family: var(--font-mono);
    font-size: 0.48rem;
    color: var(--gray-mid);
    text-align: center;
    margin: 14px 0 0;
    line-height: 1.5;
}

/* Illustration en tête de chapitre (Wikimedia Commons) */
.ah-chapter-fig {
    margin: 0 0 18px;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    overflow: hidden;
    background: #f4f2ee;
}
.ah-chapter-fig img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}
.ah-chapter-fig figcaption {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    color: var(--gray-mid);
    padding: 8px 10px 10px;
    line-height: 1.45;
    margin: 0;
}

/* Tableau de bord de saison */
.ah-season-wrap { margin-top: 8px; }
.ah-season-host { margin-bottom: 18px; }
.ah-season-card {
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 16px 18px;
    background: linear-gradient(160deg, #fff, #fbfaf7);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.04);
}
.ah-season-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin-bottom: 4px;
}
.ah-season-lead {
    font-size: 0.88rem;
    color: #4a4a4a;
    margin-bottom: 12px;
}
.ah-season-grid {
    display: grid;
    grid-template-columns: repeat(13, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}
.ah-season-node {
    text-decoration: none;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--gray-mid);
    transition: border-color 0.2s, transform 0.2s, color 0.2s;
}
.ah-season-node:hover {
    border-color: rgba(184, 146, 45, 0.45);
    color: var(--black);
    transform: translateY(-1px);
}
.ah-season-node.is-done {
    border-color: rgba(184, 146, 45, 0.55);
    background: rgba(184, 146, 45, 0.1);
    color: #6f5a20;
}
.ah-season-node-num {
    font-family: var(--font-mono);
    font-size: 0.56rem;
    font-weight: 700;
    line-height: 1;
}
.ah-season-node-status {
    font-family: var(--font-mono);
    font-size: 0.46rem;
    line-height: 1;
    opacity: 0.9;
}
.ah-season-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.ah-season-badges {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    color: var(--gray-mid);
}
@media (max-width: 920px) {
    .ah-season-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .ah-season-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.ah-home-gallery-note a { color: var(--gold); }

.ah-btn-primary {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.ah-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(184, 146, 45, 0.25);
    color: var(--white);
}
.ah-btn-secondary {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--gold);
    text-decoration: none;
    padding: 12px 16px;
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    transition: all 0.2s;
}
.ah-btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
}
.ah-btn-vrai {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0a0a0a;
    padding: 12px 18px;
    border: 2px solid #0a0a0a;
    border-radius: 8px;
    transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.ah-btn-vrai:hover {
    background: #0a0a0a;
    color: var(--gold);
    border-color: #0a0a0a;
    box-shadow: 0 6px 24px rgba(184, 146, 45, 0.25);
}
#chapitre { scroll-margin-top: 64px; }

/* Bloc découverte site — clics internes */
.ah-site-promo {
    max-width: 720px;
    margin: 40px auto 0;
    padding: 24px 22px;
    background: linear-gradient(145deg, rgba(184, 146, 45, 0.07), rgba(10, 10, 10, 0.03));
    border: 1px solid rgba(184, 146, 45, 0.2);
    border-radius: 12px;
    text-align: center;
}
.ah-site-promo-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}
.ah-site-promo-lead {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.5;
}
.ah-site-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    text-align: left;
}
.ah-site-promo-card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 12px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.35;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ah-site-promo-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    color: var(--black);
}
.ah-sp-ico {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.85;
    flex-shrink: 0;
}
.ah-site-promo-card small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--gray-mid);
    margin-top: 4px;
    font-family: var(--font-mono);
}

/* Choix — micro-détail */
.ah-choice { position: relative; padding-left: 22px; }
.ah-choice::after {
    content: '→';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 1rem;
    color: rgba(184, 146, 45, 0.35);
    transition: color 0.2s, transform 0.2s;
    pointer-events: none;
}
.ah-choice:hover::after {
    color: var(--gold);
    transform: translateY(-50%) translateX(3px);
}
@media (max-width: 520px) {
    .ah-choice::after { display: none; }
}

.ah-hud-btn-ghost {
    background: transparent;
    color: var(--gray-mid);
    border-color: var(--gray-light);
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.ah-hud-btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--white);
}

@media (max-width: 600px) {
    .ah-text p:first-of-type::first-letter { font-size: 2.5rem; }
    .ah-hud-grade { max-width: 55vw; }
    .ah-hero-wrap { padding: 22px 16px 28px; }
}

/* ═══ Page « L'art, du vrai » — manifeste visuel ═══ */
.ah-preuves-page .page-header {
    background: #0c0c0c;
    border-bottom: 1px solid rgba(184, 146, 45, 0.25);
    padding: 28px 24px 20px;
}
.ah-preuves-page .page-logo { color: #faf9f6; }
.ah-preuves-page .page-nav a {
    color: #e8d898;
    border-color: rgba(184, 146, 45, 0.45);
}
.ah-preuves-page .page-nav a:hover {
    background: var(--gold);
    color: #0a0a0a;
    border-color: var(--gold);
}

.ah-vrai-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 64px;
    overflow: hidden;
    background: #0a0a0a;
}
.ah-vrai-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(184, 146, 45, 0.22), transparent 55%),
        radial-gradient(circle at 80% 60%, rgba(80, 60, 20, 0.35), transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(40, 35, 30, 0.5), transparent 40%);
    pointer-events: none;
}
.ah-vrai-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ah-vrai-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}
.ah-vrai-kicker {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(232, 216, 152, 0.85);
    margin-bottom: 20px;
}
.ah-vrai-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 9vw, 4.5rem);
    font-weight: 300;
    color: #faf9f6;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.ah-vrai-title em {
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(120deg, #f0d78c, var(--gold), #c9a227);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ah-vrai-sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(250, 249, 246, 0.82);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}
.ah-vrai-pull {
    margin: 0 auto 32px;
    max-width: 34em;
    padding: 20px 24px;
    border-left: 3px solid var(--gold);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 10px 10px 0;
    text-align: left;
}
.ah-vrai-pull p {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    font-style: italic;
    font-weight: 400;
    color: rgba(250, 249, 246, 0.92);
    line-height: 1.55;
    margin: 0;
}
.ah-vrai-scroll-hint {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(184, 146, 45, 0.6);
    animation: ahPulseHint 2.2s ease-in-out infinite;
}
@keyframes ahPulseHint {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(4px); }
}

.ah-vrai-main {
    background: var(--off-white);
    padding: 48px 20px 56px;
}
.ah-proof-grid {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.ah-proof-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 22px 22px 20px;
    position: relative;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s;
    animation: ahProofIn 0.85s var(--ease) backwards;
    animation-delay: var(--d, 0s);
}
@keyframes ahProofIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.ah-proof-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(184, 146, 45, 0.35);
}
.ah-proof-card--gold {
    border-color: rgba(184, 146, 45, 0.45);
    background: linear-gradient(165deg, #fffefb 0%, var(--white) 100%);
}

.ah-proof-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(184, 146, 45, 0.55);
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}
.ah-proof-h {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.25;
    margin-bottom: 12px;
}
.ah-proof-p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.65;
    margin-bottom: 12px;
}
.ah-proof-ref {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    color: var(--gray-mid);
    line-height: 1.5;
    padding-top: 10px;
    border-top: 1px dashed var(--gray-light);
}

.ah-vrai-cta {
    max-width: 560px;
    margin: 48px auto 0;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(145deg, rgba(184, 146, 45, 0.07), transparent);
    border: 1px solid rgba(184, 146, 45, 0.2);
    border-radius: 14px;
}
.ah-vrai-cta-lead {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 20px;
}
.ah-vrai-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 600px) {
    .ah-vrai-hero { min-height: auto; padding: 36px 18px 48px; }
    .ah-proof-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .ah-proof-card { animation: none; opacity: 1; transform: none; }
    .ah-vrai-scroll-hint { animation: none; }
}
