/* ==========================================================================
   injecaotecnica.com.br
   Fonte: Figtree (SIL Open Font License) — hospedada no próprio site
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #1D1D1D;
  --muted: #72707E;
  --line: #CDCADB;
  --line-soft: #E6E4EF;
  --bg: #FFFFFF;
  --bg-soft: #F8F8FB;

  --primary: #5A3DE6;
  --primary-hover: #4D34C6;
  --primary-deep: #3B2D81;
  --navy: #2F2469;

  --lavender: #EBE8FC;
  --lavender-2: #DED8FA;
  --lavender-soft: #F6F5FE;
  --mint: #D6F3EB;
  --mint-2: #99E2CD;
  --green: #007958;
  --cream: #FFEECF;
  --amber: #8A5A00;
  --pink: #FDE6E2;
  --magenta: #A335C3;
  --red: #D11515;

  --r-s: 4px;
  --r: 8px;
  --r-l: 12px;
  --r-xl: 16px;
  --pill: 50px;

  --shadow-card: 0 0 0 1px rgba(29, 29, 29, .05), 0 2px 6px rgba(29, 29, 29, .06);
  --shadow-float: 0 3px 12px rgba(0, 0, 0, .12);

  --wrap: 1100px;
  --wrap-wide: 1300px;
  --gutter: 24px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.12; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(90, 61, 230, .5);
  transition: text-decoration-color .2s, color .2s;
}
a:hover { color: var(--primary-deep); text-decoration-color: var(--primary-deep); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--r-s); }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  padding: 12px 16px; background: var(--ink); color: #fff; border-radius: var(--r);
}
.skip:focus { top: 16px; color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout ------------------------------------------------------------------ */

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: calc(var(--wrap-wide) + var(--gutter) * 2); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--flush { padding-top: 0; }

.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }

.h-section { font-size: clamp(1.75rem, 3.4vw, 2.25rem); }
.h-sub { margin-top: 12px; font-size: 1.125rem; max-width: 640px; }
.center .h-sub, .h-sub.center { margin-left: auto; margin-right: auto; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 56px 21px;
  border: 0; border-radius: var(--r);
  background: var(--primary); color: #fff;
  box-shadow: inset 0 0 0 1px transparent, inset 0 -3px var(--primary-deep);
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s;
}
.btn:hover { background: var(--primary-hover); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--r); }

.btn--small { padding: 8px 14px 10px; font-size: .9375rem; box-shadow: inset 0 0 0 1px transparent, inset 0 -2px var(--primary-deep); }
.btn--block { width: 100%; }

.btn--ghost {
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px var(--line);
}
.btn--ghost:hover { background: #F7F6F9; color: var(--ink); }

.link-arrow { font-weight: 500; }

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

.site-header {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  max-width: 1440px; margin: 0 auto; padding: 28px 32px;
}
.site-header__logo { display: inline-flex; justify-self: start; text-decoration: none; }
.site-header__logo img { height: 36px; width: auto; }
.site-header__actions { display: flex; align-items: center; justify-self: end; gap: 20px; }
.site-header__actions > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-header__actions > a:not(.btn):hover { color: var(--primary); }

.nav {
  display: flex; align-items: center; gap: 2px;
  padding: 4px; margin: 0; list-style: none;
  background: var(--bg-soft); border-radius: var(--pill);
}
.theme-soft .nav { background: #fff; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border: 0; border-radius: var(--pill);
  background: transparent; color: var(--ink);
  font: inherit; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--lavender); color: var(--ink); }
