/* LR — Página inicial baseada no Portfólio 2026 (lr-home.php + lr-home.js).
 * Mesmo visual do PDF: fundo escuro, dourado, DM Sans.
 * Trabalhos em carrosséis de passagem lateral; foto ampliada ao clicar/tocar.
 * Tudo fica dentro de .lrh (e .lrh-amplia) para não interferir no restante do site.
 */

@font-face { font-family: "LR DM Sans"; src: url(fontes/dmsans-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "LR DM Sans"; src: url(fontes/dmsans-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }

body.lr-nova-home { background: #0f0f0f; margin: 0; }

.lrh, .lrh-amplia {
	--bg: #0f0f0f;
	--fg: #fff5dd;
	--muted: #c1b7a3;
	--gold: #fde3a7;
	--btn: #b64e36;
	--line: rgba(253, 227, 167, .22);
	--max: 1440px;
	--gutter: clamp(20px, 5vw, 80px);
	--borda: max(var(--gutter), calc((100vw - var(--max)) / 2));
	--suave: cubic-bezier(.2, .7, .2, 1);
	font-family: "LR DM Sans", "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
.lrh {
	background: var(--bg);
	color: var(--fg);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.lrh *, .lrh *::before, .lrh *::after { box-sizing: border-box; }
.lrh h1, .lrh h2, .lrh h3, .lrh p, .lrh dl, .lrh dd, .lrh figure { margin: 0; }
.lrh h1, .lrh h2, .lrh h3 { font-family: inherit; font-weight: 500; color: var(--fg); letter-spacing: -.03em; }
.lrh img { display: block; max-width: 100%; height: auto; }
.lrh a { color: inherit; }
.lrh section { scroll-margin-top: 80px; }

.lrh-wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.lrh-eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.lrh-eyebrow-g { font-size: clamp(13px, 1.2vw, 16px); }
.lrh-num { font-size: 13px; color: var(--muted); letter-spacing: .1em; margin-bottom: 6px !important; }

/* Botões */
.lrh-botoes { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 34px; }
.lrh-btn { background: var(--btn); color: #fff !important; text-decoration: none; padding: 15px 24px; font-size: 14px; letter-spacing: .02em; transition: background .3s; }
.lrh-btn:hover { background: #9c4a38; }
.lrh-btn-sec { color: var(--gold) !important; text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.lrh-btn-sec:hover { border-color: var(--gold); }

/* ---------- Abertura ---------- */
.lrh-hero { position: relative; display: grid; grid-template-columns: auto 1fr; min-height: min(100svh, 1000px); }
.lrh-hero-foto { position: relative; height: min(100svh, 1000px); aspect-ratio: 9 / 16; overflow: hidden; }
.lrh-hero-foto img { width: 100%; height: 100%; object-fit: cover; }
/* degradê leve da foto para o fundo, sob o início do texto */
.lrh-hero-foto::after { content: ""; position: absolute; inset: 0 -1px 0 auto; width: 38%; background: linear-gradient(90deg, rgba(15,15,15,0), rgba(15,15,15,.6) 55%, var(--bg)); }
.lrh-hero-texto { position: relative; z-index: 1; align-self: center; margin-left: -4vw; padding: 120px var(--gutter) 70px 0; max-width: 820px; }
.lrh-hero h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; margin: 22px 0 14px; }
.lrh-lead { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; color: var(--fg); margin-top: 34px !important; }
.lrh-frase { position: relative; padding-left: 52px; font-size: clamp(19px, 1.75vw, 26px); line-height: 1.4; color: var(--gold); max-width: 640px; margin-top: 22px !important; }
.lrh-frase::before { content: ""; position: absolute; left: 0; top: .72em; width: 36px; height: 1px; background: var(--gold); }

/* ---------- Sobre ---------- */
.lrh-sobre { padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.lrh-sobre-texto { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.55; color: var(--fg); max-width: 900px; margin-top: 18px !important; }
.lrh-areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.lrh-area { border-top: 1px solid var(--line); padding-top: 18px; }
.lrh-area .lrh-eyebrow { font-size: 11px; }
.lrh-area h3 { font-size: 19px; line-height: 1.25; margin: 10px 0 8px; }
.lrh-area p:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Seções de trabalhos: cabeçalho + carrossel ---------- */
.lrh-sec { padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.lrh-sec-topo { display: grid; grid-template-columns: minmax(240px, 420px) 1fr auto; gap: 20px 56px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.lrh-sec-cab h2 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.08; margin-top: 12px; }
.lrh-sec-desc { color: var(--muted); font-size: 15px; max-width: 560px; }

.lrh-setas { display: flex; gap: 10px; }
/* !important: o tema do site pinta todos os botões de laranja quadrado */
.lrh .lrh-seta {
	width: 48px !important; height: 48px !important; padding: 0 !important; border-radius: 50% !important;
	border: 1px solid var(--line) !important; background: transparent !important; color: var(--gold) !important;
	font: inherit; font-size: 18px !important; line-height: 1 !important; cursor: pointer; box-shadow: none !important;
	transition: background .3s, border-color .3s, color .3s;
}
.lrh .lrh-seta:hover, .lrh .lrh-seta:focus-visible { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--bg) !important; outline: none; }

/* trilho: as fotos passam de lado e saem pela borda da tela */
.lrh-carrossel { --alt: clamp(340px, 36vw, 560px); position: relative; }
.lrh-trilho {
	position: relative;
	display: flex; gap: 14px;
	overflow-x: auto; overflow-y: hidden;
	padding: 18px var(--borda) 22px;
	scroll-padding-inline: var(--borda);
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	cursor: grab;
	outline: none;
	user-select: none; -webkit-user-select: none;
}
.lrh-trilho::-webkit-scrollbar { display: none; }
.lrh-trilho.arrastando { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.lrh-trilho:focus-visible { box-shadow: inset 0 0 0 1px var(--line); }

.lrh-slide {
	flex: 0 0 auto;
	height: var(--alt);
	scroll-snap-align: start;
	overflow: hidden;
	background: #1a1a19;
	cursor: zoom-in;
	opacity: .5;
	transform: scale(.95);
	transition: opacity .7s var(--suave), transform .7s var(--suave), box-shadow .5s;
}
.lrh-slide.ativo { opacity: 1; transform: none; }
.lrh-slide img { width: auto; height: 100%; max-width: none; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transition: transform 1.1s var(--suave); }
/* computador: ao passar o mouse a foto cresce um pouco */
@media (hover: hover) and (pointer: fine) {
	.lrh-slide:hover { opacity: 1; transform: scale(1.035); box-shadow: 0 22px 50px rgba(0,0,0,.55); z-index: 2; }
	.lrh-slide:hover img { transform: scale(1.06); }
}

.lrh-progresso { position: relative; height: 1px; background: var(--line); margin-top: 6px; overflow: hidden; }
.lrh-progresso span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.2); transition: transform .4s var(--suave); }

/* ---------- Entrada das seções (só com JS ativo) ---------- */
.lrh-js [data-revela] .lrh-sec-topo > *,
.lrh-js [data-revela] .lrh-hero-texto > * { opacity: 0; transform: translateX(-36px); transition: opacity .9s var(--suave), transform .9s var(--suave); }
.lrh-js [data-revela] .lrh-carrossel { opacity: 0; transform: translateX(90px); transition: opacity 1.1s var(--suave), transform 1.1s var(--suave); }
.lrh-js [data-revela].visivel .lrh-sec-topo > *,
.lrh-js [data-revela].visivel .lrh-hero-texto > *,
.lrh-js [data-revela].visivel .lrh-carrossel { opacity: 1; transform: none; }
.lrh-js [data-revela].visivel .lrh-sec-topo > :nth-child(2),
.lrh-js [data-revela].visivel .lrh-hero-texto > :nth-child(2) { transition-delay: .08s; }
.lrh-js [data-revela].visivel .lrh-sec-topo > :nth-child(3),
.lrh-js [data-revela].visivel .lrh-hero-texto > :nth-child(3) { transition-delay: .16s; }
.lrh-js [data-revela].visivel .lrh-hero-texto > :nth-child(4) { transition-delay: .24s; }
.lrh-js [data-revela].visivel .lrh-hero-texto > :nth-child(5) { transition-delay: .32s; }
.lrh-js [data-revela].visivel .lrh-hero-texto > :nth-child(6) { transition-delay: .4s; }
.lrh-js [data-revela].visivel .lrh-carrossel { transition-delay: .12s; }

/* ---------- Foto ampliada (clique ou toque) ---------- */
.lrh-amplia {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center;
	background: rgba(10, 10, 10, .94);
	opacity: 0; visibility: hidden;
	transition: opacity .35s var(--suave), visibility 0s .35s;
}
.lrh-amplia.aberta { opacity: 1; visibility: visible; transition: opacity .35s var(--suave); }
.lrh-amplia figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lrh-amplia img {
	display: block; max-width: 92vw; max-height: 80vh; width: auto; height: auto;
	transform: scale(.94); opacity: 0;
	transition: transform .45s var(--suave), opacity .45s var(--suave);
	box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lrh-amplia.aberta img.pronta { transform: none; opacity: 1; }
.lrh-amplia figcaption { margin-top: 14px; color: #c1b7a3; font-size: 13px; text-align: center; max-width: 80vw; }
.lrh-amplia button {
	position: absolute; width: 52px !important; height: 52px !important; padding: 0 !important; border-radius: 50% !important;
	border: 1px solid rgba(253, 227, 167, .3) !important; background: rgba(15,15,15,.6) !important; color: #fde3a7 !important;
	font: inherit; font-size: 20px !important; line-height: 1 !important; cursor: pointer; box-shadow: none !important;
}
.lrh-amplia button:hover, .lrh-amplia button:focus-visible { background: #fde3a7 !important; color: #0f0f0f !important; outline: none; }
.lrh-amplia .lrh-fechar { top: 20px; right: 20px; }
.lrh-amplia .lrh-ant { left: 20px; top: 50%; transform: translateY(-50%); }
.lrh-amplia .lrh-prox { right: 20px; top: 50%; transform: translateY(-50%); }
.lrh-amplia .lrh-conta { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #c1b7a3; font-size: 12px; letter-spacing: .2em; }
html.lrh-sem-rolagem, html.lrh-sem-rolagem body { overflow: hidden; }

/* ---------- Abertura dos trabalhos ---------- */
.lrh-trabalhos-intro { padding: clamp(70px, 9vw, 130px) 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 40px; }
.lrh-trabalhos-sub { color: var(--muted); font-size: 15px; }
#trabalhos .lrh-sec:first-of-type { border-top: 0; }

/* ---------- Como funciona ---------- */
.lrh-processo { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.lrh-processo h2 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.08; margin-top: 12px; }
.lrh-etapas { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.lrh-etapas li { border-top: 1px solid var(--line); padding-top: 18px; }
.lrh-etapas .lrh-num { display: block; color: var(--gold); }
.lrh-etapas h3 { font-size: 20px; margin: 8px 0 8px; }
.lrh-etapas p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* entrada suave das seções de texto */
.lrh-js .lrh-trabalhos-intro[data-revela] > *,
.lrh-js .lrh-sobre[data-revela] .lrh-wrap > *,
.lrh-js .lrh-processo[data-revela] .lrh-wrap > *,
.lrh-js .lrh-contato[data-revela] .lrh-contato-grid > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--suave), transform .9s var(--suave); }
.lrh-js .lrh-trabalhos-intro[data-revela].visivel > *,
.lrh-js .lrh-sobre[data-revela].visivel .lrh-wrap > *,
.lrh-js .lrh-processo[data-revela].visivel .lrh-wrap > *,
.lrh-js .lrh-contato[data-revela].visivel .lrh-contato-grid > * { opacity: 1; transform: none; }
.lrh-js [data-revela].visivel .lrh-wrap > :nth-child(2), .lrh-js [data-revela].visivel .lrh-contato-grid > :nth-child(2) { transition-delay: .1s; }
.lrh-js [data-revela].visivel .lrh-wrap > :nth-child(3) { transition-delay: .2s; }

/* ---------- Contato ---------- */
.lrh-contato { padding: clamp(60px, 8vw, 120px) 0 70px; border-top: 1px solid var(--line); }
.lrh-contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.lrh-contato h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.05; margin: 14px 0 16px; }
.lrh-contato-sub { color: var(--muted); font-size: 16px; max-width: 460px; margin-bottom: 26px !important; }
.lrh-btn-whats { display: inline-block; }
.lrh-contatos { margin-top: 34px !important; }
.lrh-contatos div { display: flex; gap: 16px; padding: 7px 0; font-size: 17px; }
.lrh-contatos dt { width: 96px; flex: 0 0 auto; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding-top: 5px; }
.lrh-contatos a { text-decoration: none; }
.lrh-contatos a:hover { color: var(--gold); }
/* formulário em fluxo simples: campos em 2 colunas, mensagem e botão embaixo em largura total */
.lrh-contato-form .zenin-contact-form { margin: 0; display: block !important; }
.lrh-contato-form .zenin-contact-form .form-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.lrh-contato-form .zenin-contact-form > label { display: block; margin-top: 26px; }
.lrh-contato-form .zenin-contact-form button { width: auto; margin-top: 6px; padding: 15px 26px; font-size: 14px; }
.lrh-contato-form .zenin-contact-form .form-note { font-size: 12px; color: var(--muted); }
.lrh-contato-form .zenin-contact-form label { font-size: 13px; }
.lrh-contato-form .zenin-contact-form input,
.lrh-contato-form .zenin-contact-form select,
.lrh-contato-form .zenin-contact-form textarea { font-size: 16px; }
.lrh-contato-form .zenin-contact-form select option { background: #0f0f0f; color: #f5f0e8; }

/* ---------- Tablet e celular ---------- */
@media (max-width: 1100px) {
	.lrh-areas { grid-template-columns: 1fr 1fr; }
	.lrh-etapas { grid-template-columns: 1fr 1fr; }
	.lrh-sec-topo { grid-template-columns: 1fr auto; }
	.lrh-sec-desc { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 900px) {
	.lrh-hero { grid-template-columns: 1fr; min-height: 0; }
	.lrh-hero-foto { height: auto; aspect-ratio: 4 / 5; width: 100%; }
	.lrh-hero-foto img { object-position: center 30%; }
	.lrh-hero-foto::after { inset: auto 0 -1px 0; width: auto; height: 45%; background: linear-gradient(180deg, rgba(15,15,15,0), var(--bg)); }
	.lrh-hero-texto { margin: -60px 0 0; padding: 0 var(--gutter) 60px; }
	.lrh-contato-grid { grid-template-columns: 1fr; }
	.lrh-carrossel { --alt: clamp(260px, 64vw, 460px); }
}
@media (max-width: 600px) {
	.lrh-areas { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; }
	.lrh-etapas { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
	.lrh-setas { display: none; } /* no celular a passagem é com o dedo */
	.lrh-sec-topo { grid-template-columns: 1fr; }
	.lrh-trilho { gap: 10px; padding-block: 12px 16px; }
	.lrh-contatos div { font-size: 16px; }
	.lrh-contato-form .zenin-contact-form .form-grid { grid-template-columns: 1fr; }
	.lrh-amplia .lrh-ant, .lrh-amplia .lrh-prox { top: auto; bottom: 14px; transform: none; }
	.lrh-amplia .lrh-ant { left: 14px; }
	.lrh-amplia .lrh-prox { right: 14px; }
}

/* Quem prefere menos movimento: sem animações nem avanço automático (o JS também respeita) */
@media (prefers-reduced-motion: reduce) {
	.lrh-trilho { scroll-behavior: auto; }
	.lrh-slide, .lrh-slide img, .lrh-amplia, .lrh-amplia img,
	.lrh-js [data-revela] .lrh-sec-topo > *, .lrh-js [data-revela] .lrh-hero-texto > *, .lrh-js [data-revela] .lrh-carrossel, .lrh-js [data-revela] .lrh-wrap > *, .lrh-js [data-revela] .lrh-contato-grid > *, .lrh-js .lrh-trabalhos-intro[data-revela] > * { transition: none !important; transform: none !important; opacity: 1 !important; }
}
