/* Eixo Tech, landing v1.1.0 (PLN-0058): a primeira página é um filme curto numa janela do app
   desktop do Claude (aba Code). Estilos só desta página; o resto vem do kit e do page.css. */

/* ---------- Hero com o filme ---------- */
.film-hero { padding-top: clamp(88px, 10svh, 112px); padding-bottom: var(--s-8); }
.film-hero__head { display: grid; justify-items: center; text-align: center; gap: var(--s-3); max-width: 860px; margin: 0 auto var(--s-6); }
.film-hero__head h1 { max-width: none; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; margin: 0; }
.film-hero__head .hero__lead { max-width: 54ch; color: var(--muted); }

.film { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.film__side { display: grid; gap: var(--s-6); align-content: start; position: sticky; top: 96px; }

/* passos: lista vertical no desktop, faixa rolável no celular */
.film__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: st; }
.film__steps button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: var(--s-3);
  padding: 8px 10px; border-radius: var(--r-sm); font: 500 15px/1.3 var(--font-text); color: var(--muted); transition: background .2s, color .2s; }
.film__steps button:hover { background: rgb(0 0 0 / .04); color: var(--ink); }
.film__steps button:focus-visible { outline: 2px solid var(--p-action); outline-offset: 2px; }
.film__steps .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 12px/1 var(--font-mono); border: 1px solid rgb(0 0 0 / .14); background: var(--p-bg); }
.film__steps li.is-done .n { background: color-mix(in oklab, var(--p-accent) 55%, #fff); border-color: transparent; color: var(--p-ink); }
.film__steps li.is-on button { color: var(--ink); background: color-mix(in oklab, var(--p-accent) 30%, #fff); }
.film__steps li.is-on .n { background: var(--p-action); color: var(--p-action-ink); border-color: transparent; }

.film__cap { display: grid; gap: var(--s-3); min-height: 168px; }
.film__cap .t-label { color: var(--muted); }
.film__cap h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; margin: 0; }
.film__cap p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.film__cap.is-swap > * { animation: capIn .45s var(--ease, ease) both; }
.film__cap.is-swap > :nth-child(2) { animation-delay: .05s; } .film__cap.is-swap > :nth-child(3) { animation-delay: .1s; }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.film__ctrl { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.film__ctrl button { all: unset; box-sizing: border-box; cursor: pointer; height: 34px; padding: 0 12px; border-radius: var(--r-btn); display: inline-flex; align-items: center; gap: 6px;
  font: 500 14px/1 var(--font-text); color: var(--ink); background: rgb(0 0 0 / .05); }
.film__ctrl button:hover { background: rgb(0 0 0 / .09); }
.film__ctrl button:focus-visible { outline: 2px solid var(--p-action); outline-offset: 2px; }
.film__ctrl svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.film__ctrl .is-hl { background: var(--p-action); color: var(--p-action-ink); }
.film__cta { display: grid; gap: var(--s-3); }
.film__cta .btn { justify-content: center; }
.film__note { font-size: 13px; color: var(--muted); margin: 0; }

/* palco: o fundo pintado do kit atrás da janela */
.film__stage { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(14px, 2.4vw, 32px); background: var(--ground-bg, #dde5dd);
  --fx-bg: var(--ground-bg); --fx-surface: var(--ground-surface); --fx-ink: var(--ground-ink); }
.film__stage > [data-fx] { position: absolute; inset: 0; }
.film__stage > .cc { position: relative; z-index: 1; }

/* ---------- Janela: app desktop do Claude, aba Code (estilizada, sem cópia de marca) ---------- */
.cc { --cc-ink: #1d1d1b; --cc-muted: #6f6c66; --cc-line: rgb(0 0 0 / .08); --cc-soft: #f5f4ef; --cc-ok: #1e8a4c; --cc-ok-bg: #e5f4ea;
  background: #fbfaf7; color: var(--cc-ink); border-radius: 14px; overflow: hidden; font: 400 14px/1.5 var(--font-text); text-align: left;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .35), 0 0 0 1px rgb(0 0 0 / .06); position: relative; }
.cc__bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--cc-line); font-size: 13px; color: var(--cc-muted); background: #f3f2ec; }
.cc__dots { display: flex; gap: 6px; } .cc__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9d6cd; }
.cc__tabs { display: inline-flex; padding: 3px; border-radius: 8px; background: rgb(0 0 0 / .05); }
.cc__tabs span { padding: 3px 10px; border-radius: 6px; font-weight: 500; }
.cc__tabs .is-on { background: #fff; color: var(--cc-ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.cc__bar .sp { flex: 1; }
.cc__proj { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; }
.cc__proj svg, .cc-ico { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.cc__body { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: clamp(440px, 56svh, 540px); }
.cc__side { border-right: 1px solid var(--cc-line); padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; background: #f7f6f1; }
.cc__side .q { color: var(--cc-muted); padding: 4px 8px 8px; font-size: 12px; }
.cc__side .s { padding: 7px 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #45433e; }
.cc__side .s.is-on { background: #eceae2; color: var(--cc-ink); font-weight: 500; }
.cc__side .mcp { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; background: #fff; border: 1px solid var(--cc-line); font-size: 12px; }
.cc__side .mcp i { width: 8px; height: 8px; border-radius: 50%; background: var(--cc-ok); box-shadow: 0 0 0 3px var(--cc-ok-bg); }
.cc__side .mcp b { font-weight: 500; }

.cc__main { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.cc__chat { overflow: hidden; padding: 20px 22px 8px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.cc__chat > * { flex: none; }
.cc__chat > .is-in { animation: ccIn .38s var(--ease, ease) both; }
@keyframes ccIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cc-me { align-self: flex-end; max-width: 84%; padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: #ecebe4; }
.cc-say { max-width: 92%; }
.cc-say b { font-weight: 600; }
.cc-tool { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cc-muted); font-family: var(--font-mono); }
.cc-tool .sp { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ccSpin .8s linear infinite; flex: none; }
.cc-tool.is-done .sp { animation: none; border: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--cc-ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cc-tool small { color: #8f8b83; }
.cc-tool b { color: #4b4842; font-weight: 500; }
@keyframes ccSpin { to { transform: rotate(360deg); } }

.cc-card { border: 1px solid var(--cc-line); background: #fff; border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; max-width: 560px; }
.cc-card__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 500; color: var(--cc-muted); text-transform: uppercase; letter-spacing: .04em; }
.cc-card__h span { text-transform: none; letter-spacing: 0; font-weight: 400; }

/* módulos reaproveitados */
.cc-mods { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-mods span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--cc-soft); font-size: 13px; color: #8f8b83; transition: background .3s, color .3s; }
.cc-mods span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.cc-mods span.is-on { background: var(--cc-ok-bg); color: #17663a; }
.cc-mods span.is-on::before { opacity: 1; }
.cc-new { font-size: 13px; color: var(--cc-muted); }
.cc-new b { color: var(--cc-ink); font-weight: 500; }

/* regras de negócio */
.rl { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--cc-soft); }
.rl[hidden] { display: none; }
.rl.is-in { animation: ccIn .38s var(--ease, ease) both; }
.rl__tag { justify-self: start; font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; padding: 4px 7px; border-radius: 5px; }
.rl--new .rl__tag { background: #dfeaff; color: #2652a8; }
.rl--upd .rl__tag { background: #fff0d6; color: #8a5a00; }
.rl--imp .rl__tag { background: #ece9f8; color: #4f3f9c; }
.rl b { font-weight: 500; font-size: 13.5px; }
.rl code, .rl li > b { font: 500 12px/1.4 var(--font-mono); }
.rl p { margin: 0; font-size: 13px; color: #4b4842; }
.rl .was { color: #8f8b83; text-decoration: line-through; text-decoration-color: rgb(0 0 0 / .3); }
.rl ul { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; }
.rl li { font-size: 13px; display: grid; gap: 1px; }
.rl li span { color: #6f6c66; }
.cc-acts { display: flex; gap: 8px; align-items: center; }
.cc-acts[hidden] { display: none; }
.cc-acts.is-in { animation: ccIn .38s var(--ease, ease) both; }
.cc-acts span { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; font-size: 13px; font-weight: 500; background: rgb(0 0 0 / .05); transition: transform .12s, background .2s, color .2s; }
.cc-acts .is-main { background: var(--cc-ink); color: #fff; }
.cc-acts .is-press { transform: scale(.96); }
.cc-acts .is-ok { background: var(--cc-ok-bg); color: #17663a; }

/* pareceres */
.pr { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; }
.pr b { font-weight: 500; }
.pr span { color: #6f6c66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr em { font-style: normal; font: 500 11px/1 var(--font-mono); padding: 4px 7px; border-radius: 5px; background: var(--cc-soft); color: #8f8b83; }
.pr.is-run em { color: #4b4842; }
.pr.is-ok em { background: var(--cc-ok-bg); color: #17663a; }

/* tokens */
.tk { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 13px; }
.tk__bar { height: 10px; border-radius: 99px; background: var(--cc-soft); overflow: hidden; }
.tk__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #c9c5ba; transition: width 1.2s var(--ease, ease); }
.tk--eixo .tk__bar i { background: #5b86e0; }
.tk__note { margin: 0; font-size: 13px; color: #6f6c66; }
.tk__note b { color: var(--cc-ink); font-weight: 600; }

/* link do ambiente de testes */
.cc-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--cc-line); background: #fff; max-width: 460px; }
.cc-link img { width: 22px; height: 22px; }
.cc-link div { display: grid; min-width: 0; }
.cc-link b { font: 500 13px/1.3 var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-link small { font-size: 12px; color: #6f6c66; }
.cc-link .go { margin-left: auto; height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 7px; background: var(--cc-ink); color: #fff; font-size: 12px; font-weight: 500; }

/* campo de digitação */
.cc__composer { padding: 10px 16px 14px; }
.cc__input { min-height: 64px; border: 1px solid var(--cc-line); border-radius: 14px; background: #fff; padding: 10px 12px 6px; display: grid; grid-template-rows: 1fr auto; gap: 6px;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.cc__text { font-size: 14px; line-height: 1.45; min-height: 20px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.cc__text:empty::before { content: attr(data-ph); color: #a39f96; }
.cc__text.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; vertical-align: -2px; margin-left: 1px; background: var(--cc-ink); animation: ccBlink 1s steps(1) infinite; }
@keyframes ccBlink { 50% { opacity: 0; } }
.cc__cbar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cc-muted); }
.cc__cbar .sp { flex: 1; }
.cc__chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--cc-soft); }
.cc__chip img { width: 13px; height: 13px; }
.cc__send { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #d9d6cd; color: #fff; transition: background .2s; }
.cc__send.is-ready { background: var(--cc-ink); }
.cc__send svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* navegador com o sistema publicado */
.cc-web { position: absolute; z-index: 3; left: 8%; right: 8%; bottom: 18px; top: 56px; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45), 0 0 0 1px rgb(0 0 0 / .08); display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s, transform .6s var(--ease, ease); pointer-events: none; }
.cc-web.is-on { opacity: 1; transform: none; }
.cc-web__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: #f1f1f3; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 12px; }
.cc-web__url { flex: 1; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 6px; background: #fff; font-family: var(--font-mono); color: #3d3d42; min-width: 0; }
.cc-web__url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-web__env { font: 500 11px/1 var(--font-mono); padding: 5px 8px; border-radius: 5px; background: #fff0d6; color: #8a5a00; white-space: nowrap; }
.cc-web__page { display: grid; place-items: center; padding: 18px; background: linear-gradient(180deg, #f6f7fb, #eef1f8); }
.lg { width: min(300px, 100%); background: #fff; border-radius: 14px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 10px 30px -16px rgb(20 30 60 / .3); border: 1px solid rgb(0 0 0 / .06); }
.lg__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.lg__brand i { width: 30px; height: 30px; border-radius: 8px; background: #2d3a5c; color: #fff; display: grid; place-items: center; font: 600 11px/1 var(--font-mono); font-style: normal; }
.lg__brand b { display: block; font-weight: 600; font-size: 14px; }
.lg__brand small { font-size: 12px; color: #6b7280; }
.lg__f { height: 34px; border-radius: 8px; border: 1px solid #dde1ea; padding: 0 10px; display: flex; align-items: center; font-size: 12px; color: #9aa1ad; }
.lg__btn { height: 34px; border-radius: 8px; background: #2d3a5c; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.lg__alt { font-size: 12px; color: #4b5b85; text-align: center; }
.cc-web__foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid rgb(0 0 0 / .07); font-size: 13px; background: #fff; }
.cc-web__foot span { flex: 1; color: #4b4842; }
.cc-web__foot b { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 7px; background: var(--cc-ink); color: #fff; font-size: 12px; font-weight: 500; }

/* ---------- O que costuma dar medo ---------- */
.fears .card { display: grid; align-content: start; gap: var(--s-3); }
.fears .card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.fears .card p { margin: 0; color: var(--muted); }
.fears__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklab, var(--p-accent) 45%, #fff); }
.fears__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--p-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fears__k { font: 500 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* faixa para a visão completa */
.inside { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding: var(--s-7); border-radius: var(--r-lg); background: var(--p-surface); }
.inside h2 { margin: 0 0 var(--s-2); font-size: clamp(24px, 2.4vw, 32px); }
.inside p { margin: 0; color: var(--muted); max-width: 56ch; }
.inside .btn-row { flex: none; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Telas menores ---------- */
@media (max-width: 1199px) {
  .cc__body { grid-template-columns: minmax(0, 1fr); }
  .cc__side { display: none; }
}
@media (max-width: 1023px) {
  .film { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .film__side { position: static; display: contents; }
  .film__steps { order: 1; display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .film__steps::-webkit-scrollbar { display: none; }
  .film__steps li { flex: none; }
  .film__steps button { grid-template-columns: 24px auto; padding: 6px 10px 6px 6px; font-size: 14px; }
  .film__steps .n { width: 24px; height: 24px; }
  .film__stage { order: 2; }
  .film__cap { order: 3; min-height: 0; }
  .film__ctrl { order: 4; }
  .film__cta { order: 5; }
  .film__note { order: 6; }
  .inside { flex-direction: column; align-items: flex-start; padding: var(--s-6); }
}
@media (max-width: 639px) {
  .film-hero { padding-top: 88px; }
  .film-hero__head { margin-bottom: var(--s-5); }
  .film-hero__head .hero__lead { font-size: 16px; }
  .film__stage { padding: 10px; margin-inline: calc(-1 * var(--gut) + 8px); }
  .cc__bar .cc__proj { display: none; }
  .cc__body { height: 480px; }
  .cc__chat { padding: 14px 14px 6px; }
  .cc__composer { padding: 8px 10px 10px; }
  .cc-card { padding: 10px 12px; }
  .tk { grid-template-columns: 110px minmax(0, 1fr); }
  .pr { grid-template-columns: 82px minmax(0, 1fr) auto; }
  .pr span { display: none; }
  .pr { grid-template-columns: minmax(0, 1fr) auto; }
  .cc-web { left: 10px; right: 10px; top: 50px; bottom: 10px; }
  .film__cap h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc__chat > .is-in, .film__cap.is-swap > * { animation: none; }
  .cc-tool .sp { animation: none; }
  .tk__bar i, .cc-web { transition: none; }
  .rl.is-in { animation: none; }
}
