@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Fira+Code&family=Roboto:wght@400;700&display=swap');

:root {
  --main-color: #00447c;
  --rtbf-blue: #00447c;
  --rtbf-red: #00447c;
  --rtbf-dark-bg: #00447c;
  --rtbf-yellow: #ffffff;
  --serif-font: 'EB Garamond', Garamond, serif;
  --sans-font: 'Roboto', sans-serif;
  --mono-font: 'Fira Code', monospace;
}

* {
  border-radius: 0 !important;
}

body {
  font-family: var(--serif-font);
  color: #333;
  line-height: 1.6;
  background-color: #fcfcfc;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans-font);
  color: var(--main-color);
  font-weight: 700;
}

/* --- LE HEADER CORRIGÉ (PLUS DE 50% D'OCCUPATION) --- */
header {
  background-color: white;
  position: relative; /* CHANGEMENT ICI : le menu ne suit plus le scroll */
  z-index: 1020;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-family: var(--sans-font);
  font-weight: bold;
  color: var(--rtbf-blue) !important;
  font-size: 1.5rem; /* Légèrement plus petit pour gagner de la place */
}

/* Barre de recherche et catégories Yahoo Style */
nav.bg-light {
  padding: 0.2rem 0; /* Plus fin */
}

nav.bg-light .nav-link {
  color: #444 !important;
  font-family: var(--mono-font);
  font-size: 0.85rem; /* Un peu plus petit */
  transition: color 0.2s;
}

nav.bg-light .nav-link:hover {
  color: var(--rtbf-blue) !important;
  text-decoration: underline;
}

/* Barre de recherche compacte */
header form input {
  font-family: var(--sans-font);
  font-size: 0.9rem;
  height: 35px; /* On limite la hauteur */
}

/* --- BARRE BLEUE --- */
.blue-bar {
  background-color: var(--rtbf-blue);
  padding: 8px 0; /* Plus compact */
  display: flex;
  justify-content: center;
  gap: 15px;
}

.blue-bar a {
  color: white !important;
  text-decoration: none;
  font-family: var(--mono-font);
  font-size: 0.9rem;
  padding: 5px 10px;
}

/* --- LE RESTE DU CODE (SANS CHANGEMENT) --- */
.btn-subscribe {
  background-color: var(--rtbf-red);
  color: white !important;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--sans-font);
  border: none;
  display: inline-block;
  font-weight: bold;
}

.card {
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.article-meta {
  color: #777;
  font-size: 0.85rem;
  font-family: var(--sans-font);
  margin-bottom: 0.8rem;
}
/* --- FOOTER MODERNE & ESTHÉTIQUE --- */
footer {
  background-color: #00335d; /* Un bleu un poil plus profond */
  color: #ffffff;
  padding: 4rem 2rem 2rem 2rem;
  margin-top: 5rem;
  border-top: 4px solid var(--rtbf-blue); /* Rappel discret de la couleur principale */
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-title {
  font-family: var(--sans-font);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px; /* Look plus "Premium" */
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.7); /* Texte légèrement grisé pour ne pas agresser l'œil */
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--sans-font);
  transition: all 0.3s ease;
}

.footer-list a:hover {
  color: #ffffff;
  padding-left: 5px; /* Petit effet de mouvement au survol */
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono-font);
}

.social-icons {
  margin-bottom: 1rem;
}

.social-icon svg {
  fill: rgba(255,255,255,0.8);
  margin: 0 10px;
  transition: transform 0.3s;
}

.social-icon:hover svg {
  fill: #ffffff;
  transform: translateY(-3px);
}