/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --color-orange: #EF3C01;
    --color-orange-alt: #ff3200;
    --color-bg-main: #222222;
    --color-bg-dark: #171717;
    --color-bg-card: #252525;
    --color-text-main: #B6B6B6;
    --color-text-muted: #999999;
    --color-white: #FFFFFF;
    
    --font-main: 'Scada', sans-serif;
    --header-height: 90px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    background-color: var(--color-bg-main);
    background-image: url('../images/bgr_test.jpg'); 
    background-attachment: scroll;
    background-position: center;
    font-family: var(--font-main);
}

img { 
    border: 0; 
    max-width: 100%;
}

.orange { 
    color: #666666;
    font-weight: bold;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.header {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-bg-dark);
}
    
#logo,
#logo a {
    cursor: pointer;
    z-index: 999;
    position: fixed;
    left: 28px;
    top: 15px;
    margin: 0;
    width: 161px;
    height: 65px;
}

.menu {
    position: fixed;
    top: 0; 
    right: 0;
    width: 100%;
    height: var(--header-height);
    text-align: right; 
    vertical-align: middle;
}

/* ==========================================================================
   2. HEADER & NAVIGATION DESKTOP
   ========================================================================== */

/* Items du menu standard */
div.linkmenu {
    position: relative;
    float: right;
    width: 100px;
    height: 90px;
    background-color: var(--color-bg-dark);
    /* Ligne verticale de séparation subtile à gauche */
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

div.linkmenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 5px;
    color: var(--color-text-main);
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Ligne orange au-dessus du menu (top: 0) */
div.linkmenu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-orange);
    opacity: 0;
    transition: opacity 0.2s ease;
}

div.linkmenu a:hover,
div.linkmenu a.current {
    color: var(--color-white);
    background-color: #1f1f1f;
}

div.linkmenu a:hover::after,
div.linkmenu a.current::after {
    opacity: 1;
}

/* Item "TICKETS" (Case entièrement orange) */
div.linkmenu2 {
    float: right;
    width: 100px;
    height: 90px;
    background-color: var(--color-orange);
    /* Séparateur subtil à gauche aussi pour isoler le bouton */
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

div.linkmenu2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-white);
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

div.linkmenu2 a:hover,
div.linkmenu2 a.current {
    background-color: #d63500;
    color: var(--color-white);
}

/* ==========================================================================
   3. HERO / HOME IMAGES
   ========================================================================== */
.ImgHome {
    position: relative;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height)) !important;
}

.ImgHome1 {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height)) !important;
    background-color: var(--color-bg-card);
    background-image: url('https://pict.myclubplasma.be/Galeries/4729/6H7A7822.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: -10;
    font-family: var(--font-main);
    text-align: left;
}

.ImgHome2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90vw;
    margin-top: -20px;
    text-align: center;
}

.ImgHome3 {
    z-index: 20;
    color: var(--color-white);
    font-size: 40px;
    font-weight: bolder;
    line-height: 50px;
}

/* ==========================================================================
   4. STRUCTURE & TYPOGRAPHIE
   ========================================================================== */
.content {
    position: relative;
    margin-top: 100px;
}
 
.centerwrapper {
    width: 97%;
    margin: 0 auto; 
} 

.centerwrapper p,
.centerwrapper li {
    color: var(--color-text-muted);
    font-size: 13px; 
    font-weight: normal;
}   

h1 {    
    margin: 0 5px 20px 5px;
    padding: 0;
    color: var(--color-text-main);
    font-size: 30px; 
    font-weight: normal;
}

h2 {
    margin: -12px 5px 20px 5px;
    padding: 0;
    color: var(--color-text-main);
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
}

h3 {
    margin: 0;
    padding: 0;
    color: var(--color-orange-alt);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

h4 {    
    padding-top: 30px; 
    padding-left: 25px;
    color: #D4D4D4; 
    font-size: 20px; 
    font-weight: normal;
}

h5 {    
    padding: 0;
    color: #555555; 
    font-size: 14px; 
    font-weight: normal;
}

div.pageFullHeight {
    float: left;
    margin-bottom: 70px;
}

div.pageFullHeight h1 {
    clear: both;
}

/* ==========================================================================
   5. MENU RESPONSIVE & MOBILE
   ========================================================================== */

/* Bouton Burger */
.icon-burger {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 36px;
    cursor: pointer;
    padding: 10px 20px;
    margin-top: 15px;
    transition: color 0.2s ease;
}

.icon-burger:hover {
    color: var(--color-orange);
}

/* Container du menu mobile (caché par défaut) */
.MenuResp {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg-dark);
    z-index: 99;
    overflow-y: auto;
}

/* Quand la fonction JS myFunction() bascule la classe / ou si tu gères via JS */
.MenuResp.open,
.menu.responsive .MenuResp {
    display: block;
}

/* Navigation en Flexbox vertical */
.menu-resp-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
}

