h2 {
    position: relative;
    padding-left: 20px; /* Espace pour le trait */
    line-height: 1.2;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background-color: var(--color-secondary-accent);
    border-radius: 2px;
}

/* --- Section Ateliers --- */
.ateliers-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.atelier-info-card, .calendar-card {
    background: #fff;
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
}

/* --- Prochain Evènement --- */
.next-event-section .container {
    display: flex;
    flex-direction: column;
}

.events-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.event-image-container {
    position: relative;
    width: 100%;
    height: 350px; /* Hauteur fixe pour uniformité */
    overflow: hidden;
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre l'image pour remplir le conteneur */
    display: block;
}

.btn-full-width {
    display: block;
    width: 100%;
    padding: 0.7rem;
    background-color: var(--color-secondary-accent);
    color: white !important;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: 0.3s ease;
}

.btn-full-width:hover {
    background-color: #e0ac00;
}

.event-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary-accent);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
}

.event-btn-overlay {
    position: absolute;
    bottom: 25px;
    right: 20px;
}

.image-gallery {
    width: 400px;
    height: 400px; /* Hauteur fixe pour uniformité */
    overflow: hidden;
    border-radius: 20px;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre l'image pour remplir le carré */
    display: none;
}

.image-gallery img.active {
    display: block;
}

.gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.gallery-section {
    margin-bottom: 2rem;
}
/* Form Separator */
.form-separator {
    width: 100%;
    height: 2px;
    background-color: black;
    margin: 2rem 0;
}