/* finlvc-france.sbs — Portail d'actualités économiques régionales
   Palette: primaire #1b5e20 (vert forêt), accent #e65100 (orange brûlé)
   Layout: magazine | Nav: mega | Structure: fact-panels | SVG: flat-duotone */

:root {
  --primary: #1b5e20;
  --primary-light: #2e7d32;
  --accent: #e65100;
  --accent-light: #ff8a50;
  --text-dark: #1a1a1a;
  --text-muted: #5a6a5a;
  --bg-light: #f1f8f1;
  --bg-white: #ffffff;
  --border: #c8ddc8;
  --success: #1b5e20;
  --danger: #b71c1c;
}

body { font-family: Georgia, 'Times New Roman', serif; color: var(--text-dark); background: var(--bg-light); }

.navbar { background: var(--primary) !important; }
.navbar-brand { font-weight: 700; font-size: 1.4rem; color: #fff !important; }
.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) 100%); color: #fff; padding: 4rem 0 3rem; }
.hero-section h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; }

/* Fact panels */
.fact-panel { background: var(--bg-white); border-left: 5px solid var(--accent); border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.fact-panel h5 { color: var(--accent); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5rem; }

.card { border: 1px solid var(--border); border-radius: 8px; background: var(--bg-white); }
.card-header { background: var(--primary); color: #fff; font-weight: 600; border-radius: 8px 8px 0 0 !important; }

.section-title { font-size: 1.8rem; font-weight: 700; color: var(--primary); border-left: 4px solid var(--accent); padding-left: .75rem; margin-bottom: 1.5rem; }
.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: .65rem 1rem; border: 1px solid var(--border); }

.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; }

/* Sequential nav */
.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); }

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; }

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

.alert-info-custom { background: #e8f5e9; border-left: 4px solid var(--primary); 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.4rem; }
}
