/* =============================================================
   canal-etico.css — Estilos exclusivos da landing /canal-etico
   Complementa wecomply.css (tokens e base já definidos lá)
   ============================================================= */

/* ---------------------------------------------------------------
   HERO
--------------------------------------------------------------- */
.ce-hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--wc-dark, #0d0d1a);
}

.ce-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(128, 47, 241, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0, 106, 179, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ce-hero-checks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ce-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.ce-check svg {
  color: var(--wc-purple, #802FF1);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   VIDEO CARD
--------------------------------------------------------------- */
.ce-video-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ce-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(128, 47, 241, 0.15);
}

.ce-video-thumb {
  position: relative;
  background: #000;
  overflow: hidden;
}

.ce-video-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ce-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ce-video-link:hover .ce-video-img {
  transform: scale(1.05);
}

.ce-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.ce-video-link:hover .ce-video-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.ce-video-play-btn {
  width: 64px;
  height: 64px;
  background: var(--wc-purple, #802FF1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(128, 47, 241, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ce-video-play-btn svg {
  margin-left: 4px;
}

.ce-video-link:hover .ce-video-play-btn {
  transform: scale(1.15);
}

.ce-video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.ce-video-info {
  padding: 1.5rem;
}

.ce-video-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.ce-video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

.ce-video-channel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ef4444;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.ce-video-channel:hover {
  color: #dc2626;
  text-decoration: underline;
}

/* ---------------------------------------------------------------
   MOCKUP DUPLO — hero
--------------------------------------------------------------- */
.ce-mockup-wrap {
  position: relative;
  height: 420px;
}

.ce-mockup-card {
  position: absolute;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ce-mockup-public {
  width: 260px;
  top: 20px;
  left: 0;
  z-index: 2;
  background: #ffffff;
  border-color: #e5e7eb;
}

.ce-mockup-admin {
  width: 280px;
  top: 80px;
  right: 0;
  z-index: 3;
}

.ce-mockup-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wc-purple, #802FF1);
  margin-bottom: 0.75rem;
}

.ce-mockup-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ce-mockup-inner.dark .ce-mockup-label {
  color: var(--wc-purple, #802FF1);
}

/* Mockup — tela pública */
.ce-mk-logo {
  width: 70px;
  height: 12px;
  background: #e5e7eb;
  border-radius: 4px;
}

.ce-mk-title {
  width: 100%;
  height: 10px;
  background: #d1d5db;
  border-radius: 3px;
  margin-bottom: 4px;
}

.ce-mk-field {
  width: 100%;
  height: 28px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.ce-mk-field.short { height: 28px; width: 60%; }
.ce-mk-field.tall  { height: 52px; }

.ce-mk-anon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: #6b7280;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 4px 8px;
}

.ce-mk-anon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.ce-mk-btn {
  background: var(--wc-purple, #802FF1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  padding: 7px;
  margin-top: 2px;
}

/* Mockup — painel admin */
.ce-mk-stats {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.ce-mk-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.ce-mk-stat span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.ce-mk-stat.purple span { color: var(--wc-purple, #802FF1); }
.ce-mk-stat.blue span   { color: #60a5fa; }
.ce-mk-stat.green span  { color: #4ade80; }

.ce-mk-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ce-mk-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 5px 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.ce-mk-list-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ce-mk-list-dot.urgent { background: #ef4444; }
.ce-mk-list-dot.medium { background: #f59e0b; }
.ce-mk-list-dot.low    { background: #22c55e; }

.ce-mk-list-text {
  flex: 1;
  height: 7px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.ce-mk-list-text.short { width: 55%; flex: none; }

.ce-mk-list-badge {
  font-size: 0.55rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  white-space: nowrap;
}

.ce-mk-list-badge.medium {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.ce-mk-list-badge.low {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

/* ---------------------------------------------------------------
   REASON CARDS — "Por que ter um canal"
--------------------------------------------------------------- */
.ce-reason-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ce-reason-card:hover {
  box-shadow: 0 8px 32px rgba(128, 47, 241, 0.1);
  transform: translateY(-2px);
}

.ce-reason-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--wc-purple, #802FF1);
  opacity: 0.2;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.ce-reason-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.ce-reason-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------------------------------
   FLOW — "Como funciona"
--------------------------------------------------------------- */
.ce-flow-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wc-purple, #802FF1);
  margin-bottom: 1rem;
}

.ce-flow-label-admin {
  color: #60a5fa;
}

.ce-flow-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.ce-flow-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0 0.75rem;
}

.ce-flow-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.ce-flow-public {
  background: rgba(128, 47, 241, 0.15);
  color: #c084fc;
  border: 1px solid rgba(128, 47, 241, 0.3);
}

.ce-flow-admin {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.ce-flow-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.ce-flow-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

.ce-flow-arrow {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.5rem;
  padding-top: 12px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .ce-flow-track {
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
  }

  .ce-flow-step {
    text-align: left;
    display: flex;
    gap: 1rem;
    padding: 0;
    min-width: unset;
  }

  .ce-flow-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .ce-flow-arrow {
    display: none;
  }

  .ce-flow-title,
  .ce-flow-desc {
    text-align: left;
  }
}

/* ---------------------------------------------------------------
   FEATURE CARDS — "Funcionalidades"
--------------------------------------------------------------- */
.ce-feat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ce-feat-card:hover {
  box-shadow: 0 8px 24px rgba(128, 47, 241, 0.08);
  border-color: rgba(128, 47, 241, 0.3);
}

.ce-feat-card-highlight {
  border-color: var(--wc-purple, #802FF1);
  background: linear-gradient(135deg, #f9f4ff 0%, #fff 100%);
}

.ce-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(128, 47, 241, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wc-purple, #802FF1);
  margin-bottom: 1rem;
}

.ce-feat-card-highlight .ce-feat-icon {
  background: rgba(128, 47, 241, 0.12);
}

.ce-feat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.ce-feat-text {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------------------------------
   SECTOR CARDS — "Setores atendidos"
--------------------------------------------------------------- */
.ce-sector-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  height: 100%;
  color: inherit;
  cursor: pointer;
}

.ce-sector-card:hover {
  background: rgba(128, 47, 241, 0.1);
  border-color: rgba(128, 47, 241, 0.35);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.ce-sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(128, 47, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.ce-sector-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.ce-sector-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.ce-sector-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wc-purple, #802FF1);
  transition: color 0.15s ease;
}

.ce-sector-card:hover .ce-sector-link {
  color: #c084fc;
}

/* ---------------------------------------------------------------
   CONTACT HIGHLIGHTS — seção "Contratar"
--------------------------------------------------------------- */
.ce-contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ce-contact-hl {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.ce-contact-hl svg {
  color: var(--wc-purple, #802FF1);
  background: rgba(128, 47, 241, 0.15);
  border-radius: 50%;
  padding: 3px;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   SETOR PAGE — canal-etico-setor.ejs
--------------------------------------------------------------- */
.cs-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--wc-dark, #0d0d1a);
}

.cs-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(128, 47, 241, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0, 106, 179, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.cs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.cs-breadcrumb a {
  color: var(--wc-blue);
  text-decoration: none;
  transition: color 0.15s;
}

.cs-breadcrumb a:hover { text-decoration: underline; }

.cs-breadcrumb-sep { opacity: 0.4; }

.cs-setor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(128, 47, 241, 0.15);
  border: 1px solid rgba(128, 47, 241, 0.3);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cs-normas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.cs-norma-tag {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.cs-risk-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  height: 100%;
}

.cs-risk-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.cs-risk-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.cs-risk-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin: 0;
}

.cs-benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-benefit-item:last-child {
  border-bottom: none;
}

.cs-benefit-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--wc-purple, #802FF1);
  opacity: 0.4;
  line-height: 1;
  min-width: 2rem;
  font-variant-numeric: tabular-nums;
}

.cs-benefit-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.cs-benefit-text {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin: 0;
}

.cs-other-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cs-other-sector-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.cs-other-sector-link:hover {
  background: rgba(128, 47, 241, 0.12);
  border-color: rgba(128, 47, 241, 0.35);
  color: #c084fc;
  text-decoration: none;
}

/* ---------------------------------------------------------------
   RESPONSIVE ADJUSTMENTS
--------------------------------------------------------------- */
@media (max-width: 991px) {
  .ce-hero {
    padding: 120px 0 80px;
  }

  .ce-mockup-wrap {
    display: none;
  }
}

@media (max-width: 575px) {
  .ce-hero {
    padding: 100px 0 60px;
  }

  .ce-reason-card {
    padding: 1.25rem;
  }

  .ce-feat-card {
    padding: 1.25rem;
  }
}

/* ---------------------------------------------------------------
   REDUCED MOTION
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ce-reason-card,
  .ce-feat-card,
  .ce-sector-card {
    transition: none;
  }
}
