/* --- LAYOUT CONTACT --- */
.contact-wrapper {
    padding: 80px 20px;
    background-color: var(--bg-main);
    min-height: 80vh;
}

.contact-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.contact-header h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.05em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* --- LE CONTAINER BLANC --- */
.contact-card-main {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(99, 68, 231, 0.1);
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- GRILLE DE CONTACT --- */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.method-box {
    flex: 1;
    min-width: 300px;
    text-decoration: none;
    padding: 40px;
    border-radius: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.method-box:hover {
    transform: translateY(-5px);
}

.method-discord {
    background: #f8f9ff;
    border-color: #5865f21a;
}

.method-email {
    background: var(--violet-soft);
    border-color: rgba(99, 68, 231, 0.1);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.method-box h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

/* --- BANNIÈRE INFO --- */
.info-banner {
    background: linear-gradient(135deg, var(--violet-soft) 0%, var(--bg-card) 100%);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.info-banner h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.info-banner p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* DARK MODE OVERRIDES */
/* --- AMÉLIORATION LISIBILITÉ DARK MODE --- */

body.dark-mode .method-discord { 
    background: rgba(88, 101, 242, 0.15); /* Fond Discord plus sombre et transparent */
    border-color: rgba(88, 101, 242, 0.4);
}

body.dark-mode .method-email { 
    background: rgba(99, 68, 231, 0.15); /* Fond Email harmonisé */
    border-color: rgba(99, 68, 231, 0.4);
}

/* Forcer la couleur des textes dans les boîtes de contact en Dark Mode */
body.dark-mode .method-box h3 {
    color: #ffffff; /* Titres bien blancs */
}

body.dark-mode .method-box p {
    color: #cbd5e1; /* Gris clair pour la description (plus lisible que le bleu sombre) */
}

/* Ajustement de la bannière info du bas */
body.dark-mode .info-banner {
    background: linear-gradient(135deg, rgba(99, 68, 231, 0.1) 0%, var(--bg-card) 100%);
    border-color: var(--border-color);
}

/* Lien email en mode sombre */
body.dark-mode .method-email span {
    color: #a78bfa !important; /* Violet pastel très lumineux */
    border-bottom-color: rgba(167, 139, 250, 0.4);
}

