/* 22/10/25 */

/* PAGE D'ACCUEIL */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: auto;
  src: url('../fonts/Fraunces-9pt-SuperSoft-Light.otf') format("opentype");
  src: url('../fonts/Fraunces-9pt-SuperSoft-Light.ttf') format("truetype");
  src: url('../fonts/Fraunces-9pt-SuperSoft-Light.woff') format("woff");
  src: url('../fonts/Fraunces-9pt-SuperSoft-Light.woff2') format("woff");
}

@font-face {
  font-family: 'Abordage';
  src: url('../fonts/Abordage-Regular.otf');
  src: url('../fonts/Abordage-Regular.woff') format('woff'),
      url('../fonts/Abordage-Regular.woff2') format('woff'),
      url('../fonts/Abordage-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Canarina';
  src: url('../fonts/Canarina-Regular.eot');
  src: url('../fonts/Canarina-Regular.woff') format('woff'),
    url('../fonts/Canarina-Regular.woff2') format('woff'),
    url('../fonts/Canarina-Regular.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Murmure';
  src: url('../fonts/LeMurmure-Regular.eot');
  src: url('../fonts/LeMurmure-Regular.woff') format('woff'),
    url('../fonts/LeMurmure-Regular.woff2') format('woff'),
    url('../fonts/le-murmure.otf'),
    url('../fonts/le-murmure.ttf');
  font-weight: normal;
  font-style: normal;
}

html {
  margin:0;
  padding:0;
  height: 100%;
  scroll-behavior: smooth;
}

body {	
  background-color: #EEEEEE;
  font-family: 'Fraunces', sans-serif;
  font-size: 100%;
  line-height: 1.5em;
  color: #000000;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #D0D0D0;
  text-decoration-skip-ink: auto;
  text-underline-offset: 2px;
}

a:hover {
  color:#e61974;
}

header {
  background: #FFFFFF;
  width: 100%;
  box-sizing: border-box;
  padding: 1% 5% 0 5%;
  text-align: center;
}

header img {
  width: 100%;
  display: block;
  margin: 0 auto;
  height: auto;   
}

main {
  min-height: calc(100vh - 150px);
  background: #EEEEEE;
  padding: 20px;
}

/*INFOS MUSIQUES TANGENTES*/
.social {
  display:flex;
  align-items: center;
}

.social p {
  display: flex;
  margin-top: 0;
  white-space: normal;
  font-size: 0.9rem; 
  width: 60%;
  text-align: left;
  vertical-align: top;
  padding-left: 5%;
}

/* ICÔNES RESEAUX SOCIAUX */
.social ul.topbar {
  width: 40%;
  list-style: none;
  margin-top: 0;
  display: flex;
  gap: 10px;
  justify-content: right;
  padding-right: 5%;
}

ul.topbar img {
  display: block;
  width: 37px;
  height: auto;
}

ul.topbar > li > a:hover {
  opacity: 90%;
}

/* STYLE GLOBAL DU MENU */

#menu {
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 2%;
}

#menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  font-family: "Abordage";
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#menu > ul > li {
  text-align: left;
  position: relative;
}

#menu a {
  display: block;
  padding-left: 10px;
  padding-top: 10px;
  text-decoration: none;
  color: inherit;
  justify-content: left;
  align-items: top;
  height: 3em;
  transition: background-color 0.2s;
  word-wrap: break-word;
  line-height: 1em;
}

.sub-menu a {
  display: flex;
  align-items: center !important;
  height: 2.5em !important;
  padding: 0;
}

.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  color: inherit;
}

#menu li:hover > .sub-menu {
  display: block;
}

/* STYLE DE BASE DES ELEMENTS DU MENU */
.ecole {
	clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  background-color: #FFED00; /* jaune */
  color: #E30613; /* rouge */
  width: 15%;
	display: inline-block;
}

.formation-loisir {
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  background-color: #ECA1C7; /* rose */
  color: #006633; /* vert */
  width: 15%;
	display: inline-block;
}

