/* Zyoncore / SIGI: page CSS shared by every page (only what sits inside a visual and the kit lacks) */

/* the client's logo in the nav and the footer */
.nav__logo img { display: block; height: 44px; width: auto; }
.closing .nav__logo img { height: 52px; }
@media (max-width: 639px) { .nav .nav__logo img { height: 36px; } }

/* ---------- screenshots of the client's own apps inside a panel ---------- */
.shot { --shot-x: 0%; --shot-y: 0%; }
.panel > .shot-img { position: absolute; inset: auto 0 0 var(--s-6); top: var(--s-6); width: calc(100% - var(--s-6)); height: calc(100% - var(--s-6)); object-fit: cover; object-position: left top;
  border-radius: 10px 0 0 0; box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 18px 44px -24px rgb(0 0 0 / .45); }
.panel:has(> .shot-img) { position: relative; overflow: hidden; background:
    radial-gradient(80% 70% at 20% 0%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%), var(--ground-bg); }
@media (max-width: 639px) { .panel > .shot-img { inset: auto 0 0 var(--s-4); top: var(--s-4); width: calc(100% - var(--s-4)); height: calc(100% - var(--s-4)); } }

/* the facts on the inverse ground */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--gap); }
.facts dt { font: var(--display-weight) clamp(40px, 5vw, 64px)/1 var(--font-display); letter-spacing: var(--display-tracking); }
.facts dd { margin: var(--s-3) 0 0; color: var(--muted); max-width: 30ch; }
@media (max-width: 639px) { .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6) var(--s-5); } }

/* the forms of the inner pages */
.form .field select, .form .field textarea { width: 100%; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-5); }
@media (max-width: 639px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* requirements: a term over its value, hairlines between (a long sentence does not fit .rows' right column) */
.specs { margin: 0; display: grid; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 11ch minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
@media (max-width: 479px) { .specs > div { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); } }

/* a client screenshot as the split hero's picture: on the lit ground, inset from the top left */
.hero__media--shot { background: radial-gradient(80% 70% at 20% 0%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%), var(--ground-bg); }
.hero__media--shot > img { inset: var(--s-7) 0 0 var(--s-7); width: calc(100% - var(--s-7)); height: calc(100% - var(--s-7)); border-radius: 12px 0 0 0;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 24px 60px -28px rgb(0 0 0 / .45); }
@media (max-width: 639px) { .hero__media--shot > img { inset: var(--s-5) 0 0 var(--s-5); width: calc(100% - var(--s-5)); height: calc(100% - var(--s-5)); } }

/* link cards (support channels) */
a.card--link { display: flex; flex-direction: column; gap: var(--s-3); text-decoration: none; color: inherit; }
a.card--link > .link { margin-top: auto; }

/* ---------- pedido do cliente: sem os vãos de uma tela por seção ----------
   Cada seção (e o rodapé) tem a altura do próprio conteúdo, com um respiro fixo entre elas.
   O topo (hero) continua ocupando a primeira tela. */
:root { --padt: 104px; --padb: 104px; }
@media (max-width: 639px) { :root { --padt: 64px; --padb: 64px; } }
main > :is(section, .section):not(.hero, .section--hero), footer.closing {
  height: auto !important; min-height: 0 !important; display: block;
}
main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container), footer.closing > .wrap { height: auto; }
main > :is(section, .section).g2 > :is(.wrap, .container), footer.closing > .wrap,
main > :is(section, .section).g2m > :is(.wrap, .container) { display: grid; grid-template-rows: none; row-gap: var(--s-8); }
main > :is(section, .section) > .wrap > .fill, .group > .fill { flex: none; }
main > :is(section, .section).g2 > .wrap > .grid:last-child,
main > :is(section, .section).g2 > .wrap > .group > .grid:last-child { flex: none; }
main > :is(section, .section) .card--open > .panel { flex: none; }
/* seções seguidas no mesmo fundo: o respiro não dobra */
main > section:not(.hero):not(.ground-inverse) + section:not(.ground-inverse) { padding-top: 0; }
/* o rodapé: a chamada e os links sem a tela vazia que o nome gigante ocupava */
footer.closing { padding-top: var(--padt); padding-bottom: var(--s-7); }
footer.closing > .wrap { row-gap: var(--s-9, 96px); }
/* o topo só de texto (páginas internas): a altura do conteúdo, sem a tela vazia entre o título e os dados */
main > .hero.hero--statement { height: auto !important; min-height: 0 !important; padding-bottom: var(--padb); }
main > .hero.hero--statement > .wrap { height: auto; grid-template-rows: auto auto; row-gap: var(--s-8); }

/* formulários: campo invisível anti-robô (pessoas não veem nem chegam nele pelo teclado) */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* como contratar: a pessoa marca como os pedidos chegam e vê os módulos indicados (sigi-form.js, [data-pick]) */
.choices { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-3); }
.choices legend { padding: 0; margin-bottom: var(--s-3); font: 500 var(--t-small)/1.4 var(--font-text); }
.choice { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-3); align-items: start; cursor: pointer;
  padding: var(--s-4); border: 1px solid var(--line-strong, var(--line)); border-radius: var(--r-md); background: var(--bg);
  transition: border-color .15s ease, background-color .15s ease; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--action); background: color-mix(in oklab, var(--action) 7%, var(--bg)); box-shadow: inset 0 0 0 1px var(--action); }
