/* ==========================================================================
   PRIMAX Marcas & Patentes — design system
   Paleta oficial (Brand Book v1.0, mai/2025):
   #FF6A00 laranja · #111111 preto carvao · #4D4D4D grafite · #F2F2F2 cinza
   Tipografia: URW DIN (primaria) -> Barlow · Montserrat (apoio)
   ========================================================================== */

:root {
  --orange: #ff6a00;
  --orange-600: #f05500;
  --orange-700: #d94a00;
  --orange-soft: #fff3ec;
  --ink: #111111;
  --graphite: #4d4d4d;
  --muted: #6f6f6f;
  --line: #e7e7e7;
  --line-soft: #f0f0f0;
  --soft: #f2f2f2;
  --white: #fff;

  --font: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .05);
  --shadow: 0 6px 24px rgba(17, 17, 17, .07);
  --shadow-lg: 0 18px 50px rgba(17, 17, 17, .12);
  --header-h: 108px;
  /* distancia entre a borda do conteudo e a borda da viewport (sangria) */
  --bleed: calc(max(0px, (100vw - var(--container))) / 2 + 28px);
}

html { overflow-x: clip; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.o { color: var(--orange); }
.center { text-align: center; }

/* ---------- tipografia de secao ---------- */
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.s-title {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.2;
}

.s-lead {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
  max-width: 62ch;
}

.section { padding: 84px 0; }
.section--tight { padding: 62px 0; }
.section--soft { background: var(--soft); }
.section--fade { background: linear-gradient(180deg, #fafafa 0%, #fff 100%); }
.head-center { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.head-center .s-lead { margin-inline: auto; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 0, .28); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 106, 0, .34); }
.btn--ghost { color: var(--ink); border-color: transparent; padding-inline: 6px; }
.btn--ghost:hover { color: var(--orange); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--orange);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}
.header__logo img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.nav__link svg { width: 11px; height: 11px; opacity: .65; }
.nav__link:hover { color: var(--orange); }
.nav__item.is-active > .nav__link { color: var(--orange); font-weight: 600; }
.nav__item.is-active > .nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 254px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--graphite);
}
.dropdown a:hover { background: var(--orange-soft); color: var(--orange); }

.header__cta { margin-left: 4px; }

.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 0 22px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 11px 0; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 0; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 520px;
}
.hero__text { padding: 58px 0 62px; }
.hero__rule { display: block; width: 46px; height: 3px; background: var(--orange); margin-bottom: 22px; }
.hero__crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.hero__crumb a { color: var(--orange); font-weight: 600; }
.hero__crumb svg { width: 12px; height: 12px; opacity: .55; }

.hero h1 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.hero__lead { margin-top: 22px; font-size: 18px; color: var(--graphite); max-width: 47ch; }

.hero__mini {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero__mini > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid var(--line);
}
.hero__mini > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__mini svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.hero__mini span { font-size: 13.5px; line-height: 1.35; color: var(--graphite); max-width: 15ch; }

.hero__actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }

/* a arte e ancorada na secao (largura total da viewport), entao encosta
   exatamente na borda direita — sem depender de 100vw/scrollbar */
.hero__art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52.5%;
  background-size: cover;
  background-position: center;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 22%;
  background: linear-gradient(90deg, #fff 6%, rgba(255, 255, 255, 0) 100%);
}

/* chips sobre a arte */
.hero__chips {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  z-index: 2;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .94);
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
  backdrop-filter: blur(3px);
}
.chip svg { width: 13px; height: 13px; color: var(--orange); }

