
:root{
  --bg:#f6f7f9;
  --fg:#0f172a;
  --muted:#475569;
  --card:#fff;
  --primary:#2563eb;
  --red:#dc2626
}
        
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e6f0fa;
    color: #0a07cb;
}
header {
    background-color: #f7f9fa;
    color: rgb(7, 13, 179);
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.alerte .alert-danger{
  display: flex;
  flex-direction: row;
      align-items: center;
    justify-content: space-between;
    text-decoration: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    width: 400px;
    height: 410px;
    background-color: #e6f0fa;
    margin: 20px;
    display: inline-block;
    vertical-align: top;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
  
}

.logo {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
/* flex-direction: column; */
}
.logo img {
    max-height: 150px;

    margin-bottom: 1rem;
}
.titre {
display: flex;
justify-content: center;
text-align: center;
margin: 1rem 0;
flex-direction: column;
margin: 20px;
}

.titre h1 {
    font-size: 2rem;
    margin: 0.5rem 0;
}
.titre p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

nav {
    background-color: #005fa3;
    padding: 0.5rem;
    text-align: center;
}
.bloc-agisme .francetravail{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #f7f9fa;
    color: rgb(7, 13, 179);
    width: 93%;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    flex-wrap: wrap;

}
#menu-toggle {
  display: none;
}

/* Bouton burger */
.menu-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 30px;
  height: 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
  cursor: pointer;
  top: 25px;
    left: 25px;
    
}

.menu-btn span {
  display: block;
  height: 4px;
 background-color: rgb(7, 13, 179);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation en croix */
#menu-toggle:checked + .menu-btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle:checked + .menu-btn span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar */
.sidebar {
     position: fixed;
    top: 0;
    left: -284px;
    width: 153px;
    height: 35%;
    background-color: #06b6d4;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1000;
    color: white;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav li a {
  display: block;
  padding: 1rem;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #444;
}

/* Afficher la sidebar quand activée */
#menu-toggle:checked ~ .sidebar {
  left: 0;
}


nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: bold;
}
.banner,.status {
    background-color: #dff0d8;
    color: #2e6e3e;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}
.compteur{ 
    font-size: 4rem; 
    text-align: center; 
    text-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    font-weight: bold; 
    font-size: 20px;
    color:   #005fa3;
    
}
.compteur_ll{
    display: flex
;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
   
    color:var(--cdiBeige);
    h3{
        font-size: 20px;
        color: #377fdd;
    }
   
}
section {
    padding: 2rem;
    animation: fadeIn 0.6s ease-in;
}
.qui{
    display: flex;
    flex-direction: row;
    justify-self: unset;
    align-items: center;
    img{
        width: 150px;
        height: auto;
        margin-right: 20px;

    }
}
.article-unique{
      display: none;
    }
    
    .article-tous{
      display: block;
    }
.apropos {
    display: flex
;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: center;
}
  form input, form textarea {
        display: block;
        margin: 1rem 0;
        padding: 0.5rem;
        width: 95%;
        max-width: 500px;
    }

footer {
    background-color: #005fa3;
    color: white;
    text-align: center;
    padding: 1rem;
}
footer .social-icons a {
    margin: 0 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}
footer .social{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    color: white;
}
footer .social .fa-brands {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    color: white;
    text-decoration: none;
    width: 15px;
    height: 15px;
}

h1, h2 {
    color: #003366;
    margin: 20px;


}
.qui, .contact, .adhesion, .ag, .tribune, .statut, .contact, .mentions{
    background-color: #f7fbff;
    padding: 1rem;
    border: 1px solid #cce0f5;
    margin-bottom: 1rem;
    text-align: justify;

}
.adhesion-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 75%;
    justify-content: left;
    align-items: center;
    background-color: #f7fbff;
    padding: 1rem;
    border: 1px solid #cce0f5;
    margin-bottom: 1rem;
    text-align: justify;
    justify-self: center;
}

