/* RL Aquecedores 2026 — estilos de componente (complementam o theme.json) */

:root {
	--rl-navy: #0F2A52;
	--rl-navy-light: #1B3A66;
	--rl-orange: #FF9000;
	--rl-orange-dark: #E67E00;
	--rl-red: #E4281F;
	--rl-orange-text: #B25F00;
	--rl-yellow: #FFC93C;
	--rl-bg: #F6F7F9;
	--rl-surface: #FFFFFF;
	--rl-ink: #16202B;
	--rl-muted: #5B6672;
	--rl-border: #E2E6EA;
	--rl-whatsapp: #0C7C3E;
	--rl-shadow: 0 1px 2px rgba(15,42,82,0.06), 0 12px 28px -14px rgba(15,42,82,0.22);
	--rl-shadow-btn: 0 10px 20px -10px rgba(10,20,15,0.35);
	--rl-radius: 16px;
	--rl-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--rl-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { max-width: 100%; height: auto; display: block; }
.wp-site-blocks { overflow-x: hidden; }

/* ---------- utilitários de seção ---------- */
.rl-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.rl-section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.rl-eyebrow {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rl-orange-dark);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 0.75rem;
}
.rl-eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--rl-orange); border-radius: 2px; }

/* ---------- header ---------- */
.rl-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,0.92);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--rl-border);
}
.rl-header__row {
	max-width: 1400px;
	margin-inline: auto;
	padding: 0.85rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 2rem;
}
.rl-header__logo img { height: 44px; width: auto; }
.rl-header__nav { flex: 1; }
.rl-header__nav ul {
	display: flex;
	gap: 1.75rem;
	list-style: none;
	margin: 0; padding: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 0.95rem;
}
.rl-header__nav a { color: var(--rl-navy); text-decoration: none; }
.rl-header__nav a:hover { color: var(--rl-orange-dark); }
.rl-header__cta { display: flex; align-items: center; gap: 0.75rem; }
.rl-header__phone {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	color: var(--rl-navy);
	text-decoration: none;
	font-size: 0.95rem;
	white-space: nowrap;
}
/* ---------- botão hambúrguer ---------- */
.rl-menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	margin: -10px -6px -10px 4px;
	border-radius: 10px;
}
.rl-menu-btn__bars { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.rl-menu-btn__bars span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--rl-navy);
	transition: transform 0.32s var(--rl-ease), opacity 0.32s var(--rl-ease);
	transform-origin: center;
}
.rl-header.is-nav-open .rl-menu-btn__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rl-header.is-nav-open .rl-menu-btn__bars span:nth-child(2) { opacity: 0; }
.rl-header.is-nav-open .rl-menu-btn__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- painel de navegação mobile ---------- */
.rl-mobile-nav {
	display: none;
	grid-template-rows: 0fr;
	opacity: 0;
	background: rgba(255,255,255,0.98);
	backdrop-filter: saturate(160%) blur(14px);
	border-top: 1px solid transparent;
	transition: grid-template-rows 0.38s var(--rl-ease), opacity 0.28s var(--rl-ease), border-color 0.38s var(--rl-ease);
}
.rl-header.is-nav-open .rl-mobile-nav {
	grid-template-rows: 1fr;
	opacity: 1;
	border-top-color: var(--rl-border);
}
.rl-mobile-nav nav { overflow: hidden; min-height: 0; padding: 1.25rem 1.5rem 1.75rem; display: grid; gap: 0.25rem; }
.rl-mobile-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.25rem; }
.rl-mobile-nav a {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	color: var(--rl-navy);
	text-decoration: none;
	padding: 0.85rem 0.25rem;
	border-bottom: 1px solid var(--rl-border);
	display: block;
}
.rl-mobile-nav ul a:active { color: var(--rl-orange-dark); }
.rl-mobile-nav__phone { width: 100%; }

