/*
Theme Name: Daniel Reis
Theme URI: https://danielreisdesigner.com
Author: Daniel Reis
Description: Tema próprio do site danielreisdesigner.com. Textos da home em Aparência › Personalizar › Site Daniel Reis. Cases em Painel › Cases. Pedidos de proposta em Painel › Pedidos.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: daniel-reis
*/

:root {
	--grafite: #101820;
	--grafite-2: #16212C;
	--linha: #1E2A36;
	--linha-2: #2C3846;
	--linha-3: #3A4654;
	--laranja: #DC4405;
	--laranja-btn: #C93E04;
	--branco: #FFFFFF;
	--papel: #ECEEF0;
	--papel-2: #E1E4E8;
	--texto-2: #C4C9CF;
	--texto-3: #A3A9B0;
	--escuro-2: #4A5058;
	--escuro-3: #5B6168;
	--font: "helvetica-neue-lt-pro", "Helvetica Neue", "Inter Tight", Helvetica, Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
	--gutter: clamp(16px, 4vw, 48px);
	--max: 1280px;
	--nav-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ink: var(--branco); --ink-2: var(--texto-2); --ink-3: var(--texto-3); --rule: var(--linha-2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { margin: 0; background: var(--grafite); color: var(--branco); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; }
.dot { color: var(--laranja); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Superfícies: grafite (prancheta escura) e papel (folha clara) */
.s-dark { background: var(--grafite); color: var(--branco); --ink: var(--branco); --ink-2: var(--texto-2); --ink-3: var(--texto-3); --rule: var(--linha-2); --grid: rgba(255,255,255,.045); }
.s-paper { background: var(--papel); color: var(--grafite); --ink: var(--grafite); --ink-2: var(--escuro-2); --ink-3: var(--escuro-3); --rule: #C9CED4; --grid: rgba(16,24,32,.05); }

/* Botões: um par só */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--laranja-btn); color: var(--branco); }
.btn--primary:hover { background: #B23703; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Cabeçalho com régua ---------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: rgba(16,24,32,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--branco); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 800; font-size: 20px; letter-spacing: -.04em; text-decoration: none; min-height: 44px; align-items: center; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); font-size: 15px; }
.nav__links a:not(.btn) { position: relative; color: var(--texto-2); text-decoration: none; padding: 6px 0; transition: color .2s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:not(.btn):hover, .nav__links a.is-on { color: var(--branco); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-on::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; border-top: 1px solid var(--linha); background-image: repeating-linear-gradient(90deg, var(--linha-3) 0 1px, transparent 1px 8px), repeating-linear-gradient(90deg, var(--texto-3) 0 1px, transparent 1px 80px); background-size: 100% 4px, 100% 9px; background-repeat: no-repeat; background-position: 0 0, 0 0; }
.ruler__mark { position: absolute; top: -1px; left: 0; height: 10px; width: 2px; background: var(--laranja); transform: translateX(var(--x, 0)); }
.ruler__fill { position: absolute; top: -1px; left: 0; height: 1px; width: var(--w, 0); background: var(--laranja); }
.sheet { font-family: var(--mono); font-size: 11px; color: var(--texto-3); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; min-width: 150px; }
.sheet b { color: var(--branco); font-weight: 500; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--branco); transition: transform .25s; }

/* ---------------- Seções ---------------- */
main > section { position: relative; }
.sec > .wrap, .hero > .wrap { width: 100%; }
.sec { padding: clamp(96px, 11vw, 144px) 0 clamp(80px, 9vw, 120px); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1; max-width: 16ch; }
.sec-head > p { color: var(--ink-2); max-width: 44ch; justify-self: end; }
.tag { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--ink-3); }
.tag::before { content: ""; width: 24px; height: 1px; background: var(--laranja); }

/* ---------------- Início ---------------- */
.hero { min-height: 100svh; padding: calc(var(--nav-h) + clamp(24px, 4vh, 48px)) 0 0; display: flex; flex-direction: column; overflow: hidden; }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(42px, 5vw, 76px); line-height: .98; letter-spacing: -.048em; max-width: 13ch; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); color: var(--texto-2); max-width: 46ch; }
.hero .btns { margin-top: 32px; }

.plate { position: relative; border: 1px solid var(--linha-2); background: rgba(22,33,44,.6); }
.plate__svg { width: 100%; height: auto; aspect-ratio: 4 / 3; color: var(--texto-2); }
.plate__corner { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--texto-3); pointer-events: none; }
.plate__corner--tl { top: 12px; left: 14px; }
.plate__corner--tr { top: 12px; right: 14px; color: var(--laranja); }
.plate__bar { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; border-top: 1px solid var(--linha-2); padding: 14px 16px; }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.stages button { background: none; border: 0; padding: 4px 0 0; text-align: left; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--texto-3); transition: color .2s; }
.stages button:hover, .stages button.is-on { color: var(--branco); }
.stages button b { color: var(--laranja); font-weight: 500; margin-right: 6px; }
.scrub { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 20px; margin: 0; background: transparent; cursor: ew-resize; }
.scrub::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--laranja) var(--p, 0%), var(--linha-3) var(--p, 0%)); }
.scrub::-moz-range-track { height: 2px; background: var(--linha-3); }
.scrub::-moz-range-progress { height: 2px; background: var(--laranja); }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--grafite); border: 2px solid var(--laranja); transition: transform .15s; }
.scrub::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--grafite); border: 2px solid var(--laranja); }
.scrub:hover::-webkit-slider-thumb { transform: scale(1.15); }
.play { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linha-3); background: none; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.play:hover { border-color: var(--branco); transform: translateY(-1px); }

