/* Réinitialisation */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
}

/* Fond d'écran */
.background-container {
    background-image: url('RHT-site1.png'); /* REMETTRE LA PHOTO ICI */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* --- L'EN-TÊTE (Accueil) --- */
.header-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 40px;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1500px;
}

.header-left { flex: 1; display: flex; justify-content: flex-start; }
.header-right { flex: 1; }
.header-center { flex: 0 0 auto; display: flex; justify-content: center; z-index: 10; }

.logo-rht-gauche { 
    max-width: 250px; 
    height: auto; 
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.6)); 
}

/* --- DESIGN DES PANNEAUX (Pro) --- */
.pro-panel {
    background-color: rgba(15, 15, 15, 0.85); 
    border-top: 4px solid #FF7043; 
    border-radius: 2px; 
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.panel-title {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    text-align: center;
}

.player-container {
    background-color: #000;
    padding: 5px; 
}

.divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 25px 0;
}

/* --- BOUTONS --- */
.btn-pro {
    background-color: #FF7043;
    color: #FFFFFF;
    padding: 14px 28px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 2px; 
    text-transform: uppercase;
    transition: background-color 0.2s, transform 0.1s;
    border: none;
    display: inline-block;
}

.btn-pro:hover {
    background-color: #E64A19;
}

/* --- PAGE VIDÉO SPÉCIFIQUE --- */
.top-bar { 
    width: 100%; 
    padding: 20px 40px; 
    box-sizing: border-box; 
    display: flex; 
    justify-content: space-between; /* Logo à gauche, bouton à droite */
    align-items: center;
}

.logo-top-left {
    max-width: 160px; /* Plus petit que sur l'accueil */
    height: auto;
    filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.6));
}

.btn-back {
    background-color: rgba(15, 15, 15, 0.85);
    border-left: 4px solid #FF7043;
    padding: 10px 20px; /* Retréci par rapport au bouton principal */
    font-size: 0.9rem;  /* Texte légèrement plus petit */
}

.btn-back:hover {
    background-color: #FF7043;
}

.video-page-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; padding: 20px; box-sizing: border-box; }
.video-panel { width: 85%; max-width: 1200px; padding: 20px; }
.large-video-wrapper { width: 100%; aspect-ratio: 16 / 9; background-color: black; }

/* --- LE TEXTE CENTRAL (Accueil) --- */
.main-content {
    text-align: center;
    margin-top: auto; 
    margin-bottom: auto;
    padding: 20px;
}

.maintenance-title {
    color: #FFEB3B;
    font-family: 'Georgia', serif;
    font-size: 5rem;
    font-weight: bold;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-shadow: 3px 3px 0 #A02020, 5px 5px 0 #A02020, 6px 6px 5px rgba(0,0,0,0.5);
}

.maintenance-text {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), -1px -1px 4px rgba(0,0,0,0.9);
}

.highlight-orange { color: #FF7043; }

/* Pied de page et animation */
.footer-section { padding: 20px; color: #FFFFFF; font-size: 0.9rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); text-align: center; }
.fade-in { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- ADAPTABILITÉ POUR LES TÉLÉPHONES --- */
@media (max-width: 1100px) {
    .header-content { flex-direction: column; align-items: center; gap: 30px; }
    .header-left, .header-right { width: 100%; justify-content: center; }
    .header-right { display: none; }
    .pro-panel { width: 100%; max-width: 505px; padding: 20px 15px; }
    .player-container iframe { max-width: 100%; }
    .maintenance-title { font-size: 3.5rem; }
    .maintenance-text { font-size: 1.5rem; }
    
    /* Sur mobile, on empile le logo et le bouton retour */
    .top-bar { flex-direction: column; gap: 15px; padding: 15px 20px; }
    .video-panel { width: 100%; }
}