.cal-events-section {
    margin: 4rem 0;
}

.cal-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cal-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 220px;
}

.cal-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cal-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.cal-card .btn {
    margin-top: auto;
}

.cal-embed-section {
    margin: 4rem 0;
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
}

.cal-embed-container {
    min-height: 620px;
}

.cal-embed {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

/**
 * Gard Eau Arbres - Styles principaux
 * CSS moderne avec variables CSS, Flexbox et Grid
 */

/* ============================================
   Variables CSS
   ============================================ */
:root {
    /* Gradients Premium */
    --gradient-primary: linear-gradient(135deg, #2d5016 0%, #4a7c2a 100%);
    --gradient-accent: linear-gradient(135deg, #5b8e3d 0%, #7ab85a 100%);
    --gradient-water: linear-gradient(135deg, #4a90a4 0%, #6ba8b8 100%);
    --gradient-shimmer: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Ombres Premium */
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.18);
    --shadow-glow: 0 0 30px rgba(90, 142, 61, 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Couleurs principales - Mises à jour pour correspondre au premium */
    --color-primary: #2d5016;
    --color-primary-light: #4a7c2a;
    --color-primary-dark: #1a3009;
    --color-secondary: #3a6b47;
    --color-accent: #5b8e3d;

    /* Couleurs neutres */
    --color-text: #2c2c2c;
    --color-text-light: #666;
    --color-bg: #f8f9fa;
    /* Background légèrement gris pour faire ressortir le blanc */
    --color-bg-light: #ffffff;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Autres variables conservées */
    --color-water: #4a90a4;
    --color-water-light: #6ba8b8;
    --color-water-dark: #2d5a6b;
    --color-text-lighter: #999;
    --color-bg-dark: #1a1a1a;
    --color-success: #28a745;
    --color-error: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-heading: Georgia, 'Times New Roman', serif;
    --font-size-base: 1rem;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --container-width: 1200px;
    --container-padding: 1rem;
    --shadow-sm: var(--glass-shadow);
    --shadow-md: var(--shadow-premium);
    --shadow-lg: var(--shadow-hover);
}

/* Mode sombre (optionnel, à activer via JS) */
[data-theme="dark"] {
    --color-text: #e0e0e0;
    --color-text-light: #b0b0b0;
    --color-text-lighter: #888;
    --color-bg: #1a1a1a;
    --color-bg-light: #2a2a2a;
    --color-primary: #5b8e3d;
    --color-primary-light: #7ab85a;
    --color-primary-dark: #4a7c2a;
    --color-secondary: #4a90a4;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body {
    background-color: var(--color-bg);
    color: var(--color-text);
}

[data-theme="dark"] .site-header {
    background: var(--color-bg-light);
    border-bottom-color: #333;
}

[data-theme="dark"] .site-footer {
    background: var(--color-primary-dark);
}

/* ============================================
   Breadcrumbs
   ============================================ */

.breadcrumbs {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: var(--spacing-xs);
    color: var(--color-text-light);
    font-weight: bold;
}

.breadcrumb-item a {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    background: none !important;
    -webkit-tap-highlight-color: transparent;
}

.breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-decoration: underline !important;
    background: none !important;
}

.breadcrumb-item a:link,
.breadcrumb-item a:visited,
.breadcrumb-item a:active {
    color: var(--color-primary) !important;
    background: none !important;
    text-decoration: none !important;
}

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

/* Mode sombre */
[data-theme="dark"] .breadcrumb-item a {
    color: var(--color-primary-light);
}

[data-theme="dark"] .breadcrumb-item--current span {
    color: var(--color-text);
}

/* ============================================
   Optimisations Images
   ============================================ */

/* Placeholder pour images en chargement */
.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    color: var(--color-text-light);
    min-height: 200px;
}

.image-placeholder svg {
    opacity: 0.3;
}

/* Amélioration du lazy loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Images responsives */
img {
    max-width: 100%;
    height: auto;
}

[data-theme="dark"] .block-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .article-card {
    background: var(--color-bg-light);
    border: 1px solid #333;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
    background: var(--color-bg-light);
    border-color: #444;
    color: var(--color-text);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus {
    border-color: var(--color-primary);
    background: var(--color-bg);
}

[data-theme="dark"] .nav-link {
    color: var(--color-text);
}

[data-theme="dark"] .nav-link:hover {
    background: var(--color-bg-light);
}

[data-theme="dark"] .page-header {
    background: var(--color-bg-light);
}

[data-theme="dark"] .alert--error {
    background: rgba(220, 53, 69, 0.2);
    border-color: var(--color-error);
    color: #ff6b7a;
}

[data-theme="dark"] .alert--success {
    background: rgba(40, 167, 69, 0.2);
    border-color: var(--color-success);
    color: #6bcf7f;
}

[data-theme="dark"] .auth-card,
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .dashboard-card,
[data-theme="dark"] .admin-table-wrapper {
    background: var(--color-bg-light);
    border: 1px solid #333;
}

[data-theme="dark"] .admin-table {
    background: var(--color-bg-light);
    color: var(--color-text);
}

[data-theme="dark"] .admin-table th {
    background: var(--color-bg);
    color: var(--color-text);
    border-color: #444;
}

[data-theme="dark"] .admin-table td {
    border-color: #333;
}

[data-theme="dark"] .empty-state {
    color: var(--color-text-light);
}

/* ============================================
   Admin Dashboard
   ============================================ */
.admin-dashboard-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-xl);
}

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

.admin-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.admin-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.9;
}

/* Stats en temps réel */
.realtime-stats-section {
    background: linear-gradient(135deg, #1a936f 0%, #0d5d47 100%);
    border-radius: 16px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.realtime-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    color: white;
}

.realtime-stats-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.realtime-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.realtime-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.realtime-stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.realtime-stat-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.realtime-stat-content {
    flex: 1;
    min-width: 0;
}

.realtime-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.realtime-stat-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    line-height: 1.3;
    word-break: break-word;
}

.realtime-stat-label small {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-lighter);
    margin-top: 0.125rem;
}

/* Responsive pour les stats en temps réel */
@media (max-width: 768px) {
    .realtime-stats-section {
        padding: var(--spacing-md);
    }

    .realtime-stats-title {
        font-size: 1.25rem;
    }

    .realtime-stats-grid {
        grid-template-columns: 1fr;
    }

    .realtime-stat-value {
        font-size: 1.25rem;
    }

    .realtime-stat-label {
        font-size: 0.7rem;
    }
}

/* Graphiques d'évolution */
.admin-charts-section {
    margin-bottom: var(--spacing-xl);
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.chart-card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-bg-light);
    transition: var(--transition);
}

.chart-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-bg-light);
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Responsive pour les graphiques */
@media (max-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .chart-container {
        height: 250px;
    }

    .chart-card {
        padding: var(--spacing-md);
    }
}

[data-theme="dark"] .chart-card {
    background: var(--color-bg-light);
    border-color: #333;
}

[data-theme="dark"] .chart-title {
    color: var(--color-primary-light);
    border-color: #333;
}

/* Bloc IA */
.admin-ai-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.admin-ai-header {
    margin-bottom: var(--spacing-md);
}

.admin-ai-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.admin-ai-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.admin-ai-stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.ai-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.admin-ai-actions {
    text-align: center;
}

.admin-ai-actions .btn {
    background: white;
    color: #667eea;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-ai-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive pour le bloc IA */
@media (max-width: 768px) {
    .admin-ai-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .ai-stat-value {
        font-size: 1.5rem;
    }

    .admin-ai-section {
        padding: var(--spacing-md);
    }
}

/* Page Pétition améliorée */
.petition-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.petition-stat-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.petition-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.petition-stat-card .stat-icon {
    font-size: 2rem;
    line-height: 1;
}

.petition-stat-card .stat-content {
    flex: 1;
}

.petition-stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.petition-stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.3;
}

.petition-chart-card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.petition-chart-card .chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md) 0;
}

.chart-container-small {
    position: relative;
    height: 200px;
    width: 100%;
}

.petition-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.petition-action-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-bg-light);
}

.petition-action-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md) 0;
}

.petition-form .form-group {
    margin-bottom: var(--spacing-md);
}

.petition-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text);
}

.petition-form input[type="text"],
.petition-form input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-bg-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.petition-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.petition-action-card .help-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

.petition-search-section {
    margin-bottom: var(--spacing-lg);
}

.petition-search-form {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.search-input-group {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem;
    border: 2px solid var(--color-bg-light);
    border-radius: 8px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.petition-table-section {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.search-results {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--color-text-light);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .petition-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .petition-actions-grid {
        grid-template-columns: 1fr;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }
}

[data-theme="dark"] .petition-stat-card,
[data-theme="dark"] .petition-action-card,
[data-theme="dark"] .petition-chart-card,
[data-theme="dark"] .petition-search-form,
[data-theme="dark"] .petition-table-section {
    background: var(--color-bg-light);
    border-color: #333;
}

/* ============================================
   Recherche globale admin
   ============================================ */

.admin-global-search {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    font-size: 1.25rem;
    color: var(--color-text-light);
    z-index: 1;
}

.search-input {
    flex: 1;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--color-bg-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 147, 111, 0.1);
}

/* Résultats de recherche */
.search-results-summary {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--color-bg-light);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.search-results-section {
    margin-bottom: var(--spacing-xl);
}

.results-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-icon {
    font-size: 1.5rem;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.search-result-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-bg-light);
    transition: all 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.result-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.result-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-title {
    flex: 1;
}

.result-title strong {
    display: block;
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.result-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.result-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.result-date {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
}

.result-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.search-empty-state,
.search-no-results {
    text-align: center;
    padding: var(--spacing-xxl);
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.empty-icon,
.no-results-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.search-categories {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0 0 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-categories li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: var(--color-bg-light);
    border-radius: 8px;
}

/* ============================================
   Fiche utilisateur améliorée
   ============================================ */

.user-email {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: normal;
}

.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.user-stat-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.user-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.user-stat-card .stat-icon {
    font-size: 2rem;
    line-height: 1;
}

.user-stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.user-stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.user-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.user-detail-card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-bg-light);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-bg-light);
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--color-bg-light);
}

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

.detail-label {
    font-weight: 600;
    color: var(--color-text);
}

.detail-value {
    color: var(--color-text-light);
    text-align: right;
}

.user-projects-list {
    margin-bottom: var(--spacing-md);
}

.project-type-section {
    margin-bottom: var(--spacing-md);
}

.project-type-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-sm) 0;
}

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

