/* GLOBAL */
body {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    overflow: hidden;
    background: white;
    color: white;
}

/* VIDEO */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* INTRO */
#intro {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none; /* FIX zone cliquable */
}

/* CACHET */
#cachet {
    width: 310px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 11;
    pointer-events: auto;
    display: block;
}

/* pulsation */
@keyframes pulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.05); }
  60% { transform: scale(1); }
  100% { transform: scale(1); }
}

#cachet {
    animation: pulse 3s ease-in-out infinite;
}

#cachet:hover {
    transform: scale(1.05);
}

/* HALO */
#light {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 180, 0.7);
    opacity: 0;
    z-index: 9;
    pointer-events: none;
}

/* CONTENU */
#content {
    display: none;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(2px); /* FIX flou */
}

/* LOGO */
#logo {
    width: 220px;
    margin-bottom: 40px;
}

/* TEXTE */
#poem {
    max-width: 600px;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

#signupText {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 280px;
    margin: auto;
}

input {
    padding: 10px;
    border: none;
    border-bottom: 1px solid white;
    background: transparent;
    color: white;
    text-align: center;
    font-size: 16px; /* FIX zoom iPhone */
}

input::placeholder {
    color: rgba(255,255,255,0.6);
}

button {
    padding: 10px;
    background: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
}

button:hover {
    background: white;
    color: black;
}

/* PHRASE */
#finalPhrase {
    margin-top: 20px;
    font-style: italic;
}

/* THANK YOU */
#thankyou {
    display: none;
    font-size: 1.2rem;
    text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {

    #poem {
        font-size: 1rem;
        padding: 0 20px;
    }

    #signupText {
        font-size: 1rem;
    }

    #finalPhrase {
        font-size: 0.9rem;
    }

    form {
        width: 90%;
    }

    #logo {
        width: 160px;
    }
}