@import "variables.css";
@import "reset.css";
@import "global.css";
@import "components.css";

.page {
  width: 100%;
  margin: 0;
  padding: 0;  
  background-color: #f4f4f4;
 
  
}

/**********************
Start Header
************/
.header-container {
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 20px;
  display: flex;
  justify-content: space-between;
  min-height: 100px;
}

.custom-logo {
  max-width: 300px;
  margin: -10px;
}

/****************
Menu dynamique
****************/
.menu ul {
  list-style: none;
  display: flex;
  justify-content: space-around; /* Espacement uniforme entre les liens */
}

.menu ul li {
  margin: 0;
}

.menu ul li a {
  text-decoration: none;
  padding: 10px 20px;
  color: var(--main-color);
  font-weight: bolder;
  font-size: 1.3em;
}

.menu ul li a:hover {
  
  font-size: 1.5em;
  text-decoration: underline;
 
}


[aria-current]:not([aria-current="false"]){
  color: var(--sec-color);
  background-color: var(--main-color);
  
  border-radius: 20px;
}
 

/*End menu*/
/**************toggle menu***************/
.toggle-menu {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  width: 35px;
  height: 30px;
  /* position: relative; */
}
.toggle-menu span {
  display: block;
  height: 3px;
  margin-bottom: 5px;
  background-color: var(--main-color);
  transition: all 0.2s ease;
}

/********************************************/
/***********************************/
@media (max-width: 992px) {
  
  .page {
    margin-left : auto;
    margin-right: auto;
    
   
  }

  h1{
    font-size: 2rem;
  }

 
  .header-container{
    transform: translateY(10px);
  }

  .header-container .menu ul {
    display: none;
  } 

  .header-container .menu.open ul {
    background-color: var(--main-color);
    padding: 10px;
    display: inline-block;
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
  }

  .header-container .menu.open ul li {
    padding: 10px;
  }

  .header-container .menu.open ul li a {
    color: var(--sec-color);   

    font-weight: bold;
  }
  /*******Toggle menu******/
 
  .toggle-menu {
    display: block;
    
    /* transform: translateY(20px); */
  }
  .toggle-menu.mActive span:nth-child(2) {
    opacity: 0;
  }
   

  .toggle-menu.mActive span:first-child {
    /* transform: translateY(9px) rotate(45deg); */
    
    transform: translateY(-125px) rotate(45deg);
    
    background-color: var(--main-color);
    
    
  }

  .toggle-menu.mActive span:last-child {
    /* transform: translateY(-9px) rotate(-45deg);   */
    transform: translateY(-141px) rotate(-45deg);     
    background-color: var(--main-color);
    
    
  }
  
  .toggle-menu.mActive {
    min-height: 300px;
  }
  .toggle-menu.open span {
    color: #e6e2e2;
  }

  .toggle-menu.hidden {
  display: none;
}

  .special-heading {
    font-size: 2.75em;
  }
}

/**************
End header
********************/

/************
Start Banner & intro
*****************/

.banner {
  min-height: 450px;
  margin-bottom: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(
      295deg,
      rgba(207, 207, 207, 0.04) 0%,
      rgba(207, 207, 207, 0.04) 55%,
      rgba(67, 67, 67, 0.04) 55%,
      rgba(67, 67, 67, 0.04) 100%
    ),
    linear-gradient(
      340deg,
      rgba(220, 220, 220, 0.04) 0%,
      rgba(220, 220, 220, 0.04) 72%,
      rgba(29, 29, 29, 0.04) 72%,
      rgba(29, 29, 29, 0.04) 100%
    ),
    linear-gradient(
      582deg,
      rgba(135, 135, 135, 0.04) 0%,
      hsla(0, 0%, 53%, 0.04) 62%,
      rgba(202, 130, 130, 0.58) 62%,
      rgba(226, 226, 226, 0.58) 100%
    ),
    linear-gradient(
      564deg,
      rgba(58, 53, 136, 0.13) 0%,
      rgba(36, 27, 166, 0.13) 44%,
      rgb(234, 198, 192) 44%,
      rgb(234, 198, 192) 100%
    ),
    linear-gradient(365deg, rgb(234, 198, 192), rgb(234, 198, 192));
  box-shadow: 0.25em 0.25em 0.75em rgba(64, 30, 23, 0.25),
    0.125em 0.125em 0.25em rgba(64, 30, 23, 0.15);
}

