/* Canal de Denúncias — página autónoma.
   Tokens e estilos .denuncias-* portados de LamWebSite/src/index.css
   e LamWebSite/src/pages/CanalDenuncias.jsx. Mudou lá? Mudar aqui. */

/* Outfit (OFL), subset latin, variável 300–900 — self-hosted, sem Google Fonts. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/outfit.woff2') format('woff2');
}

:root {
  --font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --color-primary: #d6080c;
  --color-navy: #14213d;
  --color-heading: #172033;
  --color-body: #475569;
  --color-border: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--color-body);
  font-family: var(--font-family);
  font-size: 1.05rem;
  line-height: 1.8;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

a {
  color: var(--color-primary);
  font-weight: 700;
}

a:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

.sprite {
  display: none;
}

.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Barra de topo (substitui header/menu do site) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--color-border), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.topbar__logo {
  display: inline-flex;
}

.topbar__logo img {
  display: block;
  width: auto;
  height: 34px;
}

.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(214, 8, 12, 0.08);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__badge .icon {
  width: 16px;
  height: 16px;
}

/* Cabeçalho da página (substitui o hero) */
.page {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.intro {
  margin-bottom: 2.5rem;
}

.intro h1 {
  color: var(--color-navy);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.intro h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 1.1rem;
  border-radius: 999px;
  background: var(--color-primary);
}

.intro p {
  margin-top: 1rem;
  max-width: 650px;
  color: var(--color-body);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  font-weight: 500;
}

/* Secções */
.denuncias-section + .denuncias-section {
  margin-top: 3.5rem;
}

.denuncias-section h2 {
  margin-bottom: 1rem;
  color: var(--color-navy);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.denuncias-section h3 {
  color: var(--color-heading);
  font-weight: 800;
}

.denuncias-section > p {
  max-width: 85ch;
}

.denuncias-section > p + p {
  margin-top: 1rem;
}

.denuncias-lead {
  font-style: italic;
}

.denuncias-lead strong {
  color: var(--color-navy);
}

.denuncias-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.denuncias-item {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.denuncias-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.denuncias-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.denuncias-item__icon,
.denuncias-safeguard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(214, 8, 12, 0.08);
  color: var(--color-primary);
}

.denuncias-item__num {
  color: #cbd5e1;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.denuncias-item h3,
.denuncias-safeguard h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.denuncias-item p,
.denuncias-safeguard p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.denuncias-safeguards {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.denuncias-safeguard {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background: #f8fafc;
}

.denuncias-safeguard.is-highlight {
  border-left: 4px solid var(--color-primary);
  background: rgba(214, 8, 12, 0.05);
}

.denuncias-safeguard.is-highlight h3 {
  color: var(--color-primary);
}

.denuncias-synergy {
  padding: 2rem;
  border-radius: 1.25rem;
  background: #f1f5f9;
}

.denuncias-section.denuncias-synergy h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

/* Canais: faixa de 2 cartões */
.denuncias-channels {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.denuncias-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

.denuncias-contacts .denuncias-contact:first-child {
  grid-column: 1 / -1;
}

.denuncias-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 1.25rem;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: var(--shadow-md);
}

.denuncias-card--red {
  background: linear-gradient(160deg, #d6080c 0%, #a80609 100%);
}

.denuncias-card--navy {
  background: linear-gradient(160deg, #14213d 0%, #0b1428 100%);
}

.denuncias-card p {
  margin-top: 0.75rem;
}

.denuncias-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}

.denuncias-card .denuncias-card__note {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  opacity: 0.9;
}

.denuncias-card > p:not(.denuncias-card__note) {
  margin-bottom: 0.75rem;
}

.denuncias-card a {
  color: #ffffff;
  text-decoration: none;
}

.denuncias-contact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}

.denuncias-contact:hover,
.denuncias-contact:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.denuncias-contacts {
  margin-bottom: 1rem;
}

.denuncias-contact span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.denuncias-contact small,
.denuncias-hotline small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
}

.denuncias-contact strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.denuncias-hotline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.85rem;
  transition: background 0.2s ease;
}

.denuncias-hotline:hover,
.denuncias-hotline:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.denuncias-hotline strong {
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.denuncias-card b {
  font-weight: 800;
}

/* Rodapé mínimo */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 760px) {
  .denuncias-channels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .page {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .topbar__inner {
    min-height: 60px;
  }

  .topbar__logo img {
    height: 24px;
  }

  .denuncias-grid {
    grid-template-columns: 1fr;
  }

  .denuncias-synergy {
    padding: 1.5rem;
  }
}

@media (max-width: 360px) {
  .topbar__badge {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .denuncias-item,
  .denuncias-contact,
  .denuncias-hotline {
    transition: none;
  }

  .denuncias-item:hover {
    transform: none;
  }
}
