/* =========================================================
   G27 Mode Switcher — Site de présentation
   Même esprit visuel que « La Confrérie des Ombres » :
   noir profond / bleu nuit + accents dorés, Cinzel + Inter.
   Accent métier : vert = mode natif / actif, rouge = mode bridé.
   Polices (Cinzel + Inter + JetBrains Mono) chargées dans le <head>.
   ========================================================= */

:root {
    --bg-deep:        #05080b;
    --bg-base:        #0a1014;
    --bg-card:        #0f1620;
    --bg-card-hover:  #131c28;
    --bg-elevated:    #1a2532;
    --bg-panel:       #0d1620;

    --border:         #1f2a38;
    --border-strong:  #2c3a4c;
    --border-gold:    rgba(212, 168, 67, 0.4);

    --text:           #f5ecd1;
    --text-bright:    #ffffff;
    --text-muted:     #b8c2d0;
    --text-dim:       #8a96aa;

    --gold:           #d4a843;
    --gold-light:     #f0c75e;
    --gold-bright:    #f5d27a;
    --gold-dark:      #a07f2c;
    --gold-deep:      #6b5320;

    /* États métier */
    --native:         #6fd17a;   /* mode natif / fonctionnel */
    --native-deep:    rgba(111, 209, 122, 0.14);
    --compat:         #ff7c87;   /* mode bridé / indisponible */
    --compat-deep:    rgba(255, 124, 135, 0.12);
    --pending:        #ffb86b;   /* en cours / à venir */

    --radius-sm: 4px;
    --radius:    10px;
    --radius-lg: 16px;

    --shadow-sm:    0 2px 6px rgba(0,0,0,0.5);
    --shadow:       0 8px 24px rgba(0,0,0,0.6);
    --shadow-lg:    0 16px 48px rgba(0,0,0,0.7);
    --shadow-gold:  0 0 24px rgba(212,168,67,0.25);
    --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.04);

    --transition: 220ms cubic-bezier(.4,0,.2,1);

    --container: 1180px;
    --container-narrow: 900px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ====== Accessibilité (RGAA) ====== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 1000;
    background: var(--gold);
    color: #1a1206;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    transition: top 200ms cubic-bezier(.4,0,.2,1);
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--gold-bright); outline-offset: 2px; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus { outline: none; }
*:focus-visible {
    outline: 3px solid var(--gold-bright);
    outline-offset: 3px;
    border-radius: 4px;
}
main:focus { outline: none; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-base);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video, iframe { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ====== Typography ====== */
h1, h2, h3, h4 {
    font-family: 'Cinzel', 'Inter', serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.2px;
    color: var(--text-bright);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { color: var(--text-muted); }
code, kbd, .mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }

/* ====== Fond : nappes + grille hex dorée ====== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 12%, rgba(60, 90, 130, 0.16), transparent 55%),
        radial-gradient(ellipse at 82% 88%, rgba(212, 168, 67, 0.08), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(20, 35, 55, 0.5), transparent 75%),
        var(--bg-base);
    z-index: -3;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'><g fill='none' stroke='%23d4a843' stroke-opacity='0.07' stroke-width='1'><polygon points='14,2 42,2 56,18 56,46 42,62 14,62 0,46 0,18'/></g></svg>");
    background-size: 56px 64px;
    opacity: 0.5;
    z-index: -2;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ====== Navbar ====== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 12, 18, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 0 rgba(212,168,67,0.08);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.7rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text);
}
.brand img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    box-shadow: 0 0 0 1px var(--gold-deep), 0 0 16px rgba(212,168,67,0.3);
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.brand-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: var(--text-bright);
    text-transform: uppercase;
    white-space: nowrap;
}
.brand-text small {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 2.5px;
    margin-top: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.82rem;
    transition: all var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-light); background: rgba(212,168,67,0.05); }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    transform: translateX(-50%);
    width: 22px; height: 2px;
    background: var(--gold);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--gold);
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    color: var(--text) !important;
    padding: 0.5rem 0.95rem !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 1px solid var(--border-strong);
    transition: all var(--transition);
}
.nav-cta:hover {
    color: var(--gold-light) !important;
    border-color: var(--gold);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
}
.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    color: var(--gold-light);
}

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'Cinzel', sans-serif;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
    color: #1a1206;
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-inset), 0 4px 12px rgba(212,168,67,0.3);
}
.btn-primary:hover {
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-light) 60%, var(--gold) 100%);
    color: #1a1206;
    transform: translateY(-2px);
    box-shadow: var(--shadow-inset), 0 8px 20px rgba(212,168,67,0.5);
}
.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--gold-light);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--gold-deep);
}
.btn-ghost:hover {
    background: rgba(212,168,67,0.06);
    color: var(--gold-light);
    border-color: var(--gold);
}

/* ====== Layout ====== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    position: relative;
}
.section-head::before {
    content: '';
    position: absolute;
    bottom: -1rem; left: 0;
    width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.section-head .eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}
.section-head h2 { margin: 0; }
.section-head p { margin-top: 0.5rem; max-width: 62ch; }

/* ====== Hero ====== */
.hero { padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-content h1 {
    margin: 1rem 0 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-bright) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(212,168,67,0.2);
}
.hero-content .lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 54ch;
}
.hero-content .lead strong { color: var(--text); }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.76rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.badge svg { width: 14px; height: 14px; color: var(--gold); }
.badge.is-native { border-color: rgba(111,209,122,0.4); color: var(--native); }
.badge.is-native svg { color: var(--native); }

