@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* ===== BASE ===== */
.programmes-content {
    font-family: 'Roboto', sans-serif;
    max-width: 800px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

/* ===== EN-TÊTE ===== */
.programmes-header {
    text-align: center;
    margin: 20px auto;
    max-width: 300px; /* ← limite la largeur de la bordure */
    padding-bottom: 10px;
    border-bottom: 2px solid #F23054;
}

.programmes-title {
    font-size: 24px;
    font-weight: 700;
    color: #F23054;
    margin: 0;
}

/* ===== ONGLETS JOURS ===== */
.jours-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center; /* ← ajouter */
}
.jour-tab {
    padding: 10px 18px;
    background: white;
    color: #595959;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}
.jour-tab:hover {
    border-color: #F23054;
    color: #F23054;
}
.jour-tab.active {
    background: #F23054;
    color: white;
    border-color: #F23054;
}

/* ===== SECTION JOUR ===== */
.jour-section {
    display: none;
    max-width: 700px;    /* ← ajouter */
    margin: 0 auto;      /* ← ajouter */
}
.jour-section.active {
    display: block;
}
.jour-titre {
    font-size: 20px;
    font-weight: 700;
    color: #595959;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F2F2F2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.jour-titre::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: #118e88;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ===== LIGNE D'ÉMISSION ===== */
.emission-ligne {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s;
}
.emission-ligne:hover {
    box-shadow: 0 3px 12px rgba(242, 48, 84, 0.12);
}

/* Heure */
.emission-heure {
    font-size: 16px;
    font-weight: 700;
    color: #F23054;
    min-width: 55px;
    text-align: center;
    flex-shrink: 0;
}

/* Séparateur vertical */
.emission-ligne::after {
    content: '';
    display: block;
}

/* Vignette */
.emission-vignette {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.emission-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

/* Infos */
.emission-info {
    flex: 1;
}
.emission-nom {
    font-size: 15px;
    font-weight: 700;
    color: #595959;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .programmes-title {
        font-size: 24px;
    }
    .jour-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
    .emission-heure {
        font-size: 14px;
        min-width: 45px;
    }
    .emission-nom {
        font-size: 13px;
    }
}