/* ============================================
   FLYWHEEL UNIFIED THEMES - CSS Variables
   Version: 1.0
   Date: 2026-01-16

   Permet d'appliquer des themes differents
   par section via l'attribut data-theme
   ============================================ */

/* ============================================
   VARIABLES PAR DEFAUT (Trust)
   ============================================ */
:root {
    --fw-bg: #ffffff;
    --fw-bg-alt: #f8fafc;
    --fw-accent: #1e3a5f;
    --fw-accent-light: #2d5a8f;
    --fw-accent-dark: #152a45;
    --fw-text: #333333;
    --fw-text-light: #666666;
    --fw-text-muted: #999999;
    --fw-border: #e5e7eb;
    --fw-card-bg: #f8fafc;
    --fw-card-border: #e5e7eb;
    --fw-badge-bg: #e8f4fc;
    --fw-badge-text: #1e3a5f;
    --fw-cta-bg: #1e3a5f;
    --fw-cta-text: #ffffff;
    --fw-cta-hover: #2d5a8f;
    --fw-success: #10b981;
    --fw-warning: #f59e0b;
    --fw-error: #c4a35a;
}

/* ============================================
   THEME TRUST (bleu professionnel)
   ============================================ */
[data-theme="trust"] {
    --fw-bg: #ffffff;
    --fw-bg-hero: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --fw-bg-alt: #f8fafc;
    --fw-accent: #1e40af;
    --fw-accent-light: #3b82f6;
    --fw-accent-dark: #1e3a8a;
    --fw-text: #1e293b;
    --fw-text-light: #64748b;
    --fw-card-bg: #ffffff;
    --fw-card-border: #e2e8f0;
    --fw-badge-bg: #1e40af;
    --fw-badge-text: #ffffff;
    --fw-cta-bg: #f97316;
    --fw-cta-text: #ffffff;
    --fw-cta-hover: #ea580c;
}

/* ============================================
   THEME PREMIUM (dark/gold luxe)
   ============================================ */
[data-theme="premium"] {
    --fw-bg: #1a1a2e;
    --fw-bg-alt: #16213e;
    --fw-accent: #FFD700;
    --fw-accent-light: #ffdf4d;
    --fw-accent-dark: #b8860b;
    --fw-text: #ffffff;
    --fw-text-light: #cccccc;
    --fw-text-muted: #999999;
    --fw-border: rgba(255, 215, 0, 0.3);
    --fw-card-bg: rgba(255, 255, 255, 0.05);
    --fw-card-border: rgba(255, 215, 0, 0.2);
    --fw-badge-bg: rgba(255, 215, 0, 0.2);
    --fw-badge-text: #FFD700;
    --fw-cta-bg: #FFD700;
    --fw-cta-text: #1a1a2e;
    --fw-cta-hover: #ffdf4d;
}

/* ============================================
   THEME MODERN (teal/turquoise)
   ============================================ */
[data-theme="modern"] {
    --fw-bg: #ffffff;
    --fw-bg-alt: #f0fdfa;
    --fw-accent: #0d9488;
    --fw-accent-light: #14b8a6;
    --fw-accent-dark: #0f766e;
    --fw-text: #1f2937;
    --fw-text-light: #4b5563;
    --fw-text-muted: #9ca3af;
    --fw-border: #d1fae5;
    --fw-card-bg: #f0fdfa;
    --fw-card-border: #99f6e4;
    --fw-badge-bg: #ccfbf1;
    --fw-badge-text: #0d9488;
    --fw-cta-bg: #0d9488;
    --fw-cta-text: #ffffff;
    --fw-cta-hover: #14b8a6;
}

/* ============================================
   THEME ENERGY (orange dynamique)
   ============================================ */
[data-theme="energy"] {
    --fw-bg: #ffffff;
    --fw-bg-alt: #fff7ed;
    --fw-accent: #ea580c;
    --fw-accent-light: #f97316;
    --fw-accent-dark: #c2410c;
    --fw-text: #1f2937;
    --fw-text-light: #4b5563;
    --fw-text-muted: #9ca3af;
    --fw-border: #fed7aa;
    --fw-card-bg: #fff7ed;
    --fw-card-border: #fdba74;
    --fw-badge-bg: #ffedd5;
    --fw-badge-text: #ea580c;
    --fw-cta-bg: #ea580c;
    --fw-cta-text: #ffffff;
    --fw-cta-hover: #f97316;
}

