/* =============================================================================
   JOBARD Racing Simulator — Landing page styles
   Charte JOBARD Groupe v1.1, palette Racing : noir / blanc / sable
   Police : Poppins (Google Fonts)
   =============================================================================
   Regles strictes (charte §6.2) :
   - Pas de jaune (#E8B800 reserve aux documents internes).
   - Pas de palette corporate Groupe (rouge / blanc / bleu) sur cette page.
   - Sobriete : moins d'elements, mieux executes.
   ========================================================================== */

:root {
    --noir:  #000000;
    --blanc: #ffffff;
    --sable: #e0cda9;
    /* Variations utilitaires derivees de la palette principale (charte §6.1) */
    --noir-soft:    #111111;
    --gris-line:    #1f1f1f;
    --texte-mute:   #b3b3b3;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--noir);
    color: var(--blanc);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Hero ---- */
.hero {
    padding: 96px 0 64px;
    border-bottom: 1px solid var(--gris-line);
}

.kicker {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sable);
    margin-bottom: 24px;
}

h1 {
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-sim {
    color: var(--sable);
}

.lede {
    font-size: 17px;
    font-weight: 400;
    color: var(--texte-mute);
    max-width: 560px;
    margin-bottom: 40px;
}

/* ---- Boutons (charte spec §3.5 : fond noir, texte blanc, hover liseré sable) ---- */
.btn {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 28px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--blanc);
    background: var(--noir);
    color: var(--blanc);
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.btn-primary {
    background: var(--blanc);
    color: var(--noir);
    border-color: var(--blanc);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--noir);
    color: var(--blanc);
    border-color: var(--sable);
    outline: none;
}

.btn-meta {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.06em;
    opacity: 0.75;
}

.status {
    margin-top: 16px;
    font-size: 13px;
    color: var(--texte-mute);
}

/* ---- Sections ---- */
main {
    padding: 64px 0 32px;
}

.section {
    padding: 32px 0;
    border-bottom: 1px solid var(--gris-line);
}

.section:last-of-type {
    border-bottom: none;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

p {
    color: var(--texte-mute);
    font-size: 15px;
}

/* ---- Meta grid (Cette version) ---- */
.meta-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 32px;
    row-gap: 12px;
}

.meta-grid dt {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--texte-mute);
    align-self: center;
}

.meta-grid dd {
    font-size: 15px;
    color: var(--blanc);
    word-break: break-all;
}

.mono {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    color: var(--texte-mute);
}

/* ---- Steps ---- */
.steps {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.steps li {
    counter-increment: step;
    padding-left: 48px;
    position: relative;
    color: var(--texte-mute);
    font-size: 15px;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: var(--sable);
    letter-spacing: 0.04em;
}

.steps code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: var(--blanc);
    background: var(--noir-soft);
    padding: 2px 6px;
}

.note {
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 2px solid var(--sable);
    background: var(--noir-soft);
    font-size: 14px;
}

/* ---- Liens ---- */
.links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links a {
    color: var(--blanc);
    text-decoration: none;
    border-bottom: 1px solid var(--gris-line);
    padding-bottom: 8px;
    display: inline-block;
    transition: border-color 120ms ease, color 120ms ease;
}

.links a:hover,
.links a:focus-visible {
    border-color: var(--sable);
    color: var(--sable);
    outline: none;
}

/* ---- Footer ---- */
footer {
    padding: 48px 0 64px;
    border-top: 1px solid var(--gris-line);
    margin-top: 32px;
}

footer p {
    font-size: 13px;
    color: var(--texte-mute);
}

.footer-meta {
    margin-top: 8px;
    font-size: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .hero {
        padding: 64px 0 48px;
    }
    .container {
        padding: 0 20px;
    }
    .meta-grid {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }
    .meta-grid dt {
        margin-top: 12px;
    }
    .meta-grid dt:first-child {
        margin-top: 0;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}
