/* ========================================
   SEASIDE RUN 2026 - DESIGN SYSTEM
   Architecture CSS Multi-Pages
   ======================================== */

/* ==========================================
   CSS VARIABLES - Design Tokens
   ========================================== */
:root {
    /* Couleurs Primaires */
    --color-primary: #1d4e89;
    --color-primary-dark: #163a6a;
    --color-primary-light: #2563a8;
    --color-action: #f58220;
    --color-action-dark: #d67319;
    --color-secondary: #f7a81b;
    --color-secondary-dark: #d99215;
    
    /* Couleurs Neutres */
    --color-bg-light: #f4f6f8;
    --color-bg-white: #ffffff;
    --color-bg-dark: #1a1a1a;
    --color-footer-dark: #00246c;
    --color-text-dark: #2c3e50;
    --color-text-light: #6c757d;
    --color-text-muted: #95a5a6;
    --color-border: #e0e5e9;
    --color-border-light: #f0f2f4;
    
    /* Couleurs Sémantiques */
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-danger: #e74c3c;
    --color-info: #3498db;
    
    /* Typographie */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-mono: 'Courier New', monospace;
    
    /* Tailles de police */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 4rem;
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Ombres */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Layout */
    --container-max-width: 1200px;
    --container-wide: 1400px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-dark);
    background: var(--color-bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================
   TYPOGRAPHY SYSTEM
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

h1 {
    font-size: clamp(2.5rem, 5vw, var(--font-size-6xl));
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, var(--font-size-5xl));
    font-weight: 900;
    text-transform: uppercase;
}

h3 {
    font-size: clamp(1.5rem, 3vw, var(--font-size-3xl));
    font-weight: 700;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, var(--font-size-2xl));
    font-weight: 700;
}

h5 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

h6 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.lead {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-text-light);
}

.small {
    font-size: var(--font-size-sm);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   LAYOUT SYSTEM
   ========================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-xl);
}

.section {
    padding: var(--spacing-4xl) 0;
}

.section-sm {
    padding: var(--spacing-3xl) 0;
}

.section-lg {
    padding: 6rem 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header .container {
    height: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3rem;
    height: 100%;
    position: relative;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    height: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    background: linear-gradient(135deg, rgba(29,78,137,0.05), rgba(245,130,32,0.05));
}

.logo:hover {
    background: linear-gradient(135deg, rgba(29,78,137,0.1), rgba(245,130,32,0.1));
    transform: translateY(-2px);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-year {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-action);
    letter-spacing: 0.1em;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-action));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-2xl);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
    align-items: center;
}

.nav-menu-left {
    justify-self: flex-end;
}

.nav-menu-right {
    justify-self: flex-start;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-dark);
    padding: var(--spacing-sm) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-action);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.menu-toggle,
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--spacing-sm);
    position: absolute;
    right: var(--spacing-xl);
    z-index: 1001;
}

.menu-toggle span,
.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1),
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2),
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3),
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
    display: none; /* Caché par défaut */
    position: fixed;
    top: var(--header-height);
    left: -100%; /* Hors écran */
    width: 85%;
    max-width: 400px;
    height: calc(100vh - var(--header-height));
    background: white;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    overflow-y: auto;
    padding: var(--spacing-2xl) 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-link,
.mobile-menu-cta {
    display: block;
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    background: var(--color-bg-light);
    border-left-color: var(--color-primary);
    color: var(--color-primary);
}

.mobile-menu-cta {
    margin: var(--spacing-2xl) var(--spacing-xl) 0;
    text-align: center;
    border-radius: var(--radius-md);
    border-left: none !important;
}

/* Overlay pour menu mobile */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-2xl);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--color-action);
    color: white;
}

.btn-primary:hover {
    background: var(--color-action-dark);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
}

.btn-block {
    width: 100%;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: var(--spacing-xl);
    border-bottom: 2px solid var(--color-border-light);
}

.card-body {
    padding: var(--spacing-xl);
}

.card-footer {
    padding: var(--spacing-xl);
    border-top: 2px solid var(--color-border-light);
    background: var(--color-bg-light);
}