.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(234, 198, 192, 0.5);
  z-index: 1;
}

.banner .intro-text {
  z-index: 2;
  position: relative;  
  max-width: 800px; /*Limite la largeur pour un meilleur rendu */
  padding: 20px;
}

.banner .intro-text h1 {
  color: var(--main-color);   
  font-family: Lora;
  font-size: 3rem;
  font-weight: bolder;
  margin-bottom: 20px;
  line-height: 1.5;
  
}

.banner .intro-text h2 {
  color: var(--main-color);
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.banner .intro-text p {  
  color: var(--main-color); 
  font-size: 1.25rem; 
  margin: 30px;
  line-height: 1.3;
  letter-spacing: 1px;
}


/* page autre que home */
.page-banner__title,
.page-title {
  color: var(--main-color);
}

/****************
End Banner & intro
********************/

/*****************
Start sections: Mission et valeurs
********************/
.cards {   
  padding: 60px 20px;  
  /* margin-bottom: 20px; */
  /* box-shadow: 0.25em 0.25em 0.75em rgba(64,30,23, 0.25),
    0.125em 0.125em 0.25em rgba(64,30,23, 0.15);  */
}

.bg-clear{
  background-color: rgba(247, 236, 234, 0.22); 

}

.bg-f{
  background-color:  rgba(234, 213, 209, 0.22);
  /* rgba(247, 197, 192, 0.22);   */
}

.cards .containerCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* grid-template-columns: repeat(3, 250px); */
  grid-gap: 50px;
  margin-bottom: 50px;
}

/*shadow: H-shadow | V-shadow | Blur | Spread | Color | Inset*/
.containerCards > div {
  border: solid 1px var(--sec-color);
  border-radius: 2%;
  padding: 60px 20px;
  text-align: center;
  color: var(--ter-color);
  font-weight: bolder;
  min-height: 150px;  
}

.containerCards > div:hover {
  box-shadow: 0.25em 0.25em 0.75em rgba(0, 0, 0, 0.25),
    0.125em 0.125em 0.25em rgba(0, 0, 0, 0.15);
}

.card a {
  text-decoration: none;
}

.containerCards > div i {
  color: var(--sec-color); 
  background-color: var(--main-color);
  padding: 7px;
  border-radius: 10px;
}

.containerCards > div h3 {
  font-weight: bolder;
  color: var(--main-color);
  margin: 15px 0;
}

.containerCards > div p {
  font-size: 1.125em;
  font-weight: 500;
  color: var(--main-color);
  line-height: 1.7;
}



.containerPilier p{
   font-size: 1rem;
   font-weight: 500;
    color:var(--ter-color);
    /* margin-bottom: 20px; */
    line-height: 1.5;
}
.pilier .pilierTitle{
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  /* gap: 20px 5px; */
  
  
}
.pilier .pilierTitle i{
  font-size: 1.5rem;
  margin-right: 10px;
  color: var(--sec-color);
  background-color: var(--main-color); /* couleur de l'icône */
  border-radius: 5px;
  padding: 2px;
  max-width: 35px;
  
  
}

.pilier .pilierTitle h3 {
  color: var(--main-color);

}

.pilier p{
  font-size: 1rem;   
  margin-bottom: 40px;
  margin-left: 40px;
}

/**************
End sections: Mission et piliers
**************/

/****Interior page: Ressources****/

#profiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.profile-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.profile-card:hover {
  transform: translateY(-5px);
}

.profile-card img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
/**********End interior page: Ressources************/

/************Interior page: Reseau*****************/

#filters {
  padding: 20px;
  text-align: center;
}

#category-filter {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#ressources {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.ressource-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.ressource-card:hover {
  transform: translateY(-5px);
}

.ressource-card img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/************End Interior page : Reseau***************/

/*end content*/
/*Footer*/
.footer {
  background-color: var(--sec-color);
  color: var(--main-color);
  padding: 30px 20px;
  /* margin-bottom: 30px; */

  /* min-height: 100px; */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* margin-bottom: 50px; */
}

