/* Page Contact MODERNE */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.05), rgba(147, 112, 219, 0.05));
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-item:hover::after {
    width: 300px;
    height: 300px;
}

.contact-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(64, 224, 208, 0.3),
        0 0 30px rgba(147, 112, 219, 0.2);
}

.contact-item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.contact-item a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 15px rgba(64, 224, 208, 0.3);
}

.contact-item:hover a {
    color: var(--accent-secondary);
    text-shadow: 0 0 25px rgba(147, 112, 219, 0.6);
    transform: scale(1.05);
}

/* Formulaire FUTURISTE */
form {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.03), rgba(147, 112, 219, 0.03));
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(64, 224, 208, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(64, 224, 208, 0.05), transparent);
    transform: rotate(45deg);
    animation: formShimmer 8s linear infinite;
}

@keyframes formShimmer {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--accent-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    text-shadow: 0 0 15px rgba(64, 224, 208, 0.3);
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(64, 224, 208, 0.3);
    border-radius: 15px;
    color: var(--text-light);
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: rgba(176, 176, 184, 0.5);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 0 20px rgba(64, 224, 208, 0.3),
        inset 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Bouton Submit EXPLOSIF */
button[type="submit"] {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    background-size: 200% 200%;
    border: none;
    border-radius: 30px;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: gradientMove 3s ease infinite;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

button[type="submit"]:hover::before {
    left: 100%;
}

button[type="submit"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

button[type="submit"]:hover::after {
    width: 500px;
    height: 500px;
}

button[type="submit"]:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(64, 224, 208, 0.6),
        0 0 40px rgba(147, 112, 219, 0.4);
}

button[type="submit"]:active {
    transform: translateY(-2px) scale(0.98);
}

/* Message de succès ANIMÉ */
.form-success {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.15), rgba(147, 112, 219, 0.15));
    backdrop-filter: blur(10px);
    color: var(--accent-primary);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 1.5rem;
    border: 2px solid var(--accent-primary);
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 
        0 10px 30px rgba(64, 224, 208, 0.3),
        0 0 20px rgba(64, 224, 208, 0.2);
    position: relative;
    overflow: hidden;
}

.form-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.3), transparent);
    animation: successShimmer 2s ease infinite;
}

@keyframes successShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .contact-item {
        min-width: auto;
        padding: 1.5rem;
        min-height: 110px;
    }
    
    .contact-item a {
        font-size: 0.85rem;
        padding: 0 0.3rem;
    }
    
    form {
        padding: 2rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    form {
        padding: 1.5rem;
    }
    
    button[type="submit"] {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        min-height: 100px;
    }
    
    .contact-item h3 {
        font-size: 1rem;
    }
    
    .contact-item a {
        font-size: 0.8rem;
    }
}