/* ========================================
   MAIN.STREAM.CSS — Design header/banner identique à locdj
   ======================================== */

/* Suppression du saut de ligne entre header et banner */
body {
    margin: 0;
    padding: 0;
}

#page-wrapper {
    padding-top: 0 !important;
}

article#main {
    padding-top: 0 !important;
}

/* HEADER */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: #2e3842;
    height: 3rem;
    line-height: 3rem;
    box-sizing: border-box;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

#header h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.225em;
    text-transform: uppercase;
    color: #fff;
    line-height: inherit;
}

#header h1 a {
    color: inherit;
    text-decoration: none;
    display: block;
    height: inherit;
    line-height: inherit;
    border: 0;
}

#header nav ul,
#header nav ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#header nav ul {
    display: flex;
    gap: 0;
    align-items: center;
}

#header nav ul > li {
    display: inline-block;
    vertical-align: middle;
}

#header nav ul > li > a {
    display: inline-block;
    padding: 0 1.25rem;
    color: inherit;
    text-decoration: none !important;
    border: 0 !important;
    line-height: inherit;
}

@media screen and (max-width: 980px) {
    #header { padding: 0 0.75rem; }
    #header nav ul > li > a { padding: 0 0.5rem; }
}

@media screen and (max-width: 736px) {
    #header { height: 2.5rem; line-height: 2.5rem; padding: 0 0.75rem; }
    #header h1 a { font-size: 0.9rem; }
    #header nav ul > li > a { padding: 0 0.5rem; }
}

/* BANNER */
#banner, section#banner {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 8em 0 2em 0;
    cursor: default;
}

#banner.ase-banner {
    position: relative;
    min-height: 100vh;
    height: auto;
}

/* Background image/video */
.header-bg-img, .header-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    pointer-events: none;
}

.header-bg-img.blur, .header-bg-video.blur {
    filter: blur(8px) brightness(0.7);
}

/* Banner content */
.banner-inner, #banner .inner {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo */
.ase-logo {
    width: 180px;
    max-width: 40vw;
    height: auto;
    margin-bottom: 1.2em;
    display: block;
}

/* Titre */
#banner h2, #banner .banner-inner h2, #banner .inner h2 {
    font-size: 2.5em;
    line-height: 1.05;
    margin: 0 0 0.5em 0;
    text-align: center;
}

/* Boutons header */
.header-buttons {
    margin: 1em 0 0.5em 0;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
}

.header-buttons .header-btn {
    background: #fff;
    color: #222;
    border-radius: 24px;
    padding: 0.5em 1.5em;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.header-buttons .header-btn:hover {
    background: #222;
    color: #fff;
}

/* Sous-titre */
.header-subtitle {
    font-size: 1.2em;
    margin: 1em 0 0.5em 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

/* Bouton "En savoir plus" */
#banner .more, #banner .more.scrolly {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2em;
    display: inline-block;
    font-size: 1.2em;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    padding: 0.5em 1.5em;
    text-decoration: none;
    transition: background 0.2s;
    z-index: 3;
}

#banner .more:hover, #banner .more.scrolly:hover {
    background: #3b1b4a;
    color: #ffffff;
}

/* RESPONSIVE BANNER */
@media screen and (max-width: 980px) {
    #banner, #banner.ase-banner {
        min-height: 80vh;
        padding: 6em 0 2em 0;
    }
    #banner h2 { font-size: 2em; }
    .ase-logo { width: 140px; }
    .header-subtitle { font-size: 1.1em; }
}

