/* Global Styles - Base typography, colors, and layout */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #121212;
    overflow-x: hidden;
}

/* Style global pour les textes importants */
strong {
    font-weight: 800 !important; /* On monte à 800 ou 900 pour un aspect très gras */
    color: #ffffff;             /* On s'assure qu'il est en blanc pur (ou var(--primary-color)) */
}

/* Color Variables */
:root {

    --primary-color: #DCB267;
    /* Orange principal */
    --primary-light: #fcd083;
    /* Orange clair (hover, accents) */
    --primary-dark: #b59153;
    /* Orange foncé (contraste) */

    --text-primary: #d0d0d0;
    /* Texte principal (quasi blanc, doux sur fond sombre) */
    --text-secondary: #B3B3B3;
    /* Texte secondaire (gris clair) */
    --text-light: #808080;
    /* Texte atténué (icônes, disabled, placeholder) */

    --background-white: #121212;
    /* Pour cartes/fonds clairs si besoin */
    --background-gray: #262626;
    /* Noir adouci (sections, conteneurs) */
    --background-dark: #121212;
    /* Noir profond (fond principal) */

    --border-color: #ebe9e5;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --border-radius: 8px;
    --border-radius-large: 12px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    
}

.section-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Buttons */

/* Cards */

/* Form Elements */

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    h1 {
        font-size: 1.75rem;
    }
}

/* Utility Classes */

/* Loading and Animation Classes */

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link for screen readers */