/* ─── Fale Conosco – JHM Telecom ─── */
:root {
    --blue: #3000CD;
    --blue-lt: #4a1fff;
    --orange: #FF6206;
    --orange-dk: #cc4d00;
    --white: #ffffff;
    --dark: #0a0a1a;
    --gray: rgba(255, 255, 255, .5);
    --wa: #25D366;
}

#contato {
    position: relative;
    padding: 100px 0 120px;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(48, 0, 205, .18) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 75%, rgba(255, 98, 6, .1) 0%, transparent 50%),
        var(--dark);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

#contato::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(48, 0, 205, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48, 0, 205, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* header */
.ct-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.ct-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(48, 0, 205, .15);
    border: 1px solid rgba(48, 0, 205, .4);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: .72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .75);
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ct-eyebrow .dot {
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    animation: ct-pulse 1.5s infinite;
}

@keyframes ct-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.6)
    }
}

.ct-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.5px;
}

.ct-title span {
    color: var(--orange);
}

.ct-sub {
    margin: 12px auto 0;
    font-size: .9rem;
    color: var(--gray);
    max-width: 480px;
    line-height: 1.65;
}

/* body grid */
.ct-body {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    align-items: start;
}

/* channels */
.ct-channels {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ct-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(160deg, rgba(48, 0, 205, .35) 0%, rgba(10, 10, 26, .9) 100%);
    border: 1px solid rgba(48, 0, 205, .35);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.ct-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-lt);
    box-shadow: 0 14px 36px rgba(48, 0, 205, .35);
}

.ct-card-wa:hover {
    border-color: var(--wa);
    box-shadow: 0 14px 36px rgba(37, 211, 102, .3);
}

.ct-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(48, 0, 205, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}

.ct-card-wa .ct-icon {
    background: rgba(37, 211, 102, .15);
    color: var(--wa);
}

.ct-icon svg {
    width: 22px;
    height: 22px;
}

.ct-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ct-card-text strong {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.ct-card-text span {
    font-size: .82rem;
    color: rgba(255, 255, 255, .65);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, .35);
    font-size: 1.1rem;
    transition: transform .2s, color .2s;
}

.ct-card:hover .ct-arrow {
    transform: translateX(4px);
    color: var(--orange);
}

.ct-card-wa:hover .ct-arrow {
    color: var(--wa);
}

/* form */
.ct-form {
    border-radius: 20px;
    padding: 32px 30px;
    background: linear-gradient(160deg, rgba(48, 0, 205, .45) 0%, rgba(10, 10, 26, .92) 100%);
    border: 1px solid rgba(48, 0, 205, .4);
    box-shadow: 0 20px 60px rgba(48, 0, 205, .25);
}

.ct-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.ct-form-sub {
    font-size: .82rem;
    color: var(--gray);
    margin-bottom: 22px;
    line-height: 1.5;
}

.ct-field {
    margin-bottom: 16px;
}

.ct-field label {
    display: block;
    font-size: .76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 7px;
    letter-spacing: .3px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(10, 10, 26, .6);
    border: 1px solid rgba(48, 0, 205, .4);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: .88rem;
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: rgba(255, 255, 255, .35);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 98, 6, .15);
}

.ct-field select option {
    background: #0f0f28;
    color: var(--white);
}

.ct-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .3px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dk));
    box-shadow: 0 8px 28px rgba(255, 98, 6, .4);
    transition: transform .15s, box-shadow .15s;
}

.ct-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 98, 6, .55);
}

.ct-form-note {
    margin-top: 12px;
    font-size: .8rem;
    text-align: center;
    min-height: 1em;
}

.ct-form-note.error {
    color: #ff8a8a;
}

.ct-form-note.ok {
    color: var(--wa);
}

/* responsive */

/* ── Tablet ── */
@media (max-width: 900px) {
    #contato { padding: 80px 0 80px; }
}

@media (max-width: 820px) {
    .ct-body { grid-template-columns: 1fr; }
}

/* ── Mobile ── */
@media (max-width: 600px) {
    #contato { padding: 72px 0 72px; }
    .ct-body { padding: 0 16px; }
    .ct-form { padding: 26px 20px; }
}

@media (max-width: 480px) {
    .ct-card { padding: 14px 16px; gap: 12px; }

    .ct-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .ct-icon svg { width: 18px; height: 18px; }

    /* Permite quebra do email em vez de truncar */
    .ct-card-text span {
        white-space: normal;
        word-break: break-all;
    }

    .ct-form { padding: 22px 18px; }
    .ct-form h3 { font-size: 1.1rem; }
    .ct-field input,
    .ct-field select,
    .ct-field textarea { font-size: .84rem; padding: 11px 12px; }
}
