/* ==========================================================================
   "How it works": visão geral (/how-it-works), clientes (/how-it-works/capture)
   e advogados (/how-it-works/attorneys).
   --------------------------------------------------------------------------
   Porta de app/(pages)/(howItWorks)/how-it-works (kit.tsx, tokens.ts e as três
   páginas). As medidas vêm de lá. Estas páginas têm os próprios pontos de
   quebra (useHiw): 980 (texto e réplica lado a lado), 640 (grades de 2+
   colunas) e 480 (padding lateral menor), e não o 768 do resto do site.

   As réplicas de tela do produto (dashboard, celular) são imagens gravadas do
   site antigo por scripts/record-replicas.mjs: classes `cl-hiw-mock`,
   `cl-hiw-dash`, `cl-hiw-phone`, `cl-hiw-hero__img`.
   ========================================================================== */

.cl-hiw {
	--hiw-navy-raised: #222c52;
	--hiw-navy-line: #3a4570;
	--hiw-accent-on-navy: #ff8a82;
	--hiw-on-navy-muted: #aab3c6;
	--hiw-on-navy-body: #c9d0de;
	--hiw-body: #4a5468;
	--hiw-bg-soft: #f7f8fb;
	--hiw-mock-bg: #eef1f6;
	--hiw-success: #1c6b3e;
	--hiw-shadow-phone: 0 40px 40px rgba(29, 38, 71, 0.35);
}

/* Ícones usados só aqui. A máscara vai inteira (não só mask-image): sem --cl-icon
   definido, o atalho `mask` do site.css fica inválido e repetiria o ícone. */
.cl-ic--table-columns::before { -webkit-mask: url("../../icons/table-columns.svg") center / contain no-repeat; mask: url("../../icons/table-columns.svg") center / contain no-repeat; }
.cl-ic--link::before { -webkit-mask: url("../../icons/link.svg") center / contain no-repeat; mask: url("../../icons/link.svg") center / contain no-repeat; }
.cl-ic--bell::before { -webkit-mask: url("../../icons/bell.svg") center / contain no-repeat; mask: url("../../icons/bell.svg") center / contain no-repeat; }
.cl-ic--file-lines::before { -webkit-mask: url("../../icons/file-lines.svg") center / contain no-repeat; mask: url("../../icons/file-lines.svg") center / contain no-repeat; }
.cl-ic--book::before { -webkit-mask: url("../../icons/book.svg") center / contain no-repeat; mask: url("../../icons/book.svg") center / contain no-repeat; }
.cl-ic--user-check::before { -webkit-mask: url("../../icons/user-check.svg") center / contain no-repeat; mask: url("../../icons/user-check.svg") center / contain no-repeat; }
.cl-ic--qrcode::before { -webkit-mask: url("../../icons/qrcode.svg") center / contain no-repeat; mask: url("../../icons/qrcode.svg") center / contain no-repeat; }
.cl-ic--clock-rotate-left::before { -webkit-mask: url("../../icons/clock-rotate-left.svg") center / contain no-repeat; mask: url("../../icons/clock-rotate-left.svg") center / contain no-repeat; }
.cl-ic--clock-regular::before { -webkit-mask: url("../../icons/clock-regular.svg") center / contain no-repeat; mask: url("../../icons/clock-regular.svg") center / contain no-repeat; }
.cl-ic--eye-regular::before { -webkit-mask: url("../../icons/eye-regular.svg") center / contain no-repeat; mask: url("../../icons/eye-regular.svg") center / contain no-repeat; }
.cl-ic--location-dot::before { -webkit-mask: url("../../icons/location-dot.svg") center / contain no-repeat; mask: url("../../icons/location-dot.svg") center / contain no-repeat; }
.cl-ic--triangle-exclamation::before { -webkit-mask: url("../../icons/triangle-exclamation.svg") center / contain no-repeat; mask: url("../../icons/triangle-exclamation.svg") center / contain no-repeat; }

/* Glifos de 640 de largura: o Font Awesome os desenha 1,25em de largura, não 1em. */
.cl-hiw .cl-ic--user-check::before,
.cl-hiw .cl-ic--car-burst::before,
.cl-hiw .cl-ic--link::before { width: calc(var(--cl-icon-size, 1em) * 1.25); }

/* ---------- Estrutura ---------- */

.cl-hiw-wrap {
	width: 100%;
	max-width: 1148px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}
@media (max-width: 479px) {
	.cl-hiw-wrap { padding-inline: 16px; }
}

