/* ==========================================================
   UNIQUE — Páginas de contato de decisores
   /pages/telefone-de-decisores.html · /pages/email-de-decisores.html
   Carregado depois de /css/styles.css e /css/page-produto.css.
   Usa apenas os tokens definidos em styles.css (temas escuro e claro).
   ========================================================== */

/* Âncoras não ficam escondidas atrás do menu fixo */
.section[id] { scroll-margin-top: 84px; }

/* Ícones do Bootstrap Icons dentro do console do hero */
.v-ico .bi { font-size: 16px; line-height: 1; }

/* Status do console com cor de resultado (main.js aplica .ok em todos) */
.v-status.ok[data-tone="warn"] { color: var(--warn); background: var(--warn-soft); }
.v-status.ok[data-tone="bad"] { color: var(--danger); background: var(--danger-soft); }
.v-status.ok[data-tone="brand"] { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }

/* Selo de LinkedIn no rodapé do console */
.tc-li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  padding: 5px 9px;
  border-radius: 8px;
  white-space: nowrap;
}
.tc-li .bi { font-size: 12px; line-height: 1; }

/* ---------- Texto explicativo (HLR / SMTP) ---------- */
.tc-explain > p { color: var(--text-2); margin: 16px 0 0; }
.tc-explain > p strong { color: var(--text); font-weight: 650; }
.tc-explain .split-h3 { margin-top: 0; }
.tc-aside {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  font-size: 14.5px;
  color: var(--muted);
}
.tc-aside b { color: var(--text); font-weight: 650; }

.tc-steps-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 30px;
  min-width: 0;
}
.tc-steps-card .lane-kicker { margin-bottom: 4px; }
.tc-steps-card .steps { margin-top: 14px; }

/* ---------- Tabelas de status ---------- */
.tc-tables { display: grid; gap: 40px; margin-top: 56px; }
.tc-table-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.tc-table-head h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0;
}
.tc-table-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tc-table-wrap {
  margin-top: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  overflow: hidden;
}
.tc-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.tc-table th, .tc-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.tc-table thead th {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
}
.tc-table tbody tr:last-child td { border-bottom: 0; }
.tc-table tbody td { color: var(--text-2); }
.tc-table tbody td:first-child { width: 30%; }
.tc-table .st { white-space: normal; line-height: 1.35; }

.tc-note { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); }
.tc-note b { color: var(--text-2); font-weight: 650; }

/* ---------- Cards dos 4 status do e-mail ---------- */
.tc-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.tc-status {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tc-status .st { align-self: flex-start; white-space: normal; }
.tc-status dl { margin: 0; display: grid; gap: 12px; }
.tc-status dt {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tc-status dd { margin: 4px 0 0; font-size: 15px; color: var(--text-2); }
.tc-status.is-ok { border-color: color-mix(in srgb, var(--signal) 32%, transparent); }

/* ---------- Níveis de cargo ---------- */
.tc-levels { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tc-levels li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-2);
}
.tc-levels li .bi { color: var(--brand); font-size: 14px; line-height: 1; }
.tc-levels li.top { border-color: color-mix(in srgb, var(--brand) 40%, transparent); color: var(--text); }

.tc-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Mock: e-mails corporativos (dados mascarados) ---------- */
.tc-people { display: grid; gap: 10px; padding-top: 16px; }
.tc-person {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.tc-person .ini {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}
.tc-person .who { min-width: 0; }
.tc-person .who b { display: block; font-size: 14.5px; font-weight: 650; }
.tc-person .who small { display: block; font-size: 13px; color: var(--muted); }
.tc-person .mail {
  display: block;
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.tc-person .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tc-person .tags .st { font-size: 11px; padding: 3px 8px; }
.tc-person .li {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  position: relative;
}
.tc-person .li .bi { font-size: 16px; line-height: 1; }
.tc-person .li.verified::after {
  content: "";
  position: absolute;
  right: -4px; bottom: -4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid var(--bg-2);
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/8px no-repeat;
}
.tc-person .li.off { color: var(--dim); background: var(--surface-2); }

/* ---------- Perguntas frequentes ---------- */
.tc-faq {
  margin-top: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.tc-faq details + details { border-top: 1px solid var(--line); }
.tc-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--text);
  transition: background .2s;
}
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq summary:hover { background: var(--surface-2); }
.tc-faq summary:focus-visible { outline: 2px solid var(--brand-2); outline-offset: -2px; }
.tc-faq summary .bi { flex: none; margin-top: 4px; color: var(--muted); transition: transform .2s, color .2s; }
.tc-faq details[open] summary .bi { transform: rotate(180deg); color: var(--brand); }
.tc-faq-a { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.tc-faq-a p { margin: 0; max-width: 820px; }
.tc-faq-a a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Páginas relacionadas ---------- */
.tc-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.tc-rel {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .2s, transform .2s;
  min-width: 0;
}
.tc-rel:hover { border-color: color-mix(in srgb, var(--brand) 45%, transparent); transform: translateY(-2px); }
.tc-rel:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }
.tc-rel .p-ico { width: 44px; height: 44px; }
.tc-rel b { display: block; font-size: 16.5px; letter-spacing: -.01em; }
.tc-rel b .arrow { color: var(--brand); transition: transform .2s; display: inline-block; }
.tc-rel:hover b .arrow { transform: translateX(3px); }
.tc-rel span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .tc-status-grid { grid-template-columns: 1fr 1fr; }
  .tc-related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .tc-steps-card { padding: 22px; }
  .tc-status-grid { grid-template-columns: 1fr; }
  .tc-related { grid-template-columns: 1fr; }
  .tc-rel { padding: 18px; grid-template-columns: 40px 1fr; gap: 14px; }
  .tc-rel .p-ico { width: 40px; height: 40px; }
  .tc-faq summary { padding: 16px 18px; font-size: 16px; }
  .tc-faq-a { padding: 0 18px 18px; font-size: 15px; }

  /* Tabela vira lista de cartões no celular */
  .tc-table thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
  }
  .tc-table, .tc-table tbody, .tc-table tr, .tc-table td { display: block; width: 100%; }
  .tc-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .tc-table tbody tr:last-child { border-bottom: 0; }
  .tc-table td, .tc-table tbody td:first-child { width: 100%; padding: 6px 0; border: 0; }
  .tc-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
  }

  .tc-person { grid-template-columns: 36px minmax(0, 1fr) auto; padding: 12px; gap: 10px; }
  .tc-person .ini { width: 36px; height: 36px; font-size: 13px; }
}
