body {
  margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* HEADER */
.hero {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.header-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;    /* alignement en haut */
    justify-content: space-between;
    padding: 20px 50px;
}

.header-logo {
    display: flex;
    align-items: flex-start;
}

.header-search {
    display: flex;
    align-items: flex-start;
}

.logo {
  height: 60px;
  margin-left: 0;
  display: block;
  vertical-align: middle;
}

.logo-rubrique {
  width: 80%;
  display: block;
  margin-top: 0px;
  margin-left: 10px
}

.hero input {
  padding: 10px;
  width: 260px;
}

/* =========================
   BLOC RECHERCHE
========================= */
.search-box {
    width: 500px;
    height: 60px;
    background-color: white;
    display: flex;
    align-items: center;
}

/* ICÔNE LOUPE */
.search-icon {
    width: 30px;
    height: 30px;
    margin-left: 20px;
    margin-right: 15px;
}

/* CHAMP TEXTE */
.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 18px;
}

.search-container {
    display: flex;
    flex-direction: column; /* empile verticalement */
    align-items: flex-end;  /* aligné à droite du header */
    gap: 8px;
	justify-content: center;
}

.search-label {
    font-size: 14px;
    font-weight: bold;
}

/* CONTENEUR */
.container {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 20px;
}


/* INTRO */
.intro {
  width: 300px;
  margin-bottom: 40px;             /* prend 2 parts de l’espace disponible */
  border: 10px solid #000000;
  background: rgba(255, 255, 255, 0.70);
  position: sticky;
}

.intro-text {
  max-width: 100%;
  padding: 20px;
  flex: 2;
  text-align: right;
	}

.intro-titre {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 35px;
  font-weight: bold;
  color: #b60400;
}

.intro-chapo {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

.legende {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  margin-top: 5px;
  line-height: 1.3;
}

.boucle-droite {
    text-align: right;
}

/* SIDEBAR */
.sidebar {
  width: 700px;
  border: 10px solid #000000;
  margin-left: -40px;
  background: white;
  position: sticky;
  padding: 10px;

}

.sidebar-block img {
  max-width: 100%;
  margin-bottom: 15px;
}

.sidebar-block a {
  display: block;
  margin: 5px 0;
  text-decoration: none;
  color: black;
}


/* SIDEBAR G */
.sidebarG {
  width: 350px;
  display: flex;            /* ← indispensable */
  flex-direction: column;   /* empile verticalement */
  gap: 20px;                /* espace entre bloc1/2/3 */
  margin-left: 0px; /* espace entre texte de sidebaG */
  position: sticky;
  padding: 10px;
}

.sidebarG-block img {
  max-width: 100%;
  margin-bottom: 15px;
}

.sidebarG-block a {
  display: block;
  margin: 5px 0;
  text-decoration: none;
  color: black;
}



/* CONTENU */
.content {
  display: grid;
  grid-template-columns: 1fr 2fr 3fr;
  gap: 0px;
  align-items: start; /* IMPORTANT */
  margin-top: 350px;
}

.images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.images img {
  width: 100%;
  height: auto;
  border: 5px solid #00000 ; /* si tu veux le style bloc */
  box-sizing: border-box;
}
/* Bloc text */
.text {
  width: 650px;
  background: white;
  height: fit-content;
  padding: 15px;
  box-sizing: border-box;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}


.bloc-positionne {
    position: relative; /* référence pour le positionnement */
}

/* CONTENEUR PRINCIPAL */


.page-wrapper {
    max-width: 1200px;   /* largeur totale du contenu */
    margin: 0 auto;       /* centre horizontalement */
    padding: 0 20px;      /* espace sur les côtés */
}

/* SECTION CONTENU PRINCIPAL */
section.content {
    flex: 1; /* prend tout l'espace restant */
}

/* BLOC INDIVIDUEL DANS SIDEBARG */

.classement-orgas summary {
    cursor: pointer;
    font-weight: bold;
	font-size: 14px;
}

.liste-orgas {
    margin: 10px 0 0 20px;
    padding: 0;
}

.liste-orgas li {
	font-size: 14px;
    list-style: none;
    margin-bottom: 6px;
}
.classement-alpha summary {
    cursor: pointer;
	font-size: 14px;
    font-weight: bold;
}

.alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin-top: 10px;
}

.alphabet li {
    list-style: none;
}

.alphabet a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    border: 2px solid #000;
    background: rgba(255,255,255,0.7);
    transition: all 0.2s ease;
}

.alphabet a:hover {
    background: #ff8b02;
    color: #000;
}
.alphabet a.actif {
    background: #000;
    color: #fff;
}

.liste-orgas a:link {
    color: #000000;
    text-decoration: none;
}

.liste-orgas a:visited {
    color: #676767;
}

.liste-orgas a:hover {
    color: #000000;
    text-decoration: none;
    background: #ff8b02;
}

.liste-orgas a:active {
    color: #000000;
}

.alphabet a:link {
    color: #000000;
    text-decoration: none;
}

.alphabet a:visited {
    color: #676767;
}

.alphabet a:hover {
  text-decoration: none;
  background: #ff8b02;
}

.alphabet a:active {
    color: #000000;
}
/* bloc notices */
.bloc1 {
    width: 100%;
	background: rgba(255, 255, 255, 0.70);
    border: 10px solid #000000;
    padding-top: 10px;
	padding-left: 20px;
	padding-bottom: 10px;
    box-sizing: border-box;
}
/* bloc necro */
.bloc2 {
	width: 100%;    
	background: rgba(255, 255, 255, 0.70);
    border: 10px solid #000000;
	height: fit-content;
    padding-top: 10px;
	padding-left: 20px;
	padding-bottom: 10px;
    box-sizing: border-box;
}
/* bloc infos */
.bloc3 {
    width: 100%;
    background: rgba(255, 255, 255, 0.70);
    border: 10px solid #000000;
    padding-top: 10px;
	padding-left: 20px;
	padding-bottom: 10px;
    box-sizing: border-box;
    height: fit-content;
}
.texterubriq a:link {
    color: #000000;
    text-decoration: none;
}

.texterubriq a:visited {
    color: #676767;
}

.texterubriq a:hover {
  text-decoration: none;
  background: #ff8b02;
}

.texterubriq a:active {
    color: #000000;
	
}
.texterubriq {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 16px;
  color: #000000;
  letter-spacing: 0.2px;
}
.filtre-lettre {
    font-size: 14px;
    margin-bottom: 10px;
	display: flex;
    justify-content: center;
    margin: 20px 0;
}

.lettre-active {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-weight: bold;
    border: 2px solid #fff;
    background: #b60400;
    color: #fff;
    margin-left: 8px;
    justify-content: center;
    align-items: flex-start;
}