.stamp { margin-top: clamp(28px, 4vh, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linha-2); }
.stamp > div { padding: 20px 24px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.stamp > div + div { padding-left: 24px; border-left: 1px solid var(--linha); }
.stamp .mono { color: var(--texto-3); font-size: 11px; }
.stamp strong { font-size: 19px; letter-spacing: -.02em; }
.stamp span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--texto-3); }
.stamp .stamp__sheet { justify-content: flex-end; text-align: right; min-width: 120px; }
.stamp__sheet strong { font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: 0; }

/* Mira de CAD (só com mouse) */
.cross { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 1; }
.hero:hover .cross { opacity: 1; }
.cross__x, .cross__y { position: absolute; background: rgba(220,68,5,.35); }
.cross__x { left: 0; right: 0; height: 1px; top: 0; transform: translateY(var(--cy, -10px)); }
.cross__y { top: 0; bottom: 0; width: 1px; left: 0; transform: translateX(var(--cx, -10px)); }
.cross__lbl { position: absolute; top: 0; left: 0; transform: translate(calc(var(--cx, 0px) + 10px), calc(var(--cy, 0px) + 10px)); font-family: var(--mono); font-size: 10.5px; color: var(--laranja); white-space: nowrap; }
.hero > .wrap { position: relative; z-index: 2; width: 100%; }

/* ---------------- Cases ---------------- */
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.idx { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grafite); }
.idx a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; position: relative; transition: padding .3s var(--ease); }
.idx a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.idx a:hover::before, .idx a.is-on::before { transform: scaleX(1); }
.idx a:hover, .idx a.is-on { padding-left: 10px; }
.idx__n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.idx a.is-on .idx__n { color: var(--laranja); }
.idx__t { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.idx__s { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); text-align: right; }
.idx__e { grid-column: 2 / -1; font-size: 15px; color: var(--ink-2); }
.idx__thumb { display: none; }
.view { position: sticky; top: calc(var(--nav-h) + 24px); }
.view__frame { position: relative; aspect-ratio: 7 / 5; background: var(--branco); border: 1px solid var(--rule); overflow: hidden; }
.view__frame { display: block; }
.view__item, .view__frame > svg { position: absolute; inset: 0; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.view__item img, .view__item .draw, .view__item svg, .view__frame > svg, .idx__thumb img, .idx__thumb .draw, .idx__thumb svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.view__frame:hover .is-on { transform: scale(1.025); }
.view__item:not(.is-on), .view__frame > svg:not(.is-on) { opacity: 0; }
.view__stamp { display: grid; grid-template-columns: 1fr 1fr auto; border: 1px solid var(--rule); border-top: 0; background: var(--branco); }
.view__stamp > div { padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.view__stamp > div + div { border-left: 1px solid var(--rule); }
.view__stamp .mono { font-size: 10.5px; color: var(--ink-3); }
.view__stamp a { font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 8px; color: var(--laranja-btn); }
.view__stamp a span { transition: transform .2s var(--ease); }
.view__stamp a:hover span { transform: translateX(3px); }
.work__more { margin-top: 32px; }

/* ---------------- Diagnóstico ---------------- */
.diag { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; border: 1px solid var(--linha-2); background: var(--grafite-2); cursor: pointer; transition: border-color .2s, transform .2s var(--ease), background-color .2s; }
.check:hover { transform: translateY(-2px); border-color: var(--linha-3); }
.check:has(input:checked) { border-color: var(--laranja); background: #1B1D22; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 24px; height: 24px; border: 1.5px solid var(--linha-3); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check__box svg { width: 14px; height: 14px; stroke: var(--branco); stroke-width: 2.4; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .3s var(--ease); }
.check input:checked ~ .check__box { background: var(--laranja); border-color: var(--laranja); }
.check input:checked ~ .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible ~ .check__box { outline: 2px solid var(--laranja); outline-offset: 3px; }
.check strong { font-size: 21px; letter-spacing: -.02em; line-height: 1.15; margin-top: 8px; }
.check span:last-child { color: var(--texto-2); font-size: 15.5px; line-height: 1.55; }
.report { display: flex; flex-direction: column; border: 1px solid var(--linha-2); }
.report__head { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--linha-2); color: var(--texto-3); }
.report__body { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 28px 24px; }
.gauge { position: relative; height: 56px; }
.gauge__track { position: absolute; left: 0; right: 0; top: 18px; height: 14px; background-image: repeating-linear-gradient(90deg, var(--linha-3) 0 1px, transparent 1px 25%); border-bottom: 1px solid var(--linha-3); }
.gauge__fill { position: absolute; left: 0; top: 18px; height: 14px; width: var(--g, 0%); background: var(--laranja); transition: width .5s var(--ease); }
.gauge__ticks { position: absolute; left: 0; right: 0; top: 38px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--texto-3); }
.report__n { font-family: var(--mono); font-size: 13px; color: var(--texto-3); }
.report__n b { font-size: 44px; line-height: 1; font-weight: 500; color: var(--branco); letter-spacing: -.04em; margin-right: 6px; font-family: var(--font); }
.report__verdict { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; min-height: 2.3em; }
.report__text { color: var(--texto-2); font-size: 15.5px; }
.report .btn { margin-top: auto; align-self: flex-start; }
.report .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------------- Serviços ---------------- */
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.svc__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--grafite); }
.svc__tab { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 4px 12px; text-align: left; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.svc__tab .idx__n { padding-top: 10px; }
.svc__tab h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; color: var(--ink-3); transition: color .25s; }
.svc__tab:hover h3, .svc__tab[aria-selected="true"] h3 { color: var(--ink); }
.svc__tab[aria-selected="true"] .idx__n { color: var(--laranja); }
.svc__pm { align-self: center; justify-self: end; width: 14px; height: 14px; position: relative; }
.svc__pm::before, .svc__pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.svc__pm::after { transform: rotate(90deg); }
.svc__tab[aria-selected="true"] .svc__pm::after { transform: rotate(0); }
.svc__more { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.svc__more > span { display: block; overflow: hidden; }
.svc__tab[aria-selected="true"] .svc__more { grid-template-rows: 1fr; }
.svc__p { display: block; padding-top: 12px; color: var(--ink-2); font-size: 16.5px; max-width: 44ch; }
.svc__ul { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__ul span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; padding: 6px 10px; border: 1px solid var(--rule); background: var(--branco); }
.svc__panel { position: sticky; top: calc(var(--nav-h) + 24px); }
.svc__panel .view__frame { aspect-ratio: 7 / 5; }

/* ---------------- Processo (cronograma) ---------------- */
.gantt { border-top: 1px solid var(--linha-2); }
.gantt__head, .gantt__row { display: grid; grid-template-columns: minmax(180px, .9fr) minmax(0, 2.1fr); }
.gantt__head { padding: 12px 0; border-bottom: 1px solid var(--linha-2); color: var(--texto-3); }
.gantt__head div:last-child { display: flex; justify-content: space-between; }
.gantt__row { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--linha); padding: 0; text-align: left; cursor: pointer; }
.gantt__label { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 4px; }
.gantt__label .mono { color: var(--texto-3); }
.gantt__label strong { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; transition: color .2s; }
.gantt__lane { position: relative; background-image: linear-gradient(90deg, var(--linha) 1px, transparent 1px); background-size: 12.5% 100%; }
.gantt__bar { position: absolute; top: 50%; height: 14px; margin-top: -7px; left: var(--a); width: calc(var(--b) - var(--a)); background: var(--linha-3); transition: background-color .25s, height .25s, margin .25s; }
.gantt__bar::after { content: attr(data-out); position: absolute; left: 0; top: 22px; white-space: nowrap; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--texto-2); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.gantt__bar--end::after { left: auto; right: 0; }
.gantt__row:hover .gantt__bar, .gantt__row.is-on .gantt__bar { background: var(--laranja); height: 22px; margin-top: -11px; }
.gantt__row:hover .gantt__bar::after, .gantt__row.is-on .gantt__bar::after { opacity: 1; transform: none; }
.gantt__detail { margin-top: 28px; display: grid; grid-template-columns: minmax(180px, .9fr) minmax(0, 2.1fr); }
.gantt__detail .mono { color: var(--texto-3); padding-top: 6px; }
.gantt__detail p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--texto-2); max-width: 52ch; min-height: 3em; }

