:root {
  --azul: #34338d;
  --roxo: #3f0097;
  --barra: #2f2d8e;
  --laranja: #e14026;
  --amarelo: #ffba00;
  --amarelo-hover: #fff64d;
  --footer: #0c1958;
  --footer-bar: #050e3a;
  --splash-foot: #313131;
  --texto: #070707;
  --muted: #4e4e4e;
  --fundo-card: #f8f8f8;
  --max: 1180px;
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--texto);
  font-family: Poppins, sans-serif;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 10000;
}
.skip:focus { top: 12px; }

/* Splash (home) */
.splash {
  display: flex;
  flex-direction: column;
  background: var(--azul) url("/img/fundo.png") center / cover no-repeat;
  position: relative;
  color: #fff;
}
.splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/fundolinhas.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.splash-main {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 100vh;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 48px 6vw 24px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
}
.splash-copy { max-width: 560px; }
.splash-logo { width: 168px; height: auto; margin-bottom: 28px; }
.splash h1 {
  margin: 0 0 28px;
  font-size: 41px;
  line-height: 1.15;
  font-weight: 700;
}
.btn-transp {
  display: inline-block;
  background: var(--laranja);
  color: #fff;
  text-decoration: none;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 2px;
}
.btn-transp:hover { filter: brightness(1.08); }
.btn-transp:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amarelo-hover);
  outline-offset: 3px;
}
.splash-photo {
  min-height: 520px;
  background: url("/img/tonho.png") center / contain no-repeat;
}
.splash-foot {
  position: relative;
  z-index: 1;
  background: var(--splash-foot);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 4vw;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.splash-foot p { margin: 0; text-align: center; }
.splash-foot a { color: #fff; text-decoration: none; }
.splash-foot a:hover { color: var(--amarelo-hover); }
.social { display: flex; gap: 8px; justify-content: center; }
.social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
}
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Início */
.topbar {
  background: var(--barra);
  color: #fff;
  font-size: 14px;
}
.topbar-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar svg { width: 16px; height: 16px; fill: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  transition: transform 0.25s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-bar {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand { flex: 0 0 auto; }
.brand img { width: 72px; height: 72px; object-fit: contain; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; fill: var(--roxo); }
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.menu a {
  text-decoration: none;
  color: #222;
  font-size: 15px;
  font-weight: 500;
}
.menu a:hover,
.menu a[aria-current="page"] { color: var(--roxo); }
.header-social { margin-left: auto; }
.header-social a { color: #fff; }
.header-social a.ig { background: #e1306c; }
.header-social a.fb { background: #1877f2; }
.header-social a.yt { background: #ff0000; }

.hero {
  background: var(--roxo) url("/img/baberhorizontal-1.png") center / 100% 100% no-repeat;
  color: #fff;
  min-height: 594px;
}
.hero-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 594px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: center;
  padding: 36px 0;
}
.hero h1 {
  margin: 0 0 16px;
  font-family: Rosarivo, serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 1.12;
}
.hero p {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.55;
  text-align: justify;
  max-width: 640px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 18px;
  padding: 12px 22px;
  font-weight: 500;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}
.btn-gold { background: var(--amarelo); color: #fff; }
.btn-gold:hover { background: #000; color: #fff; }
.btn-purple { background: var(--roxo); color: #fff; border-radius: 4px; padding: 14px 22px; }
.btn-purple:hover { background: #0a0a0a; }
.hero-photo img { width: min(100%, 460px); margin-left: auto; }

.section { padding: 72px 0; }
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.about img { width: min(100%, 460px); margin: 0 auto; }
.kicker {
  font-family: Questrial, sans-serif;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 4.1px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.about h2 {
  margin: 0 0 14px;
  font-weight: 300;
  font-size: 25px;
}
.about p, .partners p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
}

.values { background: var(--fundo-card); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 70px;
}
.value {
  background: #fff;
  padding: 36px 28px 0;
  text-align: center;
  min-height: 280px;
}
.value h3 { margin: 0 0 10px; font-size: 22px; font-weight: 600; }
.value p { margin: 0; font-size: 18px; line-height: 1.45; min-height: 96px; }
.value img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 18px auto -70px;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.partners h2 {
  margin: 0 0 12px;
  font-weight: 300;
  font-size: 52px;
  line-height: 1.15;
}
.partners p { text-align: left; font-size: 21px; margin-bottom: 22px; }
.partners-photo { position: relative; }
.partners-photo::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("/img/fundolinhas.png") center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.partners-photo img { position: relative; width: min(100%, 520px); margin-left: auto; }

.site-footer { background: var(--footer) url("/img/g1146.png") center / 420px no-repeat; color: #fff; }
.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 180px 1fr 1.3fr;
  gap: 28px;
}
.site-footer h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; }
.footer-logo { width: 120px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #fff; text-decoration: none; line-height: 1.9; }
.footer-links a:hover { color: var(--amarelo-hover); }
.address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.address svg { width: 18px; height: 18px; fill: #fff; flex: 0 0 auto; margin-top: 3px; }
.footer-social { margin-top: 16px; }
.legal {
  background: var(--footer-bar);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  padding: 14px 4vw;
  font-family: Roboto, sans-serif;
  font-size: 14px;
}
.legal p { margin: 0; text-align: center; }
.legal a { color: #fff; }
.legal a:hover { color: var(--amarelo-hover); }

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 50;
}
.whatsapp svg { width: 32px; height: 32px; fill: #fff; }

/* Transparência */
.transp-logo { display: flex; justify-content: center; padding: 28px 16px 8px; }
.transp-logo img { width: 184px; height: auto; }
.transp-title {
  min-height: 140px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 10px 16px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 34px;
  color: #161616;
}
.transp-band {
  background: #f2f2f2;
  padding: 28px 16px 64px;
}
.transp-band-inner { width: min(1373px, 100%); margin: 0 auto; }

.tabela-wrapper {
  width: 100%;
  overflow-x: hidden;
  background: linear-gradient(160deg, #313194, #1a1a4d);
  border-radius: 10px;
}
.tabela-projetos {
  width: 100%;
  border-collapse: collapse;
  background: #0e0e2f;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 6px 20px rgba(2, 2, 20, 0.6);
  font-family: Inter, system-ui, sans-serif;
}
.tabela-projetos thead { background: #982957; }
.tabela-projetos th,
.tabela-projetos td {
  padding: 16px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  white-space: normal;
}
.tabela-projetos th:first-child,
.tabela-projetos td:first-child { min-width: 220px; }
.tabela-projetos thead th {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #dfe7ff;
  font-size: 13px;
  text-transform: uppercase;
}
.tabela-projetos tbody tr { border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.doc-icone { margin-right: 10px; color: #8ab4ff; text-decoration: none; font-weight: 600; }
.doc-icone:hover { text-decoration: underline; }
.btn-detalhes {
  background: #6a00ff;
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 6px 18px rgba(106, 0, 255, 0.14);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 12, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  width: 100%;
  max-width: 900px;
  background: linear-gradient(180deg, #0e0e2f, #0b0b23);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(2, 2, 20, 0.7);
  overflow: auto;
  max-height: 90vh;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.modal header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.modal h2 { font-size: 18px; margin: 0; }
.modal .close-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.modal .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { background: rgba(255, 255, 255, 0.02); padding: 12px; border-radius: 8px; font-size: 14px; }
.field label { display: block; font-weight: 700; color: #cfd9ff; font-size: 12px; margin-bottom: 6px; }
.field p { margin: 0; line-height: 1.4; color: #e6ecff; }
.full { grid-column: 1 / -1; }
.osc { margin-top: 8px; display: grid; gap: 8px; }

.transp-list { display: none; flex-direction: column; gap: 22px; }
.transp-card { background: #f4f4f4; padding: 18px; border-radius: 12px; border: 1px solid #ddd; color: #111; }
.proj-title { font-size: 18px; margin: 0 0 10px; }
.proj-info p { margin: 4px 0; }
.proj-docs a { margin-right: 12px; font-weight: 600; color: #313194; }
.btn-open-drawer {
  margin-top: 14px;
  padding: 10px 16px;
  background: #313194;
  color: #fff;
  border: 0;
  border-radius: 8px;
  width: 100%;
  font-size: 15px;
  cursor: pointer;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 70;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88%, 420px);
  height: 100%;
  background: linear-gradient(160deg, #313194, #1a1a4d);
  color: #fff;
  padding: 20px;
  z-index: 80;
  transition: right 0.35s ease;
  overflow-y: auto;
}
.drawer.open { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-header h3 { margin: 0; }
.drawer-close {
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  padding: 8px 12px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.drawer-content p { margin: 10px 0; }
.drawer-content h4 { margin: 16px 0 0; }

.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 16px; background: var(--azul); color: #fff; }
.page-404 img { width: 140px; margin: 0 auto 16px; }
.page-404 a { color: #fff; }

@media (max-width: 1024px) {
  .topbar, .menu, .header-social { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    padding: 12px 20px 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    z-index: 30;
  }
  .site-header { position: sticky; }
  .header-bar { position: relative; }
  .hero-inner, .about, .values-grid, .partners-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-photo img, .partners-photo img { margin: 0 auto; }
  .kicker { font-size: 32px; letter-spacing: 2px; }
  .partners h2 { font-size: 32px; }
  .values-grid { padding-bottom: 40px; }
  .value img { margin-bottom: 0; }
  .value { padding-bottom: 24px; }
  .tabela-wrapper { display: none; }
  .transp-list { display: flex; }
}
@media (min-width: 1025px) {
  .drawer, .drawer-overlay { display: none; }
}
@media (max-width: 800px) {
  .splash-main { grid-template-columns: 1fr; padding-top: 32px; }
  .splash h1 { font-size: 22px; }
  .splash-logo { width: 120px; }
  .splash-photo { min-height: 360px; }
  .splash-foot, .legal { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 40px; }
  .hero { background-size: cover; }
  .modal .grid { grid-template-columns: 1fr; }
}
