/* Portal v2 — Eletricista BH 24h
   Mobile-first. Sem framework. Cores e tipografia definidas nos tokens abaixo. */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson-latin.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson-italic-latin.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

:root {
	--navy-950: #061a31;
	--navy-900: #0a2540;
	--navy-800: #123a63;
	--navy-700: #1b4f84;
	--ink: #0d1b2e;
	--ink-2: #34465c;
	--muted: #53647a;
	--paper: #ffffff;
	--mist: #f3f6fa;
	--line: #d9e1ec;
	--line-2: #c3cfdf;
	--amber: #ffb400;
	--amber-hi: #ffc533;
	--wa: #0b7d3b;
	--wa-hi: #096a32;
	--blue: #0b66b8;
	--danger: #b4281c;
	--on-navy: #eaf0f8;
	--on-navy-2: #b9c8dc;

	--f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

	--r: 12px;
	--r-lg: 18px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--gutter: 20px;
	--header-h: 68px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
	accent-color: var(--blue);
	scrollbar-color: var(--navy-700) var(--mist);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	caret-color: var(--blue);
}

::selection {
	background: var(--amber);
	color: var(--navy-950);
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--blue);
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--f-display);
	font-stretch: 108%;
	font-weight: 750;
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-wrap: balance;
	color: var(--navy-900);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
	border-radius: 4px;
}

.sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--navy-950);
	color: #fff;
	border-radius: var(--r);
	transition: top 0.2s var(--ease);
}
.skip:focus {
	top: 12px;
}

.wrap {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.i {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* ---------- Botões ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 48px;
	padding: 0 20px;
	border: 2px solid transparent;
	border-radius: var(--r);
	font-family: var(--f-display);
	font-stretch: 105%;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.1;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s, border-color 0.18s, color 0.18s;
}
.btn:hover {
	transform: translateY(-1px);
}
.btn:active {
	transform: translateY(1px) scale(0.99);
}
.btn .i-whatsapp {
	width: 1.4em;
	height: 1.4em;
}
.btn--sm {
	min-height: 44px;
	padding: 0 16px;
	font-size: 0.95rem;
}
.btn--xl {
	min-height: 60px;
	padding: 0 26px;
	font-size: 1.1rem;
}
.btn--block {
	width: 100%;
}
.btn--primary {
	background: var(--amber);
	color: var(--navy-950);
	box-shadow: 0 10px 20px -10px rgba(255, 180, 0, 0.75), 0 2px 0 rgba(6, 26, 49, 0.18);
}
.btn--primary:hover {
	background: var(--amber-hi);
}
.btn--wa {
	background: var(--wa);
	color: #fff;
	box-shadow: 0 10px 20px -12px rgba(11, 125, 59, 0.8);
}
.btn--wa:hover {
	background: var(--wa-hi);
}
.btn--line {
	background: transparent;
	color: var(--navy-900);
	border-color: var(--navy-900);
}
.btn--line:hover {
	background: var(--navy-900);
	color: #fff;
}
.btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}
.btn--light {
	background: #fff;
	color: var(--navy-900);
}
.btn--light:hover {
	background: var(--mist);
}

.btn:focus-visible {
	outline-color: var(--amber);
}

