/* ============================================
   IAnalyse Premium — CSS Principal
   Rapport Cartier & Luxe Horloger 2026
   ============================================ */

/* --- Variables CSS --- */
:root {
    --dark-primary: #0a0a0a;
    --dark-secondary: #1a1a2e;
    --dark-card: #111122;
    --dark-surface: #16162a;
    --gold: #d4af37;
    --gold-light: #f0d060;
    --gold-dark: #b8962e;
    --blue-accent: #3B68AD;
    --pink-accent: #AF0E93;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0c0;
    --text-muted: #6a6a7a;
    --white: #ffffff;
    --positive: #2ecc71;
    --negative: #e74c3c;
    --warning: #f39c12;
    --neutral: #95a5a6;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-max: 1200px;
    --border-radius: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--dark-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* --- Navigation --- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

#main-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: rgba(212, 175, 55, 0.25);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

/* --- Logo Bekorp --- */
.bekorp-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.bekorp-logo-nav {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
    opacity: 0.88;
    transition: var(--transition);
}

.bekorp-logo-nav:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.75));
    transform: scale(1.08);
}

.bekorp-logo-footer {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    transition: var(--transition);
}

.bekorp-logo-footer:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.7));
}

.brand-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 0.75rem;
}

.brand-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
}

.brand-separator {
    color: var(--text-muted);
    margin: 0 0.25rem;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* --- Hero Section --- */
#hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-primary);
    background-image: url('../images/hero-watch-movement.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(59, 104, 173, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(175, 14, 147, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 40%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.4) 40%,
        rgba(10, 10, 10, 0.6) 70%,
        rgba(10, 10, 10, 0.95) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 820px;
    padding: 2rem;
    padding-top: 6rem;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.18);
    border: 1.5px solid rgba(212, 175, 55, 0.7);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(240, 208, 96, 0.8);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
    color: var(--white);
}

.hero-highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.04em;
    max-width: 560px;
    margin: 2.5rem auto 2.75rem;
}

.hero-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--border-radius);
    padding: 1.25rem 1rem;
    transition: var(--transition);
}

.kpi-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.kpi-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.kpi-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--transition);
    padding: 0.75rem 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
}

.hero-cta:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.hero-cta i {
    animation: bounceDown 2s infinite;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s infinite;
}

/* --- Section Styles --- */
.section-dark {
    background: var(--dark-primary);
    padding: var(--section-padding) 0;
}

.section-light {
    background: var(--dark-secondary);
    padding: var(--section-padding) 0;
}

.section-accent {
    background: linear-gradient(135deg, var(--dark-secondary), #1a1a35);
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Question Décisionnelle --- */
.decision-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius);
}

.decision-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--gold);
    font-size: 1.5rem;
}

