

@font-face {
  font-family: 'RJHexa';
  src: url('../assets/fonts/RJHexa-Regular.woff2') format('woff2'),
       url('../assets/fonts/RJHexa-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
body {
	margin: 0px;
	background-color: #e0e2ea;
	font-family: 'RJHexa', Arial, sans-serif;
}
body p {
	color: #000000;
	background-position: 0 0;
	text-align: justify;
}


html {
	box-sizing: border-box;
	margin:0 ;
	padding: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}






















/* HEADER + GRILLE */
header {
  width: 100%;
  color: black;
  position: sticky;
	top: 0;                 /* colle en haut */
	z-index: 1000;          /* passe au-dessus du contenu*/
	background: #e0e2ea;       /* indispensable pour éviter la transparence*/
	border-bottom: 0.15em solid #4c5998;
}

.header-grid {
  display: grid;
  grid-template-columns:
    minmax(18%, 18%)   /* marge gauche fixe 20% */
    auto               /* logo */
    minmax(10%, 1fr)   /* espace central */
    auto               /* nav */
    minmax(18%, 18%);  /* marge droite fixe 20% */
  align-items: center;
  width: 100%;
}


.logo { 
	grid-column: 2; 
	font-size: 1.2rem; 
	background: #e0e2ea;
	margin: 0;
	color: #000000;
	white-space: nowrap; /* ⬅ empêche le retour à la ligne */
	}
	
.espace { grid-column: 3; }

.site-nav { 
  grid-column: 4; 
  position: static;       /* IMPORTANT */
  width: auto; 
  background: transparent;
}

/* MENU HORIZONTAL */
.menu {
  display: flex;           /* items sur une ligne */
  gap: 0.5em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;      /* pour les sous-menus */

}

.menu a {
  text-decoration: none;
  color: #000;
  display: block;
  white-space: nowrap;     /* empêche retour à la ligne */
  padding: 10px 5px;
}

.menu a:hover {
  background: black;
  color: white;
}

/* SOUS-MENU */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  background: #fff;
  min-width: max-content;
  list-style: none;
  padding: 0;
}

.has-submenu:hover .submenu {
  display: flex;
}

.submenu a {
  padding: 10px 15px;
  white-space: nowrap;
}






















/* ---------------- ARTICLES ---------------- */

.articles-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 0 18%;
}

.livre {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 1em;
}

.livre img {
  width: 100%;
  display: block;
}

.livre h2 {
  margin-top: 0.6rem;
}

.livre p {
  margin: 0;
}

article a,
article a:visited,
article a:hover,
article a:active {
  text-decoration: none;
  color: inherit;
}

/* ---------------- BLOCS ---------------- */

.section_editeur {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 100px 18%;
}

.bloc_description {
  text-align: left;
}

.bloc_info {
  display: flex;
  justify-content: center;   /* centre horizontalement le .inner */
}

..bloc_info .inner {
  text-align: left;          /* texte aligné à gauche */
  max-width:;          /* optionnel : limite la largeur */
}


}

/* ---------------- FOOTER ---------------- */



.site-footer {
  width: 100%;
  background: #e0e2ea;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  gap: 30px;
  padding-left: 5%;
  align-items: center;
  flex-wrap: wrap;
}

.footer-content span {
  display: inline-block;
}

/* ---------------- DIVERS ---------------- */

.construction {
  font-size: 5rem;
  text-align: center;
}