.project-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: var(--color-bg-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.project-list li:hover {
    background: var(--color-primary);
    color: white;
}

.project-list li a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.project-list li:hover a {
    color: white;
}

.project-date {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.project-list li:hover .project-date {
    color: rgba(255, 255, 255, 0.8);
}

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

.message-item {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: var(--color-bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.message-header strong {
    color: var(--color-primary);
}

.message-date {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.message-content {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

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

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: var(--color-bg-light);
    border-radius: 8px;
}

.activity-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-page {
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.activity-date {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.empty-state {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--color-text-light);
    font-style: italic;
}

.card-actions {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--color-bg-light);
}

/* Responsive recherche et fiche utilisateur */
@media (max-width: 768px) {
    .search-input-wrapper {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    .user-details-grid {
        grid-template-columns: 1fr;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }
}

/* Mode sombre recherche et fiche utilisateur */
[data-theme="dark"] .admin-global-search,
[data-theme="dark"] .search-result-card,
[data-theme="dark"] .user-stat-card,
[data-theme="dark"] .user-detail-card,
[data-theme="dark"] .search-empty-state,
[data-theme="dark"] .search-no-results {
    background: #2a2a2a;
    border-color: #333;
}

[data-theme="dark"] .search-input {
    background: #1a1a1a;
    border-color: #333;
    color: var(--color-text);
}

[data-theme="dark"] .search-input:focus {
    border-color: var(--color-primary-light);
}

[data-theme="dark"] .project-list li,
[data-theme="dark"] .message-item,
[data-theme="dark"] .activity-item {
    background: #1a1a1a;
    border-color: #333;
}

/* Section FAQ Home */
.home-faq {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-bg-light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.4;
}

.faq-item p {
    margin: 0;
    color: var(--color-text);
    line-height: 1.7;
}

.faq-item a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

[data-theme="dark"] .home-faq {
    background: #1a1a1a;
}

[data-theme="dark"] .faq-item {
    background: #2a2a2a;
    border-color: #333;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.admin-stat-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    min-height: 100px;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.stat-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
    word-break: break-word;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    word-break: break-word;
}

.stat-link {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.stat-link:hover {
    text-decoration: underline;
}

.admin-section {
    margin-bottom: var(--spacing-xl);
}

.admin-section-title {
    font-size: var(--font-size-xxl);
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

.admin-users-breakdown {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.breakdown-item {
    background: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.breakdown-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.breakdown-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.admin-action-card {
    background: white;
    border: 2px solid var(--color-bg-light);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.admin-action-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.admin-action-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.admin-action-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin: 0;
}

.admin-recent-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-bg-light);
    transition: var(--transition);
}

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

.admin-recent-item:hover {
    background: var(--color-bg-light);
}

.recent-item-content h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.recent-item-meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.recent-item-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.role-badge.role-user {
    background: #e3f2fd;
    color: #1976d2;
}

.role-badge.role-premium {
    background: #fff3e0;
    color: #f57c00;
}

.role-badge.role-admin {
    background: #f3e5f5;
    color: #7b1fa2;
}

[data-theme="dark"] .admin-stat-card,
[data-theme="dark"] .admin-action-card,
[data-theme="dark"] .admin-recent-list,
[data-theme="dark"] .breakdown-item {
    background: var(--color-bg-light);
    border-color: #333;
}

[data-theme="dark"] .admin-recent-item {
    border-color: #333;
}

[data-theme="dark"] .admin-recent-item:hover {
    background: var(--color-bg);
}

/* ============================================
   Error Pages (404, 403)
   ============================================ */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.7;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.error-title {
    font-size: var(--font-size-xxl);
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.error-message {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

[data-theme="dark"] .error-page {
    background: var(--color-bg);
}

[data-theme="dark"] .error-code {
    color: var(--color-primary-light);
}

/* ============================================
   Newsletter Form
   ============================================ */
.newsletter-section {
    background: var(--color-bg-light);
    padding: var(--spacing-xl) 0;
    margin: var(--spacing-xl) 0;
}

.newsletter-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.newsletter-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

.newsletter-description {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.newsletter-input-group {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-input-group .form-input {
    flex: 1;
}

.newsletter-privacy {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-top: var(--spacing-sm);
    text-align: center;
}

/* ============================================
   Donation Form
   ============================================ */
.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.donation-info {
    background: var(--color-bg-light);
    padding: var(--spacing-lg);
    border-radius: 12px;
}

.info-box h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.info-box ul {
    margin-top: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.donation-form-wrapper {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.donation-form-wrapper h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Comments
   ============================================ */
.article-comments {
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--color-bg-light);
}

.comments-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

.comments-list {
    margin-bottom: var(--spacing-xl);
}

.comment-item {
    background: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.comment-author {
    color: var(--color-primary);
    font-weight: 600;
}

.comment-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.comment-content {
    color: var(--color-text);
    line-height: 1.6;
}

.comment-form-wrapper {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-bg-light);
}

.comment-form-wrapper h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

[data-theme="dark"] .newsletter-form-wrapper,
[data-theme="dark"] .donation-form-wrapper,
[data-theme="dark"] .comment-form-wrapper {
    background: var(--color-bg-light);
    border-color: #333;
}

[data-theme="dark"] .comment-item {
    background: var(--color-bg);
    border: 1px solid #333;
}

@media (max-width: 768px) {
    .donation-content {
        grid-template-columns: 1fr;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Actions Page
   ============================================ */
.actions-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.actions-intro {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.action-card {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.action-title {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.action-description {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.action-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
    margin-top: auto;
}

.action-link:hover {
    color: var(--color-primary-light);
    gap: var(--spacing-sm);
}

.actions-cta {
    text-align: center;
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--color-bg-light);
}

@media (max-width: 768px) {
    .actions-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .action-card {
        padding: var(--spacing-md);
    }
}

/* ============================================
   Reset & Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prévention du scroll horizontal - RÈGLE GLOBALE */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

#main-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Tous les conteneurs doivent respecter la largeur */
.container,
.site-header,
.site-footer,
section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

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

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

a:link,
a:visited {
    color: var(--color-primary);
    text-decoration: none;
    background: none !important;
}

a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
    background: none !important;
}

a:active {
    color: var(--color-primary-dark);
    background: none !important;
}

/* Désactiver le surlignage bleu par défaut du navigateur */
::selection {
    background: rgba(45, 80, 22, 0.2);
    color: inherit;
}

::-moz-selection {
    background: rgba(45, 80, 22, 0.2);
    color: inherit;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ============================================
   Header
   ============================================ */
/* ============================================
   Header Condensé et Professionnel
   ============================================ */
.site-header {
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-primary-light);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

[data-theme="dark"] .site-header {
    background: rgba(26, 26, 26, 0.98);
    border-bottom-color: var(--color-primary);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    text-decoration: none;
    transform: scale(1.02);
}

.logo-image,
.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
}

.logo-icon {
    font-size: 1.75rem;
}

.main-nav {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

/* Menu Burger Moderne */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle .burger-line {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
}

.mobile-menu-toggle .burger-line:nth-child(1) {
    transform: translateY(-8px);
}

.mobile-menu-toggle .burger-line:nth-child(2) {
    transform: translateY(0);
}

.mobile-menu-toggle .burger-line:nth-child(3) {
    transform: translateY(8px);
}

/* Animation burger → X */
.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
    background: var(--color-text);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
    background: var(--color-text);
}

/* Overlay pour mobile */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: var(--color-primary-light);
    color: white;
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.nav-link:active {
    transform: translateY(0);
}

.nav-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.nav-link:hover .nav-icon {
    transform: scale(1.15);
}

.nav-link span {
    position: relative;
}

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

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

.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 0.5rem;
}

[data-theme="dark"] .nav-divider {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 80vh;
    /* Hauteur viewport pour plus d'impact */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centre horizontalement */
    background: var(--color-primary);
    /* Fallback */
    color: white;
    padding: var(--spacing-xxl) var(--spacing-md);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Assombrissement léger */
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    /* Vignettage pour focus central */
    z-index: 1;
}

.birds-container {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.birds-animation {
    position: absolute;
    top: 0;
    left: -150px;
    width: 150px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
    /* Ombre pour détacher les oiseaux du fond */
    animation: flyAcross 20s linear infinite;
    /* Un peu plus lent pour plus de naturel */
    will-change: transform;
}

@keyframes flyAcross {
    0% {
        transform: translateX(-200px) translateY(0) scale(0.8);
    }

    15% {
        transform: translateX(calc(100vw + 200px)) translateY(-30px) scale(1);
    }

    100% {
        transform: translateX(calc(100vw + 200px)) translateY(-30px) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    /* Contrainte de largeur pour la lisibilité */
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    /* Titre plus gros et responsive */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
    /* Blanc pur forcé */
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    /* Ombre forte pour lisibilité sur vidéo */
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: var(--spacing-xl);
    color: #f0f0f0;
    /* Blanc cassé */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.3);
    text-decoration: none;
    color: white;
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.25);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.35);
}

.btn--secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-water) 100%);
    box-shadow: 0 4px 12px rgba(58, 107, 71, 0.25);
}

.btn--secondary:hover {
    background: linear-gradient(135deg, var(--color-water) 0%, var(--color-water-light) 100%);
    box-shadow: 0 6px 20px rgba(58, 107, 71, 0.35);
}

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

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

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

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

.btn--block {
    width: 100%;
    display: block;
}

.btn--danger {
    background: var(--color-error);
}

/* ============================================
   Cards
   ============================================ */
.block-card,
.project-card,
.article-card {
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.block-card:hover,
.project-card:hover,
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--color-bg-light);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-category {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--color-primary);
    color: white;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

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

.article-title a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.article-excerpt {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-bg-light);
}

.article-read-more {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
    margin-top: auto;
}

.article-read-more:hover {
    color: var(--color-primary-light);
    gap: var(--spacing-sm);
}

.blog-empty-state {
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
}

.blog-empty-state h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.blog-empty-state p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.empty-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

@media (max-width: 768px) {
    .article-image {
        height: 180px;
    }

    .article-content {
        padding: var(--spacing-md);
    }
}

.block-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.block-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.block-text {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.block-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

/* ============================================
   Grids
   ============================================ */
.blocks-grid,
.projects-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

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

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: var(--transition);
}

/* ============================================
   Accessibilité - Focus et Navigation
   ============================================ */

/* Skip link (masqué par défaut, visible au focus) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Focus visible pour tous les éléments interactifs */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Focus pour les éléments avec outline: none (formulaires) */
.form-input:focus,
.form-textarea:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-help {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    padding: var(--spacing-md);
    border-radius: 6px;
    margin-bottom: var(--spacing-md);
}

.alert--error {
    background: #fee;
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.alert--success {
    background: #efe;
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

/* ============================================
   Footer Moderne
   ============================================ */
/* ============================================
   Footer Condensé et Professionnel
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: white;
    padding: 1.25rem 0 0.5rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-top: var(--spacing-xxl);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.06"/></svg>');
    opacity: 0.6;
    pointer-events: none;
    animation: footerShimmer 20s ease-in-out infinite;
}

@keyframes footerShimmer {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.footer-section {
    margin-bottom: 0;
    animation: fadeInUp 0.6s ease-out backwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-section:nth-child(5) {
    animation-delay: 0.5s;
}

.footer-nav-section {
    position: relative;
}

.footer-nav-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 0.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.footer-nav-toggle-btn:hover {
    opacity: 0.9;
}

.footer-nav-toggle-btn .footer-heading {
    margin-bottom: 0;
}

.footer-nav-arrow {
    transition: transform 0.3s ease;
    opacity: 0.7;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.footer-nav-section.active .footer-nav-arrow {
    transform: rotate(180deg);
}

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

.footer-nav-section.active .footer-links {
    max-height: 500px;
}

@media (min-width: 769px) {
    .footer-nav-toggle-btn {
        pointer-events: none;
        cursor: default;
    }

    .footer-nav-arrow {
        display: none;
    }

    .footer-links {
        max-height: none !important;
        overflow: visible;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-title {
    color: white;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.footer-heading {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: white;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.footer-icon {
    flex-shrink: 0;
    opacity: 0.9;
    width: 16px;
    height: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.2rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    font-size: 0.65rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.15;
}

.footer-badge:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 15px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

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

.footer-links li {
    margin-bottom: 0;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.15rem 0.4rem;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 4px;
    margin-left: -0.4rem;
    line-height: 1.25;
}

.footer-link::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.footer-link:hover {
    color: white;
    transform: translateX(6px);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.75rem;
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.25s ease;
    padding: 0.1rem 0;
    line-height: 1.25;
}

.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.8;
    width: 14px;
    height: 14px;
}

.footer-contact-item:hover {
    color: white;
    transform: translateX(6px);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 6px;
}

.footer-contact-item:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.footer-newsletter {
    max-width: 100%;
}

.footer-social-newsletter {
    max-width: 100%;
}

.footer-newsletter-compact {
    margin-top: 1rem;
    width: 100%;
    max-width: 280px;
    /* Limiter la largeur pour être compact */
}

.footer-newsletter-compact .newsletter-title,
.footer-newsletter-compact .newsletter-description {
    display: none !important;
    /* Masquer titre et description */
}

.footer-newsletter-compact .newsletter-form {
    width: 100%;
}

.footer-newsletter-compact .newsletter-input-group {
    display: flex;
    flex-direction: column !important;
    /* Empiler verticalement */
    gap: 0.5rem;
}

.footer-newsletter-compact .form-input {
    width: 100% !important;
    padding: 0.5rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    border: 1px solid transparent !important;
}

.footer-newsletter-compact .btn {
    width: 100% !important;
    padding: 0.5rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    justify-content: center !important;
}

.footer-newsletter-compact .newsletter-privacy {
    font-size: 0.65rem !important;
    margin-top: 0.3rem !important;
    opacity: 0.7;
    text-align: left !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-whatsapp {
    max-width: 100%;
}

.whatsapp-widget-container {
    margin-top: 0.3rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.whatsapp-widget-container iframe,
.whatsapp-widget-container>div {
    max-width: 100%;
}

.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    line-height: 1.3;
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 0;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-4px) scale(1.12) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 18px rgba(255, 255, 255, 0.4);
    animation: socialPulse 0.6s ease-out;
}

@keyframes socialPulse {
    0% {
        transform: translateY(-4px) scale(1.12) rotate(5deg);
    }

    50% {
        transform: translateY(-6px) scale(1.18) rotate(5deg);
    }

    100% {
        transform: translateY(-4px) scale(1.12) rotate(5deg);
    }
}

@keyframes socialGlow {

    0%,
    100% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.social-icon {
    position: absolute !important;
    /* Sortir du flux pour ignorer les contraintes flex */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    transition: all 0.4s ease;
    z-index: 1;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.social-link:hover .social-icon {
    transform: scale(1.1) !important;
    border-color: rgba(255, 255, 255, 0.95);
    filter: brightness(1.25) saturate(1.25) contrast(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px 12px 0 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.3;
}

.footer-copyright strong {
    color: white;
}

.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    line-height: 1.3;
}

.footer-legal-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-legal-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.15rem;
    font-size: 0.7rem;
}

/* Toggle thème dans le header */
.nav-theme-toggle {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-xs);
}

.theme-toggle-btn {
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-primary);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    opacity: 0.1;
}

.theme-toggle-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.theme-toggle-btn:hover::before {
    width: 100%;
    height: 100%;
}

.theme-toggle-btn:active {
    transform: scale(0.95) rotate(15deg);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: absolute;
    width: 100%;
    height: 100%;
}

.theme-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: var(--transition);
}

.theme-icon-dark {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-icon-light {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="dark"] .theme-toggle-btn {
    border-color: var(--color-primary-light);
    color: var(--color-primary-light);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: var(--color-primary-light);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 12px rgba(91, 142, 61, 0.4);
}

/* Bouton dark mode dans le header mobile */
.theme-toggle-btn--mobile {
    display: none;
}

@media (max-width: 768px) {
    .theme-toggle-btn--mobile {
        display: flex !important;
        width: 44px;
        height: 44px;
        margin-right: 0.75rem;
        z-index: 1001;
    }

    .nav-theme-toggle {
        margin-left: 0;
        display: none;
        /* Cacher le bouton dans le menu mobile */
    }

    .theme-toggle-btn {
        width: 36px;
        height: 36px;
    }

    .theme-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   Pages
   ============================================ */
.page-header {
    background: var(--color-bg-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

.page-title {
    font-size: var(--font-size-h1);
    margin-bottom: var(--spacing-sm);
}

.page-intro {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   Responsive
   ============================================ */
/* ============================================
   Responsive - Header & Footer Condensés
   ============================================ */
@media (max-width: 1024px) {
    .nav-list {
        gap: 0.15rem;
    }

    .nav-link {
        padding: 0.45rem 0.65rem;
        font-size: 0.85rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }

    .logo-image {
        width: 38px;
        height: 38px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-overlay {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 1.25rem 2rem;
        gap: 0.25rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-list.show,
    .nav-list[class*="show"] {
        right: 0;
    }

    [data-theme="dark"] .nav-list {
        background: var(--color-bg-light);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
    }

    .nav-list li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        animation: slideInRight 0.4s ease forwards;
    }

    .nav-list.show li:nth-child(1) {
        animation-delay: 0.05s;
    }

    .nav-list.show li:nth-child(2) {
        animation-delay: 0.1s;
    }

    .nav-list.show li:nth-child(3) {
        animation-delay: 0.15s;
    }

    .nav-list.show li:nth-child(4) {
        animation-delay: 0.2s;
    }

    .nav-list.show li:nth-child(5) {
        animation-delay: 0.25s;
    }

    .nav-list.show li:nth-child(6) {
        animation-delay: 0.3s;
    }

    .nav-list.show li:nth-child(7) {
        animation-delay: 0.35s;
    }

    .nav-list.show li:nth-child(8) {
        animation-delay: 0.4s;
    }

    .nav-list.show li:nth-child(9) {
        animation-delay: 0.45s;
    }

    .nav-list.show li:nth-child(10) {
        animation-delay: 0.5s;
    }

    .nav-list.show li:nth-child(11) {
        animation-delay: 0.55s;
    }

    .nav-list.show li:nth-child(12) {
        animation-delay: 0.6s;
    }

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

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.95rem;
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }

    .nav-link:hover {
        background: var(--color-primary);
        color: white;
        transform: translateX(6px);
    }

    .nav-link:hover .nav-icon {
        transform: scale(1.2);
        color: white;
    }

    .nav-icon {
        width: 20px;
        height: 20px;
    }

    .nav-divider {
        width: 100%;
        height: 1px;
        margin: var(--spacing-md) 0;
        background: linear-gradient(90deg, transparent, var(--color-text-light), transparent);
    }

    .nav-theme-toggle {
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
        border-top: 1px solid var(--color-text-light);
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn--large {
        width: 100%;
    }

    .blocks-grid,
    .projects-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Utilities
   ============================================ */
.empty-state {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--color-text-light);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.badge--published,
.badge--active,
.badge--in_progress {
    background: var(--color-success);
    color: white;
}

.badge--draft,
.badge--inactive {
    background: var(--color-text-lighter);
    color: white;
}

.badge--admin {
    background: var(--color-primary);
    color: white;
}

.badge--membre {
    background: var(--color-secondary);
    color: white;
}

/* ============================================
   Styles Membres - Thème Nature/Environnement
   ============================================ */

/* Boutons améliorés avec effets nature */
.button,
.cta-button,
button[type="submit"],
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.25);
    position: relative;
    overflow: hidden;
}

.button::before,
.cta-button::before,
button[type="submit"]::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:hover::before,
.cta-button:hover::before,
button[type="submit"]:hover::before,
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.button:hover,
.cta-button:hover,
button[type="submit"]:hover,
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.35);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
    text-decoration: none;
    color: white;
}

.button:active,
.cta-button:active,
button[type="submit"]:active,
.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.button.ghost,
.cta-button--outline,
.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.button.ghost::before,
.cta-button--outline::before,
.btn-secondary::before {
    background: rgba(45, 80, 22, 0.1);
}

.button.ghost:hover,
.cta-button--outline:hover,
.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
}

/* Logo avec image */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Images réseaux sociaux */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background: rgba(45, 80, 22, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

/* Header avec logo image */
.site-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    border-bottom: 2px solid rgba(45, 80, 22, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .site-header {
    background: linear-gradient(135deg, rgba(26, 48, 9, 0.98) 0%, rgba(42, 42, 42, 0.98) 100%);
    border-bottom-color: rgba(91, 142, 61, 0.2);
}

/* Footer amélioré */
/* Footer styles déjà définis plus haut - cette section est obsolète */

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

.site-footer h3,
.site-footer h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* Cards avec effet nature */
.member-card,
.dashboard-card,
.project-card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(45, 80, 22, 0.1);
    position: relative;
    overflow: hidden;
}

.member-card::before,
.dashboard-card::before,
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.member-card:hover::before,
.dashboard-card:hover::before,
.project-card:hover::before {
    transform: scaleX(1);
}

.member-card:hover,
.dashboard-card:hover,
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.2);
    border-color: var(--color-primary);
}

/* Images de fond nature */
.nature-bg {
    background-image: url('/assets/images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.nature-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.nature-bg>* {
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .nature-bg::before {
    background: rgba(26, 48, 9, 0.85);
}

/* Animations nature */
@keyframes leaf-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.leaf-animation {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: leaf-fall 10s linear infinite;
}

/* Responsive amélioré */
@media (max-width: 768px) {

    .button,
    .cta-button,
    button[type="submit"] {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 0;
    }

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

    .social-links {
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .site-footer {
        padding: 1.25rem 0 0.5rem;
    }

    .footer-newsletter-compact .newsletter-input-group {
        flex-direction: column;
    }

    .whatsapp-widget-container {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-heading {
        justify-content: center;
        font-size: 0.9rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-contact-item {
        font-size: 0.85rem;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .footer-nav-header {
        justify-content: center;
        position: relative;
    }

    .footer-nav-toggle {
        display: flex;
        position: absolute;
        right: 0;
    }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer-links.show {
        max-height: 1000px;
        margin-top: var(--spacing-sm);
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .footer-legal-nav {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .footer-legal-separator {
        display: none;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   Fix Scroll Horizontal - Correction finale
   ============================================ */
html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
}

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

.container,
.site-header,
.site-footer,
section,
main,
article,
header,
footer,
nav,
.header-content,
.nav-list,
.page-header,
.foret-jardin-content,
.sanctuaire-app,
.content-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

img,
video,
iframe,
svg {
    max-width: 100% !important;
    height: auto;
}

/* Correction spécifique pour les éléments qui peuvent dépasser */
.sanctuaire-features,
.actions-grid,
.blocks-grid,
.projects-grid,
.articles-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* Correction pour les styles inline dans les pages */
[style*="width"] {
    max-width: 100% !important;
}


/* ============================================
   CORRECTION HERO VIDEO & TEXTE
   ============================================ */
.hero {
    position: relative !important;
    height: 85vh !important;
    min-height: 600px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: #000 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.hero-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    /* CRITIQUE pour le cover */
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.4) 100%) !important;
    z-index: 1 !important;
}

.birds-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.birds-animation {
    position: absolute !important;
    top: 55% !important;
    /* Descendu pour passer entre texte et boutons */
    left: -300px !important;
    width: 350px !important;
    /* Beaucoup plus grands */
    height: auto !important;
    opacity: 0.95 !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) !important;
    animation: flyAcross 25s linear infinite !important;
}

@keyframes flyAcross {
    0% {
        transform: translateX(-400px) translateY(0) scale(0.8) rotate(5deg);
    }

    20% {
        transform: translateX(calc(100vw + 400px)) translateY(-80px) scale(1.1) rotate(-5deg);
    }

    100% {
        transform: translateX(calc(100vw + 400px)) translateY(-80px) scale(1.1);
    }
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.hero-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
    max-width: 900px !important;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
    font-weight: 500 !important;
    margin-bottom: 2rem !important;
    color: #f8f9fa !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8) !important;
    max-width: 800px !important;
    line-height: 1.6 !important;
}

.hero-actions {
    display: flex !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    flex-direction: row !important;
    /* Force row par d�faut */
}

/* Responsive sp�cifique pour actions */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        max-width: 300px !important;
    }
}


   / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =           C O R R E C T I O N   M E N U   B U R G E R           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /     @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )    {
                 / *   P e r m e t t r e   a u   m e n u   d e   s o r t i r   d u   h e a d e r   * /             . s i t e - h e a d e r    {
                             o v e r f l o w :    v i s i b l e    ! i m p o r t a n t ;
                             b a c k d r o p - f i l t e r :    n o n e    ! i m p o r t a n t ;
                             - w e b k i t - b a c k d r o p - f i l t e r :    n o n e    ! i m p o r t a n t ;
                             b a c k g r o u n d :    r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 9 8 )    ! i m p o r t a n t ;
                     
    }

                     [ d a t a - t h e m e = " d a r k "  ]   . s i t e - h e a d e r    {
                             b a c k g r o u n d :    r g b a ( 2 6 ,    2 6 ,    2 6 ,    0 . 9 8 )    ! i m p o r t a n t ;
                     
    }

                     . h e a d e r - c o n t e n t    {
                             o v e r f l o w :    v i s i b l e    ! i m p o r t a n t ;
                     
    }

                     . n a v - l i s t . s h o w    {
                             r i g h t :    0    ! i m p o r t a n t ;
                             v i s i b i l i t y :    v i s i b l e    ! i m p o r t a n t ;
                             d i s p l a y :    f l e x    ! i m p o r t a n t ;
                             t r a n s f o r m :    n o n e    ! i m p o r t a n t ;
                     
    }

         
}

         

/* ============================================
   STYLES NEWSLETTER FOOTER COMPACT
   ============================================ */
.footer-newsletter-compact {
    margin-top: 1rem;
    max-width: 100%;
}

/* Surcharge des styles par d�faut du composant newsletter */
.footer-newsletter-compact .newsletter-form-wrapper {
    background: transparent !important;
    /* Fond transparent */
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    text-align: left;
}

.footer-newsletter-compact .newsletter-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: white !important;
    display: none;
    /* On cache le titre car il fait doublon avec le contexte du footer */
}

.footer-newsletter-compact .newsletter-description {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.4;
}

/* Empiler input et bouton */
.footer-newsletter-compact .newsletter-input-group {
    display: flex !important;
    flex-direction: column !important;
    /* Vertical */
    gap: 0.5rem !important;
}

.footer-newsletter-compact .form-label {
    display: none !important;
    /* On cache le label 'Votre email' pour gagner de la place */
}

.footer-newsletter-compact .form-input {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 0.5rem 0.8rem !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    height: auto !important;
}

.footer-newsletter-compact .form-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-newsletter-compact .form-input:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--color-secondary) !important;
}

.footer-newsletter-compact .btn {
    width: 100% !important;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.9rem !important;
    margin-top: 0 !important;
    border-radius: 6px !important;
    background-color: var(--color-secondary) !important;
    border: none !important;
}

.footer-newsletter-compact .btn:hover {
    background-color: white !important;
    color: var(--color-secondary) !important;
}

.footer-newsletter-compact .newsletter-privacy {
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-top: 0.5rem !important;
    line-height: 1.2;
}

.footer-newsletter-compact .alert {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
    margin-top: 0.5rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
}


/* ============================================
   PODCASTS REDESIGN
   ============================================ */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.podcast-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    height: 100%;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.podcast-cover {
    height: 180px;
    background: linear-gradient(135deg, var(--color-primary), #4a7c3a);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.podcast-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    opacity: 0.3;
    background-image: url('data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 320%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%221%22 d=%22M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z%22%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-repeat: no-repeat;
}

.podcast-icon-large {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.podcast-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.podcast-meta-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: var(--color-bg-light);
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
}

.podcast-title-card {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 700;
}

.podcast-title-card a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.podcast-title-card a:hover {
    color: var(--color-primary);
}

.podcast-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.podcast-player-wrapper {
    margin-top: auto;
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 0.5rem;
}

.podcast-audio {
    width: 100%;
    height: 36px;
}

.podcast-actions-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.action-btn:hover {
    color: var(--color-primary);
    transform: scale(1.05);
}

.action-btn.liked {
    color: #e11d48;
}

/* Teaser Section */
.podcast-teaser-section {
    background: linear-gradient(135deg, #1a2e1a 0%, #3a6330 100%);
    color: white;
    border-radius: 24px;
    padding: 4rem 2rem;
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(26, 46, 26, 0.2);
}

.teaser-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.teaser-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 20rem;
    opacity: 0.05;
    pointer-events: none;
    color: white;
}

.teaser-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.teaser-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #a7f3d0;
}

.feature-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* ============================================
   DROPDOWN MENU (Outils)
   ============================================ */
.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Pour mobile */
}

/* Desktop Dropdown */
@media (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: var(--color-bg);
        min-width: 240px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100;
        border: 1px solid var(--color-border);
    }

    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    /* Petite fl�che au dessus du menu */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: var(--color-bg);
        border-left: 1px solid var(--color-border);
        border-top: 1px solid var(--color-border);
    }

    .dropdown-toggle {
        width: auto;
        /* Reset width on desktop */
    }

    /* Menu Outils spécifique - 2 colonnes pour éviter le scroll */
    #tools-dropdown .dropdown-menu,
    .tools-dropdown-menu {
        min-width: 520px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.75rem;
    }

    /* Scroll personnalisé si nécessaire */
    .dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown-menu::-webkit-scrollbar-track {
        background: var(--color-bg-light);
        border-radius: 10px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 10px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: var(--color-accent);
    }

    /* Responsive pour écrans moyens */
    @media (max-width: 1200px) {

        #tools-dropdown .dropdown-menu,
        .tools-dropdown-menu {
            min-width: 480px;
        }
    }
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.95rem;
    width: 100%;
    min-width: 0;
    /* Permet au flex de fonctionner correctement dans la grille */
}

.dropdown-link:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    transform: translateX(5px);
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    opacity: 0.8;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .nav-item-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-toggle {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0;
        padding-left: 2rem;
        background: rgba(0, 0, 0, 0.05);
        border-left: 3px solid var(--color-primary);
        border-radius: 0 8px 8px 0;
        display: none;
        /* Cach� par d�faut JS toggle */
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
        max-height: 1000px;
        padding: 0.75rem 0 0.75rem 2rem;
        animation: slideDown 0.3s ease;
    }

    /* Menu Outils sur mobile - une seule colonne */
    #tools-dropdown .dropdown-menu,
    .tools-dropdown-menu {
        grid-template-columns: 1fr;
        min-width: auto;
        display: block;
        max-height: 1000px;
        padding: 0.75rem 0 0.75rem 2rem;
    }

    .nav-item-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        border-radius: 8px;
        margin: 0.25rem 0;
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-link:hover,
    .dropdown-link:active {
        background: rgba(76, 175, 80, 0.1);
        transform: translateX(5px);
    }

    .dropdown-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .dropdown-link span {
        flex: 1;
        white-space: normal;
        word-wrap: break-word;
    }
}

/* ============================================
   BOUTON FLOTTANT OUTILS (Draggable)
   ============================================ */
.floating-tools-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    cursor: grab;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
    transform: translate(0, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.floating-tools-btn.dragging {
    cursor: grabbing !important;
    z-index: 10000;
    transition: none !important;
}

.floating-tools-btn.dragging .floating-tools-toggle {
    pointer-events: none;
}

.floating-tools-btn.menu-open {
    z-index: 10000;
}

.floating-tools-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: 3px solid white;
    border-radius: 50px;
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.5), 0 0 0 4px rgba(76, 175, 80, 0.2);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: inherit;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 6px 30px rgba(76, 175, 80, 0.5), 0 0 0 4px rgba(76, 175, 80, 0.2);
    }

    50% {
        box-shadow: 0 6px 40px rgba(76, 175, 80, 0.7), 0 0 0 6px rgba(76, 175, 80, 0.3);
    }
}

.floating-tools-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.floating-tools-toggle:active {
    transform: scale(0.98);
}

.floating-tools-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.floating-tools-label {
    white-space: nowrap;
}

.floating-tools-menu {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    width: 450px;
    min-width: 450px;
    max-width: 90vw;
    max-height: 80vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.floating-tools-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.floating-tools-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-tools-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.floating-tools-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.floating-tools-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.floating-tools-list {
    list-style: none;
    padding: 0.75rem;
    margin: 0;
    max-height: calc(80vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    width: 100%;
}

.floating-tools-list::-webkit-scrollbar {
    width: 6px;
}

.floating-tools-list::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

.floating-tools-list::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.floating-tools-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

.floating-tool-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

.floating-tool-link span {
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    min-width: 0;
}

.floating-tool-link:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    transform: translateX(5px);
    text-decoration: none;
}

.floating-tool-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-tools-btn {
        position: fixed !important;
        bottom: 80px !important;
        right: 15px !important;
        top: auto !important;
        left: auto !important;
        z-index: 99999 !important;
        transform: none !important;
    }

    .floating-tools-menu {
        width: calc(100vw - 40px);
        min-width: auto;
        max-width: calc(100vw - 40px);
        right: 0;
        left: auto;
        bottom: calc(100% + 10px);
    }

    .floating-tools-toggle {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .floating-tools-label {
        display: none;
    }

    /* Empêcher le bouton d'être caché par le footer */
    .floating-tools-btn {
        margin-bottom: 0 !important;
    }
}

/* Mode sombre */
[data-theme="dark"] .floating-tools-menu {
    background: var(--color-bg);
    border-color: var(--color-border);
}

[data-theme="dark"] .floating-tool-link:hover {
    background: var(--color-bg-light);
}

/* ============================================
   Bouton flottant CBD / Chanvre
   ============================================ */

.floating-cbd-btn {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 99998 !important;
    cursor: grab;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
    transform: translate(0, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.floating-cbd-btn.dragging {
    cursor: grabbing !important;
    z-index: 10000;
    transition: none !important;
}

.floating-cbd-btn.dragging .floating-cbd-toggle {
    pointer-events: none;
}

.floating-cbd-btn.menu-open {
    z-index: 10000;
}

.floating-cbd-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1a5f3f 0%, #2d7a52 100%);
    color: white;
    border: 3px solid white;
    border-radius: 50px;
    box-shadow: 0 6px 30px rgba(26, 95, 63, 0.5), 0 0 0 4px rgba(26, 95, 63, 0.2);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: inherit;
    animation: pulse-glow-cbd 2s ease-in-out infinite;
}

@keyframes pulse-glow-cbd {

    0%,
    100% {
        box-shadow: 0 6px 30px rgba(26, 95, 63, 0.5), 0 0 0 4px rgba(26, 95, 63, 0.2);
    }

    50% {
        box-shadow: 0 6px 40px rgba(26, 95, 63, 0.7), 0 0 0 6px rgba(26, 95, 63, 0.3);
    }
}

.floating-cbd-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.floating-cbd-toggle:active {
    transform: scale(0.98);
}

.floating-cbd-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.floating-cbd-label {
    white-space: nowrap;
}

.floating-cbd-menu {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 0;
    width: 450px;
    min-width: 450px;
    max-width: 90vw;
    max-height: 80vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.floating-cbd-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.floating-cbd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #1a5f3f 0%, #2d7a52 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-cbd-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.floating-cbd-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.floating-cbd-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.floating-cbd-list {
    list-style: none;
    padding: 0.75rem;
    margin: 0;
    max-height: calc(80vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    width: 100%;
}

.floating-cbd-list::-webkit-scrollbar {
    width: 6px;
}

.floating-cbd-list::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

.floating-cbd-list::-webkit-scrollbar-thumb {
    background: #1a5f3f;
    border-radius: 10px;
}

.floating-cbd-list::-webkit-scrollbar-thumb:hover {
    background: #2d7a52;
}

.floating-cbd-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

.floating-cbd-link span {
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    min-width: 0;
}

.floating-cbd-link:hover {
    background: var(--color-bg-light);
    color: #1a5f3f;
    transform: translateX(5px);
    text-decoration: none;
}

.floating-cbd-link-icon {
    width: 20px;
    height: 20px;
    color: #1a5f3f;
    flex-shrink: 0;
}

/* Responsive CBD */
@media (max-width: 768px) {
    .floating-cbd-btn {
        position: fixed !important;
        bottom: 80px !important;
        left: 15px !important;
        top: auto !important;
        right: auto !important;
        z-index: 99998 !important;
        transform: none !important;
    }

    .floating-cbd-menu {
        width: calc(100vw - 40px);
        min-width: auto;
        max-width: calc(100vw - 40px);
        left: 0;
        right: auto;
        bottom: calc(100% + 10px);
    }

    .floating-cbd-toggle {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .floating-cbd-label {
        display: none;
    }

    /* Empêcher le bouton d'être caché par le footer */
    .floating-cbd-btn {
        margin-bottom: 0 !important;
    }
}

[data-theme="dark"] .floating-cbd-menu {
    background: var(--color-bg-dark);
    border-color: #333;
}

[data-theme="dark"] .floating-cbd-link {
    color: var(--color-text);
}

[data-theme="dark"] .floating-cbd-link:hover {
    background: var(--color-bg-light);
}

/* ============================================
   PROJETS / ACTIONS REDESIGN
   ============================================ */
.projects-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--color-border);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    position: relative;
    height: 100%;
}

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

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Badge de statut */
.project-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.status-planning {
    color: #3b82f6;
    border-left: 3px solid #3b82f6;
}

.status-ongoing {
    color: #10b981;
    border-left: 3px solid #10b981;
}

.status-completed {
    color: #6b7280;
    border-left: 3px solid #6b7280;
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-cat {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--color-text);
}

.project-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Animation pour le filtrage */
.project-card.hidden {
    display: none;
}

.project-card.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

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

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

/* ============================================
   Legal pages
   ============================================ */
.legal-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #0d2d2c 0%, #1b5f40 100%);
    color: #ecfdf5;
    overflow: hidden;
}

.legal-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(38, 158, 125, 0.4) 0%, transparent 55%);
    opacity: 0.7;
}

.legal-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.legal-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: rgba(236, 253, 245, 0.8);
}

.legal-hero__intro {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}

.legal-hero__badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legal-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.legal-hero__meta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: rgba(236, 253, 245, 0.9);
}

.legal-wrapper {
    background: var(--color-bg-light);
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.legal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: clamp(2rem, 6vw, 3.5rem);
}

.legal-meta-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid rgba(15, 61, 62, 0.08);
    box-shadow: 0 20px 40px rgba(15, 61, 62, 0.08);
}

