/* finlvc-france.click — Portail épargne & retraite
   Palette: #2d4a6e (bleu ardoise), #5a8a6a (vert sauge), #f0f4f8 (gris bleuté)
   Layout: card-grid | Nav: breadcrumb-trail | Structure: timeline-core | SVG: flat-icon */
:root {
  --primary: #2d4a6e;
  --primary-light: #3d5a7e;
  --accent: #5a8a6a;
  --accent-light: #7aaa8a;
  --text-dark: #1a2030;
  --text-muted: #5a6a7a;
  --bg-light: #f0f4f8;
  --bg-white: #ffffff;
  --border: #d0dce8;
  --positive: #1b5e20;
  --negative: #b71c1c;
  --warning: #e65100;
}
body { font-family: 'Segoe UI', system-ui, -apple-system, 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: -.5px; }
.navbar-brand span { color: var(--accent-light); }
.nav-link { color: rgba(255,255,255,.85) !important; font-size: .95rem; }
.nav-link:hover, .nav-link.active { color: var(--accent-light) !important; }
.hero-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1a3050 100%); color: #fff; padding: 4.5rem 0 3.5rem; }
.hero-section h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.15; }
.section-title { font-size: 1.7rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--accent); margin-top: .3rem; }
/* Card grid */
.card { border: none; border-radius: 12px; background: var(--bg-white); box-shadow: 0 2px 12px rgba(45,74,110,.08); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(45,74,110,.14); }
.card-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card-icon.primary { background: rgba(45,74,110,.1); }
.card-icon.accent { background: rgba(90,138,106,.1); }
/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: .5rem; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -1.6rem; top: .3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); border: 2px solid var(--bg-white); box-shadow: 0 0 0 2px var(--primary); }
.timeline-item.accent::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
/* Table */
.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: .65rem 1rem; border: 1px solid var(--border); }
.table-custom .pos { color: var(--positive); font-weight: 600; }
.table-custom .neg { color: var(--negative); font-weight: 600; }
.table-custom .warn { color: var(--warning); font-weight: 600; }
.alert-info-custom { background: #e8f0f8; border-left: 4px solid var(--primary); color: var(--text-dark); border-radius: 4px; padding: 1rem 1.25rem; }
.alert-warn-custom { background: #fff3e0; border-left: 4px solid var(--warning); color: var(--text-dark); border-radius: 4px; padding: 1rem 1.25rem; }
.checklist li { padding: .4rem 0; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.related-block { background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; 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); }
.breadcrumb-custom { background: none; padding: .5rem 0; font-size: .9rem; }
.breadcrumb-item a { color: rgba(255,255,255,.8); }
.stat-card { background: var(--bg-white); border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(45,74,110,.08); text-align: center; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card .stat-label { color: var(--text-muted); font-size: .85rem; }
footer { background: var(--primary); color: rgba(255,255,255,.85); 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; }
@media (max-width: 768px) { .hero-section h1 { font-size: 1.8rem; } .section-title { font-size: 1.3rem; } }
