/* ═══════════════════════════════════════════
   CEDAMP — Design System
   Colégio dos Encarregados pelo Tratamento
   de Dados Pessoais do Ministério Público
═══════════════════════════════════════════ */

:root {
  --navy:   #0D1F3C;
  --navy-2: #1B3B72;
  --acc:    #2455C2;
  --acc-h:  #1D47A8;
  --bg:     #F6F5F0;
  --surf:   #FFFFFF;
  --muted:  #EDEBE3;
  --bdr:    #D8D4C8;
  --bdr-s:  #E4E1D8;
  --tx:     #0A0D16;
  --tx2:    #4E546A;
  --tx3:    #8E94AA;
  --serif:  'DM Serif Display', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --max:    1400px;
  --pad:    clamp(1.25rem, 4.5vw, 3.5rem);
  --row:    clamp(4.5rem, 8vw, 8rem);
  --ease:   cubic-bezier(.4,0,.2,1);
  --ease-o: cubic-bezier(0,0,.2,1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:    #0A0D16;
    --surf:  #0F1525;
    --muted: #151C2E;
    --bdr:   #1F2A40;
    --bdr-s: #182338;
    --tx:    #EEF0F6;
    --tx2:   #7A80A0;
    --tx3:   #454D6A;
  }
}

:root[data-theme="dark"] {
  --bg:    #0A0D16;
  --surf:  #0F1525;
  --muted: #151C2E;
  --bdr:   #1F2A40;
  --bdr-s: #182338;
  --tx:    #EEF0F6;
  --tx2:   #7A80A0;
  --tx3:   #454D6A;
}

/* ── RESET ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); background: var(--bg); color: var(--tx); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--sans); }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── ACESSIBILIDADE ─────────────────────── */
.skip {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  padding: .75rem 1.5rem; background: var(--navy); color: #fff;
  font-size: .875rem; font-weight: 500; border-radius: 2px; transition: top .2s;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ── LAYOUT ─────────────────────────────── */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ── EYEBROW ─────────────────────────────── */
.ey {
  display: inline-flex; align-items: center; gap: .625rem;
  font-size: .6875rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tx3);
}
.ey::before { content: ''; width: 1.25rem; height: 1px; background: currentColor; flex-shrink: 0; }
.ey.acc { color: var(--acc); }

/* ── HEADER ─────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: 62px; display: flex; align-items: center;
  transition: background .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.solid {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom-color: var(--bdr-s);
  backdrop-filter: blur(10px);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Logo */
.logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.logo-mk {
  width: 34px; height: 34px; background: var(--navy); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mk span { font-size: 9px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.logo-tx { line-height: 1; }
.logo-name { font-size: .9375rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); display: block; }
.logo-sub { font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); display: block; margin-top: 2px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { font-size: .875rem; font-weight: 400; color: var(--tx2); position: relative; padding-bottom: 2px; transition: color .2s; }
.nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--acc); transition: width .3s var(--ease); }
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }

/* Header actions */
.hdr-act { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--tx2); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--muted); color: var(--navy); }
.menu-btn { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; cursor: pointer; }
.menu-btn span { display: block; height: 1.5px; background: var(--tx); border-radius: 1px; transition: all .3s var(--ease); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 62px 0 0 0; z-index: 190;
  background: var(--bg); padding: 2rem var(--pad);
  display: flex; flex-direction: column; gap: 1.25rem;
  border-top: 1px solid var(--bdr-s);
  transform: translateY(-8px); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s;
  pointer-events: none;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { font-size: 1.125rem; font-weight: 400; color: var(--tx2); transition: color .2s; }
.mobile-nav a:hover { color: var(--navy); }

/* ── SECTIONS ─────────────────────────── */
.sec { padding: var(--row) 0; }
.sec-w { background: var(--surf); }
.sec-bg { background: var(--bg); }
.sec-dk { background: var(--navy); }
.sec-w + .sec-bg, .sec-bg + .sec-w,
.sec-w + .sec-w,  .sec-bg + .sec-bg { border-top: 1px solid var(--bdr-s); }
.sec-dk + * { border-top: none; }
* + .sec-dk { border-top: none; }

/* ── HERO ────────────────────────────── */
.hero { min-height: 100svh; padding-top: 62px; display: flex; flex-direction: column; background: var(--bg); position: relative; overflow: hidden; }
.hero-body { flex: 1; display: grid; grid-template-columns: 55fr 45fr; gap: 3rem; align-items: center; padding: clamp(3rem,7vw,6rem) var(--pad); max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-txt { max-width: 600px; position: relative; z-index: 1; }
.hero-ey { font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); margin-bottom: 2rem; display: flex; align-items: center; gap: .625rem; }
.hero-ey::before { content: ''; width: 1.5rem; height: 1px; background: var(--bdr); flex-shrink: 0; }
.hero-ey .dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--tx3); margin: 0 .125rem; }
.h1 { font-family: var(--serif); font-size: clamp(2.375rem,4.5vw,3.875rem); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; color: var(--navy); margin-bottom: 1.75rem; text-wrap: balance; }
.h1 em { font-style: italic; opacity: .7; }
.hero-desc { font-size: clamp(.9375rem,1.3vw,1.0625rem); font-weight: 300; line-height: 1.75; color: var(--tx2); max-width: 480px; margin-bottom: 2.5rem; }
.hero-cta { display: flex; align-items: center; gap: 2rem; }

