/* ============================================
   OBSERVE GUINÉE — base (pages claires / fallback)
   ============================================ */

/* Variables CSS — alignées thème sombre (dark-theme.css) */
:root {
    /* Couleurs principales (confiance / action) */
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --secondary: #10B981;
    --accent: #F59E0B;
    --accent-light: #FEF3C7;
    
    /* Couleurs neutres */
    --dark: #1F2937;
    --dark-soft: #374151;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --gray-lighter: #F9FAFB;
    --white: #FFFFFF;
    
    /* Couleurs sémantiques */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Ombres modernes */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Bordures */
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibilité */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    z-index: 2000;
    text-decoration: none;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(13, 148, 136, 0.45);
    outline-offset: 2px;
}

main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-light);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

.nav-links a {
    color: var(--dark-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: var(--spacing-xs) 0;
}

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

.nav__divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 1rem;
}

/* Footer */
.footer-brand {
    margin-bottom: 1rem;
}

.footer-heading {
    color: white;
    margin-bottom: 1.25rem;
}

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

.footer-item {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--text-main);
}

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

.footer-divider {
    text-align: center;
    border-top: 1px solid var(--surface-border);
    padding-top: 2rem;
    color: var(--text-muted);
}

/* Toast container */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    pointer-events: none;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1200;
}

.floating-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--surface-border);
    background: var(--surface-glass);
    color: var(--text-main);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.floating-cta__btn.primary {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #042f2e;
    border-color: transparent;
}

.floating-cta__btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .floating-cta {
        right: 0.75rem;
        bottom: 0.75rem;
    }
    .floating-cta__btn span {
        display: none;
    }
}

/* CTA report detail */
.report-cta {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.report-cta__content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-main);
}

.report-cta__content p {
    margin: 0;
    color: var(--text-muted);
}

.report-cta__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 6rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

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

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge .flag {
    font-size: 1.25rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--white);
}

.hero-title .highlight {
    background: linear-gradient(120deg, #FEF3C7 0%, #FDE68A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.hero-stats-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    color: var(--white);
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    font-size: 1.125rem;
}

/* ============================================
   CARDS & FEATURES
   ============================================ */

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-md);
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
    font-size: 1.375rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    flex: 1;
    font-size: 1rem;
}

.feature-link {
    margin-top: var(--spacing-md);
    color: var(--primary);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.feature-card:hover .feature-link {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   GRIDS
   ============================================ */

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

.steps-container {
    position: relative;
    margin-top: var(--spacing-xl);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
}

.step {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.step-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    margin-top: var(--spacing-xs);
    position: relative;
}

.step:last-child .step-connector {
    display: none;
}

.step-content {
    flex: 1;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.step:hover .step-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.step h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.step p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    margin-top: var(--spacing-xs);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    border-radius: var(--radius-xl);
    margin: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.05;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: var(--spacing-md);
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.cta p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--success);
    font-size: 1.125rem;
}

/* ============================================
   FORMS
   ============================================ */

.form-container {
    max-width: 700px;
    margin: var(--spacing-xl) auto;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.form-group small {
    display: block;
    margin-top: var(--spacing-xs);
    color: var(--gray);
    font-size: 0.875rem;
}

.form-group.has-error label {
    color: var(--error);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
    margin-top: var(--spacing-xs);
    color: var(--error);
    font-size: 0.875rem;
    font-weight: 600;
}

.form-error[hidden] {
    display: none;
}

.form-inline-alert {
    margin-top: var(--spacing-md);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
    font-weight: 600;
}

.form-inline-alert--success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

/* Progression formulaire */
.form-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.form-progress__step {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--gray-light);
    color: var(--dark);
}

.form-progress__step.active {
    background: var(--primary);
    color: var(--white);
}

.form-progress__line {
    height: 4px;
    width: 64px;
    background: var(--gray-light);
    border-radius: 999px;
}

.form-progress__line.active {
    background: var(--primary);
}

/* ============================================
   CATEGORY SELECTION
   ============================================ */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.category-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.category-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
}

/* ============================================
   MESSAGES & ALERTS
   ============================================ */

.messages {
    margin: var(--spacing-md) 0;
}

.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    box-shadow: var(--shadow);
}

.alert i {
    font-size: 1.25rem;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border-left: 4px solid var(--error);
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border-left: 4px solid var(--info);
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border-left: 4px solid var(--warning);
}

/* ============================================
   RECEIPT PAGE
   ============================================ */

.receipt {
    max-width: 700px;
    margin: var(--spacing-2xl) auto;
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 1px solid var(--gray-light);
}

