.page-security {
  padding-bottom: 0;
  --danger: #d93025;
  --danger-bg: #fdecea;
  --safe-bg: #e8f7ee;
}

a.brand-bar {
  text-decoration: none;
}

/* Hero */
.security-hero {
  text-align: center;
}

.security-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--panel);
  border: 3px solid var(--brand);
  box-shadow: var(--shadow);
  font-size: 2.4rem;
}

.security-hero h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.security-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.security-hero__updated {
  margin: 10px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

/* Regra de ouro */
.security-alert {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--danger-bg);
  border: 1px solid rgba(217, 48, 37, 0.25);
  border-left: 5px solid var(--danger);
}

.security-alert strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--danger);
}

.security-alert p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

/* Diretrizes */
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.rule-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.rule-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-bottom);
  font-size: 1.2rem;
}

.rule-card h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
}

.rule-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.domain-list li {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-bottom);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
}

.rule-card b,
.security-help b,
.security-closing b {
  color: var(--text);
}

/* Canais oficiais */
.channel-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 6px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.channel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.channel-list li:last-child {
  border-bottom: none;
}

.channel-list li > span:first-child {
  flex-shrink: 0;
}

.channel-list li > span:last-child {
  line-height: 1.45;
}

.channel-list b {
  color: var(--brand);
  overflow-wrap: anywhere;
}

.channel-list__note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

/* Já fez pagamento */
.security-help {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--safe-bg);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-left: 5px solid var(--whatsapp-dark);
}

.security-help h2 {
  margin: 0 0 6px;
  text-align: left;
  font-size: 1rem;
}

.security-help p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Compartilhar */
.security-share .cta-whatsapp {
  margin-top: 16px;
}

.copy-link-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.copy-link-btn:hover {
  border-color: rgba(0, 51, 153, 0.25);
}

.copy-link-btn.copied {
  color: #15803d;
  border-color: rgba(37, 211, 102, 0.4);
}

.security-closing {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}