.cl-hiw-section {
	padding-block: 104px;
	background: var(--cl-white);
}
.cl-hiw-section--light { background: var(--cl-bg-light); }
.cl-hiw-section--soft { background: var(--hiw-bg-soft); }
.cl-hiw-section--navy { background: var(--cl-navy); }
@media (max-width: 979px) {
	.cl-hiw-section { padding-block: 72px; }
}

.cl-hiw-stack { display: flex; flex-direction: column; }
.cl-hiw-stack--36 { gap: 36px; }
.cl-hiw-stack--44 { gap: 44px; }
.cl-hiw-stack--48 { gap: 48px; }
.cl-hiw-stack--56 { gap: 56px; }

/* Grade "auto-fit" do kit (colunas de no mínimo N px). */
.cl-hiw-grid {
	--hiw-min: 240px;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--hiw-min)), 1fr));
}
.cl-hiw-grid--220 { --hiw-min: 220px; }
.cl-hiw-grid--250 { --hiw-min: 250px; }
.cl-hiw-grid--300 { --hiw-min: 300px; }
.cl-hiw-grid--gap14 { gap: 14px; }
.cl-hiw-grid--gap16 { gap: 16px; }
.cl-hiw-grid--gap18 { gap: 18px; }

/* Só numa faixa de largura (as réplicas têm uma imagem para cada). */
@media (max-width: 639px) {
	.cl-hiw-only-wide { display: none !important; }
}
@media (min-width: 640px) {
	.cl-hiw-only-narrow { display: none !important; }
}

/* ---------- Tipografia ---------- */

.cl-hiw-eyebrow {
	font-size: 13px;
	line-height: normal;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--cl-accent-text);
}
.cl-hiw-eyebrow--dot {
	display: flex;
	align-items: center;
	gap: 10px;
}
.cl-hiw-eyebrow--dot::before {
	content: "";
	width: 8px;
	height: 8px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--cl-accent);
}

.cl-hiw-h2 {
	font-size: 42px;
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.9px;
	color: var(--cl-text);
}
.cl-hiw-h2--36 { font-size: 36px; }
@media (max-width: 979px) {
	.cl-hiw-h2 { font-size: 31px; }
	.cl-hiw-h2--36 { font-size: 27px; }
}

.cl-hiw-body {
	font-size: 16px;
	line-height: 26px;
	color: var(--hiw-body);
}
.cl-hiw-body--19 { font-size: 19px; line-height: 31px; }
.cl-hiw-body--17 { font-size: 17px; line-height: 28px; }
.cl-hiw-body--15 { font-size: 15px; line-height: 25px; }
.cl-hiw-body--14 { font-size: 14px; line-height: 23px; }
.cl-hiw-body strong { font-weight: 700; color: var(--cl-text); }

/* Cabeçalho de seção (SectionHeader). */
.cl-hiw-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 760px;
}
.cl-hiw-head--center { align-items: center; align-self: center; }
.cl-hiw-head--center .cl-hiw-eyebrow { text-align: center; }

/* Superfícies navy: textos claros. */
:is(.cl-hiw-hero, .cl-hiw-pagehero, .cl-hiw-section--navy, .cl-hiw-band) .cl-hiw-eyebrow { color: var(--hiw-accent-on-navy); }
:is(.cl-hiw-hero, .cl-hiw-pagehero, .cl-hiw-section--navy, .cl-hiw-band) .cl-hiw-h2 { color: var(--cl-white); }
:is(.cl-hiw-hero, .cl-hiw-pagehero, .cl-hiw-section--navy, .cl-hiw-band) .cl-hiw-body { color: var(--hiw-on-navy-body); }
.cl-hiw-on-navy-accent { color: var(--hiw-accent-on-navy); }

/* Lista com bolinha vermelha (Bullets). */
.cl-hiw-bullets {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cl-hiw-bullets li {
	position: relative;
	padding-left: 19px;
	font-size: 15px;
	line-height: 24px;
	color: var(--cl-text);
}
.cl-hiw-bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 7px;
	height: 7px;
	border-radius: 4px;
	background: var(--cl-accent);
}
.cl-hiw-bullets strong { font-weight: 700; color: var(--cl-text); }
/* Bolinha numerada que liga a legenda à réplica (Callout), escrita como <kbd>. */
.cl-hiw-bullets kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--cl-accent);
	color: var(--cl-white);
	font-family: inherit;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	vertical-align: middle;
	/* Margem negativa: a bolinha (20px) não estica a linha (24px). */
	margin-block: -6px -4px;
}

