/* finlvc-france.xyz — Portail marchés financiers
   Palette: #0a1628 (bleu marine), #c9a84c (or), #1e3a5f (bleu moyen)
   Layout: dashboard-style | Nav: tabs | Structure: grid-matrix | SVG: line-chart */

:root {
  --primary: #0a1628;
  --primary-mid: #1e3a5f;
  --accent: #c9a84c;
  --accent-light: #e8c96a;
  --text-dark: #0a1628;
  --text-muted: #5a6a7a;
  --bg-light: #f4f6f9;
  --bg-white: #ffffff;
  --border: #d0dae6;
  --positive: #1b7a3e;
  --negative: #b71c1c;
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text-dark); background: var(--bg-light); }

.navbar { background: var(--primary) !important; }
.navbar-brand { font-weight: 800; font-size: 1.4rem; color: #fff !important; letter-spacing: -0.5px; }
.navbar-brand span { color: var(--accent); }
.nav-link { color: rgba(255,255,255,.8) !important; font-size: .9rem; }
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }

/* Tab nav */
.tab-nav { background: var(--primary-mid); }
.tab-nav .nav-link { color: rgba(255,255,255,.7) !important; border-radius: 0; border-bottom: 3px solid transparent; padding: .6rem 1.2rem; }
.tab-nav .nav-link.active { color: var(--accent) !important; border-bottom-color: var(--accent); background: transparent; }

.hero-section { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-mid) 100%); color: #fff; padding: 4rem 0 3rem; }
.hero-section h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; }

/* Dashboard cards */
.dash-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.dash-card .metric { font-size: 2rem; font-weight: 800; color: var(--primary); }
.dash-card .metric-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.dash-card .change-pos { color: var(--positive); font-weight: 600; }
.dash-card .change-neg { color: var(--negative); font-weight: 600; }

/* Grid matrix */
.matrix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }

.section-title { font-size: 1.7rem; font-weight: 800; color: var(--primary); border-bottom: 3px solid var(--accent); padding-bottom: .4rem; margin-bottom: 1.5rem; display: inline-block; }
.section-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; }

.table-custom thead { background: var(--primary); color: #fff; }
.table-custom tbody tr:nth-child(even) { background: var(--bg-light); }
.table-custom td, .table-custom th { padding: .6rem 1rem; border: 1px solid var(--border); }
.table-custom .pos { color: var(--positive); font-weight: 600; }
.table-custom .neg { color: var(--negative); font-weight: 600; }

.related-block { background: var(--bg-light); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.related-block h5 { color: var(--primary); font-weight: 700; margin-bottom: .75rem; }

.seq-nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-top: 2px solid var(--border); margin-top: 2rem; }
.seq-nav a { color: var(--primary); font-weight: 600; text-decoration: none; }
.seq-nav a:hover { color: var(--accent); }

.badge-accent { background: var(--accent); color: var(--primary); font-weight: 700; padding: .25rem .6rem; border-radius: 4px; font-size: .8rem; }

footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 3rem 0 1.5rem; }
footer a { color: var(--accent-light); text-decoration: none; }
footer a:hover { color: #fff; }
footer .footer-title { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; }

#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary); color: #fff; padding: 1rem 1.5rem; z-index: 9999; display: none; }

.checklist li { padding: .4rem 0; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✓ '; color: var(--positive); font-weight: 700; }

.alert-info-custom { background: #e8f0fe; border-left: 4px solid var(--primary-mid); color: var(--text-dark); border-radius: 4px; padding: 1rem 1.25rem; }
.breadcrumb-custom { background: none; padding: .5rem 0; font-size: .9rem; }
.breadcrumb-item a { color: rgba(255,255,255,.8); }

@media (max-width: 768px) {
  .hero-section h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.3rem; }
}