/* ---------- botões ---------- */
.rl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1rem;
	padding: 0.95rem 1.75rem;
	border-radius: 10px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform .22s var(--rl-ease), box-shadow .22s var(--rl-ease), background-color .18s var(--rl-ease);
	line-height: 1.1;
}
@media (hover: hover) and (pointer: fine) {
	.rl-btn:hover { transform: translateY(-2px); }
}
.rl-btn:active { transform: scale(0.97); transition: transform .12s var(--rl-ease); }
.rl-btn--whatsapp { background: var(--rl-whatsapp); color: #fff; box-shadow: var(--rl-shadow-btn); }
.rl-btn--whatsapp:hover { background: #0A6934; color: #fff; }
.rl-btn--orange { background: var(--rl-orange); color: var(--rl-navy); box-shadow: var(--rl-shadow-btn); }
.rl-btn--orange:hover { background: var(--rl-orange-dark); color: #fff; }
.rl-btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.55); }
.rl-btn--outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.rl-btn--red { background: var(--rl-red); color: #fff; box-shadow: var(--rl-shadow-btn); }
.rl-btn--red:hover { background: #C41E16; color: #fff; }
.rl-btn--sm { padding: 0.6rem 1.15rem; font-size: 0.875rem; }

/* ---------- hero ---------- */
.rl-hero {
	position: relative;
	background: linear-gradient(160deg, var(--rl-navy) 0%, var(--rl-navy-light) 60%, #26456F 100%);
	color: #fff;
	overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.rl-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(60% 60% at 85% 20%, rgba(255,144,0,0.22), transparent 70%);
	pointer-events: none;
}
.rl-hero__grid {
	position: relative;
	max-width: 1400px;
	margin-inline: auto;
	padding-inline: 1.5rem;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.rl-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255,144,0,0.16);
	border: 1px solid rgba(255,144,0,0.4);
	color: var(--rl-yellow);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: .04em;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	margin-bottom: 1.25rem;
}
.rl-hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rl-yellow); animation: rl-pulse 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .rl-hero__badge .dot { animation: none; } }
@keyframes rl-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.rl-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 1.1rem; color: #fff; }
.rl-hero h1 em { font-style: normal; color: var(--rl-orange); }
.rl-hero p.rl-lede { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 46ch; margin: 0 0 1.75rem; }
.rl-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.75rem; }
.rl-hero__trust { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.rl-hero__trust span { display: flex; align-items: center; gap: 6px; }
.rl-hero__visual {
	position: relative;
	aspect-ratio: 4/5;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.rl-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.rl-hero__visual-badge {
	position: absolute; left: 1.25rem; bottom: 1.25rem;
	background: var(--rl-navy);
	color: #fff;
	padding: 0.9rem 1.1rem;
	border-radius: 14px;
	font-family: var(--wp--preset--font-family--heading);
	display: flex; align-items: center; gap: 10px;
}
.rl-hero__visual-badge strong { display: block; font-size: 1.4rem; color: var(--rl-orange); }
.rl-hero__visual-badge span { font-size: 0.75rem; color: rgba(255,255,255,0.75); }

/* ---------- marcas ---------- */
.rl-brands { background: var(--rl-surface); border-bottom: 1px solid var(--rl-border); }
.rl-brands__row { max-width: 900px; margin-inline: auto; padding: clamp(2.25rem, 4vw, 3.25rem) 1.5rem; text-align: center; }
.rl-brands__label { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.95rem; color: var(--rl-muted); margin: 0 0 1.5rem; }
.rl-brands__img { width: 100%; max-width: 640px; height: auto; margin-inline: auto; }

/* ---------- stats ---------- */
.rl-stats { background: var(--rl-navy); }
.rl-stats__row {
	max-width: 1400px; margin-inline: auto; padding: 2.25rem 1.5rem;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.rl-stats__item { text-align: center; color: #fff; }
.rl-stats__item strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--rl-orange); font-weight: 800; }
.rl-stats__item span { font-size: 0.875rem; color: rgba(255,255,255,0.72); }

/* ---------- cards (uso pontual, ex.: páginas internas) ---------- */
.rl-grid { display: grid; gap: 1.5rem; }
.rl-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rl-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rl-grid--4 { grid-template-columns: repeat(4, 1fr); }
.rl-card {
	background: var(--rl-surface);
	border: 1px solid var(--rl-border);
	border-radius: var(--rl-radius);
	padding: 1.75rem;
	box-shadow: none;
	transition: transform .28s var(--rl-ease), box-shadow .28s var(--rl-ease), border-color .28s var(--rl-ease);
}
@media (hover: hover) and (pointer: fine) {
	.rl-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(15,42,82,0.22); border-color: transparent; }
}
.rl-card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.rl-card p { color: var(--rl-muted); margin: 0; font-size: 0.95rem; }

/* ---------- serviços: lista dividida (sem cards, sem ícone em tile) ---------- */
.rl-services { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rl-services__intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 0.85rem; }
.rl-services__intro p { color: var(--rl-muted); max-width: 36ch; margin: 0; }
.rl-services__list { display: grid; }
.rl-service-row { display: grid; grid-template-columns: 30px 1fr; gap: 1.1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rl-border); }
.rl-service-row:first-child { padding-top: 0; }
.rl-service-row:last-child { border-bottom: none; padding-bottom: 0; }
.rl-service-row svg { width: 26px; height: 26px; color: var(--rl-orange-dark); margin-top: 3px; }
.rl-service-row h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.rl-service-row p { margin: 0; color: var(--rl-muted); font-size: 0.95rem; max-width: 54ch; }
@media (max-width: 900px) { .rl-services { grid-template-columns: 1fr; } }

