/* Product screens, IT slide and machine tiers. Screens are light "windows" on the dark deck, in the product's look
   (JetBrains Mono, black on white, hard edges, [ brackets ]). Synthetic data; drawn by screens.js. */
.ownit { font-size: var(--t-lead); line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
/* como-fica-seu: two ways to buy, side by side, both ending in "é seu" */
.paths { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(10px, 1.4vw, 20px); align-items: stretch; }
.path { border: 1.5px solid var(--fg); padding: clamp(12px, 2vh, 20px) clamp(14px, 1.6vw, 22px); display: grid; gap: 6px; align-content: start; }
.path b { font-size: var(--t-lead); letter-spacing: -.02em; line-height: 1.2; }
.path span { font-size: var(--t-body); color: var(--soft); line-height: 1.35; }
.paths .or { align-self: center; font-size: var(--t-label); font-weight: 700; }
.paths .or::before { content: "[ "; } .paths .or::after { content: " ]"; }
.yours { display: grid; grid-template-columns: minmax(9ch, max-content) minmax(0, 1fr); gap: 0 clamp(12px, 2vw, 28px); align-items: baseline;
  border-top: 2px solid var(--fg); padding-top: 10px; }
.yours b { font-size: var(--t-lead); letter-spacing: -.02em; white-space: nowrap; }
.yours span { font-size: var(--t-body); color: var(--soft); line-height: 1.35; }

/* ---------- windows ---------- */
.scrs { display: grid; gap: clamp(14px, 2vw, 28px); align-items: start; }
.scrs.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.scr2 .scrs.two { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.scrs > * { min-width: 0; }
.win { background: #fff; color: #000; border: 1.5px solid #fff; font-size: 12.5px; line-height: 1.45; text-align: left; }
.wbar { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid #dcdcdc; font-size: 11px; color: #666; }
.dots3 { width: 30px; height: 8px; background: radial-gradient(circle, #bbb 3px, transparent 3.5px) 0 0 / 10px 8px repeat-x; }
.win b { font-weight: 700; }
.win .m { color: #666; }
.win .tr { display: grid; gap: 8px; padding: 6px 0; border-bottom: 1px solid #e6e6e6; }
.win .th { color: #666; border-bottom: 1px solid #000; }

/* WhatsApp (an illustration of the chat; the product has no WhatsApp UI of its own) */
.win.phone { max-width: 300px; }
.wa { display: flex; flex-direction: column; min-height: 300px; background: #ece9e2; }
.wa-head { display: flex; flex-direction: column; padding: 8px 12px; background: #fff; border-bottom: 1px solid #dcdcdc; }
.wa-head span { font-size: 11px; color: #666; }
.wa-body { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.wa-msg { background: #fff; padding: 9px 11px 5px; max-width: 92%; font-size: 12.5px; line-height: 1.45; border: 1px solid #d8d8d8; }
.wa-msg p { margin-bottom: 4px; }
.wa-time { display: block; text-align: right; font-size: 10px; color: #777; }
.wa-btns { display: grid; gap: 4px; max-width: 92%; }
.wa-btn { background: #fff; border: 1px solid #000; text-align: center; padding: 6px; font-weight: 700; }
.wa-in { padding: 8px 12px; background: #fff; border-top: 1px solid #dcdcdc; color: #999; }

/* admin site */
.adm { padding: 16px 18px 18px; }
.adm h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.1; }
.adm-sub { color: #666; margin: 4px 0 12px; }
.adm-tabs { display: flex; gap: 14px; border-bottom: 2px solid #000; margin-bottom: 12px; color: #666; }
.adm-tabs span { padding: 4px 8px; }
.adm-tabs .on { background: #000; color: #fff; font-weight: 700; }
.adm-tabs i { font-style: normal; background: #fff; color: #000; margin-left: 6px; padding: 0 5px; }
.adm-card { border: 1px solid #dcdcdc; border-left: 4px solid #000; padding: 10px 12px; display: grid; gap: 6px; }
.adm-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.adm-top > span:first-child { color: #666; }
.adm-top b { color: #000; }
.adm-r { color: #666; }
.adm-say, .adm-det { color: #444; }
.adm-say span { color: #666; }
.adm-act span { color: #666; }
.adm-btns { display: flex; gap: 8px; margin-top: 4px; }
.bt { border: 1.5px solid #000; padding: 5px 10px; font-weight: 700; }
.bt.solid { background: #000; color: #fff; }
.audit .tr { grid-template-columns: .85fr 1fr 1.15fr 2fr; align-items: start; }
.audit .by { overflow-wrap: anywhere; }
.audit .m { font-size: 11.5px; overflow-wrap: anywhere; }
.chain { display: inline-block; margin-top: 10px; border: 1.5px solid #000; padding: 4px 10px; font-weight: 700; }

/* Operator Agents: a real screenshot (img/agents/, per sector and language); phones get the phone layout */
.t3shot, .t3shot img { display: block; width: 100%; height: auto; }
.t3shot img { aspect-ratio: auto 977 / 664; background: #fcfcfc; }
@media (max-width: 760px) { .t3shot img { aspect-ratio: auto 525 / 1137; } }
/* pitch mode on laptop screens: a slightly narrower app window keeps the caption above the nav bar */
@media (min-width: 761px) and (max-height: 880px) { .pitch .scr2 .scrs.two { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
/* pitch mode, short laptop windows (browser bars: 1366×657, 1536×730): the screenshot's height is capped so the line
   under it and the caption stay above the nav bar; the window shrinks to the picture */
.pitch .scr2 .scr-t3 .win { width: fit-content; max-width: 100%; }
.pitch .scr2 .t3shot { width: auto; }
.pitch .scr2 .t3shot img { width: auto; max-width: 100%; max-height: calc(100vh - 358px); max-height: calc(100svh - 358px); }

/* telas-t3: big screens let the screens use more room (the screenshot near 1:1); below 1000 px the two windows stack */
@media (min-width: 1600px) {
  .scr2 > * { max-width: 1500px; }
  .scr2 .scrs.two, .pitch .scr2 .scrs.two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .pitch .scr2 .t3shot img { max-height: calc(100vh - 510px); max-height: calc(100svh - 510px); }
  .pitch .scr2 h2 { font-size: clamp(34px, 2.3vw, 46px); }
}
@media (max-width: 1000px) { .scr2 .scrs.two, .pitch .scr2 .scrs.two { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 761px) and (max-width: 1000px) {
  .pitch .slide.scr2 { --gap: 18px; }
  .pitch .scr2 .adm-sub { display: none; }
  .pitch .scr2 .t3shot img { max-height: max(250px, calc(100svh - 770px)); }
}

/* ---------- IT slide ---------- */
.itlist { list-style: none; display: grid; grid-template-columns: 3ch max-content minmax(0, 1fr); gap: 0 clamp(12px, 2vw, 28px); counter-reset: n; }
.itlist b { white-space: nowrap; }
.itlist li { grid-column: 1 / -1; counter-increment: n; display: grid; grid-template-columns: subgrid; align-items: baseline;
  padding: clamp(8px, 1.5vh, 16px) 0; border-top: 1.5px solid var(--fg); }
.itlist li::before { content: counter(n, decimal-leading-zero); font-size: var(--t-label); font-weight: 700; }
.itlist b { font-size: var(--t-lead); letter-spacing: -.02em; }
.itlist span { font-size: var(--t-body); color: var(--soft); line-height: 1.35; }
/* pitch mode: the IT slide's closing line (it.more) as a small sixth row, unnumbered, at the last build */
.pitch .it-more { display: block; margin-top: calc(-1 * var(--gap)); padding: 10px 0 0 calc(28.8px + clamp(12px, 2vw, 28px));
  border-top: 1.5px solid var(--fg); font-size: var(--t-small); line-height: 1.4; color: var(--soft); }
.pitch [data-name="ti"] .itlist span { font-size: clamp(15px, min(1.3vw, 2.3vh), 20px); }
.pitch [data-name="ti"] .itlist b { font-size: clamp(18px, min(1.8vw, 3vh), 28px); }
@media (min-width: 761px) and (max-height: 920px) {
  .pitch .desk .tasks li { min-height: clamp(44px, 6vh, 72px); }
}

/* ---------- machine tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); }
.tier { border: 1.5px solid var(--fg); padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.tier .users { font-size: var(--t-lead); letter-spacing: -.02em; line-height: 1.15; }
.tier .spec { font-size: var(--t-small); color: var(--soft); line-height: 1.4; flex: 1; }
.tier.inv .spec, .tier.inv .sk { color: #333; }
.tier .price { border-top: 1.5px solid currentColor; padding-top: 8px; }
.tier .price em { display: block; font-size: var(--t-lead); font-weight: 700; letter-spacing: -.02em; }
.tier .price i { display: block; font-size: var(--t-label); }
.mach .tier .price i { color: var(--mute); } .mach .tier.inv .price i { color: #333; }

@media (max-width: 900px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .scrs.two, .scr2 .scrs.two { grid-template-columns: minmax(0, 1fr); }
  .win.phone { max-width: none; } .wa { min-height: 0; }
  .audit .tr { grid-template-columns: 1fr 1fr; } .audit .th { display: none; }
  .itlist { grid-template-columns: 3ch minmax(0, 1fr); } .itlist span { grid-column: 2; } .itlist b { white-space: normal; }
  .paths { grid-template-columns: minmax(0, 1fr); } .paths .or { justify-self: start; }
  .yours { grid-template-columns: minmax(0, 1fr); } .yours b { white-space: normal; }
}
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } .win { font-size: 11.5px; } }
@media (min-width: 761px) and (max-height: 920px) { .wa { min-height: 0; } .win { font-size: 12px; } }

/* machine renders (scripts/render-machines.py): black boxes on the black cards, an outline on the white one */
.tier .render { display: block; width: 100%; height: clamp(120px, 23vh, 230px); object-fit: contain; margin: -6px 0 4px; }
@media (max-width: 520px) { .tier .render { height: 150px; } }
@media (min-width: 761px) and (max-height: 760px) { .tier .render { height: 18vh; } }
.pitch .tier .render { height: clamp(90px, 13.5vh, 190px); margin: -8px 0 0; }
.pitch .tier { padding: 12px 14px 10px; gap: 6px; }
.pitch .tier .spec { font-size: 13px; }
.pitch .slide.mach { --gap: clamp(14px, 2.4vh, 30px); }
@media (min-width: 761px) and (max-height: 920px) {
  .pitch .tier .render { height: 12vh; }
  .pitch .tier .users { font-size: var(--t-body); }
  .pitch .slide.mach .foot { font-size: var(--t-body); }
}
.tier .price em { white-space: nowrap; font-size: clamp(18px, 1.75vw, 28px); }

/* pitch mode on laptop screens (council r1): the big "19 de 20" stays on one line; the screen slides, the IT list
   and the buy slide keep their closing line above the nav bar */
.desk .big { white-space: nowrap; flex: none; }
@media (min-width: 761px) and (max-height: 920px) {
  .pitch .desk .big { font-size: 1.6em; }
  .pitch .scr .foot, .pitch .slide.own .pledge, .pitch .slide.own .ownit { font-size: var(--t-body); }
  .pitch .scr h2 { font-size: clamp(22px, 2.4vw, 34px); }
  .pitch .itlist li { padding-block: 8px; }
  .pitch .itlist b { font-size: var(--t-body); }
  .pitch .itlist span { font-size: 14px; }
  .pitch .scr2 .audit .tr:nth-child(4) { display: none; }
  .pitch .slide.own, .pitch .slide.desk { --gap: clamp(14px, 2.3vh, 30px); }
}

/* contact slide: the public WhatsApp link (DECISIONS 2026-11-04), under the form */
.wa-link { font-size: var(--t-small); }
@media (min-width: 761px) and (max-height: 680px) { .pitch .tier .render { height: 10vh; } }
/* wide screens (1536 px and up): the 13 px text on the machine tiers and the form labels scales up */
@media (min-width: 1536px) and (min-height: 900px) {
  .pitch .tier .spec, .tier .price i, .cform label { font-size: clamp(13px, .9vw, 16px); }
}
/* telas-t3 zoom hint, on the Agents window's title bar: "clique" with a mouse, "toque" on touch screens */
.wzoom { margin-left: auto; color: #000; font-weight: 700; }
.wz-tap { display: none; }
@media (hover: none) { .wz-tap { display: inline; } .wz-click { display: none; } }
/* phones: 12 px floor for the screens' text */
@media (max-width: 760px) { .scr2 .win, .scr2 .wbar, .scr2 .audit .m { font-size: 12px; } }
/* r3: pitch-mode sizes for the slides that grew (two buying paths, ERP box on operator, longer machines line) */
.pitch .own .path b, .pitch .own .yours b { font-size: var(--t-body); }
.pitch .own .path span, .pitch .own .yours span { font-size: var(--t-small); }
.pitch .slide.own .pledge, .pitch .slide.what .pledge { font-size: clamp(16px, 1.7vw, 28px); }
.pitch .slide.mach .foot { font-size: var(--t-body); text-wrap: pretty; }
@media (min-width: 761px) and (max-height: 760px) {
  .pitch .slide.own, .pitch .slide.mach { --gap: 12px; }
  .pitch .own .path { padding: 10px 14px; gap: 4px; }
  .pitch .slide.own .ownit { font-size: var(--t-small); }
}
@media (min-width: 761px) and (max-height: 920px) { .pitch .tier .render { height: 10.5vh; } }
@media (min-width: 761px) and (max-height: 760px) { .pitch .tier .render { height: 8.5vh; } }
@media (min-width: 761px) and (max-height: 680px) { .pitch .tier .render { height: 8vh; } }
@media (min-width: 761px) and (max-height: 920px) { .pitch .slide.mach { --gap: clamp(12px, 1.6vh, 30px); } }
/* telas-t3 on short laptop windows: the Agents column takes the capped picture's width, the log gets the rest */
@media (min-width: 1001px) and (max-height: 760px) { .pitch .scr2 .scrs.two { grid-template-columns: auto minmax(0, 1fr); } }
/* escritorio in EN on laptop heights (energia's long task names): the heading one step down */
@media (min-width: 761px) and (max-height: 920px) { .pitch .desk-head h2 { font-size: clamp(24px, 3vw, 42px); } }
@media (min-width: 761px) and (max-height: 920px) { .pitch .slide.what { --gap: clamp(12px, 2vh, 30px); } }
/* r5: como-fica-seu: the two paths are the focus (white, larger); the cost line steps down */
.pitch .own .path b { font-size: var(--t-lead); }
.pitch .own .path span, .pitch .own .yours span { font-size: var(--t-body); color: var(--fg); }
.pitch .own .yours b { font-size: var(--t-lead); }
.pitch .slide.own .ownit { font-size: clamp(15px, 1.2vw, 22px); }
@media (min-width: 761px) and (max-height: 920px) {
  .pitch .own .path b, .pitch .own .yours b { font-size: var(--t-body); }
  .pitch .slide.own .ownit { font-size: 15px; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .pitch .own .path span, .pitch .own .yours span { font-size: 15px; }
  .pitch .slide.own .ownit { font-size: 14px; }
}
/* r5: cracha body text up to ti's size where it fits */
@media (min-width: 761px) and (max-height: 920px) { .pitch [data-name="cracha"] .itlist span { font-size: 15.5px; line-height: 1.35; } }
/* r5: machine tiers: upright price note, 14-16 px spec text on laptops */
.tier .price i { font-style: normal; }
@media (min-width: 761px) and (min-height: 761px) { .pitch .tier .spec, .pitch .tier .price i { font-size: clamp(14px, 1.05vw, 15px); } }


/* ---------- swipe deck on phones (body.swipe, up to 640 px wide): compact layouts so each slide fits one screen ---------- */
/* a slide that still scrolls starts below the top bar (the spacer above the content gives back its negative margin) */
.swipe .slide::before { margin-top: 0; }
@media (max-width: 640px) {
  /* maquinas: the four machines as rows, a small render on the left, price on the right */
  .swipe .tiers { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .swipe .tier { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; grid-template-areas: "img sk price" "img users price" "img spec spec";
    column-gap: 10px; row-gap: 1px; align-items: center; padding: 7px 10px; }
  .swipe .tier .render { grid-area: img; width: 58px; height: 46px; margin: 0; align-self: center; }
  .swipe .tier .sk { grid-area: sk; margin: 0; font-size: 11.5px; line-height: 1.25; }
  .swipe .tier .users { grid-area: users; font-size: 14px; line-height: 1.2; }
  .swipe .tier .spec { grid-area: spec; font-size: 12px; line-height: 1.3; }
  .swipe .tier .price { grid-area: price; border: 0; padding: 0; text-align: right; align-self: start; }
  .swipe .tier .price em { font-size: 14px; }
  .swipe .slide.mach .foot { font-size: 12.5px; line-height: 1.35; }
  /* ti: each row reads as one paragraph, the name in bold */
  .swipe [data-name="ti"] .itlist { display: block; }
  .swipe [data-name="ti"] .itlist li { display: block; padding: 6px 0; }
  .swipe [data-name="ti"] .itlist li::before { margin-right: 8px; }
  .swipe [data-name="ti"] .itlist b { display: inline; font-size: 13.5px; margin-right: .5em; }
  .swipe [data-name="ti"] .itlist span { display: inline; font-size: 12.5px; line-height: 1.38; }
  .swipe .it-more { margin-top: 0; padding: 6px 0 0; font-size: 12px; }
  /* telas-t3: the Agents window at full width, the screenshot cut below its answer table (the zoom shows it whole) */
  .swipe .scr2 .scr-t3 .win { width: auto; }
  .swipe .scr2 .t3shot { width: 100%; }
  .swipe .scr2 .t3shot img { width: 100%; max-height: none; aspect-ratio: 525 / 750; object-fit: cover; object-position: top; }
  /* the form: name and company, WhatsApp and e-mail side by side */
  .swipe .cform { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
  .swipe .close .foot { font-size: 13px; }
  /* como-fica-seu: tighter boxes */
  .swipe .slide.own { --gap: 10px; }
  .swipe .own .path { padding: 9px 12px; gap: 4px; }
  .swipe .own .path span, .swipe .own .yours span { font-size: 13px; line-height: 1.35; }
  .swipe .slide.own .ownit { font-size: 13.5px; }
  .swipe .slide.own .pledge { font-size: 15px; }
}
@media (max-width: 640px) {
  /* na-pratica: the example in smaller type, so the longest examples fit */
  .swipe .ex .stage { font-size: 13.5px; line-height: 1.35; }
  .swipe .ex .stage.in > p:last-child { font-size: 13.5px; }
  .swipe .ex .stage.op ol { gap: 3px; }
  .swipe .ex .msg { font-size: 13.5px; line-height: 1.38; padding: 9px 12px 7px; }
  .swipe .ex .msg p { margin-bottom: 7px; }
  .swipe .ex .msg .act { min-height: 34px; padding: 5px 10px; }
  .swipe .ex .flow { row-gap: 16px; }
  .swipe .ex .flow.off { transform: none; }   /* the hidden examples add no scroll height */
  .swipe .ex .stage + .stage::before { top: -17px; }
  /* escritorio: the tiles one step tighter */
  .swipe .tasks li { font-size: 12px; line-height: 1.18; }
  .swipe .desk .big { font-size: 1.7em; }
  /* ti */
  .swipe [data-name="ti"] .itlist li { padding: 5px 0; }
  .swipe [data-name="ti"] .itlist b { font-size: 13px; }
  .swipe [data-name="ti"] .itlist span { font-size: 12px; line-height: 1.33; }
}
@media (max-width: 640px) and (max-height: 760px) {
  .swipe .ex .tabs { gap: 4px; }
  .swipe .ex .tabs button { min-height: 38px; padding: 3px 8px; font-size: 12.5px; }
  .swipe .ex .msg { font-size: 13px; }
  .swipe .ex .stage, .swipe .ex .stage.in > p:last-child { font-size: 13px; }
}
/* the slides start right under the language and contact links (their bar is 52 px) */
@media (max-width: 640px) {
  .swipe.pitch::before { height: 54px; }
  .swipe .slide { padding-top: 56px; }
}
@media (max-width: 640px) and (max-height: 760px) {
  .swipe .slide.mach { --gap: 8px; }
  .swipe [data-name="ti"] .itlist li { padding: 4px 0; }
  .swipe .slide.ex { gap: 8px; }
  .swipe .slide { padding-bottom: 72px; }
  .swipe .ex .flow { row-gap: 13px; }
  .swipe .ex .stage + .stage::before { top: -15px; }
  .swipe [data-name="ti"] .itlist li { padding: 3px 0; }
  .swipe [data-name="ti"] .it-more { padding-top: 4px; }
  .swipe .slide[data-name="ti"] { --gap: 8px; }
}
/* short phones (360×640 and the like) */
@media (max-width: 640px) and (max-height: 690px) {
  .swipe .slide.ex { gap: 7px; }
  .swipe .ex .stage, .swipe .ex .stage.in > p:last-child, .swipe .ex .msg { font-size: 12.5px; line-height: 1.32; }
  .swipe .ex .ex-h { font-size: 19px; }
  .swipe .ex .flow { row-gap: 13px; }
  .swipe .ex .stage + .stage::before { top: -15px; }
  .swipe .ex .stage .sk { margin-bottom: 2px; }
  .swipe .tiers { gap: 4px; }
  .swipe .tier { padding: 5px 8px; }
  .swipe .tier .render { height: 40px; }
  .swipe .desk .big { font-size: 1.5em; }
  .swipe .slide.desk { --gap: 7px; }
  .swipe .tasks { gap: 3px; }
  .swipe .tasks li { min-height: 32px; padding: 3px 5px; }
  .swipe .slide.mach .foot { font-size: 12px; }
  .swipe .tasks li { min-height: 34px; }
  .swipe .own .path span, .swipe .own .yours span { font-size: 12.5px; }
  .swipe .own .path b, .swipe .own .yours b { font-size: 14px; }
  .swipe .slide.own .ownit { font-size: 12.5px; }
  .swipe .slide.own .pledge { font-size: 14px; }
  .swipe [data-name="ti"] .itlist li { padding: 4px 0; }
  .swipe [data-name="ti"] .itlist span { font-size: 12px; line-height: 1.33; }
}