.legal-meta-card__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    display: block;
}

.legal-meta-card__title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.legal-meta-card__list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.legal-meta-card__list li {
    padding-left: 0;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--color-text);
}

.legal-meta-card__list a {
    color: var(--color-primary);
    text-decoration: none;
}

.legal-meta-card__list a:hover {
    text-decoration: underline;
}

.legal-grid-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.legal-card {
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: 0 25px 60px rgba(15, 61, 62, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.08);
    position: relative;
}

.legal-card+.legal-card {
    margin-top: 2rem;
}

.legal-card__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    display: inline-block;
}

.legal-card h2 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.legal-card p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.legal-card ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    line-height: 1.6;
}

.legal-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b5f40, #2dd4bf);
}

.legal-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-actions .btn {
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
}

.legal-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 61, 62, 0.12);
    color: var(--color-text-light);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.legal-links a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-hero__eyebrow {
        letter-spacing: 0.2em;
    }

    .legal-card__label {
        letter-spacing: 0.2em;
    }

    .legal-actions {
        flex-direction: column;
    }

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

/* ============================================
   Success / Confirmation pages
   ============================================ */
.success-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    color: #f0fdf4;
    overflow: hidden;
}

.success-hero--donation {
    background: linear-gradient(120deg, #0f3d3e 0%, #16836a 60%, #3bd1a0 100%);
}

.success-hero--premium {
    background: linear-gradient(120deg, #402c0d 0%, #9c6b1f 50%, #f5b947 100%);
}

.success-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.success-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: rgba(240, 253, 244, 0.75);
}

.success-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.success-hero__intro {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.success-hero__metrics {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.success-metric {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.success-shell {
    background: var(--color-bg-light);
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.success-card {
    background: #fff;
    border-radius: 30px;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 35px 70px rgba(16, 38, 49, 0.12);
    border: 1px solid rgba(16, 38, 49, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.success-card__icon {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: linear-gradient(135deg, #30b08f, #67d4bf);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 20px 40px rgba(48, 176, 143, 0.35);
}

.success-card__icon svg {
    width: 48px;
    height: 48px;
}

.success-card h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.success-card__intro {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: clamp(2rem, 6vw, 3rem);
}

.success-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.success-detail {
    border-radius: 20px;
    padding: 1.5rem;
    background: var(--color-bg);
    border: 1px solid rgba(16, 38, 49, 0.08);
}

.success-detail h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.success-detail__value {
    font-size: 1.6rem;
    font-weight: 700;
}

.success-detail p {
    margin: 0.25rem 0 0;
    color: var(--color-text);
}

.success-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.success-impact {
    border-radius: 16px;
    padding: 1.25rem;
    background: #f0f9f6;
    border: 1px solid rgba(48, 176, 143, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.success-impact span {
    font-weight: 600;
}

.success-note {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: #f6fafc;
    border: 1px dashed rgba(16, 38, 49, 0.2);
    color: var(--color-text-light);
}

.success-note strong {
    color: var(--color-text);
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.success-actions .btn {
    min-width: 220px;
    border-radius: 999px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .success-card {
        border-radius: 24px;
    }

    .success-card__icon {
        width: 80px;
        height: 80px;
    }

    .success-details-grid {
        grid-template-columns: 1fr;
    }

    .success-impact-grid {
        grid-template-columns: 1fr;
    }
}

.premium-benefits-summary {
    background: linear-gradient(135deg, #f4f9f1, #e0f2e9);
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid rgba(48, 176, 143, 0.3);
}

.premium-benefits-summary h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.premium-benefits-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.premium-benefits-summary li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
}


   / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =           P R O J E T S   /   A C T I O N S   R E D E S I G N           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /     . p r o j e c t s - f i l t e r s    {
                 d i s p l a y :    f l e x ;
                 j u s t i f y - c o n t e n t :    c e n t e r ;
                 g a p :    0 . 8 r e m ;
                 m a r g i n - b o t t o m :    3 r e m ;
                 f l e x - w r a p :    w r a p ;
         
}

         . f i l t e r - b t n    {
                 b a c k g r o u n d :    t r a n s p a r e n t ;
                 b o r d e r :    2 p x   s o l i d   v a r ( - - c o l o r - b o r d e r ) ;
                 p a d d i n g :    0 . 5 r e m   1 . 2 r e m ;
                 b o r d e r - r a d i u s :    3 0 p x ;
                 f o n t - w e i g h t :    6 0 0 ;
                 c o l o r :    v a r ( - - c o l o r - t e x t - l i g h t ) ;
                 c u r s o r :    p o i n t e r ;
                 t r a n s i t i o n :    a l l   0 . 2 s ;
                 f o n t - f a m i l y :    i n h e r i t ;
                 f o n t - s i z e :    0 . 9 r e m ;
         
}

         . f i l t e r - b t n : h o v e r ,
     . f i l t e r - b t n . a c t i v e    {
                 b a c k g r o u n d :    v a r ( - - c o l o r - p r i m a r y ) ;
                 c o l o r :    w h i t e ;
                 b o r d e r - c o l o r :    v a r ( - - c o l o r - p r i m a r y ) ;
                 t r a n s f o r m :    t r a n s l a t e Y ( - 2 p x ) ;
         
}

         . p r o j e c t s - g r i d    {
                 d i s p l a y :    g r i d ;
                 g r i d - t e m p l a t e - c o l u m n s :    r e p e a t ( a u t o - f i l l ,    m i n m a x ( 3 2 0 p x ,    1 f r ) ) ;
                 g a p :    2 r e m ;
         
}

         . p r o j e c t - c a r d    {
                 b a c k g r o u n d :    w h i t e ;
                 b o r d e r - r a d i u s :    1 6 p x ;
                 o v e r f l o w :    h i d d e n ;
                 b o x - s h a d o w :    0   4 p x   1 0 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 0 5 ) ;
                 t r a n s i t i o n :    t r a n s f o r m   0 . 3 s   e a s e ,    b o x - s h a d o w   0 . 3 s   e a s e ,    o p a c i t y   0 . 3 s   e a s e ;
                 d i s p l a y :    f l e x ;
                 f l e x - d i r e c t i o n :    c o l u m n ;
                 b o r d e r :    1 p x   s o l i d   v a r ( - - c o l o r - b o r d e r ) ;
                 p o s i t i o n :    r e l a t i v e ;
                 h e i g h t :    1 0 0 % ;
         
}

         . p r o j e c t - c a r d : h o v e r    {
                 t r a n s f o r m :    t r a n s l a t e Y ( - 5 p x ) ;
                 b o x - s h a d o w :    0   1 5 p x   3 0 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 1 ) ;
         
}

         . p r o j e c t - i m a g e    {
                 h e i g h t :    2 2 0 p x ;
                 p o s i t i o n :    r e l a t i v e ;
                 o v e r f l o w :    h i d d e n ;
                 b a c k g r o u n d :    v a r ( - - c o l o r - b g - l i g h t ) ;
         
}

         . p r o j e c t - i m a g e   i m g    {
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    1 0 0 % ;
                 o b j e c t - f i t :    c o v e r ;
                 t r a n s i t i o n :    t r a n s f o r m   0 . 5 s   e a s e ;
         
}

         . p r o j e c t - c a r d : h o v e r   . p r o j e c t - i m a g e   i m g    {
                 t r a n s f o r m :    s c a l e ( 1 . 0 5 ) ;
         
}

         / *   B a d g e   d e   s t a t u t   * /     . p r o j e c t - s t a t u s - b a d g e    {
                 p o s i t i o n :    a b s o l u t e ;
                 t o p :    1 r e m ;
                 r i g h t :    1 r e m ;
                 b a c k g r o u n d :    r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 9 5 ) ;
                 p a d d i n g :    0 . 3 r e m   0 . 8 r e m ;
                 b o r d e r - r a d i u s :    2 0 p x ;
                 f o n t - s i z e :    0 . 7 5 r e m ;
                 f o n t - w e i g h t :    7 0 0 ;
                 t e x t - t r a n s f o r m :    u p p e r c a s e ;
                 b a c k d r o p - f i l t e r :    b l u r ( 4 p x ) ;
                 b o x - s h a d o w :    0   2 p x   4 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 1 ) ;
                 z - i n d e x :    2 ;
         
}

         . s t a t u s - p l a n n i n g    {
       c o l o r :    # 3 b 8 2 f 6 ;
       b o r d e r - l e f t :    3 p x   s o l i d   # 3 b 8 2 f 6 ;
       
}

     . s t a t u s - o n g o i n g    {
       c o l o r :    # 1 0 b 9 8 1 ;
       b o r d e r - l e f t :    3 p x   s o l i d   # 1 0 b 9 8 1 ;
       
}

     . s t a t u s - c o m p l e t e d    {
       c o l o r :    # 6 b 7 2 8 0 ;
       b o r d e r - l e f t :    3 p x   s o l i d   # 6 b 7 2 8 0 ;
       
}

         . p r o j e c t - c o n t e n t    {
                 p a d d i n g :    1 . 5 r e m ;
                 f l e x :    1 ;
                 d i s p l a y :    f l e x ;
                 f l e x - d i r e c t i o n :    c o l u m n ;
         
}

         . p r o j e c t - c a t    {
                 f o n t - s i z e :    0 . 8 r e m ;
                 t e x t - t r a n s f o r m :    u p p e r c a s e ;
                 c o l o r :    v a r ( - - c o l o r - p r i m a r y ) ;
                 f o n t - w e i g h t :    7 0 0 ;
                 m a r g i n - b o t t o m :    0 . 5 r e m ;
                 l e t t e r - s p a c i n g :    0 . 5 p x ;
         
}

         . p r o j e c t - t i t l e    {
                 f o n t - s i z e :    1 . 4 r e m ;
                 m a r g i n - b o t t o m :    0 . 8 r e m ;
                 l i n e - h e i g h t :    1 . 3 ;
                 c o l o r :    v a r ( - - c o l o r - t e x t ) ;
         
}

         . p r o j e c t - d e s c    {
                 c o l o r :    v a r ( - - c o l o r - t e x t - l i g h t ) ;
                 f o n t - s i z e :    0 . 9 5 r e m ;
                 l i n e - h e i g h t :    1 . 6 ;
                 m a r g i n - b o t t o m :    1 . 5 r e m ;
                 f l e x :    1 ;
         
}

         . p r o j e c t - m e t a    {
                 d i s p l a y :    f l e x ;
                 j u s t i f y - c o n t e n t :    s p a c e - b e t w e e n ;
                 a l i g n - i t e m s :    c e n t e r ;
                 p a d d i n g - t o p :    1 r e m ;
                 b o r d e r - t o p :    1 p x   s o l i d   v a r ( - - c o l o r - b o r d e r ) ;
                 f o n t - s i z e :    0 . 8 5 r e m ;
                 c o l o r :    v a r ( - - c o l o r - t e x t - l i g h t ) ;
         
}

         . m e t a - i t e m    {
                 d i s p l a y :    f l e x ;
                 a l i g n - i t e m s :    c e n t e r ;
                 g a p :    0 . 4 r e m ;
         
}

         / *   A n i m a t i o n   p o u r   l e   f i l t r a g e   * /     . p r o j e c t - c a r d . h i d d e n    {
                 d i s p l a y :    n o n e ;
         
}

         . p r o j e c t - c a r d . f a d e - i n    {
                 a n i m a t i o n :    f a d e I n   0 . 4 s   e a s e   f o r w a r d s ;
         
}

         @ k e y f r a m e s   f a d e I n    {
                 f r o m    {
           o p a c i t y :    0 ;
           t r a n s f o r m :    t r a n s l a t e Y ( 1 0 p x ) ;
           
    }

                 t o    {
           o p a c i t y :    1 ;
           t r a n s f o r m :    t r a n s l a t e Y ( 0 ) ;
           
    }

         
}

         

/* ============================================
   PROJETS / ACTIONS REDESIGN
   ============================================ */
.projects-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--color-border);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    position: relative;
    height: 100%;
}

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

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Badge de statut */
.project-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.status-planning {
    color: #3b82f6;
    border-left: 3px solid #3b82f6;
}

.status-ongoing {
    color: #10b981;
    border-left: 3px solid #10b981;
}

.status-completed {
    color: #6b7280;
    border-left: 3px solid #6b7280;
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-cat {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--color-text);
}

.project-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Animation pour le filtrage */
.project-card.hidden {
    display: none;
}

.project-card.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

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

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


.cal-events-section {
    margin: 4rem 0;
}

.cal-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cal-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cal-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cal-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.cal-card .btn {
    margin-top: auto;
}

.cal-embed-section {
    margin: 4rem 0;
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
}

.cal-embed-container {
    min-height: 620px;
}

.cal-embed {
    width: 100%;
    min-height: 600px;
}

.cal-events-section {
    margin: 4rem 0;
}

.cal-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cal-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cal-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cal-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.cal-card .btn {
    margin-top: auto;
}

.cal-embed-section {
    margin: 4rem 0;
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
}

.cal-embed-container {
    min-height: 620px;
}

.cal-embed {
    width: 100%;
    min-height: 600px;
}

/* Premium Events Redesign */
.events-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: radial-gradient(circle at top, rgba(63, 179, 127, 0.3), transparent 60%) var(--color-bg-dark, #0b1525);
    overflow: hidden;
    text-align: center;
    color: #f7f7f5;
}

.events-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 7, 18, 0.9), rgba(4, 47, 46, 0.85));
    z-index: 0;
}

.events-hero .container {
    position: relative;
    z-index: 1;
}

.events-hero .page-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    color: #f5fbe0;
}

.events-hero .page-intro {
    max-width: 720px;
    margin: 0 auto 2rem;
    color: rgba(247, 247, 245, 0.85);
}

.events-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.4rem 1.2rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    text-align: left;
}