/* ---------- Botões (CtaButton) ---------- */

.cl-hiw-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.cl-hiw-btns--12 { gap: 12px; }
.cl-hiw-btn .wp-block-button__link {
	min-height: 52px;
	padding: 0 24px;
	gap: 10px;
	border: 1px solid var(--cl-accent);
	border-radius: 12px;
	font-size: 16px;
	line-height: normal;
	letter-spacing: 0;
}
.cl-hiw-btn--arrow .wp-block-button__link::after {
	content: "";
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("../../icons/arrow-right.svg") center / contain no-repeat;
	mask: url("../../icons/arrow-right.svg") center / contain no-repeat;
}
.cl-hiw-btn--on-navy .wp-block-button__link {
	background: transparent;
	border-color: var(--hiw-navy-line);
	color: var(--cl-white);
}
.cl-hiw-btn--outline .wp-block-button__link {
	background: var(--cl-white);
	border-color: var(--cl-border);
	color: var(--cl-text);
}

/* ---------- Pastilha de ícone (IconTile) ---------- */

.cl-hiw-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12.32px;
	background: var(--cl-navy-wash);
	color: var(--cl-navy);
	--cl-icon-size: 18.5px;
}
.cl-hiw-tile--48 { width: 48px; height: 48px; border-radius: 13.44px; --cl-icon-size: 20px; }
.cl-hiw-tile--52 { width: 52px; height: 52px; border-radius: 14.56px; --cl-icon-size: 22px; }
.cl-hiw-tile--navy { background: var(--cl-navy); color: var(--cl-white); }
.cl-hiw-tile--accent { background: var(--cl-accent); color: var(--cl-white); }
.cl-hiw-tile--wash-accent { background: var(--cl-accent-wash); color: var(--cl-accent-text); }

/* ==========================================================================
   Visão geral
   ========================================================================== */