.card-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.card-highlight {
    border-top: 5px solid var(--color-action);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-action) 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(29, 78, 137, 0.85) 0%, 
        rgba(245, 130, 32, 0.65) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: var(--spacing-xl);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    color: white;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
}

/* Hero standard pour pages secondaires */
.hero-section-standard {
    background: linear-gradient(135deg, var(--color-primary), var(--color-action));
    color: white;
    padding: 10rem 0 4rem;
    margin-top: 0;
    text-align: center;
}

.hero-section-standard h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-section-standard p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   TABLES
   ========================================== */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: white;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--color-primary);
    color: white;
}

.table th {
    padding: var(--spacing-lg);
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    letter-spacing: 0.05em;
}

.table td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.table tbody tr:hover {
    background: var(--color-bg-light);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ==========================================
   ACCORDION
   ========================================== */
.accordion {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    transition: var(--transition-base);
}

.accordion-header:hover {
    background: var(--color-bg-light);
}

.accordion-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    margin: 0;
}

.accordion-icon {
    font-size: var(--font-size-xl);
    color: var(--color-action);
    transition: var(--transition-base);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.accordion-body {
    padding: var(--spacing-xl);
    background: var(--color-bg-light);
    line-height: 1.8;
}

/* ==========================================
   ALERTS & NOTIFICATIONS
   ========================================== */
.alert {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.alert-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid var(--color-success);
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid var(--color-warning);
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--color-danger);
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid var(--color-info);
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    transition: var(--transition-base);
    background: var(--color-bg-light);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(29, 78, 137, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================
   FOOTER - Visible & Attractive Design
   ========================================== */
.footer,
.footer-wave {
    background: #00246c;
    color: white;
    position: relative;
    margin-top: 6rem;
}

/* Vague SVG visible */
.wave-top {
    width: 100%;
    height: 80px;
    display: block;
    margin-bottom: -2px;
}

.footer-content {
    padding: 3rem 0 1.5rem;
    background: #00246c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--container-max-width);
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.footer-col {
    /* Colonnes visibles */
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-logo .logo-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f58220;
    letter-spacing: 0.15em;
}

.footer-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.footer-title {
    color: #f7a81b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #f58220;
    padding-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.footer-links a:hover {
    color: #f58220;
    transform: translateX(5px);
}

.footer-contact {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-contact a:hover {
    color: #f58220;
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-section h4 {
    color: #f7a81b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   UTILITIES
   ========================================== */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.text-white { color: white; }
.text-primary { color: var(--color-primary); }
.text-action { color: var(--color-action); }
.text-secondary { color: var(--color-secondary); }

.bg-white { background: white; }
.bg-light { background: var(--color-bg-light); }
.bg-primary { background: var(--color-primary); }
.bg-action { background: var(--color-action); }

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --spacing-4xl: 4rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
        --spacing-3xl: 3rem;
        --spacing-4xl: 3rem;
    }
    
    .header .container {
        padding: 0 1rem;
    }
    
    /* Cacher le menu desktop sur mobile */
    .nav-left,
    .nav-right {
        display: none !important;
    }
    
    /* Afficher le bouton burger mobile */
    .mobile-toggle,
    .menu-toggle {
        display: flex;
    }
    
    /* Afficher le menu mobile */
    .mobile-menu {
        display: block;
    }
    
    .logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        padding: 0.5rem 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-year {
        font-size: 0.8rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .footer-content {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container,
    .container-wide {
        padding: 0 var(--spacing-md);
    }
    
    .logo {
        font-size: var(--font-size-lg);
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .wave-top {
        height: 60px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
/* ==========================================
   PARTENAIRES CAROUSEL
   ========================================== */
.partners-carousel {
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-white);
    position: relative;
}

.partners-carousel::before,
.partners-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-carousel::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.partners-carousel::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.partners-track {
    display: flex;
    gap: var(--spacing-3xl);
    animation: scroll 30s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    background: #f5f5f5;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-base);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media print {
    .header,
    .footer,
    .btn,
    .menu-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