/* ---------- Cabeçalho ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.site-header__row {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--header-h);
}
.brand {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--navy-900);
	text-decoration: none;
	margin-right: auto;
}
.brand__mark {
	width: 44px;
	height: auto;
}
.brand__text {
	display: grid;
	line-height: 1;
}
.brand__name {
	white-space: nowrap;
	font-family: var(--f-display);
	font-stretch: 112%;
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}
.brand__sub {
	white-space: nowrap;
	margin-top: 3px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.brand--light {
	color: #fff;
}
.brand--light .brand__sub {
	color: var(--on-navy-2);
}

.primary-nav {
	display: none;
}
.nav {
	list-style: none;
	display: flex;
	flex-direction: column;
}
.nav a {
	white-space: nowrap;
	display: block;
	padding: 14px 6px;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}
.nav a:hover {
	color: var(--blue);
}
.primary-nav.is-open {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 4px var(--gutter) 20px;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 24px 30px -24px rgba(6, 26, 49, 0.35);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.header-phone {
	display: none;
}
.nav-toggle {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: var(--mist);
	color: var(--navy-900);
	border: 0;
	border-radius: var(--r);
	cursor: pointer;
}
.nav-toggle__close {
	display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

/* ---------- Hero ---------- */
.hero {
	background: var(--navy-900);
	color: var(--on-navy);
	padding-block: clamp(2rem, 6vw, 5rem);
	overflow: hidden;
}
.hero__grid {
	display: grid;
	gap: 2rem;
	align-items: center;
}
.hero__title {
	color: #fff;
	font-weight: 800;
	font-stretch: 112%;
	font-size: clamp(2.15rem, 1.1rem + 4.6vw, 4rem);
	line-height: 1.04;
	letter-spacing: -0.025em;
}
.hero__lead {
	max-width: 36em;
	margin: 1.1rem 0 0;
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
	color: var(--on-navy-2);
}
.doors {
	display: grid;
	gap: 12px;
	margin-top: 1.75rem;
}
.finder {
	margin-top: 2rem;
	max-width: 34rem;
}
.finder__label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	color: #fff;
}
.finder__row {
	display: grid;
	gap: 10px;
}
.finder__select {
	width: 100%;
	min-height: 54px;
	padding: 0 14px;
	border: 2px solid transparent;
	border-radius: var(--r);
	background: #fff;
	color: var(--ink);
	font: inherit;
}
.finder__help {
	margin: 10px 0 0;
	font-size: 0.9rem;
	color: var(--on-navy-2);
}
.hero__media {
	order: 0;
}
.hero__photo {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: 62% 40%;
	border-radius: var(--r-lg);
	box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
	animation: reveal 0.9s var(--ease) both;
}
@keyframes reveal {
	from {
		clip-path: inset(0 0 100% 0 round 18px);
	}
	to {
		clip-path: inset(0 0 0 0 round 18px);
	}
}

/* ---------- Seções ---------- */
.section {
	padding-block: clamp(2.75rem, 6vw, 5rem);
}
.section--tint {
	background: var(--mist);
}
.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.section__title {
	font-size: clamp(1.6rem, 1.1rem + 2vw, 2.35rem);
}
.section__lead {
	margin: 0.6rem 0 0;
	color: var(--ink-2);
	max-width: 28em;
}
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-weight: 700;
	text-decoration: none;
}
.link-arrow .i {
	transition: transform 0.2s var(--ease);
}
.link-arrow:hover .i {
	transform: translateX(4px);
}

.split {
	display: grid;
	gap: 1.5rem;
}

/* ---------- Cartões de profissional ---------- */
.pros {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
}
.pro {
	display: grid;
	align-content: start;
	gap: 18px;
	padding: 22px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 14px 30px -24px rgba(6, 26, 49, 0.55);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.pro:hover {
	transform: translateY(-3px);
	border-color: var(--line-2);
	box-shadow: 0 24px 40px -22px rgba(6, 26, 49, 0.5);
}
.pro__head {
	display: flex;
	align-items: center;
	gap: 18px;
	color: inherit;
	text-decoration: none;
}
.pro__photo {
	width: 104px;
	height: 104px;
	flex: none;
	border-radius: 20px;
	object-fit: cover;
	background: var(--mist);
}
.pro__photo--initials,
.profile__photo--initials {
	display: grid;
	place-items: center;
	background: var(--navy-800);
	color: #fff;
	font-family: var(--f-display);
	font-weight: 800;
	font-size: 1.9rem;
}
.pro__id {
	display: grid;
	gap: 8px;
	justify-items: start;
	min-width: 0;
}
.pro__name {
	font-size: 1.35rem;
	font-stretch: 106%;
	line-height: 1.1;
}
.pro__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 8px;
	background: #e6f0fb;
	color: #0a4a86;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
}
.pro__badge .i {
	width: 1.1em;
	height: 1.1em;
}
.pro__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.93rem;
	color: var(--muted);
}
.pro__meta .i {
	width: 1em;
	height: 1em;
}
.pro__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.pro__actions .btn {
	min-height: 54px;
	padding: 0 12px;
	gap: 8px;
	font-size: 1rem;
}
.pro__num {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------- Lista de serviços ---------- */
.rows {
	list-style: none;
	border-top: 1px solid var(--line-2);
}
.rows li {
	border-bottom: 1px solid var(--line-2);
}
.row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 14px;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.25s;
}
.row:hover {
	background: var(--paper);
}
.row__main {
	display: grid;
	gap: 4px;
	transition: transform 0.25s var(--ease);
}
.row:hover .row__main {
	transform: translateX(6px);
}
.row__title {
	font-family: var(--f-display);
	font-stretch: 105%;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--navy-900);
}
.row__text {
	color: var(--ink-2);
}
.row__arrow {
	width: 1.6rem;
	height: 1.6rem;
	color: var(--blue);
	transition: transform 0.25s var(--ease);
}
.row:hover .row__arrow {
	transform: translateX(6px);
}

