/* ============================================================
   BANNER – Adé Education
   ============================================================ */

:root {
    --hero-overlay-start: rgba(10, 18, 28, 0.55);
    --hero-overlay-end:   rgba(10, 18, 28, 0.30);
    --hero-accent: #4ecdc4;
    --hero-white: #ffffff;
}

/* ---- Conteneur ---- */
.banner {
    position: relative;
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ---- Photo de fond ---- */
.banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    filter: grayscale(100%);
    transform: scale(1.04);
    transition: transform 0.1s linear;
}

/* ---- Overlay dégradé ---- */
.banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to right,
            rgba(10, 18, 28, 0.72) 0%,
            rgba(10, 18, 28, 0.30) 60%,
            rgba(10, 18, 28, 0.15) 100%
    );
}

/* ---- Contenu ---- */
.banner__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
}

/* ---- Titre ---- */
.banner__title {
    font-family: 'Kidmania', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.2;
    color: var(--hero-white);
    margin-bottom: 1.1rem;
    text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

/* "Bienvenue" — Kidmania regular */
.banner__title-script {
    font-family: 'Kidmania', sans-serif;
    font-weight: 400;
    color: var(--hero-white);
}

/* "sur" — petit, discret */
.banner__title-sur {
    font-family: 'Poppins', sans-serif;
    font-size: 0.45em;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    vertical-align: middle;
    margin: 0 0.4em;
}

/* "Adé'Education" — Kidmania bold, turquoise */
.banner__title-brand {
    font-family: 'Kidmania', sans-serif;
    font-weight: 700;
    color: var(--hero-accent);
}

/* ---- Sous-titre ---- */
.banner__subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.80);
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ---- Scroll hint ---- */
.banner__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    animation: banner-bounce 2s ease-in-out infinite;
}

.banner__scroll-hint svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes banner-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .banner__content { padding: 0 1.5rem; }
    .banner__title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .banner__subtitle { font-size: 0.78rem; letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
    .banner__scroll-hint { animation: none; }
    .banner__bg { transition: none; }
}