/* ============ PAGE LAYOUT (Legal / Suporte / Status) ============ */
.page-hero {
  padding: 130px 0 60px;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(139,92,246,.18), transparent 70%);
  border-radius: 50%;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: .5; }
.page-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: 14px;
  position: relative;
}
.page-sub {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 680px;
  position: relative;
}
.last-updated {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  background: white;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  border: 1px solid var(--gray-100);
  position: relative;
}

.page-body {
  padding: 60px 0 100px;
}
.page-content {
  max-width: 820px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 24px 0 10px;
}
.page-content p {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.75;
}
.page-content li { margin-bottom: 6px; }
.page-content strong { color: var(--gray-900); font-weight: 600; }
.page-content a { color: var(--primary); font-weight: 600; }
.page-content a:hover { text-decoration: underline; }

.callout {
  background: var(--primary-50);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 12px;
  margin: 24px 0;
}
.callout strong { color: var(--primary-dark); }

.callout.warn {
  background: #fef3c7;
  border-left-color: var(--warning);
}
.callout.warn strong { color: #92400e; }

.callout.danger {
  background: #fef2f2;
  border-left-color: var(--danger);
}
.callout.danger strong { color: #991b1b; }

.callout.success {
  background: #ecfdf5;
  border-left-color: var(--success);
}
.callout.success strong { color: #065f46; }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto 50px;
}
.contact-card {
  background: white;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  transition: all .3s;
  text-align: center;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: var(--primary-50);
  color: var(--primary);
}
.contact-icon.green { background: #ecfdf5; color: var(--success); }
.contact-icon.purple { background: rgba(139,92,246,.1); color: #8b5cf6; }
.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gray-900);
}
.contact-card p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.contact-value {
  display: inline-block;
  padding: 10px 18px;
  background: var(--gray-50);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-900);
  border: 1px solid var(--gray-100);
}
.contact-card a.contact-value:hover {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.help-section {
  max-width: 820px;
  margin: 0 auto;
}
.help-title {
  text-align: center;
  margin-bottom: 32px;
}
.help-title h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.help-title p { color: var(--gray-500); }

/* ============ STATUS PAGE ============ */
.status-hero {
  text-align: center;
}
.status-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: #ecfdf5;
  border: 2px solid var(--success);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: #065f46;
  margin-top: 18px;
  position: relative;
}
.status-pulse .pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}
.status-pulse .pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--success);
  opacity: .4;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(.8); opacity: .5; }
  100% { transform: scale(2); opacity: 0; }
}

.status-grid {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.status-item {
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .2s;
}
.status-item:hover { box-shadow: var(--shadow); }
.status-info { display: flex; align-items: center; gap: 14px; }
.status-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.status-info strong {
  display: block;
  color: var(--gray-900);
  font-size: 15px;
  margin-bottom: 2px;
}
.status-info span {
  font-size: 13px;
  color: var(--gray-500);
}
.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
}
.status-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.status-metric {
  text-align: right;
}
.status-metric strong {
  display: block;
  font-size: 18px;
  color: var(--gray-900);
}
.status-metric span {
  font-size: 11px;
  color: var(--gray-500);
}

.uptime-card {
  background: white;
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--gray-100);
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}
.uptime-value {
  font-size: 56px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  line-height: 1;
}
.uptime-label {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 8px;
}
.uptime-bars {
  display: flex;
  gap: 3px;
  margin-top: 24px;
  justify-content: center;
}
.uptime-bar {
  width: 6px;
  height: 32px;
  background: var(--success);
  border-radius: 2px;
}
.uptime-bar.warn { background: var(--warning); }
.uptime-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 8px;
  font-weight: 500;
}

@media (max-width: 700px) {
  .page-content { padding: 28px 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .status-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