/* ---------- Sinais de urgência ---------- */
.signs {
	list-style: none;
	display: grid;
	gap: 0;
}
.signs li {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}
.signs .i {
	margin-top: 2px;
	color: var(--danger);
}
.signs__note {
	margin: 1rem 0 0;
	padding: 16px;
	background: var(--mist);
	border-radius: var(--r);
	color: var(--ink-2);
}

/* ---------- Bairros ---------- */
.places__search {
	position: relative;
	display: block;
	max-width: 26rem;
	margin-bottom: 1.25rem;
}
.places__search .i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
	pointer-events: none;
}
.places__search input {
	width: 100%;
	min-height: 52px;
	padding: 0 14px 0 44px;
	border: 2px solid var(--line-2);
	border-radius: var(--r);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
}
.places__search input:focus {
	border-color: var(--blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(11, 102, 184, 0.25);
}
.places__list {
	list-style: none;
	column-width: 12.5rem;
	column-gap: 28px;
}
.places__list li {
	break-inside: avoid;
}
.places__list a {
	display: block;
	padding: 9px 0;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}
.places__list a:hover {
	color: var(--blue);
	border-bottom-color: var(--blue);
}
.places__list.is-collapsed {
	max-height: 19rem;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 62%, transparent);
	mask-image: linear-gradient(#000 62%, transparent);
}
.places__more {
	margin-top: 1.25rem;
}
.places__empty {
	padding: 16px;
	background: var(--paper);
	border-radius: var(--r);
}
.places__sub {
	margin: 2.5rem 0 1rem;
	font-size: 1.25rem;
}
.chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.chips a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	background: var(--paper);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.chips a:hover {
	color: var(--blue);
	border-color: var(--blue);
	transform: translateY(-1px);
}

/* ---------- Orçamento ---------- */
.quote {
	background: var(--navy-900);
	color: var(--on-navy);
	padding-block: clamp(2.75rem, 6vw, 5rem);
}
.quote__grid {
	display: grid;
	gap: 2rem;
}
.quote__title {
	color: #fff;
	font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.75rem);
}
.quote__lead {
	margin: 0.8rem 0 1.5rem;
	color: var(--on-navy-2);
	max-width: 30em;
}
.quote__photo {
	width: 100%;
	border-radius: var(--r-lg);
	aspect-ratio: 16 / 10;
	object-fit: cover;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.quote__form {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--paper);
	color: var(--ink);
	border-radius: var(--r-lg);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.quote__form p {
	margin-bottom: 0.9rem;
}
.quote__form label {
	display: block;
	font-weight: 700;
	font-size: 0.95rem;
}
.quote__form input[type="text"],
.quote__form input[type="email"],
.quote__form input[type="tel"],
.quote__form select,
.quote__form textarea {
	width: 100%;
	min-height: 52px;
	margin-top: 6px;
	padding: 12px 14px;
	border: 2px solid var(--line-2);
	border-radius: var(--r);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
}
.quote__form textarea {
	min-height: 120px;
}
.quote__form input:focus,
.quote__form select:focus,
.quote__form textarea:focus {
	border-color: var(--blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(11, 102, 184, 0.25);
}
.quote__form input[type="submit"],
.quote__form button[type="submit"] {
	min-height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--r);
	background: var(--amber);
	color: var(--navy-950);
	font-family: var(--f-display);
	font-stretch: 105%;
	font-weight: 700;
	font-size: 1.05rem;
	cursor: pointer;
	box-shadow: 0 10px 20px -10px rgba(255, 180, 0, 0.75);
	transition: transform 0.18s var(--ease), background-color 0.18s;
}
.quote__form input[type="submit"]:hover {
	background: var(--amber-hi);
	transform: translateY(-1px);
}
.wpcf7-not-valid-tip {
	margin-top: 4px;
	color: var(--danger);
	font-size: 0.9rem;
}
.wpcf7-response-output {
	margin: 1rem 0 0 !important;
	padding: 12px 14px !important;
	border-radius: var(--r);
}

/* ---------- Posts ---------- */
.posts {
	display: grid;
	gap: 0;
}
.post-row {
	padding: 20px 0;
	border-top: 1px solid var(--line-2);
}
.post-row__date {
	display: block;
	margin-bottom: 4px;
	font-size: 0.88rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.post-row__title {
	font-size: 1.2rem;
	font-stretch: 105%;
}
.post-row__title a {
	color: var(--navy-900);
	text-decoration: none;
}
.post-row__title a:hover {
	color: var(--blue);
	text-decoration: underline;
}
.post-row__text {
	margin: 0.5rem 0 0;
	color: var(--ink-2);
}
.posts--list .post-row {
	display: grid;
	gap: 14px;
}
.post-row__img img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--r);
}

