/* =========================================================
   CRJ Consultoria em Segurança do Trabalho
   ========================================================= */

:root {
  --navy: #0B3466;
  --navy-900: #072448;
  --navy-700: #134179;
  --lime: #CCFF00;
  --green: #8DC63F;
  --white: #FFFFFF;
  --bg-soft: #F0F4F8;
  --text: #0F1E33;
  --muted: #64748B;
  --border: #E2E8F0;

  --font-title: "Manrope", "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 52, 102, .06), 0 2px 8px rgba(11, 52, 102, .04);
  --shadow: 0 10px 30px -12px rgba(11, 52, 102, .18);
  --shadow-lg: 0 30px 60px -20px rgba(7, 36, 72, .35);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --section-y: clamp(80px, 10vw, 128px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--navy);
  font-weight: 600;
  border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

[data-lucide] { width: 1em; height: 1em; stroke-width: 2; flex-shrink: 0; }

/* ---------- Tipografia base ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.eyebrow--lime { color: var(--lime); }
.eyebrow--lime::before { background: var(--lime); }

.section-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--navy);
  text-wrap: balance;
}
.section-title--light { color: var(--white); }

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--muted);
  margin-top: 22px;
  max-width: 60ch;
}

.section { padding-block: var(--section-y); position: relative; }

.section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 32px 64px;
  margin-bottom: clamp(44px, 6vw, 64px);
}
.section-head__aside { color: var(--muted); font-size: 17px; max-width: 46ch; }
.section-head__aside--light { color: rgba(255, 255, 255, .72); }
.section-head--center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn [data-lucide] { font-size: 18px; transition: transform .3s var(--ease); }
.btn:hover [data-lucide] { transform: translateX(3px); }
.btn:hover [data-lucide="arrow-up-right"] { transform: translate(2px, -2px); }

.btn--primary { background: var(--lime); color: var(--navy); }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(204, 255, 0, .7);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, .32);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Ícone em círculo ---------- */

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  font-size: 22px;
  flex-shrink: 0;
  position: relative;
  transition: transform .4s var(--ease);
}
.icon-badge::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed rgba(11, 52, 102, .25);
  opacity: 0;
  transition: opacity .4s, transform .6s var(--ease);
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background-color .3s, height .3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .98);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-color: var(--border);
  box-shadow: 0 8px 30px -16px rgba(11, 52, 102, .25);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 44px; height: auto; mix-blend-mode: multiply; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .02em;
  color: var(--navy);
}
.brand__text small {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: .02em;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: block;
  padding: 8px 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: #334155;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--navy); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { font-weight: 600; }

.nav__cta { padding: 11px 20px; font-size: 14px; background: var(--navy); color: var(--white); }
.nav__cta:hover { background: var(--navy-700); box-shadow: 0 10px 24px -12px rgba(11, 52, 102, .6); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(72px, 9vw, 112px);
  isolation: isolate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, .16), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 255, 0, .35), transparent);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
}

.hero__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__title span {
  display: block;
  color: rgba(255, 255, 255, .62);
}

.hero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 30px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .85);
}
.hero__topics li { display: flex; align-items: center; }
.hero__topics li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-inline: 14px;
  border-radius: 50%;
  background: var(--green);
}

.hero__slogan {
  margin-top: 18px;
  font-style: italic;
  font-size: 16px;
  color: var(--lime);
  opacity: .9;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero__stats dt {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--white);
}
.hero__stats dd {
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
  max-width: 16ch;
  line-height: 1.4;
}

/* Visual */
.hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  width: 100%;
  justify-self: end;
  display: grid;
  place-items: center;
}

.hero__orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, .12);
  stroke-width: 1;
  animation: spin 80s linear infinite;
}
.hero__orbit .dashed { stroke: rgba(204, 255, 0, .28); stroke-dasharray: 3 9; }

.tick {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(204, 255, 0, .6);
}
.tick--tl { top: 6%; left: 6%; border-top-width: 2px; border-left-width: 2px; }
.tick--tr { top: 6%; right: 6%; border-top-width: 2px; border-right-width: 2px; }
.tick--bl { bottom: 6%; left: 6%; border-bottom-width: 2px; border-left-width: 2px; }
.tick--br { bottom: 6%; right: 6%; border-bottom-width: 2px; border-right-width: 2px; }