.le-coin-des-petits {
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  background-color: #FF8C00; /* orange */
  color: #FFF9C4; /* jaune pâle */
  width: 15%;
	display: inline-block;
}

.formation-pro {
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  background-color: #009FE3; /* bleu */
  color: #29235C; /* bleu foncé */
  width: 15%;
	display: inline-block;
}

.formation-pro > a {
  padding-right: 20%;
}

.repetitions {
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  background-color: #E52421; /* rouge */
  color: #FFED00; /* jaune */
  width: 15%;
	display: inline-block;
}

.repetitions > a {
  padding-right: 20%;
}

.galerie {
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  background-color: #006633; /* vert */
  color: #ECA1C7; /* rose */  
  width: 15%;
	display: inline-block;
}

/* SURVOL MENU */
.ecole:hover,
.formation-loisir:hover,
.le-coin-des-petits:hover,
.formation-pro:hover,
.repetitions:hover,
.galerie:hover {
    color: white !important;
    background-color: black !important;
    clip-path: none !important;
}

/* SURVOL SOUS-MENU */
.ecole > .sub-menu > .presentation:hover, 
.ecole > .sub-menu > .equipe:hover,
.ecole > .sub-menu > .contact:hover,
.formation-loisir > .sub-menu > .pedagogie:hover, 
.formation-loisir > .sub-menu > .cours-individuels:hover, 
.formation-loisir > .sub-menu > .ateliers:hover, 
.formation-loisir > .sub-menu > .tarifs-loisir:hover, 
.le-coin-des-petits > .sub-menu > .eveil-musical:hover,
.le-coin-des-petits > .sub-menu > .exterieur:hover,
.repetitions > .sub-menu > .presentation:hover,
.repetitions > .sub-menu > .equipements:hover,
.repetitions > .sub-menu > .tarifs:hover,
.repetitions > .sub-menu > .refernces:hover {
  visibility: visible;
	background-color: black !important;
  color: white !important;
}

/* COULEURS DES SOUS-MENUS */
.ecole > .sub-menu {
    background-color: #FFED00; /* jaune */
    color: #E30613; /* rouge */
}

.formation-loisir > .sub-menu {
    background-color: #ECA1C7; /* rose */
    color: #006633; /* vert */
}

.le-coin-des-petits > .sub-menu {
    background-color: #FF8C00; /* orange */
    color: #FFF9C4; /* jaune pâle */
}

.formation-pro > .sub-menu {
    background-color: #009FE3; /* bleu */
    color: #29235C; /* bleu foncé */
}

.repetitions > .sub-menu {
    background-color: #E52421; /* rouge */
    color: #FFED00; /* jaune */
}

.galerie > .sub-menu {
    background-color: #006633; /* vert */
    color: #ECA1C7; /* rose */
}

h1 {
  font-family: 'Abordage';
  font-size:1.5vw;
  letter-spacing: 1.5px;
}

h2, h3, h4, h5 {
  color: #000000;
  font-family: 'Fraunces', sans-serif;
}

.accueil_equipe {
  width: 100%;
  box-sizing: border-box;
  padding: 3% 5% 3% 5%;
}

.accueil_equipe img {
  width: 100%;
}

/* AGENDA DYNAMIQUE */
#agenda {
  max-width: 80%;
  margin: 0 auto;
  padding: 1% 5% 3% 5%;
  font-family: 'Fraunces'
}

/* Titre Actualités */
#agenda > p {
  font-family: 'Canarina';
  font-weight: 400;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 5%;
  color: black;
}

/* Titre des sections */
.agenda-section-title {
  font-family: 'Canarina';
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin: 40px 0 20px;
  color: black;
}

.event-no-date {
  background-color: white !important;
  transition: none !important;
  border: 1px solid #D4D4D4 !important;
}

.event-no-date strong {
  text-align: center;
}

.event-no-date:hover {
  transform: none !important;
  box-shadow: none !important;
}

