.horaire {
    background-color: #F2F0FA;
    padding-block: 60px;
}

.horaire-header {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.horaire-label {
    display: inline-block;
    align-self: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7B2D8E;
    /* background-color: #E3F2FB; */
    padding: 4px 12px;
    border-radius: 999px;
}

.horaire-header h2 {
    font-size: 1.8rem;
    color: #2d1b4e;
}

.horaire-header p {
    color: var(--color-text);
    line-height: 1.6;
}

/* Onglets */
.horaire-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 32px 0;
}
.horaire-tab {
    background-color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.horaire-tab.is-active {
    background-color: #C60D0F;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.8) 0px 2px 4px 0px inset;
}

/* Panneaux d'horaire : un seul visible à la fois (géré par horaire.js) */
.horaire-panel {
    display: none;
    background-color: #fff;
    border-radius: 20px;
    padding: 8px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.horaire-panel.is-active {
    display: block;
}

.horaire-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}
.horaire-row:last-child {
    border-bottom: none;
}
.horaire-time {
    flex-shrink: 0;
    font-weight: 700;
    color: #B03A8F;
    font-size: 0.85rem;
}

.horaire-todo {
    padding: 32px 0;
    color: var(--color-text);
    font-style: italic;
    text-align: center;
}

.horaire-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--color-text);
}

@media (min-width: 640px) {
    .horaire-row {
        flex-direction: row;
        align-items: baseline;
        gap: 16px;
    }
    .horaire-time {
        width: 160px;
    }
}
