/* ═══════════════════════════════════════════════════
   AuraSav — contact.css  (complète legal.css)
   ═══════════════════════════════════════════════════ */

/* ── Hero contact (violet) ── */
.legal-hero.contact-hero {
    background: linear-gradient(160deg, #1e1b4b, #4338ca);
}

/* ── Conteneur principal ── */
.contact-container {
    padding: 3rem 0 5rem;
}

/* ══ BLOC INFOS ══ */
.contact-info-block {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.8rem;
    margin-bottom: 1.2rem;
}
.contact-info-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-1);
    margin-bottom: .3rem;
}
.contact-info-sub {
    font-size: .85rem;
    color: var(--text-3);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    margin-bottom: 1.2rem;
}
.contact-info-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-info-icon.blue   { background: #eff6ff; color: var(--blue-700); }
.contact-info-icon.green  { background: #f0fdf4; color: #059669; }
.contact-info-icon.amber  { background: #fffbeb; color: #d97706; }
.contact-info-icon.purple { background: #f5f3ff; color: #7c3aed; }

.contact-info-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-3);
    margin-bottom: .15rem;
}
.contact-info-value {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-1);
    text-decoration: none;
    transition: color .2s;
}
a.contact-info-value:hover { color: var(--blue-700); }

/* Badge délai de réponse */
.contact-response-badge {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: .65rem 1rem;
    font-size: .82rem;
    color: var(--blue-700);
    margin: 1.4rem 0 1.2rem;
}
.contact-response-badge i { color: #f59e0b; }

/* Boutons sociaux */
.contact-social-btn {
    width: 36px; height: 36px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2);
    text-decoration: none;
    font-size: .95rem;
    transition: all .2s;
}
.contact-social-btn:hover {
    border-color: var(--blue-700);
    color: var(--blue-700);
    background: #eff6ff;
}

/* ══ FAQ RAPIDE ══ */
.contact-faq-block {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}
.contact-faq-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: var(--text-1);
    margin-bottom: 1rem;
}
.contact-faq-item {
    padding: .8rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-faq-q {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: .3rem;
}
.contact-faq-a {
    font-size: .8rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ══ FORMULAIRE ══ */
.contact-form-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 2rem 2.2rem;
}
.contact-form-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-1);
    margin-bottom: .3rem;
}
.contact-form-sub {
    font-size: .85rem;
    color: var(--text-3);
    margin-bottom: 1.5rem;
}

/* Labels */
.contact-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: .4rem;
}
.contact-char-count {
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-3);
}

/* Champs avec icône */
.contact-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    transition: border-color .2s, box-shadow .2s;
    overflow: hidden;
}
.contact-input-wrap:focus-within {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(19,70,160,.1);
    background: #fff;
}
.contact-input-wrap > i {
    padding: 0 .75rem;
    color: var(--text-3);
    font-size: .9rem;
    flex-shrink: 0;
}
.contact-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: .7rem .5rem .7rem 0;
    font-size: .9rem;
    color: var(--text-1);
    font-family: 'DM Sans', sans-serif;
    width: 100%;
}
.contact-input::placeholder { color: var(--text-3); }

.contact-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2rem;
}

/* Textarea */
.contact-textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    padding: .8rem 1rem;
    font-size: .9rem;
    color: var(--text-1);
    font-family: 'DM Sans', sans-serif;
    resize: vertical;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    min-height: 150px;
}
.contact-textarea:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(19,70,160,.1);
    background: #fff;
}
.contact-textarea::placeholder { color: var(--text-3); }

/* Checkbox RGPD */
.contact-check-wrap {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .82rem;
    color: var(--text-2);
    cursor: pointer;
    line-height: 1.5;
}
.contact-check-wrap input[type="checkbox"] {
    width: 16px; height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--blue-700);
    cursor: pointer;
}
.contact-check-wrap a {
    color: var(--blue-700);
    text-decoration: none;
}
.contact-check-wrap a:hover { text-decoration: underline; }

/* Bouton submit */
.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin-top: 1.4rem;
    padding: .85rem;
    background: linear-gradient(135deg, #1346a0, #1a5dc8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 16px rgba(19,70,160,.3);
}
.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(19,70,160,.4);
}
.contact-submit-btn:active { transform: translateY(0); }

/* Message succès */
.contact-success {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1.5rem;
}
.contact-success-icon {
    font-size: 1.5rem;
    color: #059669;
    flex-shrink: 0;
    line-height: 1;
}
.contact-success-title {
    font-weight: 700;
    font-size: .95rem;
    color: #065f46;
    margin-bottom: .25rem;
}
.contact-success-text {
    font-size: .85rem;
    color: #047857;
    line-height: 1.5;
}

/* Message erreurs */
.contact-errors {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    font-size: .85rem;
    color: #b91c1c;
}
.contact-errors div { margin-bottom: .3rem; }
.contact-errors div:last-child { margin-bottom: 0; }

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .contact-form-card { padding: 1.4rem 1.2rem; }
    .contact-info-block { padding: 1.3rem; }
}