/* ============================================
   BASE - Reset et Typographie
   ============================================ */

/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* Reset COMPLET pour éviter les espaces */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--neutral-800);
    overflow-x: hidden;
    background-color: var(--white);
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    line-height: 1.2;
    font-weight: 600;
    margin: 0;
}

p, span, div, a {
    font-family: var(--font-body);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Conteneur */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Focus */
input:focus, button:focus, a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Formulaires */
input, select, textarea {
    font-family: var(--font-body);
    border-radius: 8px;
    border: 2px solid var(--neutral-300);
    padding: 12px 16px;
    transition: var(--transition);
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    outline: none;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Suppression des marges par défaut des navigateurs */
figure, blockquote {
    margin: 0;
    padding: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Prévenir le dépassement horizontal */
section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}