.hero__card {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 10%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(255, 255, 255, .04);
}
.hero__card img { width: 100%; height: auto; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  background: rgba(7, 36, 72, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55);
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.float-chip strong { display: block; font-family: var(--font-title); font-weight: 700; font-size: 14px; }
.float-chip small { color: rgba(255, 255, 255, .6); font-size: 12px; }
.float-chip__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(204, 255, 0, .12);
  color: var(--lime);
  font-size: 18px;
}
.float-chip--a { top: 13%; left: -6%; }
.float-chip--b { bottom: 16%; right: -8%; animation-delay: -3.5s; }
.float-chip--c {
  bottom: 2%;
  left: 4%;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  animation-delay: -1.8s;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(204, 255, 0, .6);
  animation: pulse 2.4s infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(204, 255, 0, .55); }
  70% { box-shadow: 0 0 0 10px rgba(204, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0); }
}

/* =========================================================
   QUEM SOMOS
   ========================================================= */

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.mission {
  position: relative;
  margin-top: 36px;
  padding: 26px 28px 26px 32px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
}
.mission__label {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.mission p { color: #334155; font-size: 16.5px; }

.segments { margin-top: 36px; }
.segments__label {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 14px;
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: border-color .3s, background-color .3s;
}
.tags li [data-lucide] { color: var(--green); font-size: 16px; }
.tags li:hover { border-color: var(--green); background: #F7FBEF; }
.segments__note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about__features .feature:nth-child(even) { transform: translateY(36px); }
.about__features .feature:nth-child(even).reveal:not(.is-visible) { transform: translateY(60px); }

.feature {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), border-color .4s;
}
.feature:hover { box-shadow: var(--shadow); border-color: #D3DCE7; }
.feature:hover .icon-badge::after { opacity: 1; transform: rotate(90deg); }
.feature h3 {
  margin-top: 22px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* =========================================================
   SERVIÇOS
   ========================================================= */

.services { background: var(--bg-soft); }
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 52, 102, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 40%);
  mask-image: linear-gradient(180deg, #000, transparent 40%);
  pointer-events: none;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }
.service:hover .icon-badge { transform: scale(1.06); }

.service__num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  color: #CBD5E1;
}
.service h3 {
  margin-top: 26px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}
.service p { margin-top: 10px; color: var(--muted); font-size: 15px; flex-grow: 1; }
.service__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.service__more [data-lucide] { transition: transform .35s var(--ease); }
.service:hover .service__more [data-lucide] { transform: translateX(4px); }

/* =========================================================
   DOCUMENTAÇÃO
   ========================================================= */

.docs__flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: doc;
}

.doc {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  min-height: 220px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
  transform: translateY(-50%) rotate(45deg);
}
.doc__step {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc h3 {
  margin-top: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.01em;
  color: var(--navy);
}
.doc p { margin-top: 12px; color: #475569; font-size: 14.5px; line-height: 1.55; }

.doc--final { background: var(--navy); border-color: var(--navy); }
.doc--final .doc__step { color: rgba(255, 255, 255, .55); }
.doc--final h3 { color: var(--lime); }
.doc--final p { color: rgba(255, 255, 255, .82); }

.highlight-band {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 26px 32px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--navy);
}
.highlight-band [data-lucide] { font-size: 30px; }
.highlight-band p { font-size: 16.5px; font-weight: 500; line-height: 1.55; }
.highlight-band strong { font-weight: 800; font-family: var(--font-title); }

/* =========================================================
   TREINAMENTOS
   ========================================================= */

.trainings {
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.trainings::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(19, 65, 121, .9), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(141, 198, 63, .1), transparent 70%);
}

.nr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.nr {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 170px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .4s, border-color .4s, transform .4s var(--ease);
}
.nr:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(204, 255, 0, .4);
  transform: translateY(-4px);
}
.nr__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nr__code {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--lime);
}
.nr__top [data-lucide] { font-size: 22px; color: rgba(255, 255, 255, .45); transition: color .3s; }
.nr:hover .nr__top [data-lucide] { color: var(--lime); }
.nr p { font-size: 15.5px; color: rgba(255, 255, 255, .85); }

