@font-face { font-family: "Manrope"; src: url("assets/Manrope-variable.ttf") format("truetype"); font-style: normal; font-weight: 200 800; font-display: swap; }
/* Abilitydoc — estilos do site institucional */

:root {
  --navy: #021e61;
  --navy-hover: #0b2f86;
  --ink: #101b3a;
  --muted: #3d4a6e;
  --white: #ffffff;
  --mineral: #f2f5f9;
  --line: #d3d9e6;
  --gold: #b8913a;
  --gold-soft: #d9b861;
  --gold-ink: #7a5a12;
  --on-navy-muted: #c6d1ee;
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 88px;
  --font: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--gold-soft); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Botões ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn span[aria-hidden] { display: inline-block; transition: transform 0.18s ease; }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--compact { min-height: 46px; padding: 0 22px; }

/* Cabeçalho --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 16px var(--gutter);
}

.brand { display: block; width: min(230px, 62vw); flex: none; }
.brand img { width: 100%; height: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* sem JS o menu fica sempre visível, empilhado abaixo da marca */
.site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding-bottom: 8px;
}
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav__list a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav__list a[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--gold); }

@media (max-width: 899px) {
  html:not(.js) .site-header { position: static; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(2, 30, 97, 0.35);
  }
  .js .site-nav.is-open { display: flex; }
  .site-nav .btn { margin-top: 12px; }
}

@media (min-width: 900px) {
  .site-header__bar { flex-wrap: nowrap; }
  .site-nav {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
    padding: 0;
  }
  .site-nav__list { flex-direction: row; gap: 28px; }
  .site-nav__list a { border-bottom: 0; padding: 0 2px; }
}

/* Abertura ---------------------------------------------------------- */

.hero { display: grid; grid-template-columns: minmax(0, 1fr); }

.hero__copy {
  display: flex;
  flex-direction: column;
  padding: 56px var(--gutter) 0;
}
.hero__main { display: flex; flex-direction: column; justify-content: center; flex: 1; padding-bottom: 48px; }

.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--navy);
  text-wrap: balance;
}
.hero__dot {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  margin-left: 0.06em;
  background: var(--gold);
}