/* hero em faixa (insight juridico) */
.hero--banner { background: #0d0d0f; }
.hero--banner .hero__grid { grid-template-columns: 1fr; min-height: 0; }
.hero--banner .hero__text { padding: 66px 0 70px; max-width: 620px; position: relative; z-index: 2; }
.hero--banner h1, .hero--banner .hero__lead { color: #fff; }
.hero--banner .hero__lead { color: #d6d6d6; }
.hero--banner .hero__mini span { color: #cfcfcf; }
.hero--banner .hero__mini > div { border-color: rgba(255, 255, 255, .18); }
.hero--banner .hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
}
.hero--banner .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101013 22%, rgba(16, 16, 19, .82) 42%, rgba(16, 16, 19, .1) 78%);
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #dcdcdc; }
.card__icon { width: 30px; height: 30px; color: var(--orange); margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.3px; color: var(--muted); line-height: 1.62; }
.card__arrow { display: flex; justify-content: flex-end; margin-top: 16px; color: var(--orange); }
.card__arrow svg { width: 17px; height: 17px; transition: transform .2s ease; }
.card:hover .card__arrow svg { transform: translateX(4px); }

/* card com icone e titulo na mesma linha */
.card--row h3 { display: flex; align-items: center; gap: 11px; font-size: 17.5px; margin-bottom: 12px; }
.card--row h3 svg { width: 27px; height: 27px; color: var(--orange); flex: none; }

/* card de solucao: icone em circulo cinza */
.card--sol { text-align: center; padding: 32px 24px; }
.card--sol .circle {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.card--sol .circle svg { width: 32px; height: 32px; color: var(--orange); }
.card--sol h3 { font-size: 19px; margin-bottom: 12px; }
.card--sol .link-arrow { margin-top: 18px; }

/* ==========================================================================
   PROCESSO 01 / 02 / 03
   ========================================================================== */
.steps { display: flex; align-items: flex-start; gap: 8px; }
.step { display: flex; gap: 16px; flex: 1; }
.step__tile {
  width: 62px; height: 62px;
  flex: none;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.step__tile svg { width: 27px; height: 27px; color: var(--ink); }
.step__n { font-size: 29px; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.step h4 { font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.step__sep { align-self: center; color: #c9c9c9; flex: none; padding-top: 10px; }
.step__sep svg { width: 20px; height: 20px; }

/* timeline numerada (sobre / solucoes) */
.timeline { position: relative; padding-top: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 12px; left: 3%; right: 3%;
  height: 1px;
  background: var(--line);
}
.timeline__row { display: grid; gap: 22px; }
.tl { position: relative; }
.tl__dot {
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  position: absolute;
  top: -32px;
  left: 0;
}
.tl__ico { width: 22px; height: 22px; color: var(--ink); margin-bottom: 10px; }
.tl h4 { font-size: 15px; margin-bottom: 8px; }
.tl p { font-size: 13.2px; color: var(--muted); line-height: 1.55; }

/* ==========================================================================
   NUMEROS / STATS
   ========================================================================== */
.stats { display: grid; gap: 20px; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat__ico {
  width: 52px; height: 52px;
  flex: none;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.stat__ico svg { width: 24px; height: 24px; color: var(--orange); }
.stat__v { font-size: 25px; font-weight: 700; color: var(--orange); line-height: 1.05; }
.stat__l { font-size: 13px; color: var(--muted); line-height: 1.4; }

.stat-card { text-align: center; padding: 26px 18px; }
.stat-card svg { width: 34px; height: 34px; color: var(--orange); margin: 0 auto 14px; }
.stat-card .v { font-size: 28px; font-weight: 700; color: var(--orange); line-height: 1.1; }
.stat-card .l { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   ARTIGOS
   ========================================================================== */
.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s ease, transform .22s ease;
}
.post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post__img { aspect-ratio: 16 / 8.4; background-size: cover; background-position: center; }
.post__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--orange); }
.post h3 { font-size: 17px; line-height: 1.32; margin: 9px 0 9px; }
.post p { font-size: 14px; color: var(--muted); line-height: 1.58; }
.post .link-arrow { margin-top: auto; padding-top: 16px; font-size: 13.5px; }
.post__meta { font-size: 12.5px; color: #9a9a9a; margin-top: 12px; }

.post--feature {
  position: relative;
  min-height: 380px;
  border: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}
.post--feature .post__body { flex: none; }
.post--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .88) 100%);
}
.post--feature > * { position: relative; z-index: 2; }
.post--feature .post__body { padding: 26px; }
.post--feature h3 { color: #fff; font-size: 23px; line-height: 1.24; }
.post--feature p { color: #d9d9d9; font-size: 14px; }
.badge-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 6px;
}
.post--feature .post__meta { color: #cfcfcf; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin: 0 0 10px; }

/* card artigo horizontal (imagem a esquerda) */
.post--h { flex-direction: row; align-items: stretch; }
.post--h .post__img { width: 38%; flex: none; aspect-ratio: auto; }
.post--h .post__body { padding: 16px 18px; }
.post--h h3 { font-size: 15px; }

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.quote { position: relative; padding: 26px 24px; }
.quote__mark { font-family: Georgia, serif; font-size: 42px; line-height: .8; color: var(--orange); }
.quote p { font-size: 14.6px; color: var(--graphite); line-height: 1.62; margin-top: 10px; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote__who strong { display: block; font-size: 14.5px; color: var(--ink); }
.quote__who span { font-size: 12.8px; color: var(--muted); }

.logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.logos div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #b3b3b3;
}
.logos svg { width: 20px; height: 20px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  background: #fff;
  border: 0;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.faq__q svg { width: 17px; height: 17px; color: var(--orange); flex: none; transition: transform .22s ease; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 20px 18px; font-size: 14.2px; color: var(--muted); }
.faq__item.is-open .faq__a { max-height: 420px; }

/* ==========================================================================
   FAIXAS CTA
   ========================================================================== */
.cta-strip { background: linear-gradient(90deg, #ff6a00 0%, #f24d00 100%); color: #fff; }
.cta-strip__in { display: flex; align-items: center; gap: 20px; padding: 22px 0; }
.cta-strip img { width: 40px; height: 40px; flex: none; }
.cta-strip strong { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.cta-strip span { font-size: 13.6px; color: rgba(255, 255, 255, .92); }
.cta-strip .btn { margin-left: auto; }

.cta-dark {
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, #131313 0%, #1c1c1c 46%, #c2440b 100%);
  color: #fff;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-dark h3 { color: #fff; font-size: 26px; line-height: 1.22; }
.cta-dark p { color: rgba(255, 255, 255, .82); font-size: 14.5px; margin-top: 12px; max-width: 46ch; }
.cta-dark__side { margin-left: auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-dark__note { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.cta-dark__note svg { width: 17px; height: 17px; color: var(--orange); }

.cta-box {
  border-radius: var(--radius);
  background: linear-gradient(120deg, #ff6a00 0%, #f04a00 100%);
  color: #fff;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.cta-box h4 { color: #fff; font-size: 19px; line-height: 1.28; }
.cta-box p { font-size: 14px; color: rgba(255, 255, 255, .92); margin-top: 12px; }
.cta-box .btn { margin-top: 20px; }
.cta-box__mark { position: absolute; right: -22px; bottom: -28px; width: 160px; opacity: .16; }

.cta-flat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cta-flat img { width: 44px; height: 44px; flex: none; }
.cta-flat strong { display: block; font-size: 19px; color: var(--ink); }
.cta-flat p { font-size: 14px; color: var(--muted); margin-top: 5px; }
.cta-flat .btn { margin-left: auto; }

.cta-split {
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.cta-split__l { background: #131313; color: #fff; padding: 30px 32px; }
.cta-split__l h3 { color: #fff; font-size: 23px; line-height: 1.24; }
.cta-split__r { background: linear-gradient(90deg, #f45700, #ff6a00); padding: 30px 32px; display: flex; align-items: center; gap: 24px; }
.cta-split__r p { color: #fff; font-size: 14px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: #111114; color: #b7b7b7; padding: 52px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) 1.25fr; gap: 32px; }
.footer img.logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer p.about { font-size: 13.2px; line-height: 1.65; color: #9d9d9d; max-width: 30ch; }
.footer h5 { color: #fff; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer li a { font-size: 13.4px; color: #a5a5a5; }
.footer li a:hover { color: var(--orange); }
.footer__contact { display: grid; gap: 12px; }
.footer__contact div { display: flex; gap: 10px; font-size: 13.4px; color: #a5a5a5; line-height: 1.5; }
.footer__contact svg { width: 15px; height: 15px; color: var(--orange); flex: none; margin-top: 3px; }
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a {
  width: 34px; height: 34px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  display: grid;
  place-items: center;
  color: #cfcfcf;
}
.social a:hover { background: var(--orange); color: #fff; }
.social svg { width: 16px; height: 16px; }
.footer__bar {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.6px;
  color: #8b8b8b;
  flex-wrap: wrap;
}

/* ==========================================================================
   PAGINA DE ARTIGO
   ========================================================================== */
.article__top { display: grid; grid-template-columns: 1fr 1.06fr; gap: 46px; align-items: center; padding: 34px 0 44px; }
.article__top h1 { font-size: clamp(30px, 3.1vw, 40px); line-height: 1.12; }
.article__rule { width: 58px; height: 3px; background: var(--orange); margin: 22px 0; }
.article__lead { font-size: 16.5px; color: var(--graphite); line-height: 1.62; }
.article__meta { display: flex; align-items: center; gap: 16px; margin-top: 26px; font-size: 13.2px; color: var(--muted); flex-wrap: wrap; }
.article__meta img { width: 30px; height: 30px; }
.article__meta .who { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 500; }
.article__meta .dot { display: flex; align-items: center; gap: 7px; }
.article__meta svg { width: 14px; height: 14px; color: var(--muted); }
.article__cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }

.case {
  background: #fafafa;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.case img { border-radius: 8px; height: 100%; object-fit: cover; }
.case h3 { font-size: 21px; line-height: 1.26; margin: 8px 0 12px; }
.case p { font-size: 14.2px; color: var(--muted); line-height: 1.65; }
.case__nums { display: flex; gap: 8px; margin-top: 22px; }
.case__nums > div { display: flex; align-items: center; gap: 10px; padding-right: 18px; border-right: 1px solid var(--line); }
.case__nums > div:last-child { border: 0; }
.case__nums svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.case__nums b { display: block; font-size: 21px; color: var(--orange); line-height: 1.1; }
.case__nums span { font-size: 11.6px; color: var(--muted); line-height: 1.35; display: block; }

.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h4 { font-size: 17px; margin-bottom: 16px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--graphite);
}
.side-list li a span { color: #a2a2a2; font-size: 13px; }
.side-list li a:hover { background: #fafafa; }
.side-list li.is-active a { background: var(--orange-soft); color: var(--orange); font-weight: 600; border-left: 2px solid var(--orange); }
.side-list li.is-active a span { color: var(--orange); }
.side-post { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.side-post:last-of-type { border-bottom: 0; }
.side-post img { width: 62px; height: 46px; border-radius: 6px; object-fit: cover; flex: none; }
.side-post strong { display: block; font-size: 13.4px; font-weight: 600; color: var(--ink); line-height: 1.34; }
.side-post span { font-size: 12px; color: #9d9d9d; }

/* ==========================================================================
   FILTROS / TABS
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: all .18s ease;
}
.filter:hover { border-color: var(--orange); color: var(--orange); }
.filter.is-active { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }

.themes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 15px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}
.theme svg { width: 16px; height: 16px; color: var(--ink); }
.theme.is-active { border-color: var(--orange); color: var(--orange); }
.theme.is-active svg { color: var(--orange); }
.theme:hover { border-color: var(--orange); color: var(--orange); }

/* card de setor com imagem */
.sector {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s ease, transform .22s ease;
}
.sector:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sector__img { position: relative; aspect-ratio: 16 / 9.6; background-size: cover; background-position: center; }
.sector__badge {
  position: absolute;
  left: 16px; bottom: -22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}
.sector__badge svg { width: 22px; height: 22px; color: var(--orange); }
.sector__body { padding: 34px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.sector h3 { font-size: 19px; margin-bottom: 9px; }
.sector p { font-size: 13.6px; color: var(--muted); line-height: 1.6; }
.sector ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.sector li { display: flex; gap: 9px; font-size: 13px; color: var(--graphite); line-height: 1.4; }
.sector li svg { width: 15px; height: 15px; color: var(--orange); flex: none; margin-top: 2px; }
.sector__foot { display: flex; justify-content: flex-end; margin-top: 18px; color: var(--orange); }
.sector__foot svg { width: 17px; height: 17px; }

/* card de setor grande com texto sobre a foto */
.sector-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.sector-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, .86) 100%); }
.sector-hero > div { position: relative; z-index: 2; padding: 26px; }
.sector-hero .circle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.sector-hero .circle svg { width: 27px; height: 27px; color: var(--orange); }
.sector-hero h3 { color: #fff; font-size: 25px; margin-bottom: 10px; }
.sector-hero p { color: rgba(255, 255, 255, .9); font-size: 14px; line-height: 1.6; }
.sector-hero .link-arrow { color: #fff; margin-top: 18px; text-decoration: underline; text-underline-offset: 5px; }

/* ==========================================================================
   FORMULARIO
   ========================================================================== */
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .12);
}

.info-item { display: flex; gap: 14px; }
.info-item .ico {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 9px;
  background: var(--orange-soft);
  display: grid;
  place-items: center;
}
.info-item .ico svg { width: 20px; height: 20px; color: var(--orange); }
.info-item strong { display: block; font-size: 15px; color: var(--ink); }
.info-item span, .info-item a { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* newsletter */
.newsletter {
  background: #131316;
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 26px;
  color: #fff;
  flex-wrap: wrap;
}
.newsletter__ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.newsletter__ico svg { width: 28px; height: 28px; color: var(--ink); }
.newsletter h3 { color: #fff; font-size: 21px; }
.newsletter p { color: #b9b9b9; font-size: 13.6px; margin-top: 8px; max-width: 42ch; }
.newsletter form { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 240px;
  font: inherit;
  font-size: 14.5px;
}
.newsletter input::placeholder { color: #8e8e8e; }
.newsletter small { display: block; width: 100%; text-align: right; color: #7e7e7e; font-size: 11.8px; margin-top: 8px; }

/* lista de tendencias */
.trend { display: grid; gap: 10px; }
.trend a {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
}
.trend a:hover { border-color: var(--orange); color: var(--orange); }
.trend svg { width: 16px; height: 16px; color: var(--orange); }

.rank { display: grid; gap: 14px; }
.rank__row { display: flex; align-items: center; gap: 14px; }
.rank__n { font-size: 24px; font-weight: 700; color: var(--orange); width: 32px; flex: none; }
.rank__row img { width: 62px; height: 46px; border-radius: 6px; object-fit: cover; flex: none; }
.rank__row strong { display: block; font-size: 13.8px; color: var(--ink); line-height: 1.34; font-weight: 600; }
.rank__row span { font-size: 12.2px; color: #9d9d9d; }

/* lista com check */
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; font-size: 14.6px; color: var(--graphite); }
.checks li svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 2px; }

/* faixa de icones (setor saude/educacao) */
.iconbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.iconbar div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  font-size: 13.2px;
  color: var(--ink);
  line-height: 1.35;
}
.iconbar div:last-child { border-right: 0; }
.iconbar svg { width: 22px; height: 22px; color: var(--orange); flex: none; }

/* whatsapp flutuante */
.wa {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  z-index: 70;
}
.wa svg { width: 27px; height: 27px; color: #fff; }
.wa:hover { transform: scale(1.06); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1180px) {
  .grid-5, .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: 34px; }
  .iconbar { grid-template-columns: repeat(3, 1fr); }
  .iconbar div:nth-child(3n) { border-right: 0; }
}

@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__art {
    position: relative;
    width: auto;
    min-height: 330px;
    margin-inline: calc(-1 * var(--bleed));
    order: -1;
  }
  .hero__art::before { display: none; }
  .hero__text { padding: 40px 0 34px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { flex-direction: column; gap: 22px; }
  .step__sep { display: none; }
  .layout-side { grid-template-columns: 1fr; }
  .article__top { grid-template-columns: 1fr; gap: 26px; }
  .case { grid-template-columns: 1fr; }
  .case img { max-height: 220px; width: 100%; }
  .cta-split { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline { padding-top: 0; }
  .tl { padding-left: 38px; }
  .tl__dot { top: 0; }
  .cta-strip__in { flex-wrap: wrap; }
  .cta-strip .btn { margin-left: 0; }
  .newsletter form { margin-left: 0; width: 100%; }
  .newsletter input { flex: 1; min-width: 0; }
}

@media (max-width: 680px) {
  .container { padding-inline: 20px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__mini > div { border-right: 0; padding-right: 0; margin-right: 0; width: 100%; margin-bottom: 12px; }
  .hero__mini span { max-width: none; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .case__nums { flex-direction: column; gap: 14px; }
  .case__nums > div { border-right: 0; }
  .iconbar { grid-template-columns: 1fr; }
  .iconbar div { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-dark { padding: 28px 22px; }
  .cta-dark__side { margin-left: 0; }
  .cta-flat { flex-wrap: wrap; }
  .cta-flat .btn { margin-left: 0; width: 100%; justify-content: center; }
  .post--h { flex-direction: column; }
  .post--h .post__img { width: 100%; aspect-ratio: 16 / 8.4; }
  .logos { justify-content: center; gap: 20px 30px; }
}