.choice:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--action); cursor: pointer; }
.choice__q { display: block; font: 500 var(--t-body)/1.4 var(--font-text); color: var(--ink); }
.choice__a { display: block; margin-top: var(--s-1); font: 400 var(--t-small)/1.45 var(--font-text); color: var(--muted); }
.choice--help .choice__q { font-weight: 400; }
.choices__result { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--surface); font-size: var(--t-small); }
.choices__result p { margin: 0; }
.choices__result p + p { margin-top: var(--s-2); }
.choices__result strong { font-weight: 500; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .choice { transition: none; } }

/* suporte: o bloco do AnyDesk em destaque, com a listra azul; o suporte manda o link suporte.aspx#anydesk ao cliente */
#anydesk { scroll-margin-top: calc(var(--nav) + var(--s-4)); }
.remoto-destaque { padding: var(--s-7) var(--s-6); border-radius: var(--r-md);
  background: color-mix(in oklab, var(--p-accent) 6%, var(--bg)); border-left: 6px solid var(--p-accent); row-gap: var(--s-6); }
.remoto-destaque__tag { color: var(--p-accent); margin: 0; }
#anydesk:target .remoto-destaque { animation: remoto-pisca 1.6s ease-out 1; }
@keyframes remoto-pisca { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--p-accent) 45%, transparent); }
  100% { box-shadow: 0 0 0 18px transparent; } }
@media (max-width: 760px) { .remoto-destaque { padding: var(--s-5) var(--s-4); border-left-width: 4px; } }
@media (prefers-reduced-motion: reduce) { #anydesk:target .remoto-destaque { animation: none; } }

/* ---------- a marca da Zyoncore (símbolo oficial: Site-Zyoncore/img/zyoncore3.png, 1404 x 1103) ---------- */
/* o símbolo grande, em marca d'água branca, na seção dos servidores da Zyoncore (o PNG serve de máscara) */
.brand-mark { position: relative; overflow: hidden; isolation: isolate; }
.brand-mark__symbol { position: absolute; z-index: -1; pointer-events: none; display: block;
  width: min(540px, 44vw); aspect-ratio: 1404 / 1103; right: -3%; top: 50%; transform: translateY(-50%);
  background: #fff; opacity: .07;
  -webkit-mask: url("../Site-Zyoncore/img/zyoncore3.png") center / contain no-repeat;
          mask: url("../Site-Zyoncore/img/zyoncore3.png") center / contain no-repeat; }
@media (max-width: 639px) { .brand-mark__symbol { width: 92vw; right: -18%; top: auto; bottom: -6%; transform: none; } }
