/* /public_html/inscription/assets/style.css */
:root {
    --ivoire: #f8f5ee;
    --ivoire-clair: #fcfaf6;
    --blanc: #fffefa;
    --bleu-nuit: #17212d;
    --bleu-doux: #35404b;
    --or: #b99145;
    --or-pale: #e8d7b4;
    --gris: #77736c;
    --gris-clair: #c9c3b8;
    --vert: #60785f;
    --rouge: #9a5c55;
    --baskerville: Baskerville, "Baskerville Old Face", "Times New Roman", Times, serif;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
    background: var(--ivoire);
    color: var(--bleu-nuit);
    font-family: var(--baskerville);
    -webkit-font-smoothing: antialiased;
}
.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    position: relative;
}
.card {
    width: 100%;
    max-width: 720px;
    position: relative;
    z-index: 2;
    background: var(--blanc);
    text-align: center;
    padding: 60px 70px 50px;
    border: 1px solid var(--or-pale);
    box-shadow: 0 25px 80px rgba(40, 30, 15, 0.08);
}
.card::before {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(185,145,69,0.20);
    pointer-events: none;
}
.logo-link { display: inline-block; margin: 0 auto 25px; }
.logo { display: block; width: 110px; height: 110px; object-fit: contain; }
.eyebrow {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 24px;
}

/* Progress steps */
.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}
.progress-steps .step {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0ebe4;
    color: #8a7868;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    font-family: var(--sans);
}
.progress-steps .step.active {
    background: var(--or);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(185,145,69,0.15);
}
.progress-steps .step.done {
    background: var(--vert);
    color: #fff;
}
.progress-steps .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--gris-clair);
    transform: translateY(-50%);
}

/* Titres */
h1 {
    margin: 0 0 16px;
    font-family: var(--baskerville);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--bleu-nuit);
}
.lead {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--gris);
    margin-bottom: 32px;
    text-align: center;
}
.description {
    max-width: 560px;
    margin: 0 auto;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--gris);
    text-align: center;
}

/* Formulaires */
form {
    max-width: 560px;
    margin: 32px auto 0;
    text-align: left;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.field { margin-bottom: 16px; }
.field label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bleu-nuit);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--gris-clair);
    background: var(--ivoire-clair);
    color: var(--bleu-nuit);
    font-family: var(--sans);
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--or);
    background: #fff;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a948a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Boutons */
.button {
    display: inline-block;
    padding: 14px 36px;
    background: var(--bleu-nuit);
    border: 1px solid var(--bleu-nuit);
    color: #fff;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 12px;
}
.button:hover {
    background: var(--or);
    border-color: var(--or);
}
.button--primary {
    background: var(--or);
    border-color: var(--or);
}
.button--primary:hover {
    background: var(--bleu-nuit);
    border-color: var(--bleu-nuit);
}
.button--ghost {
    background: transparent;
    color: var(--bleu-nuit);
    border: 1px solid var(--bleu-nuit);
}
.button--ghost:hover {
    background: var(--bleu-nuit);
    color: #fff;
}

/* Alertes */
.alert {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}
.alert-error {
    background: rgba(154,92,85,0.08);
    border: 1px solid rgba(154,92,85,0.25);
    color: var(--rouge);
}

/* Signature */
.signature {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(23,33,45,0.08);
}
.signature-title {
    margin: 0 0 8px;
    font-family: var(--baskerville);
    font-size: 16px;
    font-weight: 400;
    color: var(--bleu-nuit);
}
.signature-text {
    max-width: 500px;
    margin: 0 auto;
    font-family: var(--sans);
    font-size: 10px;
    line-height: 1.7;
    color: #9a948a;
}

/* Login hint */
.login-hint {
    margin-top: 24px;
    font-family: var(--sans);
    font-size: 12px;
    color: var(--gris);
    text-align: center;
}
.login-hint a {
    color: var(--or);
    text-decoration: none;
}
.login-hint a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 650px) {
    .page { padding: 20px 12px; }
    .card { padding: 40px 22px 36px; }
    .card::before { inset: 8px; }
    h1 { font-size: 28px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .button { width: 100%; }
    .progress-steps { gap: 16px; }
    .progress-steps .step { width: 36px; height: 36px; font-size: 13px; }
}
