/* CLAVEN — moldura comum das páginas de projeto. O que está dentro de cada página pertence à marca do cliente;
   aqui ficam só a barra da Claven, o rodapé e as regras de movimento. */
@font-face { font-family: "Archivo Black"; src: url(fonts/archivo-black-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }

:root { --cx-ink: #111; --cx-paper: #f2efe8; --cx-lime: #c6ff00; --cx-accent: #c6ff00; --ease: cubic-bezier(.2, .7, .2, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "DM Sans", system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cx-focus, #0018ff); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 400; background: var(--cx-ink); color: #fff; padding: 10px 16px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* barra da Claven: pequena, fixa, neutra — não disputa com a marca do cliente */
.cx-progress { position: fixed; z-index: 300; left: 0; top: 0; height: 4px; width: var(--progress, 0%); background: var(--cx-accent); pointer-events: none; }
.cx-bar { position: fixed; z-index: 290; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; gap: 10px; padding: 14px clamp(12px, 2.4vw, 28px); pointer-events: none; }
.cx-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 16px 7px 14px; border-radius: 99px; background: rgba(17, 17, 17, .88); color: #f2efe8; text-decoration: none; font-weight: 700; font-size: .86rem; letter-spacing: .01em; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); transition: transform .3s var(--ease), background .3s; }
.cx-pill:hover { transform: translateY(-2px); background: #000; }
.cx-pill img { height: 14px; width: auto; }
.cx-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cx-lime); }
.cx-pill.hot { background: var(--cx-lime); color: #111; }
.cx-pill.hot:hover { background: #d8ff3d; }
@media (max-width: 520px) { .cx-pill .long { display: none; } }

/* entrada: o motor só põe .in; cada página escolhe como entra (veja o CSS dela) */
html.fx [data-reveal] { transition: opacity .9s var(--ease) var(--d, 0ms), transform 1.05s var(--ease) var(--d, 0ms), clip-path 1.25s var(--ease) var(--d, 0ms), filter .9s ease var(--d, 0ms); }
html.fx [data-reveal]:not(.in) { opacity: 0; }
html.fx [data-reveal=""]:not(.in), html.fx [data-reveal="up"]:not(.in) { transform: translate3d(0, 30px, 0); }
html.fx [data-reveal="fade"]:not(.in) { transform: none; }

/* faixa de encerramento: próximo projeto, orçamento e rodapé */
.cx-next { position: relative; display: block; background: #111; color: #f2efe8; text-decoration: none; overflow: hidden; }
.cx-next .box { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) clamp(20px, 4vw, 48px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.cx-next small { display: block; font-weight: 700; letter-spacing: .06em; color: var(--cx-lime); margin-bottom: 14px; }
.cx-next h2 { font: 400 clamp(2rem, 5.2vw, 4.4rem)/.98 "Archivo Black", sans-serif; text-transform: uppercase; margin: 0 0 16px; transition: transform .6s var(--ease); }
.cx-next p { margin: 0; max-width: 40ch; opacity: .82; }
.cx-next .go { display: inline-flex; margin-top: 22px; font-weight: 700; border-bottom: 2px solid var(--cx-lime); padding-bottom: 3px; }
.cx-next figure { margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10; background: #222; }
.cx-next img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cx-next:hover img { transform: scale(1.06); }
.cx-next:hover h2 { transform: translateX(10px); }
@media (max-width: 760px) { .cx-next .box { grid-template-columns: 1fr; } }

.cx-cta { background: var(--cx-lime); color: #111; }
.cx-cta .box { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; }
.cx-cta h2 { font: 400 clamp(1.7rem, 3.6vw, 3rem)/1 "Archivo Black", sans-serif; text-transform: uppercase; margin: 0; max-width: 16em; }
.cx-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 99px; border: 2px solid #111; background: #111; color: #f2efe8; text-decoration: none; font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s; }
.cx-btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #111; background: #111; }
.cx-btn.line { background: transparent; color: #111; }

.cx-foot { background: var(--cx-paper); color: #111; font-size: .94rem; }
.cx-foot .box { max-width: 1280px; margin: 0 auto; padding: 38px clamp(20px, 4vw, 48px) 46px; display: grid; gap: 22px; }
.cx-foot .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.cx-foot img { height: 22px; width: auto; }
.cx-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cx-foot a { text-underline-offset: 3px; }
.cx-foot .small { opacity: .75; font-size: .84rem; }
.cx-install { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 99px; background: #111; color: #f2efe8; text-decoration: none; font-weight: 700; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.cx-install:hover { background: #000; }
.cx-install svg { width: 18px; height: 18px; }
html.is-installed [data-install] { display: none; }
.cx-motion { font: inherit; background: none; border: 1.5px solid currentColor; border-radius: 99px; padding: 8px 16px; cursor: pointer; color: inherit; }

.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 320; max-width: 430px; background: #f2efe8; color: #111; border: 2px solid #111; border-radius: 14px; padding: 20px 22px; box-shadow: 5px 5px 0 #111; font-size: .93rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; line-height: 1.5; }
.cookie .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 99px; border: 2px solid #111; background: #111; color: #f2efe8; cursor: pointer; }
.cookie .btn.line { background: transparent; color: #111; }
@media (max-width: 520px) { .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
@media print { .cx-bar, .cx-progress, .cookie { display: none !important; } }