@media screen and (max-width: 736px) {
    #banner, #banner.ase-banner {
        min-height: 100vh;
        height: auto;
        padding: 5em 0 2em 0;
    }
    .banner-inner, #banner .inner {
        gap: 0.8rem;
        padding: 0 1rem;
        min-height: 70vh;
    }
    .ase-logo { width: 100px; margin-bottom: 0.5em; }
    #banner h2, #banner .banner-inner h2, #banner .inner h2 {
        font-size: 1.5em;
        margin: 0.3em 0;
    }
    .header-buttons { margin: 0.5em 0; gap: 0.5em; }
    .header-buttons .header-btn { padding: 0.4em 1em; font-size: 0.9em; }
    .header-subtitle { font-size: 1em; margin: 0.5em 0; max-width: 90%; }
    #banner .more, #banner .more.scrolly {
        position: relative;
        left: auto;
        transform: none;
        bottom: auto;
        margin: 0.8em auto 0;
        padding: 0.5em 1.2em;
        font-size: 1em;
        order: 5;
    }
    .header-bg-img, .header-bg-video {
        height: 100vh;
        width: auto;
        min-width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 736px) and (orientation: portrait) {
    #banner, #banner.ase-banner { min-height: 100vh; }
    .banner-inner, #banner .inner { min-height: 85vh; }
    .header-bg-img, .header-bg-video {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        height: 100vh !important;
        min-width: 100vw !important;
        object-fit: cover !important;
        background-size: auto 100% !important;
        background-position: center !important;
        z-index: 1 !important;
        filter: blur(8px) brightness(0.6) !important;
    }
}

/* Suppression décorations menu */
#header nav ul,
#header nav ul li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#header nav ul li::marker,
#header nav ul li::before {
    content: none !important;
    display: none !important;
}
/* ========================================
   CARRÉS GRIS AVEC VARIATIONS - PAGE STREAM
   ======================================== */

/* Sections spotlight - Carrés gris avec variations */
#two .spotlight,
.wrapper.alt.style2 .spotlight {
    background-color: #3a4550 !important;
    color: #fff !important;
    padding: 2em 0;
    margin: 0 !important; /* Suppression des marges entre matériels */
}

/* Variation de gris pour alterner - sélecteurs spécifiques pour surcharger main.css */
#two .spotlight:nth-child(1),
.wrapper.alt.style2 .spotlight:nth-child(1) {
    background-color: #3a4550 !important;
}

#two .spotlight:nth-child(2),
.wrapper.alt.style2 .spotlight:nth-child(2) {
    background-color: #2e3842 !important;
}

#two .spotlight:nth-child(3),
.wrapper.alt.style2 .spotlight:nth-child(3) {
    background-color: #3a4550 !important;
}

#two .spotlight:nth-child(4),
.wrapper.alt.style2 .spotlight:nth-child(4) {
    background-color: #2e3842 !important;
}

#two .spotlight:nth-child(5),
.wrapper.alt.style2 .spotlight:nth-child(5) {
    background-color: #3a4550 !important;
}

#two .spotlight:nth-child(6),
.wrapper.alt.style2 .spotlight:nth-child(6) {
    background-color: #2e3842 !important;
}

#two .spotlight:nth-child(7),
.wrapper.alt.style2 .spotlight:nth-child(7) {
    background-color: #3a4550 !important;
}

#two .spotlight:nth-child(8),
.wrapper.alt.style2 .spotlight:nth-child(8) {
    background-color: #2e3842 !important;
}

#two .spotlight:nth-child(9),
.wrapper.alt.style2 .spotlight:nth-child(9) {
    background-color: #3a4550 !important;
}

#two .spotlight:nth-child(10),
.wrapper.alt.style2 .spotlight:nth-child(10) {
    background-color: #2e3842 !important;
}

/* Contenu des spotlight */
#two .spotlight .content,
.wrapper.alt.style2 .spotlight .content {
    background-color: transparent !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 20px !important;
    text-align: justify !important;
}

/* Images sans marge */
#two .spotlight .image,
.wrapper.alt.style2 .spotlight .image {
    margin: 0 !important;
}

#two .spotlight .image img,
.wrapper.alt.style2 .spotlight .image img {
    margin: 0 !important;
    display: block;
}

/* Titres en blanc */
#two .spotlight h2,
#two .spotlight h3,
#two .spotlight h4,
.wrapper.alt.style2 .spotlight h2,
.wrapper.alt.style2 .spotlight h3,
.wrapper.alt.style2 .spotlight h4 {
    color: #fff !important;
    margin-top: 0 !important;
    margin-bottom: 0.5em !important;
}