/* ---------- Sobre / vídeo ---------- */
.about {
	display: grid;
	gap: 2rem;
}
.video {
	position: relative;
	max-width: 40rem;
	border-radius: var(--r-lg);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--navy-950);
}
.video__poster,
.video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}
.video__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 76px;
	height: 76px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--amber);
	color: var(--navy-950);
	cursor: pointer;
	box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
	transition: transform 0.2s var(--ease);
}
.video__play .i {
	width: 30px;
	height: 30px;
	fill: currentColor;
	stroke: none;
	margin-left: 4px;
}
.video__play:hover {
	transform: scale(1.06);
}

/* ---------- Texto corrido ---------- */
.prose {
	max-width: 70ch;
	font-size: 1.0625rem;
	line-height: 1.72;
}
.prose--wide {
	max-width: 76ch;
}
.prose > :first-child {
	margin-top: 0;
}
.prose h2 {
	margin: 2.2em 0 0.6em;
	font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem);
}
.prose h3 {
	margin: 1.8em 0 0.5em;
	font-size: 1.3rem;
}
.prose h4 {
	margin: 1.5em 0 0.4em;
	font-size: 1.1rem;
}
.prose ul,
.prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.3em;
}
.prose li {
	margin-bottom: 0.4em;
}
.prose img {
	border-radius: var(--r);
	margin-block: 1.2em;
}
.prose blockquote {
	margin: 1.5em 0;
	padding: 18px 20px;
	background: var(--mist);
	border-radius: var(--r);
	color: var(--ink-2);
}
.prose table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	margin: 1.5em 0;
}
.prose th,
.prose td {
	padding: 10px 12px;
	border: 1px solid var(--line);
	text-align: left;
}
.prose th {
	background: var(--mist);
}
.prose iframe {
	max-width: 100%;
}

/* ---------- Páginas internas ---------- */
.page {
	background: var(--mist);
}
.page-head {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(4.5rem, 9vw, 7rem);
	background: var(--navy-900);
	color: var(--on-navy);
}
.page-head__title {
	max-width: 22ch;
	color: #fff;
	font-size: clamp(1.9rem, 1rem + 3.6vw, 3.2rem);
	font-weight: 800;
	font-stretch: 110%;
	letter-spacing: -0.02em;
}
.page-head__lead {
	max-width: 52ch;
	margin: 1rem 0 0;
	color: var(--on-navy-2);
	font-size: 1.125rem;
}
.page-head__meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 1.25rem 0 0;
}
.page-head__meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--on-navy);
	font-size: 0.92rem;
}
.page-head__meta .i {
	width: 1.05em;
	height: 1.05em;
}
.crumbs {
	margin-bottom: 1rem;
	font-size: 0.9rem;
	color: var(--on-navy-2);
}
.crumbs a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.4);
}
.crumbs .breadcrumb_last {
	color: var(--on-navy-2);
}
.page-head :focus-visible {
	outline-color: var(--amber);
}

/* O primeiro bloco depois do cabeçalho sobe sobre a faixa azul. */
.pull {
	position: relative;
	z-index: 1;
	margin-top: calc(-1 * clamp(2.75rem, 5.5vw, 4.5rem));
}

