/* aluguelcompressordear: camada visual sobre o GeneratePress.
   Paleta: azul petróleo (estrutura), amarelo de sinalização (ação), aço (superfícies).
   Vermelho só na faixa de alerta do manômetro. */

@font-face {
	font-family: "Archivo";
	src: url("fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}
@font-face {
	font-family: "Plex Mono";
	src: url("fonts/ibm-plex-mono-latin.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}

:root {
	--petroleo: #0e3a4a;
	--petroleo-escuro: #082733;
	--amarelo: #f5b700;
	--amarelo-forte: #dca300;
	--aco: #dde4e7;
	--papel: #f5f7f8;
	--tinta: #15232b;
	--cinza: #51636c;
	--alerta: #c8372d;
	--fonte: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Plex Mono", ui-monospace, "Cascadia Mono", monospace;
	--coluna: 46rem;
	--largura: 72rem;
}

/* ---------- base ---------- */
body {
	background: var(--papel);
	color: var(--tinta);
	font-family: var(--fonte);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--petroleo); }
a:focus-visible, button:focus-visible, .acd-btn:focus-visible {
	outline: 3px solid var(--amarelo);
	outline-offset: 3px;
}
.acd-wrap { max-width: var(--largura); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- barra superior ---------- */
.acd-topbar {
	background: var(--petroleo-escuro);
	color: #c9d6db;
	font-size: .8125rem;
}
.acd-topbar ul {
	display: flex; flex-wrap: wrap; gap: .25rem 1.75rem;
	list-style: none; margin: 0 auto; padding: .5rem 1.25rem;
	max-width: var(--largura);
}
.acd-topbar li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.acd-topbar li::before {
	content: ""; width: .5rem; height: .5rem; background: var(--amarelo); flex: none;
}

/* ---------- header ---------- */
.acd-header { background: #fff; border-bottom: 1px solid var(--aco); }
.acd-header .acd-wrap {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	min-height: 4.5rem;
}
.acd-logo {
	display: flex; align-items: center; gap: .625rem;
	color: var(--tinta); text-decoration: none;
	font-stretch: 75%; font-weight: 800; font-size: 1.25rem; line-height: 1;
	text-transform: uppercase; letter-spacing: .01em;
}
.acd-logo small {
	display: block; font-weight: 500; font-size: .75rem; letter-spacing: .08em;
	color: var(--cinza); margin-top: .2rem;
}
.acd-logo svg { width: 2.25rem; height: 2.25rem; flex: none; }

/* ---------- botões ---------- */
.acd-btn {
	display: inline-block;
	background: var(--amarelo); color: var(--tinta);
	font-family: var(--fonte); font-weight: 700; font-stretch: 87.5%;
	font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
	padding: .875rem 1.5rem; border: 0; border-radius: 3px;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
	transition: background-color .15s ease;
}
.acd-btn:hover, .acd-btn:focus { background: var(--amarelo-forte); color: var(--tinta); }
.acd-header .acd-btn { padding: .625rem 1.125rem; font-size: .875rem; }

/* ---------- hero ---------- */
.acd-hero { position: relative; background: var(--petroleo-escuro); color: #fff; overflow: hidden; isolation: isolate; }
.acd-hero-foto, .acd-hero-foto img {
	position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.acd-hero-foto { z-index: -2; }
.acd-hero-foto img { object-fit: cover; object-position: 72% 55%; }
.acd-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 39, 51, .94) 0%, rgba(8, 39, 51, .82) 34%, rgba(8, 39, 51, .25) 62%, rgba(8, 39, 51, 0) 80%),
		linear-gradient(0deg, rgba(8, 39, 51, .9) 0%, rgba(8, 39, 51, 0) 32%);
}
.acd-hero-texto { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.acd-hero-texto > * { max-width: 36rem; }
.acd-eyebrow {
	font-family: var(--mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
	color: var(--amarelo); margin: 0 0 1rem;
}
.acd-hero h1 {
	color: #fff; margin: 0 0 1.25rem;
	font-family: var(--fonte); font-weight: 800; font-stretch: 72%;
	font-size: clamp(2.375rem, 1.3rem + 4.2vw, 4.5rem); line-height: .98;
	letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.acd-hero p.acd-sub { color: #e2ecef; font-size: 1.125rem; margin: 0 0 1.75rem; }

/* placa de dados: faixa técnica no pé do hero */
.acd-placa {
	position: relative; border-top: 3px solid var(--amarelo);
	background: rgba(8, 39, 51, .88); backdrop-filter: blur(4px);
}
.acd-placa .acd-wrap {
	display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr;
}
.acd-placa-item {
	display: flex; flex-direction: column; justify-content: center; gap: .3rem;
	padding: 1.1rem 1.25rem; border-left: 1px solid rgba(255, 255, 255, .12);
}
.acd-placa-item:first-child { border-left: 0; padding-left: 0; }
.acd-placa-item b {
	font-family: var(--mono); font-weight: 500; font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem);
	line-height: 1; color: var(--amarelo); letter-spacing: -.01em;
}
.acd-placa-item span { font-size: .8125rem; line-height: 1.35; color: #c9d6db; }
.acd-placa-gauge { flex-direction: row; align-items: center; gap: .875rem; }
.acd-placa-gauge svg { width: 6.25rem; height: auto; flex: none; }
.acd-placa-gauge .tick { stroke: #9fb6be; stroke-width: 2; }
.acd-placa-gauge .tick.major { stroke: #fff; stroke-width: 3; }
.acd-placa-gauge .num { display: none; }
.acd-placa-gauge .zona-uso { stroke: var(--amarelo); }
.acd-placa-gauge .zona-alerta { stroke: var(--alerta); }
.acd-placa-gauge .leitura { fill: #fff; font-family: var(--mono); font-size: 34px; }
.acd-placa-gauge .unidade { display: none; }
.acd-placa-gauge .ponteiro {
	transform-origin: 160px 160px; transform: rotate(-120deg);
	animation: acd-ponteiro 1.6s cubic-bezier(.2, .9, .25, 1.15) .4s forwards;
}
@keyframes acd-ponteiro { to { transform: rotate(-15deg); } }
@media (prefers-reduced-motion: reduce) {
	.acd-placa-gauge .ponteiro { animation: none; transform: rotate(-15deg); }
}

/* fotos dos tipos */
.acd-foto { margin: .75rem 0 1rem; }
.acd-foto img {
	display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
	border-radius: 3px; background: var(--aco);
}

/* ---------- conteúdo (neutraliza o container do GeneratePress) ---------- */
.acd-page .site.grid-container { max-width: none; padding: 0; }
.acd-page .site-content { display: block; padding: 0; }
.acd-page .content-area { width: 100%; float: none; }
.acd-page .site-main { margin: 0 !important; }
.acd-page .inside-article { padding: 0 !important; background: transparent !important; }
.acd-page .entry-header, .acd-page .entry-meta, .acd-page footer.entry-meta { display: none; }
.acd-page .entry-content:not(:first-child) { margin-top: 0; }
.acd-corpo {
	max-width: var(--coluna); margin: 0 auto; padding: 3rem 1.25rem 1rem;
}
.acd-corpo p { margin: 0 0 1.15em; }
.acd-corpo h2 {
	font-family: var(--fonte); font-weight: 800; font-stretch: 78%;
	font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.125rem); line-height: 1.1;
	text-transform: uppercase; color: var(--petroleo);
	margin: 2.75rem 0 1rem; padding-top: 1.25rem;
	border-top: 4px solid var(--petroleo);
}
.acd-corpo h3 {
	font-family: var(--fonte); font-weight: 700; font-stretch: 90%;
	font-size: 1.25rem; line-height: 1.25; color: var(--tinta);
	margin: 1.75rem 0 .5rem; padding-left: .875rem;
	border-left: 4px solid var(--amarelo);
}
.acd-corpo strong { font-weight: 700; }
.acd-cta { margin: 2rem 0; }

/* ---------- páginas comuns (privacidade) ---------- */
body:not(.acd-page) .inside-article { max-width: var(--coluna); margin: 0 auto; }
body:not(.acd-page) .entry-title,
body:not(.acd-page) .entry-content h2 {
	font-family: var(--fonte); font-weight: 800; font-stretch: 78%; text-transform: uppercase;
	color: var(--petroleo); line-height: 1.1;
}
body:not(.acd-page) .entry-title { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
body:not(.acd-page) .entry-content h2 { font-size: 1.5rem; margin-top: 2rem; }

/* ---------- contato ---------- */
.acd-contato { background: var(--petroleo); color: #fff; padding: 3.5rem 0; margin-top: 3rem; scroll-margin-top: 1rem; }
.acd-contato .acd-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 3rem; }
.acd-contato h2 {
	color: #fff; margin: 0 0 1rem;
	font-weight: 800; font-stretch: 75%; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
	line-height: 1.05; text-transform: uppercase;
}
.acd-contato p { color: #d5e1e5; }
.acd-contato .acd-lista-pedido { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.acd-contato .acd-lista-pedido li {
	padding: .625rem 0; border-top: 1px solid rgba(255, 255, 255, .15); color: #eaf1f3;
}
.acd-contato .acd-lista-pedido li span { font-family: var(--mono); font-size: .8125rem; color: var(--amarelo); margin-right: .5rem; }
.acd-form {
	background: #fff; color: var(--tinta); border-radius: 4px; padding: 1.75rem;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 12px 32px rgba(4, 22, 30, .35);
}
.acd-form .wpforms-container { margin: 0 !important; }
.acd-form .wpforms-field-label { font-weight: 600 !important; font-size: .9375rem !important; color: var(--tinta) !important; }
.acd-form input[type=text], .acd-form input[type=email], .acd-form input[type=number],
.acd-form input[type=tel], .acd-form select, .acd-form textarea {
	width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
	border: 1px solid #b9c6cb !important; border-radius: 3px !important;
	padding: .7rem .8rem !important; font: inherit !important; background: #fff !important;
}
.acd-form input:focus, .acd-form select:focus, .acd-form textarea:focus {
	border-color: var(--petroleo) !important; box-shadow: 0 0 0 3px rgba(245, 183, 0, .45) !important; outline: 0 !important;
}
.acd-form button[type=submit] {
	background: var(--amarelo) !important; color: var(--tinta) !important; border: 0 !important;
	font-family: var(--fonte) !important; font-weight: 700 !important; text-transform: uppercase;
	letter-spacing: .02em; padding: .9rem 1.75rem !important; border-radius: 3px !important;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); width: 100%;
}
.acd-form button[type=submit]:hover { background: var(--amarelo-forte) !important; }

/* ---------- regiões ---------- */
.acd-regioes-sec { padding: 3rem 0 3.5rem; }
.acd-regioes-sec h2 {
	font-weight: 800; font-stretch: 78%; text-transform: uppercase; color: var(--petroleo);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); margin: 0 0 1.25rem;
}
ul.acd-regioes {
	list-style: none; margin: 0; padding: 0;
	columns: 4 12rem; column-gap: 2rem;
}
ul.acd-regioes li { margin: 0; padding: .3rem 0; break-inside: avoid; border-bottom: 1px solid var(--aco); }
ul.acd-regioes a { text-decoration: none; color: var(--tinta); font-size: .9375rem; }
ul.acd-regioes a:hover { color: var(--petroleo); text-decoration: underline; }

/* ---------- rodapé ---------- */
.acd-footer { background: var(--petroleo-escuro); color: #9fb6be; font-size: .875rem; padding: 2rem 0 5rem; }
.acd-footer .acd-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.acd-footer a { color: #c9d6db; }
.site-footer, .site-info { display: none; }

/* ---------- barra fixa no celular ---------- */
.acd-fixo { display: none; }
.acd-fixo.oculto { transform: translateY(110%); }

@media (max-width: 760px) {
	.acd-hero-foto, .acd-hero-foto img { height: 17rem; bottom: auto; }
	.acd-hero-foto img { object-position: 78% 50%; }
	.acd-hero::before {
		background: linear-gradient(180deg, rgba(8, 39, 51, .15) 0, rgba(8, 39, 51, .35) 9rem, var(--petroleo-escuro) 17rem);
	}
	.acd-hero-texto { padding-top: 10.5rem; padding-bottom: 2rem; }
	.acd-placa .acd-wrap { grid-template-columns: 1fr 1fr; padding: 0; }
	.acd-placa-item { padding: 1rem 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); }
	.acd-placa-item:first-child { padding-left: 1.25rem; }
	.acd-placa-item:nth-child(odd) { border-left: 0; }
	.acd-placa-item { justify-content: flex-start; }
	.acd-placa-gauge { gap: .625rem; }
	.acd-placa-gauge svg { width: 4.75rem; }
	.acd-placa-gauge span { font-size: .75rem; }
	.acd-contato .acd-wrap { grid-template-columns: 1fr; gap: 2rem; }
	.acd-topbar li:nth-child(n+3) { display: none; }
	.acd-header .acd-btn { display: none; }
	.acd-fixo {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom));
		background: rgba(8, 39, 51, .96); backdrop-filter: blur(6px);
		transition: transform .2s ease;
	}
	ul.acd-regioes { columns: 2; column-gap: 1.25rem; }
	.acd-fixo .acd-btn { display: block; text-align: center; }
}
@media (max-width: 480px) {
	.acd-corpo { padding-top: 2rem; }
	.acd-form { padding: 1.25rem; }
	.acd-logo { font-size: 1.0625rem; }
}