.cl-hiw-hero {
	background: var(--cl-navy);
	border-bottom: 3px solid var(--cl-accent);
	overflow: hidden;
}
.cl-hiw-hero__layout {
	display: flex;
	align-items: center;
	gap: 56px;
	padding-top: 88px;
	padding-bottom: 96px;
}
.cl-hiw-hero__copy {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.cl-hiw-hero__title {
	font-size: 58px;
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -1.6px;
	color: var(--cl-white);
}
.cl-hiw-hero__lede { max-width: 560px; }
.cl-hiw-hero__btns { margin-top: 8px; }
.cl-hiw-hero__media {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* A imagem tem 24px de folga em volta (sombras) e o celular sai da caixa à
   esquerda: as margens negativas devolvem a caixa de 522x582 do original. */
.cl-hiw-hero__img { width: 100%; max-width: 522px; }
.cl-hiw-hero__img img {
	display: block;
	width: 119.54%;
	max-width: none;
	height: auto;
	margin: -4.6% -8.24% -4.6% -11.3%;
}
.cl-hiw-hero__img--phone { width: 301px; max-width: 100%; }
.cl-hiw-hero__img--phone img { width: 100%; margin: -14px 0 -22px; }

@media (max-width: 979px) {
	.cl-hiw-hero__layout { flex-direction: column; align-items: stretch; padding-top: 56px; padding-bottom: 64px; }
	.cl-hiw-hero__copy, .cl-hiw-hero__media { flex: none; }
	.cl-hiw-hero__title { font-size: 46px; }
}
@media (max-width: 639px) {
	.cl-hiw-hero__title { font-size: 36px; }
}

/* Os dois caminhos (PathCard). O cartão inteiro é o link. */
.cl-hiw-paths { display: flex; gap: 24px; }
.cl-hiw-path {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 34px;
	background: var(--cl-white);
	border: 1px solid var(--cl-border);
	border-radius: 22px;
	transition: transform 0.15s var(--cl-ease);
}
.cl-hiw-path:active { transform: scale(0.99); }
.cl-hiw-path--dark { background: var(--cl-navy); border: 0; }
.cl-hiw-path__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.cl-hiw-path__audience {
	flex-shrink: 1;
	text-align: right;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	color: var(--cl-text-gray);
}
.cl-hiw-path__head { display: flex; flex-direction: column; gap: 10px; }
.cl-hiw-path__title {
	font-size: 28px;
	line-height: 34px;
	font-weight: 800;
	letter-spacing: -0.4px;
	color: var(--cl-text);
}
.cl-hiw-path__cta { margin-top: auto; }
.cl-hiw-path__cta a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--cl-accent-text);
	text-decoration: none;
}
.cl-hiw-path__cta a::after {
	content: "";
	width: 13px;
	height: 13px;
	background-color: currentColor;
	-webkit-mask: url("../../icons/arrow-right.svg") center / contain no-repeat;
	mask: url("../../icons/arrow-right.svg") center / contain no-repeat;
}
.cl-hiw-path__cta a::before { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.cl-hiw-path__cta a:focus-visible { outline: none; }
.cl-hiw-path:has(a:focus-visible) { outline: 2px solid var(--cl-navy); outline-offset: 2px; }
.cl-hiw-path--dark .cl-hiw-path__audience { color: var(--hiw-on-navy-muted); }
.cl-hiw-path--dark .cl-hiw-path__title,
.cl-hiw-path--dark .cl-hiw-path__cta a { color: var(--cl-white); }
.cl-hiw-path--dark .cl-hiw-body { color: var(--hiw-on-navy-body); }
@media (max-width: 979px) {
	.cl-hiw-paths { flex-direction: column; }
}

/* Lista com "check". */
.cl-hiw-checks {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cl-hiw-checks li {
	display: flex;
	gap: 10px;
	font-size: 15px;
	line-height: 22px;
	font-weight: 500;
	color: var(--cl-text);
}
.cl-hiw-checks li::before {
	content: "";
	flex-shrink: 0;
	width: 13px;
	height: 15px;
	margin-top: 3px;
	background-color: var(--cl-accent-text);
	-webkit-mask: url("../../icons/check.svg") center / contain no-repeat;
	mask: url("../../icons/check.svg") center / contain no-repeat;
}
.cl-hiw-path--dark .cl-hiw-checks li { color: var(--cl-white); }
.cl-hiw-path--dark .cl-hiw-checks li::before { background-color: var(--hiw-accent-on-navy); }

/* A jornada em quatro passos. */
.cl-hiw-move {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px;
	background: var(--cl-white);
	border: 1px solid var(--cl-border);
	border-radius: 20px;
}
.cl-hiw-move__top { display: flex; align-items: center; justify-content: space-between; }
.cl-hiw-move__num {
	font-size: 44px;
	line-height: normal;
	font-weight: 800;
	letter-spacing: -1px;
	color: var(--cl-border);
}
.cl-hiw-move__who {
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 12px;
	line-height: normal;
	font-weight: 700;
}
.cl-hiw-move__who--you { background: var(--cl-navy-wash); color: var(--cl-navy); }
.cl-hiw-move__who--client { background: var(--cl-accent-wash); color: var(--cl-accent-text); }
.cl-hiw-move__who--auto { background: var(--cl-bg-light); color: var(--cl-text-gray); }
.cl-hiw-move__text { display: flex; flex-direction: column; gap: 8px; }
.cl-hiw-move__title {
	font-size: 20px;
	line-height: 26px;
	font-weight: 800;
	letter-spacing: -0.4px;
	color: var(--cl-text);
}

/* Os três produtos. */
.cl-hiw-product {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 32px;
	background: var(--cl-white);
	border: 1px solid var(--cl-border);
	border-radius: 20px;
}
.cl-hiw-product__head { display: flex; flex-direction: column; gap: 6px; }
.cl-hiw-product__name {
	font-size: 22px;
	line-height: 28px;
	font-weight: 800;
	letter-spacing: -0.4px;
	color: var(--cl-text);
}
.cl-hiw-product__tagline { font-size: 14px; line-height: normal; font-weight: 600; color: var(--cl-accent-text); }
.cl-hiw-chips {
	list-style: none;
	padding: 0;
	margin-top: auto !important;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.cl-hiw-chips li {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--cl-bg-light);
	font-size: 13px;
	line-height: normal;
	font-weight: 600;
	color: var(--cl-text);
}

/* Integridade (seção navy). */
.cl-hiw-integrity { display: flex; gap: 56px; }
.cl-hiw-integrity__intro { flex: 0.8 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cl-hiw-integrity__grid { flex: 1.2 1 0; min-width: 0; }
.cl-hiw-proof {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	background: var(--hiw-navy-raised);
	border: 1px solid var(--hiw-navy-line);
	border-radius: 18px;
	color: var(--hiw-accent-on-navy);
	--cl-icon-size: 22px;
}
.cl-hiw-proof__title { font-size: 17px; line-height: normal; font-weight: 700; color: var(--cl-white); }
@media (max-width: 979px) {
	.cl-hiw-integrity { flex-direction: column; }
	.cl-hiw-integrity__intro, .cl-hiw-integrity__grid { flex: none; }
}

/* Perguntas (core/details). */
.cl-hiw-faq { max-width: 860px; display: flex; flex-direction: column; gap: 36px; }
.cl-hiw-faq__list { border-top: 1px solid var(--cl-border); }
.cl-hiw-faq__item { border-bottom: 1px solid var(--cl-border); }
.cl-hiw-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
	min-height: 44px;
	padding: 22px 4px;
	list-style: none;
	cursor: pointer;
	font-size: 18px;
	line-height: normal;
	font-weight: 700;
	color: var(--cl-text);
	transition: transform 0.15s var(--cl-ease);
}
.cl-hiw-faq__item summary::-webkit-details-marker { display: none; }
.cl-hiw-faq__item summary::after {
	content: "";
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--cl-bg-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23db2419' d='M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
	transition: transform 0.2s var(--cl-ease);
}
.cl-hiw-faq__item[open] summary::after { transform: rotate(45deg); }
.cl-hiw-faq__item summary:focus-visible { outline: 2px solid var(--cl-navy); outline-offset: 2px; }
.cl-hiw-faq__item summary:active { transform: scale(0.97); }
.cl-hiw-faq__item > .cl-hiw-body { max-width: 720px; padding: 0 4px 22px; }

/* Fecho. */
.cl-hiw-closing { padding-block: 88px; }
.cl-hiw-closing__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 56px 48px;
	background: var(--cl-white);
	border: 1px solid var(--cl-border);
	border-radius: 28px;
}
.cl-hiw-closing__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 979px) {
	.cl-hiw-closing { padding-block: 56px; }
	.cl-hiw-closing__card { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
	.cl-hiw-closing__text { flex: none; }
}

/* ==========================================================================
   Animações: as entradas destas páginas andam 16px, não 24.
   ========================================================================== */

html.cl-js .cl-hiw .cl-reveal:not(.is-visible) { transform: translateY(16px); }

/* ==========================================================================
   Topo das páginas de detalhe (PageHero) e faixa final (CtaBand)
   ========================================================================== */

.cl-hiw-pagehero {
	padding-block: 80px;
	background: var(--cl-navy);
	border-bottom: 3px solid var(--cl-accent);
}
.cl-hiw-pagehero__inner { display: flex; flex-direction: column; gap: 40px; }
.cl-hiw-pagehero__row { display: flex; align-items: flex-end; gap: 40px; }
.cl-hiw-pagehero__text {
	flex: 1 1 0;
	min-width: 0;
	max-width: 820px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.cl-hiw-pagehero__lede { max-width: 680px; }
.cl-hiw-crumbs {
	font-size: 14px;
	line-height: normal;
	font-weight: 600;
	color: var(--hiw-on-navy-muted);
}
.cl-hiw-crumbs a { color: inherit; text-decoration: none; }
.cl-hiw-crumbs a:hover { color: var(--cl-white); }
.cl-hiw-crumbs a::after { content: "/"; margin: 0 8px; color: var(--hiw-on-navy-muted); }
.cl-hiw-h1 {
	font-size: 56px;
	line-height: 1.06;
	font-weight: 800;
	letter-spacing: -1.4px;
	color: var(--cl-white);
}
@media (max-width: 979px) {
	.cl-hiw-pagehero { padding-block: 56px; }
	.cl-hiw-pagehero__row { flex-direction: column; align-items: stretch; }
	.cl-hiw-pagehero__text { flex: none; }
	.cl-hiw-h1 { font-size: 44px; }
}
@media (max-width: 639px) {
	.cl-hiw-h1 { font-size: 34px; }
}

.cl-hiw-band { padding-block: 80px; background: var(--cl-navy); }
.cl-hiw-band__layout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}
.cl-hiw-band__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cl-hiw-band .cl-hiw-body a { font-weight: 700; color: var(--cl-white); text-decoration: underline; }
@media (max-width: 979px) {
	.cl-hiw-band__layout { flex-direction: column; align-items: flex-start; }
	.cl-hiw-band__text { flex: none; }
}

/* ==========================================================================
   Clientes (/how-it-works/capture)
   ========================================================================== */

/* "Send this to your client" e o botão de copiar o link desta página. */
.cl-hiw-share {
	box-sizing: border-box;
	width: 340px;
	max-width: 340px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	background: var(--hiw-navy-raised);
	border: 1px solid var(--hiw-navy-line);
	border-radius: 18px;
}
.cl-hiw-share .cl-hiw-eyebrow { letter-spacing: 1.2px; }
.cl-hiw-share__text { font-size: 15px; line-height: 23px; color: var(--hiw-on-navy-body); }
.cl-hiw-share__actions { display: flex; }
.cl-hiw-share__copy .wp-block-button__link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 16px;
	border-radius: 10px;
	background: var(--cl-white);
	color: var(--cl-text);
	font-size: 14px;
	line-height: normal;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s var(--cl-ease);
}
.cl-hiw-share__copy .wp-block-button__link:active { transform: scale(0.97); }
.cl-hiw-share__copy .wp-block-button__link::before {
	content: "";
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: url("../../icons/link.svg") center / contain no-repeat;
	mask: url("../../icons/link.svg") center / contain no-repeat;
}
.cl-hiw-share__copy.is-copied .wp-block-button__link::before {
	-webkit-mask-image: url("../../icons/check.svg");
	mask-image: url("../../icons/check.svg");
}
@media (max-width: 979px) {
	.cl-hiw-share { width: 100%; }
}