/* Pill version / état */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--pending);
    color: #1a1206;
    background: rgba(255,184,107,0.14);
    color: var(--pending);
    border: 1px solid rgba(255,184,107,0.4);
    font-family: 'Cinzel', serif;
}
.status-pill .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(1.5); }
}

/* ====== Hero terminal (visuel CLI) ====== */
.terminal {
    background: linear-gradient(180deg, #0c131c 0%, #080d14 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,168,67,0.12), 0 0 60px rgba(212,168,67,0.08);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.82rem;
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}
.terminal-bar .tdot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-bar .tdot.r { background: #ff5f57; }
.terminal-bar .tdot.y { background: #febc2e; }
.terminal-bar .tdot.g { background: #28c840; }
.terminal-bar .ttitle {
    margin-left: auto;
    color: var(--text-dim);
    font-size: 0.72rem;
    letter-spacing: 1px;
}
.terminal-body { padding: 1.25rem 1.25rem 1.5rem; line-height: 1.75; }
.terminal-body .line { white-space: pre-wrap; word-break: break-word; }
.terminal-body .prompt { color: var(--gold-light); }
.terminal-body .cmd { color: var(--text-bright); }
.terminal-body .flag { color: var(--gold); }
.terminal-body .out { color: var(--text-dim); }
.terminal-body .ok { color: var(--native); }
.terminal-body .warn { color: var(--pending); }
.terminal-body .cursor {
    display: inline-block;
    width: 8px; height: 1.05em;
    background: var(--gold-light);
    vertical-align: text-bottom;
    animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ====== Bandeau d'avertissement (WIP) ====== */
.notice-band {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    background: rgba(255, 184, 107, 0.06);
    border: 1px solid rgba(255, 184, 107, 0.28);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    position: relative;
}
.notice-band::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--pending), transparent);
}
.notice-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(255,184,107,0.12);
    color: var(--pending);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.notice-icon svg { width: 26px; height: 26px; }
.notice-content h2 { color: var(--text-bright); font-size: 1.15rem; margin: 0 0 0.4rem; letter-spacing: 0.6px; }
.notice-content p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.notice-content p + p { margin-top: 0.4rem; }

/* ====== Cards : fonctionnalités ====== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover {
    border-color: var(--gold-deep);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}
.feature-card:hover::before { opacity: 0.6; }
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212,168,67,0.18), rgba(212,168,67,0.04));
    border: 1px solid var(--gold-deep);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { color: var(--text-bright); font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); }
.feature-card .tag-soon {
    display: inline-block;
    margin-top: 0.85rem;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(255,184,107,0.14);
    color: var(--pending);
    border: 1px solid rgba(255,184,107,0.4);
}

/* ====== Problème / Solution ====== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.split-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.split-card.problem { border-left: 4px solid var(--compat); }
.split-card.solution { border-left: 4px solid var(--native); }
.split-card .split-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.split-card.problem .split-tag { color: var(--compat); }
.split-card.solution .split-tag { color: var(--native); }
.split-card h3 { color: var(--text-bright); font-size: 1.3rem; margin-bottom: 1rem; }
.split-card ul { list-style: none; }
.split-card li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.93rem;
}
.split-card li::before {
    position: absolute;
    left: 0; top: 0;
    font-weight: 700;
}
.split-card.problem li::before { content: '✕'; color: var(--compat); }
.split-card.solution li::before { content: '✓'; color: var(--native); }

/* ====== Comment ça marche (steps) ====== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    counter-reset: step;
}
.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    position: relative;
    transition: all var(--transition);
}
.step:hover { border-color: var(--gold-deep); transform: translateY(-3px); box-shadow: var(--shadow); }
.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #1a1206;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 16px rgba(212,168,67,0.3);
}
.step h3 { color: var(--text-bright); font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; }
.step code { color: var(--gold-light); }

/* ====== Tableau VID/PID & FFB ====== */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}
table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 440px;
}
table.data th, table.data td {
    padding: 0.9rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
table.data thead th {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    background: var(--bg-panel);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--bg-card-hover); }
table.data td { color: var(--text-muted); }
table.data td strong { color: var(--text); }
table.data code {
    background: var(--bg-deep);
    color: var(--gold-light);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85em;
    border: 1px solid var(--border);
}
.yes { color: var(--native); font-weight: 600; }
.no  { color: var(--compat); font-weight: 600; }
.soon { color: var(--pending); font-weight: 600; }

