/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    height: 100%;
    /*font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased; /* for WebKit browsers */
    -moz-osx-font-smoothing: grayscale;  /* for macOS Firefox */
}

h1 {
    font-weight: normal;
}

/* Hero */
.hero {
    width: 100vw;
    height: 100vh;
    background: #f15a24; /* orange */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem; /* small side padding on mobile */
}

.hero p {
    font-weight: 300;
    font-family: "Epilogue", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 11vw, 10rem);
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: "Anton SC", sans-serif;
    font-style: normal;
    -webkit-font-smoothing: antialiased; /* helps on macOS */
    -moz-osx-font-smoothing: grayscale;  /* Firefox macOS */
    text-rendering: optimizeLegibility;
}

.hero .tagline {
    font-size: clamp(0.5rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 4rem;
}



/* Optional: tighten spacing on small screens */
@media (max-width: 640px) {
    .nav-links { gap: 1rem; }
    .navbar { padding: 1rem 1.25rem; }
}

/* === HERO — true mobile & tablet styles === */
@media (max-width: 1024px) {
    .hero {
        display: grid;
        place-items: center;
        text-align: center;
        padding: 0 1.8rem;
        min-height: 100svh; /* Safe viewport height */
    }

    .hero__inner {
        width: min(92vw, 680px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(1rem, 4vw, 1.8rem);
    }

    .hero .titre1 h1 {
        font-size: clamp(3rem, 12vw, 5rem);
        line-height: 1.05;
        margin: 0;
        text-wrap: balance;
    }

    .hero .contenu {
        font-size: clamp(1.2rem, 5vw, 1.6rem) !important; /* Bigger paragraph text */
        line-height: 1.55;
        max-width: 32ch;         /* Keeps readable width */
        text-align: center;
        margin: 0 auto;
        text-wrap: pretty;       /* Helps wrap across 2 lines naturally */
    }

    .hero .cta-modern {
        margin-top: clamp(1rem, 4vw, 1.6rem);
    }
}


/* === MOBILE HERO REFINEMENT (v2) === */
@media (max-width: 900px) {
    .hero__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100svh;
        text-align: center;
        gap: clamp(1.6rem, 4vh, 2.2rem); /* adds more vertical rhythm */
    }

    /* "Sound by" — elegant but secondary */
    .hero .subtitle {
        font-size: clamp(1.1rem, 4vw, 1.6rem) !important;
        margin-bottom: clamp(0.4rem, 1vh, 0.8rem) !important;
        opacity: 0.9;
        letter-spacing: 0.04em;
    }

    /* "AMEL" — hero of the section, much larger */
    .hero h1 {
        font-size: clamp(4rem, 20vw, 7.5rem) !important;
        line-height: 1.02 !important;
        margin-bottom: clamp(1.5rem, 4vh, 2.2rem) !important;
        letter-spacing: 0.02em;
    }

    /* Tagline — smaller, clear wrap, gentle spacing below */
    .hero .tagline {
        font-size: clamp(0.95rem, 3.2vw, 1.1rem) !important;
        line-height: 1.55;
        max-width: 34ch;
        margin-bottom: clamp(2rem, 6vh, 3.5rem);
    }

    /* CTA */
    .hero .cta-modern {
        margin-top: clamp(1rem, 4vh, 2.5rem);
    }
}

@media (max-width: 900px) {
    .hero .cta-modern {
        margin-top: clamp(0.5rem, 1.5vh, 0.8rem) !important; /* closer to tagline */
        transform: scale(1.25); /* slightly larger overall */
    }
}