/* Hero visual */
.hero-vis { display: flex; align-items: center; justify-content: center; position: relative; }
.net-svg { width: 100%; max-width: 520px; height: auto; }
.hero-bg-w {
  position: absolute; right: -.5em; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: clamp(7rem,14vw,16rem);
  font-weight: 400; letter-spacing: -.03em; color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--navy) 6%, transparent);
  pointer-events: none; user-select: none; white-space: nowrap; z-index: 0;
}
.hero-ft { padding: 1.75rem var(--pad) 2.25rem; display: flex; align-items: center; gap: 1.75rem; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-ft-lbl { font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); white-space: nowrap; }
.hero-ft-rule { flex: 1; height: 1px; background: linear-gradient(to right, var(--bdr), transparent); }

/* ── BOTÕES ──────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: .9375rem; font-weight: 500; border-radius: 2px; transition: all .25s var(--ease); white-space: nowrap; }
.btn-p { padding: .875rem 1.875rem; background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn-p:hover { background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-1px); }
.btn-o { padding: .875rem 1.875rem; background: transparent; color: var(--tx2); border: 1px solid var(--bdr); }
.btn-o:hover { border-color: var(--navy); color: var(--navy); }
.txlink { font-size: .9375rem; font-weight: 400; color: var(--tx2); display: inline-flex; align-items: center; gap: .375rem; transition: color .2s, gap .3s var(--ease); }
.txlink svg { transition: transform .3s var(--ease); }
.txlink:hover { color: var(--acc); gap: .625rem; }
.txlink:hover svg { transform: translateX(3px); }
.arrow-link { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 500; color: var(--acc); transition: gap .3s var(--ease); }
.arrow-link:hover { gap: .625rem; }

/* ── PROPÓSITO ───────────────────────── */
.prop-grid { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(2.5rem,6vw,7rem); align-items: start; }
.prop-l { padding-top: .25rem; }
.prop-l .ey { margin-bottom: 2rem; }
.prop-note { font-size: .875rem; font-weight: 300; line-height: 1.7; color: var(--tx3); max-width: 200px; margin-top: 1.5rem; border-left: 2px solid var(--bdr); padding-left: 1rem; }
.prop-h2 { font-family: var(--serif); font-size: clamp(1.625rem,2.8vw,2.375rem); font-weight: 400; line-height: 1.18; letter-spacing: -.02em; color: var(--navy); margin-bottom: 1.75rem; text-wrap: balance; }
.prop-body { font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--tx2); }
.prop-body p + p { margin-top: 1.25rem; }

/* ── PILARES ─────────────────────────── */
.pillar-hdr { margin-bottom: 3.5rem; }
.pillar-hdr .ey { margin-bottom: 1.25rem; }
.pillar-hdr h2 { font-family: var(--serif); font-size: clamp(1.75rem,3.2vw,2.75rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); max-width: 480px; text-wrap: balance; }

.pillar { display: grid; grid-template-columns: 5rem 1fr auto; gap: 0 2rem; padding: 2.25rem 0; border-top: 1px solid var(--bdr); align-items: start; transition: padding-left .4s var(--ease); }
.pillar:last-child { border-bottom: 1px solid var(--bdr); }
.pillar:hover { padding-left: 1rem; }
.p-num { font-family: var(--serif); font-size: .875rem; font-style: italic; color: var(--tx3); padding-top: .125rem; transition: color .3s; }
.pillar:hover .p-num { color: var(--acc); }
.p-title { font-size: 1.125rem; font-weight: 500; color: var(--navy); letter-spacing: -.01em; margin-bottom: .625rem; transition: color .3s; }
.pillar:hover .p-title { color: var(--acc); }
.p-desc { font-size: .9375rem; font-weight: 300; line-height: 1.7; color: var(--tx2); max-width: 600px; }
.p-arr { color: var(--tx3); padding-top: .25rem; transition: transform .3s var(--ease), color .3s; flex-shrink: 0; }
.pillar:hover .p-arr { transform: translateX(4px); color: var(--acc); }

