/* ============================================
   GIAT SERVICES - Styles principaux
   ============================================ */

/* === VARIABLES === */
:root {
    /* Couleurs */
    --primary: #2a7a7a;
    --primary-dark: #1a5c5c;
    --primary-light: #3a9a9a;
    --secondary: #8b4513;
    --secondary-light: #a65d2e;
    --accent: #8b6914;
    --accent-light: #a67d1a;
    
    --background: #faf9f6;
    --surface: #ffffff;
    --surface-alt: #f7f5f2;
    
    --text: #2d3748;
    --text-light: #4a5568;
    --text-muted: #5a6778;
    --text-white: #ffffff;
    
    --border: #e2e8f0;
    --border-dark: #cbd5e0;
    
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --info: #2563eb;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 12px -2px rgba(0,0,0,0.1), 0 3px 6px -2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Rayons */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typographie */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* Espacements */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* === UTILITAIRES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm { max-width: 640px; }
.container-md { max-width: 768px; }
.container-lg { max-width: 1024px; }
.container-xl { max-width: 1200px; }

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

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.bg-white { background: var(--surface); }
.bg-light { background: var(--surface-alt); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--text); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === HEADER / NAVBAR === */
.header {
    background: var(--surface);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

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

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

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-list a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 500;
    transition: all var(--transition);
    background: transparent;
}

.nav-cta:hover {
    background: var(--primary);
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 0.5rem;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-sm { min-height: 40vh; }
.hero-md { min-height: 60vh; }
.hero-lg { min-height: 80vh; }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
}

.hero-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Dégradés thématiques pour les heroes */
.hero-gradient-nature {
    background: linear-gradient(135deg, #1a5c5c 0%, #2a7a7a 50%, #3a9595 100%);
}

.hero-gradient-market {
    background: linear-gradient(135deg, #6b4423 0%, #8b5a30 50%, #a67040 100%);
}

.hero-gradient-tourism {
    background: linear-gradient(135deg, #1f6565 0%, #2a7a7a 50%, #359090 100%);
}

.hero-gradient-accommodation {
    background: linear-gradient(135deg, #1a5555 0%, #2a7070 50%, #3a8585 100%);
}

.hero-gradient-community {
    background: linear-gradient(135deg, #1a5560 0%, #2a7580 50%, #3a8a95 100%);
}

.hero-gradient-info {
    background: linear-gradient(135deg, #3a4550 0%, #4a5560 50%, #5a6570 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

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

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

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

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

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

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

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: white;
}

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

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--surface-alt);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: var(--radius-full);
}

/* === SECTIONS === */
.section {
    padding: var(--space-3xl) 0;
}

.section-sm { padding: var(--space-xl) 0; }
.section-lg { padding: var(--space-4xl) 0; }

.section-light { background: var(--surface-alt); }
.section-white { background: var(--surface); }
.section-dark { background: var(--text); color: white; }
.section-primary { background: var(--primary); color: white; }

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* === CARDS === */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card-elevated {
    box-shadow: var(--shadow);
}

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

.card-outlined {
    border: 1px solid var(--border);
}

.card-media {
    position: relative;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-media img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--space-lg);
}

.card-header {
    padding: var(--space-md) var(--space-lg) 0;
}

.card-footer {
    padding: 0 var(--space-lg) var(--space-lg);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* === GRID === */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === STATS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-alt);
    border-radius: var(--radius-full);
    color: var(--primary);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* === COUNTDOWN === */
.countdown {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    min-width: 80px;
    box-shadow: var(--shadow);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* === BADGE === */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-sm { padding: 0.125rem 0.5rem; font-size: 0.6875rem; }
.badge-lg { padding: 0.375rem 1rem; font-size: 0.875rem; }

.badge-primary { background: var(--primary); color: white; }
.badge-secondary { background: var(--secondary); color: white; }
.badge-success { background: var(--success); color: white; }
.badge-warning { background: var(--warning); color: white; }
.badge-error { background: var(--error); color: white; }
.badge-info { background: var(--info); color: white; }
.badge-light { background: var(--surface-alt); color: var(--text); }

/* === LIST === */
.list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.list-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    color: var(--primary);
}

.list-check .list-icon { color: var(--success); }

/* === SPOTLIGHT === */
.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.spotlight-reverse {
    direction: rtl;
}

.spotlight-reverse > * {
    direction: ltr;
}

.spotlight-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.spotlight-content {
    padding: var(--space-lg) 0;
}

.spotlight-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.spotlight-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.spotlight-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

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

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

.breadcrumb-separator {
    color: var(--border-dark);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* === TABS === */
.tabs-nav {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
    background: var(--surface-alt);
    color: var(--text);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn:hover {
    background: var(--border);
}

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

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === TIMELINE === */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary);
    border-radius: var(--radius-full);
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-marker.special {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-date {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 500;
}

.timeline-title.special {
    color: var(--accent);
    font-weight: 600;
}

/* === ACCORDION === */
.accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-separated .accordion-item {
    border-radius: var(--radius-lg);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    background: var(--surface);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}

.accordion-header:hover {
    background: var(--surface-alt);
}

.accordion-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    transition: transform var(--transition);
}

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

.accordion-body {
    display: none;
    padding: 0 var(--space-lg) var(--space-lg);
}

.accordion-item.open .accordion-body {
    display: block;
}

.accordion-content {
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion-content p { margin-bottom: 0.75rem; }
.accordion-content ul { margin: 0.5rem 0; padding-left: 1.5rem; list-style: disc; }
.accordion-content li { margin-bottom: 0.25rem; }
.accordion-content a { color: var(--primary); text-decoration: underline; }

/* === TABLE === */
.table-wrapper {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    font-weight: 600;
    background: var(--surface-alt);
}

.table-striped tbody tr:nth-child(even) {
    background: var(--surface-alt);
}

/* === MAP === */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* === FILTER === */
.filters {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    align-items: center;
}

.filter-pills {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.filter-pill {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.search-input {
    position: relative;
}

.search-input input {
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    font-size: 0.9375rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    min-width: 200px;
    transition: border-color var(--transition);
}

.search-input input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
}

.search-input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* === ALERT === */
.alert {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    border: 1px solid;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-icon {
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* === BLOCKQUOTE === */
.blockquote {
    position: relative;
    padding: var(--space-xl);
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.blockquote-content {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: var(--space-md);
}

.blockquote-author {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.blockquote-author::before {
    content: '— ';
}

/* === FOOTER === */
.footer {
    background: var(--text);
    color: var(--text-white);
    padding: var(--space-2xl) 0;
}

.footer a {
    color: rgba(255,255,255,0.7);
}

.footer a:hover {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
}

.footer-col h2.footer-title,
.footer-col .footer-title {
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: var(--space-lg);
    z-index: 200;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-content {
    flex: 1;
    min-width: 280px;
}

.cookie-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cookie-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* === URGENCES === */
.urgence-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .spotlight { grid-template-columns: 1fr; }
    .spotlight-reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-sm);
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: var(--space-md);
        border-radius: var(--radius);
    }

    .nav-list a:hover,
    .nav-list a.active {
        background: var(--surface-alt);
        border-bottom-color: transparent;
    }

    .menu-toggle {
        display: block;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .countdown-item {
        min-width: 70px;
        padding: var(--space-md);
    }

    .countdown-value {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom,
    .footer-simple {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

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

    .section {
        padding: var(--space-2xl) 0;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .stat-card {
        padding: var(--space-md);
    }

    .stat-value {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-pills {
        justify-content: center;
    }
}

/* === PRINT === */
@media print {
    .header,
    .footer,
    .back-to-top,
    .cookie-banner {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .card {
        break-inside: avoid;
    }
}

/* ============================================
   EFFETS CSS SYMPAS
   ============================================ */

/* Cartes qui se soulèvent au hover */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.15);
}

/* Boutons avec effet press */
.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 122, 122, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Links underline animation */
.nav-list a,
.footer a {
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

/* Stats counter animation placeholder */
.stat-value {
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-value {
    transform: scale(1.05);
}

/* Icônes qui tournent légèrement au hover */
.stat-icon,
.card-icon {
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon,
.card:hover .card-icon {
    transform: rotate(-5deg) scale(1.1);
}

/* Image zoom subtil au hover */
.card-image img,
.hero-bg img {
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-image {
    overflow: hidden;
}

/* Badge pulse pour "nouveau" ou "important" */
.badge-pulse {
    animation: pulse 2s infinite;
}

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

/* Accordéon smooth */
.accordion-body {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

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

/* Filter pills active effect */
.filter-pill {
    transition: all 0.2s ease;
}

.filter-pill:hover {
    transform: scale(1.05);
}

.filter-pill.active {
    box-shadow: 0 2px 8px rgba(42, 122, 122, 0.3);
}

/* Timeline marker pulse */
.timeline-marker {
    transition: transform 0.2s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.3);
}

/* Smooth scroll reveal - elements fade in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero text subtle float */
.hero-title {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Footer links hover */
.footer-col a {
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.footer-col a:hover {
    padding-left: 5px;
}

/* Back to top button bounce */
.back-to-top {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* Loading skeleton shimmer (pour chargement futur) */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus glow effect */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(42, 122, 122, 0.2);
}