/* ---------- processo: linha conectada, sem grade repetida ---------- */
.rl-process { position: relative; }
.rl-process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; counter-reset: rl-step; position: relative; }
.rl-process__list::before { content: ""; position: absolute; top: 21px; left: 4%; right: 4%; height: 2px; background: var(--rl-border); }
.rl-process__step { position: relative; }
.rl-process__step:nth-child(even) { margin-top: 1.75rem; }
.rl-process__dot {
	position: relative; z-index: 1;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--rl-surface); border: 2px solid var(--rl-orange);
	color: var(--rl-orange-text); font-family: var(--wp--preset--font-family--heading);
	font-weight: 800; font-size: 1rem;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 1rem;
}
.rl-process__step h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.rl-process__step p { color: var(--rl-muted); font-size: 0.9rem; margin: 0; max-width: 30ch; }
@media (max-width: 900px) {
	.rl-process__list { grid-template-columns: 1fr; gap: 1.75rem; }
	.rl-process__list::before { display: none; }
	.rl-process__step:nth-child(even) { margin-top: 0; }
}

/* ---------- checklist (diferenciais) ---------- */
.rl-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.rl-checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.rl-checklist svg { flex-shrink: 0; margin-top: 3px; color: var(--rl-orange-dark); width: 18px; height: 18px; }
.rl-checklist strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 0.98rem; margin-bottom: 0.15rem; }
.rl-checklist span { color: var(--rl-muted); font-size: 0.9rem; }

/* ---------- seção urgência / problema ---------- */
.rl-urgent { background: var(--rl-navy); color: #fff; border-radius: 24px; padding: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.rl-urgent::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 0% 0%, rgba(228,40,31,0.28), transparent 70%); }
.rl-urgent__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.rl-urgent h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.rl-urgent p { color: rgba(255,255,255,0.78); }
.rl-urgent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.rl-urgent li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.rl-urgent li::before { content: "!"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--rl-red); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.rl-urgent p { max-width: 44ch; }

/* ---------- depoimentos ---------- */
.rl-testi { background: var(--rl-surface); border: 1px solid var(--rl-border); border-radius: var(--rl-radius); padding: 1.75rem; box-shadow: none; }
.rl-testi__stars { color: var(--rl-orange); letter-spacing: 2px; margin-bottom: 0.75rem; font-size: 0.95rem; }
.rl-testi p { font-size: 1rem; color: var(--rl-ink); margin: 0 0 1.1rem; }
.rl-testi__author { display: flex; align-items: center; gap: 10px; }
.rl-testi__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rl-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9rem; }
.rl-testi__author span { font-size: 0.85rem; color: var(--rl-muted); }

