/* =========================================
   HEXA ESPORT — contact.css
   ========================================= */

.contact-page {
    padding-top: 110px;
    padding-bottom: 120px;
    min-height: 100vh;
    position: relative;
}

.contact-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(88,101,242,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 50%, rgba(0,210,255,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.contact-page .container { position: relative; z-index: 1; }

/* ── EN-TÊTE ──────────────────────────────── */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.contact-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

/* ── LAYOUT 2 COLONNES ────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    align-items: start;
}

/* ── COLONNE INFO ─────────────────────────── */
.contact-info-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hexa-blue);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ── CANAUX DE CONTACT ────────────────────── */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.contact-channel::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
    transition: width 0.3s;
}

.discord-channel::before  { background: #5865F2; }
.twitter-channel::before  { background: #1da1f2; }
.tiktok-channel::before   { background: #ff0050; }
.twitch-channel::before   { background: #9146ff; }

.contact-channel:hover {
    transform: translateX(6px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.discord-channel:hover  { border-color: rgba(88,101,242,0.3); }
.twitter-channel:hover  { border-color: rgba(29,161,242,0.3); }
.tiktok-channel:hover   { border-color: rgba(255,0,80,0.3); }
.twitch-channel:hover   { border-color: rgba(145,70,255,0.3); }

.channel-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.discord-channel  .channel-icon { background: rgba(88,101,242,0.15); color: #5865F2; }
.twitter-channel  .channel-icon { background: rgba(29,161,242,0.15); color: #1da1f2; }
.tiktok-channel   .channel-icon { background: rgba(255,0,80,0.12); color: #ff0050; }
.twitch-channel   .channel-icon { background: rgba(145,70,255,0.15); color: #9146ff; }

.channel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.channel-info strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.channel-info span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
}

.channel-link {
    font-size: 0.75rem !important;
    font-weight: 600;
    color: rgba(255,255,255,0.25) !important;
    font-style: italic;
}

.channel-arrow {
    color: rgba(255,255,255,0.2);
    font-size: 0.8rem;
    transition: all 0.25s;
    flex-shrink: 0;
}

.contact-channel:hover .channel-arrow {
    color: rgba(255,255,255,0.6);
    transform: translateX(4px);
}

/* ── SUJETS FRÉQUENTS ─────────────────────── */
.contact-subjects {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 22px;
}

.contact-subjects h3 {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--hexa-dim);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subjects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subject-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 7px 14px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.subject-pill i { color: var(--hexa-blue); font-size: 0.75rem; }

/* ── FORMULAIRE ───────────────────────────── */
.contact-form-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 16px;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(88,101,242,0.08);
    border-bottom: 1px solid rgba(88,101,242,0.15);
}

.form-header-icon {
    font-size: 2rem;
    color: #5865F2;
    flex-shrink: 0;
}

.form-header h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
    margin-bottom: 4px;
}

.form-header p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.contact-form {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Groupe de champ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

.required { color: #ff4444; }

/* Input wrapper */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap > i {
    position: absolute;
    left: 14px;
    color: rgba(255,255,255,0.25);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 13px 16px 13px 42px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 0.25s;
    outline: none;
}

.input-wrap select {
    appearance: none;
    cursor: pointer;
}

.input-wrap.textarea-wrap { align-items: flex-start; }
.input-wrap.textarea-wrap > i { top: 14px; }

.input-wrap textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: rgba(255,255,255,0.2); }

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    border-color: rgba(88,101,242,0.5);
    background: rgba(88,101,242,0.07);
    box-shadow: 0 0 0 3px rgba(88,101,242,0.1);
}

/* Sélect option */
.input-wrap select option { background: #0f0c29; color: white; }

/* Compteur */
.char-count {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    text-align: right;
    margin-top: -4px;
    transition: color 0.2s;
}

/* Bouton submit */
.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #5865F2, #4752c4);
    border: none;
    border-radius: 14px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(88,101,242,0.35);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88,101,242,0.5);
}

.contact-submit-btn:active { transform: translateY(0); }

/* Note */
.form-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: -6px;
}

.form-note i { color: rgba(255,255,255,0.2); flex-shrink: 0; margin-top: 2px; }
.form-note strong { color: rgba(255,255,255,0.5); }

/* ── TEMPS DE RÉPONSE ─────────────────────── */
.response-time-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 24px;
}

.response-time-card h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--hexa-dim);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.response-times {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rt-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 140px;
}

.rt-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.discord-rt { color: #5865F2; }
.twitter-rt { color: #1da1f2; }

.rt-item strong {
    display: block;
    font-size: 0.9rem;
    color: white;
}

.rt-item span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

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

@media (max-width: 600px) {
    .contact-page { padding-top: 90px; }
    .contact-form { padding: 20px; }
    .form-header  { padding: 18px 20px; }
}

/* ── AVERTISSEMENT NON CONNECTÉ ─────────────── */
.contact-login-warning {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(249,158,44,0.08);
    border: 1px solid rgba(249,158,44,0.25);
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contact-login-warning i.fab {
    font-size: 1.8rem;
    color: #5865F2;
    flex-shrink: 0;
}

.contact-login-warning div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-login-warning strong {
    color: white;
    font-size: 0.95rem;
}

.contact-login-warning span {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}

.contact-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #5865F2;
    border: none;
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.contact-login-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
}