/* ============================================================
   Modelo das páginas de serviço do portfólio (/portfolio/*)
   Usado por views/site/partials/portfolio-servico.ejs
   Mesmo visual da página /fim-da-escala-6x1 — prefixo .ps-
============================================================ */
:root {
  --ps-purple: #802FF1;
  --ps-purple-dk: #6d28d9;
  --ps-indigo: #4f46e5;
  --ps-cyan: #0eb5c9;
  --ps-navy: #14123a;
  --ps-text: #292929;
  --ps-muted: #5f6370;
  --ps-soft: #f6f3ff;
  --ps-radius: 14px;
  --ps-grad: linear-gradient(135deg, #6d28d9 0%, #4f46e5 55%, #0eb5c9 100%);
  --ps-dark: radial-gradient(circle at 85% 10%, rgba(14, 181, 201, .45) 0, transparent 45%), linear-gradient(135deg, #1b1250 0%, #4c1d95 50%, #4338ca 100%);
}

/* ---------- Botões ---------- */
.ps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; margin: 6px 6px 6px 0; border-radius: 10px;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none !important;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.ps-btn:hover, .ps-btn:focus { transform: translateY(-2px); }
.ps-btn:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }
.ps-btn-primary { background: var(--ps-grad); color: #fff !important; box-shadow: 0 8px 24px rgba(109, 40, 217, .35); }
.ps-btn-primary:hover { box-shadow: 0 12px 30px rgba(109, 40, 217, .45); }
.ps-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.ps-btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.ps-btn-light { background: #fff; color: var(--ps-purple-dk) !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* ---------- Hero ---------- */
.ps-hero { margin-top: 0; padding: 140px 0 64px; color: #fff; background: var(--ps-dark); }
.ps-breadcrumb { font-size: 13px; margin-bottom: 22px; color: rgba(255, 255, 255, .75); }
.ps-breadcrumb a { color: #fff; text-decoration: underline; }
.ps-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.ps-badge .fa { color: #a5f3fc; }
.ps-h1 { color: #fff !important; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -1px; margin: 0 0 18px; }
.ps-hero-lead { font-size: 20px; line-height: 1.55; color: #a5f3fc; font-weight: 600; max-width: 640px; margin: 0 0 22px; }
.ps-hero-ctas { margin-top: 8px; }
.ps-hero-art { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 280px; }
.ps-hero-icon {
  width: 220px; height: 220px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 0 0 22px rgba(255, 255, 255, .04), 0 0 0 44px rgba(255, 255, 255, .025), 0 24px 60px rgba(0, 0, 0, .25);
}
.ps-hero-icon .fa { font-size: 96px; color: #fff; text-shadow: 0 8px 30px rgba(14, 181, 201, .6); }

/* ---------- Cards O que é / O que inclui / Resultado ---------- */
.ps-cards { background: #f4f5f7; padding: 64px 0; }
.ps-cards-row { display: flex; flex-wrap: wrap; }
.ps-cards-row > [class*="col-"] { display: flex; margin-bottom: 24px; }
.ps-card {
  width: 100%; background: #fff; border-radius: var(--ps-radius); padding: 28px 26px;
  border-bottom: 3px solid var(--ps-purple); box-shadow: 0 6px 24px rgba(20, 18, 58, .06);
  transition: transform .2s, box-shadow .2s;
}
.ps-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(128, 47, 241, .14); }
.ps-card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--ps-soft); color: var(--ps-purple); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.ps-card h2 { font-size: 20px; font-weight: 800; color: var(--ps-navy) !important; margin: 0 0 12px; }
.ps-card p { font-size: 16px; line-height: 1.7; color: var(--ps-text); margin: 0; }
.ps-card ul { list-style: none; padding: 0; margin: 0; }
.ps-card li { position: relative; padding: 6px 0 6px 28px; font-size: 15px; line-height: 1.55; color: var(--ps-text); }
.ps-card li .fa { position: absolute; left: 0; top: 9px; color: var(--ps-cyan); }
.ps-card-destaque { background: var(--ps-grad); border-bottom-color: #0eb5c9; color: #fff; }
.ps-card-destaque .ps-card-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.ps-card-destaque h2 { color: #fff !important; }
.ps-card-destaque p { color: #fff; font-size: 18px; font-weight: 600; }

/* ---------- Chamada para ação ---------- */
.ps-cta { padding: 72px 0; color: #fff; text-align: center; background: radial-gradient(circle at 10% 90%, rgba(14, 181, 201, .4) 0, transparent 40%), linear-gradient(135deg, #1b1250 0%, #5b21b6 55%, #4338ca 100%); }
.ps-cta-kicker { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #a5f3fc; margin-bottom: 8px; }
.ps-cta h2 { color: #fff !important; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.6px; margin: 0 0 14px; }
.ps-cta p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 680px; margin: 0 auto 24px; }
.ps-cta-alt { font-size: 14px !important; margin: 14px auto 0 !important; }
.ps-cta-alt a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---------- Seções de conteúdo (usadas em /canal-de-denuncia) ---------- */
.ps-section { padding: 64px 0; }
.ps-section-gray { background: #f4f5f7; }
.ps-h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.5px; color: var(--ps-navy) !important; text-align: center; margin: 0 0 14px; }
.ps-h2 span { color: var(--ps-purple) !important; }
.ps-intro { max-width: 820px; margin: 0 auto 32px; text-align: center; font-size: 17px; line-height: 1.75; color: var(--ps-text); }
.ps-why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ps-why li { position: relative; background: #fff; border: 1px solid #ede9fe; border-radius: 12px; padding: 18px 18px 18px 54px; font-size: 15px; line-height: 1.6; color: var(--ps-text); box-shadow: 0 4px 16px rgba(20, 18, 58, .04); }
.ps-why li .fa { position: absolute; left: 18px; top: 19px; width: 24px; height: 24px; border-radius: 50%; background: var(--ps-grad); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 991px) {
  .ps-hero-art { display: none; }
  .ps-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ps-why { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ps-hero { padding: 100px 0 44px; }
  .ps-hero-lead { font-size: 17px; }
  .ps-btn { width: 100%; margin-right: 0; }
  .ps-cards, .ps-cta, .ps-section { padding: 48px 0; }
}