/* ---------- FAQ ---------- */
.rl-faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0.75rem; }
.rl-faq details {
	background: var(--rl-surface);
	border: 1px solid var(--rl-border);
	border-radius: 14px;
	padding: 1.1rem 1.4rem;
}
.rl-faq summary {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem;
}
.rl-faq summary::-webkit-details-marker { display: none; }
.rl-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--rl-orange-text); font-weight: 300; flex-shrink: 0; transition: transform .2s ease; }
.rl-faq details[open] summary::after { transform: rotate(45deg); }
.rl-faq p { color: var(--rl-muted); margin: 0.85rem 0 0; font-size: 0.95rem; max-width: 62ch; }

/* ---------- CTA final ---------- */
.rl-cta-final {
	background: linear-gradient(135deg, var(--rl-orange) 0%, var(--rl-orange-dark) 100%);
	border-radius: 24px;
	padding: clamp(2.5rem, 5vw, 3.5rem);
	color: var(--rl-navy);
}
.rl-cta-final__grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.rl-cta-final h2 { color: var(--rl-navy); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 0.6rem; }
.rl-cta-final p { color: var(--rl-navy); max-width: 46ch; margin: 0 0 1.75rem; }
.rl-cta-final .rl-btn--whatsapp { box-shadow: 0 14px 30px -12px rgba(15,42,82,0.35); }
.rl-cta-final__icon { width: 92px; height: 92px; color: var(--rl-navy); opacity: 0.16; flex-shrink: 0; }
@media (max-width: 700px) { .rl-cta-final__grid { grid-template-columns: 1fr; } .rl-cta-final__icon { display: none; } }

/* ---------- footer ---------- */
.rl-footer { background: var(--rl-navy); color: rgba(255,255,255,0.75); }
.rl-footer__row { max-width: 1400px; margin-inline: auto; padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem 1.5rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.rl-footer h3 { color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 1rem; }
.rl-footer p { font-size: 0.9rem; line-height: 1.7; }
.rl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.rl-footer a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; }
.rl-footer a:hover { color: var(--rl-orange); }
.rl-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.25rem 1.5rem; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ---------- WhatsApp flutuante ---------- */
.rl-float-whatsapp {
	position: fixed;
	right: 1.25rem; bottom: 1.25rem;
	z-index: 200;
	width: 60px; height: 60px;
	border-radius: 50%;
	background: var(--rl-whatsapp);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 24px -8px rgba(10,20,15,0.45);
	color: #fff;
	transition: transform .3s var(--rl-ease-spring);
}
@media (hover: hover) and (pointer: fine) {
	.rl-float-whatsapp:hover { transform: scale(1.08); color: #fff; }
}
.rl-float-whatsapp:active { transform: scale(0.92); transition-duration: .12s; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
	.rl-header__nav, .rl-header__phone { display: none !important; }
	.rl-menu-btn { display: inline-flex; align-items: center; }
	.rl-mobile-nav { display: grid; }
	.rl-hero__grid { grid-template-columns: 1fr; }
	.rl-hero__visual { max-width: 420px; margin-inline: auto; aspect-ratio: 16/11; }
	.rl-stats__row { grid-template-columns: repeat(2, 1fr); }
	.rl-grid--2, .rl-grid--3, .rl-grid--4 { grid-template-columns: 1fr; }
	.rl-urgent__inner { grid-template-columns: 1fr; }
	.rl-footer__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- foco visível (teclado) ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.rl-btn:focus-visible,
.rl-float-whatsapp:focus-visible {
	outline: 3px solid var(--rl-orange);
	outline-offset: 3px;
	border-radius: 6px;
}
a, button, summary { cursor: pointer; }

/* ---------- ícones utilitários (substituem emoji) ---------- */
.rl-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }
.rl-inline-icon { display: inline-flex; align-items: center; gap: 6px; }
.rl-check { color: var(--rl-orange); }
