
/* CSS dynamique pour la plateforme - Généré automatiquement */
/* Ne pas modifier manuellement - Les couleurs sont gérées depuis la base de données */

:root {
    --navbar-background-color: #d92200;
    --navbar-border-color: #d92200;
}

/* Application des variables CSS */
.navbar-inverse {
    background-color: var(--navbar-background-color) !important;
    border-color: var(--navbar-border-color) !important;
}

/* Styles pour le programme avec dégradé Summit Red - Clay Orange */
.programme-gradient {
    background: linear-gradient(135deg, #C5282F 0%, #D2691E 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.programme-gradient:hover {
    background: linear-gradient(135deg, #B0242A 0%, #C05A1A 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease;
}

/* Amélioration des cellules du programme */
.programme-cell {
    background: linear-gradient(135deg, #C5282F 0%, #D2691E 100%) !important;
    color: white !important;
    border: none !important;
}

.programme-cell:hover {
    background: linear-gradient(135deg, #B0242A 0%, #C05A1A 100%) !important;
}

/* Classe pour marges responsive */
.container-video {
    margin-top: 100px;
}

/* Styles pour les champs de texte du formulaire de contact */
.contact-grid input[type="text"] {
    background: white;
}

/* Styles pour le bouton d'inscription */
.btn-inscription {
    background: linear-gradient(135deg, #C5282F 0%, #D2691E 100%) !important;
    color: white !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 16px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(197, 40, 47, 0.3) !important;
}

.btn-inscription:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(197, 40, 47, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

.inscription-section {
    text-align: center;
    margin-top: 30px;
}

.inscription-section p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Design vidéo centrée et simple */
.video-section {
    background: #f8f9fa;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    width: 100%;
}

.video-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
}

.video-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #C5282F 0%, #D2691E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

.video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    border: none;
}

/* Masquer les éléments YouTube indésirables */
#youtube-player {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000;
}

#youtube-player iframe {
    width: 100% !important;
    height: 500px !important;
    border: none !important;
    display: block;
}

/* Masquer les suggestions et boutons de partage YouTube */
#youtube-player iframe {
    pointer-events: auto;
}

/* Styles pour masquer les éléments YouTube */
.video-wrapper {
    overflow: hidden;
    position: relative;
}

.video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* Responsive design */
@media (max-width: 1200px) {
    .video-container {
        max-width: 1000px;
    }
    
    .video-main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container-video {
        margin-top: 20px;
    }
    
    .video-section {
        padding: 40px 15px;
        min-height: 60vh;
    }
    
    .video-header {
        margin-bottom: 30px;
    }
    
    .video-main-title {
        font-size: 2rem;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
    
    .video-container {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .video-wrapper {
        height: 400px;
        padding-bottom: 0;
    }
    
    .video-wrapper iframe {
        height: 400px;
    }
    
    #youtube-player {
        height: 400px !important;
        min-height: 400px;
    }
    
    #youtube-player iframe {
        height: 400px !important;
        min-height: 400px !important;
    }
}

@media (max-width: 480px) {
    .container-video {
        margin-top: 20px;
    }
    
    .video-section {
        padding: 30px 10px;
        min-height: 50vh;
    }
    
    .video-main-title {
        font-size: 1.8rem;
    }
    
    .video-subtitle {
        font-size: 0.9rem;
    }
    
    .video-container {
        border-radius: 10px;
    }
    
    .video-wrapper {
        height: 300px;
        padding-bottom: 0;
    }
    
    .video-wrapper iframe {
        height: 300px;
    }
    
    #youtube-player {
        height: 300px !important;
        min-height: 300px;
    }
    
    #youtube-player iframe {
        height: 300px !important;
        min-height: 300px !important;
    }
    
    /* Styles responsive pour le bouton d'inscription */
    .btn-inscription {
        padding: 10px 25px !important;
        font-size: 14px !important;
    }
    
    .inscription-section {
        margin-top: 20px;
    }
    
    .inscription-section p {
        font-size: 13px;
    }
}