/* Liens du menu mobile */
.menu-resp-link {
    display: block;
    padding: 15px 25px;
    color: var(--color-text-main);
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    text-align: right;
    border-top: 1px solid #222222;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-resp-link:hover,
.menu-resp-link:active {
    background-color: #252525;
    color: var(--color-white);
}

/* Bouton Tickets distinct sur mobile */
.menu-resp-link.btn-tickets {
    background-color: var(--color-orange);
    color: var(--color-white);
    margin-top: 10px;
}

.menu-resp-link.btn-tickets:hover {
    background-color: #d63500;
}

/* Container de la barre Newsletter (Badge sombre détaché) */
.news-top-bar {
    position: fixed;
    top: 102px;
    right: 15px;
    z-index: 90;
    background-color: #252525;
    padding: 6px 16px 6px 20px;
    
    /* Découpe biseautée propre */
    clip-path: polygon(15px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Label NEWS en orange pour rappeler la charte proprement */
.news-label {
    color: var(--color-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Alignement Flexbox du formulaire */
.subscribe-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.news-label {
    color: var(--color-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Groupe Champ + Bouton */
.news-input-group {
    display: flex;
    align-items: center;
    background-color: #171717;
    border: 1px solid #333333;
    border-radius: 3px;
    padding: 2px;
    overflow: hidden;
}

.subscribe-form .attributeinput {
    border: none;
    outline: none;
    padding: 4px 8px;
    font-size: 12px;
    font-family: var(--font-main);
    width: 130px;
    color: var(--color-white);
    background: transparent;
}

.subscribe-form .attributeinput::placeholder {
    color: #777777;
}

/* Bouton submit avec la touche orange */
.subscribe-form .submitbut {
    border: none;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.subscribe-form .submitbut:hover {
    background-color: #d63500;
}

/* Masquage automatique sur petits écrans */
@media screen and (max-width: 768px) {
    .news-top-bar {
        display: none;
    }
}


/* ==========================================================================
   6. MEDIA QUERIES (BREAKPOINT MOBILE/TABLET)
   ========================================================================== */
@media screen and (max-width: 992px) {
    /* Masquer le menu desktop horizontal */
    .linkmenu, 
    .linkmenu2 {
        display: none !important;
    }

    /* Afficher le bouton burger */
    .icon-burger {
        display: inline-block;
    }
    
    /* Masquer la bande newsletter sur très petits écrans si besoin */
    .news-top-bar {
        display: none;
    }
}

/* ==========================================================================
   BARRE DES RÉSEAUX SOCIAUX (Flottante en bas à droite)
   ========================================================================== */

.social-bar {
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(23, 23, 23, 0.85);
    padding: 6px 10px;
    border-radius: 25px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #252525;
    color: var(--color-white);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Effets au survol (Changement de couleur + léger bump) */
.social-link:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Optionnel : Masquer ou adapter sur très petits écrans si ça gêne le contenu */
@media screen and (max-width: 480px) {
    .social-bar {
        bottom: 8px;
        right: 8px;
        padding: 4px 8px;
        gap: 6px;
    }
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

/* Masquer le badge Google reCAPTCHA v3 */
.grecaptcha-badge { 
    visibility: hidden !important;
}

/* ==========================================================================
   FOOTER (SECTION PRINCIPALE)
   ========================================================================== */
.site-footer {
    background-color: var(--color-bg-dark, #171717);
    color: var(--color-text-main, #B6B6B6);
    padding-top: 50px;
    border-top: 3px solid var(--color-orange, #EF3C01);
    font-family: var(--font-main, 'Scada', sans-serif);
}

/* Grille 4 Colonnes */
.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Style des Titres de Colonnes */
.footer-col h4 {
    color: var(--color-white, #FFFFFF);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Listes de Liens */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col a {
    color: var(--color-text-main, #B6B6B6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover,
.footer-col a:hover {
    color: var(--color-orange, #EF3C01);
    padding-left: 4px;
}

/* Marges utilitaires */
.footer-col .margin-top-small { margin-top: 15px; }
.footer-col .margin-top-large { margin-top: 30px; }

/* Adresse */
.footer-col address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-muted, #999999);
}

/* Formulaire Newsletter Intégré au Footer */
.footer-col .subscribe-form {
    display: flex;
    gap: 5px;
}

.footer-col .subscribe-form .attributeinput {
    flex: 1;
    background-color: #252525;
    border: 1px solid #333333;
    padding: 8px 12px;
    color: #FFFFFF;
    border-radius: 3px;
    font-size: 12px;
    outline: none;
}

.footer-col .subscribe-form .attributeinput:focus {
    border-color: var(--color-orange, #EF3C01);
}

.footer-col .subscribe-form .submitbut {
    background-color: var(--color-orange, #EF3C01);
    color: #FFFFFF;
    border: none;
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.footer-col .subscribe-form .submitbut:hover {
    background-color: #d63500;
}

/* Réseaux Sociaux (Si vous gardez les balises <img>) */
.footer-col .social-links {
    display: flex;
    gap: 10px;
}

.footer-col .social-links img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-col .social-links img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   PARTENAIRES
   ========================================================================== */
.partner-section {
    background-color: #0f0f0f;
    padding: 25px 20px;
    border-top: 1px solid #222222;
}

.partner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.partner-item img {
    max-height: 35px;
    width: auto;
    /* Met tous les logos en nuances de blanc/gris pour une esthétique épurée */
    filter: grayscale(100%) brightness(1.5) opacity(0.5);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.05);
}

/* ==========================================================================
   OVERLAY DE CHARGEMENT (FREEZER)
   ========================================================================== */
#freezer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.freezer-inner img {
    width: 40px;
    height: 40px;
}

/* ==========================================================================
   RESPONSIVE FOOTER (MOBILE & TABLETTE)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .footer-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 576px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4 {
        border-bottom: none;
        margin-bottom: 10px;
    }

    .footer-col .subscribe-form {
        justify-content: center;
    }

    .footer-col .social-links {
        justify-content: center;
    }
}