/* Identidade elétrica, faixas e navegação */
:root {
	--electric-ink: #07172c;
	--electric-deep: #0b2343;
	--electric-blue: #2465df;
	--electric-cyan: #48ddff;
	--electric-paper: #f3f7fc;
	--electric-copy: #405674;
	--whatsapp-green: #25d366;
	--whatsapp-dark: #063920;
	--site-header-height: 5.4rem;
}

body { background: var(--electric-paper); }
.container { width: min(100% - clamp(2rem, 7vw, 8rem), 79.5rem); }

.site-header-sentinel {
	position: absolute;
	inset: 0 auto auto 0;
	width: 1px;
	height: 16px;
	pointer-events: none;
}
.site-header {
	position: fixed;
	inset: 0 0 auto;
	background: linear-gradient(180deg, rgb(3 12 26 / .5), rgb(3 12 26 / 0) 90%) no-repeat;
	border-bottom: 0;
	transition: background .28s ease, box-shadow .28s ease;
}
.site-header.is-scrolled {
	background: rgb(21 65 124 / .88);
	backdrop-filter: blur(8px);
	box-shadow: 0 12px 36px rgb(3 20 44 / .24);
}
.site-header__grid { gap: clamp(.8rem, 2vw, 2rem); }
.site-header.is-scrolled .site-header__grid { min-height: var(--site-header-height); }
.site-header__brand img,
.site-header.is-scrolled .site-header__brand img {
	width: clamp(8.4rem, 12vw, 11rem);
	filter: drop-shadow(0 0 .45rem rgb(144 209 255 / .28));
}

/* Aplica azul-claro apenas à palavra ELÉTRICA nos fundos escuros. */
@supports (mask-image: url("../imagens/logo-eletrica-tensao.webp")) {
	.site-header__brand,
	.menu-drawer__brand {
		position: relative;
	}

	.site-header__brand::after,
	.menu-drawer__brand::after {
		position: absolute;
		inset: 0;
		background: #91dcff;
		clip-path: inset(27% 60% 59% 14.5%);
		mask-image: url("../imagens/logo-eletrica-tensao.webp");
		mask-position: center;
		mask-size: 100% 100%;
		mask-repeat: no-repeat;
		content: "";
		pointer-events: none;
	}
}

