/* ============================================================
   1. BASE.CSS - Variables, Thèmes & Reset
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-family-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-family-serif: 'Playfair Display', serif;
    --font-size-base: 0.9rem;
    --font-size-sm: 0.8rem;
    --border-radius: 6px; 
    --transition-base: all 0.2s ease;
}

/* --- THEMES --- */
html:not(.dark) {
    --c-primary: #000000;
    --c-primary-light: #333333;
    --c-bg: #ffffff;
    --c-surface: #fcfcfc;
    --c-border: #e0e0e0;
    --c-text: #1a1a1a;
    --c-text-muted: #757575;
    --c-text-on-primary: #ffffff;
    --c-danger: #9e1b1b;
    --c-success: #2e7d32;
    --c-logo-stroke: #000000;
    --c-map-bg: #f0f0f0;
    /* Ajout fin de fichier */
    --c-accent-red: #d32f2f; 
}

html.dark {
    --c-primary: #ffffff;
    --c-primary-light: #cccccc;
    --c-bg: #121212;
    --c-surface: #1c1c1c;
    --c-border: #333333;
    --c-text: #e0e0e0;
    --c-text-muted: #a0a0a0;
    --c-text-on-primary: #000000;
    --c-danger: #cf6679;
    --c-success: #81c784;
    --c-logo-stroke: #ffffff;
    --c-map-bg: #222222;
    /* Ajout fin de fichier */
    --c-accent-red: #ff5252;
}

/* --- BASE --- */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-family-sans); font-size: var(--font-size-base); font-weight: 300; line-height: 1.6; color: var(--c-text); background-color: var(--c-bg); margin: 0; padding-top: 80px; }
.container { max-width: 1400px; margin: 0 auto; padding: 2rem; }
h1, h2, h3, h4, .section-title, .logo-text { font-family: var(--font-family-serif); font-weight: 400; color: var(--c-text); letter-spacing: 0.02em; }
.section-title { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.15em; border-bottom: 1px solid var(--c-primary); padding-bottom: 0.5rem; margin: 2rem 0 1.5rem; }

/* --- CLEANUP (Fin de fichier) --- */
.beta-badge { display: none !important; }

/* --- PATCH VARIABLES (Sécurité) --- */
:root {
    --c-accent-red: #d32f2f;
}
html.dark {
    --c-accent-red: #ff5252;
}