.receipt-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--success), var(--secondary));
    border-radius: var(--radius-full);
    font-size: 3rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.receipt-code {
    background: var(--gray-lighter);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    border: 2px dashed var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.receipt-code i {
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.receipt-code i:hover {
    transform: scale(1.1);
    color: var(--primary-dark);
}

/* ============================================
   FEED & REPORTS
   ============================================ */

.feed-filters {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid var(--gray-light);
}

.feed-filters select,
.feed-filters input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.report-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

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

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-md);
}

.report-category {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.report-meta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    color: var(--gray);
    font-size: 0.875rem;
}

.report-meta i {
    margin-right: 0.25rem;
}

/* ============================================
   FILE UPLOAD
   ============================================ */

.upload-zone {
    border: 3px dashed var(--gray-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    background: var(--gray-lighter);
    transition: var(--transition);
    cursor: pointer;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.statistics-section {
    margin: var(--spacing-2xl) 0;
    padding: var(--spacing-xl) 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.section-header h2 i {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    margin-top: var(--spacing-xs);
}

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

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: var(--transition);
    border-left: 4px solid;
}

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

.stat-card.stat-primary {
    border-left-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

.stat-card.stat-success {
    border-left-color: var(--success);
    background: linear-gradient(135deg, #D1FAE5 0%, var(--white) 100%);
}

.stat-card.stat-info {
    border-left-color: var(--info);
    background: linear-gradient(135deg, #DBEAFE 0%, var(--white) 100%);
}

.stat-card.stat-warning {
    border-left-color: var(--warning);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--white) 100%);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-card.stat-primary .stat-icon {
    background: var(--primary);
    color: var(--white);
}

.stat-card.stat-success .stat-icon {
    background: var(--success);
    color: var(--white);
}

.stat-card.stat-info .stat-icon {
    background: var(--info);
    color: var(--white);
}

.stat-card.stat-warning .stat-icon {
    background: var(--warning);
    color: var(--white);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

/* Grille de Statistiques Catégorisées */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stats-category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

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

.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--gray-light);
}

.category-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.category-content {
    padding: var(--spacing-lg);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--gray-lighter);
}

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

.stat-item-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--dark-soft);
    font-weight: 500;
}

.stat-item-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Indicateurs de statut */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.status-indicator.status-received {
    background: var(--info);
}

.status-indicator.status-in_review {
    background: var(--warning);
}

.status-indicator.status-approved {
    background: var(--success);
}

.status-indicator.status-published {
    background: var(--primary);
}

.status-indicator.status-rejected {
    background: var(--error);
}

/* Indicateurs de gravité */
.severity-indicator {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.severity-indicator.severity-critical {
    background: var(--error);
}

.severity-indicator.severity-high {
    background: #FD7E14;
}

.severity-indicator.severity-medium {
    background: var(--warning);
}

.severity-indicator.severity-low {
    background: var(--success);
}

.no-data {
    text-align: center;
    color: var(--gray);
    padding: var(--spacing-lg);
    font-style: italic;
}

/* Graphique 7 derniers jours */
.stats-chart-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    margin-top: var(--spacing-lg);
}

.chart-container {
    padding: var(--spacing-lg);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: var(--spacing-sm);
    height: 200px;
    padding: var(--spacing-md) 0;
}

.chart-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    min-width: 60px;
}

.chart-bar-wrapper {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.chart-bar {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    transition: var(--transition);
    min-height: 4px;
}

.chart-bar-item:hover .chart-bar {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: scaleY(1.05);
}

.chart-label {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
}

.chart-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
}

/* Responsive pour les statistiques */
@media (max-width: 768px) {
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .chart-bars {
        height: 150px;
    }
    
    .chart-bar-wrapper {
        height: 100px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-2xl);
}

