/* ========================================
   Contato - Mestre Oficina v2
   Pagina standalone: tokens proprios (cores do mock contato.html),
   classes com prefixo ct-
   ======================================== */

:root {
    --ct-o: #f97316;
    --ct-o2: #ea580c;
    --ct-ink: #0b1220;
    --ct-mut: #4b5563;
    --ct-line: #e5e7eb;
    --ct-field: #d1d5db;
    --ct-bg: #f6f7f9;
    --font-sans: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: #fff;
    color: var(--ct-ink);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.ct-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Hero --- */
.ct-hero {
    text-align: center;
    padding: 72px 0 56px;
}

.ct-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 500 12px var(--font-mono);
    letter-spacing: 0.04em;
    color: var(--ct-o2);
    background: #fff4ea;
    border: 1px solid #fed7aa;
    padding: 7px 14px;
    border-radius: 99px;
}

.ct-hero__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 22px 0 16px;
}

.ct-hero__title em {
    font-style: normal;
    color: var(--ct-o);
}

.ct-hero__sub {
    max-width: 540px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ct-mut);
    text-wrap: balance;
}

/* --- Corpo: canais + formulario --- */
.ct-body {
    background: var(--ct-bg);
    border-top: 1px solid var(--ct-line);
    padding: 56px 0 80px;
}

.ct-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px;
    align-items: start;
}

.ct-side {
    display: grid;
    gap: 14px;
}

.ct-channel {
    display: grid;
    grid-template-columns: 52px 1fr 20px;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 16px;
    padding: 20px;
    color: var(--ct-ink);
    transition: 0.15s;
}

.ct-channel:hover {
    border-color: var(--ct-o);
    box-shadow: 0 10px 28px -14px rgba(249, 115, 22, 0.45);
    transform: translateY(-1px);
}

.ct-channel__icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 26px;
}

.ct-channel__icon--wa {
    background: #16a34a33;
    color: #4ade80;
}

.ct-channel__icon--mail {
    background: #fff1e6;
    color: var(--ct-o);
}

.ct-channel__icon--help {
    background: #e8f0ff;
    color: #3b82f6;
}

.ct-channel__text {
    min-width: 0;
}

.ct-channel__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ct-mut);
}

.ct-channel__value {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 2px 0;
    overflow-wrap: anywhere;
}

.ct-channel__note {
    display: block;
    font-size: 14px;
    color: var(--ct-mut);
}

.ct-channel__arrow {
    color: #9ca3af;
    font-size: 18px;
}

.ct-channel:hover .ct-channel__arrow {
    color: var(--ct-o);
}

.ct-channel--wa {
    background: #0b1f17;
    border-color: #0b1f17;
    color: #fff;
}

.ct-channel--wa .ct-channel__name,
.ct-channel--wa .ct-channel__note {
    color: #a7c4b6;
}

.ct-channel--wa .ct-channel__arrow,
.ct-channel--wa:hover .ct-channel__arrow {
    color: #6ee7a0;
}

.ct-channel--wa:hover {
    border-color: #22c55e;
    box-shadow: 0 10px 28px -14px rgba(34, 197, 94, 0.6);
}

.ct-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ct-mut);
    padding: 6px 4px;
}

.ct-hours i {
    font-size: 18px;
}

.ct-hours__dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px #22c55e30;
}

/* --- Formulario --- */
.ct-card {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 20px 40px -30px rgba(11, 18, 32, 0.25);
}

.ct-card__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ct-card__sub {
    color: var(--ct-mut);
    margin: 8px 0 26px;
    font-size: 15px;
    line-height: 1.5;
}

.ct-alert {
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.ct-field {
    margin-bottom: 18px;
    min-width: 0;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ct-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ct-input {
    width: 100%;
    font: 500 15px var(--font-sans);
    color: var(--ct-ink);
    padding: 14px 16px;
    border: 1px solid var(--ct-field);
    border-radius: 10px;
    background: #fff;
    transition: 0.15s;
}

.ct-input::placeholder {
    color: #8b93a1;
}

.ct-input:focus {
    outline: 0;
    border-color: var(--ct-o);
    box-shadow: 0 0 0 4px #f9731622;
}

.ct-input:user-invalid,
.ct-input--error {
    border-color: #dc2626;
}

textarea.ct-input {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

.ct-error {
    font-size: 13px;
    color: #dc2626;
    margin-top: 6px;
}

/* Assunto em pilulas */
.ct-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ct-topics input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ct-topics label {
    font-weight: 600;
    font-size: 14px;
    padding: 9px 15px;
    border: 1px solid var(--ct-field);
    border-radius: 99px;
    cursor: pointer;
    transition: 0.15s;
}

.ct-topics label:hover {
    border-color: var(--ct-o);
}

.ct-topics input:checked + label {
    background: var(--ct-ink);
    border-color: var(--ct-ink);
    color: #fff;
}

.ct-topics input:focus-visible + label {
    box-shadow: 0 0 0 4px #f9731622;
}

.ct-count {
    text-align: right;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

/* Campo isca pra robo: fora da tela, nunca visivel pra gente. */
.ct-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ct-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--ct-o);
    color: #fff;
    font: 700 16px var(--font-sans);
    padding: 15px 28px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    box-shadow: 0 6px 16px -6px rgba(249, 115, 22, 0.6);
    transition: 0.15s;
}

.ct-submit:hover {
    background: var(--ct-o2);
    transform: translateY(-1px);
}

.ct-privacy {
    flex: 1;
    min-width: 200px;
    font-size: 13px;
    color: var(--ct-mut);
    line-height: 1.5;
}

.ct-privacy a {
    color: var(--ct-o2);
    text-decoration: underline;
}

/* Depois do envio: o cartao troca o formulario pelo aviso. */
.ct-sent {
    text-align: center;
    padding: 40px 10px;
}

.ct-sent i {
    font-size: 56px;
    color: #16a34a;
}

.ct-sent h2 {
    font-size: 24px;
    letter-spacing: -0.02em;
    margin: 14px 0 8px;
}

.ct-sent p {
    color: var(--ct-mut);
}

/* --- Responsivo --- */
@media (max-width: 900px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }

    .ct-card {
        padding: 24px;
    }

    .ct-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 560px) {
    .ct-wrap {
        padding: 0 16px;
    }

    .ct-hero {
        padding: 48px 0 40px;
    }

    .ct-body {
        padding: 32px 0 48px;
    }

    .ct-submit {
        width: 100%;
        justify-content: center;
    }
}
