@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #2D4E85 #227093; /* Si je veux midifier le fond, c'est la 2ème valeur : scrollbar-color: #2D4E85 #ccc; */
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #227093;
}

*::-webkit-scrollbar-thumb {
  background-color: #2D4E85;
  border-radius: 15px;
  border: 3px solid #227093;
}

html, body {
  height: 100%;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Calibri", sans-serif;
  font-size: 0.875rem;
  line-height: 1.42857143;
  color: #333;
  overflow-y:visible;
  scrollbar-color: #2D4E85 #227093; /* scroll thumb and track */
}

body::-webkit-scrollbar {
  width: 12px; /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: #227093; /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: #2D4E85; /* color of the scroll thumb */
   border-radius: 15px;/* roundness of the scroll thumb */
 border: 3px solid #227093;   /*creates padding around scroll thumb */
}

header {
  position: fixed;
  /*top: 0;
  left: 0;*/
  z-index: 999;
  width: 100%;
  height: 50px;

  background: #227093;
  box-shadow: rgba(0, 0, 0, 0.5) 0 -20px 20px 20px;
}


header h1 {
  margin: 0;
  text-align: center;
  padding: 0 15px;
  height: 50px;
  line-height: 50px;
  font-weight: 500;
  font-size: 23px;
  color:#fff;
/*   float: left; */
}

 .copyright-bar {
    position: fixed;
    bottom: 50px; /* Se place pile au-dessus du footer qui fait 70px de haut */
    left: 200px;  /* Démarre après le menu latéral de 200px */
    width: calc(100% - 200px);
    z-index: 998;
    background-color: #fff; /* Évite que le texte de la page ne transparaisse dessous */
    text-align: center;
    color: #2D4E85;
    font-size: 0.95rem;
    padding: 10px 0 13px 0;
}


.copyright-bar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px; /* Épaisseur de la bordure */
    background: repeating-linear-gradient(
        to right,
        #2D4E85 0px,
        #2D4E85 12px,      /* 1er tiret : bleu foncé (12px de long) */
        transparent 12px,
        transparent 18px,  /* Espace vide (6px) */
        #209DCF 18px,
        #209DCF 30px,      /* 2e tiret : bleu clair (12px de long) */
        transparent 30px,
        transparent 36px   /* Espace vide (6px) */
    );
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 70px;            /* Hauteur demandée de 70px */
  background: #227093;
  color: #fff;
  display: flex;
  justify-content: center; /* Centre le texte horizontalement */
  align-items: center;     /* Centre le texte exactement au milieu verticalement (à 35px du haut et du bas) */
  flex-wrap: wrap;
  gap: 10px;
  padding:  15px;
  font-size: 0.875rem;
}

footer a,
footer a:visited {
  color: #fff;
  text-decoration: underline;
  margin: 0;
  padding: 0;
}

footer a:hover {
  color: #ddd;
}