footer .container {
    text-align: center;
}

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

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-links a:hover {
    color: var(--white);
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .feature-grid,
    .steps,
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: var(--spacing-lg);
    }
    
    .feed-filters {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feed-filters select,
    .feed-filters input {
        width: 100%;
        min-height: 48px; /* Touch-friendly */
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    /* Tables responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        width: 100%;
    }
    
    table {
        font-size: 0.9rem;
        min-width: 600px;
    }
    
    /* Images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Cards responsive */
    .card,
    .category-card,
    .report-card {
        padding: 1rem;
    }
    
    /* Buttons full width on mobile */
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn:last-child {
        margin-bottom: 0;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }

/* ============================================
   BADGES — Gravité & Statut (réutilisables)
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
}

.badge--severity-critical {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge--severity-high {
    background: rgba(253, 126, 20, 0.2);
    color: #FD7E14;
    border: 1px solid rgba(253, 126, 20, 0.4);
}

.badge--severity-medium {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge--severity-low {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge--category {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge--status-received {
    background: rgba(148, 163, 184, 0.2);
    color: #94A3B8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge--status-in-review {
    background: rgba(99, 102, 241, 0.2);
    color: #6366F1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge--status-published {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge--status-resolved {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge--status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   REPORT CARD MODERN (fil public + accueil)
   ============================================ */

.rcard {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    overflow: hidden;
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
    cursor: pointer;
    position: relative;
}

.rcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

.rcard__thumb {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: rgba(15, 23, 42, 0.5);
}

.rcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rcard:hover .rcard__thumb img {
    transform: scale(1.08);
}

.rcard__thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    pointer-events: none;
}

.rcard__thumb-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.rcard__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rcard__badges {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rcard__location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.rcard__location-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.rcard__location-icon i {
    color: var(--secondary);
    font-size: 1rem;
}

.rcard__location-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    word-break: break-word;
}

.rcard__desc {
    flex: 1;
    margin-bottom: 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    padding-left: 1.5rem;
    position: relative;
    overflow: hidden;
}

.rcard__desc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: var(--radius) 0 0 var(--radius);
}

.rcard__desc p {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
}

.rcard__footer {
    border-top: 1px solid var(--surface-border);
    padding-top: 1rem;
    margin-top: auto;
}

.rcard__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rcard__id {
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-weight: 600;
    background: rgba(59, 130, 246, 0.12);
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.85rem;
}

.rcard__date {
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rcard__date i {
    color: var(--primary);
}

.rcard__stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius);
    border: 1px solid var(--surface-border);
    flex-wrap: wrap;
}

.rcard__stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.rcard__stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.rcard__stat-icon--views {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
}

.rcard__stat-icon--shares {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--secondary);
}

.rcard__stat-value {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

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

.rcard__evidences {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.rcard__evidences i {
    color: var(--primary);
}

/* ============================================
   GRILLES RESPONSIVE AMÉLIORÉES
   ============================================ */

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

@media (max-width: 480px) {
    .grid-reports {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rcard__thumb {
        height: 180px;
    }

    .rcard__body {
        padding: 1.25rem;
    }

    .rcard__location-text {
        font-size: 1.05rem;
    }

    .badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 1400px) {
    .grid-reports {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    grid-column: 1 / -1;
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--surface-border);
}

.empty-state__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.empty-state__icon i {
    font-size: 2rem;
    color: var(--primary);
}

.empty-state__title {
    color: var(--text-main);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state__text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}
.mb-4 { margin-bottom: var(--spacing-lg); }

/* ============================================
   RCARD — MODES LISTE & DÉTAILS COMPLÉMENTAIRES
   ============================================ */

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

.rcard--list .rcard__thumb {
    flex: 0 0 200px;
    height: auto;
    min-height: 150px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.rcard--list .rcard__body {
    flex: 1;
}

/* Stats row (vues, partages) */
.rcard__stats-row {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius);
    border: 1px solid var(--surface-border);
    flex-wrap: wrap;
}

.rcard__stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rcard__stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
}

.rcard__stat-icon--views {
    background: rgba(13, 148, 136, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
    color: var(--primary);
}

.rcard__stat-icon--shares {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--secondary);
}

.rcard__stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

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

/* Social share buttons */
.share-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-social:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-social--facebook  { background: #1877F2; }
.btn-social--twitter   { background: #1DA1F2; }
.btn-social--whatsapp  { background: #25D366; }
.btn-social--telegram  { background: #0088cc; }
.btn-social--copy      { background: var(--surface-border); color: var(--text-main); }

/* Prevention / sensibilisation badge */
.badge--prevention {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.25), rgba(220, 53, 69, 0.15));
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

/* Pagination */
.pagination-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-row__page {
    margin: 0 1rem;
    color: var(--text-main);
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius);
}

/* Lightbox component */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.lightbox__btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__btn--close {
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    z-index: 10001;
}

.lightbox__btn--prev,
.lightbox__btn--next {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    z-index: 10001;
}

.lightbox__btn--prev { left: 2rem; }
.lightbox__btn--next { right: 2rem; }

.lightbox__counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox__img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
}

@media (max-width: 768px) {
    .rcard--list {
        flex-direction: column;
    }
    .rcard--list .rcard__thumb {
        flex: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        height: 200px;
    }
    .lightbox__btn--prev,
    .lightbox__btn--next {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .lightbox__btn--prev { left: 1rem; }
    .lightbox__btn--next { right: 1rem; }
}

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

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
