/* ===========================================
   CSS minimal Musicologie
   =========================================== */
   
 @import url("../../font/font.css");
body {
	
background-color: white;
max-width:840px;
width:90%;
margin-left:auto;
margin-right:auto;
text-align:center;
font-family: "Merriweather sans", Arial, Roboto, sans-serif;
 font-weight: 400;
  font-size: 1rem;
  line-height: 1.8rem;

}


/*  1. === liens === */

a {
    color: #8D4024;
    text-decoration: none;
}

a:focus {
    outline: 2px solid #8D4024;
    outline-offset: 2px;
}

/*  1. === titrage === */

h1, h2, h3, h4 {
  font-family:  'Merriweather serif', Georgia, serif;
  color: darkslategrey;
  font-weight: 300;
  text-align: left;
  hyphens: auto;
}

h1 {
text-align: left;
font-size: 2.5rem;
line-height: 120%;
color:#938e8d;
margin-bottom:35px;
font-weight: 700;
}
		
h2 {
font-size: 35pt;
text-align: left;
line-height: 90%;
color:#938e8d;
}

h3 {
font-size: 18pt;
line-height: 20pt;
color:#938e8d;
}

h4 {
font-size: 16pt;
font-style: italic;
text-align: left;
line-height: 90%;
}

/*  3. === menu haut === */

{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.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;
}

.dropdown-content {
  display: none;
  opacity: 0;
  transform: translatey(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-content.show {
  display: block;
  opacity: 1;
  transform: translatey(0);
}
/* 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;
  }
}


/*  5. === traitement du texte === */

.lettrine {
font-family: alegreya;
font-weight: 700;
font-size: 80pt;
line-height: 70pt;  
float: left;
margin-right: 5px;
color: #938e8d;;
}

.italique {
  font-family: 'Merriweather regular', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
}

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

.cap_ital {
font-family: 'Merriweather regular', Georgia, serif;
font-variant: small-caps;
font-style: italic;
}

.droite {
  width: 100%;
  font-weight: bold;
  text-align: right;
  line-height: 1.2rem;
  text-align-last: right;
}

@media (max-width:480px) {
  .droite {
    text-align: left;
    text-align-last: left;
  }
}


.retrait {margin-left: 5%} 


/* Partage Remplace  soutenir */

.partage {
  float: right;
  width: 210px;
  text-align: center;
  margin-left: 20px;
}

.btn-partage {
  width: 100%;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #0070ba, #003087);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-partage:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.btn-partage:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

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


/* soutenir ANCIEN */
.soutenir {
display:block;
float:right;
width:210px;
text-align:center;
border-radius: 10px;
margin-left:20px;
}

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


/*  5. === bloc et traitement contenu === */

#bloc570 {
max-width:570px;
width: 90%;
height: auto;
margin-left: auto;
margin-right: auto;
font-size: 1.rem;
text-align: justify;
text-align-last: left; 
line-height: 1.9rem;
text-align-last: left; /* laisse les signatures et .droite fonctionner */
hyphens: auto;
}


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

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

.responsive {
  width: 100%;
  height: auto;
}


.legende_570 {
display: block;
width:100%;
max-width:556px;
border-width:2px;
padding: 5px;
border-color:dimgray;
border-style: hidden hidden solid hidden; 
margin-left: auto;
margin-right: auto;
text-align:justify;
text-align-last: left;
font-family: arial;
font-size:12pt;
line-height: 120%;
}
	

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



/* 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;
}


/* Bouton bleu */
.btn-bleu {
    display: inline-block;
    padding: 5px 10px;
    background-color: #0070ba; /* bleu PayPal */
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn_bleu:hover {
    background-color: #005fa3;
    transform: translateY(-2px);
}

.btn-bleu:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive : boutons plus petits sur mobile */
@media (max-width: 480px) {
    .btn-bleu {
        padding: 10px 18px;
        font-size: 14px;
    }
}


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

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

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


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