.pros-band {
	padding-bottom: clamp(2rem, 5vw, 3rem);
}
.pros-band__title {
	margin-bottom: 1.1rem;
	color: #fff;
	font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
}
.pros-band > .wrap {
	display: grid;
}

.page-grid {
	display: grid;
	gap: 2rem;
	padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.page-grid__main {
	min-width: 0;
	padding: clamp(1.25rem, 4vw, 3rem);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 24px;
	box-shadow: 0 30px 50px -36px rgba(6, 26, 49, 0.45);
}
.page-grid__main .prose {
	max-width: none;
}
.page-grid__side {
	display: none;
}
.post-cover {
	margin: 0 0 1.75rem;
}
.post-cover img {
	width: 100%;
	border-radius: var(--r-lg);
}

.cta-card {
	padding: 24px;
	background: var(--navy-900);
	color: var(--on-navy);
	border-radius: 24px;
	box-shadow: 0 24px 40px -26px rgba(6, 26, 49, 0.7);
}
.cta-card__title {
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 1.3rem;
}
.cta-card__text {
	margin-bottom: 1.1rem;
	color: var(--on-navy-2);
	font-size: 0.98rem;
}
.cta-card__phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	margin-top: 8px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.cta-card__phone:hover {
	text-decoration: underline;
}
.cta-card :focus-visible {
	outline-color: var(--amber);
}

.cta-band {
	background: var(--navy-900);
	color: var(--on-navy);
	padding-block: clamp(2.25rem, 5vw, 3.5rem);
}
.cta-band__inner {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}
.cta-band__title {
	color: #fff;
	font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
}
.cta-band p {
	margin: 0.5rem 0 0;
	color: var(--on-navy-2);
}
.cta-band__actions {
	display: grid;
	gap: 12px;
}

.related {
	margin-top: 3rem;
}
.related__title {
	margin-bottom: 1rem;
	font-size: 1.3rem;
}
.perks {
	list-style: none;
	display: grid;
	gap: 12px;
	margin-top: 2rem;
}
.perks li {
	display: flex;
	gap: 12px;
}
.perks .i {
	margin-top: 3px;
	color: var(--wa);
}
.perks__text {
	display: block;
	color: var(--ink-2);
}

/* ---------- Cartões de blog ---------- */
.cards {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 20px;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 40px -24px rgba(6, 26, 49, 0.5);
}
.card__img {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--navy-800);
	overflow: hidden;
}
.card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card__img--empty {
	display: grid;
	place-items: center;
}
.card__img--empty .i {
	width: 2.6rem;
	height: 2.6rem;
	color: var(--amber);
}
.card__body {
	display: grid;
	flex: 1;
	align-content: start;
	gap: 8px;
	padding: 20px;
}
.card__date {
	font-size: 0.88rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.card__title {
	font-size: 1.2rem;
	font-stretch: 105%;
	line-height: 1.2;
}
.card__title a {
	color: var(--navy-900);
	text-decoration: none;
}
.card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.card__title a:hover {
	color: var(--blue);
}
.card__text {
	margin: 0;
	color: var(--ink-2);
	font-size: 0.98rem;
}
.card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	color: var(--blue);
	font-weight: 700;
}
.card__more .i {
	transition: transform 0.25s var(--ease);
}
.card:hover .card__more .i {
	transform: translateX(4px);
}

/* ---------- Perfil do eletricista ---------- */
.profile {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
}
.profile__photo {
	width: 112px;
	height: 112px;
	flex: none;
	border-radius: 24px;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, 0.25);
}
.profile__main {
	display: grid;
	gap: 6px;
	justify-items: start;
	min-width: 0;
}
.profile__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 1rem;
}

.listing {
	padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.empty {
	padding: 2rem;
	background: var(--paper);
	border-radius: 24px;
}
.rows--plain {
	margin: 2rem 0 0;
}
.pagination {
	margin-top: 2.5rem;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	padding: 0 14px;
	background: var(--paper);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
}
.pagination .page-numbers.current {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: #fff;
}
.search-form {
	display: flex;
	gap: 8px;
	max-width: 30rem;
}
.search-form .search-field {
	flex: 1;
	min-height: 52px;
	padding: 0 14px;
	border: 2px solid var(--line-2);
	border-radius: var(--r);
	font: inherit;
}
.search-form .search-submit {
	min-height: 52px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--r);
	background: var(--navy-900);
	color: #fff;
	font: 700 1rem var(--f-display);
	cursor: pointer;
}