/* ── STATEMENT ───────────────────────── */
.stmt { padding: clamp(4.5rem,8vw,7.5rem) 0; overflow: hidden; }
.stmt-tx { font-family: var(--serif); font-size: clamp(2.25rem,5.5vw,5rem); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; color: rgba(255,255,255,.9); max-width: 82%; }
.stmt-tx .dim { color: rgba(255,255,255,.28); }

/* ── ECOSSISTEMA ─────────────────────── */
.eco-hdr { margin-bottom: 3rem; }
.eco-hdr .ey { margin-bottom: 1.25rem; }
.eco-hdr h2 { font-family: var(--serif); font-size: clamp(1.625rem,2.8vw,2.375rem); font-weight: 400; line-height: 1.18; letter-spacing: -.02em; color: var(--navy); max-width: 480px; text-wrap: balance; }
.eco-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--bdr); }
.eco-blk { padding: 2.75rem 2.25rem 2.5rem; border-right: 1px solid var(--bdr); display: flex; flex-direction: column; position: relative; }
.eco-blk:last-child { border-right: none; }
.eco-blk::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.eco-blk:hover::after { transform: scaleX(1); }
.eco-cat { font-size: .625rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); margin-bottom: 1.5rem; }
.eco-img { aspect-ratio: 16/9; background: var(--muted); margin-bottom: 2rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.eco-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.eco-blk:hover .eco-img img { transform: scale(1.03); }
.eco-ph { font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); text-align: center; }
.eco-title { font-size: 1.125rem; font-weight: 500; color: var(--navy); letter-spacing: -.01em; line-height: 1.3; margin-bottom: .875rem; }
.eco-desc { font-size: .9375rem; font-weight: 300; line-height: 1.7; color: var(--tx2); flex: 1; margin-bottom: 2rem; }

/* ── DESTAQUE ────────────────────────── */
.dst-hdr { margin-bottom: 3rem; }
.dst-hdr .ey { margin-bottom: 1rem; }
.dst-hdr h2 { font-family: var(--serif); font-size: clamp(1.5rem,2.5vw,2.125rem); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); max-width: 520px; text-wrap: balance; }
.dst-grid { display: grid; grid-template-columns: 62fr 38fr; border: 1px solid var(--bdr); }
.dst-main { border-right: 1px solid var(--bdr); }
.d-img { aspect-ratio: 16/10; background: var(--muted); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.d-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dst-main:hover .d-img img { transform: scale(1.02); }
.d-cnt { padding: 2.5rem; }
.tag { display: inline-block; font-size: .5625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .3125rem .75rem; background: color-mix(in srgb, var(--acc) 9%, transparent); color: var(--acc); border-radius: 1px; }
.art-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.art-date { font-size: .8125rem; font-weight: 300; color: var(--tx3); }
.art-ttl { font-size: 1.25rem; font-weight: 500; color: var(--navy); letter-spacing: -.015em; line-height: 1.3; margin-bottom: .875rem; display: block; transition: color .2s; }
.art-ttl:hover { color: var(--acc); }
.art-exc { font-size: .9375rem; font-weight: 300; line-height: 1.7; color: var(--tx2); }
.dst-side { display: flex; flex-direction: column; }
.d-item { padding: 1.75rem 1.875rem; border-bottom: 1px solid var(--bdr-s); transition: background .2s; display: block; }
.d-item:last-child { border-bottom: none; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.d-item:hover { background: var(--muted); }
.d-item .art-meta { margin-bottom: .625rem; }
.d-item .art-ttl { font-size: .9375rem; margin-bottom: 0; }

/* ── BIBLIOTECA ──────────────────────── */
.bib-in { max-width: 720px; }
.bib-ey { font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: .625rem; }
.bib-ey::before { content: ''; width: 1.25rem; height: 1px; background: currentColor; display: block; }
.bib-h2 { font-family: var(--serif); font-size: clamp(1.75rem,3.5vw,2.875rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; color: rgba(255,255,255,.9); margin-bottom: 2.5rem; text-wrap: balance; }
.bib-field { position: relative; margin-bottom: 1.25rem; }
.bib-inp { width: 100%; padding: 1.25rem 4.5rem 1.25rem 1.5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 2px; font-family: var(--sans); font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.88); outline: none; transition: background .2s, border-color .2s; }
.bib-inp::placeholder { color: rgba(255,255,255,.28); }
.bib-inp:focus { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }
.bib-ico { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.3); pointer-events: none; }
.flt-bar { display: flex; gap: .5rem; flex-wrap: wrap; }
.flt-btn { padding: .4375rem 1rem; font-size: .8125rem; font-weight: 400; color: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.14); border-radius: 100px; transition: all .2s; background: transparent; font-family: var(--sans); cursor: pointer; }
.flt-btn:hover, .flt-btn.on { color: rgba(255,255,255,.88); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }

