/* ═══════════════════════════════════════════════════════════════
   ALPHAVAULT AI — FINANCIAL DEEP DIVE LANDING PAGE
   financial-reports-landing.css — Version Premium
   Gradient: Violet/Green (#667eea → #10b981)
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   GLOBAL OVERFLOW FIX
   ═══════════════════════════════════════════════════════════════ */
   html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION — .hero-fr
   ═══════════════════════════════════════════════════════════════ */
.hero-fr {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px 2rem;
    overflow: visible;
    background: linear-gradient(135deg,
        #0f172a 0%,
        #1e293b 20%,
        #0f2027 40%,
        #203a43 60%,
        #1e293b 80%,
        #0f172a 100%);
    background-size: 400% 400%;
    animation: heroGradientFlowFR 22s ease infinite;
}

@keyframes heroGradientFlowFR {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Grid pattern overlay */
.hero-fr::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulseFR 12s ease-in-out infinite;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

@keyframes gridPulseFR {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 0.7; }
}

/* Orb 1 — Top Left (violet) */
.hero-fr::after {
    content: '';
    position: absolute;
    width: 580px; height: 580px;
    top: -8%; left: -4%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(102, 126, 234, 0.65) 0%,
        rgba(118, 75, 162, 0.4) 35%,
        transparent 70%);
    filter: blur(120px);
    opacity: 0.65;
    animation: floatOrbFR1 28s ease-in-out infinite;
    mix-blend-mode: screen;
    z-index: 0;
}

@keyframes floatOrbFR1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.65; }
    25%       { transform: translate(25px, -55px) scale(1.08); opacity: 0.8; }
    50%       { transform: translate(-15px, -75px) scale(0.95); opacity: 0.7; }
    75%       { transform: translate(35px, -25px) scale(1.05); opacity: 0.68; }
}

/* Orb 2 — Bottom Right (green) */
.hero-fr .container-fluid::before {
    content: '';
    position: absolute;
    width: 520px; height: 520px;
    bottom: -12%; right: -8%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(16, 185, 129, 0.6) 0%,
        rgba(5, 150, 105, 0.4) 35%,
        transparent 70%);
    filter: blur(110px);
    opacity: 0.6;
    animation: floatOrbFR2 32s ease-in-out infinite -6s;
    mix-blend-mode: screen;
    z-index: 0;
    pointer-events: none;
}

@keyframes floatOrbFR2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25%       { transform: translate(-25px, 45px) scale(1.08); opacity: 0.75; }
    50%       { transform: translate(15px, 70px) scale(0.95); opacity: 0.65; }
    75%       { transform: translate(-35px, 28px) scale(1.04); opacity: 0.62; }
}

/* Orb 3 — Center (teal accent) */
.hero-fr-content::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    top: 30%; left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(20, 184, 166, 0.25) 0%,
        transparent 70%);
    filter: blur(90px);
    opacity: 0.5;
    animation: floatOrbFR3 20s ease-in-out infinite -3s;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatOrbFR3 {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50%       { transform: translateX(-50%) scale(1.15); opacity: 0.7; }
}

/* Container */
.hero-fr .container-fluid {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: auto;
    overflow: visible;
}

.hero-fr-content {
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: visible;
    height: auto;
    position: relative;
}

/* ── FR Badge ─────────────────────────────────────────────────── */
.fr-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow:
        0 8px 32px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.fr-badge::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}
.fr-badge:hover::before { left: 100%; }

.fr-badge i {
    font-size: 1.1rem;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.15) rotate(5deg); opacity: 0.85; }
}

/* ── Hero H1 ──────────────────────────────────────────────────── */
.hero-fr h1 {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin: 0;
    letter-spacing: -0.03em;
    text-shadow:
        0 4px 20px rgba(0,0,0,0.5),
        0 0 60px rgba(102, 126, 234, 0.3);
}

/* ── Gradient Text ────────────────────────────────────────────── */
.highlight-gradient-fr {
    background: linear-gradient(135deg,
        #10b981 0%,
        #34d399 20%,
        #6ee7b7 40%,
        #a78bfa 60%,
        #818cf8 80%,
        #60a5fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShineFR 8s linear infinite;
    filter: drop-shadow(0 0 36px rgba(16, 185, 129, 0.5));
    display: inline-block;
}

@keyframes gradientShineFR {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ── Hero Subtitle ────────────────────────────────────────────── */
.hero-fr p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin: 0;
    max-width: 800px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    font-weight: 400;
}

/* ── CTA Button ───────────────────────────────────────────────── */
.btn-hero-primary-fr {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 12px 40px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary-fr::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;
}
.btn-hero-primary-fr:hover::before { left: 100%; }

.btn-hero-primary-fr:hover {
    transform: translateY(-3px) scale(1.02);
    background-position: right center;
    box-shadow:
        0 16px 56px rgba(16, 185, 129, 0.5),
        0 0 60px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-hero-primary-fr:active { transform: translateY(-1px) scale(0.98); }
.btn-hero-primary-fr i { transition: transform 0.3s; font-size: 1.2rem; }
.btn-hero-primary-fr:hover i { transform: translateX(4px) rotate(-5deg); }

/* ── Stats Bar ────────────────────────────────────────────────── */
.hero-stats-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 0.75rem 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    text-align: center;
    padding: 0.5rem 1.5rem;
}

.hero-stat-value {
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #10b981, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS PADDING
   ═══════════════════════════════════════════════════════════════ */
.features-section,
.demo-fr,
.cta-final {
    padding: 5rem 1rem;
    margin: 0;
    min-height: auto;
}

/* ═══════════════════════════════════════════════════════════════
   9 ANALYTICS MODULES GRID
   ═══════════════════════════════════════════════════════════════ */

/* ── Scroll Wrapper (Desktop: invisible, Mobile: swipe horizontal) */
.analytics-scroll-wrapper {
    position: relative;
    width: 100%;
}

/* Indicateur de swipe mobile (affiché uniquement sur mobile) */
.analytics-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.85;
    animation: swipeHintPulse 2.5s ease-in-out infinite;
}

.analytics-scroll-hint i {
    font-size: 1rem;
    animation: swipeHintArrow 1.5s ease-in-out infinite;
}

@keyframes swipeHintPulse {
    0%, 100% { opacity: 0.85; }
    50%       { opacity: 0.4; }
}

@keyframes swipeHintArrow {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(6px); }
}

