/* ==========================================================================
   CONTENEUR CONTACT
   ========================================================================== */
.contact-container {
    max-width: 700px;
    margin: 80px auto;
    padding: 2rem;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(58, 202, 255, 0.2);
    color: white;
    position: relative;
    z-index: 10;
}

.contact-container h2 {
    font-size: 32px;
    color: #eab2bb; /* Retour au ROSE d'origine */
    margin-bottom: 10px;
}

.intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.separator {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, #3C6CA8, transparent); /* Dégradé BLEU */
    margin-bottom: 2rem;
}

/* ==========================================================================
   FORMULAIRE
   ========================================================================== */
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #3C6CA8; /* Retour au BLEU d'origine */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff; /* Fond blanc comme à l'origine */
    color: #000;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #3C6CA8; /* Retour au BLEU d'origine */
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background-color: #2f4f73; /* Couleur hover d'origine */
}

/* ==========================================================================
   SYSTÈME D'IMAGES AU CLIC (Easter Egg)
   ========================================================================== */
.spawned-image {
    position: fixed;
    width: 120px; /* Taille Desktop */
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    /* Animation d'entrée */
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Animation de sortie */
.spawned-image.fade-out {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

@keyframes popIn {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    html, body {
        padding-inline: 1rem;
    }

    .contact-container {
        padding: 1.5rem 1rem;
        margin: 40px auto;
        width: auto;
    }

    /* Réduction de l'image au clic sur mobile */
    .spawned-image {
        width: 60px;
    }

    .main-header {
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        gap: 2rem;
    }
}