.bloc-agisme,.tribune ,.statut, .mentions{
  background: #fefefe;
  border-left: 6px solid rgb(12, 133, 219);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  font-family: "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #222;
  img{
    max-width: 95%;
    height: auto;
    margin: 1rem 0;

  }
}
.mentions h2,
.mentions h3 {
  color: #dc0489;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.statut h2,
.statut h3 {
  color: #dc0489;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.tribune h2,
.tribune h3 {
  color: #dc0489;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.bloc-agisme h2,
.bloc-agisme h3 {
  color: #dc0489;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  width: 95%;

}

.bloc-agisme p , .tribune p, .statut p ,.mentions p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.bloc-agisme ul {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}
.bloc-agisme ul {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}
.bloc-agisme img {
  margin-bottom: 0.6rem; 
  padding-left: 1.2rem;
  width: 95%;
}

.bloc-agisme ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b30000;
  font-weight: bold;
}

.bloc-agisme blockquote {
  background: #f9f9f9;
  border-left: 4px solid #aaa;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

.bloc-agisme strong {
  font-weight: 600;
  color: #000;
}
.tribune a img{
  width: 95%;

}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.defile {
  display: flex;
  flex-direction: wrap;
   ;

  justify-content: space-between;
  margin: 20px auto;
  max-width: 900px;
  padding: 10px;
}
/* --- Marquee (conteneur) --- */
.sa-marquee { position: relative; padding: .25rem 0 0; }
.sa-marquee__title { margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 700; }

/* Zone visible + masques dégradés aux bords */
.sa-marquee__viewport{
  position: relative; overflow: hidden; border-radius: .75rem;
}
.sa-marquee__viewport::before,
.sa-marquee__viewport::after{
  content:""; position:absolute; top:0; bottom:0; width:40px; z-index:2; pointer-events:none;
}
.sa-marquee__viewport::before{
  left:0; background:linear-gradient(to right, var(--sa-bg, #fff) 0%, transparent 100%);
}
.sa-marquee__viewport::after{
  right:0; background:linear-gradient(to left, var(--sa-bg, #fff) 0%, transparent 100%);
}

/* Bande défilante : on met deux fois la liste d’articles dans .sa-marquee__inner */
.sa-marquee__inner{
  display: flex; gap: .75rem; padding: .5rem .5rem; width: max-content;
  animation: sa-marquee 40s linear infinite;
}

/* Pause au survol ou si un élément a le focus (accessibilité clavier) */
.sa-marquee__viewport:hover .sa-marquee__inner,
.sa-marquee__viewport:focus-within .sa-marquee__inner{ animation-play-state: paused; }

/* Vitesse adaptative : tu peux ajuster la durée (40s) selon la longueur réelle */
@keyframes sa-marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% car contenu dupliqué */
}

/* --- Cartes --- */
.sa-card{
    display: flex
;
    flex-direction: column;
    min-width: clamp(220px, 45vw, 360px);
    max-width: 360px;
    padding: .85rem .9rem;
    border-radius: .75rem;
    text-decoration: none;
    color: inherit;
    background: #82bce6;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    transition: transform .2s ease, box-shadow .2s ease;
    justify-content: space-around;
    align-content: center;
    align-items: center;
  img{
    width:120px;
  }
}
.sa-card:focus{ outline: 3px solid #7cb8ff; outline-offset: 2px; }
.sa-card:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }

/* .sa-card__img{ width:100px; opacity:.8; margin-bottom:.25rem; } */
.sa-card__date{ font-size:.85rem; opacity:.8; margin-bottom:.25rem; }
.sa-card__title{ font-weight:800; line-height:1.2; margin-bottom:.25rem; font-size:1rem; }
.sa-card__desc{
  font-size:.92rem; line-height:1.35; opacity:.95;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Lien “Tous les articles” */
.sa-marquee__more{ display:inline-block; margin-top:.5rem; font-weight:600; }

/* Thème clair/sombre : adapte le fond de page si besoin via --sa-bg */
:root { --sa-bg: #fff; }


.container {
      max-width: 800px;
      margin: 0 auto;
  }
  
  .back-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: white;
      text-decoration: none;
      background: rgba(255,255,255,0.2);
      padding: 10px 20px;
      border-radius: 25px;
      margin-bottom: 30px;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
  }
  
  .back-btn:hover {
      background: rgba(255,255,255,0.3);
      transform: translateX(-5px);
  }
  
  .testimonial-detail {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }
  
  .testimonial-header {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      padding: 40px;
      text-align: center;
      position: relative;
  }
  
  .testimonial-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  }
  
  .avatar-large {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 36px;
      font-weight: bold;
      margin: 0 auto 20px;
      border: 4px solid rgba(255,255,255,0.3);
  }
  
  .testimonial-header h1 {
      font-size: 2.5em;
      margin-bottom: 10px;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  
  .testimonial-header .subtitle {
      font-size: 1.2em;
      opacity: 0.9;
      font-weight: 300;
  }
  
  .testimonial-content {
      padding: 40px;
  }
  
  .quote-icon {
      font-size: 60px;
      color: #667eea;
      opacity: 0.3;
      margin-bottom: 20px;
  }
  
  .content-text {
      font-size: 1.1em;
      line-height: 1.8;
      color: #444;
      text-align: justify;
      margin-bottom: 30px;
      font-style: italic;
  }
  
  .testimonial-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 30px;
      border-top: 2px solid #f0f0f0;
  }
  
  .testimonial-meta {
      color: #3fcff7;
  }
  
  .testimonial-date {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.95em;
  }
  
  .like-section {
      display: flex;
      align-items: center;
      gap: 15px;
  }
  
  .like-btn {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      border: none;
      padding: 12px 25px;
      border-radius: 25px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .like-btn:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  }
  
  .like-btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
  }
  
  .share-section {
      margin-top: 30px;
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid #eee;
  }
  
  .share-title {
      color: #84c3ec;
      margin-bottom: 15px;
      font-weight: 500;
  }
  
  .share-buttons {
      display: flex;
      justify-content: center;
      gap: 15px;
  }
  
  .share-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      text-decoration: none;
      color: white;
      transition: all 0.3s ease;
  }
  
  .share-btn.facebook { background: #3b5998; }
  .share-btn.twitter { background: #1da1f2; }
  .share-btn.linkedin { background: #0077b5; }
  .share-btn.whatsapp { background: #25d366; }
  
  .share-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }
  
  @media (max-width: 768px) {
      .testimonial-header {
          padding: 30px 20px;
      }
      
      .testimonial-header h1 {
          font-size: 1.8em;
      }
      
      .testimonial-content {
          padding: 30px 20px;
      }
      
      .testimonial-footer {
          flex-direction: column;
          gap: 20px;
      }
      
      .share-buttons {
          flex-wrap: wrap;
      }
  }


@media (prefers-color-scheme: dark){
  :root { --sa-bg: #8eaafa; }
  .sa-marquee__viewport::before{ background:linear-gradient(to right, var(--sa-bg) 0%, transparent 100%); }
  .sa-marquee__viewport::after{ background:linear-gradient(to left, var(--sa-bg) 0%, transparent 100%); }
}

/* Réduction des animations si l’utilisateur préfère moins de mouvement */
@media (prefers-reduced-motion: reduce){
  .sa-marquee__inner{ animation: none; }
  .sa-marquee__viewport{ overflow:auto; scroll-behavior: auto; }
}

.defile .precedent a, .defile .suivant a, .defile .tous a{
  background-color: #a2d2f4;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.defile .precedent a:hover, .defile .suivant a:hover, .defile .tous a:hover{
  background-color: #a1c8f0;
} 


.bloc-agisme, .mentions, .tribune, .statut {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}
  .group {
    display: flex;
    justify-content: center;

        align-items: center;
    justify-content: space-between;
    text-decoration: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    width: 100%;
    height: 500px;
    background-color: #e6f0fa;
    margin: 20px;
    display: inline-block;
    vertical-align: top;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden; /* Empêche l'image de dépasser */
  }

  .group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 0 top -100px; /* décale l'image 50px vers le haut */
  }

  .content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    box-sizing: border-box;
    
    min-height: calc(100vh - 496px);
    width: 100%;
   
    background-color: #e6f0fa;
    padding: 50px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
  }

  .card {
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    width: 400px;
    height: 410px;
    background-color: #e6f0fa;
    margin: 20px;
    display: inline-block;
    vertical-align: top;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
  }
  .card-article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
   font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.2em;
    width: 95%;
    height: auto;
    background-color: #e6f0fa;
    margin: 18px;
    vertical-align: top;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    padding: 23px;
    gap: 10px;
    
  }
  .bloc-info{
    display: flex;
    flex-direction:row;
    width: 95%;
    justify-content: space-evenly;
     gap:30px;

    text-decoration: none;
   
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8em;
 
    height: auto;
    background-color: #e6f0fa;
    margin: 18px;
    /* display: inline-block; */
    padding:10px;

    border-radius: 20px;
      border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);

   
    

  }
  .info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* text-align: center; */
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.2em;
    width: 90%;
    height: 80%;
    background-color: #e6f0fa;
    margin: 18px;
    /* display: inline-block; */
    vertical-align: top;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    padding: 23px;
    gap:30px;
    flex-wrap: wrap;
    img{
     width:200px;
      /* max-height: 200px; */
    }
    
  }
  .info a{
        text-decoration: none;
        color: #073170ff;
        font-weight: 700;
  }


  .info:hover {
    transform: scale(1.10);
    background-color: #5ebafcff;

  } 
  .info img:hover {
    transform: scale(1.3);
    transform: rotate(3.78deg);

    background-color: #5ebafcff;

  } 

  .card:hover {
    transform: scale(1.10);
    background-color: #5ebafcff;

  } 


  .card img {
    width:200px;
    height: 150px;
    object-fit: cover;
    border-radius: 20px 20px 20px 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.8);
    transform: rotate(-0.78deg);
    margin: 20px;
  }
  .card img:hover {
    transform: scale(1.3);
    transform: rotate(3.78deg);

    background-color: #5ebafcff;

  } 

  .card-title {
    font-size: 30px;
    font-weight: 700;

    color: #073170ff;
    margin: 10px;
    letter-spacing: -2px;
  }

  .card-description {
    font-size: 20px;
    
    color: #111;
    letter-spacing: -0.4px;
      word-wrap: break-word; /* force le retour à la ligne si un mot est trop long */
    overflow-wrap: break-word; /* version moderne */
    text-align: justify;
    line-height: 1.5;
    color: #333;
    font-size: 1.7em;
    font-weight: 600;
    margin: 10px 10px;

    }
  .card a{
        text-decoration: none;
        color: #073170ff;
        font-weight: 700;
  }


/* Animation de fondu */
/*article_form*/
.section_article{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 95%;
    padding: 0rem;
    animation: fadeIn 0.6s ease-in;
    position: relative;
    margin-top: 10px;
}

  .article_form{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: aupx;
        /* max-height: 90vh; */
        margin: 13px auto;
        padding: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        background-color: #f9f9f9;
        width: 90%; 
    }
    .article_form form {
      display: flex ;
        flex-direction: column;
        flex-wrap: wrap;

        width: 100%;
        justify-content: center;
        align-items: center;

    }
    

    .article_form h1 {
        text-align: center;
        margin-bottom: 20px;
    }
    .article_form label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
    }
    .article_form input[type="text"], .article_form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }
    .validation{
      margin-bottom: 20px;
    }
    .role{
          width: 50%;
      font-size: 30px;
      color: rgb(8, 8, 99);
      height: 60px;
    }

    .article_form .role select{
        width: 100%;
      /* height: 54px; */
      /* padding: 20px; */
      margin: 20px;
      font-size: 26px;
      color: rgb(15, 15, 181);
    }
    
    .article_form button {
        background-color: #4CAF50;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    .article_form button:hover {
        background-color: #45a049;
    }