/* ── INICIATIVAS ─────────────────────── */
.ini-hdr { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.ini-hdr-l .ey { margin-bottom: 1.25rem; }
.ini-h2 { font-family: var(--serif); font-size: clamp(1.625rem,2.8vw,2.375rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); max-width: 440px; text-wrap: balance; }
.car-nav { display: flex; gap: .625rem; flex-shrink: 0; }
.car-btn { width: 44px; height: 44px; border: 1px solid var(--bdr); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--tx2); transition: all .2s; background: transparent; cursor: pointer; }
.car-btn:hover { border-color: var(--navy); color: var(--navy); }
.car-btn:disabled { opacity: .3; pointer-events: none; }
.car-wrap { overflow: hidden; }
.car-track { display: flex; gap: 1.5rem; transition: transform .5s var(--ease); }
.car-item { flex: 0 0 calc(33.333% - 1rem); }
.car-img { aspect-ratio: 4/3; background: var(--muted); margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: filter .3s; }
.car-img img { width: 100%; height: 100%; object-fit: cover; }
.car-item:hover .car-img { filter: brightness(.95); }
.car-cat { font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); margin-bottom: .5rem; }
.car-ttl { font-size: 1rem; font-weight: 500; color: var(--navy); line-height: 1.35; transition: color .2s; }
.car-ttl a { color: inherit; }
.car-item:hover .car-ttl { color: var(--acc); }

