/* /assets/css/style.css */

:root {
    /* Couleurs principales basées sur les captures */
    --bg-dark: #111111;
    --bg-card: #1c1c1c;
    --gold: #dfb249;
    --text-main: #ffffff;
    --text-muted: #888888;
    
    /* Typographie */
    --font-titles: 'Playfair Display', serif; /* Polices à empattement pour l'élégance */
    --font-ui: 'Inter', sans-serif; /* Police moderne pour l'interface */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ui);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Titres */
h1, h2, h3 { 
    font-family: var(--font-titles); 
    font-weight: 400; 
    text-align: center; 
    margin-top: 0;
}

/* Conteneur principal (centré) */
.container {
    max-width: 450px; /* Idéal pour l'affichage mobile/tablette */
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Carte de contenu (fond gris foncé) */
.card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
}

/* Bouton principal (Jaune moutarde/Doré) */
.btn-primary {
    background-color: var(--gold);
    color: #000000;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    box-sizing: border-box;
    transition: opacity 0.2s ease;
}

.btn-primary:active { opacity: 0.8; }
.btn-primary:disabled { background-color: #555; color: #888; cursor: not-allowed; }

/* Bouton secondaire (Contour) */
.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid #444;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    margin-bottom: 15px;
}

/* Champs de saisie */
.input-dark {
    background-color: var(--bg-dark);
    border: 1px solid #333;
    border-radius: 10px;
    color: white;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    font-family: var(--font-ui);
}

.input-dark:focus {
    border-color: var(--gold);
    outline: none;
}

/* Liens discrets */
.link-muted {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    display: block;
    margin-top: 15px;
}
.link-muted:hover { color: var(--gold); }

/* Messages d'erreur */
.error-msg {
    color: #ff4c4c;
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
}

/* En-tête avec le logo */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #222;
}
.lang-flags { font-size: 20px; opacity: 0.5; }
.lang-flags.active { opacity: 1; }