/* ====== Code block ====== */
.codeblock {
    background: linear-gradient(180deg, #0c131c 0%, #080d14 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 1rem 0;
}
.codeblock .c { color: var(--text-dim); }
.codeblock .p { color: var(--gold-light); }
.codeblock .k { color: var(--gold); }

/* ====== Interface (mockup) ====== */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
}
.showcase-shot {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,168,67,0.15), 0 0 50px rgba(212,168,67,0.1);
    background: var(--bg-deep);
}
.showcase-shot img { width: 100%; display: block; }
.showcase-shot::before,
.showcase-shot::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border: 2px solid var(--gold);
    z-index: 2;
    pointer-events: none;
}
.showcase-shot::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.showcase-shot::after  { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.showcase-list { list-style: none; margin-top: 1.5rem; }
.showcase-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.85rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.showcase-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}
.showcase-list strong { color: var(--text); }

/* ====== Feuille de route (timeline) ====== */
.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 2.5rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 11px; top: 6px; bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--gold-deep), var(--border));
}
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
    content: '';
    position: absolute;
    left: -2.5rem; top: 2px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-strong);
    display: flex;
}
.tl-item.done::before {
    background: var(--native-deep);
    border-color: var(--native);
    box-shadow: 0 0 12px rgba(111,209,122,0.4);
}
.tl-item.current::before {
    background: rgba(255,184,107,0.14);
    border-color: var(--pending);
    box-shadow: 0 0 12px rgba(255,184,107,0.5);
    animation: pulse 2s ease-in-out infinite;
}
.tl-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.tl-version {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
}
.tl-state {
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
}
.tl-state.s-done { background: var(--native-deep); color: var(--native); border: 1px solid rgba(111,209,122,0.4); }
.tl-state.s-current { background: rgba(255,184,107,0.14); color: var(--pending); border: 1px solid rgba(255,184,107,0.4); }
.tl-state.s-next { background: var(--bg-elevated); color: var(--text-muted); border: 1px solid var(--border-strong); }
.tl-item p { font-size: 0.93rem; margin-bottom: 0.5rem; }
.tl-item ul { list-style: none; margin-top: 0.5rem; }
.tl-item li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.tl-item li .mk { position: absolute; left: 0; top: 0; }