/* ---------------- Sobre ---------------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__name { font-size: clamp(64px, 10vw, 156px); line-height: .86; letter-spacing: -.06em; font-weight: 800; }
.about__name > span { display: block; }
.about__txt { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; max-width: 50ch; }
.about__txt p:first-child { font-size: 20px; line-height: 1.5; }
.about__txt p + p { color: var(--ink-2); }
.spec { border: 1px solid var(--grafite); background: var(--branco); }
.spec__row { display: grid; grid-template-columns: 140px minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.spec__row:last-child { border-bottom: 0; }
.spec__row > * { padding: 16px 18px; margin: 0; }
.spec dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); border-right: 1px solid var(--rule); }
.spec dd { font-size: 16px; }
.spec__head { display: flex; justify-content: space-between; padding: 12px 18px; background: var(--grafite); color: var(--branco); }
.spec__foot { padding: 18px; }

/* ---------------- Proposta ---------------- */
.prop { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prop h2 { font-size: clamp(40px, 5.4vw, 80px); line-height: .98; letter-spacing: -.045em; }
.prop__lead { margin-top: 24px; color: var(--texto-2); max-width: 40ch; }
.prop__note { margin-top: 32px; padding-left: 16px; border-left: 2px solid var(--laranja); display: flex; flex-direction: column; gap: 4px; }
.prop__note span { color: var(--texto-3); font-size: 15px; }
.prop__carry { margin-top: 24px; padding: 14px 16px; border: 1px dashed var(--laranja); font-size: 14.5px; color: var(--texto-2); display: none; }
.prop__carry.is-on { display: block; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .fs legend { font-size: 14px; color: var(--texto-2); }
.span2 { grid-column: 1 / -1; }
.inp { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--linha-2); border-radius: 0; background: var(--grafite-2); color: var(--branco); font: inherit; font-size: 16px; transition: border-color .2s; }
.inp:hover { border-color: var(--linha-3); }
.inp:focus { outline: none; border-color: var(--laranja); }
.inp::placeholder { color: #7C8792; }
select.inp { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C4C9CF' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.inp { min-height: 120px; resize: vertical; }
.fs { border: 0; margin: 0; padding: 0; }
.fs legend { padding: 0; margin-bottom: 10px; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.chip { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--linha-2); font-size: 15px; cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--texto-3); transform: translateY(-1px); }
.chip:has(input:checked) { border-color: var(--laranja); background: #1B1D22; }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--laranja); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; }
.form__foot small { color: var(--texto-3); font-size: 13px; max-width: 36ch; }
.done { display: none; flex-direction: column; gap: 16px; border: 1px solid var(--laranja); padding: 40px; }
.done.is-on { display: flex; }
.done strong { font-size: 30px; letter-spacing: -.03em; }
.done p { color: var(--texto-2); }

/* ---------------- Rodapé ---------------- */
.foot { border-top: 1px solid var(--linha); padding: 36px 0; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.foot nav a { color: var(--texto-2); text-decoration: none; position: relative; }
.foot nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.foot nav a:hover { color: var(--branco); }
.foot nav a:hover::after { transform: scaleX(1); }
.foot .mono { color: var(--texto-3); }


/* ---------------- Peças do tema ---------------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--branco); color: var(--grafite); padding: 10px 16px; }
.skip:focus { left: 8px; }
.logo svg, .logo__img { height: 36px; width: auto; }
body:not(.home) main { padding-top: var(--nav-h); }
.hero .tag { color: var(--texto-3); }
.plate { margin: 0; }
.draw { background: #F6F7F8; }
.clients { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--linha); }
.clients .wrap { display: flex; flex-direction: column; gap: 28px; }
.clients .mono { color: var(--texto-3); }
.clients ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 24px 48px; align-items: center; }
.clients li { display: flex; align-items: center; justify-content: center; height: 52px; }
.clients img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; opacity: .7; transition: opacity .2s, transform .2s var(--ease); }
.clients li:hover img { opacity: 1; transform: translateY(-2px); }
.clients--white img { filter: brightness(0) invert(1); }
.about--solo { grid-template-columns: 1fr; }
.about--solo > div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: end; }
.about--solo .about__name { grid-row: 1 / 3; }
.about--solo .about__txt { margin-top: 0; }
.about__btn { margin-top: 32px; }
.about__foto { max-width: 520px; justify-self: end; width: 100%; }
@media (max-width: 1080px) { .about--solo > div { display: block; } .about--solo .about__txt { margin-top: 36px; } .about__foto { justify-self: start; } }
.about__side { display: flex; flex-direction: column; gap: 16px; }
.about__foto { overflow: hidden; border: 1px solid var(--grafite); }
.about__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.about__foto:hover img { transform: scale(1.025); }
.spec { margin: 0; }
.alert { padding: 14px 16px; border: 1px solid var(--laranja); font-size: 15px; margin: 0; }
.dr-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { margin: 0; }

/* ---------------- Páginas internas (cases, páginas, 404) ---------------- */
.lbl { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--texto-3); }
.light { background: var(--papel); color: var(--grafite); --ink: var(--grafite); --ink-2: var(--escuro-2); --ink-3: var(--escuro-3); --rule: #C9CED4; }
.light .muted { color: var(--escuro-3); }
.h-display { font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -.045em; }
.h-section { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.04em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--texto-2); max-width: 560px; }
.light .lead { color: var(--escuro-2); }
.section { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.stack { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.sec-head__title { display: flex; flex-direction: column; gap: 20px; }
.stack > .sec-head { margin-bottom: 0; }
.btn--dark { background: var(--grafite); color: var(--branco); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.case { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.case:hover { transform: translateY(-2px); transition: transform .2s var(--ease); }
.case--feat { grid-column: span 2; }
.case__media { overflow: hidden; background: var(--papel-2); border: 1px solid var(--rule); }
.case__media img, .case__ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.case--feat .case__media img, .case--feat .case__ph { aspect-ratio: 16 / 9; }
.case:hover .case__media img { transform: scale(1.025); }
.case__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.case__title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.case-hero__head { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); }
.case-hero__head .lbl a { color: var(--texto-3); text-decoration: none; }
.case-hero__head .lbl a:hover { color: var(--branco); }
.case-hero__img { padding-bottom: clamp(40px, 6vw, 72px); }
.case-hero__img img { width: 100%; height: auto; }
.page-head { margin-bottom: clamp(32px, 4vw, 56px); }
.entry > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry > * + * { margin-top: 1.4em; }
.entry > .alignwide { max-width: 1200px; }
.entry > .alignfull, .entry > .dr-full { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.entry h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.03em; margin-top: 2em; }
.entry h3 { font-size: 24px; letter-spacing: -.02em; margin-top: 1.6em; }
.entry p, .entry li { font-size: 18px; line-height: 1.65; }
.entry img { height: auto; }
.entry figcaption { margin-top: 8px; font-size: 14px; color: var(--texto-3); }
.light .entry a { color: var(--laranja-btn); }
.light .entry figcaption { color: var(--escuro-3); }
.has-laranja-color { color: var(--laranja); }
.has-laranja-background-color { background-color: var(--laranja); }
.has-grafite-color { color: var(--grafite); }
.has-grafite-background-color { background-color: var(--grafite); }
.has-branco-color { color: var(--branco); }
.has-branco-background-color { background-color: var(--branco); }
@media (max-width: 900px) {
	.case-grid { grid-template-columns: 1fr; }
	.case--feat { grid-column: auto; }
}

/* ---------------- Responsivo ---------------- */
@media (max-width: 1080px) {
	.hero__grid { grid-template-columns: 1fr; align-content: center; padding-bottom: 8px; }
	.hero h1 { max-width: 14ch; }
	.plate { max-width: 760px; }
	.stamp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.stamp__sheet { display: none !important; }
	.work, .svc, .about, .prop { grid-template-columns: 1fr; }
	.view, .svc__panel { position: relative; top: 0; }
	.svc__panel { order: -1; }
	.diag { grid-template-columns: 1fr; }
	.sec-head { grid-template-columns: 1fr; }
	.sec-head > p { justify-self: start; }
	.sheet { display: none; }
}
@media (max-width: 820px) {
	.nav__links { position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 24px var(--gutter); background: var(--grafite); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
	.nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
	.nav__links a:not(.btn) { font-size: 28px; font-weight: 700; color: var(--branco); padding: 14px 0; border-bottom: 1px solid var(--linha); }
	.nav__links a:not(.btn)::after { display: none; }
	.nav__links .btn { margin-top: 24px; min-height: 52px; }
	.menu-btn { display: block; }
	.nav.is-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
	.nav.is-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
	.stamp { grid-template-columns: 1fr; }
	.stamp > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--linha); }
	.stamp > div { padding: 16px 0; }
	.view { display: none; }
	.idx__thumb { display: block; grid-column: 1 / -1; margin-top: 14px; aspect-ratio: 7 / 5; background: var(--branco); border: 1px solid var(--rule); }
	
	.checks { grid-template-columns: 1fr; }
	.gantt__head, .gantt__row, .gantt__detail { grid-template-columns: 1fr; }
	.gantt__head div:first-child { display: none; }
	.gantt__label { padding: 18px 0 8px; }
	.gantt__lane { height: 52px; }
	.gantt__bar::after { display: none; }
	.gantt__detail .mono { color: var(--texto-3); padding-top: 6px; }
.gantt__detail p { min-height: 0; }
	.form { grid-template-columns: 1fr; }
	.spec__row { grid-template-columns: 112px minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.btns .btn, .form .btn, .report .btn { width: 100%; }
	.idx__s { display: none; }
	.idx a { grid-template-columns: 36px minmax(0, 1fr); }
	.plate__corner--tl { display: none; }
	.view__stamp { grid-template-columns: 1fr; }
}
@media (hover: none) { .cross { display: none; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.sec:has(.about--solo) { min-height: 0; }

/* Títulos de seção em duas linhas no computador (quebra definida com Enter no Personalizar) */
@media (min-width: 1081px) {
	.sec-head { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
	.sec-head h2 { max-width: none; font-size: clamp(36px, 4.4vw, 64px); text-wrap: balance; }
	.prop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.prop h2 { font-size: clamp(40px, 4.6vw, 68px); text-wrap: balance; }
}

/* Quadro do início com imagens (etapas 01, 02 e 03 do Personalizar) */
.plate__imgs { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grafite-2); }
.plate__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate__imgs img + img { opacity: 0; will-change: opacity, transform; }
.plate__imgs + .plate__bar, .plate:has(.plate__imgs) .plate__corner { position: relative; }
.plate:has(.plate__imgs) .plate__corner { position: absolute; z-index: 2; padding: 4px 8px; background: rgba(16, 24, 32, .72); }

/* ================= Camada de movimento (1.3.0) ================= */
html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

/* Tela de carregamento: só na primeira página da visita */
.loader__top, .loader__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.loader__top { color: var(--texto-3); }
.loader__logo { align-self: center; color: #fff; }
.loader__logo svg, .loader__logo img { height: clamp(56px, 7vw, 88px); width: auto; animation: drLogo 1.2s var(--ease) both; }
.loader__bottom .mono { color: var(--texto-3); }
.loader__n { font-weight: 800; font-size: clamp(64px, 11vw, 160px); line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--linha); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--laranja); }
.is-leaving .loader { animation: none; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); }
@keyframes drLogo { from { opacity: 0; transform: translateY(14px) scale(.94); } }

/* Cursor */
.cur { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; mix-blend-mode: difference; display: none; transition: opacity .25s; }
.has-cur .cur { display: block; }
.has-cur body, .has-cur a, .has-cur button, .has-cur [data-cur], .has-cur label, .has-cur select { cursor: none; }
.cur__dot, .cur__ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cur__dot i { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; transition: opacity .2s; }
.cur__ring i { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid #fff; display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s; }
.cur.is-link .cur__ring i { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cur.has-lbl .cur__ring i { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; }
.cur__ring b { font: 500 10px/1.15 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; text-align: center; padding: 0 8px; }
.cur.has-lbl .cur__ring b { opacity: 1; }
.cur.has-lbl .cur__dot i { opacity: 0; }
.cur.is-off { opacity: 0; }

/* Títulos em linhas */
.ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ln__i { display: block; transform: translate3d(0, 110%, 0); transition: transform 1.05s var(--ease); transition-delay: calc(var(--l) * 95ms); }
.is-in .ln__i { transform: none; }

/* Revelações */
.fx .reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) .1s; }
.fx .is-in .reveal, .fx .reveal.is-in { clip-path: inset(0 0 0 0); }
.fx .rise { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.fx .is-in .rise { opacity: 1; transform: none; }

/* Perguntas frequentes com cadeado */
.lock { border-top: 1px solid var(--rule); }
.lock__head, .lock__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 44px; gap: 32px; }
.lock__head { padding: 12px 0; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.lock__head span:last-child { text-align: right; }
.lock__row { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); padding: 22px 0; align-items: start; color: inherit; transition: background-color .3s, padding .35s var(--ease); }
.lock__row:hover { background: rgba(255,255,255,.03); padding-left: 10px; }
.lock__t { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.lock__p { font-size: 17px; line-height: 1.55; color: var(--ink-2); filter: blur(7px); opacity: .55; transition: filter .5s var(--ease), opacity .5s; }
.lock__row.is-open .lock__p { filter: none; opacity: 1; }
.lock__ic { justify-self: end; color: var(--ink-3); transition: color .3s; }
.lock__ic svg { display: block; overflow: visible; }
.lock__sh { transition: transform .4s var(--ease); transform-origin: 16px 11px; transform-box: view-box; }
.lock__row.is-open .lock__sh { transform: translateY(-2px) rotate(-38deg); }
.lock__row.is-open .lock__ic { color: var(--laranja); }
@media (hover: hover) { .lock__row:hover .lock__p { filter: none; opacity: 1; } .lock__row:hover .lock__ic { color: var(--laranja); } .lock__row:hover .lock__sh { transform: translateY(-2px) rotate(-38deg); } }
.no-js .lock__p { filter: none; opacity: 1; }

@media (max-width: 820px) {
	.lock__head { display: none; }
	.lock__row { grid-template-columns: minmax(0, 1fr) 32px; gap: 10px 12px; }
	.lock__p { grid-column: 1; }
	.lock__ic { grid-row: 1; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .lock__p { filter: none; opacity: 1; } }

/* ================= Páginas de case (1.4.0) ================= */
.sup { font-family: var(--mono); font-size: .24em; letter-spacing: .02em; vertical-align: super; margin-left: .3em; color: var(--ink-3); font-weight: 400; }
.single-dr_case main { padding-top: 0; }
.ch > .wrap, .cn > .wrap, .clist-sec > .wrap { width: 100%; }
.ch { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: calc(var(--nav-h) + 28px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.ch__bg { position: absolute; inset: 0; overflow: hidden; }
.ch__bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; filter: brightness(.42) saturate(.7) contrast(1.05); transform: translate3d(0, var(--py, 0px), 0) scale(1.03); }
.ch__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,.75) 0%, rgba(16,24,32,.1) 35%, rgba(16,24,32,.3) 60%, rgba(16,24,32,.95) 100%); }
.ch__top { position: relative; display: flex; justify-content: space-between; gap: 16px; color: var(--texto-2); }
.ch__top a { color: var(--texto-2); text-decoration: none; justify-self: start; position: relative; }
.ch__top a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ch__top a:hover { color: #fff; }
.ch__top a:hover::after { transform: scaleX(1); }
.ch__top span:last-child { text-align: right; }
.ch__bottom { position: relative; }
.ch__title { font-size: clamp(60px, 11.5vw, 190px); line-height: .88; letter-spacing: -.06em; font-weight: 800; max-width: 12ch; }
.ch__lead { margin-top: 24px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; color: var(--texto-2); max-width: 54ch; }
.ch__stamp { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.ch__stamp div { padding: 14px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.ch__stamp div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
.ch__stamp dt { color: var(--texto-3); font-size: 11px; }
.ch__stamp dd { margin: 0; font-size: 17px; }

/* Corpo editorial */
.cb { padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.entry--case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; counter-reset: dch; }
.entry--case > * { grid-column: 6 / -1; max-width: none; margin: 0 0 1.1em; }
.entry--case > * + * { margin-top: 0; }
.entry--case > p { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.entry--case > p:first-child { grid-column: 1 / span 10; font-size: clamp(24px, 2.5vw, 38px); line-height: 1.28; letter-spacing: -.025em; color: var(--ink); margin-bottom: 1.5em; }
.entry--case > h2, .entry--case > h3 { grid-column: 1 / -1; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.045em; margin: 1.4em 0 .7em; counter-increment: dch; max-width: 16ch; }
.entry--case > h2::before, .entry--case > h3::before { content: counter(dch, decimal-leading-zero) " /"; display: block; font: 400 12px/1 var(--mono); letter-spacing: .04em; color: var(--laranja); margin-bottom: 20px; }
.entry--case > .wp-block-image { grid-column: 1 / -1; margin: clamp(32px, 4vw, 56px) 0; overflow: hidden; cursor: zoom-in; }
.entry--case > .wp-block-image img { display: block; width: 100%; height: auto; transition: transform .9s var(--ease); }
.entry--case > .wp-block-image:hover img { transform: scale(1.015); }
.entry--case figcaption { margin-top: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.entry--case > ul, .entry--case > ol { list-style: none; padding: 0; border-top: 1px solid var(--rule); counter-reset: dli; }
.entry--case > ul li, .entry--case > ol li { display: grid; grid-template-columns: 48px 1fr; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 18px; line-height: 1.5; counter-increment: dli; margin: 0; }
.entry--case > ul li::before, .entry--case > ol li::before { content: counter(dli, decimal-leading-zero); font: 400 11px/1.9 var(--mono); color: var(--laranja); }
.entry--case > .drap-case { grid-column: 1 / -1; }
.single-dr_case .cb:has(.drap-case) { padding: 0; }

/* Galerias do editor viram mosaico */
.entry--case > .wp-block-gallery { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 240px); grid-auto-flow: dense; gap: 44px 12px !important; margin: clamp(40px, 5vw, 64px) 0 !important; flex-wrap: initial; }
.entry--case > .wp-block-gallery[data-n="2"] { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(220px, 30vw, 480px); }
.entry--case > .wp-block-gallery[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 24vw, 380px); }
.entry--case > .wp-block-gallery.has-nested-images figure.wp-block-image:not(#dr) { position: relative; width: auto !important; max-width: none; margin: 0 !important; overflow: hidden; cursor: zoom-in; transform: translate3d(0, var(--fy, 0px), 0); will-change: transform; }
.entry--case > .wp-block-gallery.has-nested-images figure.wp-block-image:not(#dr) img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .9s var(--ease); }
.entry--case > .wp-block-gallery.has-nested-images figure.wp-block-image:not(#dr):hover img { transform: scale(1.05); }
.entry--case > .wp-block-gallery[data-n="m"] > figure:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.entry--case > .wp-block-gallery[data-n="m"] > figure:nth-child(7n+4) { grid-column: span 2; }
.entry--case > .wp-block-gallery[data-n="m"] > figure:nth-child(7n+6) { grid-row: span 2; }
.fx .rise.is-in { opacity: 1; transform: none; }
.fx .rv-img img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) .05s, transform .9s var(--ease); }
.fx .rv-img.is-in img { clip-path: inset(0 0 0 0); }

/* Próximo case */
.cn { padding: clamp(80px, 9vw, 128px) 0; }
.cn__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 8px 48px; align-items: end; text-decoration: none; color: #fff; border-top: 1px solid var(--linha-2); padding-top: 28px; }
.cn__link > .mono { color: var(--texto-3); grid-column: 1; }
.cn__t { grid-column: 1; display: block; font-size: clamp(52px, 8.5vw, 140px); line-height: .9; letter-spacing: -.06em; font-weight: 800; margin: 10px 0; }
.cn__t .arr { color: var(--laranja); display: inline-block; transition: transform .4s var(--ease); }
.cn__link:hover .cn__t .arr { transform: translateX(14px); }
.cn__img { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 4 / 3; overflow: hidden; }
.cn__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cn__link:hover .cn__img img { transform: scale(1.05); }
.cta-case { border-top: 1px solid var(--linha); }
.cta-case h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; }

/* Lista de cases */
.clist__h { font-size: clamp(64px, 11vw, 180px); line-height: .88; letter-spacing: -.06em; font-weight: 800; }
.clist { border-top: 1px solid var(--rule); }
.clist__head, .clist__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 70px; gap: 24px; align-items: center; }
.clist__head { padding: 12px 16px; color: var(--ink-3); }
.clist__head span:last-child, .clist__row > span:nth-child(4) { text-align: right; }
.clist__row { padding: 20px 16px; border-bottom: 1px solid var(--rule); color: #fff; text-decoration: none; transition: background-color .25s, color .25s, padding .35s var(--ease); }
.clist__t { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.025em; }
.clist__row > span:nth-child(2), .clist__row > span:nth-child(3) { color: var(--texto-3); font-size: 16px; transition: color .25s; }
.clist__row:hover, .clist__row:focus-visible { background: #fff; color: var(--grafite); padding-left: 26px; }
.clist__row:hover > span:nth-child(2), .clist__row:hover > span:nth-child(3) { color: var(--escuro-3); }
.clist__th { display: none; }
.clist__pv { position: fixed; left: 0; top: 0; z-index: 70; width: 380px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; overflow: hidden; transition: opacity .3s; will-change: transform; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.clist__pv.on { opacity: 1; }
.clist__pv img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) {
	.clist__head { display: none; }
	.clist__row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 18px 0; }
	.clist__row > span:nth-child(3) { display: none; }
	.clist__row > span:nth-child(2) { grid-column: 1; grid-row: 2; }
	.clist__row > span:nth-child(4) { grid-row: 1; grid-column: 2; }
	.clist__th { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; overflow: hidden; margin-top: 12px; }
	.clist__th img { width: 100%; height: 100%; object-fit: cover; }
	.clist__pv { display: none; }
}

/* Ampliar imagem */
.zoom { position: fixed; inset: 0; z-index: 160; background: rgba(10,14,20,.96); display: grid; grid-template-rows: 64px 1fr 64px; }
.zoom__bar { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gutter); color: var(--texto-3); }
.zoom__img { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.zoom__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom__nav { display: flex; justify-content: center; gap: 8px; align-items: center; }
.zoom button { min-height: 40px; padding: 0 16px; border: 1px solid var(--linha-3); border-radius: 999px; background: none; color: #fff; font: 600 14px var(--font); }
.zoom button:hover { border-color: #fff; }

@media (max-width: 820px) {

	.ch__stamp { grid-template-columns: 1fr; } .ch__stamp div + div { border-left: 0; padding-left: 0; }
	.entry--case { grid-template-columns: 1fr; } .entry--case > *, .entry--case > p:first-child { grid-column: 1 / -1; }
	.entry--case > .wp-block-gallery, .entry--case > .wp-block-gallery[data-n] { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; gap: 10px !important; }
	.entry--case > .wp-block-gallery[data-n="m"] > figure:nth-child(n) { grid-column: auto; grid-row: auto; }
	.entry--case > .wp-block-gallery[data-n="m"] > figure:nth-child(5n+1) { grid-column: 1 / -1; }
	.cn__link { grid-template-columns: 1fr; } .cn__img { grid-column: 1; grid-row: auto; margin-top: 16px; }
}

/* Mosaico nas páginas de case (igual à apresentação) */
.entry--case > .mo { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 240px); grid-auto-flow: dense; gap: 44px 12px; margin: clamp(48px, 6vw, 80px) 0; }
.entry--case > .mo[data-n="2"] { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(220px, 30vw, 480px); }
.entry--case > .mo[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 24vw, 380px); }
.mo__it { position: relative; margin: 0; overflow: hidden; background: var(--papel-2); cursor: zoom-in; transform: translate3d(0, var(--fy, 0px), 0); will-change: transform; }
.mo__it img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: clip-path 1.3s var(--ease), transform .9s var(--ease); }
.mo__it:hover img { transform: scale(1.05); }
.mo__it figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(10,14,20,.75)); opacity: 0; transition: opacity .35s; }
.mo__it:hover figcaption { opacity: 1; }
.entry--case > .mo[data-n="m"] > .mo--0 { grid-column: span 2; grid-row: span 2; }
.entry--case > .mo[data-n="m"] > .mo--3 { grid-column: span 2; }
.entry--case > .mo[data-n="m"] > .mo--5 { grid-row: span 2; }
@media (max-width: 820px) {
	.entry--case > .mo, .entry--case > .mo[data-n] { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; gap: 10px; }
	.entry--case > .mo[data-n="m"] > .mo__it { grid-column: auto; grid-row: auto; }
	.entry--case > .mo > .mo__it:nth-child(5n+1) { grid-column: 1 / -1; }
}

/* ================= Blocos de estrutura dos cases (1.5.0) · Padrões › Daniel Reis ================= */
.entry .wp-block-group__inner-container { display: contents; }
.entry--case > .dr-fatos, .entry--case > .dr-citacao, .entry--case > .dr-antesdepois, .entry--case > .dr-processo, .entry--case > .dr-frentes, .entry--case > .dr-papel { grid-column: 1 / -1; margin: clamp(40px, 5vw, 72px) 0; }
.dr-fatos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--grafite); }
.dr-fato { padding: 22px 24px 0 0; }
.dr-fato + .dr-fato { padding-left: 24px; border-left: 1px solid var(--rule); }
.entry .dr-fato p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 28ch; }
.entry .dr-fato p.dr-fato__n { font-size: clamp(40px, 5vw, 76px); font-weight: 800; letter-spacing: -.055em; line-height: .95; color: var(--ink); margin-bottom: 12px; max-width: none; }

.entry--case > .dr-citacao { margin: clamp(56px, 7vw, 110px) 0; padding: 0; border: 0; position: relative; }
.entry .dr-citacao p { margin: 0; font-size: clamp(30px, 4vw, 60px); line-height: 1.08; letter-spacing: -.04em; font-weight: 700; color: var(--ink); max-width: 22ch; text-wrap: balance; }
.entry .dr-citacao p::before { content: "“"; color: var(--laranja); margin-left: -.5em; display: inline-block; width: .5em; }
.dr-citacao cite { display: flex; align-items: center; gap: 12px; margin-top: 26px; font: 400 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }
.dr-citacao cite::before { content: ""; width: 24px; height: 1px; background: var(--laranja); }

.dr-antesdepois { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dr-ad__col { padding: 28px; border: 1px solid var(--rule); background: #fff; }
.dr-ad__depois { background: var(--grafite); color: #fff; border-color: var(--grafite); }
.entry .dr-ad__t { margin: 0 0 18px; font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.entry .dr-ad__depois .dr-ad__t { color: var(--texto-3); }
.dr-ad__lista { list-style: none; margin: 0; padding: 0; }
.entry .dr-ad__lista li { display: flex; gap: 14px; align-items: baseline; margin: 0; padding: 13px 0; border-top: 1px solid var(--rule); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; }
.entry .dr-ad__antes li { color: var(--ink-3); }
.entry .dr-ad__antes li:not(:first-child) { text-decoration: line-through; text-decoration-color: var(--laranja); }
.dr-ad__antes li::before { content: "×"; color: var(--escuro-3); }
.entry .dr-ad__depois li { border-top-color: rgba(255,255,255,.15); color: #fff; }
.dr-ad__depois li::before { content: "✓"; color: var(--laranja); }

.entry--case > ul.dr-processo { display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 18px 0; border-top: 1px solid var(--grafite); border-bottom: 1px solid var(--rule); counter-reset: dp; }
.entry--case > ul.dr-processo li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border: 0; font-size: clamp(20px, 2.1vw, 30px); font-weight: 600; letter-spacing: -.025em; counter-increment: dp; }
.entry--case > ul.dr-processo li::before { content: counter(dp, decimal-leading-zero); font: 400 11px/1 var(--mono); color: var(--laranja); }
.entry--case > ul.dr-processo li:not(:last-child)::after { content: "→"; margin: 0 22px 0 12px; color: var(--ink-3); font-weight: 400; }

.dr-frentes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dr-frente { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 210px; padding: 22px 22px 26px; background: #fff; border: 1px solid var(--rule); transition: transform .3s var(--ease), border-color .3s; }
.dr-frente:hover { transform: translateY(-4px); border-color: var(--laranja); }
.entry .dr-frente p { margin: 0; }
.entry .dr-frente__n { font: 400 12px/1 var(--mono); color: var(--laranja); }
.entry .dr-frente__t { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -.02em; line-height: 1.22; color: var(--ink); }

.dr-papel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dr-papel__lado { padding: 26px 28px 30px; border: 1px solid var(--grafite); background: #fff; }
.dr-papel__lado:first-child { background: var(--grafite); color: #fff; }
.entry .dr-papel__lado p { margin: 0; font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.entry .dr-papel__lado:first-child p { color: var(--texto-3); }
.entry .dr-papel__lado p.dr-papel__nome { font: 700 clamp(24px, 2.4vw, 36px)/1.1 var(--font); letter-spacing: -.03em; text-transform: none; color: inherit; margin-bottom: 10px; }
.dr-papel::before { content: "+"; position: absolute; left: 50%; top: 52px; transform: translate(-50%, -50%); z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--laranja); color: #fff; display: grid; place-items: center; font: 400 22px/1 var(--font); }
.entry .dr-papel__fim { grid-column: 1 / -1; margin: 0; padding: 18px 28px; border: 1px dashed var(--laranja); text-align: center; font-size: 18px; font-weight: 600; color: var(--ink); }

@media (max-width: 820px) {
	.dr-fatos, .dr-antesdepois, .dr-papel { grid-template-columns: 1fr; }
	.dr-fato + .dr-fato { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 18px; }
	.dr-frentes { grid-template-columns: 1fr 1fr; }
	.dr-papel::before { display: none; }
	.entry--case > ul.dr-processo li:not(:last-child)::after { margin: 0 12px 0 8px; }
}
@media (max-width: 480px) { .dr-frentes { grid-template-columns: 1fr; } .dr-frente { min-height: 0; } }