.section--white {
	background: var(--paper);
}

/* ---------- Rodapé ---------- */
.site-footer {
	background: var(--navy-950);
	color: var(--on-navy-2);
	padding-top: clamp(2.5rem, 6vw, 4rem);
}
.site-footer__grid {
	display: grid;
	gap: 2.25rem;
}
.site-footer__lead {
	margin: 1rem 0 1.25rem;
	max-width: 30ch;
}
.site-footer__phone {
	margin: 0.9rem 0 0;
}
.site-footer__phone a {
	color: #fff;
	font-family: var(--f-display);
	font-weight: 700;
	font-size: 1.15rem;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}
.site-footer__title {
	margin-bottom: 0.8rem;
	color: #fff;
	font-size: 1rem;
	font-stretch: 105%;
}
.site-footer ul {
	list-style: none;
}
.site-footer__col a {
	display: inline-block;
	padding: 7px 0;
	color: var(--on-navy-2);
	text-decoration: none;
}
.site-footer__col a:hover {
	color: #fff;
	text-decoration: underline;
}
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 2.5rem;
	padding-block: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.9rem;
}
.site-footer__legal a {
	color: var(--on-navy-2);
}
.site-footer :focus-visible {
	outline-color: var(--amber);
}

/* ---------- Barra fixa de contato (celular) ---------- */
.dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 10px;
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: var(--paper);
	border-top: 1px solid var(--line);
	box-shadow: 0 -12px 24px -16px rgba(6, 26, 49, 0.4);
}
.dock .btn {
	min-height: 52px;
}
body.pv2 {
	padding-bottom: 76px;
}

/* ---------- Telas maiores ---------- */
@media (min-width: 640px) {
	:root {
		--gutter: 28px;
	}
	.doors {
		grid-template-columns: auto auto;
		justify-content: start;
	}
	.finder__row {
		grid-template-columns: 1fr auto;
	}
	.signs {
		grid-template-columns: 1fr 1fr;
		column-gap: 36px;
	}
	.posts {
		grid-template-columns: repeat(3, 1fr);
		gap: 28px;
	}
	.posts--list {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.posts--list .post-row {
		grid-template-columns: 200px 1fr;
		gap: 22px;
	}
	.site-header__actions .btn--wa {
		display: inline-flex;
	}
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 960px) {
	:root {
		--header-h: 76px;
	}
	body.pv2 {
		padding-bottom: 0;
	}
	.dock {
		display: none;
	}
	.hero__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 3.5rem;
	}
	.hero__media {
		order: 0;
	}
	.hero__photo {
		aspect-ratio: 4 / 5;
		object-position: 68% 40%;
	}
	.split {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: 4rem;
	}
	.quote__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 4rem;
		align-items: center;
	}
	.about {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 4rem;
		align-items: start;
	}
	.about .video {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
	.page-grid {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 2.5rem;
		align-items: start;
	}
	.page-grid__side {
		display: block;
		position: sticky;
		top: calc(var(--header-h) + 20px);
	}
	.cta-band__inner {
		grid-template-columns: 1fr auto;
	}
	.cta-band__actions {
		grid-auto-flow: column;
	}
	.profile__photo {
		width: 144px;
		height: 144px;
	}
	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}

@media (min-width: 1180px) {
	.primary-nav {
		display: block;
		position: static;
		margin-right: 8px;
	}
	.nav {
		flex-direction: row;
		gap: 2px;
	}
	.nav a {
		padding: 10px 10px;
		border-bottom: 0;
		border-radius: 10px;
		font-size: 0.97rem;
	}
	.nav a:hover {
		background: var(--mist);
	}
	.nav-toggle {
		display: none;
	}
	.brand {
		margin-right: 12px;
	}
	.primary-nav {
		margin-left: auto;
	}
}