/* ====== Démarrage rapide (CTA final) ====== */
.cta-band {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-panel) 100%);
    border: 1px solid var(--gold-deep);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,168,67,0.12);
}
.cta-band::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright), var(--gold), var(--gold-deep));
}
.cta-band h2 {
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-bright) 70%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-band p { max-width: 60ch; margin: 0 auto 1.75rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.cta-note {
    margin-top: 1.5rem;
    font-size: 0.82rem;
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,184,107,0.06);
    border: 1px solid rgba(255,184,107,0.25);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    text-align: left;
}
.cta-note svg { width: 16px; height: 16px; color: var(--pending); flex-shrink: 0; }
.cta-note a { color: var(--gold-light); }

/* ====== Callout (encadré info) ====== */
.callout {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: rgba(212, 168, 67, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.callout svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.callout strong { color: var(--text); }
.callout.is-positive { background: rgba(111, 209, 122, 0.06); border-left-color: var(--native); }
.callout.is-positive svg { color: var(--native); }

/* Lien de téléchargement dans une carte */
.card-dl {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.1rem;
    font-family: 'Cinzel', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-light);
    transition: color var(--transition);
}
.card-dl:hover { color: var(--gold-bright); }

/* ====== Bandeau "feature" alterné ====== */
.feature-band {
    background: linear-gradient(135deg, rgba(212,168,67,0.05), rgba(20,35,55,0.4));
    border-block: 1px solid var(--border);
}

/* ====== Footer ====== */
footer.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}
footer.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-grid h2 {
    font-family: 'Cinzel', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: var(--text-muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-about p { font-size: 0.9rem; margin-top: 1rem; }
.socials { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.social-link {
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition);
}
.social-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.social-link.is-github:hover { background: #24292f; border-color: #57606a; color: #fff; }
.social-link.is-discord:hover { background: #5865F2; border-color: #5865F2; color: #fff; }
.social-link svg { width: 20px; height: 20px; }
.copy {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}
.copy a { color: var(--text-muted); }
.copy a:hover { color: var(--gold-light); }

/* ====== Utilities ====== */
.center { text-align: center; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.gold { color: var(--gold-light); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ====== Responsive ====== */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .showcase { grid-template-columns: 1fr; gap: 2rem; }
    .split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Navbar : passage en menu hamburger tôt, car les libellés sont longs */
@media (max-width: 1100px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute;
        top: 100%; right: 0; left: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(8,12,18,0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        gap: 0.25rem;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }
    .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-links a { padding: 0.95rem 1rem; min-height: 44px; display: flex; align-items: center; }
    .nav-links a.active::after { display: none; }
    .nav-cta { justify-content: center; margin-top: 0.25rem; }
}
@media (max-width: 760px) {
    section { padding: 2.75rem 0; }
    .hero { padding: 2rem 0 2.5rem; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .notice-band { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; }
    .cta-band { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .brand-name { font-size: 0.92rem; }
    .brand img { width: 38px; height: 38px; }
    .btn { padding: 0.75rem 1.2rem; font-size: 0.8rem; min-height: 44px; width: 100%; }
    .hero-actions .btn, .cta-actions .btn { width: 100%; }
    .nav-toggle { min-width: 44px; min-height: 44px; }
    .social-link { width: 44px; height: 44px; }
    .container, .container-narrow { padding: 0 1rem; }
}

/* ====== Reduce motion ====== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
