/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables globales */
:root {
    /* Couleurs */
    --color-black: #191919;
    --color-white: #FFFFFF;
    --color-gray: #686868; /*#7F7F7F; */
    --color-blue: #002FA7;
    --color-light-gray: #F1F0ED;
    --color-lighter-gray: #F8F7F6;

    /* Typographie */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Système typographique */
    --h1-size: 44px;
    --h1-line-height: 120%;
    --h2-size: 40px;
    --h2-line-height: 120%;
    --h3-size: 32px;
    --h3-line-height: 120%;
    --h4-size: 24px;
    --h4-line-height: 130%;
    --h5-size: 20px;
    --h5-line-height: 140%;
    --h6-size: 18px;
    --h6-line-height: 140%;

    /* Responsive Typography (Desktop) */
    @media (min-width: 1024px) {
        --h1-size: 64px;
        --h2-size: 52px;
        --h3-size: 44px;
        --h4-size: 36px;
        --h5-size: 28px;
        --h6-size: 22px;
        /* Line heights remain the same */
    }

    /* Body text */
    --body-font-size: 16px;
    --body-line-height: 150%;
    --body-font-weight: 400;

    /* Small text */
    --small-font-size: 14px;
    --small-line-height: 140%;

    /* Tailles de police */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 32px;
    --text-3xl: 40px;
    --text-4xl: 44px;

    /* Espacements */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 32px;
    --spacing-4xl: 48px;
    --spacing-5xl: 64px;
    --spacing-6xl: 128px;
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-full: 100px;
}

/* Styles de base */
body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--color-black);
    background-color: var(--color-white);
}

/* Système typographique */
h1, .h1 {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
    letter-spacing: -0.01em;
}

h2, .h2 {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    letter-spacing: -0.01em;
}

h3, .h3 {
    font-family: var(--font-heading);
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
    letter-spacing: -0.01em;
}

h4, .h4 {
    font-family: var(--font-heading);
    font-size: var(--h4-size);
    line-height: var(--h4-line-height);
    letter-spacing: -0.01em;
}

h5, .h5 {
    font-family: var(--font-heading);
    font-size: var(--h5-size);
    line-height: var(--h5-line-height);
    letter-spacing: -0.01em;
}

h6, .h6 {
    font-family: var(--font-heading);
    font-size: var(--h6-size);
    line-height: var(--h6-line-height);
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.section-header {
    flex-direction: column;
}

.section-number-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.section-number-content img {
    width: 24px;
    height: 24px;
}

.intro-header {
    padding: var(--spacing-5xl) var(--spacing-xl) var(--spacing-3xl);
    gap: var(--spacing-2xl);
}

/* Utilitaires */
.container {
    margin: 0 auto;
}

/* Media Queries */
@media (min-width: 768px) {
    :root {
        --text-4xl: 56px;
    }
} 

@media (min-width: 1024px) {
    p {
        font-size: var(--text-lg);
    }
} 

html {
    scroll-behavior: smooth;
}