@media (min-width: 1240px) {
	.header-phone {
		display: inline-flex;
		white-space: nowrap;
		align-items: center;
		gap: 8px;
		padding: 0 6px;
		color: var(--navy-900);
		font-family: var(--f-display);
		font-weight: 700;
		font-variant-numeric: tabular-nums;
		text-decoration: none;
	}
	.header-phone:hover {
		color: var(--blue);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}


/* ---------- Texto longo: tabela e perguntas frequentes ---------- */
.about-table {
	display: table;
	width: 100%;
	font-size: 0.97rem;
}
.about-table th,
.about-table td {
	vertical-align: top;
}
.about-table thead th {
	background: var(--navy-900);
	color: #fff;
	border-color: var(--navy-900);
}
.about-table tbody th {
	background: transparent;
	font-weight: 700;
	color: var(--navy-900);
}
.faq {
	border-top: 1px solid var(--line-2);
}
.faq:last-of-type {
	border-bottom: 1px solid var(--line-2);
}
.faq summary {
	position: relative;
	padding: 16px 40px 16px 0;
	font-weight: 700;
	color: var(--navy-900);
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--blue);
	border-bottom: 2px solid var(--blue);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.25s var(--ease);
}
.faq[open] summary::after {
	transform: translateY(-30%) rotate(-135deg);
}
.faq p {
	margin: 0 0 1rem;
	color: var(--ink-2);
}
.quote__form ::placeholder {
	color: #5a6b80;
	opacity: 1;
}

.site-footer__phone-label {
	color: var(--on-navy-2);
	margin-right: 4px;
}

/* ---------- Prosa: ritmo e marcadores ---------- */
.prose h2:not(:first-child) {
	margin-top: 2.4em;
	padding-top: 1.4em;
	border-top: 1px solid var(--line);
}
.prose ul > li {
	position: relative;
	padding-left: 1.5em;
	list-style: none;
}
.prose ul > li::before {
	content: "";
	position: absolute;
	left: 0.1em;
	top: 0.72em;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--amber);
}
.prose ul {
	padding-left: 0;
}
.prose ol > li::marker {
	font-weight: 700;
	color: var(--navy-800);
}
.prose .faq summary {
	list-style: none;
}
.prose .faq p {
	padding-left: 0;
}