/* ── SOBRE ───────────────────────────── */
.sob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,7rem); align-items: center; }
.sob-content .ey { margin-bottom: 1.5rem; }
.sob-h2 { font-family: var(--serif); font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); margin-bottom: 1.5rem; text-wrap: balance; }
.sob-body { font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--tx2); margin-bottom: 2rem; }
.sob-vis { aspect-ratio: 5/4; background: var(--muted); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sob-vis img { width: 100%; height: 100%; object-fit: cover; }

/* ── COMPOSIÇÃO ──────────────────────── */
.comp-hdr { margin-bottom: 3rem; }
.comp-hdr .ey { margin-bottom: 1.25rem; }
.comp-hdr h2 { font-family: var(--serif); font-size: clamp(1.625rem,2.8vw,2.375rem); font-weight: 400; line-height: 1.18; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.comp-ph { border: 1px dashed var(--bdr); padding: 3rem 2.5rem; text-align: center; }
.comp-ph strong { font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); display: block; margin-bottom: .75rem; }
.comp-ph p { font-size: .875rem; color: var(--tx3); line-height: 1.6; max-width: 360px; margin: 0 auto; }

/* ── NOTÍCIAS ────────────────────────── */
.not-hdr { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.not-hdr h2 { font-family: var(--serif); font-size: clamp(1.625rem,2.8vw,2.375rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.not-grid { display: grid; grid-template-columns: 62fr 38fr; border: 1px solid var(--bdr); }
.n-main { padding: 3rem; border-right: 1px solid var(--bdr); display: flex; flex-direction: column; }
.n-main .art-ttl { font-size: 1.375rem; margin-bottom: 1rem; }
.n-main .art-exc { flex: 1; margin-bottom: 2rem; }
.n-side { display: flex; flex-direction: column; }
.n-item { padding: 1.75rem 1.875rem; border-bottom: 1px solid var(--bdr-s); transition: background .2s; display: block; }
.n-item:last-child { border-bottom: none; }
.n-item:hover { background: var(--muted); }
.n-item .art-meta { margin-bottom: .625rem; }
.n-item .art-ttl { font-size: .9375rem; margin-bottom: 0; }

/* ── CTA ─────────────────────────────── */
.cta-sec { background: var(--muted); padding: clamp(5rem,9vw,8rem) 0; border-top: 1px solid var(--bdr-s); border-bottom: 1px solid var(--bdr-s); }
.cta-ey { font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: .625rem; }
.cta-ey::before { content: ''; width: 1.25rem; height: 1px; background: currentColor; display: block; }
.cta-h2 { font-family: var(--serif); font-size: clamp(2.25rem,5vw,4.25rem); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; color: var(--navy); max-width: 680px; margin-bottom: 1.5rem; text-wrap: balance; }
.cta-desc { font-size: clamp(.9375rem,1.2vw,1.0625rem); font-weight: 300; line-height: 1.75; color: var(--tx2); max-width: 500px; margin-bottom: 2.75rem; }
.cta-act { display: flex; align-items: center; gap: 1.25rem; }

/* ── FOOTER ──────────────────────────── */
.ftr { background: var(--navy); color: rgba(255,255,255,.48); padding: clamp(3.5rem,6vw,5.5rem) 0 2.5rem; }
.ftr-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 2.5rem; }
.ftr-logo { margin-bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.ftr-logo .logo-name { color: #fff; }
.ftr-logo .logo-sub { color: rgba(255,255,255,.28); }
.ftr-desc { font-size: .875rem; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.4); max-width: 280px; }
.ftr-col h4 { font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 1.25rem; }
.ftr-col li + li { margin-top: .625rem; }
.ftr-col a { font-size: .875rem; font-weight: 300; color: rgba(255,255,255,.48); transition: color .2s; }
.ftr-col a:hover { color: rgba(255,255,255,.88); }
.ftr-bot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ftr-legal { font-size: .8125rem; color: rgba(255,255,255,.24); }
.ftr-links { display: flex; gap: 1.5rem; }
.ftr-links a { font-size: .8125rem; color: rgba(255,255,255,.28); transition: color .2s; }
.ftr-links a:hover { color: rgba(255,255,255,.6); }

/* ── PÁGINAS INTERNAS ────────────────── */
.page-hdr { padding: clamp(4rem,7vw,6rem) 0 clamp(2rem,4vw,3.5rem); background: var(--bg); border-bottom: 1px solid var(--bdr-s); }
.breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.breadcrumb a { font-size: .8125rem; color: var(--tx3); transition: color .2s; }
.breadcrumb a:hover { color: var(--acc); }
.breadcrumb span { font-size: .8125rem; color: var(--tx3); }
.breadcrumb .sep { color: var(--bdr); }
.page-cat { margin-bottom: 1rem; }
.page-h1 { font-family: var(--serif); font-size: clamp(1.875rem,4vw,3.25rem); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; color: var(--navy); max-width: 800px; text-wrap: balance; }
.page-sub { font-size: clamp(1rem,1.5vw,1.1875rem); font-weight: 300; line-height: 1.7; color: var(--tx2); max-width: 680px; margin-top: 1.25rem; }
.page-meta { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.5rem; }
.page-date { font-size: .875rem; font-weight: 300; color: var(--tx3); }

/* Lista de artigos/publicações */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0; border: 1px solid var(--bdr); }
.content-item { padding: 2rem; border-right: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); transition: background .2s; display: block; }
.content-item:hover { background: var(--muted); }
.content-item:nth-child(3n) { border-right: none; }
.content-item-img { aspect-ratio: 16/9; background: var(--muted); margin-bottom: 1.5rem; overflow: hidden; }
.content-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.content-item:hover .content-item-img img { transform: scale(1.03); }
.content-item-title { font-size: 1rem; font-weight: 500; color: var(--navy); letter-spacing: -.01em; line-height: 1.3; margin-bottom: .5rem; margin-top: .75rem; transition: color .2s; }
.content-item:hover .content-item-title { color: var(--acc); }
.content-item-exc { font-size: .875rem; font-weight: 300; line-height: 1.65; color: var(--tx2); }

/* Paginação */
.pagination { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pg-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--bdr); border-radius: 2px; font-size: .875rem; font-weight: 500; color: var(--tx2); transition: all .2s; }
.pg-btn:hover { border-color: var(--navy); color: var(--navy); }
.pg-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pg-btn:disabled { opacity: .35; pointer-events: none; }

/* Conteúdo editorial (single) */
.editorial { max-width: 740px; }
.editorial h2 { font-family: var(--serif); font-size: 1.625rem; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; color: var(--navy); margin: 2.5rem 0 1rem; }
.editorial h3 { font-size: 1.25rem; font-weight: 500; color: var(--navy); margin: 2rem 0 .875rem; }
.editorial p { font-size: 1rem; font-weight: 300; line-height: 1.85; color: var(--tx2); margin-bottom: 1.25rem; }
.editorial ul, .editorial ol { margin: 1.25rem 0 1.25rem 1.5rem; }
.editorial ul { list-style: disc; }
.editorial ol { list-style: decimal; }
.editorial li { font-size: 1rem; font-weight: 300; line-height: 1.75; color: var(--tx2); margin-bottom: .5rem; }
.editorial blockquote { border-left: 3px solid var(--navy); padding: 1.25rem 1.75rem; margin: 2rem 0; }
.editorial blockquote p { font-family: var(--serif); font-size: 1.125rem; font-style: italic; color: var(--navy); margin: 0; }
.editorial table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; overflow-x: auto; display: block; }
.editorial th { font-size: .8125rem; font-weight: 600; text-align: left; padding: .75rem 1rem; background: var(--muted); border-bottom: 2px solid var(--bdr); color: var(--navy); }
.editorial td { font-size: .9375rem; font-weight: 300; padding: .75rem 1rem; border-bottom: 1px solid var(--bdr-s); color: var(--tx2); }
.editorial a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.editorial img { border-radius: 2px; margin: 1.5rem 0; }