.site-header__grid .site-nav__link,
.site-header__grid .site-nav__submenu-button { color: #f4f8ff; }
.site-header__grid .site-nav__link:is(:hover, .is-active, [aria-current="page"]),
.site-header__grid .site-nav__item.is-open > .site-nav__link,
.site-header__grid .site-nav__submenu-button:is(:hover, [aria-expanded="true"]) { color: #9aecff; }
.site-header__grid .site-nav__link.is-active { text-decoration: underline; text-underline-offset: .5rem; text-decoration-color: var(--electric-cyan); }
.site-header__menu-button {
	border-color: rgb(187 223 255 / .4);
	background: rgb(19 48 87 / .66);
	color: #fff;
}
.site-nav__submenu { border-radius: 16px; }
.site-nav-fallback a { color: #f5faff; }
.site-header :focus-visible, .home-hero :focus-visible, .home-atendimento :focus-visible,
.home-cta :focus-visible, .faixa-page :focus-visible { outline-color: #a3f0ff; }

.electric-button, .home-button {
	position: relative;
	display: inline-flex;
	width: fit-content;
	max-width: 100%;
	min-height: 3.15rem;
	align-items: center;
	justify-content: center;
	gap: .65rem;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 11px;
	padding: .7rem 1.17rem;
	font-size: .95rem;
	font-weight: 720;
	line-height: 1.2;
	text-align: center;
	transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.electric-button::before {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px currentColor;
	opacity: .12;
	content: "";
	pointer-events: none;
}
.electric-button::after {
	position: absolute;
	inset: -30% auto -30% -55%;
	width: 45%;
	background: linear-gradient(90deg, transparent, rgb(255 255 255 / .66), transparent);
	transform: skewX(-28deg);
	transition: transform .64s cubic-bezier(.2,.7,.24,1);
	content: "";
	pointer-events: none;
}
.electric-button:is(:hover, :focus-visible)::after { transform: translateX(440%) skewX(-28deg); }
.electric-button:hover { transform: translateY(-3px); }
.electric-button:active { transform: scale(.96); }
.whatsapp-button, .whatsapp-fixed {
	border-color: rgb(146 255 190 / .65);
	background: linear-gradient(120deg, #30e478, var(--whatsapp-green) 58%, #1dbc59);
	box-shadow: 0 8px 28px rgb(37 211 102 / .3), inset 0 1px rgb(255 255 255 / .4);
	color: var(--whatsapp-dark);
}
.whatsapp-button:is(:hover, :focus-visible), .whatsapp-fixed:is(:hover, :focus-visible) {
	border-color: #a1ffbd;
	background: #50ef91;
	box-shadow: 0 0 28px rgb(37 211 102 / .52);
	color: #052c19;
}
.electric-button i { width: 1.1em; flex: none; }
.whatsapp-button i { font-size: 1.25em; }
.site-header__cta { white-space: nowrap; }
.home-button--ghost {
	border-color: rgb(123 218 253 / .53);
	background: rgb(15 45 79 / .59);
	color: #f4fbff;
}
.home-button--ghost:hover { border-color: #73e5ff; background: #123b62; color: #fff; box-shadow: 0 0 24px rgb(44 187 255 / .28); }
.home-button--outline { border-color: #b2c7e4; background: #fff; color: #144792; }
.home-button--outline:hover { border-color: #4580d6; background: #e7f2ff; color: #092b61; }

.whatsapp-fixed {
	right: max(1.65rem, env(safe-area-inset-right));
	bottom: max(1.55rem, env(safe-area-inset-bottom));
	width: 4.5rem;
	height: 4.5rem;
	border-width: 2px;
	border-radius: 50%;
	color: #09391e;
	isolation: isolate;
}
.whatsapp-fixed::before {
	position: absolute;
	inset: -4px;
	z-index: -1;
	border: 2px solid #25d366;
	border-radius: inherit;
	content: "";
	opacity: 0;
	pointer-events: none;
	animation: eletrica-whatsapp-pulse 3.2s ease-out 1s 2;
}
.whatsapp-fixed__shine {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}
.whatsapp-fixed__shine::after {
	position: absolute;
	inset: -20% auto -20% -80%;
	width: 45%;
	background: linear-gradient(90deg, transparent, #eaffee, transparent);
	opacity: .65;
	transform: skewX(-27deg);
	transition: transform .55s cubic-bezier(.2,.7,.24,1);
	content: "";
}
.whatsapp-fixed:is(:hover, :focus-visible, :active) .whatsapp-fixed__shine::after {
	transform: translateX(440%) skewX(-27deg);
}
.whatsapp-fixed i { font-size: 2.25rem; }
.whatsapp-fixed:active { transform: scale(.94); }
@keyframes eletrica-whatsapp-pulse {
	0% { opacity: 0; transform: scale(.98); }
	18% { opacity: .7; }
	70%, 100% { opacity: 0; transform: scale(1.36); }
}

.faixa-page, .home-hero {
	position: relative;
	z-index: 0;
	isolation: isolate;
	overflow: clip;
	border: 0;
	background: var(--electric-ink);
	color: #f0f7ff;
}
.faixa-page {
	min-height: 24rem;
	display: grid;
	align-items: center;
	padding: calc(var(--site-header-height) + 2.6rem) 0 5.4rem;
}
.faixa-page__imagem, .home-hero__imagem, .home-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
}
.faixa-page__imagem { object-fit: cover; object-position: center 54%; opacity: .68; }
.faixa-page::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(102deg, #06162d 4%, rgb(8 30 61 / .91) 44%, rgb(18 83 151 / .53) 100%);
	content: "";
}
.faixa-page__trilhas {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("../imagens/trilhas-eletricas.svg") right center / min(58%, 42rem) auto no-repeat;
	opacity: .68;
	pointer-events: none;
}
.faixa-page::after, .home-hero::after {
	position: absolute;
	inset: auto 0 -1px;
	height: clamp(2rem, 6vw, 5.75rem);
	background: url("../imagens/onda-eletrica.svg") center bottom / 100% 100% no-repeat;
	content: "";
	pointer-events: none;
}
.faixa-page__content { min-width: 0; gap: 1.5rem; }
.faixa-page__tag { color: #a5ecff; font-size: .8rem; }
.faixa-page h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 4.65rem); max-width: 18ch; font-weight: 760; text-wrap: balance; overflow-wrap: anywhere; }
.faixa-page__title p { max-width: 61ch; color: #d3e4fa; }
.faixa-page .breadcrumb { color: #deedff; font-size: .9rem; }
.faixa-page .breadcrumb a { color: #a0eaff; }
.faixa-page__tag, .faixa-page__breadcrumb, .home-hero .home-actions {
	animation: eletrica-chegada .65s cubic-bezier(.18,.72,.22,1) both;
}
@keyframes eletrica-chegada { from { transform: translateY(11px); } to { transform: none; } }

.site-footer {
	border-top: 1px solid rgb(58 115 178 / .35);
	background: radial-gradient(ellipse at 78% 10%, #153e71, transparent 54%), var(--electric-ink);
}
.site-footer__mobile-actions { display: none; }
.site-footer__contact { overflow-wrap: anywhere; }

/* Home */
.home-base { padding: 0 0 clamp(3rem, 7vw, 7.5rem); }
.home-base h2, .home-base h3 { margin: 0; color: #091e3c; }
.home-base h2 { font-size: clamp(2.3rem, 4.25vw, 4.15rem); font-weight: 760; letter-spacing: -.055em; line-height: 1.03; text-wrap: balance; }
.home-base h3 { font-weight: 740; letter-spacing: -.022em; line-height: 1.15; }
.home-label {
	display: flex;
	gap: .65rem;
	align-items: center;
	margin: 0 0 1rem;
	color: #144c9c;
	font-size: .77rem;
	font-weight: 790;
	letter-spacing: .11em;
	line-height: 1.4;
	text-transform: uppercase;
}
.home-label::before {
	width: 1.95rem;
	height: 2px;
	flex: none;
	background: #2178df;
	content: "";
}
.home-text-link { color: #114988; font-weight: 710; }
.home-text-link:hover { text-decoration: underline; }
.home-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.home-hero {
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	align-items: stretch;
	background: #07162d;
}
.home-hero__imagem {
	display: block;
	inset: 50% max(0px, calc((100% - 120rem) / 2)) auto auto;
	width: min(76%, 1280px);
	height: min(100%, 57vw, 960px);
	transform: translateY(-50%);
}
.home-hero__imagem img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.home-hero__imagem::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, #07162d, rgb(7 22 45 / .55) 11%, transparent 36%, transparent 96%, var(--hero-photo-edge, transparent)),
		linear-gradient(180deg, #07162d, transparent 17%, transparent 77%, #07162d);
	content: "";
	pointer-events: none;
}
.home-hero__shade {
	z-index: -1;
	background: linear-gradient(90deg, #07162d 17%, rgb(7 22 45 / .78) 38%, rgb(10 37 71 / .18) 58%, transparent 78%);
}
@media (width > 120rem) { .home-hero__imagem { --hero-photo-edge: #07162d; } }
.home-hero__layout {
	position: relative;
	display: grid;
	align-content: center;
	padding: calc(var(--site-header-height) + 3rem) 0 8.75rem;
}
.home-hero__conteudo { width: min(100%, 47rem); }
.home-hero .home-label { color: #b1edff; }
.home-hero .home-label::before, .home-atendimento .home-label::before, .home-cta .home-label::before, .home-feature .home-label::before {
	background: var(--electric-cyan);
	box-shadow: 0 0 13px rgb(64 220 255 / .64);
}
.home-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(3.5rem, 5.45vw, 6rem);
	font-weight: 800;
	letter-spacing: -.065em;
	line-height: .98;
	text-shadow: 0 3px 22px rgb(4 15 32 / .32);
}
.home-hero h1 span, .home-atendimento h2 span, .home-cta h2 span { color: #78e6ff; }
.home-hero__descricao { max-width: 46ch; margin: 1.5rem 0 0; color: #dbe9fc; font-size: clamp(1.03rem, 1.46vw, 1.27rem); }
.home-hero__scroll {
	position: absolute;
	bottom: clamp(4rem, 7vw, 6.7rem);
	left: 0;
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	color: #cbe1fb;
	font-size: .82rem;
	font-weight: 700;
}
.home-hero__scroll:hover { color: #fff; }
.home-hero__scroll span { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #3f729e; border-radius: 50%; color: #82e8ff; }

.home-section, .home-feature, .home-atendimento, .home-cta { margin-top: clamp(4rem, 8.4vw, 8.8rem); }
.home-linhas { margin-top: clamp(2.25rem, 5.3vw, 5rem); }
.home-section__head { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem 2rem; margin-bottom: clamp(1.6rem, 3.6vw, 3rem); }

.home-categorias { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.8rem, 1.7vw, 1.35rem); }
.home-categoria {
	--category-color: #e0edff;
	--product-zoom: 1.14;
	display: grid;
	grid-column: span 3;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: 1fr auto;
	overflow: clip;
	border: 1px solid #d6e2f0;
	border-radius: 19px;
	background: #fff;
	box-shadow: 0 10px 24px rgb(13 47 93 / .07);
	color: #0c2448;
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.home-categoria:nth-child(-n + 3) { grid-column: span 4; }
.home-categoria:is(:nth-child(1), :nth-child(3), :nth-child(7)) { --product-zoom: 1.53; }
.home-categoria:nth-child(2) { --category-color: #e4f6ff; }
.home-categoria:nth-child(3) { --category-color: #d8e8ff; }
.home-categoria:nth-child(4) { --category-color: #e9e9fd; }
.home-categoria:nth-child(5) { --category-color: #ddf4f2; }
.home-categoria:nth-child(6) { --category-color: #feefdd; }
.home-categoria:nth-child(7) { --category-color: #e6efff; }
.home-categoria:is(:hover, :focus-visible) { transform: translateY(-6px); border-color: #72a0df; box-shadow: 0 20px 37px rgb(17 63 130 / .15); }
.home-categoria__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1.55;
	overflow: clip;
	background: radial-gradient(ellipse at 50% 70%, #fff, transparent 68%), var(--category-color);
}
.home-categoria__media::before {
	position: absolute;
	inset: 0;
	background: url("../imagens/trilhas-eletricas.svg") right center / min(100%, 28rem) auto no-repeat;
	opacity: .55;
	content: "";
}
.home-categoria__media img {
	position: relative;
	width: 88%;
	height: 100%;
	max-height: 14rem;
	object-fit: contain;
	mix-blend-mode: multiply;
	transform: scale(var(--product-zoom));
	transition: transform .55s cubic-bezier(.2,.65,.25,1);
}
.home-categoria:is(:hover, :focus-visible) img { transform: scale(calc(var(--product-zoom) + .12)); }
.home-categoria__texto { position: relative; min-width: 0; min-height: 7.7rem; padding: 1.2rem 3.9rem 1.15rem 1.25rem; }
.home-categoria h3 { font-size: clamp(1.05rem, 1.8vw, 1.55rem); }
.home-categoria p { margin: .52rem 0 0; color: var(--electric-copy); font-size: .9rem; line-height: 1.45; }
.home-categoria__arrow {
	position: absolute;
	top: 1.1rem;
	right: 1rem;
	display: grid;
	width: 2.3rem;
	height: 2.3rem;
	place-items: center;
	border-radius: 50%;
	background: #e7f1ff;
	color: #114eaa;
	font-size: 1.18rem;
	transition: background .25s, color .25s;
}
.home-categoria:is(:hover, :focus-visible) .home-categoria__arrow { background: #1a59bb; color: #fff; }

.home-feature, .home-cta {
	position: relative;
	isolation: isolate;
	overflow: clip;
	border-radius: clamp(1.1rem, 2.5vw, 2.2rem);
	background: #0a2345;
	color: #d9e9fa;
}
.home-feature { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
.home-feature > img { width: 100%; height: 100%; min-height: 27rem; object-fit: cover; object-position: 66% center; }
.home-feature__conteudo { align-self: center; padding: clamp(1.75rem, 4.4vw, 4.5rem); }
.home-feature h2, .home-atendimento h2, .home-cta h2 { color: #fff; }
.home-feature .home-label, .home-atendimento .home-label, .home-cta .home-label { color: #b6edff; }
.home-feature p:not(.home-label), .home-cta p:not(.home-label) { max-width: 49ch; margin: .9rem 0 1.35rem; }
.home-feature ul { display: flex; flex-wrap: wrap; gap: .52rem; margin: 1.2rem 0 1.65rem; padding: 0; list-style: none; }
.home-feature li { border: 1px solid #345b88; border-radius: 6px; padding: .35rem .58rem; background: #0c2b50; color: #e5f4ff; font-size: .86rem; }

.home-empresa { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); align-items: center; gap: clamp(1.6rem, 7vw, 6.8rem); }
.home-empresa h2 { text-wrap: initial; }
.home-empresa p:not(.home-label) { max-width: 52ch; color: var(--electric-copy); margin: 1.15rem 0 1.5rem; }
.home-empresa figure { position: relative; margin: 0; }
.home-empresa figure::before { position: absolute; z-index: -1; inset: -13px 20px 28px -13px; border: 2px solid #a1c4ed; border-radius: 22px; content: ""; }
.home-empresa img { display: block; width: 100%; aspect-ratio: 1.42; border-radius: 20px; object-fit: cover; }
.home-empresa figcaption { color: var(--electric-copy); margin-top: .7rem; font-size: .88rem; }
.home-empresa figcaption i { color: #2163b2; margin-right: .3rem; }

.home-fornecedores { padding: clamp(2.8rem, 6vw, 6rem) 0; background: #e9f1fc; }
.home-marcas__janela { overflow-x: auto; border-radius: 16px; }
.home-marcas__trilho, .home-marcas__lista { display: flex; width: max-content; gap: .85rem; }
.home-marcas__lista { padding: 0; margin: 0; list-style: none; }
.home-marcas__lista li { display: grid; width: clamp(8.5rem, 13vw, 12.8rem); min-height: 6.8rem; place-items: center; border: 1px solid #d9e4f3; border-radius: 14px; background: #fff; }
.home-marcas__lista img { display: block; width: 90%; height: 5.75rem; object-fit: contain; }
.home-marcas.is-ready .home-marcas__janela { overflow: hidden; }
.home-marcas.is-ready .home-marcas__trilho { animation: eletrica-marcas var(--marcas-duracao, 46s) linear infinite; animation-play-state: paused; }
.home-marcas.is-visible:not(.is-paused) .home-marcas__trilho { animation-play-state: running; }
@media (hover: hover) {
	.home-marcas.is-ready .home-marcas__janela:hover .home-marcas__trilho { animation-play-state: paused; }
}
.home-marcas__controle {
	display: block;
	min-height: 2.75rem;
	margin: .55rem 0 0 auto;
	padding: .35rem .8rem;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #154987;
	font-weight: 700;
	font-size: .85rem;
	cursor: pointer;
}
.home-marcas__controle[hidden] { display: none; }
.home-marcas__controle:hover { background: #d9e9ff; }
@keyframes eletrica-marcas { to { transform: translateX(calc(-50% - .425rem)); } }

.home-atendimento {
	--home-photo-shade: linear-gradient(105deg, #07182e 16%, rgb(10 40 78 / .92) 68%, rgb(9 57 105 / .78));
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: clamp(3.5rem, 8vw, 8.5rem) 0;
	background: #0a284e;
	color: #d5e8fc;
}
.home-photo-backdrop, .home-photo-backdrop::after {
	position: absolute;
	inset: 0;
}
.home-photo-backdrop {
	z-index: -2;
	pointer-events: none;
}
.home-photo-backdrop img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--home-photo-position, center);
}
.home-photo-backdrop::after {
	background: var(--home-photo-shade);
	content: "";
}
.home-atendimento::before, .home-cta::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("../imagens/trilhas-eletricas.svg") right center / min(68%, 55rem) auto no-repeat;
	content: "";
	opacity: .7;
	pointer-events: none;
}
.home-atendimento__layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); align-items: center; gap: clamp(1.5rem, 6vw, 7rem); }
.home-atendimento__intro > p:not(.home-label) { max-width: 43ch; margin: 1.05rem 0 1.5rem; }
.home-passos { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.home-passos li { display: flex; gap: .75rem; align-items: center; }
.home-passos li span { display: grid; width: 2rem; height: 2rem; flex: none; place-items: center; border: 1px solid #35628d; border-radius: 7px; color: #8ceaff; font-weight: 750; font-size: .77rem; }
.home-atendimento__contato {
	padding: clamp(1.35rem, 3.65vw, 3rem);
	border: 1px solid rgb(158 207 255 / .43);
	border-radius: 22px;
	background: linear-gradient(128deg, rgb(23 69 121 / .94), rgb(9 34 63 / .88));
	box-shadow: 0 24px 65px rgb(0 12 30 / .34);
}
.home-atendimento__contato h3 { color: #fff; font-size: clamp(1.48rem, 2.4vw, 2.05rem); }
.home-atendimento__contato p { margin: .6rem 0 1.1rem; }
.home-atendimento__telefone { display: flex; align-items: center; gap: .52rem; width: fit-content; min-height: 2.75rem; color: #e8f4ff; font-weight: 700; margin-top: .4rem; }
.home-atendimento__telefone:hover, .home-atendimento .home-text-link { color: #9aeaff; }
.home-atendimento__contato dl { margin: .95rem 0 1.15rem; padding-top: .9rem; border-top: 1px solid #3e6490; }
.home-atendimento__contato dt { color: #eff8ff; font-weight: 720; }
.home-atendimento__contato dt i { margin-right: .35rem; color: #86e7ff; }
.home-atendimento__contato dd { margin: .25rem 0 .65rem; font-size: .9rem; }

.home-artigos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: clamp(.8rem, 2.35vw, 1.9rem); padding-top: 1.7rem; }
.home-artigo {
	display: flex;
	flex-direction: column;
	border: 1px solid #d8e3f2;
	border-radius: 19px;
	background: #fff;
	box-shadow: 0 12px 34px rgb(26 61 109 / .09);
	transition: box-shadow .3s, border-color .3s;
}
.home-artigo:nth-child(2) { margin-top: -1.65rem; margin-bottom: 1.65rem; border-color: #a8c8f4; }
.home-artigo:hover { border-color: #6d9ee1; box-shadow: 0 17px 42px rgb(26 61 109 / .17); }
.home-artigo__media { display: block; overflow: hidden; aspect-ratio: 1.65; border-radius: 18px 18px 0 0; background: #dceafb; }
.home-artigo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.25,1); }
.home-artigo:is(:hover, :focus-within) img { transform: scale(1.075); }
.home-artigo__corpo { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 2.45vw, 1.9rem); }
.home-artigo h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); }
.home-artigo p { margin: .63rem 0 1rem; color: var(--electric-copy); }
.home-artigo .home-button { margin-top: auto; }

.home-cta {
	--home-photo-shade: linear-gradient(95deg, #092347 8%, rgb(9 36 73 / .91) 38%, rgb(10 52 102 / .38) 84%);
	--home-photo-position: 70% center;
	min-height: clamp(22rem, 34vw, 31rem);
	display: grid;
	align-items: center;
	padding: clamp(2rem, 6.5vw, 6rem);
	background: #092347;
	box-shadow: 0 25px 52px rgb(7 34 73 / .2);
}
.home-cta::after { position: absolute; inset: 0; z-index: -1; border: 1px solid rgb(107 206 255 / .43); border-radius: inherit; content: ""; pointer-events: none; }
.home-cta h2 { max-width: 18ch; text-wrap: initial; }

/* Movimento ao rolar: o conteúdo já está visível sem JavaScript. */
.entrada-suave {
	--reveal-x: 0;
	--reveal-y: 10px;
	--reveal-scale: 1;
	animation: eletrica-entrada .38s cubic-bezier(.18,.72,.22,1) both;
	animation-delay: var(--reveal-delay, 0ms);
}
.entrada-suave[data-reveal="left"] { --reveal-x: 10px; --reveal-y: 0; }
.entrada-suave[data-reveal="right"] { --reveal-x: -10px; --reveal-y: 0; }
.entrada-suave[data-reveal="zoom"] { --reveal-scale: .99; --reveal-y: 6px; }
.home-categoria.entrada-suave:nth-child(2n), .home-artigo.entrada-suave:nth-child(2) { --reveal-delay: 35ms; }
.home-categoria.entrada-suave:nth-child(3n), .home-artigo.entrada-suave:nth-child(3) { --reveal-delay: 65ms; }
@keyframes eletrica-entrada { from { opacity: .76; transform: translate(var(--reveal-x), var(--reveal-y)) scale(var(--reveal-scale)); } to { opacity: 1; transform: none; } }

@media (max-width: 1099px) {
	.home-categorias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-categoria:nth-child(n) { grid-column: auto; }
	.home-categoria:last-child {
		grid-column: 1 / -1;
		grid-template: auto / repeat(2, minmax(0, 1fr));
		align-items: center;
	}
	.home-categoria:last-child .home-categoria__media { aspect-ratio: 2.5; }
	.home-categoria__texto { padding-right: 3rem; }
	.home-categoria__arrow { width: 1.9rem; height: 1.9rem; right: .65rem; }
}

@media (max-width: 991.98px) {
	:root { --site-header-height: 4.7rem; }
	.site-header__grid { grid-template-columns: minmax(0, 1fr) auto; }
	.site-header__cta { display: inline-flex; min-height: 2.75rem; padding: .54rem .8rem; font-size: .8rem; }
	.site-header:not(.site-header--menu-ready) .site-header__menu-button { display: none; }
	.site-nav-fallback { display: flex; gap: .25rem .9rem; flex-wrap: wrap; padding-bottom: .4rem; background: #153d6b; }
	.home-hero h1 { font-size: clamp(3.1rem, 7.8vw, 5.1rem); }
	.home-hero__layout { padding-bottom: 7.5rem; }
	.home-feature > img { min-height: 22rem; }
}

@media (max-width: 767.98px) {
	.container { width: calc(100% - 2.2rem); }
	.site-header.is-scrolled {
		background: linear-gradient(145deg, rgb(26 75 136 / .96), rgb(17 53 104 / .96));
		backdrop-filter: none;
	}
	.site-header__actions { gap: .45rem; }
	.site-header__cta { width: 2.75rem; padding: 0; }
	.site-header__cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.site-header__cta i { font-size: 1.27rem; }
	.faixa-page { min-height: 19rem; padding: calc(var(--site-header-height) + 2.15rem) 0 3.6rem; }
	.faixa-page__content { gap: .75rem; }
	.faixa-page .breadcrumb { font-size: .8rem; }
	.faixa-page h1 { font-size: clamp(2rem, 8.4vw, 3.4rem); }
	.faixa-page__imagem { opacity: .55; }
	.faixa-page::before { background: linear-gradient(95deg, rgb(5 22 46 / .97), rgb(10 46 85 / .69)); }
	.home-hero { min-height: max(37rem, 100svh); }
	.home-hero__layout { align-content: end; padding: calc(var(--site-header-height) + clamp(8rem, 29vh, 15rem)) 0 4.75rem; }
	.home-hero__imagem {
		inset: 0 0 auto;
		width: 100%;
		height: min(60%, 28rem);
		transform: none;
	}
	.home-hero__imagem img { object-position: center 36%; }
	.home-hero__imagem::after {
		background: linear-gradient(180deg, #07162d, transparent 22%, transparent 67%, #07162d);
	}
	.home-hero__shade {
		background: linear-gradient(180deg, rgb(7 22 45 / .32), transparent 26%);
	}
	.home-hero h1 { font-size: clamp(2.53rem, 9.6vw, 4.2rem); }
	.home-hero__break { display: none; }
	.home-hero__descricao { margin-top: .9rem; font-size: 1rem; }
	.home-actions { gap: .62rem; margin-top: 1.2rem; }
	.home-actions .home-button { font-size: .88rem; padding: .62rem .82rem; }
	.home-hero__scroll { display: none; }
	.home-section__head { align-items: start; flex-direction: column; }
	.home-section__head h2 br { display: none; }
	.home-categoria__texto { min-height: 6.9rem; padding: .9rem .77rem; }
	.home-categoria__arrow { position: static; margin-top: .65rem; }
	.home-categoria p { font-size: .85rem; }
	.home-feature, .home-empresa, .home-atendimento__layout { grid-template-columns: minmax(0, 1fr); }
	.home-feature > img { height: auto; min-height: 0; aspect-ratio: 1.62; }
	.home-empresa { padding-inline: .2rem; }
	.home-empresa figure::before { inset: -8px 11px 25px -7px; }
	.home-atendimento h2 { text-wrap: initial; }
	.home-artigos { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
	.home-artigo:nth-child(2) { margin: 0; }
	.home-cta { min-height: 23rem; }
	.whatsapp-fixed { width: 3.7rem; height: 3.7rem; right: max(.9rem, env(safe-area-inset-right)); bottom: calc(5.55rem + env(safe-area-inset-bottom)); }
	.whatsapp-fixed i { font-size: 1.87rem; }
	.site-footer__mobile-actions {
		position: fixed;
		inset: auto .65rem calc(.55rem + env(safe-area-inset-bottom));
		z-index: 1025;
		display: flex;
		justify-content: center;
		gap: .38rem;
		width: min(calc(100% - 1.3rem), 27rem);
		margin-inline: auto;
		padding: .45rem;
		border: 1px solid rgb(134 186 234 / .54);
		border-radius: 15px;
		background: rgb(7 28 53 / .97);
		box-shadow: 0 10px 30px rgb(6 20 44 / .34);
	}
	.site-footer__mobile-actions a {
		flex: 1 1 auto;
		min-height: 2.75rem;
		gap: .35rem;
		padding: .55rem .45rem;
		font-size: .8rem;
		white-space: nowrap;
	}
	.site-footer__mobile-actions a:focus-visible { outline-color: #b3edff; }
	.site-footer { padding-bottom: calc(5.7rem + env(safe-area-inset-bottom)); }
	.cookie-banner { bottom: calc(9.75rem + env(safe-area-inset-bottom)); }
	.entrada-suave[data-reveal] { --reveal-x: 0; --reveal-y: 8px; }
}
@media (max-width: 374px) {
	.container { width: calc(100% - 1.8rem); }
	.home-label { font-size: .72rem; letter-spacing: .07em; }
	.home-hero__layout { padding-top: calc(var(--site-header-height) + 8.25rem); }
	.home-hero .home-actions a { width: 100%; }
	.home-categoria__texto { padding-inline: .65rem; }
	.home-categorias { grid-template-columns: minmax(0, 1fr); }
	.home-categoria:nth-child(n) { grid-template: auto / minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
	.home-categoria:nth-child(n) .home-categoria__media { aspect-ratio: auto; }
	.home-categoria__media img { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.entrada-suave, .whatsapp-fixed::before,
	.faixa-page__tag, .faixa-page__breadcrumb, .home-hero .home-actions { animation: none; }
	.whatsapp-fixed__shine::after { transition: none; }
	.home-marcas.is-ready .home-marcas__trilho { animation: none; }
	.home-marcas.is-ready .home-marcas__janela { overflow-x: auto; }
	.home-marcas__lista[aria-hidden="true"], .home-marcas__controle { display: none; }
}