.footer-section {
  flex: 1 1 30%;
  /* margin: 10px; */
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a, .footer-section p a {
  color: #f4f4f4;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  font-size: 1.15rem;
  font-weight: bold;
}

.footer-section p {
  /* font-size: 1rem; */
  line-height: 1.6;
  color: #f4f4f4;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 25px;
  border-top: solid 1px var(--main-color);
}

.footer-bottom p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-bottom a {
  text-decoration: none;
  color: #f4f4f4;

  transition: color 0.3s;
  margin: 0 10px;
}

.footer-bottom a:hover {
  font-size: 1.09em;
  font-weight: bold;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
 .footer-bottom{
  display: flex;
  flex-direction: column;  
  
  
 }
 .footer-bottom a{
  margin-bottom: 20px;

 }
}







/***************Page membre****************/
.members-page {
  padding: 50px 20px;
  text-align: left;  
   margin: 0 auto; 
}

.members-page h1{
  font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    color:var(--main-color);

}


.members-list {
  display: grid;
  gap: 40px; /* Espacement entre les cartes */
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  padding: 20px;
  /* align-items: center; */
  /* justify-content: center; */
  
}

.member {
  display: flex;
  flex-direction: column;
  justify-content: end;
  background-color:  #dcdcdc;
  border-radius: 20px;
  padding: 20px;   
  min-width: 30%;
  max-width: 90%; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
}


.member-thumbnail {
  margin-bottom: 15px;
}

.member-thumbnail img {
  width: 100%;
  /* height: auto; */
  /* border-radius: 50%; */
  
  max-height: 200px;
  object-fit: cover;
}

.member-info {
  text-align: center;
}

.member-info h2 {
  font-size: 1.75em;
  color: var(--main-color); /*#333;*/
  font-weight: bolder;
}

.member-info p {
  font-size: 1.2em;
  color: #666;
}

.member-info a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: var(--main-color);
  color: var(--sec-color);
  font-size: 1.12em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
}
/****************Page single membre******************/
.container-single{
  max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.membre-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.membre-info{
  line-height: 1.5;
}
.membre-name {
  font-size: 2rem;
  color: #3a3588; /* ta couleur principale */
  margin-bottom: 10px;
}

.membre-activity {
  font-size: 1.2rem;
  color: #7a7a7a; /* neutre */
  font-style: italic;
}

.membre-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  margin-bottom: 20px;
}
.btn-retour {
    display: inline-block;
    padding: 0.6rem 1.2rem;;
    margin: 20px;
    background-color: var(--main-color); /* rose doux */
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.3s ease;

}

.btn-retour:hover {
    background-color: var(--sec-color); /* rose plus foncé */
}
/****************End single membre********************/

/************Start page adhesion au reseau***********/
#inscription {
  background-color: var(--sec-color);
  max-width: 800px;
  margin: 0 auto; /*centrer la section*/
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 5px;
}

#inscription h2 {
  margin-bottom: 20px;
  color: var(--main-color);
}

#inscription form {
  display: flex;
  flex-direction: column;
}

#inscription label {
  margin-bottom: 8px;
  color: var(--main-color);
}

#inscription input[type="text"],
#inscription input[type="email"],
#inscription textarea {
  background-color: #f4f4f4;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

#inscription button {
  border: none;
}
/******End adhesion*****/

/*********Page Merci **********/
.merci-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background:   rgba(234, 213, 209, 0.22); 
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Conteneur du message */
.merci-page .merci-container  {
  text-align: center;
  background: #ffffff;
  padding: 40px 60px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 600px;
  animation: fadeIn 1s ease-in-out;
}

