/* style.css */

/* --- En-tête ministériel responsive --- */
.ministry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #fff;
  padding: 10px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.ministry-header-text {
  flex: 1;
  min-width: 200px;
}

.ministry-header-text p {
  margin: 4px 0;
  font-size: 0.9rem;
  line-height: 1.3;
}

.ministry-header-logo img {
  max-width: 120px;
  width: 100%;
  height: auto;
}

/* Passage sur mobile : on empile */
@media (max-width: 600px) {
  .ministry-header {
    flex-direction: column;
    text-align: center;
  }
  .ministry-header-logo {
    margin-top: 10px;
  }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f0f2f5;
    color: #333;
  }
  
  .container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  h1 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
  }
  
  .buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .buttons input[type="radio"] {
    display: none;
  }
  
  .buttons label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 2px solid #228B22;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    transition: background 0.3s, color 0.3s;
  }
  
  .buttons label::before {
    content: '';
    position: absolute;
    top: 8px;
    left: calc(50% - 10px);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #f9f9f9;
    transition: border-color 0.3s;
  }
  
  .buttons input[type="radio"]:checked + label {
    background: #228B22;
    color: #fff;
  }
  
  .buttons input[type="radio"]:checked + label::before {
    border: 4px solid gold;
    background: #fff;
  }
  
  .info-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .info-card p {
    margin: 12px 0;
    font-size: 1rem;
  }
  
  .info-card p span.value {
    font-weight: 600;
  }
  
  .ticket-count {
    width: 60px;
    height: 60px;
    margin: 10px auto;
    border: 3px solid #e60000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #e60000;
    font-weight: bold;
  }
  
  .alert-box {
    display: none;
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .btn-subscribe {
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px 0;
    padding: 12px;
    background: #228B22;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .btn-subscribe:hover {
    background: #186916;
  }
  
  form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    display: none;
  }
  
  form.active {
    display: block;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
  }
  
  form input,
  form select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
  }
  
  form button {
    padding: 10px 20px;
    background: #228B22;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 15px;
    }
    h1 {
      font-size: 1.4rem;
    }
    .buttons label {
      font-size: 0.8rem;
    }
  }
  
  