.section1 {
    background-color: var(--background-dark);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    position: relative;
}

.section1::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top, right, bottom, left à 0 */
    background-color: var(--background-dark);
    /* couche sombre très légère */
    z-index: 0;
}

.section1>* {
    position: relative;
    z-index: 1;
}

/* Top bar */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    max-height: 20vh;
}

.logo-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-text-container {
    flex: 2;
    text-align: center;
}

.maintitle {
    font-size: 4vw;
    /* adaptatif */
    line-height: 1;
    margin: 0;
    height: 80%;
    /* occupe 80% hauteur */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Zone 2 : centre */
.hero-text {
    text-shadow: 0 0 10px var(--background-dark);
    height: 33vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    font-size: clamp(1rem, 2.5vw, 2.5rem);
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}

.separator {
    width: 30%;
    height: 4px;
    background-color: var(--orange-main);
    margin: 10px auto;
    border-radius: 2px;
}

.separator2 {
    color: var(--orange-main);
    font-size: 0.8rem;
    margin: 0 6px;
    vertical-align: middle;
}

.hero-button-container {
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* aligne en haut */
    margin-top: 1rem;
}

/* Header */
header {
    background-color: var(--background-dark);
    color: var(--background-light);
    padding: 20px 10px;
    text-align: center;
}

.header-content h1 {
    margin: 0;
    font-size: 2em;
}

.header-content p {
    margin: 5px 0 0;
    font-size: 1.2em;
    color: #ccc;
}