/* Titre principal */
.merci-page .merci-container h2{
  color: var(--main-color);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* Texte */
.merci-page .merci-container p {
  font-size: 1.2rem;  
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Bouton retour */
.merci-page .merci-container a {
  display: inline-block;
  font-size: 1.2rem;  
  font-weight: 400;
  background: var(--ter-color);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.merci-page .merci-container a:hover {
  background: var(--main-color);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/**********End Merci***********/

/*************Page mentions légales*******************/
.mentions{
  background-color: #e6e4e4;
  padding: 20px;
  margin-bottom: 20px;  
}

.mentions h1 {
  font-size: 1.75em;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 20px;
}

.mentions-section h2 {
  font-size: 1.25em;
  font-weight: bold;
  color: var(--sec-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.mentions-section p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.mentions-section ul{
  padding-left: 20px;
  line-height: 1.7;
}

.mentions-section a {
  color: var(--main-color);
  text-decoration: none;
}

.mentions-section a:hover {
  text-decoration: underline;
}
/**************End mentions légales*******************/

/*****************
Erreur: code
*******************/
.invite-error {
    background-color: #ffe6e6;  /* fond rouge clair */
    color: #cc0000;             /* texte rouge foncé */
    border: 1px solid #cc0000;  /* bordure rouge */
    padding: 12px 20px;         /* espace intérieur */
    border-radius: 8px;         /* coins arrondis */
    margin-bottom: 20px;        /* espace sous le message */
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/*******************
   Page blog
***************************/

.blog-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* En-tête du blog */
.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-header h1 {
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.blog-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Liste des articles */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Carte d'article */
.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Image */
.blog-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenu */
.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.blog-title a {
  color: var(--main-color);
  text-decoration: none;
}

.blog-title a:hover {
  color: var(--sec-color);
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-excerpt {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* Bouton Lire plus */
.btn-readmore {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  background: var(--main-color);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-readmore:hover {
  background: var(--sec-color);
  color: var(--main-color);
}

/* Pagination */
.blog-pagination {
  text-align: center;
  margin-top: 3rem;
}

.blog-pagination .page-numbers {
  display: inline-block;
  margin: 0 0.3rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--sec-color);
  color: var(--main-color);
  text-decoration: none;
}

.blog-pagination .current {
  background: var(--main-color);
  color: var(--white);
}

/*************page single article**********/
.single-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* En-tête */
.single-header {
  text-align: center;
  margin-bottom: 2rem;
}

.single-title {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.single-meta {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Image mise en avant */
.single-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2rem 0;
}

/* Contenu */
.single-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.single-content h2,
.single-content h3 {
  color: var(--main-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.single-content a {
  color: var(--main-color);
  text-decoration: underline;
}

.single-content a:hover {
  color: var(--sec-color);
}

/* Footer (catégories & tags) */
.single-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--sec-color);
  font-size: 0.95rem;
  color: var(--text-light);
}

.single-footer a {
  color: var(--main-color);
  text-decoration: none;
 
}

.single-footer a:hover {
  color: var(--sec-color);
}
.back-to-blog {
  text-align: center;
  margin: 2rem 0;
}

.btn-back {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 25px;
  background: var(--sec-color);
  color: var(--main-color);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.btn-back:hover {
  background: var(--main-color);
  color: var(--white);
}

/* Navigation entre articles */
.single-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.single-navigation a {
  padding: 0.6rem 1rem;
  background: var(--main-color);
  color: var(--white);
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.single-navigation a:hover {
  background: var(--sec-color);
  color: var(--main-color);
}
/* ***********End page single article */

/*******************page all events********************/
/* Page Événements */
/* Reset minimal */
/* .events-minimal * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* .events-minimal {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
} */

/* En-tête */
.events-header {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid #eee;
}

.events-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    color:var(--main-color);
}

.events-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Navigation */
.events-nav {
    background: #f8f9fa;
    padding: 30px 0;
}

.events-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}


/* Liste d'événements */
.events-main {
    padding: 50px 0;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-item {
    border: 1px solid #eee;
    
    padding: 30px;
    transition: all 0.2s ease;
    background-color: #eeeef1;
}

.event-item:hover {
    border-color: #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.event-item.hidden {
    display: none;
}

/* Badge */
.event-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.event-badge.atelier {
    background: var(--main-color);
    color: var(--ter-color);
    letter-spacing: 0.1rem ;
    
}

.event-badge.evenement {
    background: var(--sec-color);
    color: var(--main-color);
     letter-spacing: 0.1rem ;
}

/* Titre */
.event-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-title a {
    color: inherit;
    text-decoration: none;
}

.event-title a:hover {
    color: #666;
}

/* Métadonnées */
.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.meta-date,
.meta-lieu {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Extrait */
.event-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Lien */
.event-link {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.event-link:hover {
    color: #666;
}

/* Aucun événement */
.no-events {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .events-header {
        padding: 40px 0 30px;
    }
    
    .events-header h1 {
        font-size: 2rem;
    }
    
    .events-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .event-item {
        padding: 20px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/*****************End page événements********/

/**************page single event********/
/* Page single event */
.single-event-page {
    /* min-height: 100vh; */
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Article principal */
.event-detail {
    background: white;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* En-tête */
.event-header {
    padding: 40px;
    background: linear-gradient(135deg, var(--sec-color) 0%, var(--main-color) 100%);
    color: white;
    text-align: center;
}

.event-type-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.1rem;
}

.event-type-badge.atelier {
    background:  #c46543;
}

.event-type-badge.evenement {
    background: #248ea6;
}

.event-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.event-meta-primary {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    
}

/* Image mise en avant */
/* .event-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
} */

/* .event-featured-image img {
    /* width: 100%;
    height: 100%;
    object-fit: cover;
} */ 

/* Contenu principal */
.event-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 40px;
}

.event-main-content {
    min-height: 400px;
   
}

.event-description,
.event-details {
    margin-bottom: 40px;
}

.event-description h2,
.event-details h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    /* color: #333;
    border-bottom: 2px solid #667eea; */
    padding-bottom: 10px;
}

.event-content {
    line-height: 2;
    font-size: 1.1rem;
    
}

.details-grid {
    display: grid;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: 600;
    color: #555;
}

.detail-value {
    color: #333;
}

/* Sidebar */
.event-sidebar {
    position: relative;
}

.event-card-pricing {
    position: sticky;
    top: 100px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

/* .event-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
} */

/* .event-price.free {
    color: #4caf50;
} */
 .btn-inscription {
    display: block;
    width: 100%;
    padding: 15px;
    background:  #639065;;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.btn-inscription:hover {
    background: #dbd4d4;
    transform: translateY(-2px);
}

/* .btn-inscription.disabled {
    background: #ccc;
    cursor: not-allowed;
} */

/* .btn-inscription.disabled:hover {
    transform: none;
} */

.event-quick-info h3 {
    margin-bottom: 15px;
    color: #333;
}

.event-quick-info ul {
    list-style: none;
}

.event-quick-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #555;
}

/* Footer */
.event-footer {
    padding: 40px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.event-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--sec-color);
    color: white;
    border-color: var(--sec-color);
}

.nav-link.back {
    background: var(--sec-color);
    color: white;
    border-color: var(--sec-color);
}


/* Responsive */
@media (max-width: 968px) {
    .event-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .event-card-pricing {
        position: static;
    }
}

@media (max-width: 768px) {
    .event-header {
        padding: 30px 20px;
    }
    
    .event-title {
        font-size: 2rem;
    }
    
    .event-meta-primary {
        flex-direction: column;
        gap: 15px;
    }
    
    .event-content-wrapper {
        padding: 30px 20px;
    }
    
    .event-featured-image {
        height: 300px;
    }
    
    .event-navigation {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
  table {width:100%;}
  thead {display: none;}
  tr td:first-child {background: #f0f0f0; font-weight:bold; font-size:1.3em;}
  tbody td {display: block;  text-align:center;}
  tbody td:before {
    content: attr(data-th);
    display: block;
    text-align:center;
  }
}

/* Styles de base */

.ressources-container h2{

  color: #7c7b7b;
  margin: 20px;
}
.ressources-container h2 span{
  font-size: 2rem;
    font-weight: 300;
    margin-bottom: 10px;
    color:var(--main-color);
}
.liste-ressources { 
  margin-top: 20px; 
  
}
.lien-ressource{
text-decoration: none;
}
.item-ressource { 

    padding: 15px; 
    margin-bottom: 15px; 
    border: 1px solid #ddd; 
    /* border-radius: 5px; */
}

.sous-titre { font-size: 1.1em; color: #373636; }
.categorie-ressource { 
    
    display: inline-block; 
    background: #f0f0f0; 
    padding: 2px 8px; 
    border-radius: 3px; 
    font-size: 0.8em; 
    margin-top: 8px;
   
}

.categories-list {
  display:inline-block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #cccbcb;
    background-color: #222;
    padding: 5px;
    border-radius: 15px;
}

#filtre-categorie{
 /* Apparence et placement */
    display: block;
    margin: 0 auto;
    padding: 16px 30px; /* Contrôle la hauteur et l'espacement interne */

    /* Style visuel */
    background-color: #f3d1cd; /* --main-color */
    color: #3a3588; /* --sec-color */
    border: none;
    border-radius: 8px; /* Coins arrondis */
    
    /* Typographie */
    font-size: 1rem;
    font-weight: bold;
    
    /* Retire la flèche par défaut pour un style personnalisé */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
/*cookies*/
  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f7f9fc;
    padding: 16px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    font-family: Arial, sans-serif;
  }
  #cookie-banner p {
    margin: 0;
    flex: 1;
    color: #333;
  }
  #cookie-banner .buttons {
    margin-left: 16px;
  }
  #cookie-banner button {
    margin: 0 4px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
  }
  #cookie-banner button.accept {
    background-color: #0b2545;
    color: white;
  }
  #cookie-banner button.reject {
    background-color: #ccc;
    color: #333;
  }
  @media (max-width: 600px) {
    #cookie-banner {
      font-size: 14px;
      padding: 12px;
    }
    #cookie-banner button {
      margin-top: 8px;
      display: block;
      width: 100%;
    }
  }
  body.single-membre #menu-item-390, 
  body.single-event #menu-item-357,
  body.single-ressource #menu-item-523,
  body.single-post #menu-item-229
   

   {
 
  background-color: var(--sec-color);
  color:var(--main-color);
  border-radius: 20px;
}

.contact-section {
  background: linear-gradient(135deg, #fdf8f7 0%, #faf0ee 100%);
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(58, 53, 136, 0.1);
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  color: #3a3588;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.tagline {
  color: #eac6c0;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  margin-bottom: 50px;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  color: #3a3588;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #eac6c0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fdf8f7;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3a3588;
  background: white;
  box-shadow: 0 0 0 3px rgba(58, 53, 136, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, #3a3588 0%, #4a45a0 100%);
  color: white;
  border: none;
  padding: 16px 35px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(58, 53, 136, 0.3);
  background: linear-gradient(135deg, #4a45a0 0%, #3a3588 100%);
}

.send-icon {
  transition: transform 0.3s ease;
}

.submit-btn:hover .send-icon {
  transform: translateX(3px);
}




/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    padding: 30px 20px;
  }
  
  .contact-header h2 {
    font-size: 2rem;
  }
  body.single-membre #menu-item-390, 
  body.single-event #menu-item-357,
  body.single-ressource #menu-item-523,
  body.single-post #menu-item-229
   

   {
 
  background-color: var(--main-color);
  color:var(--sec-color);
  border-radius: 20px;
}
  
  
}

/* Single Resource Styles */
.resource-header {
    background: linear-gradient(135deg, #3a3588 0%, #2a275a 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.resource-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: whitesmoke;
}

.resource-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.resource-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.resource-category {
    background-color: #eac6c0;
    color: #2a275a;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.resource-date {
    color: rgba(255,255,255,0.8);
}

.resource-section {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    letter-spacing: 0.1rem ;
    line-height: 1.5;
    color:#333;

}

.section-title {
    color: #3a3588;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eac6c0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    letter-spacing: 0.1rem ;
    line-height: 1.5;
}

.content-grid {
    display: grid;
    gap: 1.5rem;
    
}

.use-case-item {
    background: #f8f4f3;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3a3588;
}

.use-case-item h4 {
    color: #3a3588;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resource-links {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.resource-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.resource-link:hover {
    border-color: #3a3588;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 53, 136, 0.1);
}

.link-icon {
    width: 45px;
    height: 45px;
    background: #eac6c0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: #3a3588;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.link-content h4 {
    color: #3a3588;
    margin-bottom: 0.5rem;
}

.link-content p {
    margin-bottom: 0.3rem;
    color: #666;
}

.link-content small {
    color: #888;
    font-size: 0.8rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .resource-header {
        padding: 2rem 0;
    }
    
    .resource-header h1 {
        font-size: 1.8rem;
    }
    
    .resource-section {
        padding: 1.5rem;
        
    }
    
    .resource-link {
        padding: 1rem;
    }
    
    .link-icon {
        width: 35px;
        height: 35px;
        margin-right: 1rem;
    }
}