/* ---------- Home: seções do texto longo ---------- */
.story__grid {
	display: grid;
	gap: 1.75rem;
	align-items: center;
}
.story__media {
	min-width: 0;
}
.story__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: 0 30px 50px -34px rgba(6, 26, 49, 0.55);
}
.story__text .section__title {
	margin-bottom: 1rem;
}
.story--solo .story__text {
	max-width: 46rem;
}
.story--table .section__title {
	margin-bottom: 1.5rem;
}
.story__table {
	max-width: none;
	overflow-x: auto;
}
.story__table .about-table {
	display: table;
	width: 100%;
	min-width: 36rem;
}
.story__close {
	display: grid;
	justify-items: center;
	gap: 1.25rem;
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
}
.story__close .prose {
	text-align: left;
}
.groups {
	display: grid;
	gap: 0 2.25rem;
	margin-top: 2.5rem;
}
.group {
	padding-block: 1.25rem;
	border-top: 2px solid var(--navy-900);
}
.group__title {
	margin-bottom: 0.75rem;
	font-size: 1.15rem;
}
.group .prose {
	font-size: 0.98rem;
	line-height: 1.6;
}
.story--faq .prose {
	max-width: none;
}
.video.story__media {
	position: relative;
	max-width: none;
	box-shadow: 0 30px 50px -34px rgba(6, 26, 49, 0.55);
}
.video {
	border-radius: 24px;
}
@media (min-width: 640px) {
	.groups {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 960px) {
	.story__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 4rem;
	}
	.story--flip .story__media {
		order: 2;
	}
	.story--solo .story__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.story__grid--head {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}
	.groups {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ---------- Páginas internas em seções ---------- */
.toc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding-block: 1.5rem 0.5rem;
}
.toc__label {
	font-family: var(--f-display);
	font-weight: 700;
	color: var(--navy-900);
}
.toc .chips a {
	min-height: 40px;
	font-size: 0.93rem;
}
.story__lead {
	max-width: 46rem;
	font-size: 1.2rem;
	line-height: 1.65;
	color: var(--ink-2);
}
.page .story .prose {
	max-width: 60ch;
}
.page .story.story--solo .prose {
	max-width: 46rem;
}
.page .story .prose ol {
	list-style: none;
	counter-reset: pv2step;
	padding-left: 0;
}
.page .story .prose ol > li {
	position: relative;
	counter-increment: pv2step;
	padding: 4px 0 18px 3.4rem;
}
.page .story .prose ol > li::before {
	content: counter(pv2step);
	position: absolute;
	left: 0;
	top: 2px;
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 50%;
	background: var(--navy-900);
	color: #fff;
	font-family: var(--f-display);
	font-weight: 800;
}
.page .story .prose ol > li > strong:first-child {
	color: var(--navy-900);
}
@media (min-width: 960px) {
	.page .story__grid {
		align-items: start;
	}
	.page .story__media {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

/* ---------- Componentes dentro das seções ---------- */
.facts {
	display: grid;
	gap: 14px;
	margin: 1.25rem 0;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.fact {
	padding: 18px 20px;
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: 18px;
}
.section--white .fact {
	background: var(--mist);
}
.fact__title {
	margin-bottom: 0.6rem;
	font-size: 1.05rem;
	font-stretch: 106%;
}
.fact .prose,
.fact ul {
	margin-bottom: 0;
}
.fact ul {
	font-size: 0.97rem;
	line-height: 1.55;
}
.fact p {
	margin: 0.6rem 0 0;
	font-size: 0.95rem;
	color: var(--ink-2);
}
.steps {
	list-style: none;
	counter-reset: pv2s;
	margin: 1.25rem 0;
	padding: 0;
}
.steps__item {
	position: relative;
	counter-increment: pv2s;
	padding: 0 0 1.5rem 3.6rem;
}
.steps__item::before {
	content: counter(pv2s);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--amber);
	color: var(--navy-950);
	font-family: var(--f-display);
	font-weight: 800;
}
.steps__title {
	margin-bottom: 0.4rem;
	font-size: 1.15rem;
}

/* Lista de eletricistas embaralhada no navegador a cada visita; aparece sozinha se o JS falhar. */
.js .pros[data-shuffle] {
	opacity: 0;
	animation: pv2show 0s 1.5s forwards;
}
.js .pros[data-shuffle].is-ready {
	opacity: 1;
	animation: none;
	transition: opacity 0.25s;
}
@keyframes pv2show {
	to {
		opacity: 1;
	}
}

/* ---------- Ajustes de celular: nada passa da largura da tela ---------- */
.pros > *,
.cards > *,
.page-grid > *,
.story__grid > * {
	min-width: 0;
}
.pros-band > .wrap {
	grid-template-columns: minmax(0, 1fr);
}
.pro__actions {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pro__name {
	overflow-wrap: anywhere;
}
@media (max-width: 480px) {
	.site-header__row {
		gap: 8px;
	}
	.brand {
		gap: 8px;
		min-width: 0;
	}
	.brand__mark {
		width: 38px;
	}
	.brand__name {
		font-size: 1rem;
	}
	.site-header__actions {
		gap: 8px;
		flex-shrink: 0;
	}
	.site-header__actions .btn--wa {
		padding: 0 12px;
		gap: 6px;
	}
	.nav-toggle {
		width: 44px;
		height: 44px;
	}
	.pro {
		padding: 18px;
		gap: 16px;
	}
	.pro__head {
		gap: 14px;
	}
	.pro__photo {
		width: 84px;
		height: 84px;
		border-radius: 16px;
	}
	.pro__name {
		font-size: 1.2rem;
	}
	.pro__actions {
		grid-template-columns: minmax(0, 1fr);
	}
}
h1,
h2,
h3,
.page-head__title,
.section__title {
	overflow-wrap: break-word;
	hyphens: auto;
}
@media (max-width: 480px) {
	.page-head__title {
		font-size: clamp(1.6rem, 7.2vw, 2rem);
	}
}

.pro-guide {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.pro-guide h2 {
	margin-bottom: 0.75rem;
	font-size: 1.4rem;
}
.pro-guide h3 {
	margin: 1.4rem 0 0.5rem;
	font-size: 1.1rem;
}
.pro-guide ul {
	margin: 0 0 1rem 1.2rem;
	padding: 0;
}
.pro-guide li {
	margin-bottom: 0.4rem;
}
