@charset "utf-8";
/* ===========================================
   20_fusion.css — version nettoyée et modernisée
   =========================================== */

/* === 1. Polices et paramètres de base === */
@font-face {
  font-family: "alegreya";
  src: url(../font/alegreya.ttf);
}

html {
  background-color: #f9f9f9;
  -webkit-text-size-adjust: 100%;
}

body {
  max-width: 840px;
  width: 90%;
  margin: 0 auto;
  background-color: #fff;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13pt;
  line-height: 1.6;
  color: #222;
  text-align: center;
}

/* === 2. Liens === */
a {
  color: #8d4024;
  text-decoration: none;
}

a:hover {
  color: mediumvioletred;
}

a:visited {
  color: #8d4024;
}

/* === 3. Titres === */
h1, h2, h3 {
  font-family: alegreya, serif;
  color: darkslategrey;
  font-weight: 400;
  text-align: left;
  hyphens: auto;
}

h1 {
  font-size: 36pt;
  line-height: 40pt;
}

h2 {
  font-size: 24pt;
  line-height: 30pt;
}

h3 {
  font-size: 18pt;
  line-height: 30pt;
}

/* Mobile : titres plus petits */
@media screen and (max-width: 450px) {
  h1 {
    font-size: 18pt;
    line-height: 22pt;
  }
}

/* === 4. Texte et mise en forme === */
.lettrine {
  font-family: alegreya, serif;
  font-size: 80pt;
  font-weight: 400;
  color: darkslategrey;
  float: left;
  line-height: 70pt;
  margin-right: 20px;
}

.italique {
  font-family: Times;
  font-style: italic;
  font-size: 15pt;
}

.cap {
  font-variant: small-caps;
}

.cap_ital {
  font-family: Times;
  font-variant: small-caps;
  font-style: italic;
}

.retrait {
  margin-left: 30px;
}

.centre {
  display: flex;
  justify-content: center;
  text-align: center;
}

.centre_multilignes {
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 5pt;
}

.droite {
  display: flex;
  justify-content: right;
  text-align: right;
  line-height: 12pt;
}

@media (max-width: 480px) {
  .droite {
    justify-content: left;
    text-align: left;
    line-height: 10pt;
  }
}

/*  5. === MENU HAUT === */
.menu_haut {
  background: #f1f1f1;
  border-radius: 4px;
  padding: 0;
  margin: 10px auto;
  max-width: 840px;
  font-size: 1rem;
}

/* Bouton mobile */
.menu-toggle {
  display: none;
  background: #004080;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  border-radius: 4px;
}

/* Liste principale */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.menu-list li {
  position: relative;
}

/* Boutons principaux */
.dropbtn {
  padding: 8px 12px;
  cursor: pointer;
  color: #004080;
  text-decoration: none;
  display: inline-block;
}

.dropbtn:hover {
  background: #004080;
  color: #fff;
  border-radius: 3px;
}

/* Sous-menus */
.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1000;
}

.dropdown-content li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background: #004080;
  color: white;
}

.dropdown-content.show {
  display: block;
}

/* === Responsive === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-list {
    display: none;
    flex-direction: column;
    background: #f1f1f1;
    border-radius: 4px;
    margin-top: 5px;
    padding: 10px;
  }

  .menu-list.active {
    display: flex;
  }

  .dropdown-content {
    position: relative;
    box-shadow: none;
    background: #e9e9e9;
    border-radius: 4px;
  }

  .dropdown-content li a {
    padding-left: 20px;
  }
}


/* === 6. Blocs de contenu === */
#bloc570 {
  margin-top: 1%;
  max-width: 570px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3px;
  font-family: Arial, sans-serif;
  font-size: 14pt;
  text-align: justify;
  text-align-last: left;
  line-height: 150%;
  hyphens: auto;
}

/* Signature auteur */
.signature {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.9em;
  flex-wrap: wrap;
}

.signature img {
  flex-shrink: 0;
  max-width: 150px;
  height: auto;
}

/* Version mobile : image au-dessus du texte */
@media (max-width: 480px) {
  .signature {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* Bloc annonces/dons */
.partage {
  float: right;
  width: 210px;
  text-align: center;
  background-color: #f2f3f4;
  border-radius: 10px;
  margin-left: 20px;
}

@media screen and (max-width: 450px) {
  .partage {
    float: none;
    margin: 10px auto;
  }
}

/* === 7. Images et médias === */
img.responsive {
  width: 100%;
  height: auto;
  display: block;
}

.imagegauche {
  float: left;
  margin-right: 10px;
  display: block;
}

.imagecentre, {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  max-width: 566px;
  width: 100%;
}

.responsive_cadre {
  border: 2px outset darkgray;
}

.imagecentre_legende {
  border-bottom: 2px outset darkgray;
  padding: 5px;
  display: block;
  margin: auto;
  max-width: 556px;
  font-size: 10pt;
  line-height: 100%;
}



/* Section Publicités — 2 colonnes fixes, proportions conservées */

.publicites {
  text-align: center;
  line-height: 0; /* évite les petits espaces blancs entre images */
}


.vignettes {
  width: 49%;
  height: auto;
  display: inline-block;
  vertical-align: top;
}

.cul {
  display: block;
  width: 33%;
  height: auto;
  margin: 1rem auto;
}

.zoom {
  transition: transform 0.2s;
  width: 566px;
  height: auto;
  margin: 0 auto;
}

.zoom:hover {
  transform: scale(1.5);
}

/* === 8. Colonnes et MP3 === */
.bloc_2col {
  column-count: 2;
  column-width: 50%;
  text-align: justify;
}


/* === 9. Éléments généraux === */
hr {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid #ccc;
}

/* === 10. Pied de page === */
footer {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 2rem;
}

