:root {
    --bg: #14161c;
    --fg: #e8e8ec;
    --muted: #9a9aa5;
    --accent: #ffcc4d;
    --card: #1c1f28;
    --border: #2c2f3a;
    --error: #ff6b6b;
    --success: #6bffa0;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.site-header .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.site-header .brand {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    margin-right: auto;
}

.site-header .links a, .site-header .lang a {
    color: var(--fg);
    text-decoration: none;
    margin-right: 1rem;
}

.site-header .links a:hover, .site-header .lang a:hover {
    color: var(--accent);
}

.site-footer {
    text-align: center;
    color: var(--muted);
    padding: 2rem 1.25rem;
    font-size: 0.85rem;
}

.tagline { color: var(--muted); }

.actions { margin-top: 1.5rem; }

.button {
    display: inline-block;
    background: var(--accent);
    color: #14161c;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-right: 0.75rem;
}

.button.secondary {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
}

.field {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field label { color: var(--muted); font-size: 0.9rem; }

input[type=text], input[type=email], textarea {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--fg);
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
}

/* Honeypot : invisible pour un visiteur humain (voyant ou lecteur d'écran, cf. aria-hidden côté
   HTML), mais présent dans le DOM pour piéger les bots qui remplissent tout automatiquement. */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.captcha-row img {
    border-radius: 6px;
    border: 1px solid var(--border);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert.error { background: rgba(255, 107, 107, 0.15); color: var(--error); }
.alert.success { background: rgba(107, 255, 160, 0.15); color: var(--success); }

.prose h1, .prose h2, .prose h3 { color: var(--accent); }
.prose a { color: var(--accent); }
