.header-container{
    position:relative;
    width:100vw;
    min-height:100vh; 
    padding-top:80px; 
    z-index:0;
    display:flex;
    flex-direction:column;
    justify-content:center; 
}

/* BACKGROUND */
.header-container .background-layered{
    position:absolute;
    inset:0;               /* équiv. top:0; left:0; width/height:100% */
    pointer-events:none;
    background-image:
        url('/img/background/grid.svg'),
        linear-gradient(135deg,#1e0f55 0%,#150c36 100%);
    background-size:cover,100% 100%;
    background-repeat:no-repeat;
    background-position:center;
    opacity:1;
    z-index: -1;   
}


.header-container .high-arch {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: clamp(10%, 12vw, 20%);
    width: 100%;
    
    z-index: -1;
    pointer-events: none;

    display: block;
}

/** CONTAINER **/
.header-container .presentation-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
    margin-top: 0; 
    padding: 40px 0; 
    gap: 40px; 
}

/** SWITCH BUTTON **/
.header-container .presentation-container .switch {
    display: flex;

    background-color: #5F36F5;

    padding: 6px;
    border-radius: 8px;
    margin-top: 20px; 
    box-shadow: 0 4px 12px rgba(95, 54, 245, 0.3);
}

.header-container .presentation-container .switch button {    
    color: #DBFE75;
    font-family: 'Supermolot Neue Trial';
    font-weight: 600;

    outline: none;
    border: none;
    border-radius: 4px;

    padding: 8px 45px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.header-container .presentation-container .switch button.click {
    background-color: #361B98;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/** TEXTE TITLE **/
.header-container .presentation-container .texte {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-inline: 8vw;
    text-align: center;
    color: rgb(234, 234, 234);
    margin-top: 0; 
}

.header-container .presentation-container .texte h1 {
    font-family: 'Supermolot Neue Trial Demi Bold';
    font-size: clamp(1.9rem, 4vw + .5rem, 3.2rem);
}

.header-container .presentation-container .texte p {
    font-family: 'Supermolot Neue Trial Medium';
    font-size: clamp(0.9rem, 2vw + .2rem, 1.25rem);
    transform: none;
}

.header-container .presentation-container .texte h1 span {
    color: #DBFE75;
}


/* ------------------------------------------------------------------
   CTA #ToConnect : SVG fixe, texte centré par dessus
------------------------------------------------------------------- */
.header-container .presentation-container .button{
    position:relative;
    width:304px;
    height:91px;
    display:inline-block;      /* on n’a plus besoin de flex ici   */
    overflow:hidden;
    cursor:pointer;
}

/* le rectangle reste en flux ➜ le bouton “existe” vraiment */
.header-container .presentation-container .button svg{
    width:100%;
    height:100%;
    display:block;             /* 0 marge bas / pas de pointer-capture */
    pointer-events:none;       /* optionnel : clic direct sur le btn   */
}

/* le texte, lui, se place au centre par dessus */
.header-container .presentation-container .button p{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    margin:0;
    pointer-events:none;       /* pour ne pas bloquer le clic          */
}

/* lift de 3 px */
.header-container .presentation-container .button:hover{
    transform:translateY(-3px);
    transition:transform .25s cubic-bezier(.4,.2,.2,1);
}


/** ACCOMPANIED CUSTOMERS **/
.header-container .presentation-container .customer-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-container .presentation-container .accompanied-customers {
    display: flex;
}

.header-container .presentation-container .accompanied-customers .customer {
    height: 30px; width: 30px;
    
    background-color: black;
    
    border: 2px solid #DBFE75; 
    border-radius: 50%;

    margin-left: -10px;
    
    z-index: 1;
}

.header-container .presentation-container .customer-container .accompanied-customers .customer:first-child {
    margin-left: 0;
}


.header-container .presentation-container .customer-container p {
    font-family: 'Supermolot Neue Trial Medium';
    color: white;
}

.video-carousel {
    width: 100%;
    overflow: hidden;
}

.video-track {
    display: flex;
    gap: 24px;

    width: max-content;
    animation: scroll-carousel 40s linear infinite;
}

.video {
    min-width: 337px; /* Empêche les vidéos de rétrécir */
    height: 190px;

    background-color: #1b1b1b;
    border: 1px solid #DBFE75;
    border-radius: 3px;
}

/* Scroll infini */
@keyframes scroll-carousel {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Media Queries pour le header */

/* Tablette en mode paysage */
@media (max-width: 1024px) {
    .header-container {
        padding-top: 80px;
    }
    
    .header-container .presentation-container {
        gap: 40px;
    }
    
    .header-container .presentation-container .texte {
        padding-inline: 5vw;
    }
}

/* Tablette en mode portrait */
@media (max-width: 768px) {
    .header-container {
        padding-top: 60px; 
        min-height: auto; 
        padding-bottom: 60px; 
    }
    
    .header-container .presentation-container {
        gap: 30px;
    }
    
    .header-container .presentation-container .switch {
        margin-top: 15px;
        width: 90%;
        max-width: 400px;
    }
    
    .header-container .presentation-container .switch button {
        padding: 8px 20px;
        font-size: 0.9rem;
        flex: 1;
    }
    
    .header-container .presentation-container .texte {
        padding-inline: 5vw;
    }
    
    .header-container .presentation-container .texte h1 {
        font-size: 2rem;
    }
    
    .header-container .presentation-container .texte p {
        font-size: 1rem;
    }
}

/* Téléphone */
@media (max-width: 480px) {
    .header-container {
        padding-top: 50px;
        min-height: 70vh;
    }
    
    .header-container .presentation-container {
        gap: 20px;
    }
    
    .header-container .presentation-container .switch {
        flex-direction: column;
        width: 80%;
        max-width: 300px;
    }
    
    .header-container .presentation-container .switch button {
        width: 100%;
        padding: 8px 20px;
    }
    
    .header-container .presentation-container .texte {
        padding-inline: 20px;
    }
    
    .header-container .presentation-container .texte h1 {
        font-size: 1.8rem;
    }
    
    .header-container .presentation-container .texte p {
        font-size: 1rem;
    }
    
    .header-container .high-arch {
        height: 5%;
    }
}

/* Très petits écrans */
@media (max-width: 320px) {
    .header-container {
        padding-top: 40px;
    }
    
    .header-container .presentation-container .texte h1 {
        font-size: 1.5rem;
    }
    
    .header-container .presentation-container .texte p {
        font-size: 0.9rem;
    }
    
    .header-container .presentation-container .switch {
        width: 90%;
    }
}

/* Mode paysage sur mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .header-container {
        min-height: 100vh;
        padding-top: 20px;
    }
    
    .header-container .presentation-container {
        gap: 15px;
    }
    
    .header-container .presentation-container .texte h1 {
        font-size: 1.5rem;
    }
    
    .header-container .presentation-container .texte p {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
}