/* ============================================
   BASE.CSS - Styles de base
   ============================================ */

/* ========== RESET CSS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== BODY ET HTML ========== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
                 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
                 sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== TYPOGRAPHIE ========== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--text-dark);
}

h1 {
    font-size: var(--font-3xl);
}

h2 {
    font-size: var(--font-2xl);
}

h3 {
    font-size: var(--font-xl);
}

h4 {
    font-size: var(--font-lg);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

/* ========== LIENS ========== */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ========== LISTES ========== */
ul {
    list-style: none;
}

ol {
    padding-left: 1.5rem;
}

/* ========== IMAGES ========== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== FORMULAIRES ========== */
input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

/* ========== SÉLECTION DE TEXTE ========== */
::selection {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* ========== SCROLLBAR PERSONNALISÉE ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}