.nr--accent { background: var(--lime); border-color: var(--lime); }
.nr--accent:hover { background: #D6FF33; border-color: #D6FF33; }
.nr--accent .nr__code { color: var(--navy); font-size: 22px; line-height: 1.15; }
.nr--accent .nr__top [data-lucide],
.nr--accent:hover .nr__top [data-lucide] { color: var(--navy); }
.nr--accent p { color: var(--navy); font-weight: 500; }

.trainings__more {
  margin-top: 36px;
  color: rgba(255, 255, 255, .75);
  font-size: 16px;
}
.trainings__more strong { color: var(--white); }

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
}
.checks [data-lucide] { color: var(--lime); font-size: 20px; }

/* =========================================================
   AVCB / CLCB  &  PERÍCIAS
   ========================================================= */

.avcb__inner,
.expertise__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.expertise__inner { grid-template-columns: .9fr 1.1fr; }
.expertise { background: var(--bg-soft); }

.steps { margin-top: 44px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 30px;
  bottom: 30px;
  width: 0;
  border-left: 2px dashed #CBD5E1;
}
.step {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-block: 14px;
}
.step__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 0 0 6px var(--white);
  position: relative;
  z-index: 1;
}
.step h3 {
  margin-top: 4px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}
.step p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }

.dark-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.dark-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(200deg, #000 0%, transparent 55%);
}
.dark-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(204, 255, 0, .12);
  border: 1px solid rgba(204, 255, 0, .25);
  color: var(--lime);
  font-size: 28px;
}
.dark-card h3 {
  margin-top: 28px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.dark-card > p { margin-top: 18px; color: rgba(255, 255, 255, .78); font-size: 16.5px; }
.dark-card .btn { margin-top: 32px; }

.dark-card__list { margin-top: 26px; display: grid; gap: 14px; }
.dark-card__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.dark-card__list [data-lucide] {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  stroke-width: 3;
}
.dark-card__glossary {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
}
.dark-card__glossary div { display: flex; gap: 10px; }
.dark-card__glossary dt { font-weight: 700; color: var(--lime); min-width: 44px; }

.expertise__list { margin-top: 40px; display: grid; gap: 14px; }
.row-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.row-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.row-card h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.row-card p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* =========================================================
   INVESTIMENTO
   ========================================================= */

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
  margin-top: 56px;
}
.compare__col {
  padding: clamp(30px, 4vw, 44px);
  border-radius: var(--radius-lg);
}
.compare__col h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 24px;
}
.compare__col ul { display: grid; gap: 16px; }
.compare__col li { display: flex; align-items: center; gap: 14px; font-size: 16.5px; }
.compare__col li [data-lucide] {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  stroke-width: 3;
}

.compare__col--without { background: var(--bg-soft); border: 1px solid var(--border); }
.compare__col--without h3 { color: var(--muted); }
.compare__col--without li { color: #475569; }
.compare__col--without li [data-lucide] { background: #E2E8F0; color: #94A3B8; }

.compare__col--with { background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); }
.compare__col--with h3 { color: var(--lime); }
.compare__col--with li [data-lucide] { background: var(--lime); color: var(--navy); }

.compare__vs {
  align-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--muted);
}

.statement {
  margin: 56px auto 0;
  max-width: 860px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--navy);
  text-wrap: balance;
}
.statement mark {
  color: var(--navy);
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  padding-inline: 2px;
}

/* =========================================================
   COMO TRABALHAMOS
   ========================================================= */

.process { background: var(--bg-soft); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--navy) 50%, var(--border));
  opacity: .35;
}
.timeline__item { position: relative; text-align: center; }
.timeline__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  font-size: 28px;
  box-shadow: 0 0 0 8px var(--bg-soft), var(--shadow);
  position: relative;
  z-index: 1;
  transition: transform .45s var(--ease);
}
.timeline__item:hover .timeline__icon { transform: translateY(-6px) scale(1.05); }
.timeline__num {
  display: block;
  margin-top: 22px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--green);
}
.timeline__item h3 {
  margin-top: 4px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.timeline__item p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.process__band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin-top: 64px;
  padding: 24px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
}
.process__band li { display: flex; align-items: center; }
.process__band li:not(:last-child)::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline: 18px;
  border-radius: 50%;
  background: var(--green);
}

/* =========================================================
   CONTATO
   ========================================================= */

.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--section-y);
  background: var(--navy);
  color: var(--white);
}
.contact .hero__grid {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 20% 30%, #000 20%, transparent 75%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}
.contact__sub {
  margin-top: 18px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  color: var(--lime);
}

.contact__channels { margin-top: 40px; display: grid; gap: 14px; }
.channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
a.channel:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.channel__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  font-size: 22px;
  flex-shrink: 0;
}
.channel small { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); }
.channel strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 19px);
  word-break: break-word;
}

