/* ==========================================================================
   VAIMEE brand tokens for AgoràWasteMap.

   Lifted from the VAIMEE site (website/public/css/site.css) so the two stay
   in step. Tokens come from the logo: navy #0f3e65, cyan #10b1d8.
   Load fonts/fonts.css alongside this file — the faces are self-hosted, so
   no request leaves the origin.
   ========================================================================== */

:root {
  /* text */
  --ink:        #0b1f33;   /* body text */
  --body-2:     #3c5772;
  --muted:      #55708a;   /* secondary text */
  --subtle:     #8ba0b3;   /* tertiary text, placeholders */

  /* brand */
  --navy:       #0f3e65;   /* primary */
  --navy-deep:  #082a47;   /* dark sections, primary hover */
  --cyan:       #10b1d8;   /* accent */
  --cyan-hover: #35c3e6;
  --cyan-deep:  #0a8fb3;   /* links, eyebrows */
  --cyan-soft:  #e3f4fa;   /* tinted fills */
  --cyan-pale:  #7fd8ef;
  --on-navy:    #a9cfe0;   /* body text on navy */

  /* surfaces */
  --white:      #ffffff;
  --mist:       #f3f6f9;   /* light section background */
  --sky:        #f6fbfd;
  --line:       #dbe4ec;   /* borders */
  --line-soft:  #eef2f6;

  /* data */
  --amber:      #d98c1f;   /* deficit, warning, required */
  --amber-deep: #a86b12;
  --moss:       #3f7a4f;   /* healthy, surplus */

  /* type */
  --font-display: Archivo, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'IBM Plex Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* geometry — the site uses square-ish corners, not pills */
  --radius:    10px;
  --radius-sm: 6px;
}

/* --------------------------------------------------------------------------
   Funding bar. Required by the grant and shown on every page, so it lives
   here rather than in a per-page stylesheet. It closes the page, sitting
   under the footer that carries the AgoràWasteMap identity.
   -------------------------------------------------------------------------- */
.funding-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; padding: 16px;
  background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.funding-bar img { flex-shrink: 0; object-fit: contain; }
.funding-bar p {
  margin: 0; max-width: 760px;
  font-family: var(--font-body); font-size: 12px; line-height: 1.45;
  color: var(--on-navy);
}
.funding-bar a { color: var(--cyan-pale); text-decoration: none; white-space: nowrap; }
.funding-bar a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .funding-bar { gap: 10px; padding: 8px 14px; }
  .funding-bar p { font-size: 11px; }
  .funding-bar img { height: 26px; }
}

/* Funding block placed inside a footer, beside the product identity, rather
   than as a band of its own. Marks are used as supplied, with no white plate. */
.footer-funding { display: flex; flex-direction: column; gap: 12px; }
.footer-funding-marks { display: flex; align-items: center; gap: 16px; }
.footer-funding-marks img { flex-shrink: 0; object-fit: contain; }
.footer-funding p {
  margin: 0; max-width: 520px;
  font-family: var(--font-body); font-size: 12px; line-height: 1.5;
  color: var(--on-navy);
}
.footer-funding a { color: var(--cyan-pale); text-decoration: none; white-space: nowrap; }
.footer-funding a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Page footer. Shared by the landing, the sheet form and the two
   marketplace pages, so it sits here rather than in the landing sheet:
   that one also restyles .btn, which would fight Bootstrap.
   -------------------------------------------------------------------------- */
footer { background: var(--navy); padding: 60px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; padding-bottom: 48px; align-items: start;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--white); margin-bottom: 12px; cursor: pointer;
  background: none; border: none;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; justify-content: flex-start; align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); font-family: var(--font-mono); }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
