
/* Vender.ia.br — Institucional
   Estrutura: /institucional/assets/css/institucional.css
*/
:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #070d1a;
  --surface: rgba(15, 23, 42, .86);
  --surface-2: rgba(30, 41, 59, .72);
  --border: rgba(148, 163, 184, .18);
  --border-strong: rgba(34, 211, 238, .38);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --brand: #22d3ee;
  --brand-2: #60a5fa;
  --brand-3: #a78bfa;
  --danger: #fb7185;
  --warning: #fbbf24;
  --success: #34d399;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(96, 165, 250, .18), transparent 30rem),
    radial-gradient(circle at 82% 2%, rgba(34, 211, 238, .16), transparent 28rem),
    radial-gradient(circle at 72% 62%, rgba(167, 139, 250, .12), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #030712 100%);
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img, svg { max-width: 100%; height: auto; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); max-width: 980px; }
h2 { font-size: clamp(1.75rem, 3.4vw, 3.1rem); margin-bottom: 1.05rem; }
h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .55rem; }
ul, ol { color: var(--muted); padding-left: 1.2rem; }
li + li { margin-top: .45rem; }
strong { color: var(--text); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  padding: .7rem 1rem;
  background: var(--brand);
  color: #00111a;
  border-radius: 999px;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .78);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 78px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 190px;
}
.brand-logo {
  width: 180px;
  height: auto;
  display: block;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, .86);
  color: var(--text);
  border-radius: 14px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
  border-radius: 8px;
  transition: .2s ease;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .66rem .82rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .95rem;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(148, 163, 184, .12);
}
.header-actions { display: flex; align-items: center; gap: .65rem; }

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .75rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, .68);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--border-strong); color: var(--text); }
.btn.primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand), var(--brand-3));
  color: #020617;
  border-color: transparent;
}
.btn.ghost { background: transparent; }
.btn.small { min-height: 38px; padding: .55rem .8rem; font-size: .9rem; }

main { position: relative; }
.hero {
  padding: clamp(4rem, 8vw, 7rem) 0 3.25rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, .26);
  background: rgba(8, 47, 73, .22);
  color: #bae6fd;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brand);
}
.hero-lead {
  margin-top: 1.2rem;
  max-width: 760px;
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}
.hero-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, .85), rgba(2, 6, 23, .68));
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.metric-grid {
  display: grid;
  gap: .75rem;
}
.metric {
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .72);
  border-radius: 18px;
  padding: 1rem;
}
.metric b {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -.04em;
  color: var(--text);
}
.metric span {
  display: block;
  color: var(--muted-2);
  font-size: .9rem;
}
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section + .section { border-top: 1px solid rgba(148, 163, 184, .08); }
.section-head {
  max-width: 780px;
  margin-bottom: 1.7rem;
}
.kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: .6rem;
}
.grid {
  display: grid;
  gap: 1rem;
}
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, .74), rgba(15, 23, 42, .46));
  border-radius: var(--radius);
  padding: clamp(1.05rem, 2.2vw, 1.5rem);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .12), transparent 65%);
  pointer-events: none;
}
.card.clean::after { display: none; }
.card h3 { position: relative; z-index: 1; }
.card p, .card ul, .card ol { position: relative; z-index: 1; }
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(34, 211, 238, .12);
  border: 1px solid rgba(34, 211, 238, .22);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: .85rem;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, .11);
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, .14);
  font-size: .88rem;
  font-weight: 700;
}
.badge.success { color: #bbf7d0; border-color: rgba(52,211,153,.25); background: rgba(6,78,59,.2); }
.badge.warn { color: #fde68a; border-color: rgba(251,191,36,.25); background: rgba(113,63,18,.2); }
.badge.danger { color: #fecdd3; border-color: rgba(251,113,133,.25); background: rgba(127,29,29,.2); }

.timeline {
  border-left: 1px solid rgba(34, 211, 238, .28);
  padding-left: 1.3rem;
}
.timeline-item {
  position: relative;
  padding: .25rem 0 1.25rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: .58rem;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 22px rgba(34,211,238,.7);
}
.notice {
  border: 1px solid rgba(251, 191, 36, .24);
  background: rgba(113, 63, 18, .18);
  color: #fef3c7;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.notice p { color: #fde68a; margin: 0; }
.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, .24);
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, .16), transparent 24rem),
    linear-gradient(135deg, rgba(14, 116, 144, .22), rgba(30, 41, 59, .44));
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(1.3rem, 3vw, 2.2rem);
}
.accordion {
  display: grid;
  gap: .75rem;
}
.accordion-item {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, .6);
  border-radius: 18px;
  overflow: hidden;
}
.accordion-button {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 1rem 1.1rem;
  text-align: left;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.accordion-button::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.accordion-button[aria-expanded="true"]::after { content: "–"; }
.accordion-panel {
  display: none;
  padding: 0 1.1rem 1rem;
}
.accordion-panel.open { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.form-field.full { grid-column: 1 / -1; }
label {
  display: block;
  color: var(--muted);
  font-weight: 750;
  margin-bottom: .35rem;
}
input, textarea, select {
  width: 100%;
  min-height: 48px;
  padding: .8rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .24);
  background: rgba(2, 6, 23, .65);
  color: var(--text);
  font: inherit;
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(34, 211, 238, .62);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .08);
}
.form-help { color: var(--muted-2); font-size: .88rem; margin-top: .25rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid rgba(148, 163, 184, .12); color: var(--muted); }
th { color: var(--text); background: rgba(15, 23, 42, .8); }
tr:last-child td { border-bottom: 0; }

.breadcrumbs {
  color: var(--muted-2);
  font-size: .9rem;
  margin: 1.1rem 0 0;
}
.breadcrumbs a { color: var(--muted); }

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .72);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 2rem;
}
.footer-logo { width: 185px; display: block; margin-bottom: .9rem; }
.footer-title { color: var(--text); font-weight: 900; margin-bottom: .7rem; }
.footer-links { display: grid; gap: .38rem; }
.footer-links a { color: var(--muted-2); font-size: .95rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, .1);
  color: var(--muted-2);
  font-size: .9rem;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 .75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(15, 23, 42, .56);
  font-weight: 800;
}
.social-links a:hover { border-color: var(--border-strong); color: var(--text); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .primary-nav {
    position: fixed;
    inset: 78px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, .96);
    box-shadow: var(--shadow);
  }
  body.menu-open .primary-nav { display: flex; }
  .primary-nav a { border-radius: 14px; padding: .85rem 1rem; }
  .header-actions .btn:not(.primary) { display: none; }
  .hero-grid, .grid.cols-2, .grid.cols-3, .grid.cols-4, .footer-grid, .callout { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.2rem, var(--max)); }
  .header-inner { min-height: 70px; }
  .brand-logo { width: 155px; }
  .primary-nav { inset-top: 70px; }
  .hero { padding-top: 3rem; }
  .hero-actions, .header-actions { width: auto; }
  .btn { width: 100%; }
  .header-actions .btn.primary { width: auto; min-height: 42px; padding-inline: .85rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}