.event-no-date em {
  font-size: 1.2em;
  font-weight:600;
}

.event {
  background-color: #fff;
  border-left: 5px solid #E91E63;
  padding: 15px 20px;
  margin-bottom: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-header strong {
  color: #E91E63;
  font-size: 1.2em;
  font-weight:600;
}

.event-header em {
  font-style: normal;
  font-weight: 600;
  color: #333;
}

.event-header small {
  color: #666;
  font-size: 0.9em;
}

.event-content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.event-content p {
  flex: 1;
  line-height: 1.5;
}

.event-content img {
  max-width: 300px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.event:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/*PARTENAIRES*/
div .partenaires {
  display:flex;
  align-items: center;
  padding: 0 5% 3% 5%;  
}

ul.partenaires {
  list-style: none;
  margin-top: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-right: 5%;
}

ul.partenaires img {
  display: block;
  width: 100px;
  height: auto;
}

ul.partenaires > li > a:hover {
  opacity: 90%;
}

/* RETOUR EN HAUT */
#back-to-top {
  position: fixed;
  bottom: 5px;
  right: 5px;
  clip-path: circle(15px);
  background-color: grey;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s;
  z-index: 1000;
}

#back-to-top.show {
  opacity: 0.5;
  visibility: visible;
}

#back-to-top:hover {
  opacity: 1;
}

/*FOOTER*/
footer {
  background-color: white; 
  width: 100%;
  padding: 1px 1px;
  box-sizing: border-box;
}

footer p {
  font-size: 0.8rem;
}

/*RESPONSIVE DESIGN*/

@media screen and (max-width: 800px) {
  .event-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-content img {
    max-width: 100%;
  }

  body {
    max-width: 100%;
  }

  header {
    padding: 2% 2% 0 2%;
    display: inline-block;
    justify-content: center;
  }

  .subtitle {
    text-align: center;
  }

  h1 {
    font-size:14px;
  }
  
  .social {
    display:inline-block;
  }

  .subtitle {
    font-size: 14px;
  }

  .social p {
    display: flex;
    margin-top: 0;
    white-space: nowrap;
    max-width: 100%;
    font-size: 12px; 
    text-align: center;
    vertical-align: center;
  }

  .social ul.topbar {
    width: 50%;
    list-style: none;
    margin-top: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-right: 0;
  }

  ul.topbar img {
    display: block;
    width: 30px;
    height: auto;
  }

  ul.topbar > li > a:hover {
    opacity: 90%;
  }

  #menu {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 0;
  }

  #menu ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    justify-content: space-between;
    font-family: "Abordage";
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  #menu > ul > li {
    text-align: left;
    position: relative;
  }

  #menu a {
    display: block;
    padding-left: 10px;
    padding-top: 10px;
    text-decoration: none;
    color: inherit;
    justify-content: left;
    align-items: top;
    height: 3em;
    transition: background-color 0.2s;
    word-wrap: break-word;
    line-height: 1em;
  }

  .sub-menu a {
    display: flex;
    align-items: center !important;
    height: 2.5em !important;
    padding: 0;
  }

  .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    color: inherit;
  }

  #menu li:hover > .sub-menu {
    display: block;
  }

.ecole, .formation-loisir, .le-coin-des-petits, .formation-pro, .repetitions, .galerie {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}

}

/* BANNIERE URGENTE */
.urgent-banner {
  background-color: #e61974;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: sans-serif;
  font-weight: 600;
  font-size: 16px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.urgent-banner-content {
  display: flex;
  font-family: 'Fraunces';
  align-items: center;
  margin: auto;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.urgent-icon {
  font-size: 20px;
  font-weight: bold;
}

.urgent-btn {
  background: #1a1a1a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.urgent-btn:hover {
  opacity: 0.8;
}

.urgent-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #1a1a1a;
}

#urgentBanner {
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  visibility: visible;
}

#urgentBanner.closing {
  opacity: 0;
  visibility: hidden;
}