/* Área do cliente · mesmos tokens do tema (theme/fracto/assets/css/main.css) */
:root {
	--c-bg: #fbfbfb; --c-surface: #f1f1ef; --c-ink: #121212; --c-ink-soft: #5c5c5c; --c-muted: #8a8a8a; --c-line: #dedede;
	--c-accent: #f45829; --c-dark: #121212; --c-dark-surface: #1c1c1c; --c-dark-soft: #a3a3a3;
	--ok: #1f7a4c; --ok-bg: #e4f1e8; --wait: #8f5a00; --wait-bg: #f8ecd6; --adj: #b23b12; --adj-bg: #fde3d8; --info: #1d5fae; --info-bg: #e7effa;
	--font: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
	--fs-title: clamp(2.25rem, 1.25rem + 3.2vw, 4rem);
	--fs-h3: clamp(1.25rem, 1.16rem + .38vw, 1.5rem);
	--fs-lead: clamp(1.0625rem, 1.04rem + .1vw, 1.125rem);
	--gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
	--radius: 10px; --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
::selection { background: #fed6c5; color: #121212; }
html, body { margin: 0; }
body { background: var(--c-bg); color: var(--c-ink); font-family: var(--font); font-size: 1rem; line-height: 1.3; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.logo .ink { fill: currentColor; } .logo .acc { fill: var(--c-accent); }

/* Tag e status */
.tag { display: inline-flex; align-items: center; width: fit-content; padding: .45rem .9rem; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 999px; font-size: .8125rem; font-weight: 500; line-height: 1; color: var(--c-muted); }
.status { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; padding: .42rem .75rem; border-radius: 999px; font-size: .8125rem; font-weight: 500; line-height: 1; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--preparacao { background: var(--info-bg); color: var(--info); }
.status--pronto { background: var(--c-surface); color: var(--c-ink-soft); }
.status--em_validacao { background: var(--wait-bg); color: var(--wait); }
.status--validado { background: var(--ok-bg); color: var(--ok); }

/* Cabeçalho em caixas soltas */
.ac-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; gap: .5rem; padding: 1rem 1rem 0; pointer-events: none; }
.ac-header > * { pointer-events: auto; }
.bar { display: flex; align-items: center; gap: 1.1rem; height: 3.25rem; padding: 0 1.1rem; border-radius: var(--radius); background: rgba(251, 251, 251, .82); border: 1px solid rgba(18, 18, 18, .08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: .9375rem; line-height: 1; white-space: nowrap; text-decoration: none; }
.bar .logo { width: 1.35rem; height: auto; }
.bar__name { font-weight: 500; }
.bar__logo { display: flex; transition: opacity .3s; }
.bar a.bar__logo:hover { color: inherit; opacity: .6; }
.bar__sep { width: 1px; height: 1.25rem; background: rgba(18, 18, 18, .12); }
.bar a { text-decoration: none; transition: color .3s; }
.bar a:hover { color: var(--c-accent); }
.bar__who { color: var(--c-muted); }
@media (max-width: 560px) { .bar__who { display: none; } }

/* Botão: rótulo e seta em cápsulas separadas */
.cta { --cta-bg: var(--c-accent); --cta-ink: #fff; --cta-bg-hover: var(--c-ink); --cta-h: 3rem; display: inline-flex; align-items: center; gap: 2px; padding: 0; border: 0; background: none; font: 500 .875rem/1 var(--font); color: var(--cta-ink); text-decoration: none; cursor: pointer; }
.cta__label, .cta__icon { display: inline-flex; align-items: center; justify-content: center; height: var(--cta-h); border-radius: 999px; background: var(--cta-bg); color: var(--cta-ink); transition: background-color .45s var(--ease), transform .55s var(--ease); }
.cta__label { padding: 0 1.5rem; white-space: nowrap; }
.cta__icon { position: relative; width: var(--cta-h); overflow: hidden; }
.cta__arrow { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .55s var(--ease); }
.cta__arrow svg { width: 1.15rem; height: 1.15rem; }
.cta__arrow--next { transform: translateX(-120%); }
.cta:hover .cta__label, .cta:hover .cta__icon, .cta:focus-visible .cta__label, .cta:focus-visible .cta__icon { background: var(--cta-bg-hover); }
.cta:hover .cta__icon { transform: translateX(.5rem); }
.cta:hover .cta__arrow { transform: translateX(120%); }
.cta:hover .cta__arrow--next { transform: translateX(0); }
.cta--dark { --cta-bg: var(--c-ink); --cta-bg-hover: var(--c-accent); }

/* Entrada */
.ac-login { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.ac-login__brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: clamp(2rem, 1rem + 3vw, 4rem); background: var(--c-dark); color: #fbfbfb; }
.ac-login__brand .logo { width: 2rem; color: #fbfbfb; }
.ac-login__logo { align-self: flex-start; transition: opacity .3s; }
.ac-login__logo:hover { opacity: .6; }
.ac-login__brand .tag--accent { color: var(--c-accent); border-color: color-mix(in srgb, var(--c-accent) 60%, transparent); }
.ac-login__brand h1 { margin-top: 1.5rem; font-size: clamp(2rem, 1.1rem + 2.05vw, 3rem); font-weight: 300; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
/* Duas linhas quando cabe; em telas menores a quebra fixa deixaria "seus" sozinho na linha */
@media (max-width: 1199px) { .ac-login__brand h1 br { display: none; } }
.ac-login__brand p { max-width: 30rem; margin-top: 1.25rem; color: var(--c-dark-soft); font-size: var(--fs-lead); line-height: 1.35; }
.ac-login__brand .ac-login__sign { max-width: none; margin: 0; color: #fbfbfb; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ac-login__form { display: grid; place-items: center; padding: clamp(2rem, 1rem + 3vw, 4rem) var(--gutter); }
.ac-form { width: 100%; max-width: 25rem; }
.ac-form h2 { font-size: clamp(1.625rem, 1.47rem + .67vw, 2rem); font-weight: 300; letter-spacing: -.02em; }
.ac-form > p { margin-top: .6rem; color: var(--c-ink-soft); line-height: 1.35; }
.ac-form h2 + .ac-field, .ac-form h2 + .ac-msg { margin-top: 1.75rem; }
.ac-field { display: block; margin-top: 1.25rem; font-size: .875rem; color: var(--c-ink-soft); }
.ac-field input { display: block; width: 100%; height: 3rem; margin-top: .45rem; padding: 0 1.1rem; border: 1px solid #f7d6c8; border-radius: 999px; background: #fff4ef; font: inherit; font-size: 1rem; color: var(--c-ink); outline: none; transition: border-color .3s, background-color .3s; }
.ac-field input:focus { border-color: var(--c-accent); background: #fff; }
.ac-field input:-webkit-autofill, .ac-field input:-webkit-autofill:hover, .ac-field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fff4ef inset; -webkit-text-fill-color: var(--c-ink); caret-color: var(--c-ink); transition: background-color 9999s; }
.ac-pass { position: relative; display: block; margin-top: .45rem; }
.ac-pass input { margin-top: 0; padding-right: 3.5rem; }
.ac-eye { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-ink-soft); cursor: pointer; transition: background-color .3s, color .3s; }
.ac-eye:hover { background: rgba(244, 88, 41, .1); color: var(--c-accent); }
.ac-eye svg { width: 1.25rem; height: 1.25rem; }
.ac-eye .i-hide, .ac-eye[aria-pressed="true"] .i-show { display: none; }
.ac-eye[aria-pressed="true"] .i-hide { display: block; }
.ac-check { display: flex; align-items: center; gap: .55rem; margin-top: 1rem; font-size: .875rem; color: var(--c-ink-soft); cursor: pointer; }
.ac-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--c-ink); }
.ac-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.ac-actions a { font-size: .875rem; color: var(--c-ink-soft); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.ac-actions a:hover { color: var(--c-accent); }
.ac-msg { margin-top: 1.25rem; padding: .85rem 1rem; border-radius: var(--radius); font-size: .9rem; line-height: 1.35; }
.ac-msg--erro { background: var(--adj-bg); color: var(--adj); }
.ac-msg--ok { background: var(--ok-bg); color: var(--ok); }
.ac-hint { margin-top: .6rem; font-size: .8125rem; color: var(--c-muted); line-height: 1.45; }
.ac-first { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: .8125rem; color: var(--c-muted); line-height: 1.45; }
.ac-first p + p { margin-top: .85rem; }
.ac-first strong { font-weight: 600; color: var(--c-ink-soft); }
.ac-first a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.ac-first a:hover { color: var(--c-accent); }
@media (max-width: 860px) {
	.ac-login { grid-template-columns: 1fr; }
	.ac-login__brand { gap: 2rem; }
	.ac-login__brand h1 { font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem); }
}

/* Painel */
.ac-main { flex: 1; padding-block: clamp(5rem, 3.5rem + 5vw, 8rem) clamp(4rem, 3rem + 4vw, 7rem); }
.ac-main h1 { max-width: 18ch; margin-top: 1.5rem; font-size: var(--fs-title); font-weight: 300; line-height: 1.02; letter-spacing: -.04em; }
.ac-main h1 strong { font-weight: 500; color: var(--c-accent); }
.ac-main .lead { max-width: 34rem; margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--c-ink-soft); line-height: 1.35; }
.ac-client { display: flex; align-items: center; gap: 1rem; min-height: 2.75rem; }
/* Logo do cliente: mesma altura para todos, sem distorcer */
.ac-client__logo { display: block; height: 2.75rem; width: auto; max-width: 11rem; object-fit: contain; object-position: left center; }
.ac-main h1.ac-hello, .ac-main .ac-hello__lead { max-width: none; }
.ac-list { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); border-top: 1px solid var(--c-ink); }
.ac-row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 11rem 12.5rem 2rem; align-items: center; gap: 1.5rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem) 0; border-bottom: 1px solid var(--c-line); text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.ac-row:hover { padding-inline: 1rem; color: var(--c-accent); }
.ac-list--cliente .ac-row { grid-template-columns: 3.5rem minmax(0, 1fr) 12.5rem 2rem; } /* cliente: sem a coluna de cliente e versão */
.ac-row__i { font-size: .875rem; font-weight: 600; color: var(--c-accent); }
.ac-row__t { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.02em; }
.ac-row__t small { display: block; margin-top: .45rem; font-size: .875rem; font-weight: 400; color: var(--c-ink-soft); letter-spacing: 0; line-height: 1.35; }
.ac-row__m { font-size: .875rem; color: var(--c-ink-soft); }
.ac-row__m b { display: block; font-weight: 500; color: var(--c-ink); }
.ac-row__logo { display: block; width: auto; height: 1.75rem; max-width: 9rem; object-fit: contain; object-position: left center; }
.ac-row__a { justify-self: end; }
.ac-row__a svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.ac-row:hover .ac-row__a svg { transform: rotate(-45deg); }
@media (max-width: 860px) { .ac-row { grid-template-columns: 2.5rem minmax(0, 1fr) 1.5rem; row-gap: .8rem; } .ac-row__m, .ac-row .status { grid-column: 2 / 3; } .ac-row__a { grid-row: 1; grid-column: 3; } }
.ac-empty { margin-top: 2.5rem; padding: 2rem; border-radius: var(--radius); background: var(--c-surface); color: var(--c-ink-soft); line-height: 1.45; max-width: 40rem; }
.ac-empty a { color: var(--c-ink); }
.ac-main .ac-msg { max-width: 40rem; margin-top: 1.5rem; }
.ac-team { margin-top: 1.25rem; font-size: .875rem; color: var(--c-muted); }

/* Rodapé */
/* Rodapé: o mesmo das páginas de projeto (confidencialidade, logo em contorno e a linha final do site) */
.ac-footer { --foot-pad: clamp(2.5rem, 2rem + 2vw, 4rem); background: linear-gradient(180deg, #121212 0%, #282828 100%); color: #fbfbfb; padding-top: var(--foot-pad); font-size: .875rem; }
.ac-footer a { color: inherit; text-decoration: none; transition: color .3s; }
.ac-footer a:hover { color: var(--c-accent); }
.ac-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 2rem 4rem; align-items: end; padding-bottom: var(--foot-pad); }
.ac-footer__conf { max-width: 34rem; }
.ac-footer__conf p { color: var(--c-dark-soft); line-height: 1.45; }
.ac-footer__conf p + p { margin-top: .75rem; }
.ac-footer__conf .ac-footer__title { margin-bottom: .6rem; color: #fff; font-weight: 500; font-size: calc(.875rem + 2px); }
.ac-footer__logo { display: block; }
.ac-footer__logo .logo { display: block; width: 100%; height: auto; }
.ac-footer__logo .logo .logo-ink { fill: none; stroke: #2e2e2e; stroke-width: 1px; vector-effect: non-scaling-stroke; transition: stroke .4s; }
.ac-footer__logo:hover .logo .logo-ink { stroke: #4a4a4a; }
.ac-footer__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem 2rem; padding-block: 1.25rem; border-top: 1px solid #2e2e2e; color: var(--c-dark-soft); }
.ac-footer__bar > :last-child { text-align: right; }
.ac-footer__legal { display: flex; align-items: center; gap: .5rem; }
@media (max-width: 760px) {
	.ac-footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
	.ac-footer__bar { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.ac-footer__bar > :last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.logo .logo-ink { fill: currentColor; } .logo .logo-accent { fill: var(--c-accent); }
