/* Container principal */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 6rem;
}

.contact {
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-header h1 {
    color: #c1bdc1;
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.contact-header p {
    color: #a2a0a2;
    font-size: 1.1rem;
}

/* Grille de cartes de contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.contact-card h2 {
    color: #c1bdc1;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-card h2 i {
    color: #4e9af1;
    font-size: 1.3rem;
}

.contact-card p {
    color: #a2a0a2;
    font-size: 1rem;
}

.contact-card a {
    color: #4e9af1;
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Carte CV */
.contact-cv {
    grid-column: span 2;
    text-align: center;
}

.cv-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #c1bdc1;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cv-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Bloc de mise en avant */
.contact-highlight {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.contact-highlight p {
    color: #c1bdc1;
    font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-cv {
        grid-column: span 1;
    }

    .contact-container {
        padding: 1.5rem;
        padding-top: 5rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .contact-container {
        padding: 1rem;
        padding-top: 5rem;
    }

    .contact-card {
        padding: 1.4rem;
    }

    .contact-header p,
    .contact-highlight p {
        font-size: 0.95rem;
    }
}