/* Download card */
.download-card { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; border: 1px solid var(--bdr); border-radius: 2px; margin: 2rem 0; transition: border-color .2s; }
.download-card:hover { border-color: var(--navy); }
.download-icon { width: 44px; height: 44px; background: var(--muted); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--tx2); }
.download-info { flex: 1; }
.download-name { font-size: .9375rem; font-weight: 500; color: var(--navy); display: block; margin-bottom: .25rem; }
.download-type { font-size: .75rem; color: var(--tx3); text-transform: uppercase; letter-spacing: .08em; }

/* Formulário de contato */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: .8125rem; font-weight: 500; color: var(--tx); margin-bottom: .5rem; }
.form-input { width: 100%; padding: .875rem 1.25rem; background: var(--surf); border: 1px solid var(--bdr); border-radius: 2px; font-family: var(--sans); font-size: .9375rem; font-weight: 300; color: var(--tx); outline: none; transition: border-color .2s; }
.form-input:focus { border-color: var(--navy); }
.form-textarea { resize: vertical; min-height: 160px; }
.form-error { font-size: .8125rem; color: #c0392b; margin-top: .375rem; }
.alert { padding: 1rem 1.25rem; border-radius: 2px; margin-bottom: 1.5rem; font-size: .9375rem; }
.alert-success { background: color-mix(in srgb, #27ae60 10%, transparent); border: 1px solid color-mix(in srgb, #27ae60 25%, transparent); color: #1a6b3c; }
.alert-error { background: color-mix(in srgb, #c0392b 10%, transparent); border: 1px solid color-mix(in srgb, #c0392b 25%, transparent); color: #8b1a1a; }

/* ── PLACEHOLDERS ────────────────────── */
.ph-lbl { font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); text-align: center; }

/* ── BUSCA ────────────────────────────── */
.search-hdr { max-width: 680px; margin-bottom: 3rem; }
.search-hdr h1 { font-family: var(--serif); font-size: clamp(1.875rem,3.5vw,2.875rem); font-weight: 400; letter-spacing: -.025em; color: var(--navy); margin-bottom: 1.5rem; }
.search-field { position: relative; }
.search-input { width: 100%; padding: 1.125rem 4rem 1.125rem 1.5rem; background: var(--surf); border: 1px solid var(--bdr); border-radius: 2px; font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--tx); outline: none; transition: border-color .2s; }
.search-input:focus { border-color: var(--navy); }
.search-btn-ico { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--tx3); background: none; border: none; cursor: pointer; transition: color .2s; }
.search-btn-ico:hover { color: var(--navy); }
.search-count { font-size: .875rem; color: var(--tx3); margin-bottom: 2.5rem; }
.search-group-title { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); margin-bottom: 1rem; padding-bottom: .625rem; border-bottom: 1px solid var(--bdr-s); }
.search-result { padding: 1.5rem 0; border-bottom: 1px solid var(--bdr-s); display: block; transition: color .2s; }
.search-result:hover .search-result-title { color: var(--acc); }
.search-result-title { font-size: 1rem; font-weight: 500; color: var(--navy); letter-spacing: -.01em; margin-bottom: .375rem; transition: color .2s; }
.search-result-exc { font-size: .875rem; font-weight: 300; line-height: 1.65; color: var(--tx2); }
.search-empty { text-align: center; padding: 5rem 0; color: var(--tx3); }
.search-empty p { font-size: 1rem; }

/* ── ANIMATIONS ─────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease-o), transform .65s var(--ease-o); }
  .rv.in { opacity: 1; transform: translateY(0); }
  .rv.d1 { transition-delay: .08s; }
  .rv.d2 { transition-delay: .16s; }
  .rv.d3 { transition-delay: .24s; }
  .rv.d4 { transition-delay: .32s; }
  .ch { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease); }
  .ch.in { clip-path: inset(0 0% 0 0); }
}

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 1080px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-vis, .hero-bg-w { display: none; }
  .prop-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .prop-note { display: none; }
  .eco-grid { grid-template-columns: 1fr; }
  .eco-blk { border-right: none; border-bottom: 1px solid var(--bdr); }
  .eco-blk:last-child { border-bottom: none; }
  .dst-grid, .not-grid { grid-template-columns: 1fr; }
  .dst-main, .n-main { border-right: none; border-bottom: 1px solid var(--bdr); }
  .sob-grid { grid-template-columns: 1fr; }
  .sob-vis { display: none; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .content-item:nth-child(3n) { border-right: 1px solid var(--bdr); }
  .content-item:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .pillar { grid-template-columns: 1fr; gap: .75rem; }
  .p-num { font-size: .75rem; }
  .p-arr { display: none; }
  .ini-hdr { flex-direction: column; align-items: flex-start; }
  .car-item { flex: 0 0 82%; }
  .cta-act { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .not-hdr { flex-direction: column; align-items: flex-start; }
  .ftr-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .ftr-bot { flex-direction: column; text-align: center; }
  .flt-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .stmt-tx { max-width: 100%; }
  .content-grid { grid-template-columns: 1fr; }
  .content-item { border-right: none; }
  .sob-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .d-cnt, .n-main { padding: 1.75rem; }
  .cta-act { flex-direction: column; align-items: stretch; }
}

/* ═══════════════════════════════════════════
   CEDAMP 2.0 — identidade institucional
═══════════════════════════════════════════ */
:root {
  --navy: #23447f;
  --navy-2: #193567;
  --acc: #3473bd;
  --acc-h: #285f9f;
  --green: #3f743e;
  --green-d: #2f5c31;
  --gold: #d0ae36;
  --bg: #f5f6f3;
  --surf: #ffffff;
  --muted: #eef1ec;
  --bdr: #d9ded7;
  --bdr-s: #e7eae5;
  --tx: #172018;
  --tx2: #4f5b52;
  --tx3: #768078;
  --serif: 'Manrope', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --row: clamp(4rem, 7vw, 6.5rem);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #f5f6f3;
    --surf: #ffffff;
    --muted: #eef1ec;
    --bdr: #d9ded7;
    --bdr-s: #e7eae5;
    --tx: #172018;
    --tx2: #4f5b52;
    --tx3: #768078;
  }
}