/* Fade-out droit sur mobile pour indiquer le scroll */
.analytics-scroll-wrapper::after {
    display: none;
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(248, 250, 252, 0.9));
    pointer-events: none;
    z-index: 2;
    border-radius: 0 20px 20px 0;
}

body.dark-mode .analytics-scroll-wrapper::after {
    background: linear-gradient(to right, transparent, rgba(15, 23, 42, 0.9));
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.module-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #10b981, #06b6d4);
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.module-icon {
    width: 68px; height: 68px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.module-card:hover .module-icon {
    transform: scale(1.1) rotate(-6deg);
}

.module-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.module-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.875rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.module-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0;
}

body.dark-mode .module-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(102, 126, 234, 0.2);
}
body.dark-mode .module-card p { color: rgba(255,255,255,0.7); }
body.dark-mode .module-card:hover { border-color: rgba(16, 185, 129, 0.4); }

/* ═══════════════════════════════════════════════════════════════
   AI SCORE INTERPRETATION CARD
   ═══════════════════════════════════════════════════════════════ */
.score-interpretation-card-fr {
    padding: 2.75rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.interpretation-title-fr {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.interpretation-title-fr i {
    background: linear-gradient(135deg, #667eea, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.interpretation-grid-fr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
}

.interpretation-item-fr {
    padding: 1.5rem;
    border-radius: 16px;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
}
.interpretation-item-fr:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}

.interpretation-item-fr.strong-buy { background: linear-gradient(135deg, #10b981, #059669); }
.interpretation-item-fr.buy        { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.interpretation-item-fr.hold       { background: linear-gradient(135deg, #f59e0b, #d97706); }
.interpretation-item-fr.sell       { background: linear-gradient(135deg, #ef4444, #dc2626); }

.interpretation-score-fr  { font-size: 1.9rem; font-weight: 900; margin-bottom: 0.4rem; }
.interpretation-label-fr  { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.4rem; letter-spacing: 1px; }
.interpretation-desc-fr   { font-size: 0.82rem; opacity: 0.92; }

body.dark-mode .score-interpretation-card-fr {
    background: rgba(30, 41, 59, 0.95);
}
body.dark-mode .interpretation-title-fr { color: white; }

/* ═══════════════════════════════════════════════════════════════
   DEMO SECTION — .demo-fr
   ═══════════════════════════════════════════════════════════════ */
.demo-fr {
    background: linear-gradient(135deg, #667eea 0%, #10b981 50%, #06b6d4 100%);
    position: relative;
    overflow: hidden;
}

/* ── Browser Chrome — FIX: dot-fr au lieu de dot ───────────── */
.browser-chrome-fr {
    background: linear-gradient(180deg, #e5e7eb 0%, #d1d5db 100%);
    padding: 12px 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chrome-dots-fr {
    display: flex;
    gap: 6px;
}

.dot-fr {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot-fr-red    { background: #ef4444; }
.dot-fr-yellow { background: #f59e0b; }
.dot-fr-green  { background: #10b981; }

.chrome-title-fr {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════════════
   DEMO KPI CARDS
   ═══════════════════════════════════════════════════════════════ */
.demo-kpi-card {
    background: white;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.demo-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.demo-kpi-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.demo-kpi-value {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 4px;
}

.demo-kpi-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
}

/* ═══════════════════════════════════════════════════════════════
   LIVE DEMO CARDS GRID — 2 par ligne
   ═══════════════════════════════════════════════════════════════ */
.demo-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   DEMO RATIO ROWS
   ═══════════════════════════════════════════════════════════════ */
.demo-ratio-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-ratio-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    min-width: 90px;
    flex-shrink: 0;
}

.demo-ratio-bar-wrap {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.demo-ratio-bar {
    height: 100%;
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-ratio-value {
    font-size: 0.82rem;
    font-weight: 800;
    min-width: 45px;
    text-align: right;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   QUALITY OF EARNINGS ROWS
   ═══════════════════════════════════════════════════════════════ */
.qoe-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qoe-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    min-width: 100px;
    flex-shrink: 0;
}

.qoe-bar-wrap {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.qoe-bar {
    height: 100%;
    border-radius: 999px;
    transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.qoe-score {
    font-size: 0.9rem;
    font-weight: 900;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.qoe-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   SMART AUTO-DETECTION — COMPANY TYPES GRID
   ═══════════════════════════════════════════════════════════════ */
.company-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

/* ── Company Type Card ─────────────────────────────────────── */
.company-type-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 2px solid var(--ct-color-light, rgba(102,126,234,0.1));
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-type-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        var(--ct-color, #667eea),
        color-mix(in srgb, var(--ct-color, #667eea) 60%, white));
    border-radius: 24px 24px 0 0;
}

.company-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.14);
    border-color: var(--ct-color, #667eea);
}

/* ── CT Icon Wrap ──────────────────────────────────────────── */
.ct-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    color: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.company-type-card:hover .ct-icon-wrap {
    transform: scale(1.1) rotate(-6deg);
}

.company-type-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.company-type-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.ct-examples {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0.25rem;
}

.ct-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    border: 2px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.ct-logo-wrap:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: var(--ct-color, #667eea);
}

.ct-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.ct-logo-wrap .logo-fallback {
    font-size: 0.65rem;
    font-weight: 900;
    color: white;
    text-align: center;
    letter-spacing: -0.5px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ct-color, #667eea), #764ba2);
    border-radius: 10px;
}

.ct-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.ct-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.ct-features span i {
    color: var(--ct-color, #667eea);
    font-size: 0.7rem;
    flex-shrink: 0;
    width: 14px;
}

body.dark-mode .company-type-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(102, 126, 234, 0.2);
}
body.dark-mode .company-type-card h3 { color: white; }
body.dark-mode .company-type-card p  { color: rgba(255,255,255,0.65); }
body.dark-mode .ct-logo-wrap {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}
body.dark-mode .ct-features span { color: rgba(255,255,255,0.7); }
body.dark-mode .ct-features        { border-top-color: rgba(255,255,255,0.08); }

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS — SOLUTIONS GRID
   ═══════════════════════════════════════════════════════════════ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: white;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.solution-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card:hover::after { transform: scaleX(1); }

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(102, 126, 234, 0.18);
    border-color: rgba(102, 126, 234, 0.25);
}

.solution-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon { transform: scale(1.12) rotate(-8deg); }

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.875rem;
    text-align: center;
}

.solution-card p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

body.dark-mode .solution-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(102, 126, 234, 0.2);
}
body.dark-mode .solution-card h3 { color: white; }
body.dark-mode .solution-card p  { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS — Variante fr (solution-card-fr)
   ═══════════════════════════════════════════════════════════════ */
.solutions-grid-fr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card-fr {
    background: white;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-card-fr::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card-fr:hover::after { transform: scaleX(1); }

.solution-card-fr:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(102, 126, 234, 0.18);
    border-color: rgba(102, 126, 234, 0.25);
}

.solution-step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.solution-card-fr:hover .solution-step-icon { transform: scale(1.12) rotate(-8deg); }

.solution-card-fr h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.875rem;
}

.solution-card-fr p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

.solution-card-fr .step-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea, #10b981);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .solution-card-fr {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(102, 126, 234, 0.2);
}
body.dark-mode .solution-card-fr h3 { color: white; }
body.dark-mode .solution-card-fr p  { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════════════════
   KEY METRICS SHOWCASE SECTION
   ═══════════════════════════════════════════════════════════════ */
.metrics-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.metric-showcase-card {
    background: white;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.metric-showcase-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-gradient, linear-gradient(90deg, #667eea, #10b981));
}

.metric-showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.15);
}

.metric-showcase-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.metric-showcase-value {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 4px;
    background: var(--card-gradient, linear-gradient(135deg, #667eea, #10b981));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-showcase-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.metric-showcase-desc {
    font-size: 0.75rem;
    color: #64748b;
}

body.dark-mode .metric-showcase-card  { background: rgba(30, 41, 59, 0.95); }
body.dark-mode .metric-showcase-name  { color: white; }
body.dark-mode .metric-showcase-desc  { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════════════════ */
.cta-final-fr {
    padding: 5rem 1rem;
    background: linear-gradient(135deg,
        #0f172a 0%,
        #1e293b 40%,
        #0f2027 70%,
        #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.cta-final-fr::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%,
            rgba(102, 126, 234, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 50%,
            rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.cta-final-fr .cta-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.cta-final-fr .cta-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.cta-final-fr .cta-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final-fr .cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-cta-primary-fr {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #667eea, #10b981);
    background-size: 200% auto;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.45);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary-fr::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s;
}
.btn-cta-primary-fr:hover::before { left: 100%; }
.btn-cta-primary-fr:hover {
    transform: translateY(-3px);
    background-position: right center;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.5);
}

.cta-final-fr .cta-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   TRUSTED BY / SOCIAL PROOF STRIP
   ═══════════════════════════════════════════════════════════════ */
.social-proof-strip {
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    font-weight: 600;
}

.social-proof-item i {
    color: #10b981;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   DEMO INNER WRAPPERS
   ═══════════════════════════════════════════════════════════════ */
.demo-inner {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.demo-body {
    padding: 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.demo-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea, #10b981);
    border-radius: 16px;
    margin-bottom: 2rem;
    color: white;
    flex-wrap: wrap;
    gap: 1rem;
}

.demo-stat-item { text-align: center; }

.demo-stat-item .label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-stat-item .value {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
}

.demo-score-card {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    border-left: 6px solid #667eea;
}

.demo-score-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.demo-company-name {
    font-size: 1.6rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 8px;
}

.demo-action-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.demo-total-score { text-align: right; }

.demo-score-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.demo-score-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 4px;
}

.demo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-kpi-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.demo-kpi-item:hover {
    background: rgba(102, 126, 234, 0.06);
    transform: translateY(-2px);
}

.demo-kpi-item .kpi-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
}

.demo-kpi-item .kpi-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.demo-kpi-item .kpi-value.green  { color: #10b981; }
.demo-kpi-item .kpi-value.blue   { color: #667eea; }
.demo-kpi-item .kpi-value.purple { color: #8b5cf6; }
.demo-kpi-item .kpi-value.red    { color: #ef4444; }

.demo-desc-box {
    padding: 1.5rem;
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.05),
        rgba(16, 185, 129, 0.05));
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.7;
}

.demo-score-breakdown {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #10b981 100%);
    border-radius: 16px;
    color: white;
    margin-bottom: 2rem;
}

.demo-breakdown-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.demo-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.875rem;
}

.demo-breakdown-item {
    padding: 1rem;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}

.demo-breakdown-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.demo-breakdown-item .bd-label {
    font-size: 0.72rem;
    opacity: 0.9;
    margin-bottom: 6px;
    font-weight: 600;
}

.demo-breakdown-item .bd-value {
    font-size: 1.5rem;
    font-weight: 900;
}

.demo-cta-wrapper {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════════════════════ */

/* ── 1024px ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-fr {
        padding: 120px 1.5rem 80px 1.5rem;
    }

    .hero-fr h1 {
        font-size: clamp(2.25rem, 7vw, 3.5rem);
    }

    .hero-fr::after,
    .hero-fr .container-fluid::before {
        width: 380px;
        height: 380px;
    }

    .modules-grid,
    .company-types-grid,
    .solutions-grid,
    .solutions-grid-fr {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.25rem;
    }

    .metrics-showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.25rem;
    }

    .interpretation-grid-fr {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-breakdown-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .score-interpretation-card-fr {
        padding: 2rem;
    }

    .demo-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ── 768px ──────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* ── Hero ─────────────────────────────────────────────────── */
    .hero-fr {
        padding: 100px 1.25rem 64px 1.25rem;
        min-height: auto;
    }

    .hero-fr h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
        letter-spacing: -0.02em;
    }

    .hero-fr p { font-size: 1rem; }

    .hero-fr::after {
        width: 260px;
        height: 260px;
        top: -4%;
        left: -6%;
        filter: blur(70px);
    }

    .hero-fr .container-fluid::before {
        width: 240px;
        height: 240px;
        bottom: -6%;
        right: -6%;
        filter: blur(65px);
    }

    .hero-fr-content::after {
        width: 220px;
        height: 220px;
        filter: blur(60px);
    }

    .fr-badge {
        font-size: 0.8125rem;
        padding: 0.625rem 1.25rem;
        gap: 0.5rem;
    }

    .btn-hero-primary-fr {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 12px;
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }

    .hero-stats-bar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.25rem 1.5rem;
    }

    .hero-stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-stat { padding: 0.375rem 1rem; }
    .hero-stat-value { font-size: 1.4rem; }

    /* ── Sections ─────────────────────────────────────────────── */
    .features-section,
    .demo-fr,
    .cta-final {
        padding: 3.5rem 1rem;
    }

    .cta-final-fr { padding: 3.5rem 1rem; }

    /* ── ANALYTICS ENGINE — SWIPE HORIZONTAL ─────────────────── */
    .analytics-scroll-hint {
        display: flex;
    }

    .analytics-scroll-wrapper::after {
        display: block;
    }

    .modules-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 0.5rem 1rem 1.5rem 1rem;
        margin-top: 1.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        /* Masquer la scrollbar visuellement */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .modules-grid::-webkit-scrollbar {
        display: none;
    }

    .modules-grid .module-card {
        /* Chaque card occupe ~85% de la largeur écran pour indiquer qu'il y en a d'autres */
        min-width: 82vw;
        max-width: 320px;
        flex-shrink: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        /* Désactiver le hover translateY sur mobile pour éviter le saut */
        transform: none !important;
    }

    .modules-grid .module-card:hover {
        transform: none !important;
        box-shadow: 0 8px 28px rgba(102, 126, 234, 0.18);
    }

    /* ── Company Types Grid ───────────────────────────────────── */
    .company-types-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* ── Solutions Grid ───────────────────────────────────────── */
    .solutions-grid,
    .solutions-grid-fr {
        grid-template-columns: 1fr;
        gap: 1.125rem;
    }

    /* ── Metrics Showcase ─────────────────────────────────────── */
    .metrics-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* ── Interpretation Grid ──────────────────────────────────── */
    .interpretation-grid-fr {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    /* ── Module Card ──────────────────────────────────────────── */
    .module-card { padding: 1.5rem; }

    .module-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 14px;
    }

    .module-card h3 { font-size: 1.125rem; }

    /* ── Company Type Card ────────────────────────────────────── */
    .company-type-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .ct-icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 1.625rem;
        border-radius: 15px;
    }

    .company-type-card h3 { font-size: 1.1rem; }

    /* ── Solution Cards ───────────────────────────────────────── */
    .solution-card,
    .solution-card-fr {
        padding: 1.75rem 1.5rem;
    }

    .solution-icon,
    .solution-step-icon {
        width: 68px;
        height: 68px;
        font-size: 1.625rem;
    }

    /* ── Demo Section ─────────────────────────────────────────── */
    .demo-inner    { border-radius: 16px; }
    .demo-body     { padding: 1.25rem; }

    .demo-stats-header {
        padding: 1.25rem;
        gap: 0.75rem;
        justify-content: space-between;
    }

    .demo-stat-item .value { font-size: 1.2rem; }
    .demo-stat-item .label { font-size: 0.7rem; }

    .demo-score-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .demo-company-name  { font-size: 1.3rem; }
    .demo-score-number  { font-size: 2.75rem; }

    /* ── LIVE DEMO — 2 cards par ligne ───────────────────────── */
    .demo-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .demo-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .demo-breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .demo-score-breakdown {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }

    /* ── Score Interpretation ─────────────────────────────────── */
    .score-interpretation-card-fr {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .interpretation-title-fr {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .interpretation-score-fr { font-size: 1.65rem; }
    .interpretation-label-fr { font-size: 0.975rem; }
    .interpretation-desc-fr  { font-size: 0.75rem; }

    /* ── CTA Final ────────────────────────────────────────────── */
    .cta-final-fr .cta-title {
        font-size: clamp(1.625rem, 7vw, 2.25rem);
    }

    .cta-final-fr .cta-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .cta-final-fr .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
    }

    .btn-cta-primary-fr {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    /* ── Social Proof ─────────────────────────────────────────── */
    .social-proof-strip {
        gap: 1.25rem;
        padding: 1rem 1.25rem;
    }

    .social-proof-item { font-size: 0.8125rem; }

    /* ── Metric Showcase Card ─────────────────────────────────── */
    .metric-showcase-card {
        padding: 1.375rem 1.125rem;
        border-radius: 14px;
    }

    .metric-showcase-value { font-size: 1.65rem; }
    .metric-showcase-icon  { font-size: 1.625rem; }

    /* ── Demo KPI Cards ───────────────────────────────────────── */
    .demo-kpi-card {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .demo-kpi-value { font-size: 1.25rem; }

    /* ── Ratio Rows ───────────────────────────────────────────── */
    .demo-ratio-name,
    .qoe-label {
        min-width: 72px;
        font-size: 0.72rem;
    }

    .qoe-score  { font-size: 0.8rem; }

    .qoe-badge {
        font-size: 0.62rem;
        padding: 2px 8px;
    }
}

/* ── 480px ──────────────────────────────────────────────────── */
@media (max-width: 480px) {

    /* ── Hero ─────────────────────────────────────────────────── */
    .hero-fr {
        padding: 90px 1rem 56px 1rem;
    }

    .hero-fr h1 {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
        line-height: 1.15;
    }

    .hero-fr p {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .hero-fr-content { gap: 1.5rem; }

    .fr-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .hero-fr::after {
        width: 180px;
        height: 180px;
        filter: blur(50px);
        opacity: 0.45;
    }

    .hero-fr .container-fluid::before {
        width: 160px;
        height: 160px;
        filter: blur(45px);
        opacity: 0.4;
    }

    .hero-stats-bar    { padding: 1rem; }
    .hero-stat-value   { font-size: 1.25rem; }
    .hero-stat-label   { font-size: 0.68rem; }

    /* ── ANALYTICS ENGINE — Cards encore plus étroites ─────────── */
    .modules-grid .module-card {
        min-width: 88vw;
        max-width: 280px;
    }

    /* ── LIVE DEMO — 2 cards par ligne (maintenu) ────────────── */
    .demo-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Fallback 1 colonne si les cards sont trop larges */
    @supports not (grid-template-columns: repeat(2, 1fr)) {
        .demo-cards-grid {
            grid-template-columns: 1fr;
        }
    }

    .metrics-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .interpretation-grid-fr {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    /* ── Demo ─────────────────────────────────────────────────── */
    .demo-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .demo-breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .demo-kpi-item          { padding: 0.75rem; }
    .demo-kpi-item .kpi-value { font-size: 0.95rem; }
    .demo-kpi-item .kpi-label { font-size: 0.65rem; }

    .demo-score-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .demo-total-score  { text-align: left; }
    .demo-score-number { font-size: 2.25rem; }
    .demo-company-name { font-size: 1.15rem; }

    .demo-breakdown-item .bd-value { font-size: 1.25rem; }
    .demo-breakdown-item .bd-label { font-size: 0.65rem; }

    /* ── Cards ────────────────────────────────────────────────── */
    .module-card,
    .company-type-card,
    .solution-card,
    .solution-card-fr {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .module-icon {
        width: 50px;
        height: 50px;
        font-size: 1.375rem;
        border-radius: 12px;
    }

    .ct-icon-wrap {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
        border-radius: 13px;
    }

    .solution-icon,
    .solution-step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .metric-showcase-card {
        padding: 1.125rem 0.875rem;
        border-radius: 12px;
    }

    .metric-showcase-value { font-size: 1.45rem; }
    .metric-showcase-icon  { font-size: 1.4rem; margin-bottom: 0.75rem; }
    .metric-showcase-name  { font-size: 0.78rem; }
    .metric-showcase-desc  { font-size: 0.68rem; }

    /* ── Score Interpretation ─────────────────────────────────── */
    .interpretation-item-fr { padding: 1rem; }
    .interpretation-score-fr { font-size: 1.45rem; }
    .interpretation-label-fr { font-size: 0.875rem; }

    /* ── CTA ──────────────────────────────────────────────────── */
    .btn-hero-primary-fr,
    .btn-cta-primary-fr {
        padding: 0.9375rem 1.5rem;
        font-size: 0.9375rem;
        border-radius: 11px;
    }

    .cta-final-fr .cta-title { font-size: clamp(1.5rem, 8vw, 2rem); }
    .cta-final-fr             { padding: 3rem 1rem; }

    /* ── Social Proof ─────────────────────────────────────────── */
    .social-proof-strip {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
    }

    .social-proof-item { font-size: 0.8rem; }

    /* ── CT Examples ──────────────────────────────────────────── */
    .ct-examples { gap: 7px; }

    .ct-logo-wrap {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .ct-features span { font-size: 0.78rem; }
}

/* ── 360px (ultra-small) ────────────────────────────────────── */
@media (max-width: 360px) {
    .hero-fr {
        padding: 80px 0.875rem 48px 0.875rem;
    }

    .hero-fr h1 { font-size: 1.625rem; }
    .hero-fr p  { font-size: 0.875rem; }

    .hero-stat-value { font-size: 1.1rem; }
    .hero-stat-label { font-size: 0.62rem; }

    /* Analytics engine cards encore plus compactes */
    .modules-grid .module-card {
        min-width: 90vw;
        max-width: 260px;
        padding: 1.125rem;
    }

    /* Live Demo — 2 cards si possible, sinon 1 */
    .demo-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .metrics-showcase-grid     { grid-template-columns: 1fr 1fr; }
    .interpretation-grid-fr    { grid-template-columns: 1fr 1fr; }

    .demo-kpi-grid,
    .demo-breakdown-grid       { grid-template-columns: 1fr 1fr; }

    .demo-score-number         { font-size: 2rem; }

    .module-card h3,
    .company-type-card h3,
    .solution-card h3,
    .solution-card-fr h3       { font-size: 1rem; }

    /* Si même 2 colonnes sont trop petites sur 360px */
    .demo-kpi-card {
        padding: 10px 12px;
    }

    .demo-kpi-value { font-size: 1.1rem; }
    .demo-kpi-label { font-size: 0.65rem; }
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION — ACCESSIBILITÉ
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .hero-fr,
    .hero-fr::before,
    .hero-fr::after,
    .hero-fr .container-fluid::before,
    .hero-fr-content::after {
        animation: none;
    }

    .highlight-gradient-fr {
        animation: none;
        background-position: 0% center;
    }

    .fr-badge i { animation: none; }

    .analytics-scroll-hint { animation: none; }
    .analytics-scroll-hint i { animation: none; }

    .module-card,
    .company-type-card,
    .solution-card,
    .solution-card-fr,
    .metric-showcase-card,
    .interpretation-item-fr {
        transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .module-card:hover,
    .company-type-card:hover,
    .solution-card:hover,
    .solution-card-fr:hover,
    .metric-showcase-card:hover,
    .interpretation-item-fr:hover {
        transform: none;
    }

    .btn-hero-primary-fr,
    .btn-cta-primary-fr {
        transition: box-shadow 0.2s ease;
    }

    .btn-hero-primary-fr:hover,
    .btn-cta-primary-fr:hover {
        transform: none;
    }

    .module-card:hover .module-icon,
    .company-type-card:hover .ct-icon-wrap,
    .solution-card:hover .solution-icon,
    .solution-card-fr:hover .solution-step-icon {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════ */
@media print {
    .hero-fr {
        background: #0f172a !important;
        min-height: auto;
        padding: 40px 20px;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .hero-fr::before,
    .hero-fr::after,
    .hero-fr .container-fluid::before,
    .hero-fr-content::after {
        display: none;
    }

    .demo-fr,
    .cta-final-fr { display: none; }

    .analytics-scroll-wrapper::after,
    .analytics-scroll-hint { display: none; }

    /* Remettre la grille normale pour l'impression */
    .modules-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow: visible;
        flex-wrap: unset;
    }

    .modules-grid .module-card {
        min-width: unset;
        max-width: unset;
    }

    .module-card,
    .company-type-card,
    .solution-card,
    .solution-card-fr,
    .metric-showcase-card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
        break-inside: avoid;
    }

    .company-types-grid,
    .solutions-grid,
    .solutions-grid-fr {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-showcase-grid { grid-template-columns: repeat(3, 1fr); }

    .btn-hero-primary-fr,
    .btn-cta-primary-fr { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE — SURCHARGES GLOBALES
   ═══════════════════════════════════════════════════════════════ */
body.dark-mode .demo-inner {
    background: rgba(15, 23, 42, 0.98);
}

body.dark-mode .demo-body {
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
}

body.dark-mode .demo-score-card {
    background: rgba(30, 41, 59, 0.95);
    border-left-color: #667eea;
}

body.dark-mode .demo-company-name { color: white; }

body.dark-mode .demo-kpi-item {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .demo-kpi-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

body.dark-mode .demo-kpi-item .kpi-label { color: rgba(255, 255, 255, 0.6); }
body.dark-mode .demo-kpi-item .kpi-value { color: white; }

body.dark-mode .demo-desc-box {
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.08),
        rgba(16, 185, 129, 0.08));
    border-color: rgba(102, 126, 234, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .demo-kpi-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .demo-kpi-label { color: rgba(255, 255, 255, 0.6); }
body.dark-mode .demo-kpi-value { color: white; }

body.dark-mode .demo-ratio-name,
body.dark-mode .qoe-label { color: rgba(255, 255, 255, 0.7); }

body.dark-mode .demo-ratio-bar-wrap,
body.dark-mode .qoe-bar-wrap { background: rgba(255, 255, 255, 0.08); }

body.dark-mode .demo-score-label { color: rgba(255, 255, 255, 0.6); }

body.dark-mode .demo-cta-wrapper {
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .browser-chrome-fr {
    background: linear-gradient(180deg,
        rgba(30, 41, 59, 0.98) 0%,
        rgba(15, 23, 42, 0.98) 100%);
}

body.dark-mode .chrome-title-fr { color: rgba(255, 255, 255, 0.5); }

/* Dark mode — hint couleur adaptée */
body.dark-mode .analytics-scroll-hint {
    color: #a78bfa;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY — SECTION TITLE
   ═══════════════════════════════════════════════════════════════ */
.section-title-fr {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.section-subtitle-fr {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #64748b;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

body.dark-mode .section-title-fr  { color: white; }
body.dark-mode .section-subtitle-fr { color: rgba(255, 255, 255, 0.65); }

.gradient-text-fr {
    background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLLBAR CUSTOM (Webkit)
   ═══════════════════════════════════════════════════════════════ */
.demo-inner::-webkit-scrollbar,
.demo-body::-webkit-scrollbar {
    width: 6px;
}

.demo-inner::-webkit-scrollbar-track,
.demo-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 999px;
}

.demo-inner::-webkit-scrollbar-thumb,
.demo-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #10b981);
    border-radius: 999px;
}

body.dark-mode .demo-inner::-webkit-scrollbar-track,
body.dark-mode .demo-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

/* ═══════════════════════════════════════════════════════════════
   FIN — financial-reports-landing.css v1.1 Premium Mobile
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   MOBILE FIX v3 — CIBLAGE PRÉCIS DES INLINE STYLES
   Affichage vertical : Income Statement → Valuation → Ratios
                        QoE → Graham → WACC → Piotroski
   ═══════════════════════════════════════════════════════════════ */

   @media (max-width: 768px) {

    /* ── 1. Padding wrapper interne du demo ──────────────────── */
    .demo-fr [style*="padding: 2rem; background: linear-gradient(180deg"] {
        padding: 1rem !important;
    }

    /* ── 2. TOUTES les grilles 2 colonnes → 1 colonne ────────── */
    /* Couvre les 3 grids : Income|Ratios, QoE|Scores, Strengths|Concerns */
    .demo-fr [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 0.875rem !important;
    }

    /* ── 3. Company Header (padding: 28px 32px) ──────────────── */
    .demo-fr [style*="padding: 28px 32px"] {
        padding: 1rem !important;
        border-radius: 14px !important;
        gap: 10px !important;
    }

    /* Logo Microsoft 90×90 → 52×52 */
    .demo-fr [style*="width: 90px; height: 90px"] {
        width: 52px !important;
        height: 52px !important;
        border-radius: 12px !important;
    }

    /* "Microsoft Corporation" 1.9rem → 1.2rem */
    .demo-fr [style*="font-size: 1.9rem; font-weight: 900"] {
        font-size: 1.2rem !important;
        margin-bottom: 4px !important;
    }

    /* Flex text wrapper min-width: 200px → supprimé */
    .demo-fr [style*="min-width: 200px"] {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* FY2024 box */
    .demo-fr [style*="font-size: 1.5rem; font-weight: 900; color: white"] {
        font-size: 1.1rem !important;
    }

    /* ── 4. Financial Highlights KPI bar → 2 cols ────────────── */
    .demo-fr [style*="minmax(160px, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.625rem !important;
    }

    /* ── 5. Income Statement table ───────────────────────────── */
    .demo-fr table {
        font-size: 0.72rem !important;
    }

    .demo-fr table th,
    .demo-fr table td {
        padding: 5px 4px !important;
        font-size: 0.7rem !important;
    }

    /* Indentation des lignes */
    .demo-fr table td[style*="padding: 6px 20px"],
    .demo-fr table td[style*="padding: 8px 20px"],
    .demo-fr table td[style*="padding: 10px 20px"] {
        padding-left: 10px !important;
    }

    /* ── 6. Income Statement card wrapper ────────────────────── */
    .demo-fr [style*="background: white; border-radius: 16px; padding: 20px"] {
        padding: 12px !important;
        border-radius: 12px !important;
    }

    /* Header "Standard Income Statement — FY2024" */
    .demo-fr [style*="background: linear-gradient(135deg, #667eea, #764ba2); padding: 12px 18px"] {
        padding: 8px 12px !important;
        border-radius: 10px !important;
        margin-bottom: 10px !important;
    }

    /* ── 7. Valuation Metrics card (ec4899 → 8b5cf6) ────────── */
    .demo-fr [style*="background: linear-gradient(135deg, #ec4899, #8b5cf6)"] {
        padding: 14px !important;
        border-radius: 12px !important;
    }

    /* ── 8. AI Recommendation Card ───────────────────────────── */

    /* "STRONG BUY" 3rem → 1.625rem */
    .demo-fr [style*="font-size: 3rem; font-weight: 900"] {
        font-size: 1.625rem !important;
        margin-bottom: 6px !important;
    }

    /* Score "87" 4rem → 2.25rem */
    .demo-fr [style*="font-size: 4rem; font-weight: 900"] {
        font-size: 2.25rem !important;
    }

    /* Box "Overall Score 87/100" */
    .demo-fr [style*="padding: 20px 28px; border-radius: 20px"] {
        padding: 10px 14px !important;
    }

    /* Badges Confidence / Risk / Horizon */
    .demo-fr [style*="padding: 8px 16px; border-radius: 10px; font-size: 0.82rem"] {
        padding: 5px 8px !important;
        font-size: 0.68rem !important;
        border-radius: 8px !important;
    }

    /* ── 9. Category scores (auto-fit 130px) → 3 cols ────────── */
    .demo-fr [style*="minmax(130px, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        margin-top: 10px !important;
    }

    /* Valeurs catégories "19", "18"… 1.8rem → 1.3rem */
    .demo-fr [style*="font-size: 1.8rem; font-weight: 900"] {
        font-size: 1.3rem !important;
    }

    /* Strengths / Concerns listes */
    .demo-fr [style*="padding-left: 18px; font-size: 0.8rem"] {
        font-size: 0.72rem !important;
        line-height: 1.65 !important;
        padding-left: 14px !important;
    }

    /* ── 10. QoE card ─────────────────────────────────────────── */
    .demo-fr [style*="background: white; border-radius: 14px; padding: 18px"] {
        padding: 14px !important;
        border-radius: 12px !important;
    }

    /* ── 11. Graham Number card ───────────────────────────────── */
    .demo-fr [style*="background: linear-gradient(135deg, #10b981, #059669); padding: 16px 20px"] {
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    /* Valeur "$89.42" 1.6rem → 1.3rem */
    .demo-fr [style*="font-size: 1.6rem; font-weight: 900"] {
        font-size: 1.3rem !important;
    }

    /* ── 12. WACC card ────────────────────────────────────────── */
    .demo-fr [style*="background: linear-gradient(135deg, #8b5cf6, #7c3aed); padding: 16px 20px"] {
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    /* WACC 3 cols — garder 3 cols, juste réduire gap */
    .demo-fr [style*="grid-template-columns: 1fr 1fr 1fr"] {
        gap: 6px !important;
    }

    /* ── 13. Piotroski + Altman card ─────────────────────────── */
    .demo-fr [style*="display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(0,0,0,0.06)"] {
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    /* Scores Piotroski "8/9" et Altman "6.2" */
    .demo-fr [style*="font-size: 1.6rem; font-weight: 900; color: #10b981"],
    .demo-fr [style*="font-size: 1.6rem; font-weight: 900; color: #3b82f6"] {
        font-size: 1.3rem !important;
    }

    /* ── 14. Financial Ratios card ───────────────────────────── */
    .demo-fr [style*="background: white; border-radius: 14px; padding: 16px; box-shadow"] {
        padding: 12px !important;
        border-radius: 12px !important;
    }

    /* ── 15. CTA bottom ───────────────────────────────────────── */
    .demo-fr [style*="text-align: center; margin-top: 1.5rem"] {
        margin-top: 1rem !important;
    }
}

/* ── 480px — ultra compact ───────────────────────────────────── */
@media (max-width: 480px) {

    /* Padding encore réduit */
    .demo-fr [style*="padding: 2rem; background: linear-gradient(180deg"] {
        padding: 0.75rem !important;
    }

    /* STRONG BUY */
    .demo-fr [style*="font-size: 3rem; font-weight: 900"] {
        font-size: 1.4rem !important;
    }

    /* Score 87 */
    .demo-fr [style*="font-size: 4rem; font-weight: 900"] {
        font-size: 2rem !important;
    }

    /* Category scores → 2 cols (3 trop serré sur 360px) */
    .demo-fr [style*="minmax(130px, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* KPI highlights */
    .demo-fr [style*="minmax(160px, 1fr)"] {
        gap: 0.5rem !important;
    }

    /* Tables ultra-compact */
    .demo-fr table {
        font-size: 0.65rem !important;
    }

    .demo-fr table th,
    .demo-fr table td {
        padding: 4px 3px !important;
    }

    /* Microsoft logo encore plus petit */
    .demo-fr [style*="width: 90px; height: 90px"] {
        width: 44px !important;
        height: 44px !important;
    }

    /* Microsoft Corporation */
    .demo-fr [style*="font-size: 1.9rem; font-weight: 900"] {
        font-size: 1.05rem !important;
    }

    /* Badges confidence compact */
    .demo-fr [style*="padding: 8px 16px; border-radius: 10px; font-size: 0.82rem"] {
        padding: 4px 6px !important;
        font-size: 0.62rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FIN — Mobile Fix v3 Inline Styles Override
   ═══════════════════════════════════════════════════════════════ */