/* Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background: #f9f9f9;
      color: #333;

      /* Astuce flexbox pour footer sticky */
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    
/****************************************** header *************************************************/
    header {
	  background: #000; /* Fond noir */
	  color: #FFD700;   /* Texte jaune */
	  padding: 20px 40px;
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  position: relative;
	}

	header h1 {
	  font-size: 1.5rem;
	  color: #FFD700; /* Jaune */
	}

    nav ul {
      list-style: none;
      display: flex;
      gap: 20px;
    }

    nav ul li a {
      text-decoration: none;
      color: #FFD700; /* Jaune */
      font-weight: bold;
      transition: color 0.3s ease, transform 0.2s ease;
    }
    nav a.active {
    font-weight: bold;
    color: #fff; /* rouge par exemple */
    border-bottom: 2px solid #fff;
}

    nav ul li a:hover {
      color: #FFA500;
      transform: scale(1.05);
    }

    /* Bouton burger */
    .burger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      z-index: 1000;
    }

    .burger span {
      width: 25px;
      height: 3px;
      background: rgb(248, 227, 0);
      border-radius: 5px;
      transition: 0.4s;
    }

    /* Animation burger -> X */
    .burger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    .burger.active span:nth-child(2) {
      opacity: 0;
    }
    .burger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Menu mobile */
    nav {
      transition: max-height 0.4s ease-in-out;
    }

    nav ul {
      flex-direction: row;
    }

    @media (max-width: 1100px) {
      nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #000000;
        overflow: hidden;
        max-height: 0;
      }

      nav.open {
        max-height: 300px;
      }

      nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
      }

      .burger {
        display: flex;
        background-color: #000;
      }
    }
    /****************************************** header *************************************************/

    /****************************************** main *************************************************/
    main {
      flex: 1; /* Pour pousser le footer en bas */
      padding: 40px 0 0 0;
      text-align: center;
      display: flex;
      align-items: center;
      flex-direction: column;
    }

    main h2 {
      font-size: 2rem;
      margin-bottom: 20px;
      color: #FFD700;
      text-shadow: 0.1em 0.1em 0.4em #000;
      -webkit-text-stroke: 1px #000;
    }

    main p {
      font-size: 1.1rem;
      color: #555;
      max-width: 600px;
      margin: 0 auto;
    }
	
	.galerie {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    align-items: center;
    justify-items: center;
}

	.galerie img {
	  width: 100%;
	  height: auto;
	  border-radius: 10px;
	  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	  transition: transform 0.3s ease;
	}

	.galerie img:hover {
	  transform: scale(1.05);
	}

  .page-404 {
  text-align: center;
  padding: 60px 20px;
}

.page-404 h2 {
  font-size: 2rem;
  color: #e53935; /* Rouge sympa */
  margin-bottom: 20px;
}

.page-404 p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.page-404 a {
  color: #FFD700;
  font-weight: bold;
  text-decoration: none;
}

.page-404 a:hover {
  color: #FFA500;
  text-decoration: underline;
}

.page-404 .illustration img {
  max-width: 300px;
  margin-top: 20px;
}

.page-content{
      margin-top: 20px;
      text-align: justify;
}
/****************************************** main *************************************************/

/****************************************** contact *************************************************/
.contact {
  max-width: 700px;
  margin: 50px auto;
  padding: 20px;
}

.contact h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* jaune comme ton header */
  text-shadow: 0.1em 0.1em 0.2em #000;
  -webkit-text-stroke: 0.5px #000;
}

.contact-form {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 700px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #FFD700;
  outline: none;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #000;
  color: #FFD700;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #333;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 15px;
        width: 450px;
    }
    .form-group input,
    .form-group textarea {
        font-size: 0.95em;
    }
    .btn {
        font-size: 1em;
        padding: 10px;
    }
}

.success-msg {
  color: green;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  width: 700px;
}

.error-msg {
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  width: 700px;
}
/****************************************** contact *************************************************/

 .media-flex {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px;
        margin-top: 12px;
    }
    .message-card {
        width: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid #bababa;
        border-radius: 5px;
		padding: 5px;
    }
    .message-card img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.18s;
        display:block;
        margin: 5px;
    }
    .message-card img:hover { transform: scale(1.04); }
    .message-card .title { font-size: 13px; margin-bottom:6px; }

    /* Rendre Lightbox2 responsive */
.lb-outerContainer {
  max-width: 100% !important;
  max-height: 100% !important;
}

.lb-image {
  /*width: 100% !important;*/
  height: auto !important;
  /*max-width: 100% !important;*/
  max-height: 80vh !important; /* limite la hauteur à 80% de la fenêtre */
  object-fit: contain; /* garde les proportions */
}

@media (max-width: 768px) {
    .lb-image {
      width: 100% !important;

      max-width: 100% !important;
      
    }
    .lb-outerContainer {
    max-width: 100% !important;
    max-height: 100% !important;
}
}

.news{
  font-size: 0.8em;
  font-weight: 600;
}
.news a{
  text-decoration: none;
}
.news a:hover{
  color: cornflowerblue;
}

/****************************************** cookies *************************************************/
/* --- Bandeau cookies --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 15px;
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.4;
}

.cookie-banner a {
  color: #ffcc00;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.cookie-actions button {
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-accept {
  background-color: #28a745;
  color: white;
}

.btn-decline {
  background-color: #dc3545;
  color: white;
}

@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: center;
  }
  .cookie-actions {
    margin-left: 20px;
  }
}

/****************************************** cookies *************************************************/

/****************************************** btn-DYS *************************************************/
/* Bouton flottant Dyslexique */
.dys-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.2s;
}

.dys-button:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.dyslexic-font {
  font-family: 'OpenDyslexic', Arial, sans-serif !important;
}

@import url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic/OpenDyslexic.css');

body.dyslexic {
    font-family: 'OpenDyslexic', Arial, sans-serif !important;
}
/****************************************** btn-DYS *************************************************/

.inscript{
    margin: 25px;
    padding: 10px;
    border: 1px solid #353535;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    font-size: 0.9em;
    font-weight: 600;
    background-color: #000;
    color: #ffd700;
    
}
.inscript a{
  text-decoration: none;
  color: #ede3a6;
  font-style: italic;
}
.inscript a:hover{
  font-style: normal;
  color: #f8f8f8;
}
/****************************************** footer *************************************************/
footer {
  background: black;
  color: yellow;
  text-align: center;
  padding: 15px;
}
.site-footer {
    background: #222;
    color: #fff;
    /*padding: 20px 10px;*/
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.site-footer .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer .footer-about {
    margin-bottom: 10px;
}

.site-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.site-footer .footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer .footer-links ul li a:hover {
    color: #ffcc00;
}

/****************************************** footer *************************************************/