/* /produtos/chamados/ordem-de-servico (v2, lote 2). Carregado depois de chamados-v2.css (pai, sem edição).
   Prefixo .os-, escopado em .os: link do topo para o modelo, hero sem celular, fatos da definição, modelo de 50 campos,
   contexto dos cases, grade de 4 cartões e ajustes da subpágina. */

/* Topo: janela sem celular sobreposto e link para o modelo */
.os .os-hero__model{margin:12px 0 0}
.os-hero__model a{display:inline-flex;align-items:center;gap:8px;min-height:40px;color:rgba(255,255,255,.88);font-size:.95rem;font-weight:600;text-decoration:underline;text-decoration-color:var(--ch-teal);text-decoration-thickness:2px;text-underline-offset:4px}
.os-hero__model a svg{color:var(--ch-teal)}
.os-hero__model a:hover{color:#fff}
@media (min-width:992px){.os .os-hero__art{padding:0 0 24px!important}}
@media (min-width:768px) and (max-width:991px){.os .os-hero__art{padding:0 0 28px!important}}
@media (max-width:767px){.os .os-hero__art{padding:0 0 12px!important}}
/* Tablet e celular: sem o link do modelo no topo, para o hero não passar da altura da spf */
@media (max-width:1199px){.os .os-hero__model{display:none}}

/* Definição: três fatos em cartões baixos */
.os-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:48px!important}
.os-fact{display:flex;gap:14px;align-items:flex-start;margin:0;padding:20px 22px;border:1px solid var(--ch-line);border-radius:18px;background:#fff}
.os-fact__ic{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:var(--ch-tint);color:var(--ch-ink)}
.os .os-fact__t{margin:0;color:var(--ch-ink);font-size:1.05rem;font-weight:600;line-height:1.35;text-align:left}
.os .os-fact__p{margin:4px 0 0;color:var(--ch-body);font-size:.95rem;line-height:1.55;text-align:left}
.os .os-def .ch-soft{margin-top:32px}

/* Modelo */
.os-model{padding:96px 0;background:var(--ch-soft);border-top:1px solid var(--ch-line);border-bottom:1px solid var(--ch-line);scroll-margin-top:90px}
.os-model__top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:end}
.os-model .mc-h2{margin-bottom:0}
.os .os-model__txt .ch-lead{margin-top:18px}
.os-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.os-legend li{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0;color:var(--ch-body)!important;font-size:.95rem!important;line-height:1.4}
.os-tag{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:28px;padding:2px 12px;border:1.5px solid var(--ch-teal);border-radius:99px;background:#fff;color:var(--ch-ink);font-size:.9rem;font-weight:600;line-height:1.2;white-space:nowrap}
.os-tag::before{content:"";flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:var(--ch-teal)}
.os-tag--crit::before{background:var(--ch-bad)}
.os-tag--foto::before{background:var(--ch-list)}
.os-tag--ass::before{background:var(--ch-ink)}
.os-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 10px;margin-top:26px}
.os-copy,.os-print{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;margin:0;font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;cursor:pointer;transition:background-color .16s ease-out,color .16s ease-out}
.os-copy{padding:12px 18px;border:2px solid var(--ch-teal);border-radius:10px;background:#fff;color:var(--ch-ink)}
.os-copy svg{color:var(--ch-teal)}
.os-copy:hover{background:var(--ch-teal);color:#fff}
.os-copy:hover svg{color:#fff}
.os-print{padding:0 8px;border:0;background:none;color:var(--ch-ink);text-decoration:underline;text-decoration-color:var(--ch-teal);text-decoration-thickness:2px;text-underline-offset:4px}
.os-print svg{color:var(--ch-teal)}
.os-print:hover{color:#08827c}
.os .os-bar__demo{min-height:52px;padding:12px 20px}
.os-bar--fim{justify-content:center}
.os-copy:focus-visible,.os-print:focus-visible{outline:3px solid var(--ch-teal);outline-offset:4px}
.os-copied{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}

.os-grps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;align-items:start;margin-top:48px}
.os .os-grp,.os .os-grp[open]{margin:0;padding:0;border:1px solid var(--ch-line)!important;border-radius:20px!important;background:#fff;overflow:hidden;scroll-margin-top:100px;transition:border-color .18s ease-out,box-shadow .18s ease-out}
.os .os-grp[open]{border-color:#bfe6e6!important;box-shadow:0 30px 60px -48px rgba(3,45,96,.45)}
.os .os-grp:hover{border-color:#9fdada!important}
.os-grp--wide{grid-column:1/-1}
.os .os-grp>summary{display:flex;align-items:center;gap:16px;min-height:78px;padding:16px 22px;list-style:none;cursor:pointer}
.os-grp>summary::-webkit-details-marker{display:none}
.os-grp__n{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:var(--ch-teal);color:#fff;font-size:16px;font-weight:700}
.os-grp__h{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.os .os-grp .ch-lt{font-size:1.2rem!important;line-height:1.3!important}
.os-grp__meta{color:var(--ch-body);font-size:.9rem;line-height:1.4}
.os-grp__chev{display:flex;flex:0 0 auto;color:var(--ch-teal);transition:transform .18s ease-out}
.os-grp[open] .os-grp__chev{transform:rotate(180deg)}
.os .os-grp__intro{margin:0;padding:2px 22px 8px 78px;color:var(--ch-body);font-size:.95rem;line-height:1.6;text-align:left}
.os .os-items{padding:2px 22px 12px!important}
.os-grp--wide .os-items{columns:2;column-gap:48px}
.os-it{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:4px 14px;align-items:start;margin:0;padding:14px 0;border-top:1px solid var(--ch-line);break-inside:avoid}
.os-it__n{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ch-tint);color:var(--ch-ink);font-size:.9rem;font-weight:700}
.os .os-it__t{margin:3px 0 0;color:var(--ch-ink);font-size:16px;font-weight:600;line-height:1.4;text-align:left}
.os .os-it__p{margin:3px 0 0;color:var(--ch-body);font-size:.95rem;line-height:1.55;text-align:left}
.os-it .os-tag{margin-top:2px}
.os .os-note{max-width:820px;margin:28px auto 0;color:var(--ch-body);font-size:.95rem;line-height:1.6;text-align:center}

/* Prova: contexto do case separado da citação literal; 3 cartões */
.os .os-cases{grid-template-columns:repeat(3,minmax(0,1fr))}
.os .os-case__ctx,.os .os-hl__ctx{margin:16px 0 0;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.8);font-size:.95rem;font-style:normal;line-height:1.55;text-align:left}
.os .os-hl__ctx{margin:0 0 22px}
.os-case__ctx span,.os-hl__ctx span{display:block;margin-bottom:4px;color:var(--ch-teal);font-size:.9rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.os .ch-hl__nums{grid-template-columns:repeat(2,minmax(0,1fr))}


/* CTA leve da definição: WhatsApp como botão contornado (igual à pai) */
.os .ch-soft__wa{min-height:48px;padding:10px 20px;border:2px solid var(--ch-teal);border-radius:10px;text-decoration:none;background:#fff}

/* Responsivo */
@media (max-width:1180px){.os-model__top{gap:40px}}
@media (max-width:1100px){.os-grp--wide .os-items{columns:1}}
@media (max-width:991px){
.os-model__top{grid-template-columns:minmax(0,1fr);align-items:start}
.os-facts{grid-template-columns:minmax(0,1fr)}
.os .os-cases{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){.os-grps{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
.os-model{padding:64px 0}
.os-legend{grid-template-columns:minmax(0,1fr)}
.os-legend li{flex-direction:row;align-items:center;gap:10px}
.os-bar{flex-direction:column;align-items:stretch}
.os-copy,.os .os-bar__demo{width:100%}
.os .os-grp>summary{gap:12px;min-height:68px;padding:14px 16px}
.os-grp__n{flex-basis:34px;height:34px;border-radius:10px;font-size:15px}
.os .os-grp .ch-lt{font-size:1.1rem!important}
.os .os-grp__intro{padding:0 16px 6px}
.os .os-items{padding:0 16px 10px!important}
.os-it{grid-template-columns:28px minmax(0,1fr);gap:6px 12px;padding:12px 0}
.os-it__n{width:28px;height:28px}
.os-it .os-tag{grid-column:2;justify-self:start;margin-top:4px}
.os .os-cases{grid-template-columns:minmax(0,1fr)}
.os .os-cases .ch-case:nth-child(1),.os .os-cases .ch-case:nth-child(2){display:flex}
.os .os-cases .ch-case:nth-child(3){display:none}
.os .ch-hl__nums{grid-template-columns:minmax(0,1fr)}
.os .ch-soft__wa{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.os-grp__chev,.os-copy,.os-print{transition:none!important}}

/* Impressão do modelo (botão Imprimir) */
@media print{
body.os-print *{visibility:hidden!important}
body.os-print #modelo,body.os-print #modelo *{visibility:visible!important}
body.os-print #modelo{position:absolute;left:0;top:0;width:100%;padding:0}
body.os-print .os-bar,body.os-print .os-grp__chev{display:none!important}
body.os-print .os-grps{display:block}
body.os-print .os-grp{margin:0 0 12px!important;box-shadow:none!important;break-inside:auto}
body.os-print .os-it{break-inside:avoid}
}
/* ===== rodada 10 (29/09): o respiro de 40 px embaixo da faixa de números (chamados-v2.css da pai) levou o hero em 1024 a 718 (a spf tem 708).
   Só entre 992 e 1199: margem acima da faixa de 40 para 30 px. Em 1440/1920 (697) e 390 (994) o hero já cabe no teto ===== */
@media (min-width:992px) and (max-width:1199px){.os.ch .ch-stats{margin-top:30px!important}}
/* ===== rodada 11 (30/09) sem vazio: no destaque, o contexto "No case" desce para baixo da foto e os números sobem para baixo do logotipo, e as duas colunas do case ficam com alturas próximas (teto de 80 px em 1440 e 1920). Passos e recursos usam as classes da rodada 11 do chamados-v2.css (ch-step--duo, ch-band, ch-duo, ch-res--duo). ===== */
.os .ch-hl__media .os-hl__ctx{margin:22px 0 0}
.os .ch-hl__body .ch-hl__nums{margin:0 0 24px}

/*aurea*/html body .mc.ch.os .os-facts{gap:var(--s3)!important;margin-top:var(--s5)!important}html body .mc.ch.os .os-fact{gap:var(--s2)!important;padding:var(--s3)!important;border-radius:21px!important}html body .mc.ch.os .os-fact__ic{border-radius:13px!important}html body .mc.ch.os .os-fact__t{font-size:var(--a-lead)!important;line-height:var(--a-lh-cap)!important}html body .mc.ch.os .os-fact__p{margin-top:var(--s1)!important;font-size:var(--a-cap)!important;line-height:var(--a-lh-body)!important}html body .mc.ch.os .os-model{padding-top:var(--s6)!important;padding-bottom:var(--s6)!important}html body .mc.ch.os .os-model__txt .ch-lead{margin-top:var(--s3)!important;max-width:var(--a-measure)!important;font-size:var(--a-lead)!important;line-height:var(--a-lh-body)!important}html body .mc.ch.os .os-legend{gap:var(--s2) var(--s3)!important}html body .mc.ch.os .os-legend li{gap:var(--s1)!important;font-size:var(--a-cap)!important;line-height:var(--a-lh-cap)!important}html body .mc.ch.os .os-tag{font-size:var(--a-cap)!important}html body .mc.ch.os .os-bar{gap:var(--s2) var(--s1)!important;margin-top:var(--s3)!important}html body .mc.ch.os .os-copy,html body .mc.ch.os .os-print,html body .mc.ch.os .os-bar__demo{min-height:55px!important;font-size:var(--a-body)!important}html body .mc.ch.os .os-copy{padding:var(--s2) var(--s3)!important;border-radius:8px!important}html body .mc.ch.os .os-grps{gap:var(--s2) var(--s3)!important;margin-top:var(--s5)!important}html body .mc.ch.os .os-grp,html body .mc.ch.os .os-grp[open]{border-radius:21px!important}html body .mc.ch.os .os-grp>summary{gap:var(--s2)!important;padding:var(--s2) var(--s3)!important}html body .mc.ch.os .os-grp__n{border-radius:13px!important}html body .mc.ch.os .os-grp .ch-lt{font-size:var(--a-h4)!important;line-height:var(--a-lh-h4)!important}html body .mc.ch.os .os-grp__meta{font-size:var(--a-cap)!important;line-height:var(--a-lh-cap)!important}html body .mc.ch.os .os-grp__intro{padding:0 var(--s3) var(--s1) 74px!important;font-size:var(--a-cap)!important;line-height:var(--a-lh-body)!important}html body .mc.ch.os .os-items{padding:0 var(--s3) var(--s2)!important}html body .mc.ch.os .os-grp--wide .os-items{column-gap:var(--s5)!important}html body .mc.ch.os .os-it{gap:var(--s1) var(--s2)!important;padding:var(--s2) 0!important}html body .mc.ch.os .os-it__n{font-size:var(--a-cap)!important}html body .mc.ch.os .os-it__t{font-size:var(--a-body)!important;line-height:var(--a-lh-cap)!important}html body .mc.ch.os .os-it__p{font-size:var(--a-cap)!important;line-height:var(--a-lh-body)!important}html body .mc.ch.os .os-note{margin-top:var(--s4)!important;font-size:var(--a-cap)!important;line-height:var(--a-lh-body)!important}html body .mc.ch.os .os-case__ctx,html body .mc.ch.os .os-hl__ctx{padding:var(--s2)!important;border-radius:13px!important;font-size:var(--a-cap-dk)!important;line-height:var(--a-lh-body)!important}html body .mc.ch.os .os-case__ctx{margin-top:var(--s2)!important}html body .mc.ch.os .os-case__ctx span,html body .mc.ch.os .os-hl__ctx span{font-size:var(--a-cap-dk)!important;line-height:var(--a-lh-cap)!important}html body .mc.ch.os .ch-hl__media .os-hl__ctx{margin-top:var(--s3)!important}html body .mc.ch.os .ch-hl__body .ch-hl__nums{margin-bottom:var(--s3)!important}@media (min-width:992px){html body .mc.ch.os .os-model__top{grid-template-columns:minmax(0,1.618fr) minmax(0,1fr)!important;gap:var(--s5)!important}}@media (max-width:991px){html body .mc.ch.os .os-model__top{gap:var(--s4)!important}}@media (max-width:640px){html body .mc.ch.os .os-model{padding-top:var(--s5)!important;padding-bottom:var(--s5)!important}html body .mc.ch.os .os-legend li{gap:var(--s2)!important}html body .mc.ch.os .os-grp>summary{gap:var(--s2)!important;padding:var(--s2)!important}html body .mc.ch.os .os-grp__n{border-radius:8px!important}html body .mc.ch.os .os-grp__intro{padding:0 var(--s2) var(--s1)!important}html body .mc.ch.os .os-items{padding:0 var(--s2) var(--s2)!important}html body .mc.ch.os .os-it{gap:var(--s1) var(--s2)!important;padding:var(--s2) 0!important}}
