/* Reset & Base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f3f3f3;
    color: #111111;
    line-height: 1.5;
    padding-bottom: 60px;
}

/* Header / Topbar */
.topbar {
    background-color: #111111;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    border: 1px solid #d4af37;
    color: #d4af37;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 4px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.brand strong {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.brand span {
    display: block;
    font-size: 0.75rem;
    color: #a0a0a0;
}

.small-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    /* Soulignement customisé doré et aéré */
    border-bottom: 1.5px solid #d4af37;
    padding-bottom: 3px;
    transition: border-color 0.2s, color 0.2s;
}

.small-link:hover {
    color: #d4af37;
}

/* Main Container */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px 0;
}

/* Hero Section */
.hero {
    margin-bottom: 30px;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666666;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111111;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero p {
    color: #555555;
    font-size: 0.95rem;
    max-width: 580px;
}

/* Card / Form Wrapper */
.card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Form Layout */
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Form Elements */
label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111111;
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    border-color: #111111;
}

input::placeholder, textarea::placeholder {
    color: #aaaaaa;
}

textarea {
    resize: vertical;
}

/* Checkbox */
.check {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    font-size: 0.85rem;
    margin-top: 4px;
}

.check input {
    width: auto;
    cursor: pointer;
}

/* Buttons & Utils */
.button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #222222;
}

.muted {
    font-size: 0.75rem;
    color: #777777;
    margin-top: -6px;
}

.success {
    padding: 12px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 20px;
    }
}