.stat-card--accent {
    border-color: rgba(63, 179, 127, 0.6);
    box-shadow: 0 0 20px rgba(63, 179, 127, 0.2);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e2f6d8;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247, 247, 245, 0.7);
}

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

.premium-layout {
    background: linear-gradient(180deg, #050c17, #0d1b2a);
    padding: clamp(2rem, 6vw, 4rem) 0 2rem;
}

.events-section.premium {
    margin-top: 2rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.section-heading p {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.75);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--color-primary-light, #8ef0b0);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.event-card.premium-card {
    position: relative;
    padding: 1.75rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 16, 29, 0.9);
    overflow: hidden;
    backdrop-filter: blur(16px);
    color: #f7f7f5;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-card.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(8, 25, 43, 0.4);
}

.event-card__glow {
    position: absolute;
    inset: -30% auto auto -30%;
    width: 160%;
    height: 160%;
    background: var(--event-gradient, linear-gradient(135deg, #0f172a, #1d4ed8));
    opacity: 0.35;
    filter: blur(60px);
    z-index: 0;
}

.event-card__header,
.event-card__body,
.event-card__actions {
    position: relative;
    z-index: 1;
}

.event-card__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.event-card__icon {
    font-size: 1.5rem;
}

.event-card__badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 0.15rem 0.8rem;
    color: inherit;
}

.event-card__badge--accent {
    border-color: rgba(142, 240, 176, 0.9);
    color: #0b1c16;
    background: rgba(142, 240, 176, 0.95);
}

.event-card__title {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.event-card__title a {
    color: #fff;
}

.event-card__excerpt {
    color: rgba(247, 247, 245, 0.8);
    margin-bottom: 1rem;
}

.event-card__meta {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.event-card__meta li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: rgba(247, 247, 245, 0.9);
}

.event-card__meta span {
    font-size: 1.2rem;
}

.event-card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
    backdrop-filter: blur(6px);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.btn--glass {
    background: rgba(142, 240, 176, 0.15);
    color: #8ef0b0;
    border: 1px solid rgba(142, 240, 176, 0.6);
    backdrop-filter: blur(6px);
}

.btn--glass:hover {
    background: rgba(142, 240, 176, 0.3);
}

.btn--ghost.btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.premium-empty {
    text-align: center;
    color: #f7f7f5;
    padding: 3rem;
    border-radius: 32px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(10, 16, 29, 0.7);
}

.empty-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
}

.highlight-card {
    flex: 1 1 200px;
    border-radius: 18px;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    position: relative;
}

.timeline-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 11, 20, 0.85);
}