.contact__logo {
  margin-top: 40px;
  width: 200px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.quote-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.quote-card__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
}
.quote-card__desc { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.quote-card__list {
  display: grid;
  gap: 10px;
  margin-block: 28px 32px;
}
.quote-card__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.quote-card__list [data-lucide] { font-size: 20px; color: var(--green); }
.quote-card .btn--primary { background: var(--navy); color: var(--white); }
.quote-card .btn--primary:hover { background: var(--navy-700); box-shadow: 0 12px 28px -12px rgba(11, 52, 102, .6); }

/* =========================================================
   FOOTER
   ========================================================= */

.footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-block: 56px 40px;
}
.footer__brand strong { font-family: var(--font-title); font-weight: 800; font-size: 17px; color: var(--white); }
.footer__brand p { margin-top: 8px; color: var(--green); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.footer__contact { display: grid; gap: 8px; align-content: start; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--lime); }
.footer__bottom {
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* ---------- Animação de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1280px) {
  .nav__link { padding-inline: 8px; font-size: 14px; }
  .nav__link::after { left: 8px; right: 8px; }
  .nav { gap: 16px; }
}

@media (max-width: 1200px) {
  .menu-toggle { display: block; z-index: 2; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px clamp(20px, 4vw, 32px) 28px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -24px rgba(11, 52, 102, .35);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--bg-soft); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--navy); padding-left: 12px; box-shadow: inset 3px 0 0 var(--green); }
  .nav__cta { padding: 15px 22px; font-size: 15px; }
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 420px; }

  .section-head { grid-template-columns: 1fr; }

  .about__inner,
  .avcb__inner,
  .expertise__inner,
  .contact__inner { grid-template-columns: 1fr; }
  .expertise__inner > aside { order: 2; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .nr-grid { grid-template-columns: repeat(2, 1fr); }

  .docs__flow { grid-template-columns: 1fr; gap: 14px; }
  .doc { min-height: 0; display: grid; grid-template-columns: 120px 1fr; align-items: center; column-gap: 20px; }
  .doc__step { grid-column: 1; grid-row: 1; }
  .doc h3 { grid-column: 1; grid-row: 2; margin-top: 2px; }
  .doc p { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .doc:not(:last-child)::after { top: auto; bottom: -12px; right: 50%; transform: translateX(50%) rotate(135deg); }

  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .timeline::before { top: 36px; bottom: 36px; left: 35px; right: auto; width: 2px; height: auto; background: var(--navy); opacity: .15; }
  .timeline__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 24px;
    text-align: left;
    padding-bottom: 32px;
  }
  .timeline__icon { grid-row: 1 / span 3; margin: 0; }
  .timeline__num { margin-top: 6px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }

  .brand__mark { width: 38px; }
  .brand__text strong { font-size: 18px; }

  .hero__topics { font-size: 14.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero__stats dt { font-size: 28px; }
  .hero__stats dd { font-size: 12.5px; }

  .float-chip--a { left: -2%; }
  .float-chip--b { right: -2%; }
  .float-chip--c { display: none; }

  .about__features { grid-template-columns: 1fr; }
  .about__features .feature:nth-child(even),
  .about__features .feature:nth-child(even).reveal:not(.is-visible) { transform: none; }
  .about__features .feature:nth-child(even).reveal:not(.is-visible) { transform: translateY(24px); }

  .services__grid { grid-template-columns: 1fr; }
  .nr-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nr { min-height: 140px; padding: 20px 18px; gap: 20px; }
  .nr__code { font-size: 24px; }
  .nr--accent .nr__code { font-size: 18px; }
  .nr p { font-size: 14px; }

  .doc { grid-template-columns: 1fr; }
  .doc__step, .doc h3, .doc p { grid-column: 1; grid-row: auto; }
  .doc p { margin-top: 8px; }

  .highlight-band { flex-direction: column; align-items: flex-start; padding: 24px; }

  .compare { grid-template-columns: 1fr; }
  .compare__vs { justify-self: center; margin-block: -6px; }

  .process__band { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .process__band li::after { display: none; }

  .footer__inner { grid-template-columns: 1fr; }}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
