    /* Seynod Roller Hockey */
/* Auteur : Aurel / Dernière maj : juillet 2025 */
    
    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background-color: #fff;
      color: #000;
    }
    a {
      color: #d51217;
      text-decoration: none;
    }
    nav {
      background-color: #000;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
      position: sticky;
      top: 0;
      z-index:100;
    }
    nav img.logo {
      max-height: 40px;
    }
    nav ul {
      list-style: none;
      display: flex;
      gap: 1rem;
      margin: 0;
      padding: 0;
    }
    nav ul li a {
      color: white;
      text-decoration: none;
      font-weight: 300;
      transition: color 0.3s;
    }
    nav ul li a:hover {
      color: #d51217;
    }
    .mobile-logo-text {
      display: none; /* caché par défaut */
      color: white;
      font-weight: 600;
      font-size: 1.1rem;
      font-family: 'Poppins', sans-serif;
    }
    @media (max-width: 768px) {
      nav ul {
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 60px;
        right: 0;
        display: none;
        padding: 1rem;
        
        
      }
      nav ul.show {
        display: flex;
      }
      nav .menu-toggle {
        cursor: pointer;
        font-size: 1.5rem;
        color: white;
      }
      .header-text {
      display: none;
      }
      .mobile-logo-text {
        display: inline-block; /* affiche le texte */
      }

      th, td {
      font-size: 0.85rem;
      }
    }
    header {
      background-image:
      url('img/bg-banner-blanc-trsp.png'),
      linear-gradient(to bottom, #600a0a, #d51217);
      
      background-size: cover;         /* couvre toute la zone */
      background-repeat: no-repeat;   /* évite les répétitions */
      background-position: center;    /* centre l'image */
      color: white;
      text-align: center;
      padding: 2rem 1rem 2rem;
    }
    header img.logo {
      max-width: 220px;
      filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.35));
      /* margin-bottom: 1rem; */
      
    }
    header h1 {
      margin: 0;
      font-size: 2.2rem;
      font-weight: 700;
    }
    header p {
      margin: 0 0 0 0;
      font-weight: 700;
      font-size:1.5rem;
      filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.35));
    }
    
    section {
      padding: 2rem 1rem;
      max-width: 960px;
      margin: auto;
    }
    section:nth-child(even):not(#activites):not(#sponsors) {
      background: linear-gradient(to bottom, #eee, #f3f3f3);
    }
    h2 {
      font-weight: 300;
      font-size: 1.8rem;
      margin-bottom: 1rem;
      color: #d51217;
    }
    h3 {
      margin: 0.25rem 0 1rem;
      
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      padding: 1rem 0;
    }
    .grid-item {
      display: flex;
      gap: 1rem;
      background: linear-gradient(to bottom, #dfdfdf, #f3f3f3);
      padding: 1rem;
      border-radius: 8px;
      align-items: flex-start;
      box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.25);
      font-size:0.85rem;
    }

    .grid-article {
      display: block;    
    }

    .article {
      display: flex;
      flex-direction: row;
      gap: 1.5rem;
      align-items: flex-start;
    }
    .fond_blanc {
      background:#FFF;
    }

    .grid-item img {
      width: 100px;
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
    }

    .grid-item img.docs {
      height: 100px;
    }

    .grid-item div {
      flex: 1;
    }
    table {
      width: 100%;
      table-layout: fixed;
      border-collapse: collapse;
      margin-top: 1rem;
    }
    th, td {
      padding: 0.75rem;
      text-align: left;
      border-bottom: 1px solid #ccc;
      word-wrap: break-word;
    }
  


  /* Largeur spécifique des colonnes */
  .table-tarifs th:first-child,
  .table-tarifs td:first-child {
    width: 60%;
  }

  /* Les deux autres se partagent le reste */
  .table-tarifs th:nth-child(2),
  .table-tarifs td:nth-child(2)
  {
    width: 40%;
  }

    footer {
      background: #000;
      color: #fff;
      padding: 2rem 1rem;
      font-size: 0.9rem;
    }

    footer a{
      color:#FFF;
      text-decoration: underline;
    }
    .footer-grid {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-content {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      flex: 1 1 300px; /* pour que ça wrappe proprement sur petits écrans */
    }

    .footer-logo {
      width: 80px;
      height: auto;
      flex-shrink: 0; /* empêche le logo de rétrécir */
    }

    .footer-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      line-height: 1.3; /* au lieu de la valeur par défaut (souvent 1.6) */
    }

    .footer-text p {
      margin: 0; /* supprime la marge par défaut */
      padding: 0.2rem 0; /* si tu veux juste un petit espacement régulier */
    }

    form input, form textarea {
      width: 100%;
      padding: 0.75rem;
      margin-bottom: 1rem;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-family: 'Poppins', sans-serif;
    }
    form button {
      background: #d51217;
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 4px;
      cursor: pointer;
      font-weight: bold;
    }
    form button:hover {
      background: #a50f12;
    }
    #topBtn {
      position: fixed;
      bottom: 20px;
      right: 15px;
      z-index: 100;
      background-color: #d51217;
      color: white;
      border: none;
      padding: 10px 13px;
      border-radius: 50%;
      font-size: 18px;
      cursor: pointer;
      display: none;
    }
    #topBtn:hover {
      background-color: #a50f12;
    }
 .fb-wrapper {
  width: 100%;
  max-width: 100%;
  margin:auto;
}

.fb-page {
  width: 100% !important;
  display: block;
}

hr.separateur {
  border: none;
  height: 1px;
  background: #d9d9d9;
  margin: 1.5rem 0;
}

.horaire-jour {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow:  0 6px 10px -4px rgba(0, 0, 0, 0.25);
}

.toggle-btn {
  width: 100%;
  background-color: #fff;
  color: #333;
  padding: 12px 16px;
  text-align: left;
  font-weight: bold;
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toggle-btn:hover {
  background-color: #fff;
}

.icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.horaire-jour.active .icon {
  transform: rotate(180deg);
}

.horaire-contenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
  background-color: #fff;
}

.horaire-jour.active .horaire-contenu {
  max-height: 800px;
  padding: 0 1rem 1rem;
}

.horaire-jour.active .toggle-btn {
  background-color: #dfdfdf;
}

.horaire-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 0.90rem;
  color: #333;
}

.horaire-table th, .horaire-table td {
  border-bottom: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}

.horaire-table th {
  background-color: #fff;
  font-weight: bold;
}

/* Largeur spécifique des colonnes */
  .horaire-table th:first-child,
  .horaire-table td:first-child {
    width: 60%;
  }

  /* Les deux autres se partagent le reste */
  .horaire-table th:nth-child(2),
  .horaire-table td:nth-child(2)
  {
    width: 40%;
  }
  .horaire-table tr:last-child td {
  border-bottom: none;
  }

.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background-image:
      url('img/bg-banner-noir-trsp.png'),
      linear-gradient(to bottom, #fff, #dfdfdf);
  background-size: cover;         /* couvre toute la zone */
  background-repeat: no-repeat;   /* évite les répétitions */
  background-position: center;    /* centre l'image */
  padding: 2rem;
  margin: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  max-width: 500px;
  width: 90%;
  position: relative;
}



#popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  color: #333;
}
.popup-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1rem;
}

.popup-img {
  width: 60px;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.25));
} 