/* =========================
   PAGE CONTACT
   ========================= */

.contact-page {
    position: relative;
    z-index: 3;
    margin-left: 220px;
    width: calc(100% - 220px);
    padding: 110px 24px 40px;
    text-align: center;
}

/* =========================
   TITRES
   ========================= */

.contact-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.3rem;
    color: #93c5fd;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-subtitle {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* =========================
   GRID CONTACT
   ========================= */

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
}

/* =========================
   CARDS
   ========================= */

.contact-card {
    position: relative;
    overflow: hidden;
    width: 260px;
    padding: 22px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(96,165,250,0.14);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transition: 0.3s ease;
    text-align: center;

    /* ✅ FIX ALIGNEMENT */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 22px rgba(96,165,250,0.25),
        0 12px 30px rgba(0,0,0,0.28);
}

/* ligne glow */
.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(96,165,250,0.9), transparent);
    opacity: 0.85;
}

/* numéro en fond */
.contact-card::after {
    position: absolute;
    right: 12px;
    bottom: 60px; /* ✅ FIX POSITION */
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(147, 197, 253, 0.05);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

/* =========================
   ICON
   ========================= */

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    object-fit: contain;
    display: block;
}

/* =========================
   TEXT
   ========================= */

.contact-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #60a5fa;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.contact-card p {
    color: #dbeafe;
    font-size: 0.9rem;
    margin-bottom: 20px; /* ✅ spacing clean */
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* =========================
   BUTTON
   ========================= */

.contact-btn {
    margin-top: auto; /* ✅ aligne tous les boutons */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(96,165,250,0.18);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.25s ease;
    position: relative;
    z-index: 2;
}

.contact-btn:hover {
    background: rgba(59,130,246,0.22);
    box-shadow: 0 0 16px rgba(96,165,250,0.25);
    transform: translateY(-2px);
}

/* =========================
   NUMÉROS
   ========================= */

.contact-card:nth-child(1)::after {
    content: "01";
}

.contact-card:nth-child(2)::after {
    content: "02";
}

.contact-card:nth-child(3)::after {
    content: "03";
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .contact-page {
        margin-left: 88px;
        width: calc(100% - 88px);
    }
}

@media (max-width: 768px) {
    .contact-page {
        margin-left: 0;
        width: 100%;
        padding: 100px 16px 30px;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .contact-grid {
        gap: 18px;
    }

    .contact-card {
        width: 100%;
        max-width: 320px;
    }

    .contact-card::after {
        font-size: 2rem;
        bottom: 50px; /* ajuste mobile */
    }
}