/* Passo a passo: cabeçalho + seletor de fluxo, lista + celular. */
.cl-hiw-walk { padding-top: 80px; }
@media (max-width: 979px) {
	.cl-hiw-walk { padding-top: 64px; }
}
.cl-hiw-walk__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}
.cl-hiw-walk__heads { flex-shrink: 1; min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 36px; }
.cl-hiw-walk__body { display: flex; align-items: flex-start; gap: 48px; }
.cl-hiw-walk__lists { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.cl-hiw-walk__phone { display: none; }
@media (max-width: 979px) {
	.cl-hiw-walk__top { flex-direction: column; align-items: flex-start; }
	.cl-hiw-walk__body { flex-direction: column-reverse; align-items: stretch; gap: 40px; }
	.cl-hiw-walk__lists { flex: none; }
}

/* Com JS: só o fluxo escolhido aparece (o outro fica [hidden]). */
html.cl-js .cl-hiw-walk [hidden] { display: none !important; }

.cl-hiw-toggle {
	display: flex;
	gap: 4px;
	padding: 5px;
	background: var(--cl-white);
	border: 1px solid var(--cl-border);
	border-radius: 14px;
}
.cl-hiw-toggle__opt .wp-block-button__link {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 12px 18px;
	border-radius: 10px;
	background: transparent;
	color: var(--cl-text-gray);
	font-size: 15px;
	line-height: normal;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}
.cl-hiw-toggle__opt .wp-block-button__link[aria-selected="true"] { background: var(--cl-navy); color: var(--cl-white); }
.cl-hiw-toggle__opt .wp-block-button__link:focus-visible { outline: 2px solid var(--cl-navy); outline-offset: 2px; }
html:not(.cl-js) .cl-hiw-toggle { display: none; }

/* Um passo da lista (StepItem). O número vem de um contador. */
.cl-hiw-steps { display: flex; flex-direction: column; gap: 8px; counter-reset: hiw-step; }
.cl-hiw-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px 16px 70px;
	border: 1px solid var(--cl-border);
	border-radius: 16px;
	background: transparent;
	counter-increment: hiw-step;
	transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
/* O número (36px) fica à esquerda, 16px antes do texto. */
.cl-hiw-step::before {
	content: counter(hiw-step);
	position: absolute;
	left: 18px;
	top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--cl-navy-wash);
	font-size: 14px;
	font-weight: 800;
	color: var(--cl-text);
	transition: background-color 0.2s, color 0.2s;
}
.cl-hiw-step__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cl-hiw-step__title { font-size: 16px; line-height: normal; font-weight: 800; color: var(--cl-text); }
.cl-hiw-step__tag {
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--cl-navy-wash);
	font-size: 11px;
	line-height: normal;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: var(--cl-text);
}
.cl-hiw-step__body { font-size: 14px; line-height: 22px; color: var(--hiw-body); }
.cl-hiw-step__more {
	list-style: none;
	padding: 0;
	margin-top: 4px !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.cl-hiw-step__more li {
	display: flex;
	gap: 8px;
	font-size: 13px;
	line-height: 20px;
	color: var(--cl-text);
}
.cl-hiw-step__more li::before { content: "›"; font-weight: 800; color: var(--cl-accent-text); }
.cl-hiw-step__report {
	margin-top: 4px !important;
	padding: 9px 11px;
	border-radius: 10px;
	background: var(--cl-bg-light);
	font-size: 12px;
	line-height: 18px;
	color: var(--hiw-body);
}
.cl-hiw-step__body + .cl-hiw-step__report { margin-top: 8px !important; }
.cl-hiw-step__report strong { font-weight: 700; color: var(--cl-text); }
.cl-hiw-step__screen { margin-top: 12px !important; }
.cl-hiw-step__screen img { display: block; width: 310px; max-width: 100%; height: auto; border-radius: 46px; }

/* Com JS: a lista vira um seletor; o passo ativo se abre e a tela vai para o celular. */
html.cl-js .cl-hiw-step { cursor: pointer; }
html.cl-js .cl-hiw-step:not(.is-active) :is(.cl-hiw-step__more, .cl-hiw-step__report) { display: none; }
html.cl-js .cl-hiw-step__screen { display: none; }
.cl-hiw-step.is-active {
	background: var(--cl-white);
	border-color: var(--cl-navy);
	box-shadow: 0 12px 15px rgba(29, 38, 71, 0.12);
}
.cl-hiw-step.is-active::before { background: var(--cl-accent); color: var(--cl-white); }
.cl-hiw-step:focus-visible { outline: 2px solid var(--cl-navy); outline-offset: 2px; }

/* A coluna do celular (montada pelo hiw.js). */
html.cl-js .cl-hiw-walk__phone {
	position: sticky;
	top: calc(var(--cl-header-h) + var(--cl-admin-bar) + 8px);
	width: 330px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.cl-hiw-phone__label {
	font-size: 12px;
	line-height: normal;
	font-weight: 700;
	letter-spacing: 1.2px;
	color: var(--cl-text-gray);
}
.cl-hiw-phone__screen {
	display: block;
	width: 310px;
	max-width: 100%;
	aspect-ratio: 310 / 662;
	height: auto;
	border-radius: 46px;
	background: #0b0d12;
	box-shadow: var(--hiw-shadow-phone);
}
.cl-hiw-phone__nav { display: flex; align-items: center; gap: 10px; }
.cl-hiw-phone__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--cl-border);
	border-radius: 50%;
	background: var(--cl-white);
	color: var(--cl-text);
	cursor: pointer;
	--cl-icon-size: 16px;
	transition: opacity 0.2s, transform 0.15s var(--cl-ease);
}
.cl-hiw-phone__btn:active { transform: scale(0.95); }
.cl-hiw-phone__btn--next { border-color: var(--cl-navy); background: var(--cl-navy); color: var(--cl-white); }
.cl-hiw-phone__btn--prev::before { -webkit-mask: url("../../icons/arrow-left.svg") center / contain no-repeat; mask: url("../../icons/arrow-left.svg") center / contain no-repeat; }
.cl-hiw-phone__btn--next::before { -webkit-mask: url("../../icons/arrow-right.svg") center / contain no-repeat; mask: url("../../icons/arrow-right.svg") center / contain no-repeat; }
.cl-hiw-phone__btn:disabled { opacity: 0.45; cursor: default; }
.cl-hiw-phone__btn:focus-visible { outline: 2px solid var(--cl-navy); outline-offset: 2px; }
.cl-hiw-phone__title {
	min-width: 140px;
	max-width: 180px;
	text-align: center;
	font-size: 14px;
	line-height: normal;
	font-weight: 700;
	color: var(--cl-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (max-width: 979px) {
	html.cl-js .cl-hiw-walk__phone { position: static; width: 100%; }
}

/* Garantias. */
.cl-hiw-head--720 { max-width: 720px; }
.cl-hiw-guard {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
	border: 1px solid var(--cl-border);
	border-radius: 18px;
	color: var(--cl-accent-text);
	--cl-icon-size: 24px;
}
.cl-hiw-guard__title { font-size: 18px; line-height: normal; font-weight: 800; color: var(--cl-text); }

/* Express x Expert (core/table). */
.cl-hiw-modes { padding-block: 96px; }
@media (max-width: 979px) { .cl-hiw-modes { padding-block: 72px; } }
.cl-hiw-modes__layout { display: flex; align-items: center; gap: 48px; }
.cl-hiw-modes__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cl-hiw-modes__table {
	flex: 1.45 1 0;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: var(--cl-white);
	border: 1px solid var(--cl-border);
	border-radius: 20px;
}
.cl-hiw-modes__table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cl-hiw-modes__table th,
.cl-hiw-modes__table td {
	box-sizing: border-box;
	padding: 14px 12px;
	border: 0;
	text-align: center;
	font-size: 14px;
	line-height: normal;
	font-weight: 800;
	color: var(--hiw-success);
}
.cl-hiw-modes__table th:first-child,
.cl-hiw-modes__table td:first-child { width: 50%; padding-inline: 20px; text-align: left; font-weight: 600; color: var(--cl-text); }
.cl-hiw-modes__table thead th,
.cl-hiw-modes__table thead th:first-child { padding-block: 16px; background: var(--cl-navy); color: var(--cl-white); font-weight: 800; }
.cl-hiw-modes__table tbody tr { border-top: 1px solid #eef0f5; }
/* O travessão ("não incluído") é cinza; o JS marca a célula. */
.cl-hiw-modes__table td.is-off { color: var(--cl-text-gray); }
@media (max-width: 979px) {
	.cl-hiw-modes__layout { flex-direction: column; align-items: stretch; }
	.cl-hiw-modes__text, .cl-hiw-modes__table { flex: none; }
}

/* ==========================================================================
   Advogados (/how-it-works/attorneys)
   ========================================================================== */

/* O dashboard inteiro. No celular rola de lado, como no original. */
.cl-hiw-dash {
	border-radius: 20px;
	background: var(--cl-white);
	box-shadow: 0 40px 80px rgba(15, 23, 42, 0.4);
	overflow: hidden;
}
.cl-hiw-dash__img img { display: block; width: 100%; height: auto; }
@media (max-width: 639px) {
	.cl-hiw-dash { overflow-x: auto; overscroll-behavior-x: contain; }
	.cl-hiw-dash__img img { width: 1080px; max-width: none; }
}

/* Atalhos para as três fases. O cartão inteiro é o link. */
.cl-hiw-phasecard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px;
	background: var(--hiw-navy-raised);
	border: 1px solid var(--hiw-navy-line);
	border-radius: 16px;
	transition: transform 0.15s var(--cl-ease);
}
.cl-hiw-phasecard:active { transform: scale(0.98); }
.cl-hiw-phasecard__kicker { font-size: 13px; line-height: normal; font-weight: 700; letter-spacing: 1.2px; color: var(--hiw-accent-on-navy); }
.cl-hiw-phasecard__title { font-size: 20px; line-height: normal; font-weight: 800; color: var(--cl-white); }
.cl-hiw-phasecard__title a { color: inherit; text-decoration: none; }
.cl-hiw-phasecard__title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.cl-hiw-phasecard__title a:focus-visible { outline: none; }
.cl-hiw-phasecard:has(a:focus-visible) { outline: 2px solid var(--cl-white); outline-offset: 2px; }
.cl-hiw-phasecard__sub { font-size: 14px; line-height: 21px; color: var(--hiw-on-navy-body); }

/* Fase: cabeçalho + passos. */
.cl-hiw-phase { padding-top: 96px; padding-bottom: 32px; }
.cl-hiw-phase__head { padding-bottom: 32px; }
@media (max-width: 979px) {
	.cl-hiw-phase { padding-top: 64px; padding-bottom: 32px; }
}

/* Um passo (StepBlock): texto à esquerda, réplica à direita. */
.cl-hiw-stepblock {
	display: flex;
	align-items: flex-start;
	gap: 56px;
	padding-block: 64px;
	border-top: 1px solid var(--cl-border);
}
.cl-hiw-stepblock__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cl-hiw-stepblock .cl-hiw-mock { flex: 1.428 1 0; min-width: 0; }
.cl-hiw-stepblock__kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	line-height: normal;
	font-weight: 700;
	letter-spacing: 1.2px;
	color: var(--cl-text-gray);
}
.cl-hiw-stepblock__kicker kbd {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--cl-navy);
	color: var(--cl-white);
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0;
}
.cl-hiw-stepblock__title {
	font-size: 26px;
	line-height: 32px;
	font-weight: 800;
	letter-spacing: -0.4px;
	color: var(--cl-text);
}
.cl-hiw-mock__img img { display: block; width: 100%; height: auto; border-radius: 24px; }

/* A seção da marca usa o mesmo lado a lado, sem a linha de cima. */
.cl-hiw-stepblock--brand { padding-block: 0; border-top: 0; }
@media (max-width: 979px) {
	.cl-hiw-stepblock { flex-direction: column; align-items: stretch; gap: 28px; padding-block: 44px; }
	.cl-hiw-stepblock__text, .cl-hiw-stepblock .cl-hiw-mock { flex: none; }
	.cl-hiw-stepblock--brand { gap: 32px; padding-block: 0; }
}
