/* =========================================
   MONITORAMENTO - ESPAÇO GAIA
========================================= */

body:has(#monitoramento) {
  margin: 0;
}

/* =========================================
   VARIÁVEIS - TEMA ESCURO
========================================= */
/* ==========================================
   FONTES
========================================== */

@font-face {
  font-family: "TanBuste";
  src: url("fonts/TANBUSTER-fonts.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "AristotelicaPro";
  src: url("fonts/Zetafonts - Aristotelica Pro Text Extralight.otf")
    format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "TanParadiso";
  src: url("fonts/TAN-PARADISO.ttf") format("truetype");
  font-display: swap;
}

.mon-page {
  --mon-bg: #101011;
  --mon-surface: #18181b;
  --mon-card: #202024;
  --mon-border: #343039;

  --mon-text: #f8f5f7;
  --mon-muted: #c3bdc3;

  --mon-pink: #ec81b6;
  --mon-green: #85c99b;
  --mon-orange: #efad76;

  --mon-button: #b52e73;
  --mon-track: #38343c;

  --mon-title-font: "TanBuste", Georgia, serif;
  --mon-text-font: "AristotelicaPro", Arial, sans-serif;
  --mon-subtitle-font: "TamParadiso", Georgia, serif;

  width: 100%;
  max-width: none;
  min-width: 0;

  margin: 0;
  padding: 0;

  background: var(--mon-bg);
  color: var(--mon-text);

  font-family: var(--mon-text-font);
  line-height: 1.7;

  overflow: clip;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* =========================================
   TEMA CLARO
========================================= */

html[data-theme="light"] .mon-page,
body[data-theme="light"] .mon-page,
html.light-mode .mon-page,
body.light-mode .mon-page,
html.light .mon-page,
body.light .mon-page,
html.theme-light .mon-page,
body.theme-light .mon-page,
.mon-page[data-theme="light"] {
  --mon-bg: #fffafb;
  --mon-surface: #faedf3;
  --mon-card: #ffffff;
  --mon-border: #ead9e3;

  --mon-text: #30232c;
  --mon-muted: #675761;

  --mon-pink: #a92c6b;
  --mon-green: #286b43;
  --mon-orange: #a85620;

  --mon-button: #ae286b;
  --mon-track: #eedfe7;
}

/* =========================================
   RESET LOCAL
========================================= */

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

.mon-page h1,
.mon-page h2,
.mon-page h3,
.mon-page p {
  margin: 0;
}

.mon-page p {
  color: var(--mon-muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.mon-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.mon-page a {
  text-decoration: none;
}

.mon-page a:focus-visible {
  outline: 3px solid var(--mon-pink);
  outline-offset: 5px;
}

.mon-page section {
  scroll-margin-top: 110px;
}

/* =========================================
   CONTAINER E SEÇÕES
========================================= */

.mon-container {
  width: 100%;
  max-width: 1280px;

  margin-inline: auto;
  padding-inline: 40px;
}

.mon-section {
  width: 100%;
  padding-block: 100px;
}

.mon-alternate {
  background: var(--mon-surface);
}

.mon-heading {
  max-width: 850px;
  text-align: center;
  margin: 0 auto 50px;
}

.mon-heading p {
  margin-top: 18px;
}

.mon-description {
  max-width: 850px;
  margin: 20px 0 40px !important;
}

.mon-tag {
  display: inline-block;

  color: var(--mon-pink);

  font-family: var(--mon-text-font);
  font-size: 0.82rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 2px;

  margin-bottom: 16px;
}

.mon-title {
  font-family: var(--mon-title-font);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
}

.mon-source {
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  text-align: center;
  margin-top: 28px !important;
}

/* =========================================
   HERO
========================================= */

.mon-hero {
  position: relative;
  isolation: isolate;

  width: 100%;
  min-height: 85vh;

  display: flex;
  align-items: center;

  padding-block: 120px;

  background:
    radial-gradient(circle at 90% 80%, rgba(56, 144, 89, 0.4), transparent 40%),
    radial-gradient(
      circle at 15% 20%,
      rgba(179, 42, 109, 0.35),
      transparent 45%
    ),
    linear-gradient(125deg, #160e16, #271a25, #14271d);

  color: #ffffff;
}

.mon-hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);

  background-size: 45px 45px;

  pointer-events: none;
}

.mon-hero-content {
  text-align: center;
}

.mon-hero .mon-tag {
  color: #ff9bd0;

  margin-bottom: 25px;
}

.mon-hero h1 {
  font-family: var(--mon-title-font);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.1;

  overflow-wrap: break-word;

  margin-bottom: 20px;
}

.mon-hero h2 {
  font-family: var(--mon-subtitle-font);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 400;

  color: #f7a3cc;

  margin-bottom: 24px;
}

.mon-hero p {
  max-width: 720px;
  margin-inline: auto;

  color: #eee4ea;
  font-size: 1.15rem;
}

/* =========================================
   BOTÕES
========================================= */

.mon-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;

  margin-top: 35px;
}

.mon-btn,
.mon-btn-outline,
.mon-btn-white,
.mon-btn-white-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 52px;
  max-width: 100%;

  padding: 14px 26px;

  border: 2px solid transparent;
  border-radius: 9px;

  font-family: var(--mon-text-font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.mon-btn {
  background: var(--mon-button);
  color: #ffffff;
}

.mon-btn:hover {
  background: #932357;
  transform: translateY(-3px);

  box-shadow: 0 10px 24px rgba(182, 46, 115, 0.25);
}

.mon-btn-outline {
  border-color: #ee82b9;
  color: #ffffff;
}

.mon-btn-outline:hover {
  background: rgba(238, 130, 185, 0.15);
  transform: translateY(-3px);
}

.mon-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* =========================================
   GRID
========================================= */

.mon-grid {
  display: grid;
  gap: 24px;
}

.mon-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mon-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mon-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mon-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
}

.mon-two-columns .mon-title {
  margin-bottom: 25px;
}

.mon-two-columns p + p {
  margin-top: 18px;
}

/* =========================================
   SOBRE O MONITORAMENTO
========================================= */

.mon-destaque {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 320px;

  padding: 45px;

  border: 1px solid #a4537c;
  border-radius: 20px;

  background: linear-gradient(145deg, #63223f, #30202e);
}

.mon-destaque svg {
  width: 55px;
  height: 55px;

  color: #f5a3ce;

  margin-bottom: 25px;
}

.mon-destaque h3 {
  color: #ffffff;

  font-family: var(--mon-subtitle-font);
  font-size: 2rem;
  font-weight: 400;

  line-height: 1.3;
  margin-bottom: 15px;
}

.mon-destaque p {
  color: #f5e2ed;
}

/* =========================================
   CARDS GERAIS
========================================= */

.mon-card {
  min-width: 0;

  background: var(--mon-card);

  border: 1px solid var(--mon-border);
  border-radius: 16px;

  padding: 32px;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.mon-card:hover {
  transform: translateY(-6px);
  border-color: var(--mon-pink);
}

.mon-card svg {
  width: 36px;
  height: 36px;

  color: var(--mon-pink);

  margin-bottom: 18px;
}

.mon-card h3 {
  font-family: var(--mon-subtitle-font);
  font-weight: 400;

  font-size: 1.45rem;
  line-height: 1.3;

  margin-bottom: 15px;
}

/* =========================================
   CONTADORES
========================================= */

.mon-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 230px;

  background: var(--mon-card);

  border: 1px solid var(--mon-border);
  border-bottom: 4px solid var(--mon-pink);
  border-radius: 16px;

  padding: 25px 18px;

  text-align: center;

  transition: transform 0.3s ease;
}

.mon-stat:hover {
  transform: translateY(-6px);
}

.mon-stat svg {
  width: 34px;
  height: 34px;

  color: var(--mon-pink);

  margin-bottom: 15px;
}

.mon-counter {
  display: block;

  color: var(--mon-pink);

  font-family: var(--mon-text-font);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;

  line-height: 1.2;

  margin-bottom: 12px;
}

.mon-stat p {
  font-size: 1rem;
}

/* =========================================
   METODOLOGIA
========================================= */

.mon-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mon-method {
  display: flex;
  align-items: center;
  gap: 24px;

  padding: 24px;

  background: var(--mon-card);

  border: 1px solid var(--mon-border);
  border-radius: 14px;
}

.mon-method strong {
  flex-shrink: 0;

  min-width: 65px;

  color: var(--mon-pink);

  font-size: 2.8rem;
  line-height: 1;

  text-align: center;
}

.mon-method h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.mon-method p {
  font-size: 0.95rem;
}

/* =========================================
   GRÁFICOS
========================================= */

.mon-chart {
  --chart-color: var(--mon-pink);

  display: flex;
  flex-direction: column;

  min-width: 0;

  background: var(--mon-card);

  padding: 30px;

  border: 1px solid var(--mon-border);
  border-top: 4px solid var(--chart-color);
  border-radius: 16px;
}

.mon-pink {
  --chart-color: var(--mon-pink);
}

.mon-orange {
  --chart-color: var(--mon-orange);
}

.mon-green {
  --chart-color: var(--mon-green);
}

.mon-chart > svg {
  width: 38px;
  height: 38px;

  color: var(--chart-color);

  margin-bottom: 18px;
}

.mon-chart h3 {
  font-family: var(--mon-subtitle-font);
  font-size: 1.5rem;
  font-weight: 400;

  line-height: 1.3;

  margin-bottom: 28px;
}

.mon-chart-item {
  margin-bottom: 25px;
}

.mon-chart-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;

  font-size: 0.94rem;

  margin-bottom: 10px;
}

.mon-chart-label strong {
  color: var(--chart-color);
  flex-shrink: 0;
}

.mon-bar {
  width: 100%;
  height: 12px;

  background: var(--mon-track);

  border-radius: 30px;
  overflow: hidden;
}

.mon-fill {
  width: var(--value);
  height: 100%;

  background: var(--chart-color);

  border-radius: 30px;
  transform-origin: left center;
}

.mon-bar.mon-visible .mon-fill {
  animation: mon-grow 1.4s ease-out both;
}

@keyframes mon-grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.mon-income {
  display: flex;
  flex-direction: column;

  margin-bottom: 25px;
}

.mon-income strong {
  color: var(--mon-orange);

  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.mon-income span {
  color: var(--mon-muted);

  font-size: 0.9rem;

  margin-top: 5px;
}

.mon-chart p {
  font-size: 0.97rem;
  margin-bottom: 20px;
}

.mon-ods-tag {
  display: inline-block;
  align-self: flex-start;

  background: var(--mon-surface);
  color: var(--mon-text);

  border: 1px solid var(--mon-border);
  border-radius: 30px;

  padding: 6px 14px;

  font-size: 0.78rem;
  font-weight: 700;
}

.mon-chart .mon-ods-tag {
  margin-top: auto;
}

/* =========================================
   JUSTIÇA SOCIAL
========================================= */

.mon-justica {
  background: linear-gradient(125deg, #31172a, #172a20);
}

.mon-justica .mon-title {
  color: #ffffff;
}

.mon-justica .mon-tag {
  color: #f4a2ce;
}

.mon-justica .mon-card {
  background: rgba(255, 255, 255, 0.065);

  border-color: rgba(255, 255, 255, 0.17);

  color: #ffffff;
}

.mon-justica .mon-card p {
  color: #e6dce3;
}

.mon-justica .mon-card svg {
  color: #ee90c2;
}

/* =========================================
   RELATOS
========================================= */

.mon-relato {
  padding: 32px;

  background: var(--mon-card);

  border: 1px solid var(--mon-border);
  border-left: 4px solid var(--mon-pink);

  border-radius: 14px;
}

.mon-relato svg {
  width: 35px;
  height: 35px;

  color: var(--mon-pink);

  margin-bottom: 16px;
}

.mon-relato h3 {
  font-family: var(--mon-subtitle-font);
  font-size: 1.45rem;
  font-weight: 400;

  line-height: 1.3;

  margin-bottom: 15px;
}

/* =========================================
   TECNOLOGIAS SOCIAIS
========================================= */

.mon-tecnologia {
  background: var(--mon-card);

  border: 1px solid var(--mon-border);
  border-radius: 18px;

  padding: 40px;

  transition: transform 0.3s ease;
}

.mon-tecnologia:hover {
  transform: translateY(-5px);
}

.mon-tech-icon {
  display: grid;
  place-items: center;

  width: 75px;
  height: 75px;

  background: rgba(87, 163, 110, 0.15);
  color: var(--mon-green);

  border-radius: 18px;

  margin-bottom: 24px;
}

.mon-tech-icon svg {
  width: 36px;
  height: 36px;
}

.mon-tecnologia h3 {
  font-family: var(--mon-subtitle-font);
  font-weight: 400;
  font-size: 1.8rem;

  line-height: 1.3;
  margin-bottom: 8px;
}

.mon-author {
  display: block;

  color: var(--mon-green);
  font-weight: 700;

  margin-bottom: 15px;
}

.mon-tecnologia .mon-ods-tag {
  margin-top: 22px;
}

/* =========================================
   ENCAMINHAMENTOS
========================================= */

.mon-acoes {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mon-acoes > div {
  display: flex;
  align-items: center;
  gap: 15px;

  background: var(--mon-card);

  border: 1px solid var(--mon-border);
  border-radius: 10px;

  padding: 20px;
}

.mon-acoes svg {
  flex-shrink: 0;

  width: 25px;
  height: 25px;

  color: var(--mon-green);
}

/* =========================================
   OBJETIVOS DE DESENVOLVIMENTO
   SUSTENTÁVEL
========================================= */

.mon-ods {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  max-width: 760px;
  margin-inline: auto;

  gap: 18px;
}

.mon-ods img {
  width: 115px;
  aspect-ratio: 1;

  object-fit: contain;
  border-radius: 8px;

  transition: transform 0.3s ease;
}

.mon-ods img:hover {
  transform: translateY(-5px) scale(1.04);
}

/* =========================================
   RELATÓRIOS
========================================= */

.mon-report-grid {
  display: grid;
  gap: 25px;
}

.mon-report {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);

  max-width: 950px;
  width: 100%;

  margin-inline: auto;

  background: var(--mon-card);

  border: 1px solid var(--mon-border);
  border-radius: 20px;

  overflow: hidden;
}

.mon-report-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 35px 25px;

  background: linear-gradient(145deg, #9b2d64, #391d3a, #254c34);

  color: #ffffff;
}

.mon-report-cover > span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;

  margin-bottom: 35px;
}

.mon-report-cover svg {
  width: 65px;
  height: 65px;

  color: #ffd8ec;

  margin-bottom: 18px;
}

.mon-report-cover h3 {
  font-family: var(--mon-title-font);
  font-size: 1.7rem;
  font-weight: 400;

  line-height: 1.25;
}

.mon-report-cover strong {
  font-size: 3rem;
  line-height: 1.3;

  margin-top: 12px;
}

.mon-report-cover small {
  color: #f8d4e7;
}

.mon-report-content {
  padding: 45px;

  align-self: center;
}

.mon-report-content h3 {
  font-family: var(--mon-subtitle-font);
  font-size: 2rem;
  font-weight: 400;

  line-height: 1.3;
  margin-bottom: 18px;
}

.mon-report-content .mon-btn {
  margin-top: 25px;
}

/* =========================================
   CTA
========================================= */

.mon-cta {
  width: 100%;

  padding-block: 95px;

  text-align: center;

  background: linear-gradient(120deg, #a42b66, #76234f, #2b7048);

  color: #ffffff;
}

.mon-cta .mon-container > svg {
  width: 48px;
  height: 48px;

  margin-bottom: 20px;
}

.mon-cta h2 {
  font-family: var(--mon-title-font);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 400;
  line-height: 1.25;

  margin-bottom: 20px;
}

.mon-cta p {
  max-width: 700px;

  color: #ffffff;

  margin-inline: auto;
}

.mon-btn-white {
  background: #ffffff;
  color: #8c245b;
}

.mon-btn-white:hover {
  transform: translateY(-3px);
  background: #fbe7f1;
}

.mon-btn-white-outline {
  color: #ffffff;
  border-color: #ffffff;
}

.mon-btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

/* =========================================
   RESPONSIVO - NOTEBOOK E TABLET
========================================= */

@media (max-width: 1024px) {
  .mon-container {
    padding-inline: 30px;
  }

  .mon-section {
    padding-block: 75px;
  }

  .mon-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mon-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mon-two-columns {
    gap: 35px;
  }

  .mon-chart,
  .mon-card {
    padding: 25px;
  }
}

/* =========================================
   RESPONSIVO - CELULAR
========================================= */

@media (max-width: 768px) {
  .mon-container {
    padding-inline: 22px;
  }

  .mon-section {
    padding-block: 60px;
  }

  .mon-hero {
    min-height: 75vh;
    padding-block: 100px;
  }

  .mon-hero p {
    font-size: 1rem;
  }

  .mon-heading {
    margin-bottom: 35px;
  }

  .mon-grid {
    gap: 18px;
  }

  .mon-grid-2,
  .mon-grid-3,
  .mon-two-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .mon-two-columns {
    gap: 30px;
  }

  .mon-destaque {
    min-height: auto;
    padding: 30px;
  }

  .mon-stat {
    min-height: 190px;
  }

  .mon-stat p {
    font-size: 0.92rem;
  }

  .mon-report {
    grid-template-columns: minmax(0, 1fr);
  }

  .mon-report-cover {
    min-height: 300px;
  }

  .mon-report-content {
    padding: 28px;
  }

  .mon-report-content h3 {
    font-size: 1.6rem;
  }

  .mon-ods {
    gap: 12px;
  }

  .mon-ods img {
    width: 90px;
  }

  .mon-cta {
    padding-block: 65px;
  }
}

/* =========================================
   RESPONSIVO - CELULARES PEQUENOS
========================================= */

@media (max-width: 400px) {
  .mon-container {
    padding-inline: 16px;
  }

  .mon-hero h1 {
    font-size: 2.4rem;
  }

  .mon-hero h2 {
    font-size: 1.25rem;
  }

  .mon-title {
    font-size: 1.85rem;
  }

  .mon-tag {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .mon-grid {
    gap: 12px;
  }

  .mon-counter {
    font-size: 2.4rem;
  }

  .mon-stat {
    padding: 20px 12px;
    min-height: 165px;
  }

  .mon-buttons {
    flex-direction: column;
  }

  .mon-btn,
  .mon-btn-outline,
  .mon-btn-white,
  .mon-btn-white-outline {
    width: 100%;
    padding-inline: 15px;
    font-size: 0.95rem;
  }

  .mon-chart,
  .mon-card,
  .mon-relato,
  .mon-tecnologia {
    padding: 22px;
  }

  .mon-chart-label {
    font-size: 0.85rem;
  }

  .mon-method {
    gap: 12px;
    padding: 18px;
  }

  .mon-method strong {
    min-width: 45px;
    font-size: 2rem;
  }

  .mon-report-content {
    padding: 22px;
  }

  .mon-ods img {
    width: 75px;
  }
}

/* =========================================
   ACESSIBILIDADE
========================================= */

@media (prefers-reduced-motion: reduce) {
  .mon-page *,
  .mon-page *::before,
  .mon-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