/* ============================================
   COMPOSANTS GENERIQUES FLYWHEEL
   Utilisent les CSS Variables pour s'adapter
   automatiquement au theme de la section
   ============================================ */

/* Section wrapper */
.flywheel-section-2025 {
    background: var(--fw-bg);
    color: var(--fw-text);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

/* Hero Section Specifics */
.hero-unified.flywheel-section-2025 {
    background: #1e3a5f !important; /* Force background for visibility */
    background-image: var(--fw-bg-hero) !important;
    color: #ffffff !important;
}

.hero-unified.flywheel-section-2025 .fw-title,
.hero-unified.flywheel-section-2025 h1 {
    color: #ffffff !important;
}

.hero-unified.flywheel-section-2025 .fw-subtitle,
.hero-unified.flywheel-section-2025 p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-unified.flywheel-section-2025 .fw-list li {
    color: #ffffff !important;
}

/* Premium theme needs gradient background */
[data-theme="premium"].flywheel-section-2025 {
    background: linear-gradient(135deg, var(--fw-bg) 0%, var(--fw-bg-alt) 100%);
}

/* Section titles */
.flywheel-section-2025 .section-title-2025,
.flywheel-section-2025 .fw-title {
    color: var(--fw-accent);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.flywheel-section-2025 .section-subtitle-2025,
.flywheel-section-2025 .fw-subtitle {
    color: var(--fw-text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Cards */
.flywheel-section-2025 .fw-card {
    background: var(--fw-card-bg);
    border: 1px solid var(--fw-card-border);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flywheel-section-2025 .fw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Badges */
.flywheel-section-2025 .fw-badge {
    display: inline-block;
    background: var(--fw-badge-bg);
    color: var(--fw-badge-text);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* CTA Buttons */
.flywheel-section-2025 .fw-cta,
.flywheel-section-2025 .cta-button-2025 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--fw-cta-bg);
    color: var(--fw-cta-text) !important;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 48px;
}

.flywheel-section-2025 .fw-cta:hover,
.flywheel-section-2025 .cta-button-2025:hover {
    background: var(--fw-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Secondary CTA (outline) */
.flywheel-section-2025 .fw-cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--fw-accent);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--fw-accent);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.flywheel-section-2025 .fw-cta-secondary:hover {
    background: var(--fw-accent);
    color: var(--fw-cta-text);
}

/* Links */
.flywheel-section-2025 a:not(.fw-cta):not(.fw-cta-secondary):not(.cta-button-2025) {
    color: var(--fw-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.flywheel-section-2025 a:not(.fw-cta):not(.fw-cta-secondary):not(.cta-button-2025):hover {
    color: var(--fw-accent-light);
    text-decoration: underline;
}

/* Icons */
.flywheel-section-2025 .fw-icon {
    color: var(--fw-accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Dividers */
.flywheel-section-2025 .fw-divider {
    border: none;
    border-top: 1px solid var(--fw-border);
    margin: 2rem 0;
}

/* Lists */
.flywheel-section-2025 .fw-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flywheel-section-2025 .fw-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.flywheel-section-2025 .fw-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--fw-accent);
    border-radius: 50%;
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .flywheel-section-2025 {
        padding: 64px 0;
    }

    .flywheel-section-2025 .section-title-2025,
    .flywheel-section-2025 .fw-title {
        font-size: 2.25rem;
    }

    .flywheel-section-2025 .fw-card {
        padding: 32px;
    }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .flywheel-section-2025 {
        padding: 80px 0;
    }

    .flywheel-section-2025 .section-title-2025,
    .flywheel-section-2025 .fw-title {
        font-size: 2.5rem;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .flywheel-section-2025 {
        padding: 100px 0;
    }
}

/* ============================================
   UTILITAIRES
   ============================================ */

/* Text colors */
.flywheel-section-2025 .fw-text-accent {
    color: var(--fw-accent);
}

.flywheel-section-2025 .fw-text-light {
    color: var(--fw-text-light);
}

.flywheel-section-2025 .fw-text-muted {
    color: var(--fw-text-muted);
}

/* Background colors */
.flywheel-section-2025 .fw-bg-alt {
    background: var(--fw-bg-alt);
}

.flywheel-section-2025 .fw-bg-card {
    background: var(--fw-card-bg);
}

/* Border */
.flywheel-section-2025 .fw-border {
    border: 1px solid var(--fw-border);
}

.flywheel-section-2025 .fw-border-accent {
    border: 1px solid var(--fw-accent);
}