/* Textes en blanc */
#two .spotlight p,
#two .spotlight li,
.wrapper.alt.style2 .spotlight p,
.wrapper.alt.style2 .spotlight li {
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 0 !important;
    margin-bottom: 0.5em !important;
}

#two .spotlight strong,
.wrapper.alt.style2 .spotlight strong {
    color: #fff !important;
}

/* Packs spotlight.right - aussi en gris avec spécificité MAXIMALE */
body .spotlight.right,
body section.spotlight.right,
#page-wrapper .spotlight.right,
article#main .spotlight.right {
    background-color: #2e3842 !important;
    color: #fff !important;
    padding: 2em 0 !important;
    margin: 0 !important; /* Suppression des marges entre packs */
}

body .spotlight.right .content,
body section.spotlight.right .content,
#page-wrapper .spotlight.right .content,
article#main .spotlight.right .content {
    background-color: transparent !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 2em !important;
}

/* Images packs sans marge */
body .spotlight.right .image,
#page-wrapper .spotlight.right .image,
article#main .spotlight.right .image {
    margin: 0 !important;
}

body .spotlight.right .image img,
#page-wrapper .spotlight.right .image img,
article#main .spotlight.right .image img {
    margin: 0 !important;
    display: block;
}

body .spotlight.right h2,
body .spotlight.right h3,
body .spotlight.right h4,
#page-wrapper .spotlight.right h2,
#page-wrapper .spotlight.right h3,
#page-wrapper .spotlight.right h4,
article#main .spotlight.right h2,
article#main .spotlight.right h3,
article#main .spotlight.right h4 {
    color: #fff !important;
    background-color: transparent !important;
    margin-top: 0 !important;
    margin-bottom: 0.5em !important;
}

body .spotlight.right p,
body .spotlight.right li,
#page-wrapper .spotlight.right p,
#page-wrapper .spotlight.right li,
article#main .spotlight.right p,
article#main .spotlight.right li {
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 0 !important;
    margin-bottom: 0.5em !important;
}

body .spotlight.right strong,
#page-wrapper .spotlight.right strong,
article#main .spotlight.right strong {
    color: #fff !important;
}

body .spotlight.right .desc-html,
#page-wrapper .spotlight.right .desc-html,
article#main .spotlight.right .desc-html {
    background-color: #3a4550 !important;
    color: #fff !important;
    padding: 1rem !important;
    border-radius: 8px;
}

body .spotlight.right .desc-html h2,
body .spotlight.right .desc-html h3,
body .spotlight.right .desc-html h4,
#page-wrapper .spotlight.right .desc-html h2,
#page-wrapper .spotlight.right .desc-html h3,
#page-wrapper .spotlight.right .desc-html h4 {
    color: #fff !important;
}

body .spotlight.right .desc-html p,
body .spotlight.right .desc-html li,
#page-wrapper .spotlight.right .desc-html p,
#page-wrapper .spotlight.right .desc-html li {
    color: rgba(255, 255, 255, 0.85) !important;
}

body .spotlight.right .desc-html a,
#page-wrapper .spotlight.right .desc-html a {
    color: #7952cc !important;
    text-decoration: none;
}

body .spotlight.right .desc-html a:hover,
#page-wrapper .spotlight.right .desc-html a:hover {
    color: #9d7fd9 !important;
}

/* Section wrapper style3 (packs) - Gris foncé */
.wrapper.style3 {
    background-color: #2e3842 !important;
    margin: 0 !important; /* Suppression marge entre dernier pack et footer */
    padding-bottom: 0 !important;
}

.wrapper.style3 h2,
.wrapper.style3 h3 {
    color: #fff !important;
}

.wrapper.style3 p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Bloc desc-html - Gris moyen */
.desc-html {
    background-color: #3a4550 !important;
    color: #fff !important;
    padding: 1rem;
    border-radius: 8px;
}

.desc-html h2,
.desc-html h3,
.desc-html h4 {
    color: #fff !important;
}

.desc-html p,
.desc-html li {
    color: rgba(255, 255, 255, 0.85) !important;
}

.desc-html a {
    color: #7952cc !important;
    text-decoration: none;
}

.desc-html a:hover {
    color: #9d7fd9 !important;
}
