/**
 * BASE.CSS - Reset & Variables
 * Volant d'Oc Vauréen
 */

/* ==================== RESET ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== VARIABLES CSS ==================== */
:root {
    /* Couleurs principales */
    --color-orange: #FF8800;
    --color-orange-light: #FF8833;
    --color-orange-dark: #CC5200;
    
    /* Couleurs de fond */
    --color-dark-bg: #0f172a;
    --color-dark-card: #1e293b;
    --color-dark-card-hover: #334155;
    
    /* Couleurs de texte */
    --color-text-primary: #ffffff;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    /* Couleurs utilitaires */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-600: #475569;
    --color-gray-800: #1e293b;
    
    /* Bordures */
    --border-color-light: rgba(255, 255, 255, 0.1);
    --border-color-lighter: rgba(255, 255, 255, 0.05);
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Espacements */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 1rem;       /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-2xl: 3rem;      /* 48px */
    --spacing-3xl: 4rem;      /* 64px */
    
    /* Rayons de bordure */
    --radius-sm: 0.375rem;    /* 6px */
    --radius-md: 0.5rem;      /* 8px */
    --radius-lg: 0.75rem;     /* 12px */
    --radius-xl: 1rem;        /* 16px */
    --radius-2xl: 1.5rem;     /* 24px */
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Typographie */
    --font-display: 'Teko', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ==================== TYPOGRAPHIE ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; }      /* 48px */
h2 { font-size: 2.25rem; }   /* 36px */
h3 { font-size: 1.875rem; }  /* 30px */
h4 { font-size: 1.5rem; }    /* 24px */
h5 { font-size: 1.25rem; }   /* 20px */
h6 { font-size: 1rem; }      /* 16px */

p {
    font-family: var(--font-body);
    margin-bottom: var(--spacing-md);
}

/* ==================== LIENS ==================== */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-orange);
}

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

/* ==================== SÉLECTION DE TEXTE ==================== */
::selection {
    background-color: var(--color-orange);
    color: var(--color-black);
}

::-moz-selection {
    background-color: var(--color-orange);
    color: var(--color-black);
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-dark-card);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange);
}

/* ==================== UTILITAIRES ==================== */
.text-orange {
    color: var(--color-orange);
}

.gradient-text,
.gradient-orange-red {
    background: linear-gradient(to right, var(--color-orange), #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-gold {
    background: linear-gradient(to right, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-blue-cyan {
    background: linear-gradient(to right, #3B82F6, #4DBFE5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-green {
    background: linear-gradient(to right, #22C55E, #A8D963);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--color-white);
    font-weight: 700;
}

/* ==================== ACCESSIBILITÉ ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
/* Mobile: < 640px */
/* Tablet: 640px - 1024px */
/* Desktop: > 1024px */