/* ==========================================================================
   RESET & CONFIGURATION DE BASE
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    background-image: url('images/vectoriel.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-attachment: fixed;
    background-size: 80vw auto;
    color: #000000;
    overflow-x: hidden;
    min-height: 100vh;
}

@media (max-width: 600px) {
    body {
        background-size: 55vw auto;
    }
}


/* ==========================================================================
   TITRE VIBRANT (CENTRE DE L'ÉCRAN)
   ========================================================================== */

#teasing-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: transparent;
    padding: 20px;
    text-align: center;
}

#teasing-placeholder .teasing-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Typographie AIGLE */
#teasing-placeholder .word-aigle {
    font-family: "Luckiest Guy", cursive;
    font-size: 10vw;
    color: #000000;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
}

/* Typographie VIBRE */
#teasing-placeholder .word-vibre {
    font-family: "Luckiest Guy", cursive;
    font-size: 20vw;
    color: #FFCC00;
    margin-top: -2vw;
    text-transform: uppercase;
    display: flex;
}

/* Animation CSS de vibration des lettres */
.word-aigle span, 
.word-vibre span {
    display: inline-block;
    animation: vibrer 0.8s infinite linear alternate;
    transform-origin: center center;
}

.word-aigle span:nth-child(1) { animation-duration: 0.7s; animation-delay: 0.1s; }
.word-aigle span:nth-child(2) { animation-duration: 0.9s; animation-delay: 0.4s; animation-direction: alternate-reverse; }
.word-aigle span:nth-child(3) { animation-duration: 0.6s; animation-delay: 0.2s; }
.word-aigle span:nth-child(4) { animation-duration: 1.1s; animation-delay: 0.5s; animation-direction: alternate-reverse; }
.word-aigle span:nth-child(5) { animation-duration: 0.8s; animation-delay: 0.0s; }

.word-vibre span:nth-child(1) { animation-duration: 1.0s; animation-delay: 0.2s; animation-direction: alternate-reverse; }
.word-vibre span:nth-child(2) { animation-duration: 0.7s; animation-delay: 0.6s; }
.word-vibre span:nth-child(3) { animation-duration: 0.9s; animation-delay: 0.1s; animation-direction: alternate-reverse; }
.word-vibre span:nth-child(4) { animation-duration: 0.6s; animation-delay: 0.4s; }
.word-vibre span:nth-child(5) { animation-duration: 1.2s; animation-delay: 0.3s; animation-direction: alternate-reverse; }

@keyframes vibrer {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-1px, 1px) rotate(-1deg); }
    50% { transform: translate(1px, -1px) rotate(1deg); }
    75% { transform: translate(-1px, -1px) rotate(0deg); }
    100% { transform: translate(1px, 1px) rotate(-1deg); }
}

@media (max-width: 600px) {
    #teasing-placeholder {
        align-items: flex-start;
        padding-top: 180px;
    }
    #teasing-placeholder .word-aigle { font-size: 50px; }
    #teasing-placeholder .word-vibre { font-size: 100px; margin-top: -10px; }
}


/* ==========================================================================
   BANDEAU D'ANNONCE DÉFILANT (NEWS TICKER)
   ========================================================================== */

.news-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: #ffffff;
    color: #000000;
    display: flex;
    z-index: 250;
    transform: translateY(100%);
    animation: slideUpTicker 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
    border-top: 2px solid #000000;
}

@keyframes slideUpTicker {
    to { transform: translateY(0); }
}

.ticker-wrapper {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: scrollTicker 25s linear infinite;
}

.ticker-text {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-right: 15px;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#close-ticker {
    background: #ffffff;
    color: #000000;
    border: none;
    border-left: 2px solid #000000;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

#close-ticker:hover {
    background: #cc0000;
    color: #ffffff;
}