.hero__lede {
  max-width: 34em;
  margin-top: 32px;
  font-size: clamp(1.125rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding: 48px var(--gutter);
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 32px;
  color: var(--white);
}
.hero__panel :focus-visible { outline-color: var(--gold-soft); }

/* Fluxograma: seis grupos de serviços ------------------------------- */

.flow-wrap { width: 100%; max-width: 470px; display: flex; flex-direction: column; gap: 18px; }
.flow-caption {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.flow { width: 100%; height: auto; overflow: visible; }
.flow__num { font-size: 15px; font-weight: 800; letter-spacing: 0.12em; font-family: var(--font); }
.flow__label { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; font-family: var(--font); }
.flow__root { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-family: var(--font); }

.flow .node { cursor: pointer; outline: none; }
.flow .node:hover .node__bg { fill: #0b2f86; }
.flow .node__halo, .flow .node__focus, .flow .root__halo { opacity: 0; }
.flow .node:focus-visible .node__focus { opacity: 1; }
.flow .node:focus-visible .node__bg { stroke: var(--gold-soft); stroke-width: 3; }

.flow-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.flow-note { flex: 1 1 220px; margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--on-navy-muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Painéis animados -------------------------------------------------- */

.proofs { background: var(--mineral); padding-block: clamp(48px, 7vw, 96px); }
.proofs__grid { display: grid; gap: 40px 28px; }

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--navy);
}
.panel__stage {
  aspect-ratio: 340 / 300;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 32px;
  overflow: hidden;
}
.panel[data-state="playing"] .panel__stage { box-shadow: inset 0 0 0 2px var(--gold-soft); }
.panel.is-flash .panel__stage { box-shadow: inset 0 0 0 4px var(--gold-soft); }
.scene { width: 100%; height: 100%; }
.scene__label, .scene text { font-family: var(--font); font-weight: 800; }

.map__state { fill: #0a2f7e; stroke: #9db3e6; stroke-width: 0.7; stroke-linejoin: round; }
.map__state[data-uf="SP"] { fill: #1b4aa8; }
.map__arc { fill: none; stroke: var(--gold-soft); stroke-width: 1.1; stroke-linecap: round; }
.map__ring { fill: none; stroke: #ffffff; stroke-width: 1.4; }

.panel__body { display: flex; flex: 1; flex-direction: column; padding-top: 22px; }
.panel h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.panel__qual {
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  white-space: nowrap;
}
.panel__body p { margin-top: 10px; max-width: 28em; color: var(--muted); }

@media (min-width: 800px) {
  .proofs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
    min-height: max(640px, min(calc(100svh - var(--header-h)), 840px));
  }
  .hero__copy {
    padding: 72px 64px 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  }
  .hero__main { padding-bottom: 56px; }
  .hero__panel {
    margin-top: 0;
    padding: 56px max(var(--gutter), calc((100vw - var(--max)) / 2)) 56px 56px;
  }
}

/* Seções ------------------------------------------------------------ */

.section { padding-block: clamp(72px, 10vw, 128px); }

.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

/* Serviços ---------------------------------------------------------- */

.services__grid { display: grid; gap: 48px; }
.services__intro > p { margin-top: 24px; max-width: 34em; color: var(--muted); }

.finder { margin-top: 40px; }
.finder__title { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.finder ul { border-top: 2px solid var(--navy); }
.finder a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
}
.finder a span { font-size: 0.85rem; font-weight: 800; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.finder a:hover { color: var(--navy); background: var(--mineral); }

.svc { border-top: 2px solid var(--navy); }

.svc details { border-bottom: 1px solid var(--line); }
.svc details[open] { background: var(--mineral); }

.svc summary {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 20px 8px 20px 20px;
  cursor: pointer;
  list-style: none;
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary:hover { background: var(--mineral); }
.svc summary:focus-visible { outline-offset: -3px; }

.svc__num { font-size: 0.9rem; font-weight: 800; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.svc h3 {
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.svc__hint { display: block; margin-top: 4px; font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.svc__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  transition: background-color 0.18s ease;
}
.svc__icon::before,
.svc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  background: var(--navy);
  transition: transform 0.2s ease, background-color 0.18s ease;
}
.svc__icon::after { transform: rotate(90deg); }
.svc details[open] .svc__icon { background: var(--navy); }
.svc details[open] .svc__icon::before,
.svc details[open] .svc__icon::after { background: var(--white); }
.svc details[open] .svc__icon::after { transform: rotate(0deg); }

.svc__body { padding: 0 20px 32px calc(20px + 2.25rem + 12px); }
.svc__body ul { display: grid; gap: 0 40px; }
.svc__body li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--line);
}
.svc__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 12px;
  height: 2px;
  background: var(--gold);
}
.svc__body > p { max-width: 36em; color: var(--ink); }
.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  margin-top: 20px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.svc__link span { transition: transform 0.18s ease; }
.svc__link:hover span { transform: translateX(4px); }

@media (min-width: 640px) {
  .svc__body ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .svc summary { grid-template-columns: minmax(0, 1fr) 44px; padding-left: 16px; }
  .svc__num { display: none; }
  .svc__body { padding-left: 16px; padding-right: 16px; }
}

@media (min-width: 1000px) {
  .services__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr); gap: 80px; align-items: start; }
  .services__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Faixa azul: especialização --------------------------------------- */

.band { background: var(--navy); color: var(--white); }
.band h2 { color: var(--white); }
.band :focus-visible { outline-color: var(--gold-soft); }

.band__grid { display: grid; gap: 56px; align-items: center; }
.band__copy > p { margin-top: 24px; max-width: 34em; color: var(--on-navy-muted); font-size: 1.1rem; }

.points { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.points div { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.points dt { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.points dd { margin-top: 2px; color: var(--on-navy-muted); }

.tree { width: 100%; max-width: 540px; height: auto; margin-inline: auto; }
.tree__label { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-family: var(--font); }
.tree__sub { font-size: 18px; font-weight: 800; font-family: var(--font); }

.band__audience-title {
  margin-top: clamp(64px, 8vw, 104px);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.audience { display: grid; gap: 0 32px; margin-top: 20px; }
.audience li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 44px;
  height: 3px;
  background: var(--gold-soft);
}
.audience strong { font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.audience span { color: var(--on-navy-muted); font-size: 0.98rem; line-height: 1.5; }

@media (min-width: 640px) {
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .band__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 96px; }
  .audience { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Como atuamos ------------------------------------------------------ */

.process { background: var(--mineral); }
.process__head { display: grid; gap: 16px; max-width: 40em; }
.process__head p { color: var(--muted); }

.steps { display: grid; gap: 40px; margin-top: 56px; counter-reset: step; }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--navy); }
.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 10px;
  height: 10px;
  background: var(--gold);
}
.steps__num {
  display: block;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--navy);
}
.steps h3 {
  margin-top: 20px;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.steps p { margin-top: 10px; max-width: 26em; color: var(--muted); }

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
}

/* Sobre ------------------------------------------------------------- */

.about__grid { display: grid; gap: 56px; }
.about__copy p { margin-top: 24px; max-width: 36em; color: var(--muted); }
.about__copy h2 + p { margin-top: 28px; }

.facts { display: grid; gap: 0; align-content: start; border-top: 2px solid var(--navy); }
.facts div { padding: 28px 0; border-bottom: 1px solid var(--line); }
.facts dt {
  font-size: clamp(3.25rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.facts dd { margin-top: 10px; font-weight: 600; color: var(--muted); }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 96px; }
}

/* Contato ----------------------------------------------------------- */

.contact { background: var(--mineral); border-top: 1px solid var(--line); }
.contact__grid { display: grid; gap: 48px; align-items: center; }
.contact__copy > p { margin-top: 24px; max-width: 30em; font-size: 1.15rem; color: var(--ink); }
.contact__copy .contact__tip { margin-top: 16px; font-size: 1rem; color: var(--muted); }

.contact__card {
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  border: 2px solid var(--navy);
}
.contact__label { font-size: 0.9rem; font-weight: 800; color: var(--gold-ink); }
.contact__mail {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.15rem, 4.6vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}
.contact__mail:hover { text-decoration-color: var(--gold); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact__actions[hidden], .contact__actions [hidden] { display: none; }
.contact__status { min-height: 1.6em; margin-top: 12px; font-size: 0.95rem; font-weight: 600; color: var(--muted); }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 96px; }
}

/* Rodapé ------------------------------------------------------------ */

.site-footer { background: var(--navy); color: var(--white); padding-block: 40px; }
.site-footer :focus-visible { outline-color: var(--gold-soft); }
.site-footer__grid { display: grid; gap: 20px; align-items: center; }
.site-footer__legal { font-weight: 600; font-size: 0.95rem; color: var(--on-navy-muted); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr auto; gap: 48px; }
}

/* Movimento reduzido ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

::selection { background: #d9b861; color: #021e61; }
html { scrollbar-color: #021e61 #f2f5f9; }
a { text-underline-offset: .2em; }

@media (max-width: 899px) {
  .site-header__bar { column-gap: 12px; }
  .brand { width: min(230px, calc(100vw - 160px)); }
  .nav-toggle { gap: 8px; padding-inline: 12px; }
}

/* Aplicação web: marca maior, descritor escurecido sem redesenhar contornos. */
.brand { width: 300px; }
@media (max-width: 899px) {
 .brand { width: min(300px, calc(100vw - 112px)); }
 .nav-toggle { width: 48px; height: 48px; padding: 0; justify-content: center; }
 .nav-toggle > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
