/* 22/10/25 */

/* PAGE D'ACCUEIL FOR PRO */

@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%;
}

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:#009FE3;
}

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: 2% 5%;
  box-sizing:border-box;
}

.subtitle h1 {
  color: #009FE3;
  text-align: center;
  font-size: 2rem;
}

.qualiopi {
  width: 40%;
  margin: auto;
}

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

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

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

/* STYLE DE BASE DES ELEMENTS DU MENU */
.cursus, .financements, .accessibilite, .stats, .contact {
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  background-color: #009FE3;
  color: #29235C;
  width: 18%;
	display: inline-block;
}

/* SURVOL MENU */
.cursus:hover,
.financements:hover,
.accessibilite:hover,
.stats:hover,
.contact:hover {
    color: white !important;
    background-color: black !important;
}

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

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

/* BLOCS CURSUS */
#blocs-forpro {
  display: flex;
  align-items: flex-start;
  justify-items:center;
  width: 90%;
  font-family: Fraunces;
  margin: auto;
}

#blocs-forpro h4 {
  padding: 5% 15% 5% 15%;
  font-family: Fraunces, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform:uppercase;
  margin: 0;
}

#blocs-forpro h5 {
  color: #656565;
  font-family: Fraunces, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

#blocs-forpro p {
  color: #656565;
  font-family: Fraunces, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

#blocs-forpro .button {
  border-radius: 5px;
  font-size: 15px;
  padding: 15px 30px;
  display: inline-block;
  color: #fff;
  position: relative;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
  background-color: #2575fc;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

#blocs-forpro .icon img {
  margin: auto;
  max-width: 50px;
}

#blocs-forpro .button:hover {
  background-color: #0350d2;
  cursor:pointer;
}

#blocs-forpro > div.bloc-gauche {
  flex: 0 0 40%;
  box-sizing: border-box;
  padding: 15px;
  margin-top: 0 !important;
  background-color: white;
  border: 1px solid black;
  text-align: center;
  font-size: 1rem;
  margin: 5%;
}

#blocs-forpro > div.bloc-droite {
  flex: 0 0 40%;
  box-sizing: border-box;
  padding: 15px;
  margin-top: 0 !important;
  background-color: white;
  border: 1px solid black;
  text-align: center;
  font-size: 1rem;
  margin: 5%;
}

/* 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;
  font-weight: 300;
}

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

}