:root {
  --verde: #314C3B;
  --dourado: #E0B448;
  --fog: #EEF5F0;
  --ink: #132017;
  --muted: #5a6b61;
  --border: #DDE5DF;
  --canvas: #F5F6FA;
  --azul: #2F6690;
  --teal: #2F8F82;
  --terra: #C6603F;
  --shadow: 0 8px 20px -4px rgba(19, 32, 23, 0.06);
  --shadow-lg: 0 20px 40px -12px rgba(19, 32, 23, 0.14);
  --ff-h: "Funnel Display", sans-serif;
  --ff-b: "Plus Jakarta Sans", sans-serif;
  --ff-m: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: var(--ff-b);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(180deg, rgba(224, 180, 72, 0.07), transparent 220px),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(19, 32, 23, 0.035) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(19, 32, 23, 0.035) 32px),
    var(--canvas);
  padding: 28px 16px 56px;
}
/* Lateralidade padrão Quadro: usar bem a tela em monitores largos */
.wrap {
  width: calc(100% - 32px);
  max-width: 1680px;
  margin: 0 auto;
}
.wrap.wide,
.wrap.dash {
  width: calc(100% - 32px);
  max-width: none;
}
header.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 36px; flex-wrap: wrap;
}
header.top img { height: 32px; width: auto; display: block; }
a.logo-home {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}
a.logo-home:hover { opacity: 0.85; }
a.logo-home img { height: 32px; width: auto; display: block; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
h1 {
  font-family: var(--ff-h); font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15; margin-bottom: 10px;
}
.lead {
  color: var(--muted); font-size: 1.02rem; line-height: 1.5;
  max-width: 44ch; margin-bottom: 28px;
}
.back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--verde);
  text-decoration: none; margin-bottom: 18px;
}
.stack { display: grid; gap: 10px; }
.card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card.is-soon {
  opacity: .72; cursor: default; pointer-events: none;
}
.card .mark {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-h); font-weight: 700; font-size: 14px;
  background: var(--verde); color: #fff;
}
.card .mark.gold { background: var(--dourado); color: var(--verde); }
.card .mark.soft { background: rgba(49, 76, 59, 0.1); color: var(--verde); }
.card .logo-box {
  flex: 0 0 auto;
  width: 52px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; border: 1px solid var(--border);
  padding: 6px;
}
.card .logo-box img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}
.card .meta { display: grid; gap: 2px; min-width: 0; flex: 1; }
.card .meta strong { font-family: var(--ff-h); font-size: 1.02rem; }
.card .meta span { font-size: 13px; color: var(--muted); }
.card .go {
  font-size: 13px; font-weight: 700; color: var(--verde);
  white-space: nowrap;
}
.card.is-soon .go { color: var(--muted); font-weight: 600; }
.section-note { font-size: 13px; color: var(--muted); margin: -8px 0 14px; }
footer {
  margin-top: 40px; font-size: 12px; color: var(--muted);
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
footer img { height: 20px; width: auto; opacity: .85; }
footer a { color: var(--verde); font-weight: 600; text-decoration: none; }

.grid-clients {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .grid-clients { grid-template-columns: 1fr; }
}
.card.client-card {
  flex-direction: row;
  align-items: stretch;
  text-align: left;
  gap: 0;
  aspect-ratio: auto;
  min-height: 76px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
}
.card.client-card .logo-box {
  width: 80px;
  min-height: 76px;
  height: auto;
  margin: 0;
  flex: 0 0 80px;
  align-self: stretch;
  border: 0;
  border-radius: 0;
  border-right: 1px solid rgba(19, 32, 23, 0.06);
  padding: 12px 10px;
  background: var(--logo-bg, #EEF5F0);
  overflow: hidden;
  box-sizing: border-box;
}
.card.client-card .logo-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.card.client-card .mark {
  width: 80px;
  min-height: 76px;
  height: auto;
  border-radius: 0;
  font-size: 15px;
  margin: 0;
  flex: 0 0 80px;
  align-self: stretch;
}
.card.client-card .meta {
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
  padding: 12px 10px 12px 14px;
  justify-content: center;
}
.card.client-card .meta strong {
  font-size: 0.95rem;
  line-height: 1.25;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card.client-card .meta span {
  font-size: 12px;
  white-space: nowrap;
}
.card.client-card .card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 12px 14px 12px 0;
}
.card.client-card .num {
  position: static;
  font-family: var(--ff-h);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  background: rgba(49, 76, 59, 0.08);
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}
.card.client-card .go {
  font-size: 13px;
}
.badge-soon {
  font-size: 11px;
  font-weight: 700;
  color: #8A6D1F;
  background: #F4EFE0;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 12px;
}
