/* ============================================================
   contato.css
   Página de contato - padrão OLX Max
   Arquivo usado por contato.php
   ============================================================ */

body.olx-contato-body {
    background: #f5f5f5;
}

.olx-contato-page {
    min-height: 680px;
    padding: 46px 20px 56px;
    background:
        radial-gradient(circle at top right, rgba(138, 0, 230, .08), transparent 34%),
        linear-gradient(180deg, #fff 0%, #f5f5f5 52%);
}

.olx-contato-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

.olx-contato-card,
.olx-contato-form-card {
    background: #fff;
    border: 1px solid #e1e5ee;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}

.olx-contato-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 153, 0, .95), transparent 24%),
        linear-gradient(145deg, #4a0086 0%, #8a00e6 58%, #5d00a8 100%);
}

.olx-contato-chip {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 20px;
}

.olx-contato-card h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin: 0 0 16px;
    font-weight: 900;
}

.olx-contato-card p {
    margin: 0;
    color: rgba(255,255,255,.88);
    line-height: 1.62;
    font-size: 16px;
    max-width: 440px;
}

.olx-contato-info {
    margin-top: 30px;
    display: grid;
    gap: 12px;
}

.olx-contato-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    font-weight: 800;
}

.olx-contato-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.olx-contato-form-card {
    padding: 34px;
}

.olx-contato-form-head {
    margin-bottom: 22px;
}

.olx-contato-form-head h2 {
    font-size: 28px;
    line-height: 1.15;
    color: #111827;
    margin: 0 0 8px;
    font-weight: 900;
}

.olx-contato-form-head p {
    margin: 0;
    color: #667085;
    line-height: 1.5;
    font-size: 14px;
}

.olx-contato-alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.45;
    font-size: 14px;
}

.olx-contato-alert.success {
    color: #15803d;
    background: #edfdf3;
    border: 1px solid #bef2cf;
}

.olx-contato-alert.error {
    color: #b42318;
    background: #fff1f1;
    border: 1px solid #ffd0d0;
}

.olx-contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.olx-contato-field {
    margin-bottom: 16px;
}

.olx-contato-field label {
    display: block;
    margin: 0 0 7px;
    font-weight: 900;
    color: #111827;
    font-size: 13px;
}

.olx-contato-field input,
.olx-contato-field textarea {
    width: 100%;
    border: 1.5px solid #dfe3eb;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.olx-contato-field input {
    height: 48px;
    padding: 0 14px;
}

.olx-contato-field textarea {
    min-height: 150px;
    resize: vertical;
    padding: 14px;
    line-height: 1.5;
}

.olx-contato-field input:focus,
.olx-contato-field textarea:focus {
    border-color: #8a00e6;
    box-shadow: 0 0 0 4px rgba(138, 0, 230, .10);
}

.olx-contato-submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a00, #ff9900);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(255, 122, 0, .22);
    transition: transform .15s ease, box-shadow .15s ease;
}

.olx-contato-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(255, 122, 0, .28);
}

@media (max-width: 900px) {
    .olx-contato-wrap {
        grid-template-columns: 1fr;
    }

    .olx-contato-card,
    .olx-contato-form-card {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .olx-contato-page {
        padding: 26px 12px 40px;
    }

    .olx-contato-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
