/* ==========================================================================
   VARIABLES GLOBALES (:root)
   ========================================================================== */
:root {
    --color-bg: #050505;
    --color-bg-alt: #111111;
    --color-text: #fdfdfd;
    --color-text-muted: #888888;
    --color-accent: #d4af37;
    
    /* Typographie */
    --font-title: 'Quicksand', sans-serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Espacements globaux */
    --spacing-section: 12vh;
}

/* ==========================================================================
   RESET CSS & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Optimisation de lecture sur écrans HD */
    -moz-osx-font-smoothing: grayscale;
}

main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-section);
    padding-bottom: var(--spacing-section);
}

section {
    width: 100%;
    padding: 0 5vw;
}

/* ==========================================================================
   TYPOGRAPHIE GLOBALE
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 300;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw + 1rem, 7rem);
    line-height: 1.05;
    font-weight: 500;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 400;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Utilitaires spécifiques aux titres complexes */
.title-line-1 {
    display: block;
    margin-bottom: 0.2em;
}

.title-line-2 {
    display: block;
}