.decision-box h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.decision-context {
    margin: 0 auto 1.75rem;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.decision-question {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.decision-answer {
    background: rgba(46, 204, 113, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
}

.answer-badge {
    display: inline-block;
    background: rgba(46, 204, 113, 0.15);
    color: var(--positive);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.decision-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Executive Grid --- */
.executive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.exec-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.exec-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.02);
    transform: translateY(-4px);
}

.exec-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    color: var(--gold);
    font-size: 1.2rem;
}

.exec-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.exec-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Data Storytelling --- */
.story-block {
    margin-bottom: 4rem;
}

.story-block h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.story-block h3 i {
    color: var(--gold);
}

.chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.story-insight {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(59, 104, 173, 0.05);
    border-left: 3px solid var(--blue-accent);
    border-radius: 0 8px 8px 0;
}

.insight-badge {
    display: inline-block;
    background: rgba(59, 104, 173, 0.15);
    color: var(--blue-accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.story-insight p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Geo Grid --- */
.geo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.geo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    transition: var(--transition);
}

.geo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
}

.geo-flag {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.geo-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.geo-metric {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.geo-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.geo-trend {
    font-size: 0.8rem;
    font-weight: 500;
}

.trend-up { color: var(--positive); }
.trend-down { color: var(--negative); }
.trend-stable { color: var(--neutral); }

.geo-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Forces Grid --- */
.forces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.force-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.force-card:hover {
    transform: translateY(-4px);
}

.force-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.force-positive .force-header { color: var(--positive); }
.force-negative .force-header { color: var(--negative); }
.force-uncertainty .force-header { color: var(--warning); }

.force-positive { border-left: 3px solid var(--positive); }
.force-negative { border-left: 3px solid var(--negative); }
.force-uncertainty { border-left: 3px solid var(--warning); }

.force-card ul {
    list-style: none;
}

.force-card li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.force-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* --- Scénarios --- */
.scenarios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.scenario-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.scenario-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
}

.scenario-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.scenario-optimiste .scenario-header { background: rgba(46, 204, 113, 0.05); }
.scenario-central .scenario-header { background: rgba(59, 104, 173, 0.05); }
.scenario-pessimiste .scenario-header { background: rgba(231, 76, 60, 0.05); }

.scenario-probability {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    opacity: 0.3;
}

.scenario-optimiste .scenario-probability { color: var(--positive); }
.scenario-central .scenario-probability { color: var(--blue-accent); }
.scenario-pessimiste .scenario-probability { color: var(--negative); }

.scenario-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.scenario-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.scenario-optimiste .scenario-tag {
    background: rgba(46, 204, 113, 0.15);
    color: var(--positive);
}
.scenario-central .scenario-tag {
    background: rgba(59, 104, 173, 0.15);
    color: var(--blue-accent);
}
.scenario-pessimiste .scenario-tag {
    background: rgba(231, 76, 60, 0.15);
    color: var(--negative);
}

.scenario-body {
    padding: 1.5rem 2rem;
}

.scenario-narrative {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.scenario-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.metric-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
}

.metric-value.positive { color: var(--positive); }
.metric-value.neutral { color: var(--blue-accent); }
.metric-value.negative { color: var(--negative); }

.scenario-action {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.scenario-action strong {
    color: var(--gold);
}

/* --- Recommandations Timeline --- */
.recommendations-timeline {
    position: relative;
    padding-left: 3rem;
}

.recommendations-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(212, 175, 55, 0.2));
}

.reco-item {
    position: relative;
    margin-bottom: 3rem;
}

.reco-timeline-dot {
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid;
    background: var(--dark-secondary);
}

.priority-critical .reco-timeline-dot { border-color: var(--negative); }
.priority-high .reco-timeline-dot { border-color: var(--gold); }
.priority-medium .reco-timeline-dot { border-color: var(--blue-accent); }

.reco-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.reco-content:hover {
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.reco-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reco-priority {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.priority-critical .reco-priority {
    background: rgba(231, 76, 60, 0.15);
    color: var(--negative);
}
.priority-high .reco-priority {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}
.priority-medium .reco-priority {
    background: rgba(59, 104, 173, 0.15);
    color: var(--blue-accent);
}

.reco-horizon {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reco-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.reco-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.reco-impact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reco-impact span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reco-impact i {
    color: var(--gold);
}

/* --- Dashboard KPIs --- */
.kpi-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    transition: var(--transition);
}

.dashboard-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.dashboard-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: var(--gold);
}

.dashboard-card h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.dashboard-gauge {
    margin-bottom: 0.75rem;
}

.gauge-value {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.gauge-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

.gauge-fill.green { background: linear-gradient(90deg, #2ecc71, #27ae60); }
.gauge-fill.red { background: linear-gradient(90deg, #e74c3c, #c0392b); }
.gauge-fill.gold { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.dashboard-target {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.dashboard-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.status-good {
    background: rgba(46, 204, 113, 0.15);
    color: var(--positive);
}
.status-warning {
    background: rgba(243, 156, 18, 0.15);
    color: var(--warning);
}
.status-neutral {
    background: rgba(149, 165, 166, 0.15);
    color: var(--neutral);
}

/* --- Roadmap --- */
.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.roadmap-phase {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.roadmap-phase:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
}

.phase-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(212, 175, 55, 0.03);
}

.phase-number {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.phase-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.phase-timeline {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.phase-actions {
    list-style: none;
    padding: 1.5rem 2rem;
}

.phase-actions li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.phase-actions li:last-child {
    margin-bottom: 0;
}

.phase-actions i {
    color: var(--gold);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* --- Sources --- */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.source-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 1.75rem;
}

.source-category h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.source-category ul {
    list-style: none;
}

.source-category li {
    margin-bottom: 0.75rem;
}

.source-category a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.5;
    transition: var(--transition);
    display: inline-block;
}

.source-category a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

/* --- Podcast Player Premium Compact (Hero) --- */
.hero-podcast-player {
    max-width: 420px;
    margin: 2rem auto 0 auto;
    text-align: center;
}

/* Trigger button — dark luxury pill */
.podcast-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(212, 175, 55, 0.22);
    border-radius: 50px;
    padding: 0.55rem 1.1rem;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
    text-align: left;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.podcast-trigger:hover {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.06);
    color: var(--text-primary);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.08);
}

.podcast-trigger[aria-expanded="true"] {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-primary);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.12), inset 0 1px 0 rgba(255,255,255,0.06);
    border-radius: 24px 24px 4px 4px;
}

/* Icon + wave animation */
.podcast-trigger-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    color: var(--dark-primary);
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.podcast-trigger-wave {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    animation: podcast-ring-pulse 2.4s ease-in-out infinite;
}

@keyframes podcast-ring-pulse {
    0%, 100% { border-color: rgba(212, 175, 55, 0.0); transform: scale(1); }
    50%      { border-color: rgba(212, 175, 55, 0.3); transform: scale(1.12); }
}

/* Text block */
.podcast-trigger-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.podcast-trigger-text strong {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.podcast-trigger-meta {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* Chevron */
.podcast-trigger-chevron {
    color: var(--gold);
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.podcast-trigger[aria-expanded="true"] .podcast-trigger-chevron {
    transform: rotate(180deg);
}

/* Panel — closed by default, open via sibling selector */
.podcast-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(10, 10, 10, 0.92);
    border: 1.5px solid rgba(212, 175, 55, 0.15);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 0 1.1rem;
    margin-top: -1px;
    transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.podcast-trigger[aria-expanded="true"] + .podcast-panel {
    max-height: 180px;
    opacity: 1;
    padding: 1rem 1.1rem;
}

/* Audio element */
.podcast-audio {
    width: 100%;
    max-width: 100%;
    height: 38px;
    border-radius: 8px;
    filter: invert(0.88) hue-rotate(10deg) brightness(0.95);
}

/* Download link */
.podcast-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: var(--transition);
}

.podcast-download:hover {
    color: var(--gold-light);
    text-decoration: underline;
}


/* --- Footer restructuré --- */
#footer {
    background: var(--dark-primary);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 3rem;
}

/* Bloc Bekorp gauche */
.footer-bekorp-block {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-bekorp-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-bekorp-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.footer-bekorp-slogan {
    font-size: 0.75rem;
    color: var(--gold);
    font-style: italic;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.footer-bekorp-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-bekorp-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bekorp-links i {
    width: 12px;
    color: var(--gold);
    opacity: 0.7;
    font-size: 0.7rem;
}

/* Bloc central */
.footer-center-block {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
}

.footer-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-confidential {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--negative);
    font-weight: 500;
}

/* Disclaimer droit */
.footer-disclaimer {
    max-width: 280px;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-disclaimer p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-bekorp-block {
        justify-content: center;
    }

    .footer-bekorp-links {
        align-items: center;
    }

    .footer-disclaimer {
        max-width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 1.5rem;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

    .scenarios-container {
        grid-template-columns: 1fr;
    }

    .forces-grid {
        grid-template-columns: 1fr;
    }

    .geo-grid {
        grid-template-columns: 1fr;
    }

    .roadmap {
        grid-template-columns: 1fr;
    }

    .hero-podcast-player {
        max-width: 100%;
    }

    .podcast-trigger {
        max-width: 100%;
        padding: 0.5rem 0.85rem;
    }

    .podcast-trigger-text strong {
        font-size: 0.75rem;
    }

    .podcast-trigger-meta {
        font-size: 0.65rem;
    }

    .recommendations-timeline {
        padding-left: 2rem;
    }

    .recommendations-timeline::before {
        left: 8px;
    }

    .reco-timeline-dot {
        left: -2rem;
        width: 18px;
        height: 18px;
    }

    .decision-box {
        padding: 2rem 1.5rem;
    }

    .kpi-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-kpis {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }

    .nav-brand .brand-subtitle {
        display: none;
    }
}
