/*
  cagdis.com: the site-wide CSS beyond the taste-skill kit (assets/system.css and the rest stay as copied).
  Linked last on every page. Holds the self-hosted fonts, the palette from start.mjs brand, the drawn signature,
  and the page CSS that sits inside visuals: the AI workspace window, the result card, the exposure list,
  the phones, the screenshot frame and the partner tiles.
*/

@font-face {
  font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("fonts/host-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --p-bg: #f4f7fa; --p-surface: #e8eef4; --p-ink: #062b45; --p-muted: #556d82; --p-accent: #0161cc; --p-accent-ink: #f4f7fa; --p-action: #0161cc; --p-action-ink: #f4f7fa; --p-inv-bg: #062b45; --p-inv-surface: #173851; --p-inv-ink: #f4f7fa; --p-inv-muted: #94a4b2; --p-inv-accent: #f4f7fa; --p-inv-accent-ink: #062b45; --p-inv-action: #f4f7fa; --p-inv-action-ink: #062b45; --font-display: "Host Grotesk", system-ui, sans-serif; --font-text: "Host Grotesk", system-ui, sans-serif; --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; --display-weight: 500; --display-tracking: -0.035em; --display-tracking-xl: -0.04em;
  --lime: #d7e021;
  /* the pairing's hero scale: Host Grotesk sets wider than the faces heroes.json was measured with, so the
     collage h1 keeps three lines at its 48-character stress length (layout-v4.md, hero-lines) */
  --ly-scale: .85;
}

/* ---------------------------------------------------------------- the brand: the signature drawn by scripts/cagdis_marca.py
   (scripts/marca.sh), never typed. 32px tall in the bar, 28 on a phone (the manual's floor is 24) */
.nav__logo .brand { display: block; width: auto; height: 32px; }
@media (max-width: 639px) { .nav__logo .brand { height: 28px; } }
/* the close: the negative signature set wide on the navy footer, where the dealt close-word set the name */
.close__mark { display: block; flex: 1 1 0; min-height: 56px; max-height: 240px; width: 100%; height: auto; margin-top: auto;
               object-fit: contain; object-position: left bottom; }

/* ---------------------------------------------------------------- nav cards: one picture per offer */
.menu-card .panel { overflow: hidden; }
.menu-card .panel > .frame__img { object-position: 0 0; }
.menu-card .t-small { color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero__proof { font-size: var(--t-small); color: var(--muted); }
/* the lit sky ground of the art, one soft light */
.hero__art { background:
    radial-gradient(70% 60% at 18% 10%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
    radial-gradient(60% 50% at 92% 100%, color-mix(in oklab, var(--ground-bg) 82%, var(--ground-accent)), transparent 70%),
    var(--ground-bg); }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 280px; } }
/* inner pages: the dealt collage with the longer h1 of section 6 set at the side size, so it stays on three lines */
.hero--inner h1 { font-size: var(--ly-h1-side); }

/* ---------------------------------------------------------------- the AI workspace window (live HTML, true size) */
.aw { background: #fff; color: #10212f; border-radius: 12px; overflow: hidden; font: 400 14px/1.45 var(--font-text); text-align: left;
      box-shadow: 0 0 0 1px rgb(6 43 69 / .08), 0 24px 60px -28px rgb(6 43 69 / .45); container-type: inline-size; }
.aw__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(6 43 69 / .08); font-size: 13px; color: #4b6074; white-space: nowrap; }
.aw__dots { display: flex; gap: 6px; } .aw__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5dde5; }
.aw__bar img { width: 16px; height: 16px; }
.aw__body { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 640px; }
.aw__side { padding: 14px 10px; border-right: 1px solid rgb(6 43 69 / .08); display: grid; align-content: start; gap: 2px; font-size: 13px; color: #4b6074; }
.aw__side > span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 7px; white-space: nowrap; }
.aw__side > span i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .28; flex: none; }
.aw__side > span.is-on { color: #062b45; font-weight: 500; }
.aw__side > span.is-on i { background: var(--p-accent); opacity: 1; }
.aw__side > .aw__label { height: 26px; color: #566b7e; margin-top: 4px; }
.aw__main { padding: 18px var(--ly-cut-room, 20px) 18px 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.aw__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aw__title { font: 500 16px/1.25 var(--font-text); letter-spacing: -0.01em; color: #062b45; }
.aw__ask { justify-self: end; max-width: 92%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #eaf1f8; color: #10212f; }
.aw__steps { display: grid; gap: 0; border: 1px solid rgb(6 43 69 / .09); border-radius: 10px; padding: 4px 0; }
.aw__step { display: grid; grid-template-columns: 22px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 7px 12px; font-size: 13px; color: #33495c; }
.aw__step > img, .aw__step > svg { width: 18px; height: 18px; justify-self: center; }
.aw__step > svg { color: #33495c; }
.aw__step b { font-weight: 500; color: #062b45; }
.aw__step > .aw__ok { width: 16px; height: 16px; color: #1c7a4a; }
.aw__answer { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.aw__answer > img { width: 20px; height: 20px; margin-top: 1px; }
.aw__answer p { margin: 0; color: #10212f; }
.aw__answer b { font-weight: 500; }
.aw__seal { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; background: #e7f4ec; color: #17633d; font-size: 13px; font-weight: 500; margin-top: 10px; }
.aw__seal svg { width: 14px; height: 14px; }
/* a window with no sidebar: one column, the request and its steps read at a glance */
.aw__body--solo { grid-template-columns: minmax(0, 1fr); min-height: 480px; }
.aw__table { display: grid; border-top: 1px solid rgb(6 43 69 / .09); font-size: 13px; }
.aw__table > div { display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px; gap: 12px; padding: 7px 2px; border-bottom: 1px solid rgb(6 43 69 / .09); }
.aw__table > div > span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.aw__table > .aw__th { color: #566b7e; }
@container (max-width: 480px) {
  .aw__body { grid-template-columns: minmax(0, 1fr); }
  .aw__side { display: none; }
}

/* the result card over the window's lower-left corner: three steps arrive, then the state (layout.js data-ly-steps) */
.rc { background: #fff; color: #10212f; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text); text-align: left;
      box-shadow: 0 0 0 1px rgb(6 43 69 / .08), 0 18px 44px -20px rgb(6 43 69 / .45); }
.rc__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.rc__title { font: 500 14px/1.3 var(--font-text); color: #062b45; }
.rc__state { padding-top: 8px; border-top: 1px solid rgb(6 43 69 / .07); }
.rc__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #33495c; border-top: 1px solid rgb(6 43 69 / .07); }
.rc__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e7f4ec; color: #17633d; }
.rc__line i svg { width: 12px; height: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500; white-space: nowrap; background: #e7f4ec; color: #17633d; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--high { background: #fbe6e3; color: #a3271b; }
.chip--mid { background: #fdf0dc; color: #8a5300; }
.chip--blue { background: #e3eefb; color: #0b4f9c; }

/* ---------------------------------------------------------------- #caso: the four cards, one panel height */
#caso .panel { --p-h: 248px; }
@media (min-width: 1024px) and (max-width: 1279px) { #caso .panel { --p-h: 168px; } }
/* each screen's card row keeps its own height: the two-screen layout would otherwise stretch the row to the
   screen's foot, and the second row's panels grew to twice the first's, mostly empty (the chat and the six
   files). The two cards of a row still end on one line (the shorter text gives its panel the difference). */
@media (min-width: 640px) {
  main > #caso.g2 > .wrap > .grid:last-child, main > #caso.g2 > .wrap > .group > .grid:last-child { flex: none; align-self: start; }
}
@media (min-width: 1280px) { #caso .panel { --p-h: 300px; } }
@media (min-width: 1280px) and (max-height: 899px) { #caso .panel { --p-h: 260px; } }
/* the second screen has room the first gives to the heading: its two panels are taller, so the chat and the
   six files show whole */
@media (min-width: 1280px) { #caso .caso__more .panel { --p-h: 400px; } }
@media (min-width: 1280px) and (max-height: 899px) { #caso .caso__more .panel { --p-h: 340px; } }
@media (min-width: 1024px) and (max-width: 1279px) { #caso .caso__more .panel { --p-h: 220px; } }
/* the link to the whole case closes the second screen, under the last two cards */
#caso .caso__more > .btn-row { margin-top: var(--s-6); }
@media (max-width: 639px) { #caso .panel { --p-h: 148px; } }

/* ---------------------------------------------------------------- #depoimento: the statement and who said it */
/* a phone: the hero's window is cut by its frame's foot through a fade, never through a line of text */
@media (max-width: 639px) { .hero__art { -webkit-mask: linear-gradient(to bottom, #000 calc(100% - 56px), transparent calc(100% - 4px)); mask: linear-gradient(to bottom, #000 calc(100% - 56px), transparent calc(100% - 4px)); } }
.statement__who { margin-top: var(--s-5); font-size: var(--t-lead); color: var(--ink); font-style: italic; }
/* the statement at the heading size, over three shorter quotes of the same speaker as plain type */
#depoimento .mo-wh__text { font-size: var(--t-h1); max-width: none; }
.quotes3 { margin-top: var(--s-8); row-gap: var(--s-5); }
.quotes3 figure { margin: 0; display: grid; gap: var(--s-3); align-content: start; }
.quotes3 blockquote { margin: 0; font: var(--display-weight) var(--t-h3)/1.3 var(--font-display); letter-spacing: -0.01em; text-wrap: pretty; }
.quotes3 figcaption { font-size: var(--t-small); color: var(--muted); font-style: italic; }
@media (min-width: 1024px) and (max-width: 1279px) { .quotes3 { margin-top: var(--s-6); } .quotes3 blockquote { font-size: var(--t-lead); } }
@media (max-width: 639px) { .quotes3 { margin-top: var(--s-6); } .quotes3 blockquote { font-size: var(--t-lead); } }

/* ---------------------------------------------------------------- lists of short points in a text column */
.points { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.points > li { max-width: 52ch; }
.points b { font-weight: 500; }
.points--rule > li { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.stack-col { display: flex; flex-direction: column; gap: var(--s-5); align-items: flex-start; }

/* ---------------------------------------------------------------- #seguranca: the dark band; the brand lime is its one accent (the moment's line), 9.9:1 on the navy */
#seguranca { --accent: var(--lime); }
.sec-head { row-gap: var(--s-5); align-items: start; }
.sec-body { margin-top: var(--s-7); }

/* the exposure list, Drive style (live HTML; names and findings invented for the picture) */
.xp { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; color: #10212f; font: 400 14px/1.4 var(--font-text);
      box-shadow: 0 0 0 1px rgb(255 255 255 / .06); container-type: inline-size; }
.xp__bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-bottom: 1px solid rgb(6 43 69 / .09); font-size: 13px; color: #4b6074; white-space: nowrap; }
.xp__bar img { width: 20px; height: 18px; }
.xp__bar b { font-weight: 500; color: #062b45; }
.xp__bar .chip { margin-left: auto; }
.xp__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 76px; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid rgb(6 43 69 / .08); font-size: 13px; color: #33495c; }
.xp__row > span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; font-weight: 500; color: #062b45; }
.xp__row > span:first-child > :is(img, svg) { width: 20px; height: 20px; flex: none; color: #4b6074; }
.xp__row > .chip { justify-self: end; }
.xp__th { color: #566b7e; padding-block: 8px; }
.xp__th > span:first-child { font-size: 13px !important; font-weight: 400 !important; color: #566b7e !important; }
.xp::after { content: ""; position: absolute; inset: auto 0 0 0; height: 48px; background: linear-gradient(transparent, #fff); pointer-events: none; }
@container (max-width: 520px) {
  .xp__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .xp__row > span:nth-child(2) { grid-row: 2; padding-left: 30px; }
  .xp__row > .chip { grid-row: 1 / span 2; }
  .xp__th { display: none; }
}
/* in a hero frame the list runs past the frame's right edge: its rows keep the cut room, so the chips stay whole */
.hero__art > .xp :is(.xp__bar, .xp__row) { padding-right: var(--ly-cut-room); }

/* ---------------------------------------------------------------- two phones on the lit ground, cut by the frame's foot */
.phones { position: absolute; inset: var(--s-7) 0 auto; display: flex; justify-content: center; gap: var(--s-5); }
.device { position: relative; width: min(232px, 40%); aspect-ratio: 1170 / 2532; padding: 8px; border-radius: 34px; background: #0c1b27; box-sizing: content-box;
          box-shadow: 0 24px 50px -24px rgb(6 43 69 / .55); flex: none; }
.device > img { width: 100%; height: 100%; border-radius: 26px; object-fit: cover; }
@media (max-width: 639px) { .phones { inset: var(--s-5) 0 auto; gap: var(--s-3); } .device { width: 42%; padding: 6px; border-radius: 26px; } .device > img { border-radius: 20px; } }

/* ---------------------------------------------------------------- a product screen, cut by its frame's foot */
.shot { padding: 0; border: 0; background:
    radial-gradient(70% 90% at 12% 0%, color-mix(in oklab, var(--ground-surface) 92%, white), transparent 70%), var(--ground-bg); }
.shot > .stage > img { left: var(--s-8); top: var(--s-7); width: calc(100% - 2 * var(--s-8)); height: auto;
                       border-radius: 12px; box-shadow: 0 0 0 1px rgb(6 43 69 / .08), 0 24px 60px -28px rgb(6 43 69 / .45); }
@media (max-width: 1023px) { .shot > .stage > img { left: var(--s-6); top: var(--s-6); width: calc(100% - 2 * var(--s-6)); } }
@media (max-width: 639px) { .shot > .stage > img { left: var(--s-4); top: var(--s-4); width: calc(100% - 2 * var(--s-4)); border-radius: 8px; } }
.quote-mini { margin: 0; display: grid; gap: var(--s-2); }
.quote-mini blockquote { margin: 0; font: var(--display-weight) var(--t-card)/1.4 var(--font-display); letter-spacing: -0.01em; }
.quote-mini p { font-size: var(--t-small); color: var(--muted); font-style: italic; }

/* ---------------------------------------------------------------- #sobre: the partners' portraits (the client's 320px files) and a short résumé under each */
/* the portraits keep the square of the client's files, so the short résumé under each fits the screen */
#sobre .tile--portrait { --tile-ratio: 1 / 1; gap: var(--s-4); }
#sobre .tile > p:not(.tile__name) { font-size: var(--t-body); color: var(--ink); }
/* a phone: each partner takes the row (two-up, the résumés would run into each other), the section two screens */
@media (max-width: 639px) {
  #sobre { --hm: 2; }
  #sobre .grid > .tile { grid-column: 1 / -1; }
  #sobre .tile__media { max-width: 240px; }
}
#sobre .points { gap: var(--s-5); }
#sobre .points > li { font-size: var(--t-lead); padding-top: var(--s-4); }
#sobre .tile__media > img { object-position: 50% 20%; }
/* never wider than the 320px files; a tablet takes them landscape so the section stays one screen */
#sobre .tile__media { max-width: 320px; }
@media (min-width: 640px) and (max-width: 1023px) { #sobre .tile--portrait { --tile-ratio: 4 / 3; } }
.tile__name { font: 500 var(--t-h3)/1.3 var(--font-text); letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- footer */
.closing__cta .section-head--split > .btn-row { flex: none; }
.footer__col address { font-style: normal; font-size: var(--t-small); line-height: 1.6; }
.footer__legal .legal-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }

/* ---------------------------------------------------------------- the legal page and the 404 */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--t-h3); margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: var(--s-4); }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: var(--s-2); }
.prose a:not(.btn) { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

/* ---------------------------------------------------------------- inner-page hero pictures */
.aw__main--report { padding-right: var(--ly-cut-room, 20px); }
.rp__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rp__stats > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: #f2f6fa; }
.rp__stats b { font: 500 26px/1.1 var(--font-display); letter-spacing: -0.02em; color: #062b45; font-variant-numeric: tabular-nums; }
.rp__stats span { font-size: 13px; color: #4b6074; }
.hero__art > .ly-shot > img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgb(6 43 69 / .08), 0 24px 60px -28px rgb(6 43 69 / .45); }
.hero__art > .ly-piece--note.ly-phone { width: 200px; }
.ly-phone > .device { width: auto; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note.ly-phone { width: 150px; } }

/* ---------------------------------------------------------------- the legal page and the 404: text pages, as tall as their text */
main > section.section--prose { height: auto; min-height: 100vh; min-height: 100svh; }
.prose__body > section { margin-top: var(--s-7); }
.prose__body > section > h2 { font-size: var(--t-h3); }

/* a phone: the hero window sits whole inside its frame, 16px in on both sides (the kit's 28px cut past a
   342px frame read as a clipped window and failed ui-fit) */
@media (max-width: 639px) {
  .hero__art > .ly-piece--main { width: calc(100% - 2 * var(--s-4)); }
}

/* ---------------------------------------------------------------- three plain facts under a word-highlight statement
   (ia.html #parados, seguranca.html #nunca), so the screen is not one sentence over an empty ground */
.statement:has(.facts3) .mo-wh__text { font-size: var(--t-h1); max-width: none; }
.facts3 { margin: var(--s-8) 0 0; padding: 0; list-style: none; row-gap: var(--s-5); }
.facts3 > li { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-4); border-top: 1px solid var(--line-strong); font-size: var(--t-lead); line-height: 1.4; }
.facts3 b { font: var(--display-weight) var(--t-h3)/1.25 var(--font-display); letter-spacing: -0.01em; }
@media (max-width: 1023px) { .facts3 { margin-top: var(--s-6); } .facts3 > li { font-size: var(--t-body); } .facts3 b { font-size: var(--t-lead); } }

/* content waiting for a third party's written approval is labelled on every preview; scripts/validate-site.sh
   blocks the deploy while any of it remains */
[data-aprovacao="pendente"] { position: relative; outline: 2px dashed #c2410c; outline-offset: 8px; }
[data-aprovacao="pendente"]::before { content: "Rascunho, aguardando aprovação"; display: block; width: max-content; margin-bottom: 8px; padding: 2px 8px; border-radius: 4px; background: #c2410c; color: #fff; font: 500 12px/1.6 var(--font-text); font-style: normal; letter-spacing: 0; }

/* ---------------------------------------------------------------- version 2 home: before and now, the share dialog, the systems board */
/* "Antes" and "Agora" open the two halves of a card's text, so the change reads in one line each */
.ba { margin-right: 4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ba--now { margin-left: 4px; color: var(--p-accent); }
#caso .card > p { max-width: none; }

/* the Drive share dialog after the fix (live HTML; the folder and the groups are invented) */
.sh { background: #fff; color: #10212f; border-radius: 12px; padding: 16px 18px 18px; font: 400 14px/1.4 var(--font-text); text-align: left;
      box-shadow: 0 0 0 1px rgb(6 43 69 / .08), 0 24px 60px -28px rgb(6 43 69 / .45); display: grid; gap: 8px; }
.sh__title { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #062b45; font-size: 15px; }
.sh__title img { width: 20px; height: 18px; flex: none; }
.sh__label { margin: 6px 0 0; font-size: 13px; color: #566b7e; }
.sh__row { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 10px; }
.sh__ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #e7f4ec; color: #17633d; }
.sh__ico svg { width: 16px; height: 16px; }
.sh__row b { display: block; font-weight: 500; color: #062b45; }
.sh__row small { display: block; font-size: 13px; color: #4b6074; }
.sh__was { margin: 0; padding: 6px 10px; border-radius: 8px; background: #f2f6fa; font-size: 13px; color: #566b7e; text-decoration: line-through; text-decoration-color: rgb(86 109 130 / .5); }
.sh__person { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; }
.sh__person i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e3eefb; color: #0b4f9c; font-style: normal; font-size: 13px; font-weight: 500; }
.sh__person small { font-size: 13px; color: #566b7e; }

/* the board of systems kept running (live HTML) */
.st { background: #fff; color: #10212f; border-radius: 12px; overflow: hidden; font: 400 14px/1.4 var(--font-text); text-align: left;
      box-shadow: 0 0 0 1px rgb(6 43 69 / .08), 0 24px 60px -28px rgb(6 43 69 / .45); }
.st__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 48px; padding: 0 16px; border-bottom: 1px solid rgb(6 43 69 / .09); }
.st__bar b { font-weight: 500; color: #062b45; }
.st__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgb(6 43 69 / .07); }
.st__row > span:first-child { font-weight: 500; color: #062b45; }
.st__row small { font-size: 13px; color: #566b7e; }

/* the security band's list after the fix: the state column holds the longer words */
.xp--fixed .xp__row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 112px; }
.xp--fixed .xp__row > span:nth-child(2) { color: #6b7f91; }
@container (max-width: 520px) { .xp--fixed .xp__row { grid-template-columns: minmax(0, 1fr) auto; } }
/* narrow, the column heads are hidden: the old state names itself */
@container (max-width: 520px) { .xp--fixed .xp__row:not(.xp__th) > span:nth-child(2)::before { content: "antes: "; } }

/* #sistemas: the two phones and the Audire screen inside their cards' panels */
#sistemas .panel { --p-h: 330px; }
@media (max-width: 1023px) { #sistemas .panel { --p-h: 340px; } }
#sistemas .panel--shot .stage > img { position: absolute; left: var(--s-6); top: var(--s-6); width: calc(100% - 2 * var(--s-6)); height: auto; max-width: none;
  border-radius: 10px; box-shadow: 0 0 0 1px rgb(6 43 69 / .08), 0 24px 60px -28px rgb(6 43 69 / .45); }
@media (max-width: 639px) { #sistemas .panel--shot .stage > img { left: var(--s-4); top: var(--s-4); width: calc(100% - 2 * var(--s-4)); } }
#oferta .panel { --p-h: 300px; }
@media (max-width: 1279px) { #oferta .panel { --p-h: 280px; } }
/* a phone stacks the three offer cards and the two system cards: two screens each, the panels lower */
@media (max-width: 639px) {
  #oferta, #sistemas { --hm: 2; }
  #oferta .panel { --p-h: 200px; }
  #sistemas .panel { --p-h: 360px; }
  #caso .panel { --p-h: 96px; }
  /* the files' count pill reads as a third button beside "Ler o caso ArvorePress" on the phone's screen */
  #caso .ui-files__status { display: none; }
}

/* 320 to 359: the bar keeps the logo and the menu; the main action stays in the hero and the close */
@media (max-width: 359px) { .nav:not(.is-open) .nav__actions { display: none; } }
/* a phone: the share dialog shows the access change only */
@media (max-width: 639px) { .sh > .sh__label:nth-of-type(3), .sh__person { display: none; } }

/* the security band: a client's sentence under the method; the folder in the share dialog */
.sec-quote { margin: 0; display: grid; gap: var(--s-2); max-width: 52ch; }
.sec-quote blockquote { margin: 0; font: var(--display-weight) var(--t-lead)/1.35 var(--font-display); letter-spacing: -0.01em; text-wrap: pretty; }
.sec-quote figcaption { font-size: var(--t-small); color: var(--muted); font-style: italic; }
.sh__folder { width: 20px; height: 20px; flex: none; color: #4b6074; }
.st__row:not(:has(.chip)) { grid-template-columns: minmax(0, 1fr) auto; }
/* a whole section waiting for approval: the label sits in its top corner, outside the section's flow
   (as a block it became a flex item and covered the section on phones) */
section[data-aprovacao="pendente"] { outline-offset: -6px; }
section[data-aprovacao="pendente"]::before { position: absolute; top: calc(var(--nav, 56px) + 12px); left: 12px; z-index: 3; margin: 0; }
/* a phone: the chat's input line would sit in the panel's fade, so the low panel shows the exchange only;
   the security band's list takes taller rows, so the band's two screens hold no empty foot */
@media (max-width: 639px) {
  #caso .ui-chat__input { display: none; }
}
/* the security band: the list sits under the heading, beside the text, so it shows whole */
.sec-left > .xp { width: 100%; margin-top: var(--s-4); }
@media (max-width: 639px) { .sec-left > .xp { margin-top: 0; } }
/* a phone: the band keeps one screen, its list the first three corrections */
@media (max-width: 639px) { #seguranca.ground-inverse .xp__row:nth-of-type(n+5) { display: none; } }

/* ---------------------------------------------------------------- a laptop screen under 900px tall (1366x768, 1280x800,
   1536x864): from 1280px the kit holds every section at exactly its screens, and on these screens a long
   section (the timeline, the questions, the four sectors) ran into the next one. Here, as the kit does from
   640 to 1279px, a section keeps at least its screens and grows past them instead. 1440x900 is untouched. */
@media (min-width: 1280px) and (max-height: 899px) {
  main > :is(section, .section):not(.hero, .section--hero), footer.closing {
    height: auto; min-height: calc(var(--h, 1) * 100vh); min-height: calc(var(--h, 1) * 100svh);
  }
  :where(main > :is(section, .section):not(.hero, .section--hero), footer.closing) { display: flex; flex-direction: column; }
  main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container), footer.closing > .wrap { flex: 1 0 auto; height: auto; min-height: 0; }
}