.timeline-card p {
    color: rgba(247, 247, 245, 0.75);
}

.timeline-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary, #8ef0b0);
    left: 12px;
    top: -5px;
}

.timeline-date {
    color: rgba(247, 247, 245, 0.65);
}

.timeline-tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(247, 247, 245, 0.9);
}

.timeline-tags a {
    color: #8ef0b0;
    text-decoration: underline;
}

.events-prestations-cta {
    margin-top: 3rem;
    padding: 2rem 2.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #0b2727, #155e63);
    border: 1px solid rgba(142, 240, 176, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: #e8fff3;
    flex-wrap: wrap;
}

.events-prestations-cta h3 {
    margin-bottom: 0.3rem;
    font-size: 1.6rem;
}

.events-prestations-cta p {
    margin: 0;
    color: rgba(232, 255, 243, 0.8);
    max-width: 540px;
}

@media (max-width: 768px) {
    .events-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .section-heading {
        flex-direction: column;
    }

    .events-prestations-cta {
        flex-direction: column;
        text-align: center;
    }

    .events-prestations-cta a {
        width: 100%;
        text-align: center;
    }
}

/* Prestations Page */
.prestations-hero {
    padding: clamp(3rem, 8vw, 5rem) 0 2rem;
    background: radial-gradient(circle at top, rgba(142, 240, 176, 0.2), transparent 60%), #030c17;
    color: #f7f7f5;
    text-align: center;
}

.prestations-hero .page-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: rgba(247, 247, 245, 0.75);
}

.prestations-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.prestations-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.prestations-hero-stats article {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.5rem;
    background: rgba(10, 18, 34, 0.7);
    backdrop-filter: blur(10px);
}

.prestations-services,
.prestations-process,
.prestations-benefits {
    padding: 3rem 0;
}

