/* ==========================================================================
   PAGE CONTACT - HELIX V2
   ========================================================================== */
:root {
    /* Palette Helix */
    --helix-orange: #E2A923;
    --helix-teal: #7499A1;
    --helix-dark: #0D1B1E;

    /* Variables adaptatives */
    --bg-contact: #ffffff;
    --card-bg: #ffffff;
    --card-border: rgba(116, 153, 161, 0.1);
    --input-bg: #f8fafb;
    --input-border: #eef2f3;
    --text-main: #0D1B1E;
    --social-border: #eee;
}

/* ==========================================================================
   ADAPTATION THÈME SOMBRE (Automatique)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-contact: #0d1b1e;
        --card-bg: #112226;
        --card-border: rgba(255, 255, 255, 0.08);
        --input-bg: #091416;
        --input-border: rgba(255, 255, 255, 0.1);
        --text-main: #ffffff;
        --social-border: rgba(255, 255, 255, 0.1);
    }
}

/* ==========================================================================
   BASES & STRUCTURE
   ========================================================================== */
.contact-page {
    background: var(--bg-contact);
    min-height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}

.text-teal { color: var(--helix-teal); }

/* --- BLOBS DE FOND --- */
.abstract-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: 1;
}
.blob-1 { width: 500px; height: 500px; background: var(--helix-teal); top: -100px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: var(--helix-orange); bottom: -100px; left: -100px; }

/* ==========================================================================
   INFOS DE CONTACT (GAUCHE)
   ========================================================================== */
.badge-history {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(116, 153, 161, 0.1);
    color: var(--helix-teal);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(226, 169, 35, 0.1);
    color: var(--helix-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--social-border);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-main);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--helix-teal);
    color: white;
    border-color: var(--helix-teal);
    transform: translateY(-3px);
}

/* ==========================================================================
   FORMULAIRE DE CONTACT (DROITE)
   ========================================================================== */
.contact-card {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--card-border);
    position: relative;
    z-index: 2;
}

.form-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Style spécifique pour le dropdown en mode sombre */
.form-select option {
    background: var(--card-bg);
    color: var(--text-main);
}

.form-control:focus, .form-select:focus {
    background: var(--card-bg);
    border-color: var(--helix-teal);
    color: var(--text-main);
    box-shadow: 0 0 0 4px rgba(116, 153, 161, 0.1);
}

/* --- BOUTON ORANGE --- */
.btn-helix-contact {
    background: var(--helix-orange);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-helix-contact:hover {
    background: #c9941a; 
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(226, 169, 35, 0.2);
    color: white;
}

/* ==========================================================================
   SECURITÉ & RESPONSIVE
   ========================================================================== */
/* Anti-spam subtil */
.hp-field {
    opacity: 0;
    position: absolute;
    top: 0; left: 0;
    height: 0; width: 0;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .contact-card { padding: 30px; }
    .contact-page { padding-top: 40px; }
}