/* ===========================================================
   🎨 STYLE GLOBAL MODERNE - ENDE 2026 Paris-Saclay
   =========================================================== */

/* --- Fond global du site --- */
body, #container, .page {
  background: url('/data/css/paris_saclay.png') no-repeat center top fixed !important;
  background-size: cover !important;
  background-color: transparent !important;
  color: #111 !important;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  line-height: 1.6em;
}

/* --- Transparence totale du template --- */
#template_header,
#template_external,
#header-wrapper,
.page-header,
.template_backgroundcolor {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* --- Texte global --- */
h1, h2, h3, h4, h5, h6,
p, li, td, th, span, div {
  color: #111 !important; /* noir lisible */
}

/* --- Liens --- */
a {
  color: #003366 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #0066cc !important;
  text-decoration: underline;
}

/* --- Menus principaux --- */
.menu_niveau_1 a,
.menu_niveau_2 a,
nav a {
  color: #003366 !important; /* bleu foncé */
  font-weight: 600;
  text-decoration: none !important;
  background: transparent !important;
  border-radius: 6px;
  padding: 6px 10px;
}

.menu_niveau_1 a:hover,
.menu_niveau_2 a:hover {
  background-color: rgba(173, 216, 230, 0.4) !important; /* survol bleu clair */
  color: #000 !important;
}

.menu_niveau_1_on,
.menu_niveau_2_on {
  background-color: rgba(173, 216, 230, 0.9) !important;
  color: #000 !important;
  border-radius: 6px;
}

/* --- Titres des pages --- */
.titre, .titre a {
  color: #003366 !important;
  font-weight: 700;
}

/* --- Tableaux et encadrés --- */
table, th, td {
  border-color: rgba(0, 0, 0, 0.1) !important;
}
th {
  background-color: rgba(173, 216, 230, 0.2) !important;
  color: #003366 !important;
}

/* --- Pied de page (si accessible) --- */
#template_footer {
  background: rgba(255, 255, 255, 0.7);
  color: #003366 !important;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* --- Bannière (si tu veux garder celle d'avant) --- */
.ende-banner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding: 25px 25px;
  margin: 25px auto;
  width: fit-content;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ende-logo {
  height: 160px;
  width: auto;
}

.ende-text h1 {
  font-size: 1.9em;
  font-weight: 700;
  color: #003366 !important;
  margin: 0;
}

.ende-text p {
  font-size: 1.2em;
  color: #003366 !important;
  margin-top: 10px;
}

/* --- Mode sombre (optionnel) --- */
body.dark-mode {
  background: #111 !important;
  color: #eee !important;
}
body.dark-mode a {
  color: #ADD8E6 !important;
}
body.dark-mode .menu_niveau_1 a,
body.dark-mode .menu_niveau_2 a {
  color: #ADD8E6 !important;
}
body.dark-mode .menu_niveau_1_on,
body.dark-mode .menu_niveau_2_on {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.site-header {
  background: linear-gradient(135deg, #0078d7, #00a0e3);
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: radial-gradient(circle at center, #009fe3 0%, #004aad 80%);
  padding: 1rem 2rem;
  border-radius: 40px;
}

.header-logo {
  height: 120px;
  width: auto;
  background: white;
  border-radius: 16px;
  padding: 6px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-bubble {
  background: rgba(255, 255, 255, 0.9);
  color: #0057b8;
  border-radius: 50px;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-bubble h1 {
  margin: 0;
  color: #0057b8 !important;
  font-size: 1.8rem;
  font-weight: 700;
}

.header-bubble p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.85;
}

.header-separator {
  border: none;               /* supprime le style par défaut */
  height: 5px;                /* épaisseur de la ligne */
  width: 100%;                 /* longueur de la ligne */
  background-color: #0066cc;  /* couleur de la barre */
  margin: 0.6rem auto;        /* espace autour + centrage */
  border-radius: 2px;         /* bords arrondis pour un style doux */
  opacity: 0.8;               /* légère transparence */
}

#main-menu li a, 
.navbar-nav li a {
  color: #004aad !important;        /* bleu de la bannière */
  text-decoration: none;            /* enlève soulignement */
  font-weight: 500;                 /* optionnel : medium */
}

/* Au survol */
#main-menu li a:hover,
.navbar-nav li a:hover {
  color: #00a0e3 !important;        /* bleu clair au survol */
  transition: color 0.3s ease;
}

/* Menu actif (page courante) */
#main-menu li.current a,
.navbar-nav li.current a {
  color: #002f6c !important;        /* bleu plus foncé pour l’élément actif */
}

.logo {
  height: 150px;   /* ajuste la hauteur selon ton image */
  width: auto;    /* conserve le ratio de l’image */
}