/* CSS spécifique à la page programme - Style inspiré de la plaquette */

.programme-hero {
    display: none;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 6rem 2rem 3rem;
    text-align: center;
    color: white;
    position: relative;
}

.programme-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.programme-info {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

/* Container principal avec bande latérale */
.programme-content {
    display: flex;
    min-height: 100vh;
    background: url('/images/all-hemp-hero-background.jpg') center/cover;
    position: relative;
    padding-top: 5.3rem;
}

.programme-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

/* Bande latérale verte */
.programme-sidebar {
    width: 120px;
    background: 
        linear-gradient(to bottom, rgba(76, 175, 80, 0.2), rgba(139, 195, 74, 0.5)),
        url('/images/all-hemp-hero-background.jpg') center/cover;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    top: 5.3rem;
    height: calc(100vh - 5.3rem);
    z-index: 2;
    padding-top: 2rem;
}

.sidebar-text {
    writing-mode: sideways-lr;
    text-orientation: mixed;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 8px;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
}

.sidebar-year {
    font-size: 2rem;
    font-weight: bold;
    font-family: var(--font-heading);
}

/* Contenu principal */
.programme-main {
    flex: 1;
    padding: 3rem;
    background: white;
    position: relative;
    z-index: 2;
    max-width: calc(100% - 120px);
}

.programme-main img {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 350px;
    height: auto;
}

.programme-title {
    text-align: center;
    margin-bottom: 3rem;
}

.programme-title h1 {
    color: #8BC34A;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 3px;
    /*margin-bottom: 0.5rem;*/
    font-family: var(--font-heading);
}

.programme-subtitle {
    /*color: #D2691E;*/
    color: #8BC34A;
    font-size: 2rem;
    font-weight: bold;
    /*margin-bottom: 1rem;*/
    /*font-style: italic;*/
}

.programme-intro {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Styles pour les journées */
.programme-day {
    margin-bottom: 4rem;
}

.day-header {
    background: #2E7D32;
    color: white;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.day-location {
    background: #4CAF50;
    color: white;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.day-subtitle {
    font-size: 1.3rem;
}

/* Sessions style plaquette */
.programme-schedule {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.session {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    align-items: flex-start;
}

.session-time {
    min-width: 100px;
    color: #D2691E;
    font-weight: bold;
    font-size: 0.95rem;
    padding-right: 2rem;
    font-family: var(--font-heading);
}

.session-content {
    flex: 1;
}

.session-content h3 {
    color: #2E7D32;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.session-content p {
    /*color: #666;*/
    color: rgb(169, 110, 98);
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
}

/* Sections spéciales */
.session.keynote .session-content h3 {
    background: #2E7D32;
    color: white;
    padding: 0.5rem 1rem;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.session.break {
    background: #f5f5f5;
    padding: 1rem;
    margin: 1rem 0;
    border: none;
}

.session.break .session-content h3 {
    color: #666;
    font-style: italic;
}

/* Styles pour le jour 2 - format plus compact */
.programme-tracks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Layout en colonnes pour le jour 2 en desktop */
@media (min-width: 865px) {
    /* 3 colonnes pour le matin */
    .day-2-columns-morning {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* 2 colonnes pour l'après-midi */
    .day-2-columns-afternoon {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .day-2-full-width {
        grid-column: 1 / -1;
    }
    
    .day-2-break {
        grid-column: 1 / -1;
        margin: 1rem 0;
    }
    
    /* Équilibrer la hauteur des colonnes */
    .day-2-columns-morning .track-section,
    .day-2-columns-afternoon .track-section {
        height: fit-content;
    }
    
    /* Headers spéciaux pour les sections temporelles */
    .day-2-full-width h3 {
        background: #4CAF50;
        color: white;
        padding: 1rem 2rem;
        margin: 0 0 2rem 0;
        font-size: 1.3rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: var(--font-heading);
        text-align: center;
    }
}

.track-section {
    border: 1px solid #e0e0e0;
}

.track-section h3 {
    background: #2E7D32;
    color: white;
    padding: 1rem 2rem;
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.track-section.full-day h3 {
    background: #2E7D32;
}

.track {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.track:last-child {
    border-bottom: none;
}

.track-header {
    margin-bottom: 1rem;
}

.track-header h4 {
    color: #2E7D32;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    font-family: var(--font-heading);
}

.location {
    background: #E8F5E8;
    color: #2E7D32;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.track p {
    /*color: #666;*/
    color: rgb(169, 110, 98);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.track p:last-child {
    margin-bottom: 0;
}

.track.featured {
    background: #f8f8f8;
}

/* Responsivité */
@media (max-width: 864px) {
    .programme-content {
        flex-direction: column;
        padding-top: 2.8rem;
    }
    
    .programme-main img {
        max-width: 240px;
    }
    
    .programme-sidebar {
        width: 100%;
        height: 80px;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 2rem;
        position: relative;
        top: auto;
        height: auto;
        padding-top: 0;
        justify-content: space-between;
    }
    
    .sidebar-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 0;
    }
    
    .sidebar-year {
        font-size: 2rem;
    }
    
    .session-content p {
        font-size: 1.2rem;
    }
    
    .session-content h3 {
        font-size: 1.4rem;
    }
    
    .programme-main {
        max-width: 100%;
        padding: 2rem 1rem;
    }
    
    .programme-title {
        margin-bottom: 1rem;
    }
    
    .programme-title h1 {
        font-size: 2rem;
    }
    
    .session {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem 0;
    }
    
    .session-time {
        min-width: auto;
        padding-right: 0;
        font-size: 1.4rem;
    }
    
    .day-header h2 {
        font-size: 2rem;
    }
    
    /* Mobile: layout linéaire pour le jour 2 */
    .day-2-columns-morning,
    .day-2-columns-afternoon {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .day-2-full-width h3 {
        background: #4CAF50;
        color: white;
        padding: 1rem;
        margin: 0 0 1.5rem 0;
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: var(--font-heading);
        text-align: center;
    }
    
    .day-2-break {
        margin: 1.5rem 0;
    }
}