body { letter-spacing: -.006em; }
.hdr { height: 76px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--bdr-s); }
.hdr.solid { background: rgba(255,255,255,.96); box-shadow: 0 8px 28px rgba(31,53,38,.06); }
.hdr-in { min-width: 0; gap: clamp(1rem, 2.5vw, 2.5rem); }
.logo { min-width: 0; }
.logo-img { display: block; width: 174px; height: 46px; object-fit: contain; object-position: left center; }
.nav { gap: clamp(1rem, 2vw, 1.75rem); }
.nav a { color: #435047; font-size: .8125rem; font-weight: 600; padding: .6rem 0; white-space: nowrap; }
.nav a::after { background: var(--green); height: 2px; }
.nav a:hover { color: var(--green-d); }
.nav .nav-contact { padding: .65rem 1.05rem; color: #fff; background: var(--green); border-radius: 999px; }
.nav .nav-contact::after { display: none; }
.nav .nav-contact:hover { color: #fff; background: var(--green-d); }
.hdr-act { flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--bdr); color: var(--green-d); }
.icon-btn svg, .car-btn svg, .btn svg, .resource-row svg { overflow: visible; flex: 0 0 auto; }
.menu-btn { width: 40px; height: 40px; padding: 10px 8px; justify-content: center; border: 1px solid var(--bdr); border-radius: 50%; }
.menu-btn span { width: 22px; background: var(--green-d); }
.mobile-nav { inset: 76px 0 0; background: #fff; padding-top: 2rem; }

.home-hero { min-height: 680px; padding: 76px 0 0; background: linear-gradient(112deg, #f8f9f7 0%, #f8f9f7 66%, #edf2eb 66%); display: flex; align-items: stretch; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.home-hero-copy { max-width: 770px; }
.kicker, .section-label { color: var(--green); font-size: .6875rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.kicker { margin-bottom: 1.5rem; }
.home-hero h1 { max-width: 760px; color: #172018; font-size: clamp(2.65rem, 5.25vw, 4.9rem); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.home-hero-lead { max-width: 650px; margin-top: 1.75rem; color: var(--tx2); font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.75; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.btn { min-height: 46px; border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.btn-p { padding: .8rem 1.4rem; background: var(--green); border-color: var(--green); }
.btn-p:hover { background: var(--green-d); border-color: var(--green-d); transform: none; }
.btn-link { gap: .55rem; color: var(--green-d); }
.home-hero-mark { min-height: 360px; padding-left: clamp(1rem, 3vw, 3rem); border-left: 1px solid var(--bdr); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; }
.home-hero-mark img { width: min(170px, 70%); height: auto; }
.home-hero-mark span { max-width: 180px; color: var(--tx3); font-size: .6875rem; font-weight: 700; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; text-align: center; }

.home-intro { padding: var(--row) 0; background: #fff; }
.home-intro-grid { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.home-intro-grid h2, .section-heading h2 { color: var(--tx); font-size: clamp(1.9rem, 3.5vw, 3.15rem); font-weight: 600; line-height: 1.13; letter-spacing: -.04em; text-wrap: balance; }
.home-intro-grid > div > p { max-width: 700px; margin-top: 1.5rem; color: var(--tx2); font-size: 1rem; line-height: 1.8; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(3rem, 6vw, 5rem); background: var(--bdr); border: 1px solid var(--bdr); }
.focus-card { min-height: 240px; padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; }
.focus-card svg { color: var(--green); margin-bottom: 2.25rem; }
.focus-card h3 { margin-bottom: .75rem; color: var(--tx); font-size: 1.125rem; font-weight: 700; }
.focus-card p { max-width: 310px; color: var(--tx2); font-size: .9rem; line-height: 1.7; }

.home-library { padding: var(--row) 0; background: var(--muted); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading .section-label { margin-bottom: .9rem; }
.text-link, .update-column-head a { color: var(--green-d); font-size: .8125rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.library-search { min-height: 62px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .5rem .55rem .5rem 1.25rem; background: #fff; border: 1px solid var(--bdr); }
.library-search svg { color: var(--tx3); }
.library-search input { min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: var(--tx); font: 500 .9375rem var(--sans); }
.library-search input::placeholder { color: #8b958d; }
.library-search button { height: 44px; padding: 0 1.4rem; border-radius: 999px; background: var(--green); color: #fff; font-size: .8125rem; font-weight: 700; }
.resource-list { margin-top: 1.75rem; border-top: 1px solid var(--bdr); }
.resource-row { min-height: 76px; display: grid; grid-template-columns: 140px minmax(0, 1fr) auto auto; gap: 1.25rem; align-items: center; padding: 1rem .25rem; border-bottom: 1px solid var(--bdr); transition: color .2s, padding .2s; }
.resource-row:hover { color: var(--green-d); padding-left: .65rem; }
.resource-type { color: var(--green); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.resource-row strong { font-size: .9375rem; font-weight: 600; line-height: 1.45; }
.resource-date { color: var(--tx3); font-size: .75rem; }
.resource-empty, .update-empty { padding: 1.5rem 0; color: var(--tx3); font-size: .9rem; }

.home-updates { padding: var(--row) 0; background: #fff; }
.updates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.update-column-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 2px solid var(--green); }
.update-column-head h3 { font-size: 1rem; font-weight: 700; }
.update-item { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--bdr-s); }
.update-item span { color: var(--tx3); font-size: .75rem; }
.update-item strong { color: var(--tx); font-size: .9rem; font-weight: 600; line-height: 1.5; transition: color .2s; }
.update-item:hover strong { color: var(--green); }

.home-cta { padding: clamp(3.5rem, 6vw, 5.5rem) 0; background: var(--green-d); color: #fff; }
.home-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.home-cta .section-label { margin-bottom: .75rem; color: rgba(255,255,255,.62); }
.home-cta h2 { max-width: 700px; color: #fff; font-size: clamp(1.8rem, 3.6vw, 3.15rem); font-weight: 600; line-height: 1.12; letter-spacing: -.04em; }
.btn-light { padding: .8rem 1.4rem; background: #fff; color: var(--green-d); flex-shrink: 0; }

.ftr { padding-top: 4rem; background: #17231a; }
.ftr-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.ftr-logo { width: min(430px, 100%); padding: 0; background: transparent; border-radius: 0; }
.ftr-logo img { width: 100%; height: auto; object-fit: contain; object-position: left center; }
.ftr-desc { max-width: 390px; }

@media (max-width: 1100px) {
  .nav { gap: 1rem; }
  .nav a { font-size: .75rem; }
  .logo-img { width: 150px; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .home-hero { min-height: auto; background: #f8f9f7; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: 760px; }
  .home-hero-mark { display: none; }
  .home-intro-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: auto; }
  .updates-grid { gap: 3rem; }
}

@media (max-width: 720px) {
  .hdr { height: 68px; }
  .logo-img { width: 142px; height: 40px; }
  .mobile-nav { inset: 68px 0 0; }
  .home-hero { padding-top: 68px; }
  .home-hero-grid { padding-top: 4rem; padding-bottom: 4rem; }
  .home-hero h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .section-heading, .home-cta-inner { align-items: flex-start; flex-direction: column; }
  .resource-row { grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: 1.1rem 0; }
  .resource-type { grid-column: 1; }
  .resource-row strong { grid-column: 1; }
  .resource-date { display: none; }
  .resource-row svg { grid-column: 2; grid-row: 1 / span 2; }
  .updates-grid { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .home-actions { align-items: flex-start; flex-direction: column; }
  .library-search { grid-template-columns: auto 1fr; }
  .library-search button { grid-column: 1 / -1; width: 100%; }
  .update-item { grid-template-columns: 72px 1fr; }
}
