/* ===============================
   STYLE GLOBAL DU SITE
   =============================== */

body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  color: rgb(58, 8, 133);
}

/* Conteneur global */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ===============================
   HEADER / NAVBAR (INTOUCHABLE)
   =============================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-weight: 600;
  font-size: 1.3rem;
  color: rgb(58, 8, 133);
  text-decoration: none;
}

.main-nav a {
  color: rgb(58, 8, 133);
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: 500;
}

.main-nav a:hover {
  text-decoration: underline;
}

.main-nav .active {
  border-bottom: 2px solid rgb(58, 8, 133);
  padding-bottom: 4px;
}

.main-nav .cta {
  background: rgb(58, 8, 133);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
}

.main-nav .cta:hover {
  opacity: 0.9;
}

/* ===============================
   VEILLE TECHNOLOGIQUE (ISOLÉE)
   =============================== */

.veille {
  background: linear-gradient(120deg, #f5f7fa, #e4ebf5);
  color: rgb(58, 8, 133);
}

/* Header spécifique à la veille */
.veille-header {
  background:rgb(58, 8, 133);
  color: white;
  padding: 2.5rem 1rem;
  text-align: center;
}

.veille-header h1 {
  margin: 0;
  font-size: 2.5rem;
}

.veille-header p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.85;
}

/* Contenu principal */
.veille main {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* Grille d’articles */
.veille .articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Cartes */
.veille .card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.veille .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.veille .card h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #1e293b;
}

.veille .meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.8rem;
}

.veille .card p {
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Bouton lien */
.veille .card a {
  display: inline-block;
  margin-top: 1.2rem;
  text-decoration: none;
  color: white;
  background: #2563eb;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.veille .card a:hover {
  background: #1d4ed8;
}

/* ===============================
   FOOTER
   =============================== */


