/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #f5f5f5;
    background-image: url('/images/photo1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0f0f0f;
}

/* Overlay sombre cinématographique */
.overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.72)
        );
    z-index: 1;
}

/* Structure principale */
.hero {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Bloc contenu */
.content {
    width: 100%;
    max-width: 680px;
}

/* Nom */
h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

/* Citation */
.quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Intro */
.intro {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 3rem;
}

/* Formulaire */
.newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

/* Input */
.newsletter input {
    width: 100%;
    max-width: 380px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    backdrop-filter: blur(4px);
    transition: border 0.3s ease,
                background 0.3s ease;
}

.newsletter input::placeholder {
    color: rgba(255,255,255,0.55);
}

.newsletter input:focus {
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.08);
}

/* Bouton */
.newsletter button {
    padding: 1rem 1.8rem;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #111111;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.newsletter button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Instagram */
.social a {
    position: relative;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.social a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.65);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.social a:hover {
    opacity: 1;
}

.social a:hover::after {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 768px) {

    h1 {
        font-size: 4rem;
    }

    .quote {
        font-size: 1.15rem;
    }

    .intro {
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .newsletter input {
        max-width: 100%;
    }

    .newsletter button {
        width: 100%;
        max-width: 380px;
    }
}