@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .entete {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .logo {
    flex-direction: column;
    align-items: center;
  }
  
  .content {
    flex-direction: column;
    align-items: center;
  }
  .content a{
    justify-content: center;
    width: 86%;
    text-align: center;
    margin: 10px 0;  
    height: auto;

  }

  .card {
    width: 90%;
    height: 30%;
    
  }
  .card-article {
    
    height: auto;
    margin: 10px 0;
  }
  
  .card img {
    width: 50%;
    height: auto;
  }
  .card-title {
    font-size: 1.5em;
  }
  .card-description {
    font-size: 1.2em;
  }
  .group {
    width: 90%;
 
  }
  .group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .bloc-agisme {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .bloc-agisme h2,
  .bloc-agisme h3 {
    font-size: 1.2rem;
  }
}
/* Responsive uniquement */
@media (min-width: 769px) {
  .bloc,
  .menu-btn,
  .sidebar {
    display: none;
  }
}

@media screen and (max-width: 768px) {
    header{
        display: flex
;
        position: relative;
        width: 93%;
        justify-content: center;
        align-items: center;

    }
    .bloc {
      display: none;
        
        
    }
    #menu-toggle:checked ~ .bloc {
      display: block;
      width: 127px;
      height: 100px;
               background-color: #f8f9fa;

    } 
    nav{
        display: none;
    }
    /* Responsive uniquement */
    .menu-icon {
        display: block;
    }


    aside {
       
        display: block;
 
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 149px;
        height: 256px;
        background-color: #005fa3;
        color: white;
        padding: 1rem;
        z-index: 1000;
        list-style-type: none;

        a {
            text-decoration: none;
            color: white;
            font-size: 1.3em;
            gap: 10px;
            display: block;
            margin: 0.5rem 0;
            text-align: left;
        }
        li{
            list-style-type: none;

        }
    }
    section {
        padding: 1rem;
    }
    form input, form textarea {
        display: block;
        margin: 1rem 0;
        padding: 0.5rem;
        width: 95%;
        max-width: 500px;
    }
    .tribune{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        margin: 1rem auto;
        max-width: 90%;

    }
    .tribune a img{
      width: 95%;
      
    }
 
    .card {
   
      width: 100%;
      margin: 10px 0;
    }

    

      .footer .social-icons {
        flex-direction: column;
      }
    
  

}
