/* Contact Form Home - Inspired by Prototype */
.home-contact-section {
    background: linear-gradient(135deg, #edf4f8 0%, #fbfdfe 52%, #fff6eb 100%);
    padding: 60px 0 75px;
    position: relative;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    color: #172331;
    width: 100%;
}
.home-contact-section * {
    box-sizing: border-box;
}
.home-contact-ambient {
    pointer-events: none;
    border-radius: 999px;
    position: absolute;
    filter: blur(40px);
    opacity: 0.6;
}
.home-contact-ambient-1 {
    background: radial-gradient(circle, #f9c783 0%, rgba(249, 199, 131, 0) 70%);
    width: 440px;
    height: 440px;
    top: -50px;
    right: -120px;
}
.home-contact-ambient-2 {
    background: radial-gradient(circle, #8dc8e6 0%, rgba(141, 200, 230, 0) 70%);
    width: 400px;
    height: 400px;
    bottom: -80px;
    left: -150px;
}
.home-contact-wrapper {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.home-contact-hero {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 36px;
}
.home-contact-eyebrow {
    color: #e46e20;
    letter-spacing: .16em;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    margin-bottom: 10px;
}
.home-contact-hero h2 {
    color: #10202c;
    letter-spacing: -.025em;
    margin: 0 0 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.05;
}
.home-contact-hero h2 em {
    color: #e76f20;
    font-style: normal;
}
.home-contact-hero p {
    color: #667483;
    max-width: 580px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.65;
}

/* Contact Card */
.contact-card-box {
    background: #ffffff;
    border: 1px solid #dfe8ee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(6, 61, 105, 0.1);
}
.channel-switch-bar {
    background: #fbfcfd;
    border-bottom: 1px solid #e5edf1;
    gap: 12px;
    padding: 16px 20px;
    display: flex;
}
.channel-btn {
    color: #6a7884;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #dbe4ea;
    border-radius: 12px;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
    display: flex;
    text-decoration: none;
}
.channel-btn:hover {
    color: #10202c;
    border-color: #a8c1d2;
}
.channel-btn.active {
    color: #ffffff;
    background: #10202c;
    border-color: #10202c;
    box-shadow: 0 8px 18px rgba(16, 32, 44, 0.2);
}
.channel-btn svg {
    flex-shrink: 0;
}
.contact-form-body {
    padding: 30px 32px 28px;
}
.contact-profile-header {
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
    display: flex;
}
.contact-step-label {
    color: #e47606;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    display: block;
}
.contact-profile-header h3 {
    color: #10202c;
    letter-spacing: -.02em;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
}
.contact-required-note {
    color: #9aa7b0;
    font-size: 11px;
}

/* Profile Selector Grid */
.profile-selection-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    display: grid;
}
.profile-select-btn {
    color: #52616e;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #dbe4ea;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 12px 30px 12px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
    display: flex;
    position: relative;
    user-select: none;
}
.profile-select-btn:hover {
    border-color: #f17b24;
    color: #10202c;
    background: #fffcf9;
}
.profile-select-btn.active {
    color: #a45100;
    background: #fff6ec;
    border-color: #f47b00;
    box-shadow: inset 0 0 0 1px #f47b00, 0 4px 12px rgba(244, 123, 0, 0.1);
}
.profile-radio-dot {
    color: #ffffff;
    border: 1.5px solid #c9d6df;
    border-radius: 50%;
    place-items: center;
    width: 18px;
    height: 18px;
    display: grid;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    transition: all .2s;
}
.profile-select-btn.active .profile-radio-dot {
    background: #f47b00;
    border-color: #f47b00;
}

/* Form Fields */
.contact-fields-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    transition: all .3s;
}
.contact-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-field-group.full-width {
    grid-column: 1 / -1;
}
.contact-field-group label {
    color: #455564;
    font-size: 12px;
    font-weight: 700;
}
.contact-field-group input,
.contact-field-group textarea {
    color: #172331;
    background: #ffffff;
    border: 1px solid #dbe4ea;
    border-radius: 10px;
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
    font-family: inherit;
    transition: border .18s, box-shadow .18s;
}
.contact-field-group input::placeholder,
.contact-field-group textarea::placeholder {
    color: #a3afb8;
}
.contact-field-group input:focus,
.contact-field-group textarea:focus {
    border-color: #f47b00;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(244, 123, 0, 0.15);
}
.contact-field-group textarea {
    resize: vertical;
    min-height: 105px;
}
.contact-actions-bar {
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
}
.btn-submit-contact,
.btn-whatsapp-direct,
.btn-clear-contact {
    cursor: pointer;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    font-size: 13px;
    font-weight: 800;
    transition: transform .15s, box-shadow .18s, background .18s;
    display: inline-flex;
    border: 0;
    text-decoration: none;
}
.btn-submit-contact {
    color: #ffffff;
    background: #f47b00;
    box-shadow: 0 8px 18px rgba(244, 123, 0, 0.25);
}
.btn-submit-contact:hover {
    background: #ff8c1a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(244, 123, 0, 0.32);
}
.btn-whatsapp-direct {
    color: #ffffff;
    background: #168a58;
    box-shadow: 0 8px 18px rgba(22, 138, 88, 0.25);
}
.btn-whatsapp-direct:hover {
    background: #1ba369;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(22, 138, 88, 0.32);
}
.btn-clear-contact {
    color: #52616e;
    background: #edf2f5;
}
.btn-clear-contact:hover {
    background: #e2e9ee;
    color: #10202c;
}

/* Prompt Select Notice */
.prompt-select-box {
    background: #f4f8fb;
    border: 1.5px dashed #c8dae5;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    color: #637788;
    font-size: 13px;
    margin-bottom: 10px;
}
.prompt-select-box svg {
    margin-bottom: 6px;
    color: #063d69;
}

/* INLINE INFO BOXES (Fornecedor & Candidato) */
.contact-info-inline-box {
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    animation: fadeInSlide .3s ease-out;
}
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contact-info-inline-box.fornecedor {
    background: #fffbf3;
    border-color: #fde2b4;
}
.contact-info-inline-box.candidato {
    background: #f4fbf7;
    border-color: #c7eed8;
}
.contact-info-inline-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.contact-info-inline-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-inline-box.fornecedor .contact-info-inline-icon {
    background: #fef3c7;
    color: #d97706;
}
.contact-info-inline-box.candidato .contact-info-inline-icon {
    background: #d1fae5;
    color: #059669;
}
.contact-info-tag {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    display: block;
    margin-bottom: 2px;
}
.contact-info-inline-box.fornecedor .contact-info-tag { color: #d97706; }
.contact-info-inline-box.candidato .contact-info-tag { color: #059669; }

.contact-info-inline-header h4 {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #10202c;
    letter-spacing: -.01em;
}
.contact-info-text {
    color: #4b5a68;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
}
.contact-info-text strong {
    color: #10202c;
}
.contact-info-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
}
.contact-info-email-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
    min-width: 220px;
}
.contact-info-email-badge svg {
    color: #f17b24;
    flex-shrink: 0;
}
.btn-copy-info-email,
.btn-mail-info-link {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all .18s;
}
.btn-copy-info-email {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
}
.btn-copy-info-email:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.btn-mail-info-link {
    background: #f17b24;
    border: 1px solid #f17b24;
    color: #ffffff;
}
.btn-mail-info-link:hover {
    background: #ff8c1a;
    border-color: #ff8c1a;
}

@media (max-width: 650px) {
    .profile-selection-grid,
    .contact-fields-container {
        grid-template-columns: 1fr;
    }
    .channel-switch-bar {
        padding: 12px;
    }
    .channel-btn {
        padding: 10px 8px;
        font-size: 11px;
    }
    .contact-form-body {
        padding: 22px 18px;
    }
    .contact-info-action-row {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-info-email-badge {
        min-width: unset;
        word-break: break-all;
    }
    .btn-copy-info-email,
    .btn-mail-info-link {
        justify-content: center;
    }
    .contact-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-submit-contact,
    .btn-whatsapp-direct,
    .btn-clear-contact {
        width: 100%;
    }
}