.fa{color:#fff; margin-left:3%;padding-top:12px;padding-bottom:5px;width:75px;display:inline;}
.far{float:right;padding-bottom:5px;margin-right:3%;display:inline;}




#son{margin-bottom:35px;}
a.lienson{padding-left:10px;}

h2{color:#ccc; font-size:25px; font-weight: 700; padding-left:25px; font-style:italic; margin:55px auto;}

section p{font-size:1.2rem;color:#2D4E85;padding-top:10px;}
/* section p:last-child{margin-bottom:5px;} */
section ul li {margin-left: 25%; list-style-type:square;color:#2D4E85;font-size:15pt}

section img{margin: 25px auto ; display: block; position: relative; width: auto; }

nav#menu{font-style:normal;}
 
#menu ul{position:absolute;top:50px;bottom:0;width:200px;background:#f8f8f8;position:fixed;box-shadow: rgba(0, 0, 0, 0.5) 0 -20px 7px 3px; border-radius:0 0 5px 0;} 


#menu li a{display:block;height:50px;line-height:50px;font-size: .875rem;text-decoration: none;color: #227093; font-weight: 700; white-space: nowrap; cursor: pointer;width:200px;}
#menu a:hover{color:#fff;background:#227093;width:200px; }/* border: 2px groove #227093; */

.menu{position:absolute;top:20px;bottom:40px;overflow-y:auto;width:100%;margin:0;padding:0;list-style-type:none;}
.menuli{position:relative;min-height:40px;line-height:40px;text-align:center;font-weight:700;font-size:1.2rem;font-style: normal;}

#menu li .active{color:#fff;background:#2D4E85; opacity:70%;}

.wrapper {
    padding: 35px 35px 120px 35px;
    transition: all 0.3s ease-out;
    margin-left: 200px;
    text-align: justify;
}
 
 #content{width:90%; border:solid 2px #eee;border-radius:5px;padding:35px;margin:0 auto;}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

label.menu-mobile
    {display: none;}

#menu label, input[type="checkbox"] {
display : none;
}
#menu input[type="checkbox"]:checked ~ ul {
display : block;
}

/* Personnalisation de l'audio pour fx */

.controlBar{background-color: rgba(240,240,240,.8);}

/* Formulaire : Règle essentielle contre les débordements */
form, form * {
  box-sizing: border-box;
}

form {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 5px;
}

fieldset {
  width: 100%;
  min-height: 380px;
  padding: 15px;
  margin: 0;
  border: 2px solid #eee;
  box-shadow: 5px 5px 5px #eee;
  border-radius: 5px;
}

legend {
  font-weight: bold;
  font-style: italic;
  color: navy;
  padding: 0 5px 10px 5px;
}

#adresse,
.espace {
  display: none;
}

/* Labels empilés au-dessus des champs sur mobile */
/* =========================================================
   FORMULAIRE DE CONTACT (Isolé - ne touche pas au reste du site)
   ========================================================= */

form, form * {
  box-sizing: border-box;
}

form {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

fieldset {
  width: 100%;
  min-width: 0;
  min-height: 380px;
  padding: 20px;
  margin: 0;
  border: 2px solid #eee;
  box-shadow: 5px 5px 5px #eee;
  border-radius: 5px;
}

legend {
  font-weight: bold;
  font-style: italic;
  color: navy;
  padding: 0 5px 10px 5px;
}

#adresse,
.espace {
  display: none;
}

/* Labels : alignés à gauche sur PC, au-dessus sur mobile */
form label {
  display: inline-block;
  width: 120px;
  padding-right: 15px;
  vertical-align: middle;
  font-weight: bold;
  color: #2D4E85;
}

/* Champs texte et email */
form input[type="text"],
form input[type="email"] {
  display: inline-block;
  width: calc(100% - 170px); /* Laisse la place au label à gauche et à l'icône à droite */
  height: 2.2rem;
  margin-top: 5px;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 2px solid #eee;
  border-radius: 5px;
  box-shadow: 2px 2px 2px #eee;
  color: #2D4E85;
  vertical-align: middle;
}

/* Champ Message */
form textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  margin-top: 8px;
  padding: 8px 10px;
  resize: vertical;
  border: 1px solid #eee;
  border-radius: 5px;
  box-shadow: 2px 2px 2px #eee;
  color: #2D4E85;
}

form input:focus,
form textarea:focus {
  background: #FFFAFA;
  outline: none;
}

/* --- Contrôle FontAwesome (Mail et Sujet) --- */
form input.controle {
  outline: 0;
  font-size: 14px;
}

form input.controle:valid {
  border: 3px solid #48689B;
}

form input.controle:invalid {
  border: 3px solid #a00;
}

form input.controle + span.resultat {
  display: inline-block;
  width: 25px;
  text-align: center;
  vertical-align: middle;
}

form input.controle:valid + span.resultat:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #48689B;
  font-size: 1.4em;
}

form input.controle:invalid + span.resultat:before {
  content: "\f00d";
  font-family: "FontAwesome";
  color: #a00;
  font-size: 1.4em;
}

/* --- Case à cocher et texte RGPD --- */
form .rgpd-container {
  margin: 15px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

form .rgpd-container input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 3px 0 0 0 !important;
  padding: 0 !important;
  box-shadow: none;
  flex-shrink: 0;
  cursor: pointer;
}

form .rgpd-container label {
  position: static !important;
  width: auto !important;
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: normal;
  font-size: 0.9em;
  line-height: 1.4;
  color: #2D4E85;
}

/* --- reCAPTCHA --- */
.g-recaptcha {
  margin: 15px 0;
}

/* --- Boutons Envoyer et Effacer --- */
.g-recaptcha + div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
  font-size: 0; /* Neutralise l'espace &nbsp; entre les deux boutons */
}