.nav__link[aria-current], .nav__link.is-active { color: var(--primary); }
.nav__link svg { transition: transform .2s; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

.nav__sub {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
  display: none; min-width: 300px; padding: 8px; margin: 0; list-style: none;
  background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-float);
}
.nav__item.is-open > .nav__sub { display: block; }
.nav__sub a {
  display: block; padding: 12px 16px; border-radius: var(--r);
  color: var(--ink); text-decoration: none; font-size: 1.0625rem; font-weight: 500; line-height: 1.3;
  transition: background-color .2s;
}
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--lavender); }
.nav__sub a[aria-current] { color: var(--primary); }
.nav__sub .nav__all { color: var(--muted); font-size: 1rem; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--pill);
  background: var(--bg-soft); color: var(--ink); cursor: pointer;
}
.theme-soft .nav-toggle { background: #fff; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-only-mobile { display: none; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; padding: 16px var(--gutter); }
  .site-header__actions { gap: 12px; }
  .site-header__actions > a:not(.btn) { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 12px; right: 12px; top: calc(100% - 4px);
    padding: 12px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-float);
    max-height: calc(100vh - 96px); overflow: auto;
  }
  .nav-open .site-nav { display: block; }
  .nav, .theme-soft .nav { flex-direction: column; align-items: stretch; gap: 0; padding: 0; background: transparent; border-radius: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 16px; border-radius: var(--r); font-size: 1.125rem; font-weight: 700; }
  .nav__link svg { display: none; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: transparent; }
  .nav__sub { position: static; transform: none; display: block; min-width: 0; padding: 0 0 8px; box-shadow: none; border-radius: 0; }
  .nav__sub::before { display: none; }
  .nav__sub a { padding: 10px 16px 10px 28px; }
  .nav-only-mobile { display: block; padding: 12px 4px 4px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
}
@media (max-width: 480px) {
  .site-header__logo img { height: 30px; }
  .site-header__actions .btn { display: none; }
}

/* Hero (página inicial) ---------------------------------------------------- */