.prestations-services {
    background: var(--color-bg-dark, #070d16);
    color: #f7f7f5;
}

.prestations-services .section-heading p {
    color: rgba(247, 247, 245, 0.75);
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    border-radius: 24px;
    padding: 2rem;
    background: rgba(7, 13, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(3, 12, 23, 0.4);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: -40% auto auto -40%;
    width: 160%;
    height: 160%;
    background: linear-gradient(135deg, rgba(63, 179, 127, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(142, 240, 176, 0.4);
    box-shadow: 0 20px 45px rgba(3, 12, 23, 0.6);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card__badge {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(142, 240, 176, 0.15);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: rgba(247, 247, 245, 0.8);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: rgba(247, 247, 245, 0.85);
}

.service-list li::before {
    content: "✔";
    margin-right: 0.4rem;
    color: #8ef0b0;
}

.service-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 2;
}

.service-card__cta {
    flex: 1 1 180px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(17, 94, 89, 0.4);
}

.service-card .btn--ghost {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(247, 247, 245, 0.85);
}

.service-card .btn--ghost:hover {
    border-color: rgba(142, 240, 176, 0.6);
    color: #8ef0b0;
}

.prestations-process {
    background: linear-gradient(180deg, #030b15, #0d1b2a);
    color: #f7f7f5;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.process-card {
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 14, 26, 0.85);
    position: relative;
    overflow: hidden;
}

.process-index {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: rgba(142, 240, 176, 0.2);
    margin-bottom: 1rem;
}

.prestations-benefits {
    background: var(--color-bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.benefit-card {
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.prestations-contact-card {
    border-radius: 24px;
    background: linear-gradient(135deg, #0b2727, #155e63);
    padding: 2.5rem;
    color: #e8fff3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.prestations-contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .prestations-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .prestations-contact-card,
    .prestations-cta,
    .prestations-contact-actions {
        flex-direction: column;
        text-align: center;
    }

    .prestations-contact-actions .btn,
    .prestations-cta .btn {
        width: 100%;
    }

    .service-card__actions {
        flex-direction: column;
    }

    .service-card__cta {
        width: 100%;
    }
}

/* Soutenir Page */
.soutenir-hero {
    padding: clamp(3rem, 8vw, 5rem) 0 2.5rem;
    background: radial-gradient(circle at top, rgba(142, 240, 176, 0.25), transparent 60%), #020a13;
    color: #f7f7f5;
    text-align: center;
}

.soutenir-hero .page-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: rgba(247, 247, 245, 0.8);
}

.soutenir-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.soutenir-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.soutenir-plans {
    background: linear-gradient(180deg, #030b15, #0d1b2a);
    color: #f7f7f5;
    padding: 3rem 0;
}

.support-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.support-card-premium {
    border-radius: 26px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 12, 23, 0.85);
    box-shadow: 0 20px 40px rgba(3, 6, 15, 0.55);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.support-card-premium::after {
    content: "";
    position: absolute;
    inset: -60% auto auto -30%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(142, 240, 176, 0.35), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(142, 240, 176, 0.4);
}

.support-card-premium:hover::after {
    opacity: 1;
}

.support-card-premium--featured {
    border-color: rgba(142, 240, 176, 0.6);
}

.support-card-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: rgba(142, 240, 176, 0.15);
    border: 1px solid rgba(142, 240, 176, 0.5);
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.support-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.support-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    background: rgba(142, 240, 176, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.support-card-tagline {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(247, 247, 245, 0.7);
    margin: 0;
}

.support-card-price {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.support-card-description {
    color: rgba(247, 247, 245, 0.82);
    margin-bottom: 0.5rem;
    min-height: 56px;
}

.support-card-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.support-card-features li {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    color: rgba(247, 247, 245, 0.9);
}

.support-card-features li::before {
    content: "•";
    color: #8ef0b0;
}

.support-card-actions {
    margin-top: auto;
}

.support-impact {
    padding: 3rem 0;
    background: var(--color-bg-light);
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.impact-card {
    border-radius: 18px;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.impact-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary, #0f9d58);
    margin-bottom: 0.3rem;
}

.support-impact-content {
    background: #fff;
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.impact-list {
    margin: 1.5rem 0;
    padding-left: 1.2rem;
    color: var(--color-text);
}

.impact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.support-guarantees {
    padding: 3rem 0;
    background: linear-gradient(180deg, #0d1b2a, #07101d);
    color: #f7f7f5;
}

.support-guarantees .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.guarantee-card {
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 13, 23, 0.85);
    box-shadow: 0 20px 40px rgba(1, 3, 9, 0.6);
}

.guarantee-card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: rgba(247, 247, 245, 0.85);
}

.support-plan-showcase {
    padding: 3rem 0;
    background: radial-gradient(circle at bottom, rgba(15, 71, 52, 0.4), transparent 60%), #01060d;
    color: #f7f7f5;
}

.plan-showcase {
    --plan-gradient: linear-gradient(135deg, #0f4c3a, #1d976c);
    border-radius: 32px;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 8, 16, 0.85);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.plan-showcase::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 30px;
    padding: 2px;
    background: var(--plan-gradient);
    opacity: 0.35;
    filter: blur(40px);
    z-index: 0;
}

.plan-showcase>* {
    position: relative;
    z-index: 1;
}

.plan-showcase:hover {
    transform: translateY(-6px);
    border-color: rgba(142, 240, 176, 0.5);
}

.plan-showcase[data-plan="premium"] {
    --plan-gradient: linear-gradient(135deg, #a855f7, #ff6ec7);
}

.plan-showcase[data-plan="donation"] {
    --plan-gradient: linear-gradient(135deg, #0ea5e9, #22d3ee);
}

.plan-showcase[data-plan="sponsorship"] {
    --plan-gradient: linear-gradient(135deg, #14532d, #4ade80);
}

.plan-showcase[data-plan="solidarity"] {
    --plan-gradient: linear-gradient(135deg, #0f4c3a, #1d976c);
}

.plan-showcase[data-plan="booster"] {
    --plan-gradient: linear-gradient(135deg, #a855f7, #ff70c4);
}

.plan-showcase[data-plan="legacy"] {
    --plan-gradient: linear-gradient(135deg, #0f172a, #2563eb);
}

.plan-showcase__badge {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    background: rgba(247, 208, 96, 0.2);
    border: 1px solid rgba(247, 208, 96, 0.4);
    border-radius: 999px;
    padding: 0.2rem 0.9rem;
}

.plan-showcase__header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-showcase__icon {
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    border-radius: 20px;
    background: rgba(142, 240, 176, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.plan-showcase__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: rgba(247, 247, 245, 0.65);
    margin: 0;
}

.plan-showcase__price {
    margin: 0.2rem 0 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.plan-showcase__description {
    color: rgba(247, 247, 245, 0.82);
    margin-bottom: 1.2rem;
}

.plan-showcase__body {
    display: flex;
    gap: clamp(1rem, 4vw, 3rem);
    flex-wrap: wrap;
    justify-content: space-between;
}

.plan-showcase__list {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 220px;
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-showcase__list li {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.plan-showcase__list li::before {
    content: "✔";
    color: #8ef0b0;
}

.plan-showcase__cta {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
}

.plan-showcase__hint {
    font-size: 0.85rem;
    color: rgba(247, 247, 245, 0.65);
    margin: 0;
}

.btn--gradient {
    background: linear-gradient(135deg, #a855f7, #ff70c4);
    border: none;
    color: #0b0415;
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.35);
}

.btn--gradient:hover {
    filter: brightness(1.05);
}

.donation-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: radial-gradient(circle at 20% 0%, rgba(142, 240, 176, 0.25), transparent 60%), #030812;
    color: #f7f7f5;
    text-align: center;
    overflow: hidden;
}

.donation-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/images/feuilles-pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.donation-hero .container {
    position: relative;
    z-index: 1;
}

.donation-hero .page-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: rgba(247, 247, 245, 0.8);
}

.donation-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.donation-hero-tags {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.donation-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(142, 240, 176, 0.12);
    border: 1px solid rgba(142, 240, 176, 0.4);
    font-size: 0.9rem;
    color: rgba(247, 247, 245, 0.85);
}

.donation-tag__icon {
    font-size: 1.2rem;
}

.donation-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.donation-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.donation-alert svg {
    flex-shrink: 0;
}

.donation-alert--warning {
    background: rgba(255, 196, 0, 0.15);
    border: 1px solid rgba(255, 196, 0, 0.4);
    color: #b45309;
}

.donation-alert--error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #b91c1c;
}

.donation-plans {
    background: linear-gradient(180deg, #050c16, #09121f);
    color: #f7f7f5;
    padding: 3rem 0;
}

.donation-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.donation-details {
    padding: 3rem 0;
    background: var(--color-bg-light);
}

.donation-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.donation-info-card {
    border-radius: 28px;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.donation-info-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f9d58, #34ebba);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1rem;
}

.donation-tax-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.donation-tax-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
}

.donation-tax-rate {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.donation-tax-item p {
    margin: 0.2rem 0 0;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.donation-usage-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.donation-usage-list li {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.donation-action {
    padding: 3.5rem 0;
    background: radial-gradient(circle at top, rgba(4, 47, 46, 0.45), transparent 60%), #010409;
}

.donation-panel {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(8, 16, 27, 0.85);
    border-radius: 32px;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    color: #f7f7f5;
    text-align: center;
}

.donation-panel__header p {
    color: rgba(247, 247, 245, 0.8);
    margin-bottom: 0.2rem;
}

.donation-panel__qr {
    margin: 2rem 0;
}

.donation-panel__qr-link {
    display: inline-block;
    padding: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.45);
}

.donation-panel__qr-image {
    width: 220px;
    height: 220px;
    background: #fff;
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.donation-panel__qr-caption {
    margin-top: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.donation-panel__divider {
    position: relative;
    margin: 2rem 0;
    color: rgba(247, 247, 245, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}

.donation-panel__divider::before,
.donation-panel__divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.donation-panel__divider::before {
    left: 0;
}

.donation-panel__divider::after {
    right: 0;
}

.donation-panel__cta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    box-shadow: 0 12px 30px rgba(15, 157, 88, 0.4);
}

.donation-panel__cta small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.donation-panel__security {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(247, 247, 245, 0.7);
}

.donation-panel__security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(142, 240, 176, 0.4);
    margin-bottom: 0.75rem;
}

/* Home Page */
.home-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 6vw, 4rem);
    color: #f7f7f5;
    min-height: 70vh;
    overflow: hidden;
}

.home-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(3, 12, 23, 0.9), rgba(5, 24, 16, 0.7));
    z-index: 0;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
}

.home-hero__intro {
    color: rgba(247, 247, 245, 0.8);
    font-size: 1.1rem;
    margin: 1rem auto 1.5rem;
}

.home-hero__badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.home-hero__badges span {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
}

.home-hero__actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.home-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.hero-stat {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1rem;
    background: rgba(10, 20, 30, 0.7);
    backdrop-filter: blur(12px);
}

.hero-stat__value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e2f6d8;
}

.hero-stat__label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: rgba(247, 247, 245, 0.7);
}

.hero-stat__detail {
    font-size: 0.9rem;
    color: rgba(247, 247, 245, 0.8);
}

.home-pillars {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: var(--color-bg-light);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.pillar-card {
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 220px;
}

.pillar-card__icon {
    font-size: 2rem;
}

.pill-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.pill-link:hover {
    text-decoration: underline;
}

.home-featured {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: #050e18;
    color: #f7f7f5;
}

.home-featured .section-heading p {
    color: rgba(247, 247, 245, 0.8);
}

.home-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.home-featured-card {
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 12, 20, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.home-featured-card__image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.home-featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-featured-card:hover .home-featured-card__image img {
    transform: scale(1.05);
}

.home-featured-card__content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.home-featured-card__content .badge {
    align-self: flex-start;
}

.home-featured-card__footer {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(247, 247, 245, 0.75);
}

.home-featured-empty {
    border-radius: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    background: rgba(4, 10, 18, 0.8);
    color: rgba(247, 247, 245, 0.85);
}

.home-featured-empty__actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 13, 22, 0.9);
    font-size: 2rem;
}

.home-programs {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: linear-gradient(135deg, #030c17, #081c1c);
    color: #f7f7f5;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.program-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 18, 24, 0.85);
    padding: 1.8rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.program-badge {
    align-self: flex-start;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.program-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.home-news {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: var(--color-bg-light);
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-card {
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card__image {
    height: 200px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.news-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.news-card__content .badge {
    align-self: flex-start;
}

.news-card__meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.home-news-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 24px;
    border: 1px dashed var(--color-border);
    background: #fff;
}

.home-cta {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: radial-gradient(circle at top right, rgba(142, 240, 176, 0.15), transparent 60%), #030a12;
    color: #f7f7f5;
}

.home-cta__content {
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(2rem, 6vw, 3rem);
    background: rgba(8, 16, 24, 0.85);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.home-cta__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Blog & Podcasts */
.reading-hero,
.podcast-hero {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: radial-gradient(circle at top right, rgba(142, 240, 176, 0.15), transparent 60%), #030a12;
    color: #f7f7f5;
}

.reading-hero__content,
.podcast-hero__content {
    max-width: 720px;
}

.reading-badges,
.podcast-hero__badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.reading-badges span,
.podcast-hero__badges span {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
}

.reading-hero__actions,
.podcast-hero__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.reading-hero__stats,
.podcast-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.reading-hero__stats article,
.podcast-hero__stats article {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1rem;
    background: rgba(7, 12, 18, 0.85);
    backdrop-filter: blur(8px);
    text-align: center;
}

.reading-hero__stats .stat-value,
.podcast-hero__stats .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: #e3f7d9;
}

.reading-hero__stats .stat-label,
.podcast-hero__stats .stat-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: rgba(247, 247, 245, 0.7);
}

.blog-filters {
    background: var(--color-bg-light);
    padding: 2.5rem 0;
}

.blog-filters__heading {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.category-pills {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill {
    border-radius: 999px;
    border: 1px solid var(--color-border);
    padding: 0.4rem 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.pill--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.blog-wrapper {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: #050e18;
    color: #f7f7f5;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    background: rgba(6, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    margin-bottom: 2.5rem;
}

.blog-featured-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.blog-featured-card__placeholder {
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.05);
}

.blog-featured-card__content {
    padding: clamp(1.5rem, 5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.blog-featured-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(247, 247, 245, 0.75);
}

.blog-featured-card__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.blog-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 14, 22, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-card__image {
    display: block;
    height: 220px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.06);
}

.blog-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.blog-card__content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.blog-card__meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(247, 247, 245, 0.7);
}

.blog-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    background: rgba(6, 12, 20, 0.8);
}

.blog-empty__icon {
    font-size: 2rem;
}

.podcasts-section {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: #030b15;
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.podcast-card {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 12, 20, 0.85);
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.podcast-card__visual {
    position: relative;
    height: 220px;
    background: radial-gradient(circle at 20% 20%, rgba(142, 240, 176, 0.25), transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-wave {
    position: absolute;
    width: 120%;
    height: 50%;
    background: linear-gradient(90deg, rgba(142, 240, 176, 0.4), transparent);
    filter: blur(20px);
    animation: pulse 4s ease-in-out infinite;
}

.podcast-icon-large {
    font-size: 3rem;
    z-index: 1;
}

.podcast-play-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #0a1a1f;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 1.2rem;
    right: 1.2rem;
}

.podcast-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.podcast-actions-bar {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.podcast-actions {
    display: flex;
    gap: 0.6rem;
}

.podcast-empty,
.podcast-teaser__card {
    border-radius: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 3rem 2rem;
    background: rgba(6, 12, 20, 0.8);
    text-align: center;
    color: #f7f7f5;
}

.podcast-teaser__card {
    position: relative;
    overflow: hidden;
}

.podcast-single-shell {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: var(--color-bg-light);
}

.podcast-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 1.5rem;
}

.podcast-single-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.podcast-single-player {
    position: relative;
    border-radius: 32px;
    background: radial-gradient(circle at 20% 20%, rgba(142, 240, 176, 0.2), transparent 60%), #050c16;
    padding: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.podcast-single-screen {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #f7f7f5;
    position: relative;
    z-index: 1;
}

.podcast-single-screen .podcast-icon-large {
    font-size: 2.5rem;
}

.podcast-single-player audio {
    width: 100%;
    margin-top: 1.2rem;
    position: relative;
    z-index: 1;
}

.podcast-single-description {
    border-radius: 24px;
    background: #fff;
    padding: 1.8rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.podcast-single-cta {
    border-radius: 24px;
    border: 1px solid rgba(8, 18, 24, 0.1);
    background: #0c1a24;
    color: #f7f7f5;
    padding: 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.podcast-single-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.podcast-info-card {
    border-radius: 24px;
    border: 1px solid var(--color-border);
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.podcast-info-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.podcast-info-card li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.podcast-single-meta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    color: rgba(247, 247, 245, 0.75);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.teaser-bg-icon {
    position: absolute;
    font-size: 8rem;
    opacity: 0.05;
    right: 2rem;
    top: 1rem;
}

.teaser-content {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 1.4rem;
}

.teaser-note a {
    color: #8ef0b0;
    text-decoration: underline;
}

.reading-cta {
    padding: clamp(2.5rem, 7vw, 4rem) 0;
    background: linear-gradient(135deg, #030a12, #08151f);
    color: #f7f7f5;
}

.reading-cta__content {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: rgba(6, 12, 20, 0.85);
}

.reading-cta__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.reading-cta--blog {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Auth Pages */
.auth-hero {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: radial-gradient(circle at top, rgba(142, 240, 176, 0.15), transparent 60%), #040c15;
    color: #f7f7f5;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.auth-panel {
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: rgba(5, 10, 18, 0.85);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.auth-panel__intro {
    color: rgba(247, 247, 245, 0.75);
    margin: 1rem 0 1.5rem;
}

.auth-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.auth-list li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.auth-list li::before {
    content: '✔';
    color: var(--color-primary);
    font-weight: 600;
}

.auth-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.auth-panel__footer {
    color: rgba(247, 247, 245, 0.75);
}

.auth-panel__footer a {
    color: #8ef0b0;
}

.auth-card--form {
    border-radius: 32px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.auth-card--form h2 {
    margin-bottom: 1rem;
}

.auth-alt-link {
    margin-top: 1.2rem;
    text-align: center;
    color: var(--color-text-light);
}

.auth-alt-link a {
    color: var(--color-primary-dark, #0f766e);
    font-weight: 600;
}



.donation-panel--error {
    border: 1px solid rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
}

/* Contact Page */
.contact-hero {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: radial-gradient(circle at top, rgba(63, 179, 127, 0.25), transparent 60%), #020a13;
    color: #f7f7f5;
    text-align: center;
}

.contact-hero .page-intro {
    max-width: 720px;
    margin: 0 auto 2rem;
    color: rgba(247, 247, 245, 0.8);
}

.contact-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.contact-channels {
    padding: 3rem 0;
    background: #030b15;
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.contact-channel-card {
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 12, 23, 0.85);
    color: #f7f7f5;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.contact-channel-badge {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(142, 240, 176, 0.12);
    border: 1px solid rgba(142, 240, 176, 0.5);
    border-radius: 999px;
    padding: 0.1rem 0.7rem;
}

.contact-channel-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.contact-channel-icon {
    font-size: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 16px;
    background: rgba(142, 240, 176, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-channel-title {
    font-size: 1.1rem;
    margin: 0;
}

.contact-channel-desc {
    margin: 0;
    color: rgba(247, 247, 245, 0.75);
}

.contact-content {
    padding: 3rem 0;
    background: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.contact-info-panel,
.contact-form-wrapper {
    border-radius: 28px;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.contact-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.5rem;
}

.reason-pill {
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reason-pill--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.contact-form.premium .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.form-helper {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.4rem;
}

/* Parrainage Page */
.parrainage-hero {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: radial-gradient(circle at top, rgba(63, 179, 127, 0.2), transparent 60%), #04101d;
    color: #f7f7f5;
    text-align: center;
}

.parrainage-hero .page-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: rgba(247, 247, 245, 0.8);
}

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

.parrainage-details {
    padding: 3rem 0;
    background: var(--color-bg-light);
}

.parrainage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.parrainage-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.parrainage-card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.parrainage-next {
    padding: 3rem 0;
}

.parrainage-next ol {
    margin: 1.5rem 0;
    padding-left: 1.2rem;
    line-height: 1.7;
}

.parrainage-next li {
    margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
    .home-hero__content {
        text-align: left;
    }

    .home-hero__actions,
    .home-hero__badges,
    .home-featured-empty__actions,
    .home-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero__stats {
        grid-template-columns: 1fr;
    }

    .home-featured-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .home-cta__content {
        flex-direction: column;
    }

    .home-cta__actions a {
        width: 100%;
        text-align: center;
    }

    .reading-hero__actions,
    .podcast-hero__actions,
    .reading-hero__badges,
    .podcast-hero__badges,
    .reading-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .reading-hero__stats,
    .podcast-hero__stats {
        grid-template-columns: 1fr;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-card--form {
        padding: 1.5rem;
    }

    .podcast-single-layout {
        grid-template-columns: 1fr;
    }

    .podcast-single-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .podcast-actions-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .reading-cta__content {
        flex-direction: column;
    }

    .soutenir-hero-cta,
    .impact-actions {
        flex-direction: column;
    }

    .support-premium-grid {
        grid-template-columns: 1fr;
    }

    .plan-showcase__body {
        flex-direction: column;
    }

    .plan-showcase__cta {
        width: 100%;
        align-items: stretch;
    }

    .donation-hero-cta {
        flex-direction: column;
    }

    .donation-plan-grid,
    .donation-info-grid {
        grid-template-columns: 1fr;
    }

    .donation-panel__qr-image {
        width: 180px;
        height: 180px;
    }

    .contact-hero-cta,
    .parrainage-hero-cta {
        flex-direction: column;
    }

    .contact-channel-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Error Pages Premium (404, 500)
   ============================================ */
.error-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #0d2d2c 0%, #1b5f40 100%);
    color: #ecfdf5;
    overflow: hidden;
    text-align: center;
}

.error-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(26, 95, 64, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.error-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.error-hero__code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.error-hero__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.error-hero__message {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.error-suggestions-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.error-suggestions-card h2 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.error-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions-grid a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
}

.error-suggestions-grid a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.error-info-card {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #ff9800;
    text-align: left;
}

.error-info-card h2 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.error-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-info-list li {
    padding: 0.8rem 0;
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1rem;
}

.error-note-card {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.error-note-card a {
    color: var(--color-primary);
    text-decoration: underline;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.error-actions .btn {
    min-width: 180px;
}

/* ============================================
   Forêt-Jardin Premium
   ============================================ */
.foret-jardin-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #0d2d2c 0%, #1b5f40 100%);
    color: #ecfdf5;
    overflow: hidden;
    text-align: center;
}

.foret-jardin-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(26, 95, 64, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.foret-jardin-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.foret-jardin-hero__eyebrow {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.foret-jardin-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.foret-jardin-hero__intro {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.foret-jardin-content {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.foret-jardin-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.foret-jardin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.foret-jardin-text h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.foret-jardin-text h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.foret-jardin-text p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.strates-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.strates-list li {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.strates-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.strates-list strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.3rem;
}

.foret-jardin-image {
    position: sticky;
    top: 2rem;
}

.foret-jardin-image-placeholder {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--color-text-light);
    border: 2px dashed var(--color-primary);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(15, 61, 62, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.location-card h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-card p {
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

/* Section Sites Pilotes */
.sites-pilotes-section {
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--color-bg-light);
}

.sites-pilotes-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-lg) 0;
    text-align: center;
}

.sites-pilotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.site-pilote-card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-bg-light);
    transition: all 0.3s ease;
}

.site-pilote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.site-pilote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-bg-light);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.site-pilote-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    flex: 1;
}

.site-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--color-primary);
    color: white;
}

.site-badge-new {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.site-pilote-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.site-stat {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--color-bg-light);
    border-radius: 12px;
}

.site-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.site-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-description {
    flex: 1;
}

.site-description p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.site-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.site-features li {
    padding: var(--spacing-sm);
    background: var(--color-bg-light);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .sites-pilotes-grid {
        grid-template-columns: 1fr;
    }

    .site-pilote-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-features {
        grid-template-columns: 1fr;
    }
}

[data-theme="dark"] .site-pilote-card {
    background: #2a2a2a;
    border-color: #333;
}

[data-theme="dark"] .site-stat {
    background: #1a1a1a;
}

[data-theme="dark"] .site-features li {
    background: #1a1a1a;
}

.sanctuaire-app {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: linear-gradient(135deg, #f5f9f4 0%, #e8f5e9 100%);
}

.sanctuaire-card {
    background: white;
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #c8e6c9;
    max-width: 1000px;
    margin: 0 auto;
}

.sanctuaire-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e8f5e9;
    flex-wrap: wrap;
}

.sanctuaire-header h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    flex: 1;
}

.badge-beta {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sanctuaire-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.sanctuaire-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 16px;
}

.sanctuaire-feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sanctuaire-feature-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.sanctuaire-feature-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.sanctuaire-feature-item p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.6;
}

.sanctuaire-access {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    border: 2px dashed var(--color-primary);
}

.access-message {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-sanctuaire {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    background: var(--color-primary);
    color: white;
}

.btn-sanctuaire:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.access-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.sanctuaire-teaser {
    padding: 2rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 16px;
    border: 2px dashed #ff9800;
}

.teaser-content {
    text-align: center;
    margin-bottom: 2rem;
}

.teaser-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.teaser-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

.teaser-benefits {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.teaser-list {
    text-align: left;
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.teaser-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text);
}

.teaser-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.teaser-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .foret-jardin-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .foret-jardin-image {
        position: static;
    }

    .error-hero__code {
        font-size: 5rem;
    }

    .error-suggestions-grid {
        grid-template-columns: 1fr;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
    }

    .sanctuaire-features {
        grid-template-columns: 1fr;
    }

    .teaser-actions {
        flex-direction: column;
    }

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

/* ============================================
   AI Chat Premium
   ============================================ */
.ai-chat-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #0d2d2c 0%, #1b5f40 100%);
    color: #ecfdf5;
    overflow: hidden;
    text-align: center;
}

.ai-chat-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(26, 95, 64, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.ai-chat-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.ai-chat-hero__eyebrow {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-chat-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.ai-chat-hero__intro {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.ai-chat-hero__limit {
    margin-top: 1.5rem;
}

.limit-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50px;
    font-weight: 600;
    color: #ffd700;
    font-size: 0.95rem;
}

.ai-chat-section {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: var(--color-bg-light);
}

.ai-chat-alert {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ai-chat-alert--warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    color: #e65100;
}

.ai-chat-alert--error {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    color: #c62828;
}

.ai-chat-alert svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.ai-chat-alert p {
    margin: 0;
    line-height: 1.6;
}

.ai-chat-limit-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(15, 61, 62, 0.1);
    text-align: center;
}

.limit-card__icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.limit-card__title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.limit-card__message {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.limit-card__benefits {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.limit-card__benefits h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.limit-card__benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.limit-card__benefits li {
    padding: 0.8rem 0;
    color: var(--color-text);
    line-height: 1.6;
    font-size: 1rem;
}

.limit-card__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.limit-card__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-chat-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(15, 61, 62, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 70vh;
    min-height: 600px;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: var(--color-bg-light);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-chat-welcome {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--color-text);
}

.chat-welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ai-chat-welcome h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.ai-chat-welcome p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.chat-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 500px;
    margin: 0 auto;
}

.suggestion-btn {
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: inherit;
}

.suggestion-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.ai-chat-message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    animation: fadeIn 0.3s ease;
}

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

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

.ai-chat-message--user {
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-chat-message--user .chat-message-avatar {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
}

.ai-chat-message--assistant .chat-message-avatar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.chat-message-content {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    line-height: 1.7;
    max-width: 75%;
}

.ai-chat-message--user .chat-message-content {
    background: var(--color-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-chat-message--assistant .chat-message-content {
    background: white;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ai-chat-form {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--color-border);
}

.chat-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.chat-input-wrapper textarea {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    transition: all 0.3s ease;
    min-height: 60px;
    max-height: 150px;
}

.chat-input-wrapper textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.chat-input-wrapper textarea:disabled {
    background: var(--color-bg-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.chat-send-btn {
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    white-space: nowrap;
}

.chat-send-btn:hover:not(:disabled) {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.chat-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chat-actions {
    margin-top: 1rem;
    text-align: center;
}

.chat-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.chat-reset-btn:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .ai-chat-container {
        height: calc(100vh - 300px);
        min-height: 500px;
        border-radius: 16px;
    }

    .ai-chat-messages {
        padding: 1.5rem;
    }

    .chat-message-content {
        max-width: 85%;
    }

    .chat-input-wrapper {
        flex-direction: column;
    }

    .chat-send-btn {
        width: 100%;
        justify-content: center;
    }

    .limit-card__actions {
        flex-direction: column;
    }

    .limit-card__actions .btn {
        width: 100%;
    }
}

/* ============================================
   Styles CBD / Chanvre Agricole
   ============================================ */

.cbd-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #1a5f3f 0%, #2d7a52 100%);
    color: #ecfdf5;
    overflow: hidden;
}

.cbd-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cbd-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cbd-hero__eyebrow {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cbd-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.cbd-hero__intro {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.cbd-content {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.cbd-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.cbd-section h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.cbd-section h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cbd-section p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cbd-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.cbd-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* Comparaison CBD/THC */
.cbd-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-bg-light);
}

.comparison-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* Grilles de bénéfices */
.cbd-benefits-grid,
.soil-benefits-grid,
.biodiversity-grid,
.agroecology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card,
.agro-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-bg-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover,
.agro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3,
.agro-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Stats du projet */
.project-stats,
.experience-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Objectifs */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.objective-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
}

.objective-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.objective-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}

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

.timeline-item {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 2rem;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 4rem;
    height: 4rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-bg-light);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Techniques et défis */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.technique-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-primary);
}

.technique-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.challenges-list,
.lessons-list {
    margin: 2rem 0;
}

.challenge-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-warning);
}

.challenge-item h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Résultats */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-success);
}

.result-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Info boxes */
.legal-info-box,
.warning-box {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--color-info);
}

.warning-box {
    border-left-color: var(--color-warning);
    background: #fff3cd;
}

.warning-box h3 {
    margin-top: 0;
    color: var(--color-warning);
}

/* Procédures et statuts */
.procedure-grid,
.status-grid,
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.procedure-card,
.status-card,
.transparency-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-bg-light);
}

.procedure-card h3,
.status-card h3,
.transparency-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--color-bg-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Benefits et activités */
.benefits-list,
.activities-grid {
    margin: 2rem 0;
}

.benefit-item,
.activity-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.activity-card {
    margin-bottom: 1.5rem;
}

.benefit-item h3,
.activity-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Values */
.cbd-values {
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.value-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* CTA */
.cbd-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
    color: white;
}

.cbd-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cbd-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Impact */
.impact-section {
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.impact-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.impact-item h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Premium badge */
.premium-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    margin-top: 1.5rem;
}

.premium-badge p {
    color: white;
    margin-bottom: 1rem;
}

/* User roles grid */
.user-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.role-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-primary);
}

.role-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.role-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-bg-light);
}

.role-card li:last-child {
    border-bottom: none;
}

/* Compliance grid */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.compliance-item {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.compliance-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.compliance-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.compliance-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 768px) {

    .cbd-comparison,
    .cbd-benefits-grid,
    .objectives-grid,
    .techniques-grid,
    .results-grid,
    .procedure-grid,
    .status-grid,
    .transparency-grid,
    .features-grid,
    .values-grid,
    .impact-grid,
    .user-roles-grid,
    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .project-stats,
    .experience-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 1.5rem;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    .timeline-date {
        width: 3rem;
        height: 3rem;
        font-size: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ============================================
   Notifications dans le Header
   ============================================ */

.nav-link--notifications {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-error, #dc3545);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse-notification 2s ease-in-out infinite;
}

@keyframes pulse-notification {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.nav-link--notifications:hover .notification-badge {
    animation: none;
    transform: scale(1.15);
}

.nav-link-text {
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .nav-link-text {
        display: none;
    }

    .notification-badge {
        top: 2px;
        right: 2px;
    }
}

/* ============================================
   Page Notifications
   ============================================ */

.member-notifications-page {
    padding: var(--spacing-xl) 0;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-bg-light);
}

.notifications-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.notifications-subtitle {
    color: var(--color-text-light);
    margin: 0;
    font-size: 1rem;
}

.notifications-empty {
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    background: var(--color-bg-light);
    border-radius: 16px;
}

.empty-icon {
    color: var(--color-text-lighter);
    margin-bottom: var(--spacing-md);
}

.notifications-empty h2 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 0 0 var(--spacing-sm) 0;
}

.notifications-empty p {
    color: var(--color-text-light);
    margin: 0;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.notification-item {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-bg-light);
    display: flex;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
    position: relative;
}

.notification-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.notification-item--unread {
    border-left: 4px solid var(--color-primary);
    background: linear-gradient(to right, rgba(45, 80, 22, 0.05), white);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.notification-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    flex: 1;
}

.notification-unread-badge {
    color: var(--color-primary);
    font-size: 1rem;
    line-height: 1;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.notification-message {
    color: var(--color-text);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.6;
}

.notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.notification-meta time {
    font-style: italic;
}

.notification-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.notification-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.notification-mark-read {
    background: var(--color-bg-light);
    border: 2px solid var(--color-bg-light);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: all 0.2s ease;
    flex-shrink: 0;
    align-self: flex-start;
}

.notification-mark-read:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .notifications-header {
        flex-direction: column;
        align-items: stretch;
    }

    .notifications-header h1 {
        font-size: 1.5rem;
    }

    .notification-item {
        flex-direction: column;
    }

    .notification-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
}

/* Dark mode */
[data-theme="dark"] .notification-item,
.theme-dark .notification-item {
    background: var(--color-bg-dark);
    border-color: #333;
    color: #f7f7f5;
}

[data-theme="dark"] .notification-item--unread,
.theme-dark .notification-item--unread {
    background: linear-gradient(to right, rgba(45, 80, 22, 0.2), var(--color-bg-dark));
}

[data-theme="dark"] .notification-title,
.theme-dark .notification-title {
    color: var(--color-primary-light);
}

[data-theme="dark"] .notification-message,
.theme-dark .notification-message {
    color: rgba(247, 247, 245, 0.9);
}

[data-theme="dark"] .notification-mark-read,
.theme-dark .notification-mark-read {
    background: #2a2a2a;
    border-color: #333;
    color: rgba(247, 247, 245, 0.7);
}

[data-theme="dark"] .notification-mark-read:hover,
.theme-dark .notification-mark-read:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* ============================================
   Dashboard Membre - Statistiques & Activité
   ============================================ */

/* Grille de statistiques */
.member-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-bg-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.stat-card:hover::before {
    transform: scaleY(1);
}

.stat-card__icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
    filter: grayscale(0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-card__icon {
    transform: scale(1.1);
}

.stat-card__content {
    flex: 1;
    min-width: 0;
}

.stat-card__value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-card__value {
    color: var(--color-primary-dark);
}

.stat-card__label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.3;
}

.stat-card__sub {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    margin-top: 0.25rem;
}

/* Variantes de couleurs pour les cartes */
.stat-card--articles {
    border-left-color: #4a90a4;
}

.stat-card--articles .stat-card__value {
    color: #4a90a4;
}

.stat-card--podcasts {
    border-left-color: #8b5cf6;
}

.stat-card--podcasts .stat-card__value {
    color: #8b5cf6;
}

.stat-card--events {
    border-left-color: #f59e0b;
}

.stat-card--events .stat-card__value {
    color: #f59e0b;
}

.stat-card--comments {
    border-left-color: #10b981;
}

.stat-card--comments .stat-card__value {
    color: #10b981;
}

.stat-card--donations {
    border-left-color: #ef4444;
}

.stat-card--donations .stat-card__value {
    color: #ef4444;
}

/* Section activité récente */
.member-activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.activity-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-bg-light);
    transition: all 0.3s ease;
}

.activity-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.activity-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-bg-light);
}

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

.activity-item {
    margin-bottom: 0.75rem;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-link {
    display: block;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.activity-link:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.activity-link strong {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.activity-link small {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Animations pour les compteurs */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.stat-card__value {
    animation: countUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .member-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

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

    .stat-card__value {
        font-size: 1.5rem;
    }

    .member-activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .member-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-card__icon {
        font-size: 2.5rem;
    }
}

/* Dark mode pour dashboard */
[data-theme="dark"] .stat-card,
.theme-dark .stat-card {
    background: var(--color-bg-dark);
    border-color: #333;
    color: #f7f7f5;
}

[data-theme="dark"] .stat-card__value,
.theme-dark .stat-card__value {
    color: var(--color-primary-light);
}

[data-theme="dark"] .stat-card__label,
.theme-dark .stat-card__label {
    color: rgba(247, 247, 245, 0.7);
}

[data-theme="dark"] .activity-card,
.theme-dark .activity-card {
    background: var(--color-bg-dark);
    border-color: #333;
    color: #f7f7f5;
}

[data-theme="dark"] .activity-link:hover,
.theme-dark .activity-link:hover {
    background: #2a2a2a;
    border-color: var(--color-primary-light);
}

[data-theme="dark"] .activity-link strong,
.theme-dark .activity-link strong {
    color: var(--color-primary-light);
}

[data-theme="dark"] .activity-link small,
.theme-dark .activity-link small {
    color: rgba(247, 247, 245, 0.6);
}

/* ============================================
   Page Préférences de Notifications
   ============================================ */

.member-preferences-page {
    padding: var(--spacing-xl) 0;
}

.preferences-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-bg-light);
}

.preferences-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.preferences-subtitle {
    color: var(--color-text-light);
    margin: 0;
    font-size: 1rem;
}

.preferences-form {
    max-width: 800px;
}

.preferences-section {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-bg-light);
}

.preferences-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.section-description {
    color: var(--color-text-light);
    margin: 0 0 var(--spacing-md) 0;
    font-size: 0.95rem;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-bg-light);
}

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

.preference-info {
    flex: 1;
    min-width: 0;
}

.preference-label {
    display: block;
    cursor: pointer;
}

.preference-label strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.preference-label span {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 32px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background-color: var(--color-primary);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch input:focus+.toggle-slider {
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.2);
}

.toggle-switch:hover .toggle-slider {
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.preferences-actions {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--color-bg-light);
    display: flex;
    justify-content: flex-end;
}

.alert {
    padding: var(--spacing-md);
    border-radius: 12px;
    margin-bottom: var(--spacing-lg);
    border: 2px solid;
}

.alert--success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert--error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .preferences-header {
        flex-direction: column;
        align-items: stretch;
    }

    .preferences-header h1 {
        font-size: 1.5rem;
    }

    .preference-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .toggle-switch {
        align-self: flex-end;
    }

    .preferences-actions {
        justify-content: stretch;
    }

    .preferences-actions .btn {
        width: 100%;
    }
}

/* Dark mode */
[data-theme="dark"] .preferences-section,
.theme-dark .preferences-section {
    background: var(--color-bg-dark);
    border-color: #333;
    color: #f7f7f5;
}

[data-theme="dark"] .preferences-section h2,
.theme-dark .preferences-section h2 {
    color: var(--color-primary-light);
}

[data-theme="dark"] .preference-label strong,
.theme-dark .preference-label strong {
    color: #f7f7f5;
}

[data-theme="dark"] .preference-item,
.theme-dark .preference-item {
    border-color: #333;
}

[data-theme="dark"] .toggle-slider,
.theme-dark .toggle-slider {
    background-color: #555;
}

[data-theme="dark"] .toggle-switch input:checked+.toggle-slider,
.theme-dark .toggle-switch input:checked+.toggle-slider {
    background-color: var(--color-primary-light);
}
}

.cta-buttons .btn {
    width: 100%;
}
}

/* ============================================
   PAGE FONCTIONNALITÉS & AVANTAGES
   ============================================ */

.features-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #2d5016 0%, #3d6a1f 100%);
    color: #ecfdf5;
    overflow: hidden;
}

.features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.features-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.features-hero__eyebrow {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.features-hero__intro {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 600;
}

.features-hero__description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    opacity: 0.9;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.features-content {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: var(--color-bg);
}

.role-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.role-section--premium {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    border: 2px solid #f0c674;
}

.role-section--admin {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6edff 100%);
    border: 2px solid #6b8dd6;
}

.role-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.role-icon {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.role-title-group {
    flex: 1;
}

.role-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.role-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.role-features {
    display: grid;
    gap: 2rem;
}

.feature-category {
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.feature-category--premium {
    background: linear-gradient(135deg, #fff5d6 0%, #ffe8b3 100%);
    border-left-color: #f0c674;
}

.feature-category--warning {
    background: #fff4e6;
    border-left-color: #ffa726;
}

.feature-category--negative {
    background: #f5f5f5;
    border-left-color: #999;
}

.feature-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-category--premium .feature-category-title {
    color: #b8860b;
}

.feature-category--warning .feature-category-title {
    color: #f57c00;
}

.feature-category--negative .feature-category-title {
    color: #666;
}

.feature-category-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
    color: var(--color-text);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.feature-category--negative .feature-list li::before {
    content: '✗';
    color: #999;
}

.features-summary {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.features-summary-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.summary-table-wrapper {
    overflow-x: auto;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.summary-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

.summary-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

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

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

.features-utility {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    border: 2px solid #0ea5e9;
}

.features-utility-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.features-utility-intro {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.utility-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.utility-list li {
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    color: var(--color-text);
    font-size: 1.05rem;
}

.utility-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0ea5e9;
    font-weight: 700;
    font-size: 1.2rem;
}

.features-cta {
    max-width: 1200px;
    margin: 4rem auto 2rem;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3d6a1f 100%);
    border-radius: 20px;
    color: white;
    text-align: center;
}

.features-cta__inner {
    max-width: 700px;
    margin: 0 auto;
}

.features-cta__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.features-cta__text {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.features-cta__buttons .btn {
    min-width: 200px;
}

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

.features-cta__buttons .btn--primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.features-cta__buttons .btn--secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.features-cta__buttons .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Dark mode */
[data-theme="dark"] .role-section,
.theme-dark .role-section {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .role-section--premium,
.theme-dark .role-section--premium {
    background: linear-gradient(135deg, #2a2419 0%, #1f1a0f 100%);
    border-color: #5a4a2a;
}

[data-theme="dark"] .role-section--admin,
.theme-dark .role-section--admin {
    background: linear-gradient(135deg, #1a1f2a 0%, #141824 100%);
    border-color: #3a4a66;
}

[data-theme="dark"] .feature-category,
.theme-dark .feature-category {
    background: #252525;
}

[data-theme="dark"] .feature-category--premium,
.theme-dark .feature-category--premium {
    background: linear-gradient(135deg, #2a2419 0%, #1f1a0f 100%);
}

[data-theme="dark"] .features-summary,
.theme-dark .features-summary {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .summary-table,
.theme-dark .summary-table {
    background: #1a1a1a;
    color: #e0e0e0;
}

[data-theme="dark"] .summary-table thead,
.theme-dark .summary-table thead {
    background: var(--color-primary);
}

[data-theme="dark"] .summary-table tbody tr:hover,
.theme-dark .summary-table tbody tr:hover {
    background: #252525;
}

/* Styles Premium pour Features */
.feature-role-card {
    position: relative;
}

.feature-role-card::after {
    background: radial-gradient(circle, var(--role-color, rgba(142, 240, 176, 0.35)), transparent 60%);
}

.feature-role-card:hover {
    border-color: var(--role-color, rgba(142, 240, 176, 0.4));
}

.feature-limitations {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-limitations-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(247, 247, 245, 0.7);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-limitations-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.feature-limitations-list li {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    color: rgba(247, 247, 245, 0.65);
    font-size: 0.9rem;
}

.feature-limitations-list li::before {
    content: "✗";
    color: rgba(255, 107, 107, 0.7);
    font-weight: 700;
}

.features-summary-section {
    padding: 4rem 0;
    background: radial-gradient(circle at bottom, rgba(15, 71, 52, 0.4), transparent 60%), #01060d;
    color: #f7f7f5;
}

.summary-table--premium {
    background: rgba(7, 12, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(3, 6, 15, 0.55);
}

.summary-table--premium thead {
    background: rgba(142, 240, 176, 0.15);
    border-bottom: 2px solid rgba(142, 240, 176, 0.3);
}

.summary-table--premium th {
    color: #f7f7f5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.summary-table--premium td {
    color: rgba(247, 247, 245, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-table--premium tbody tr:hover {
    background: rgba(142, 240, 176, 0.08);
}

.feature-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

.feature-badge--none {
    background: rgba(255, 107, 107, 0.15);
    color: rgba(255, 107, 107, 0.9);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.feature-badge--limited {
    background: rgba(255, 193, 7, 0.15);
    color: rgba(255, 193, 7, 0.9);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.feature-badge--basic {
    background: rgba(142, 240, 176, 0.15);
    color: rgba(142, 240, 176, 0.9);
    border: 1px solid rgba(142, 240, 176, 0.3);
}

.feature-badge--good {
    background: rgba(142, 240, 176, 0.25);
    color: #8ef0b0;
    border: 1px solid rgba(142, 240, 176, 0.5);
}

.feature-badge--premium {
    background: rgba(240, 198, 116, 0.25);
    color: #f0c674;
    border: 1px solid rgba(240, 198, 116, 0.5);
}

.feature-badge--admin {
    background: rgba(212, 165, 247, 0.25);
    color: #d4a5f7;
    border: 1px solid rgba(212, 165, 247, 0.5);
}

.features-utility {
    padding: 3rem 0;
}

.utility-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 1rem;
}

.utility-list li {
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    color: var(--color-text);
    font-size: 1.05rem;
}

.utility-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.feature-role-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-role-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-role-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-role-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-role-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .role-header {
        flex-direction: column;
        text-align: center;
    }

    .role-icon {
        font-size: 2.5rem;
    }

    .features-cta__buttons {
        flex-direction: column;
    }

    .features-cta__buttons .btn {
        width: 100%;
    }

    .summary-table {
        font-size: 0.9rem;
    }

    .summary-table th,
    .summary-table td {
        padding: 0.75rem 0.5rem;
    }

    .feature-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
        min-width: 50px;
    }

    .support-premium-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RADIO PROGRAMMÉE - STYLES
   ============================================ */

.radio-program-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.radio-program-card {
    background: rgba(7, 12, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(3, 6, 15, 0.55);
}

.radio-program-header h2 {
    font-size: 2rem;
    color: #f7f7f5;
    margin-bottom: 0.5rem;
}

.radio-program-description {
    color: rgba(247, 247, 245, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.radio-program-meta {
    display: flex;
    gap: 1rem;
    color: rgba(247, 247, 245, 0.7);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.radio-player-container {
    margin-top: 2rem;
}

.radio-player-main {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.radio-player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.radio-btn-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #8ef0b0;
    color: #020a13;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-btn-play:hover:not(:disabled) {
    background: #6dd89a;
    transform: scale(1.05);
}

.radio-btn-play:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.radio-btn-nav {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #f7f7f5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.radio-btn-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(142, 240, 176, 0.5);
}

.radio-btn-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.radio-player-info {
    flex: 1;
}

.radio-current-track {
    margin-bottom: 1rem;
}

.radio-current-track strong {
    display: block;
    color: #f7f7f5;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.radio-track-type {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(142, 240, 176, 0.15);
    border: 1px solid rgba(142, 240, 176, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #8ef0b0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.radio-progress-container {
    margin-top: 1rem;
}

.radio-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.radio-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8ef0b0, #6dd89a);
    transition: width 0.1s linear;
    border-radius: 3px;
}

.radio-time {
    display: flex;
    gap: 0.5rem;
    color: rgba(247, 247, 245, 0.7);
    font-size: 0.85rem;
}

.radio-player-actions {
    display: flex;
    gap: 1rem;
}

.radio-playlist-card {
    background: rgba(7, 12, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(3, 6, 15, 0.55);
}

.radio-playlist-card h3 {
    color: #f7f7f5;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.radio-playlist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-playlist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-playlist-item:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(142, 240, 176, 0.3);
}

.radio-playlist-item.is-active {
    background: rgba(142, 240, 176, 0.15);
    border-color: rgba(142, 240, 176, 0.5);
}

.radio-playlist-item.is-playing {
    background: rgba(142, 240, 176, 0.25);
    border-color: #8ef0b0;
}

.radio-playlist-item-number {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #f7f7f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.radio-playlist-item.is-active .radio-playlist-item-number {
    background: #8ef0b0;
    color: #020a13;
}

.radio-playlist-item-info {
    flex: 1;
}

.radio-playlist-item-title {
    color: #f7f7f5;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.radio-playlist-item-meta {
    display: flex;
    gap: 0.5rem;
    color: rgba(247, 247, 245, 0.6);
    font-size: 0.85rem;
}

.radio-playlist-item-type {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.radio-playlist-item-status {
    color: #8ef0b0;
    flex-shrink: 0;
}

.radio-no-program {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(247, 247, 245, 0.8);
}

.radio-no-program p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Admin styles pour radio */
.radio-tracks-order {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.radio-track-order-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.radio-track-order-item label {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.radio-track-order-item strong {
    color: #f7f7f5;
}

.track-meta {
    color: rgba(247, 247, 245, 0.6);
    font-size: 0.85rem;
}

.admin-info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(142, 240, 176, 0.1);
    border: 1px solid rgba(142, 240, 176, 0.3);
    border-radius: 12px;
}

.admin-info-box h3 {
    color: #8ef0b0;
    margin-bottom: 1rem;
}

.admin-info-box p {
    color: rgba(247, 247, 245, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.admin-info-box code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #8ef0b0;
}

/* Responsive radio */
@media (max-width: 768px) {

    .radio-program-card,
    .radio-playlist-card {
        padding: 1.5rem;
    }

    .radio-player-controls {
        flex-wrap: wrap;
    }

    .radio-btn-play {
        width: 48px;
        height: 48px;
    }

    .radio-playlist-item {
        padding: 0.75rem;
    }

    .radio-playlist-item-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* ============================================
   RADIO TEASER (Visiteurs & Membres non Premium)
   ============================================ */

.radio-teaser-hero {
    background: linear-gradient(135deg, #30b08f 0%, #1e7a64 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.radio-teaser-content {
    max-width: 800px;
    margin: 0 auto;
}

.radio-teaser-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.radio-teaser-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.radio-teaser-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 1rem;
    color: white;
}

.radio-teaser-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.radio-teaser-features {
    padding: 4rem 0;
    background: var(--color-bg-light);
}

.radio-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.radio-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.radio-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.radio-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.radio-feature-card h3 {
    margin: 0 0 0.75rem;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.radio-feature-card p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.6;
}

.radio-teaser-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f4f9f1 0%, #e0f2e9 100%);
}

.radio-teaser-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
}

.radio-teaser-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.radio-teaser-card-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 0.75rem;
    color: var(--color-primary);
}

.radio-teaser-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

.radio-teaser-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.radio-benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.radio-benefit-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.radio-benefit-item span {
    color: var(--color-text);
    font-weight: 500;
}

.radio-teaser-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.radio-teaser-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn--gradient {
    background: linear-gradient(135deg, #30b08f 0%, #1e7a64 100%);
    color: white;
    border: none;
}

.btn--gradient:hover {
    background: linear-gradient(135deg, #1e7a64 0%, #30b08f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(48, 176, 143, 0.3);
}

.radio-teaser-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.radio-teaser-info {
    padding: 4rem 0;
    background: white;
}

.radio-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.radio-info-card {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--color-border);
}

.radio-info-card h3 {
    margin: 0 0 1rem;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.radio-info-card p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.7;
}

.radio-trial-badge {
    background: linear-gradient(135deg, #30b08f 0%, #1e7a64 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.radio-ai-badge {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    cursor: help;
}

@media (max-width: 768px) {
    .radio-teaser-hero {
        padding: 3rem 0;
    }

    .radio-teaser-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .radio-features-grid {
        grid-template-columns: 1fr;
    }

    .radio-info-grid {
        grid-template-columns: 1fr;
    }

    .radio-teaser-actions {
        gap: 0.75rem;
    }
}