fform button {
  width: 110px;
  height: 36px;
  background-color: #2D4E85;
  border-radius: 5px;
  border: 1px solid #eee;
  font-size: 14px; /* Rétablit la taille du texte du bouton */
  font-weight: bold;
  color: #fff;
  padding: 5px;
  margin: 0;
  cursor: pointer;
  float: none;
  position: static;
}

form button[type="reset"] {
  background-color: #6c757d;
}

/* --- Adaptation du reCAPTCHA sur très petits écrans (< 360px) --- */
.g-recaptcha {
  transform-origin: 0 0;
  margin: 10px 0;
}

/* Small devices (tablets)
==========================*/
@media (max-width: 978px) {
section img{display:flex;width:100%;height:100%; }
header{position:fixed;}
}


/* Small devices (desktops)
==========================*/
@media (max-width: 768px) {

  body { overflow-y: visible; overflow-x: hidden; }
label.menu-mobile{display: flex;}
header label 
    { display: flex; justify-content: center; align-items: center; position:absolute; top:5px; left:10px; font-size: 35px; color: white; cursor: pointer;}
header{position:absolute;height:55px;}

header h1 {
  margin: 0;
  text-align: center;
  padding: 0 23px;
  height: 50px;
  line-height: 25px;
  font-weight: 500;
  font-size: 17px;
  color:#fff;
/*   float: left; */
}

 .copyright-bar {
        position: fixed;
        bottom: 70px; /* Ajustez cette valeur si votre footer est plus haut sur mobile */
        left: 0;
        width: 100%;
        margin-left: 0;
        z-index: 998;
    }

#menu label {display:block;}
.menu-mobile {display:block; color : #fff;}
#menu ul {display:none;position:absolute;height:500px;}
#menu ul li a {width:100%;text-align:center;}

#menu ul li {display : block; position :static; width : 100%; line-height:40px;}

.wrapper {display : block; width:100%;margin:0 auto;}

 #content{width:100%; border:solid 1px #eee;border-radius:3px;padding:15px;margin:0 auto;}

  .logo img {width: 200px; text-align: center; margin-top: 10px; float: none; }
/*   footer{position:fixed;bottom:0;margin-top:5px;} */
/*   footer{display:none;} */
  a.lienson{margin-bottom:135px;}
  section, #content {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5px;
    padding-right: 5px;
  }
  
  section img{display:flex;width:100%;height:100%;z-index:-1;}
  
  fieldset {
    padding: 10px;
  }

  /* Sur mobile, les labels passent au-dessus des champs */
  form label {
    display: block;
    width: 100%;
    padding-right: 0;
    margin-top: 10px;
    margin-bottom: 4px;
  }

  /* Les champs prennent toute la largeur disponible */
  form input[type="text"],
  form input[type="email"] {
    width: 100%;
  }

  /* Laisse juste 35px à droite pour l'icône FontAwesome */
  form input.controle {
    width: calc(100% - 35px);
  }

   .g-recaptcha {
    width: 100%;
    overflow: hidden; /* Empêche tout débordement hors du cadre */
  }

  .g-recaptcha > div {
    transform: scale(0.68);
    transform-origin: 0 0;
  }

  
  
}



@media screen and (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.85);
  }
}

/* --- Conteneur des boutons (cible la <div> juste après .g-recaptcha) --- */
.g-recaptcha + div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

form button {
  width: 120px;
  height: 38px;
  background-color: #2D4E85;
  border-radius: 5px;
  border: 1px solid #eee;
  font-weight: bold;
  color: #fff;
  padding: 5px 10px;
  margin: 0;
  cursor: pointer;
  float: none;
  position: static;
}

/* Couleur distincte pour le bouton Effacer */
form button[type="reset"] {
  background-color: #6c757d;
}

/* Mention des champs obligatoires en bas */
fieldset > span p {
  font-size: 0.85em;
  color: #555;
  margin-top: 10px;
}