/* ============================================================
   Suporte & atendimento (site) — Fase 8
   ============================================================ */

/* ---------- Hero ---------- */
.suporte-hero-wrap { padding-top: 40px; }
.suporte-hero {
    background: linear-gradient(160deg, #2c6b46, #1c4a2f);
    color: #fff; border-radius: var(--radius); padding: 40px 36px;
}
.suporte-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 32px); }
.suporte-hero p { color: #dfeade; margin: 12px 0 24px; max-width: 540px; font-size: 16px; }
.suporte-hero-acoes { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-claro { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-claro:hover { background: rgba(255,255,255,.12); }

/* ---------- Seções / cards ---------- */
.suporte-section { padding-block: 36px; }
.suporte-section-canais { padding-top: 0; }
.suporte-card {
    background: #fff; border: 1px solid var(--linha); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 26px 28px;
}
.suporte-titulo { font-size: 21px; margin: 0 0 4px; }
.suporte-titulo-sm { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.suporte-sub { color: var(--texto-suave); font-size: 14px; margin: 0 0 8px; }
.suporte-h1 { font-size: clamp(26px, 3.2vw, 32px); margin-bottom: 6px; }
.suporte-lead { color: var(--texto-suave); font-size: 15.5px; margin: 0 0 26px; max-width: 620px; }

/* ---------- FAQ (accordion via <details>) ---------- */
.faq-item { border-bottom: 1px solid var(--linha); padding: 16px 2px; }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: none; }
.faq-q::after { content: '+'; color: var(--dourado); font-size: 20px; font-weight: 400; margin-left: 12px; }
.faq-item[open] .faq-q::after { content: '–'; }
.faq-a { color: var(--texto-suave); font-size: 14.5px; margin-top: 10px; max-width: 660px; }

/* ---------- Canais ---------- */
.suporte-canais { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.suporte-canal { flex: 1; min-width: 190px; border: 1px solid var(--linha); border-radius: var(--radius-sm); padding: 18px; background: #fdfcf8; }
.suporte-canal .t { font-weight: 700; font-size: 14px; color: var(--verde); display: flex; align-items: center; gap: 8px; }
.suporte-canal .t .icon { color: var(--verde); }
.suporte-canal .d { font-size: 12.5px; color: var(--texto-suave); margin-top: 4px; }
.canal-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--dourado); }
.canal-link:hover { text-decoration: underline; }

/* ---------- Layout de formulário (abrir/acompanhar) ---------- */
.suporte-colunas { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.suporte-colunas-acompanhar { grid-template-columns: .8fr 1.2fr; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; }

.suporte-card .label { display: block; font-size: 13px; font-weight: 600; color: var(--texto); margin: 16px 0 6px; }
.suporte-card .label:first-child { margin-top: 0; }
.suporte-card input[type="text"], .suporte-card input[type="tel"], .suporte-card input[type="email"],
.suporte-card select, .suporte-card textarea {
    display: block; width: 100%; padding: 11px 13px; font-size: 14.5px; font-family: var(--sans);
    border: 1.5px solid var(--linha); border-radius: var(--radius-sm); background: #fff; color: var(--texto);
    box-sizing: border-box; transition: border-color .2s;
}
.suporte-card input:focus, .suporte-card select:focus, .suporte-card textarea:focus { outline: none; border-color: var(--verde); }
.suporte-card textarea { min-height: 110px; resize: vertical; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.tipo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tipo-op {
    display: block; border: 1.5px solid var(--linha); border-radius: var(--radius-sm);
    padding: 12px 13px; cursor: pointer; background: #fdfcf8; position: relative;
}
.tipo-op input { position: absolute; opacity: 0; }
.tipo-op:has(input:checked) { border-color: var(--verde); background: #eaf5ee; }
.tipo-op .t { display: block; font-weight: 700; font-size: 14px; }
.tipo-op .d { display: block; font-size: 12px; color: var(--texto-suave); margin-top: 2px; }

.anexo {
    display: block; border: 1.5px dashed var(--linha); border-radius: var(--radius-sm);
    padding: 18px; text-align: center; color: var(--texto-suave); font-size: 13px;
    background: #fdfcf8; cursor: pointer; position: relative;
}
.anexo:hover { border-color: var(--verde); }
.anexo-input-real { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--texto-suave); margin-top: 16px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--verde); }

.protocolo-card { background: #eaf5ee; border: 1px solid #cfe0d3; border-radius: var(--radius); padding: 24px; }
.protocolo-num { font-family: var(--serif); font-size: 26px; font-weight: 800; color: var(--verde); letter-spacing: .02em; margin-top: 8px; }
.passo { display: flex; gap: 11px; font-size: 13.5px; color: #4f574c; margin-top: 12px; }
.passo .n {
    flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--verde);
    font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center;
    border: 1px solid #cfe0d3;
}
.aviso { border: 1px solid var(--linha); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13px; color: var(--texto-suave); background: #fdfcf8; }
.mini { font-size: 13px; color: var(--texto-suave); margin: 0; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Acompanhar: resumo + timeline ---------- */
.resumo-linha { display: flex; justify-content: space-between; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--linha); }
.resumo-linha:last-child { border-bottom: 0; }
.resumo-linha .k { color: var(--texto-suave); }
.resumo-linha .v { font-weight: 600; }

.pill { display: inline-flex; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-aberto { background: #e8f3ec; color: #1f5234; }
.pill-em_analise { background: #fbf2e2; color: #8a6320; }
.pill-em_andamento { background: #fbf2e2; color: #8a6320; }
.pill-resolvido { background: var(--verde-escuro); color: #fff; }
.pill-fechado { background: #ecebe7; color: #6b6b63; }

.divisor { border: 0; border-top: 1px solid var(--linha); margin: 20px 0; }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--linha); }
.ev { position: relative; padding: 0 0 20px; }
.ev:last-child { padding-bottom: 0; }
.ev .dot { position: absolute; left: -24px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--dourado); }
.ev.done .dot { background: var(--verde); border-color: var(--verde); }
.ev .quando { font-size: 12px; color: var(--texto-suave); }
.ev .quem { font-weight: 700; font-size: 14px; margin-top: 1px; }
.ev .msg { font-size: 14px; color: #4f574c; margin-top: 4px; background: var(--bege); padding: 10px 12px; border-radius: 10px; }
.ev.hospede .msg { background: #eef3ef; }

.anexos-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.anexos-grid img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--linha); }

.suporte-csat { text-align: center; max-width: 480px; margin: 0 auto; padding: 46px 32px; }
.suporte-csat .suporte-lead { margin-inline: auto; }

@media (max-width: 860px) {
    .suporte-colunas, .suporte-colunas-acompanhar { grid-template-columns: 1fr; }
    .grid-2, .tipo-grid { grid-template-columns: 1fr; }
}