.hero { padding: 40px 0 0; text-align: center; }
.hero__title {
  font-size: clamp(2.75rem, 9.2vw, 6.25rem);
  line-height: .98; letter-spacing: -.03em;
}
.hero__title span { display: block; }
.hero__lead { max-width: 580px; margin: 28px auto 0; font-size: clamp(1.125rem, 1.6vw, 1.25rem); }
.hero__actions { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* Painel de capacidade ----------------------------------------------------- */

.cap { position: relative; max-width: 720px; margin: 72px auto 0; text-align: left; }
.cap__window {
  background: #fff; border-radius: var(--r-l);
  box-shadow: 0 0 0 1px var(--line-soft), 0 16px 48px rgba(47, 36, 105, .12);
  overflow: hidden;
}
.cap__bar { display: flex; gap: 6px; padding: 14px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.cap__bar i { width: 9px; height: 9px; border-radius: 50%; background: #F4B4A6; }
.cap__bar i:nth-child(2) { background: #F6D58A; }
.cap__bar i:nth-child(3) { background: var(--mint-2); }
.cap__body { padding: 32px 36px 28px; }
.cap__head { display: flex; align-items: center; justify-content: flex-start; gap: 10px 14px; flex-wrap: wrap; }
.cap__label { font-size: 1rem; font-weight: 600; color: var(--muted); }
.cap__figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; }
.cap__number { font-size: clamp(2.75rem, 7vw, 4.25rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.cap__legend { font-size: 1.125rem; font-weight: 500; }
.cap__meter {
  display: flex; height: 16px; margin-top: 24px; border-radius: var(--pill); overflow: hidden;
  background: var(--lavender);
}
.cap__meter span { display: block; background: var(--primary); border-radius: var(--pill) 0 0 var(--pill); }
.cap__meter span[style*="100%"] { border-radius: var(--pill); }
.cap__key { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.cap__key b { color: var(--ink); font-weight: 600; }
.cap__rows { margin-top: 24px; border-top: 1px solid var(--line-soft); list-style: none; }
.cap__rows li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
.cap__rows li span:first-child { font-weight: 600; }
.cap__rows li span:last-child { color: var(--muted); text-align: right; }
.cap__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: .9375rem; color: var(--muted); }
.cap__foot a { font-weight: 500; }

.cap__stamp {
  position: absolute; right: -44px; top: -52px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 148px; height: 148px; border-radius: 50%;
  background: var(--mint-2); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 7px var(--mint-2), inset 0 0 0 8px rgba(29, 29, 29, .35);
  transform: rotate(9deg); text-align: center; line-height: 1.05;
}
.cap__stamp b { font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; }
.cap__stamp span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.cap--page { margin-top: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: var(--pill);
  background: var(--mint); color: var(--green);
  font-size: .875rem; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill--full { background: var(--cream); color: var(--amber); }

@media (max-width: 880px) {
  .cap { margin-top: 88px; }
  .cap__stamp { right: 12px; top: -64px; width: 112px; height: 112px; }
  .cap__stamp b { font-size: 1.875rem; }
  .cap__stamp span { font-size: .625rem; }
  .cap__body { padding: 28px 20px 22px; }
  .cap__rows li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cap__rows li span:last-child { text-align: left; }
}

/* Faixa de números ---------------------------------------------------------- */

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding: 72px 40px; border-radius: var(--r); background: var(--mint); text-align: center;
}
.stats__n { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.stats__l { margin-top: 6px; font-size: 1.0625rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; padding: 48px 24px; gap: 36px; } }

/* Bloco em duas colunas ------------------------------------------------------ */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.split > * { min-width: 0; }
.split--top { align-items: start; }
.split__text > p { margin: 16px 0 0; }
.split > .split__text > .h-section + * { margin-top: 24px; }
.split__media { display: flex; justify-content: center; }
.split__link { display: inline-block; margin-top: 24px; font-weight: 500; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split__media { order: 2; }
  .versus { max-width: none; padding: 4px 16px 10px; }
  .versus th, .versus td { padding: 14px 6px; }
}

.checks { list-style: none; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; }
.checks svg { margin-top: 3px; }
.checks b { font-weight: 700; }

/* Cartão de comparação -------------------------------------------------------- */

.versus {
  width: 100%; max-width: 520px; padding: 8px 28px 16px;
  background: #fff; border-radius: var(--r-l);
  box-shadow: 0 0 0 1px var(--line-soft), 0 16px 48px rgba(47, 36, 105, .10);
}
.versus table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.versus th, .versus td { padding: 16px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.versus thead th { border-bottom: 2px solid var(--primary); font-weight: 700; }
.versus tbody th { font-weight: 500; color: var(--muted); width: 30%; }
.versus tbody tr:last-child > * { border-bottom: 0; }
.versus td:nth-child(2) { font-weight: 700; }
.versus td:nth-child(3) { color: var(--muted); }

/* Faixas e painéis -------------------------------------------------------------- */

.band { background: var(--lavender); }
.band--soft { background: var(--bg-soft); }

.panel { padding: 72px 64px; border-radius: var(--r); background: var(--lavender-soft); }
.panel--mint { background: var(--mint); }
.panel--cream { background: var(--cream); }
@media (max-width: 760px) { .panel { padding: 48px 20px; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .cards, .cards--4, .cards--2 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 44px 28px 36px; border-radius: var(--r);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-card);
  text-align: center; text-decoration: none;
  transition: box-shadow .2s;
}
a.card:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--primary), 0 2px 6px rgba(29, 29, 29, .06); }
.card__art { height: 96px; margin-bottom: 24px; }
.card__title { font-size: 1.1875rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.card__text { margin: 8px 0 0; font-size: 1.0625rem; }
.card__more { margin-top: 16px; color: var(--primary); font-size: 1rem; font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(90, 61, 230, .5); }
.card--left { align-items: flex-start; text-align: left; padding: 28px; }

.tag {
  display: inline-block; padding: 2px 8px; border-radius: var(--r-s);
  background: #F6E7FA; color: var(--magenta); font-size: .875rem; font-weight: 500; line-height: 1.5;
}
.card > .tag { position: absolute; right: 12px; top: 12px; }
.tag--green { background: var(--mint); color: var(--green); }

/* Quem cuida de quê --------------------------------------------------------------- */

.matrix { width: 100%; border-collapse: collapse; margin-top: 48px; font-size: 1.0625rem; }
.matrix th, .matrix td { padding: 22px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix thead th { border-bottom: 2px solid var(--primary); font-weight: 600; vertical-align: bottom; }
.matrix thead a { color: var(--ink); text-decoration: none; }
.matrix thead a:hover { color: var(--primary); }
.matrix tbody th { text-align: left; font-weight: 500; }
.matrix .who { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.matrix .who--voce { color: var(--muted); font-weight: 500; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 560px; }

/* Materiais (chips) --------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; list-style: none; }
.chip {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 14px 22px 16px; border-radius: var(--r);
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px var(--line);
  transition: background-color .2s;
}
.chip:hover { background: #F7F6F9; color: var(--ink); }
.chip b { font-weight: 900; }

.strip {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  margin-top: 56px; padding: 28px 32px; border-radius: var(--r); background: var(--mint);
}
.strip h3 { font-size: 1.25rem; }
.strip p { margin: 4px 0 0; font-size: 1.0625rem; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; } }

/* Citações / afirmações ------------------------------------------------------------- */

.statement { max-width: 820px; margin: 0 auto; text-align: center; }
.statement p { margin: 20px auto 0; max-width: 640px; }

/* Sub-hero (páginas internas) -------------------------------------------------------- */

.theme-soft .site-top { background: var(--bg-soft); }
.subhero { padding: 40px 0 88px; background: var(--bg-soft); text-align: center; }
.subhero__art { height: 112px; margin-bottom: 28px; }
.subhero__title { max-width: 860px; margin: 0 auto; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.025em; }
.subhero__lead { max-width: 680px; margin: 20px auto 0; font-size: clamp(1.125rem, 1.7vw, 1.3125rem); }
.subhero__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.subhero__meta { margin-top: 20px; font-size: 1rem; color: var(--muted); }

.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 0 0 28px; list-style: none; font-size: .9375rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* Texto corrido ---------------------------------------------------------------------- */

.prose { max-width: 720px; margin: 0 auto; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 3vw, 1.875rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.25rem; font-weight: 700; letter-spacing: 0; }
.prose p { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.prose th, .prose td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.prose thead th { border-bottom: 2px solid var(--primary); }

/* Tabelas de dados --------------------------------------------------------------------- */

.data { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.data caption { caption-side: bottom; padding-top: 14px; text-align: left; font-size: .9375rem; color: var(--muted); }
.data th, .data td { padding: 20px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data thead th { border-bottom: 2px solid var(--primary); font-weight: 600; }
.data tbody th { font-weight: 500; width: 36%; }
.data--compare td:nth-child(2) { font-weight: 600; }
.data--compare td:nth-child(3) { color: var(--muted); }
.data--num td { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .data--compare, .data--compare tbody, .data--compare tr, .data--compare th, .data--compare td { display: block; width: auto; }
  .data--compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data--compare tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .data--compare tr:first-child { border-top: 2px solid var(--primary); }
  .data.data--compare tbody th, .data.data--compare td { padding: 0; border: 0; }
  .data.data--compare tbody th { margin-bottom: 10px; font-weight: 700; }
  .data.data--compare td { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 4px 0; }
  .data--compare td::before { content: attr(data-label); color: var(--muted); font-weight: 500; }
}

/* Passos ---------------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; margin-top: 48px; list-style: none; counter-reset: passo; }
.steps li { counter-increment: passo; }
.steps li::before {
  content: counter(passo); display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%;
  background: var(--lavender); color: var(--primary-deep); font-weight: 900;
}
.steps h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: 0; }
.steps p { margin: 6px 0 0; font-size: 1.0625rem; }

/* FAQ ---------------------------------------------------------------------------------------- */

.faq { max-width: 760px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 1.1875rem; font-weight: 700; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq summary:hover { color: var(--primary); }
.faq__a { padding: 0 4px 24px; max-width: 680px; }
.faq__a > *:last-child { margin-bottom: 0; }
.faq h3 { font: inherit; letter-spacing: 0; }

/* Links relacionados ----------------------------------------------------------------------------- */

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 40px; list-style: none; }
.related a {
  display: block; height: 100%; padding: 22px 24px 24px; border-radius: var(--r);
  background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card);
  transition: box-shadow .2s;
}
.related a:hover { box-shadow: 0 0 0 2px var(--primary), 0 2px 6px rgba(29, 29, 29, .06); }
.related b { display: block; font-weight: 700; line-height: 1.3; }
.related span { display: block; margin-top: 6px; font-size: 1rem; color: var(--muted); }

/* Chamada final ------------------------------------------------------------------------------------ */

.cta { padding: 104px 0 120px; text-align: center; }
.cta p { margin: 12px auto 0; max-width: 560px; }
.cta .btn { margin-top: 32px; }
.cta--flush { padding-top: 24px; }
.cta__note { margin-top: 24px !important; font-size: .9375rem; color: var(--muted); }

/* Formulário ----------------------------------------------------------------------------------------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; max-width: 760px; margin: 0 auto; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-size: 1rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 0; border-radius: var(--r);
  background: #fff; color: var(--ink); font: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%231D1D1D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; box-shadow: inset 0 0 0 1px var(--primary); }
.field--error input, .field--error select, .field--error textarea { box-shadow: inset 0 0 0 2px var(--red); }
.field__error { margin-top: 6px; font-size: .9375rem; color: var(--red); }
.field__hint { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check label { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-weight: 500; cursor: pointer; }
.field--check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; padding: 0; accent-color: var(--primary); box-shadow: none; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.form__foot p { margin: 0; flex: 1 1 260px; font-size: .9375rem; color: var(--muted); }
.notice { max-width: 760px; margin: 0 auto 32px; padding: 20px 24px; border-radius: var(--r); background: var(--mint); color: #064F3B; }
.notice--error { background: var(--pink); color: #7A1010; }
.notice--warn { background: var(--cream); color: #5C3B00; }
.notice > *:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

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

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.contact__info { display: grid; gap: 12px; }
.contact__form { padding: 36px 36px 40px; border-radius: var(--r-l); background: #fff; box-shadow: 0 0 0 1px var(--line-soft), 0 16px 48px rgba(47, 36, 105, .10); scroll-margin-top: 24px; }
.contact__title { margin-bottom: 24px; font-size: 1.5rem; }
.contact__form .notice { margin-bottom: 24px; }
.contact .info { padding: 22px 24px; }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact__form { padding: 28px 20px 32px; }
}
.info { padding: 28px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-card); }
.info h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.info p { margin: 8px 0 0; font-weight: 500; }
.info a { word-break: break-word; }

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

.site-footer { background: var(--bg-soft); }
.site-footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px 40px; padding: 88px 0 80px; }
.site-footer__logo img { height: 36px; width: auto; }
.site-footer__biz { margin-top: 20px; font-size: .9375rem; line-height: 1.6; color: var(--muted); font-style: normal; }
.site-footer__biz strong { color: var(--ink); font-weight: 600; }
.site-footer__biz a { color: var(--muted); text-decoration-color: transparent; }
.site-footer__biz a:hover { color: var(--primary); text-decoration-color: currentColor; }
.site-footer__biz p { margin: 0 0 10px; }
.site-footer h2 { margin-bottom: 20px; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 14px; }
.site-footer ul a { color: var(--ink); text-decoration: none; font-size: 1.0625rem; }
.site-footer ul a:hover { color: var(--primary); }
.site-footer__legal { padding: 44px 0 56px; background: #fff; text-align: center; font-size: .875rem; color: var(--ink); }
.site-footer__legal p { margin: 0 0 8px; }
.site-footer__legal a { color: var(--ink); text-decoration-color: var(--line); text-decoration-thickness: 1px; }
@media (max-width: 900px) { .site-footer__main { grid-template-columns: 1fr 1fr; padding: 64px 0 56px; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__main { grid-template-columns: 1fr; } }

/* Botão flutuante ---------------------------------------------------------------------------------------------- */

.float {
  position: fixed; right: 24px; bottom: 24px; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff; box-shadow: var(--shadow-float);
  transition: background-color .2s;
}
.float:hover { background: var(--primary-hover); color: #fff; }

/* Responsivo geral ------------------------------------------------------------------------------------------------ */

@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .subhero { padding: 24px 0 64px; }
  .cta { padding: 72px 0 88px; }
  .btn { padding: 16px 36px 19px; }
  .data th, .data td, .matrix th, .matrix td { padding: 16px 8px; }
}

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

@media print {
  .site-header__actions, .nav-toggle, .site-nav, .float, .cta .btn { display: none !important; }
  .faq details > .faq__a { display: block; }
}
