*{margin:0;padding:0;box-sizing:border-box;}

body{
font-family:Arial;
background:linear-gradient(to bottom,#f4f1ea,#fff);
display:flex;
flex-direction:column;
height:100vh;
overflow:hidden; /* 🔥 STOP double scroll */
}

/* HEADER */
header{
background:linear-gradient(135deg,#4a2e00,#d4af37);
color:white;
padding:10px;
}

.header-row{
display:flex;
align-items:center;
justify-content:space-between;
max-width:1200px;
margin:auto;
}

.header-title{
font-size:22px;
font-weight:bold;
text-align:center;
flex:1;
}

#saisonTitle{
font-size:16px;
font-weight:normal;
display:block;
opacity:0.9;
}

/* LOGOS */
.logo-left,
.logo-right{
height:60px;
}

/* SAISONS */
.saison-bar{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
flex-wrap:wrap;
}

.saison-bar button{
margin:5px;
padding:8px 15px;
border:none;
background:#d4af37;
color:#4a2e00;
border-radius:8px;
cursor:pointer;
font-weight:bold;
}

.saison-bar button.active{
background:#4a2e00;
color:white;
}

/* BANDEAU */
#newsTicker{
display:flex;
align-items:center;
background:#111;
color:white;
height:38px;
overflow:hidden;
border-top:3px solid #d4af37;
border-bottom:3px solid #d4af37;
}

.ticker-label{
background:#c40000;
padding:6px 14px;
font-weight:bold;
animation:blink 1.2s infinite;
}

@keyframes blink{
0%{opacity:1}
50%{opacity:0.4}
100%{opacity:1}
}

.ticker-container{
overflow:hidden;
flex:1;
}

.ticker-text{
display:inline-flex;
gap:80px;
padding-left:100%;
animation:tickerMove 30s linear infinite;
font-weight:bold;
}

.ticker-text span{
white-space:nowrap;
}

#newsTicker:hover .ticker-text{
animation-play-state:paused;
}

@keyframes tickerMove{
0%{transform:translateX(0)}
100%{transform:translateX(-100%)}
}

/* MENU */
nav{
display:flex;
justify-content:center;
gap:10px;
background:#d4af37;
padding:10px;
flex-wrap:wrap;
}

nav a{
padding:8px 12px;
cursor:pointer;
font-weight:bold;
border-radius:6px;
}

nav a.active{
background:#4a2e00;
color:white;
}

#mainNav{
display:none;
}

/* MAIN */
main{
flex:1;
max-width:1200px;
margin:auto;
width:95%;
background:white;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
padding:15px;
overflow:hidden;
display:flex;
flex-direction:column;

position:relative;
}

/* CONTENU */
#homeContent{
flex:1;
display:flex;
}

#homeContent iframe{
width:100%;
height:100%;
border:none;
}

#seasonContent{
flex:1;
display:flex;
overflow:hidden;
}

#mainFrame{
width:100%;
height:100%;
border:none;
}

/* FOOTER */
footer{
background:#4a2e00;
color:white;
text-align:center;
padding:10px;
font-size:14px;
}
#closePdfBtn{
    position:fixed;
    top:150px;
    right:10px;
    width:30px;
    height:30px;
    display:none;
    align-items:center;
    justify-content:center;
    background:white;
    color:#000;
    border:1px solid #888;
    border-radius:50%;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    z-index:99999;
    box-shadow:0 3px 8px rgba(0,0,0,.25);
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

#closePdfBtn:hover{
    background:#f2f2f2;

    transform:scale(1.12);

    box-shadow:
        0 5px 12px rgba(0,0,0,.3);
}

#closePdfBtn:hover{
    background:#eee;
}